]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Allow spurious underflow / inexact for ldbl-128ibm.
[thirdparty/glibc.git] / ChangeLog
1 2016-03-10 Joseph Myers <joseph@codesourcery.com>
2
3 * manual/math.texi (Errors in Math Functions): Document relaxed
4 accuracy goals for IBM long double.
5 * math/libm-test.inc (test_exceptions): Always allow spurious
6 "underflow" and "inexact" exceptions for IBM long double.
7
8 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
9
10 [BZ #19762]
11 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
12 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
13 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
14 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
15 (bit_arch_*): This for feature array.
16 (bit_*): Renamed to ...
17 (bit_cpu_*): This for cpu array.
18 (index_*): Renamed to ...
19 (index_arch_*): This for feature array.
20 (index_*): Renamed to ...
21 (index_cpu_*): This for cpu array.
22 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
23 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
24 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
25 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
26 bit_##name with index_cpu_##name and bit_cpu_##name.
27 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
28 bit_##name with index_arch_##name and bit_arch_##name.
29
30 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
31
32 [BZ #19792]
33 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
34 Terminate FDE before return label.
35
36 2016-03-09 Joseph Myers <joseph@codesourcery.com>
37
38 [BZ #19790]
39 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
40 (rintl): Define as macro.
41 [USE_AS_NEARBYINTL] (__rintl): Likewise.
42 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
43 of fesetround. Ensure results are evaluated before end of scope.
44 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
45 USE_AS_NEARBYINTL and include s_rintl.c.
46 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
47 Disable exception traps in new environment.
48 (libc_feholdsetround_ppc_ctx): Likewise.
49
50 2016-03-08 Roland McGrath <roland@hack.frob.com>
51
52 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
53 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
54 (tst_audit10_aux) [__AVX512F__]: ... here.
55
56 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
57
58 * include/sys/auxv.h: New file.
59
60 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
61
62 [BZ #19759]
63 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
64
65 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
66
67 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
68 operand modifier.
69 (feclearexcept): Likewise.
70
71 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
72
73 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
74 to reflect the entire 32-bit HWCAP.
75 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
76 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
77
78 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
79
80 [BZ #19783]
81 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
82 $(test-via-rtld-prefix).
83 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
84
85 2016-03-08 Florian Weimer <fweimer@redhat.com>
86
87 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
88 union wait. Report any non-zero exit status as error.
89
90 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
91
92 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
93 configured with --enable-hardcoded-path-in-tests.
94
95 2016-03-08 Joseph Myers <joseph@codesourcery.com>
96
97 [BZ #19677]
98 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
99 (__ieee754_remainderl): Put zero low parts in canonical form.
100 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
101 file. Based on
102 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
103 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
104 with wrapper round test-fmodrem-ldbl-128ibm.c.
105 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
106 file.
107 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
108 Likewise.
109 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
110 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
111
112 2016-03-07 Florian Weimer <fweimer@redhat.com>
113
114 [BZ #19610]
115 * elf/ldconfig.c (opt_link): Update comment.
116 (options): Update help string for option -X.
117 (search_dir): Unlink stale symbolic link only if updating symbolic
118 links.
119 * elf/tst-ldconfig-X.sh: New file.
120 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
121 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
122
123 2016-03-07 Andreas Schwab <schwab@suse.de>
124
125 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
126 needed arguments.
127
128 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
129
130 [BZ #15333]
131 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
132 to lstat64.
133
134 2016-03-07 Florian Weimer <fweimer@redhat.com>
135
136 * libio/filedoalloc.c (isatty): Remove.
137 (local_isatty): Add comment. Call __isatty directly.
138 (_IO_file_doallocate): Update comment. Assume _LIBC.
139 * libio/wfiledoalloc.c (isatty): Remove.
140 (_IO_wfile_doallocate): Update comment.
141
142 2016-03-07 Florian Weimer <fweimer@redhat.com>
143
144 [BZ #19269]
145 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
146 tst-audit4-aux.o.
147 (tst-audit10): Depend on tst-audit10-aux.o.
148 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
149 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
150 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
151 instead of inline AVX code.
152 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
153 instead of inline AVX512 code.
154 * sysdeps/x86_64/tst-audit4-aux.c: New file
155 * sysdeps/x86_64/tst-audit10-aux.c: New file
156
157 [BZ #19648]
158 * test-skeleton.c (main): Do not set RLIMIT_DATA.
159
160 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
161
162 [BZ #14750]
163 [BZ #10354]
164 [BZ #18433]
165 * include/sched.h (__clone): Add hidden prototype.
166 (__clone2): Likewise.
167 * include/unistd.h (__dup): Likewise.
168 * posix/Makefile (tests): Add tst-spawn2.
169 * posix/tst-spawn2.c: New file.
170 * sysdeps/posix/dup.c (__dup): Add hidden definition.
171 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
172 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
173 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
174 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
175 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
176 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
177 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
178 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
179 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
180 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
182 Likewise.
183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
184 Likewise.
185 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
186 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
187 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
188 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
189 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
190 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
191 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
192 * sysdeps/unix/sysv/linux/nptl-signals.h
193 (____nptl_is_internal_signal): New function.
194 * sysdeps/unix/sysv/linux/spawni.c: New file.
195
196 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
197 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
198 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
199 * posix/tst-execvp2.c (do_test): Likewise.
200 * posix/tst-execvp3.c (do_test): Likewise.
201 * posix/tst-execvp4.c (do_test): Likewise.
202 * posix/tst-execvpe1.c: New file.
203 * posix/tst-execvpe2.c: Likewise.
204 * posix/tst-execvpe3.c: Likewise.
205 * posix/tst-execvpe4.c: Likewise.
206 * posix/tst-execvpe5.c: Likewise.
207 * posix/tst-execvpe6.c: Likewise.
208
209 [BZ #19534]
210 * posix/execl.c (execl): Remove dynamic memory allocation.
211 * posix/execle.c (execle): Likewise.
212 * posix/execlp.c (execlp): Likewise.
213
214 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
215
216 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
217 Replace .text with .text.avx512.
218 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
219 Likewise.
220
221 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
222
223 * sysdeps/generic/libnsl.abilist: New file.
224 * sysdeps/generic/libutil.abilist: New file.
225
226 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
227
228 [BZ #19762]
229 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
230 HAS_ARCH_FEATURE with Fast_Rep_String.
231 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
232 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
233 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
234 Likewise.
235 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
236 Likewise.
237 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
238 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
239 Likewise.
240 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
241 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
242 Likewise.
243
244 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
245
246 [BZ #19745]
247 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
248 with *%rax in call.
249
250 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
251
252 [BZ #19745]
253 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
254 with *__libc_start_main@GOTPCREL(%rip) in call.
255
256 2016-03-04 Roland McGrath <roland@hack.frob.com>
257
258 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
259 inside conditional for nonempty $(CXX).
260
261 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
262 nonempty.
263
264 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
265 to test for empty $(CXX) rather than $(CXX) of "no".
266
267 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
268
269 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
270
271 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
272 H.J. Lu <hongjiu.lu@intel.com>
273
274 [BZ #18880]
275 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
276 instead of Slow_BSF, and also check for Fast_Copy_Backward to
277 enable __memcpy_ssse3_back.
278
279 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
280
281 [BZ #19758]
282 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
283 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
284
285 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
286
287 [BZ #19490]
288 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
289 (__fentry__): Likewise.
290
291 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
292
293 * gmon/Makefile (noprof): Add $(sysdep_noprof).
294 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
295
296 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
297
298 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
299 __mcount_internal directly.
300 (C_LABEL(__fentry__)): Likewise.
301 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
302 directly.
303
304 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
305
306 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
307 (__start_context): Call __setcontext directly.
308
309 2016-02-26 Joseph Myers <joseph@codesourcery.com>
310
311 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
312 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
313 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
314 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
315 * sysdeps/unix/sysv/linux/arm/kernel-features.h
316 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
317 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
318 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
319 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
320 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
321 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
322 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
323 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
324 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
325 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
326 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
327 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
328 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
329 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
330 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
331 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
332 * sysdeps/unix/sysv/linux/mips/kernel-features.h
333 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
334 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
335 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
336 Remove conditional code.
337 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
338 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
339 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
340 * sysdeps/unix/sysv/linux/sh/kernel-features.h
341 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
342 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
343 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
344 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
345 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
346 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
347 * sysdeps/unix/sysv/linux/tile/kernel-features.h
348 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
349
350 2016-02-24 Marko Myllynen <myllynen@redhat.com>
351
352 * NEWS (2.23): Fix typo in bug 19048 text.
353
354 2016-02-24 Carlos O'Donell <carlos@redhat.com>
355
356 [BZ #14259]
357 * Makeconfig: Rename msgcatdir to localedir.
358 Rename inst_msgcatdir to inst_localedir.
359 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
360 * config.make.in: Add localedir.
361 * elf/Makefile ($(objpfx)sotruss): Use localedir.
362 (ldd-rewrite): Likewise.
363 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
364 (install-others): Use inst_localedir.
365 (CPPFLAGS): Use localedir.
366 * locale/Makefile (locale-CPPFLAGS): Likewise.
367 * po/Makefile (mo-installed): Use inst_localedir.
368
369 [BZ #19575]
370 * localedata/charmaps/GB18030: Update comments regarding PAU to
371 non-PUA mappings.
372
373 2016-02-24 Joseph Myers <joseph@codesourcery.com>
374
375 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
376 test for header.
377 * sysdeps/unix/sysv/linux/configure: Regenerated.
378 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
379 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
380 Remove conditional code.
381 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
382
383 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
384 Define to 3.2.0.
385 (arch_minimum_kernel): Likewise.
386 * sysdeps/unix/sysv/linux/configure: Regenerated.
387 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
388 Define to 2.6.32.
389 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
390 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
391 (arch_minimum_kernel): Define to 2.6.32.
392 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
393 * README: Document Linux 3.2 requirement.
394 * manual/install.texi (Linux): Document Linux 3.2 headers
395 requirement.
396 * INSTALL: Regenerated.
397
398 2016-02-24 Andreas Schwab <schwab@suse.de>
399
400 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
401 if !NO_LONG_DOUBLE.
402
403 2016-02-22 Roland McGrath <roland@hack.frob.com>
404
405 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
406 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
407
408 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
409
410 [BZ #19512]
411 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
412
413 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
414
415 * posix/tst-dir.c: Include libc-internal.h.
416
417 2016-02-20 Florian Weimer <fweimer@redhat.com>
418
419 [BZ #19056]
420 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
421 * manual/filesys.texi (Reading/Closing Directory): Mention
422 deprecaion.
423 * posix/tst-dir.c (main): Disable deprecation warning in test.
424
425 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
426
427 [BZ #19679]
428 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
429 Renamed to ...
430 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
431 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
432 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
433 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
434 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
435 * sysdeps/x86_64/dl-trampoline.h
436 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
437 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
438
439 2016-02-19 Mark Wielaard <mjw@redhat.com>
440
441 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
442
443 2016-02-19 Mark Wielaard <mjw@redhat.com>
444
445 * elf/elf.h (R_386_GOT32X): New.
446 (R_386_NUM): Update.
447 (R_X86_64_GOTPCRELX: New.
448 (R_X86_64_REX_GOTPCRELX): New.
449 (R_X86_64_NUM): Update.
450
451 2016-02-19 Mike Frysinger <vapier@gentoo.org>
452
453 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
454
455 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
456
457 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
458 assign attr->stackaddr to it, and adjust it down when
459 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
460 [_STACK_GROWS_UP]: Delete assert.
461 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
462 Implement stack grows up logic.
463 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
464 stack grows up logic.
465
466 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
467
468 * NEWS: Update with 2.24 template.
469
470 2016-02-19 Joseph Myers <joseph@codesourcery.com>
471
472 [BZ #19678]
473 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
474 Ensure +0.0 is returned when taking the next value below the least
475 positive value.
476
477 2016-02-19 Florian Weimer <fweimer@redhat.com>
478
479 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
480 available. Do not define NO_THREADS.
481 * malloc/malloc.c: Do not check NO_THREADS.
482 * malloc/arena.c: Likewise.
483
484 2016-02-19 Florian Weimer <fweimer@redhat.com>
485
486 * malloc/malloc.c (__libc_mallinfo): Update comment.
487 (struct malloc_par): Remove max_total_mem member, it was always 0.
488 (int_mallinfo): Store 0 into usmblks (no functional change).
489 * malloc/hooks.c (struct malloc_state): Document that
490 max_total_mem is always 0.
491 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
492 always 0.
493 * manual/memory.texi (Statistics of Malloc): Likewise.
494
495 2016-02-19 Florian Weimer <fweimer@redhat.com>
496
497 * malloc/malloc.c (sysmalloc): Do not update arena_max.
498 * malloc/arena.c (arena_max): Remove.
499 (heap_trim, _int_new_arena): Do not update arena_max.
500
501 2016-02-19 Florian Weimer <fweimer@redhat.com>
502
503 * resolv/res_init.c (res_ninit): Update comment.
504
505 2016-02-19 Florian Weimer <fweimer@redhat.com>
506
507 [BZ #19505]
508 * posix/spawn_int.h: Add headers and include guard.
509 (__spawn_valid_fd): New function.
510 * posix/spawn_faction_addopen.c
511 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
512 * posix/spawn_faction_addclose.c
513 (posix_spawn_file_actions_addclose): Likewise.
514 * posix/spawn_faction_adddup2.c
515 (posix_spawn_file_actions_adddup2): Likewise. Add check for
516 second file descriptor.
517 * posix/spawn_valid_fd.c: New file.
518 * posix/tst-posix_spawn-fd.c: New file.
519 * posix/Makefile (routines): Add spawn_valid_fd.
520 (tests): Add tst-posix_spawn-fd.
521
522 2016-02-19 Florian Weimer <fweimer@redhat.com>
523
524 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
525 (do_test): Limit the number of arenas, so that we can use fewer
526 outer threads. Limit timeout to 3 seconds, in preparation for a
527 larger TIMEOUT value.
528
529 2016-02-19 Joseph Myers <joseph@codesourcery.com>
530
531 [BZ #19674]
532 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
533 sign in overflowing and underflowing results when overflow or
534 underflow is detected early. Include sign in result before rather
535 than after scaling.
536
537 [BZ #19603]
538 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
539 (__ieee754_remainderl): Adjust sign of integer version of low part
540 when taking absolute value of high part.
541 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
542 * math/libm-test.inc (remainder_test_data): Add another test.
543 (remquo_test_data): Likewise.
544
545 2016-02-18 Joseph Myers <joseph@codesourcery.com>
546
547 [BZ #19602]
548 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
549 equal high parts and both low parts zero specially.
550 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
551 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
552 Add test-fmodl-ldbl-128ibm.
553
554 [BZ #19595]
555 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
556 common logic for all cases of shifting subnormal results. Do not
557 insert sign bit in shifted mantissa. Always pass -1023 as biased
558 exponent to ldbl_insert_mantissa in subnormal case.
559
560 [BZ #19594]
561 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
562 on high and low parts then adjust result and use
563 ldbl_canonicalize_int if needed.
564
565 [BZ #19593]
566 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
567 on high part and __floor or __ceil on low part then use
568 ldbl_canonicalize_int if needed.
569
570 [BZ #19592]
571 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
572 high and low parts then use ldbl_canonicalize_int if needed.
573
574 [BZ #17899]
575 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
576 New function.
577 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
578 on high and low parts then use ldbl_canonicalize_int if needed.
579
580 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
581
582 * configure: Regenerated.
583
584 * po/libc.pot: Regenerated.
585
586 * po/be.po: Updated translation.
587 * po/bg.po: Likewise.
588 * po/ca.po: Likewise.
589 * po/cs.po: Likewise.
590 * po/da.po: Likewise.
591 * po/el.po: Likewise.
592 * po/eo.po: Likewise.
593 * po/es.po: Likewise.
594 * po/fi.po: Likewise.
595 * po/fr.po: Likewise.
596 * po/gl.po: Likewise.
597 * po/hr.po: Likewise.
598 * po/hu.po: Likewise.
599 * po/ia.po: Likewise.
600 * po/id.po: Likewise.
601 * po/it.po: Likewise.
602 * po/ja.po: Likewise.
603 * po/lt.po: Likewise.
604 * po/nb.po: Likewise.
605 * po/nl.po: Likewise.
606 * po/pt_BR.po: Likewise.
607 * po/rw.po: Likewise.
608 * po/sk.po: Likewise.
609 * po/sl.po: Likewise.
610 * po/sv.po: Likewise.
611 * po/tr.po: Likewise.
612 * po/zh_CN.po: Likewise.
613 * po/zh_TW.po: Likewise.
614
615 * version.h (RELEAES): Set to "development".
616 (VERSION): Set to 2.23.90.
617
618 * version.h (RELEASE): Set to "stable".
619 (VERSION): Set to 2.23.
620 * include/feature.h (__GLIBC_MINOR__): Set to 23.
621
622 * NEWS: Updated fixed bugs.
623
624 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
625 Wilco Dijkstra <wdijkstr@arm.com>
626
627 [BZ #19462]
628 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
629 (_STRING_INLINE_unaligned): This.
630 * include/string.h: Include <string_private.h>.
631 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
632 _STRING_INLINE_unaligned.
633 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
634 (_STRING_INLINE_unaligned): New.
635 * sysdeps/aarch64/string_private.h: New file.
636 * sysdeps/generic/string_private.h: Likewise.
637 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
638 * sysdeps/s390/string_private.h: Likewise.
639 * sysdeps/x86/string_private.h: Likewise.
640 * sysdeps/m68k/m680x0/m68020/bits/string.h
641 (_STRING_ARCH_unaligned): Renamed to ...
642 (_STRING_INLINE_unaligned): This.
643 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
644 to ...
645 (_STRING_INLINE_unaligned): This.
646 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
647 to ...
648 (_STRING_INLINE_unaligned): This.
649 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
650 to ...
651 (_STRING_INLINE_unaligned): This.
652
653 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
654 H.J. Lu <hongjiu.lu@intel.com>
655
656 [BZ #19590]
657 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
658 relocation.
659
660 2016-02-15 Carlos O'Donell <carlos@redhat.com>
661
662 [BZ #18665]
663 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
664 *herrno_p.
665 (gaih_getanswer): Document functional behviour. Return tryagain
666 if any result is tryagain.
667 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
668 when freed.
669 * resolv/res_send.c: Add copyright text.
670 (__libc_res_nsend): Document that MAXPACKET is expected.
671 (send_vc): Document. Remove buffer reuse.
672 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
673 size of the buffer. Add Dprint for truncated UDP buffer.
674
675 2016-02-14 Carlos O'Donell <carlos@redhat.com>
676
677 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
678 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
679 * INSTALL: Regenerate.
680
681 2016-02-14 Jakub Jelinek <jakub@redhat.com>
682 Jonathan Wakely <jwakely@redhat.com>
683 Carlos O'Donell <carlos@redhat.com>
684
685 [BZ 19439]
686 * math/Makefile (tests): Add test-math-isinff.
687 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
688 * math/bits/mathcalls.h [__USE_MISC]: Use
689 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
690 functions not in C++11 and which don't conflict e.g. isinff,
691 isinfl etc.
692 * math/test-math-isinff.cc: New file.
693
694 2016-02-12 Florian Weimer <fweimer@redhat.com>
695
696 * misc/bug18240.c (do_test): Set RLIMIT_AS.
697
698 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
699
700 [BZ #19529]
701 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
702
703 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
704
705 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
706
707 2016-02-01 Joseph Myers <joseph@codesourcery.com>
708
709 [BZ #19550]
710 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
711 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
712 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
713 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
714 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
715 New syscall entry.
716 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
717 New syscall entry.
718 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
719 syscall entry.
720
721 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
722
723 [BZ #18240]
724 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
725 unsigned int wraparound.
726
727 2016-01-27 Florian Weimer <fweimer@redhat.com>
728
729 [BZ #18240]
730 * misc/bug18240.c: New test.
731 * misc/Makefile (tests): Add it.
732
733 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
734 Joseph Myers <joseph@codesourcery.com>
735
736 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
737 load in branch delay slot when less than a word of input left.
738
739 2016-01-27 Andreas Schwab <schwab@suse.de>
740
741 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
742 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
743 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
744 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
745
746 2016-01-26 David S. Miller <davem@davemloft.net>
747
748 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
749
750 2016-01-25 David S. Miller <davem@davemloft.net>
751
752 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
753 __sqrtl_finite.
754 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
755 instead using versioned_symbol.
756 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
757 of entries.
758
759 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
760 __sqrtl_finite to GLIBC_2.23
761
762 2016-01-25 Ricchard Henderson <rth@redhat.com>
763
764 * sysdeps/alpha/fpu/libm-test-ulps: Update.
765
766 2016-01-25 Andreas Schwab <schwab@suse.de>
767
768 [BZ #17514]
769 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
770 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
771 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
772 * nptl/tst-mutex-errorcheck.c: New file.
773
774 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
775
776 [BZ #18560]
777 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
778 (IPCOP_semop): Likewise.
779 (IPCOP_semget): Likewise.
780 (IPCOP_semctl): Likewise.
781 (IPCOP_msgsnd): Likewise.
782 (IPCOP_msgrcv): Likewise.
783 (IPCOP_msgget): Likewise.
784 (IPCOP_msgctl): Likewise.
785 (IPCOP_shmat): Likewise.
786 (IPCOP_shmdt): Likewise.
787 (IPCOP_shmget): Likewise.
788 (IPCOP_shmctl): Likewise.
789
790 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
791
792 * string/tst-endian.c: Include <libc-internal.h>.
793 (do_test): Ignore tautological-compare warnings around
794 "htobeXX (beXXtoh (i)) != i" and
795 "htoleXX (leXXtoh (i)) != i" if-statements.
796
797 2016-01-24 David S. Miller <davem@davemloft.net>
798
799 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
800 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
801 alias.
802 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
803 __sqrtl_finite.
804
805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
806
807 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
808
809 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
810 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
811 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
812
813 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
814
815 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
816 (thread_func): Use new function to simplify barrier check.
817 (do_test): Use new function to simplify checking barrier exit
818 code, and actually join the child thread.
819
820 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
821
822 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
823 semicolon.
824 (__libc_tend): Likewise.
825 (__libc_tabort): Likewise.
826
827 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
828
829 * sysdeps/nios2/libm-test-ulps: Update.
830 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
831 (__gtsf2): Likewise.
832 (__unorddf2): Likewise.
833 (__unordsf2): Likewise.
834 (__ledf2): Likewise.
835
836 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
837
838 * nis/nis_table.c (__follow_path): Disable diagnostic for
839 uninitialized variable that is a false positive for gcc 4.7.
840 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
841
842 2016-01-20 Roland McGrath <roland@hack.frob.com>
843
844 * sysdeps/nacl/lowlevellock-futex.h
845 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
846 Always evaluate PRIVATE argument.
847
848 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
849
850 [BZ #19490]
851 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
852 (pthread_cond_broadcast): Use ENTRY/END
853 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
854 (pthread_cond_signal): Likewise.
855 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
856 Likewise.
857 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
858 Likewise.
859 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
860 Likewise.
861
862 2016-01-20 Joseph Myers <joseph@codesourcery.com>
863
864 * sysdeps/ieee754/dbl-64/s_finite.c
865 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
866 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
867 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
868 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
869 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
870
871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
872 (__gtsf2): Add as optional for libc.so.
873 (__unordsf2): Likewise.
874 (__signbit): Remove for libc.so.
875 (__signbitl): Likewise.
876
877 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
878
879 * iconvdata/bug-iconv11.c (test_ibm93x):
880 Use %zu printf format specifier for size_t argument.
881
882 2016-01-19 Joseph Myers <joseph@codesourcery.com>
883
884 * math/gen-libm-test.pl (parse_ulps): Do not reduce
885 already-recorded ulps.
886 * sysdeps/arm/libm-test-ulps: Regenerated.
887 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
888 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
889 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
890
891 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
892 Paul Pluzhnikov <ppluzhnikov@google.com>
893
894 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
895 assembler not supporting AVX-512.
896
897 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
898
899 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
900
901 2016-01-18 Joseph Myers <joseph@codesourcery.com>
902
903 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
904 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
905
906 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
907
908 * sysdeps/arm/libm-test-ulps: Regenerated.
909
910 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
911
912 [BZ #19451]
913 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
914
915 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
916
917 [BZ #19486]
918 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
919 * sysdeps/generic/fix-fp-int-convert-overflow.h
920 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
921 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
922 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
923 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
924 Likewise.
925 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
926 Avoid conversions to long int where inexact exceptions
927 could be raised.
928 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
929 Likewise.
930 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
931 Avoid conversions to long long int where inexact exceptions
932 could be raised.
933 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
934 Likewise.
935
936 2016-01-17 Mike Frysinger <vapier@gentoo.org>
937
938 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
939 * configure: Regenerated.
940
941 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
942
943 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
944
945 2016-01-16 Mike Frysinger <vapier@gentoo.org>
946
947 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
948 outside of comment.
949
950 2016-01-15 Torvald Riegel <triegel@redhat.com>
951
952 * nptl/tst-barrier1.c: Add description on first line.
953 * nptl/tst-barrier2.c: Likewise.
954 * nptl/tst-barrier3.c: Likewise.
955 * nptl/tst-barrier4.c: Likewise.
956 * nptl/tst-barrier5.c: Likewise.
957
958 2016-01-15 Torvald Riegel <triegel@redhat.com>
959
960 [BZ #18868]
961 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
962
963 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
964
965 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
966 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
967 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
968 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
969 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
970 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
971 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
972 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
973 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
974 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
975 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
976
977 2016-01-15 Torvald Riegel <triegel@redhat.com>
978
979 [BZ #13065]
980 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
981 new implementation.
982 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
983 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
984 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
985 (BARRIER_IN_THRESHOLD): New macro.
986 * nptl/pthread_barrierattr_setpshared.c
987 (pthread_barrierattr_setpshared): Clean up.
988 * nptl/tst-barrier4.c: Correct comment.
989 * nptl/tst-barrier5.c: New file.
990 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
991 (gen-as-const-headers): Remove lowlevelbarrier.sym.
992 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
993 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
994 * nptl/lowlevelbarrier.sym: Remove.
995 * nptl/DESIGN-barrier.txt: Remove.
996 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
997 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
998 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
999 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
1000 error.
1001 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
1002 implementation.
1003
1004 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1005
1006 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
1007 (do_child): Mask SIGRTMIN while thr is running.
1008
1009 2016-01-15 Martin Sebor <msebor@redhat.com>
1010
1011 [BZ #19432]
1012 * iconvdata/Makefile: Add bug-iconv11.
1013 * iconvdata/bug-iconv11.c: New test.
1014 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
1015 * iconvdata/ibm933.c: Same.
1016 * iconvdata/ibm935.c: Same.
1017 * iconvdata/ibm937.c: Same.
1018 * iconvdata/ibm939.c: Same.
1019
1020 2016-01-15 Martin Sebor <msebor@redhat.com>
1021
1022 [BZ #19443]
1023 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
1024 [DEBUG] (_ufc_set_bits): Declare used.
1025 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
1026 [DEBUG] (print_all): Declare used.
1027 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
1028 operands of the ternary ?: expression to target type.
1029 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
1030 calling the undeclared abort.
1031 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
1032
1033 2016-01-15 Martin Sebor <msebor@redhat.com>
1034
1035 [BZ #18755]
1036 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
1037 warnings.
1038 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
1039 (__gai_create_helper_thread): Same.
1040 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
1041 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
1042 to suppress -Wmaybe-uninitialized warnings.
1043
1044 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
1045
1046 [BZ #19465]
1047 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
1048 inside if.
1049 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1050 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1051 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1052
1053 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
1054
1055 [BZ #19466]
1056 * time/tst-mktime2.c (time_t_max): Removed.
1057 (time_t_min): Likewise.
1058 (TYPE_SIGNED): New.
1059 (TYPE_MINIMUM): Likewise.
1060 (TYPE_MAXIMUM): Likewise.
1061 (TIME_T_MIN): Likewise.
1062 (TIME_T_MAX): Likewise.
1063 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
1064 and TIME_T_MIN.
1065 (do_test): Likewise.
1066
1067 2016-01-14 Amit Pawar <amit.pawar@amd.com>
1068
1069 [BZ #19467]
1070 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1071 index_Fast_Unaligned_Load flag for Excavator family CPUs.
1072
1073 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
1074
1075 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
1076
1077 2016-01-13 Carlos O'Donell <carlos@redhat.com>
1078
1079 * benchtests/Makefile (PYTHON): Define.
1080 (bench-func): Use $(PYTHON) to run python scripts.
1081 ($(objpfx)bench-%.c): Likewise.
1082
1083 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
1084
1085 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
1086 leading slash when `file_name' is "/".
1087
1088 2016-01-12 Joseph Myers <joseph@codesourcery.com>
1089
1090 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
1091 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
1092 Likewise.
1093 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
1094 Likewise.
1095 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
1096 Likewise.
1097 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
1098 enum constant and macro.
1099 (PTRACE_SETSIGMASK): Likewise.
1100 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1101 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1102 (PTRACE_GETSIGMASK): Likewise.
1103 (PTRACE_SETSIGMASK): Likewise.
1104 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1105 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
1106 Likewise.
1107 (PTRACE_SETSIGMASK): Likewise.
1108 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1109 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1110 (PTRACE_GETSIGMASK): Likewise.
1111 (PTRACE_SETSIGMASK): Likewise.
1112 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1113 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
1114 Likewise.
1115 (PTRACE_SETSIGMASK): Likewise.
1116 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1117 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
1118 Likewise.
1119 (PTRACE_SETSIGMASK): Likewise.
1120 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1121 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
1122 Likewise.
1123 (PTRACE_SETSIGMASK): Likewise.
1124 (PTRACE_SECCOMP_GET_FILTER): Likewise.
1125
1126 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
1127 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1128
1129 [BZ #19439]
1130 * math/bits/mathcalls.h
1131 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
1132 prototype.
1133 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
1134
1135 2016-01-11 Andreas Schwab <schwab@suse.de>
1136
1137 [BZ #19253]
1138 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
1139 cache when TZDEFRULES was used.
1140 * time/tst-tzname.c: New file.
1141 * time/Makefile (test): Add tst-tzname.
1142 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
1143 * timezone/Makefile (test-zones): Add $(posixrules-file).
1144 ($(testdata)/$(posixrules-file)): New rule.
1145
1146 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
1147
1148 Fix doc quoting problems with Texinfo 5
1149 Without this change, in the info file output, Texinfo 5 quotes code
1150 in text with undirected single quotes 'like this' and generates
1151 code examples that with many PDF readers cannot be cut out of PDFs
1152 and pasted into code.
1153 * manual/libc.texinfo: Configure the libc manual like the GNU
1154 Emacs manual, by using @documentencoding and setting
1155 txicodequoteundirected and txicodequotebacktick. This way,
1156 Texinfo 5 quotes code in text with directed single quotes ‘like
1157 this’ and produces examples that can be cut out of PDFs. This
1158 change causes Texinfo 5 to generate info files that contain UTF-8
1159 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
1160 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
1161
1162 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1163
1164 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
1165 __libc_tabort, __libc_tend): New wrappers that enforce compiler
1166 barriers to their respective compiler built-ins.
1167 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
1168 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
1169 * sysdeps/powerpc/sysdep.h: Likewise.
1170 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
1171 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
1172 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
1173
1174 2016-01-08 Marko Myllynen <myllynen@redhat.com>
1175
1176 * scripts/config.guess: Revert previous shebang change.
1177 * scripts/config.sub: Likewise.
1178 * scripts/mkinstalldirs: Likewise.
1179
1180 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1181
1182 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
1183 PPC_FEATURE2_HAS_IEEE128.
1184 * sysdeps/powerpc/dl-procinfo.c:
1185 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
1186
1187 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
1188
1189 [BZ #19415]
1190 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
1191 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
1192 (_dl_lookup_address): Rewrite using function resolver trampoline.
1193 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
1194 two bits in address.
1195
1196 2016-01-07 Mike Frysinger <vapier@gentoo.org>
1197
1198 * longlong.h: Change !__SHMEDIA__ to
1199 (!defined (__SHMEDIA__) || !__SHMEDIA__).
1200 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
1201
1202 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
1203 Joseph Myers <joseph@codesourcery.com>
1204 Mark Shinwell <shinwell@codesourcery.com>
1205 Andrew Stubbs <ams@codesourcery.com>
1206 Rich Felker <dalias@libc.org>
1207
1208 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
1209
1210 2016-01-07 Richard Henderson <rth@redhat.com>
1211
1212 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
1213
1214 2016-01-07 Mike Frysinger <vapier@gentoo.org>
1215
1216 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
1217 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
1218 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1219 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1220 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
1221
1222 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
1223 Joseph Myers <joseph@codesourcery.com>
1224
1225 * timezone/private.h: Update from tzcode 2015g.
1226 * timezone/tzfile.h: Likewise.
1227 * timezone/tzselect.ksh: Likewise.
1228 * timezone/zdump.c: Likewise.
1229 * timezone/zic.c: Likewise.
1230 * timezone/ialloc.c: Remove file.
1231 * timezone/scheck.c: Likewise.
1232 * timezone/Makefile (extra-objs): Remove variable.
1233 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
1234 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
1235 -Wno-maybe-uninitialized.
1236 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
1237 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
1238 (CFLAGS-ialloc.c): Remove variable.
1239 (CFLAGS-scheck.c): Likewise.
1240 * timezone/README: Update list of files from tzcode.
1241
1242 2016-01-07 Khem Raj <raj.khem@gmail.com>
1243
1244 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
1245 instead of __fxprintf when _LIBC is undefined.
1246
1247 2016-01-07 Marko Myllynen <myllynen@redhat.com>
1248
1249 * catgets/test-gencat.sh: Remove space after shebang.
1250 * conform/GlibcConform.pm: Likewise.
1251 * conform/check-header-lists.sh: Likewise.
1252 * conform/conformtest.pl: Likewise.
1253 * conform/linknamespace.pl: Likewise.
1254 * conform/list-header-symbols.pl: Likewise.
1255 * debug/catchsegv.sh: Likewise.
1256 * elf/genrtldtbl.awk: Likewise.
1257 * elf/tst-pathopt.sh: Likewise.
1258 * elf/tst-rtld-load-self.sh: Likewise.
1259 * grp/tst_fgetgrent.sh: Likewise.
1260 * iconvdata/gen-8bit-gap-1.sh: Likewise.
1261 * iconvdata/gen-8bit-gap.sh: Likewise.
1262 * iconvdata/gen-8bit.sh: Likewise.
1263 * iconvdata/run-iconv-test.sh: Likewise.
1264 * intl/tst-gettext.sh: Likewise.
1265 * intl/tst-gettext2.sh: Likewise.
1266 * intl/tst-gettext4.sh: Likewise.
1267 * intl/tst-gettext6.sh: Likewise.
1268 * intl/tst-translit.sh: Likewise.
1269 * io/ftwtest-sh: Likewise.
1270 * libio/test-freopen.sh: Likewise.
1271 * locale/gen-translit.pl: Likewise.
1272 * malloc/tst-mtrace.sh: Likewise.
1273 * manual/check-safety.sh: Likewise.
1274 * manual/libc-texinfo.sh: Likewise.
1275 * manual/tsort.awk: Likewise.
1276 * manual/xtract-typefun.awk: Likewise.
1277 * nptl/tst-cancel-wrappers.sh: Likewise.
1278 * nptl/tst-tls6.sh: Likewise.
1279 * posix/globtest.sh: Likewise.
1280 * posix/tst-getconf.sh: Likewise.
1281 * posix/wordexp-tst.sh: Likewise.
1282 * scripts/check-c++-types.sh: Likewise.
1283 * scripts/check-local-headers.sh: Likewise.
1284 * scripts/config.guess: Likewise.
1285 * scripts/config.sub: Likewise.
1286 * scripts/cpp: Likewise.
1287 * scripts/cross-test-ssh.sh: Likewise.
1288 * scripts/documented.sh: Likewise.
1289 * scripts/evaluate-test.sh: Likewise.
1290 * scripts/gen-libc-abis: Likewise.
1291 * scripts/gen-sorted.awk: Likewise.
1292 * scripts/list-fixed-bugs.py: Likewise.
1293 * scripts/merge-test-results.sh: Likewise.
1294 * scripts/mkinstalldirs: Likewise.
1295 * scripts/rellns-sh: Likewise.
1296 * scripts/test-installation.pl: Likewise.
1297 * scripts/update-copyrights: Likewise.
1298 * stdio-common/tst-printf.sh: Likewise.
1299 * stdio-common/tst-unbputc.sh: Likewise.
1300 * stdlib/tst-fmtmsg.sh: Likewise.
1301 * stdlib/tst-setcontext3.sh: Likewise.
1302 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
1303 * sysdeps/unix/make-syscalls.sh: Likewise.
1304
1305 2016-01-06 John David Anglin <dave.anglin@bell.net>
1306
1307 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
1308 asm stw with atomic_exchange_rel. Add explanatory comment.
1309 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1310 Likewise.
1311
1312 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
1313
1314 [BZ #19122]
1315 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
1316 * sysdeps/generic/dl-unistd.h: New file.
1317 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
1318
1319 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
1320
1321 [BZ #19122]
1322 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
1323 * sysdeps/generic/dl-mman.h: New file.
1324 * sysdeps/mach/hurd/dl-mman.h: Likewise.
1325
1326 2016-01-05 Joseph Myers <joseph@codesourcery.com>
1327
1328 * manual/texinfo.tex: Update to version 2016-01-04.21 with
1329 trailing whitespace removed.
1330 * scripts/config.guess: Update to version 2016-01-01.
1331 * scripts/config.sub: Update to version 2016-01-01.
1332 * scripts/move-if-change: Update from gnulib.
1333
1334 2016-01-04 Anton Blanchard <anton@samba.org>
1335
1336 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
1337 for array indices.
1338 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
1339
1340 2016-01-04 Joseph Myers <joseph@codesourcery.com>
1341
1342 * NEWS: Update copyright dates.
1343 * catgets/gencat.c (print_version): Likewise.
1344 * csu/version.c (banner): Likewise.
1345 * debug/catchsegv.sh: Likewise.
1346 * debug/pcprofiledump.c (print_version): Likewise.
1347 * debug/xtrace.sh (do_version): Likewise.
1348 * elf/ldconfig.c (print_version): Likewise.
1349 * elf/ldd.bash.in: Likewise.
1350 * elf/pldd.c (print_version): Likewise.
1351 * elf/sotruss.sh: Likewise.
1352 * elf/sprof.c (print_version): Likewise.
1353 * iconv/iconv_prog.c (print_version): Likewise.
1354 * iconv/iconvconfig.c (print_version): Likewise.
1355 * locale/programs/locale.c (print_version): Likewise.
1356 * locale/programs/localedef.c (print_version): Likewise.
1357 * login/programs/pt_chown.c (print_version): Likewise.
1358 * malloc/memusage.sh (do_version): Likewise.
1359 * malloc/memusagestat.c (print_version): Likewise.
1360 * malloc/mtrace.pl: Likewise.
1361 * manual/libc.texinfo: Likewise.
1362 * nptl/version.c (banner): Likewise.
1363 * nscd/nscd.c (print_version): Likewise.
1364 * nss/getent.c (print_version): Likewise.
1365 * nss/makedb.c (print_version): Likewise.
1366 * posix/getconf.c (main): Likewise.
1367 * scripts/test-installation.pl: Likewise.
1368 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1369
1370 * All files with FSF copyright notices: Update copyright dates
1371 using scripts/update-copyrights.
1372 * intl/plural.c: Regenerated.
1373 * locale/programs/charmap-kw.h: Likewise.
1374 * locale/programs/locfile-kw.h: Likewise.
1375
1376 2016-01-02 Helge Deller <deller@gmx.de>
1377
1378 [BZ #19285]
1379 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
1380 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
1381 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
1382 (MADV_xxK_PAGES): Remove.
1383
1384 2016-01-01 Mike Frysinger <vapier@gentoo.org>
1385
1386 [BZ #15421]
1387 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
1388 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
1389 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
1390 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
1391
1392 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
1393
1394 [BZ #19408]
1395 * sysdeps/unix/sysv/linux/personality.c: New file.
1396 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
1397 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
1398 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
1399 (sysdep_routines): Add personality.
1400 (tests): Add tst-personality.
1401 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
1402 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
1403 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
1404 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
1405 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
1406 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
1407 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
1408 Likewise.
1409 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
1410 Likewise.
1411 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
1412 Likewise.
1413 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
1414 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
1415 Likewise.
1416
1417 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
1418
1419 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
1420 (PATH_ARM_SYSTYPE): Remove.
1421 (PATH_CPUINFO): Likewise.
1422 (IO_BASE_FOOTBRIDGE): Likewise.
1423 (IO_SHIFT_FOOTBRIDGE): Likewise.
1424 (struct platform): Likewise.
1425 (init_iosys): Remove compatibility code for 2.4 kernels.
1426 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
1427
1428 2015-12-29 Florian Weimer <fweimer@redhat.com>
1429
1430 * malloc/tst-malloc-thread-fail.c: New file.
1431 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
1432 (tst-malloc-thread-fail): Link against libpthread.
1433
1434 2015-12-29 Mike Frysinger <vapier@gentoo.org>
1435
1436 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
1437 (get_parser): New function.
1438 (main): New function.
1439
1440 2015-12-29 Rob Wu <rob@robwu.nl>
1441
1442 [BZ #19369]
1443 * resolv/res_init.c (__res_vinit): Reset defdname before use.
1444
1445 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
1446
1447 [BZ #19270]
1448 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1449
1450 2015-12-28 Mike Frysinger <vapier@gentoo.org>
1451
1452 [BZ #15421]
1453 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
1454
1455 2015-12-23 Torvald Riegel <triegel@redhat.com>
1456
1457 [BZ #13690]
1458 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
1459 after releasing it.
1460 (__lll_robust_unlock): Likewise.
1461 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1462 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
1463 (lll_robust_unlock): Likewise.
1464 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
1465 Prevent warnings in callers.
1466
1467 2015-12-23 Florian Weimer <fweimer@redhat.com>
1468
1469 * malloc/arena.c (list_lock): Update comment.
1470
1471 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1472
1473 * sysdeps/powerpc/hwcapinfo.c: Export symbol
1474 __parse_hwcap_and_convert_at_platform to libc.a.
1475
1476 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1477
1478 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
1479 platform and feature support for POWER9.
1480 * sysdeps/powerpc/dl-procinfo.h: Likewise.
1481 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
1482 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
1483 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
1484 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
1485 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
1486 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
1487 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
1488
1489 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1490
1491 Harmonize generic stdio-lock support with nptl
1492
1493 This fixes build when _IO_funlockfile is a macro, fixes build where
1494 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
1495 stack unwind.
1496
1497 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
1498 _IO_release_lock ): Use cleanup attribute on new
1499 _IO_acquire_lock_file variable instead of assuming that
1500 _IO_release_lock will be called.
1501 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
1502 _IO_acquire_lock_needs_exceptions_enabled.
1503 (_IO_acquire_lock_clear_flags2): New macro.
1504
1505 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1506
1507 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1508
1509 2015-12-21 Florian Weimer <fweimer@redhat.com>
1510
1511 [BZ #19182]
1512 * malloc/arena.c (list_lock): Document lock ordering requirements.
1513 (free_list_lock): New lock.
1514 (ptmalloc_lock_all): Comment on free_list_lock.
1515 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
1516 (detach_arena): Update comment. free_list_lock is now needed.
1517 (_int_new_arena): Use free_list_lock around detach_arena call.
1518 Acquire arena lock after list_lock. Add comment, including FIXME
1519 about incorrect synchronization.
1520 (get_free_list): Switch to free_list_lock.
1521 (reused_arena): Acquire free_list_lock around detach_arena call
1522 and attached threads counter update. Add two FIXMEs about
1523 incorrect synchronization.
1524 (arena_thread_freeres): Switch to free_list_lock.
1525 * malloc/malloc.c (struct malloc_state): Update comments to
1526 mention free_list_lock.
1527
1528 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
1529
1530 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
1531 Remove functions.
1532 (sloww, sloww1): Accept argument to offset quadrant.
1533 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
1534 quadrant.
1535 (__sin, __cos): Consolidate common code into new functions.
1536 (reduce_sincos_1, do_sincos_1): New functions.
1537 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
1538
1539 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
1540 code to new functions.
1541 (reduce_sincos_2, do_sincos_2): New functions.
1542 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
1543
1544 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
1545 common code for sincos.
1546 (__cos) [!IN_SINCOS]: Likewise.
1547 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
1548 New function.
1549 (__sincos): Use it.
1550
1551 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
1552
1553 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
1554 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
1555 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1556
1557 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
1558
1559 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
1560 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
1561 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1562 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
1563 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1564 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
1565 index_Prefer_No_VZEROUPPER): New feature.
1566 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
1567 Prefer_No_VZEROUPPER for Knights Landing.
1568
1569 015-12-18 Torvald Riegel <triegel@redhat.com>
1570
1571 * math/atest-exp2.c (mp_exp_m1): Remove.
1572
1573 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1574
1575 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
1576 syscalls.
1577 (__SYSCALL0): New macro.
1578 (__SYSCALL1): Likewise.
1579 (__SYSCALL2): Likewise.
1580 (__SYSCALL3): Likewise.
1581 (__SYSCALL4): Likewise.
1582 (__SYSCALL5): Likewise.
1583 (__SYSCALL6): Likewise.
1584 (__SYSCALL_CONCAT_X): Likewise.
1585 (__SYSCALL_CONCAT): Likewise.
1586 (__SYSCALL_DIST): Likewise.
1587 (__SYSCALL_CALL): Likewise.
1588
1589 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
1590
1591 [BZ #19363]
1592 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
1593
1594 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1595
1596 [BZ #19375]
1597 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
1598 negative subnormals.
1599
1600 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
1601
1602 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1603 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
1604 (INTERNAL_SYSCALL_NCS): Use it.
1605 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1606
1607 2015-12-16 Florian Weimer <fweimer@redhat.com>
1608
1609 [BZ #19243]
1610 * malloc/arena.c (get_free_list): Remove assert and adjust
1611 reference count handling. Add comment about reused_arena
1612 interaction.
1613 (reused_arena): Add comments abount get_free_list interaction.
1614 * malloc/tst-malloc-thread-exit.c: New file.
1615 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
1616 (tst-malloc-thread-exit): Link against libpthread.
1617
1618 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
1619
1620 [BZ #19367]
1621 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
1622 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
1623 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
1624 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
1625 (index_Prefer_MAP_32BIT_EXEC): Likewise.
1626
1627 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
1628
1629 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
1630 Silvermont optimizations for Knights Landing.
1631
1632 2015-12-15 Andreas Schwab <schwab@suse.de>
1633
1634 [BZ #17197]
1635 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
1636 immediately after emitting SI.
1637 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1638 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1639 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1640 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1641 * iconvdata/bug-iconv10.c: New file.
1642 * iconvdata/Makefile (tests): Add bug-iconv10.
1643 ($(objpfx)bug-iconv10.out): New rule.
1644
1645 2015-12-15 Florian Weimer <fweimer@redhat.com>
1646
1647 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
1648 aliasing violation.
1649
1650 2015-12-14 Joseph Myers <joseph@codesourcery.com>
1651
1652 [BZ #18472]
1653 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
1654 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
1655 conditionals for them.
1656 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
1657 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
1658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1659 sys/kdaemon.h.
1660 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
1661 compat-only syscall, obsoleted in glibc 2.23.
1662 (create_module): Likewise.
1663 (get_kernel_syms): Likewise.
1664 (query_module): Likewise.
1665 (uselib): Likewise.
1666 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
1667
1668 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
1669
1670 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
1671 <linux/version.h>.
1672 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
1673 conditional code.
1674 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
1675 and ioshift_name initialization.
1676
1677 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
1678
1679 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1680 Fix indentation.
1681
1682 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
1683
1684 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
1685
1686 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
1687
1688 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
1689
1690 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
1691 Jakub Wilk <jwilk@debian.org>
1692
1693 [BZ #19347]
1694 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
1695 to change the group of the device to the tty group.
1696
1697 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
1698
1699 Split large string section; add truncation advice
1700 * manual/examples/strncat.c: Remove.
1701 This example was misleading, as the code would have undefined
1702 behavior if "hello" was longer than SIZE. Anyway, the manual
1703 shouldn't encourage strncpy+strncat for this sort of thing.
1704 * manual/string.texi (Copying Strings and Arrays): Split into
1705 three sections Copying Strings and Arrays, Concatenating Strings,
1706 and Truncating Strings, as this section was way too long. All
1707 cross-referenced changed. Add advice about string-truncation
1708 functions. Remove misleading strncat example.
1709
1710 2015-12-10 Carlos O'Donell <carlos@redhat.com>
1711
1712 * manual/nss.texi (NSS Modules Interface): Document
1713 NSS_STATUS_NOTFOUND and SUCCESS.
1714
1715 2015-12-09 Mike FABIAN <mfabian@redhat.com>
1716
1717 [BZ 18568]
1718 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1719 201505L, for Unicode 8.
1720
1721 2015-12-09 Carlos O'Donell <carlos@redhat.com>
1722
1723 * locale/C-translit.h: Regenerate.
1724
1725 2015-12-09 Mike FABIAN <mfabian@redhat.com>
1726
1727 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
1728 and U+0153.
1729
1730 2015-12-09 Joseph Myers <joseph@codesourcery.com>
1731
1732 [BZ #19351]
1733 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
1734 expanding log(1+z), compare z rather than its square with epsilon
1735 to determine when to avoid evaluating the expansion.
1736
1737 [BZ #19350]
1738 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
1739 Increase overflow threshold.
1740
1741 [BZ #19349]
1742 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
1743 when small.
1744
1745 * sysdeps/unix/sysv/linux/i386/kernel-features.h
1746 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1747 New macro.
1748 [__LINUX_KERNEL_VERSION >= 0x040300]
1749 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1750 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1751 Likewise.
1752 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1753 Likewise.
1754 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1755 Likewise.
1756 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1757 Likewise.
1758 [__LINUX_KERNEL_VERSION >= 0x040300]
1759 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1760 [__LINUX_KERNEL_VERSION >= 0x040300]
1761 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1762 [__LINUX_KERNEL_VERSION >= 0x040300]
1763 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1764 [__LINUX_KERNEL_VERSION >= 0x040300]
1765 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1766 [__LINUX_KERNEL_VERSION >= 0x040300]
1767 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1768 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1769 Likewise.
1770 [__LINUX_KERNEL_VERSION >= 0x040300]
1771 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1772 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1773 Likewise.
1774 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1775 Likewise.
1776 [__LINUX_KERNEL_VERSION >= 0x040300]
1777 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1778 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1779 Likewise.
1780 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1781 Likewise.
1782 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1783 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
1784 Likewise.
1785 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
1786 Likewise.
1787 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1788 Likewise.
1789 [__LINUX_KERNEL_VERSION >= 0x040300]
1790 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1791 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1792 Likewise.
1793 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1794 Likewise.
1795 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1796 Likewise.
1797 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1798 Likewise.
1799 [__LINUX_KERNEL_VERSION >= 0x040300]
1800 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1801 [__LINUX_KERNEL_VERSION >= 0x040300]
1802 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1803 [__LINUX_KERNEL_VERSION >= 0x040300]
1804 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1805 [__LINUX_KERNEL_VERSION >= 0x040300]
1806 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1807 [__LINUX_KERNEL_VERSION >= 0x040300]
1808 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1809 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1810 Likewise.
1811 [__LINUX_KERNEL_VERSION >= 0x040300]
1812 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1813 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1814 Likewise.
1815 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1816 Likewise.
1817 [__LINUX_KERNEL_VERSION >= 0x040300]
1818 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1819 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1820 Likewise.
1821 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1822 Likewise.
1823 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1824 (__ASSUME_SOCKET_SYSCALL): Likewise.
1825 (__ASSUME_BIND_SYSCALL): Likewise.
1826 (__ASSUME_CONNECT_SYSCALL): Likewise.
1827 (__ASSUME_LISTEN_SYSCALL): Likewise.
1828 (__ASSUME_ACCEPT_SYSCALL): Likewise.
1829 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1830 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1831 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1832 (__ASSUME_SEND_SYSCALL): Likewise.
1833 (__ASSUME_SENDTO_SYSCALL): Likewise.
1834 (__ASSUME_RECV_SYSCALL): Likewise.
1835 (__ASSUME_RECVFROM_SYSCALL): Likewise.
1836 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
1837 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1838 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1839 (__ASSUME_SENDMSG_SYSCALL): Likewise.
1840 (__ASSUME_RECVMSG_SYSCALL): Likewise.
1841 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1842 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
1843 Likewise.
1844 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
1845 Likewise.
1846 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
1847 Likewise.
1848 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
1849 Likewise.
1850 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
1851 Likewise.
1852 [__LINUX_KERNEL_VERSION >= 0x020625]
1853 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1854 [__LINUX_KERNEL_VERSION >= 0x020625]
1855 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1856 [__LINUX_KERNEL_VERSION >= 0x020625]
1857 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1858 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
1859 Likewise.
1860 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
1861 Likewise.
1862 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
1863 Likewise.
1864 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
1865 Likewise.
1866 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
1867 Likewise.
1868 [__LINUX_KERNEL_VERSION >= 0x020625]
1869 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1870 [__LINUX_KERNEL_VERSION >= 0x020625]
1871 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1872 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
1873 Likewise.
1874 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
1875 Likewise.
1876
1877 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
1878
1879 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
1880 record the current if the current ABI and CPU support the FP64
1881 extension.
1882 (has-modd-spreg): Define to record the current if the current ABI and
1883 CPU support 32-bit floating point values in odd FPU registers.
1884 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1885 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
1886 $(has-modd-spreg) equals yes.
1887 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
1888 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
1889 $(has-modd-spreg) equal yes.
1890
1891 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
1892
1893 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
1894 basename.
1895
1896 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
1897
1898 * benchtests/Makefile (bench-math): Move ffs and ffsll...
1899 (bench-string): ... here.
1900 (bench): Add bench-string.
1901 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
1902 to *-benchset to reflect what they are.
1903 (benchset): Adjust.
1904
1905 * benchtests/sincos-inputs: Add inputs from sin-inputs and
1906 cos-inputs.
1907
1908 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
1909
1910 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
1911 __attribute__ ((__simd__)) for vector math function declarations.
1912
1913 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
1914
1915 Fix typo in strncat, wcsncat manual entries
1916 * manual/string.texi (Copying and Concatenation): Fix typos in
1917 sample implementations of strncat and wcsncat, by having them use
1918 the old value of the destination length, not the new one.
1919
1920 2015-12-04 Joseph Myers <joseph@codesourcery.com>
1921
1922 [BZ #16961]
1923 [BZ #16962]
1924 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
1925 string on the stack for strtod.
1926 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
1927 a string on the stack for strtof.
1928 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
1929 constructing a string on the stack for strtold.
1930 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
1931 __strtold_nan to GLIBC_PRIVATE.
1932 * math/test-nan-overflow.c: New file.
1933 * math/test-nan-payload.c: Likewise.
1934 * math/Makefile (tests): Add test-nan-overflow and
1935 test-nan-payload.
1936
1937 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
1938
1939 Consistency about byte vs character in string.texi
1940 * manual/string.texi (String and Array Utilities):
1941 Distinguish more carefully among bytes, multibyte characters,
1942 and wide characters. Use "byte" when talking about C 'char',
1943 to distinguish it more clearly from multibyte characters.
1944 Say "wide character" or "multibyte character" instead of
1945 "character", when a wide or multibyte character is intended.
1946 Similarly for "multibyte string" versus "string".
1947 Define these terms more carefully.
1948
1949 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
1950
1951 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
1952 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
1953 Likewise.
1954 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1955 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1956 * sysdeps/sh/math_private.h: New file.
1957 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
1958 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
1959 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
1960 long double function name.
1961 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1962 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1963 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1964 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1965 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
1967 Remove __finitel, __isinfl, and __isnanl.
1968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1969 Likewise.
1970 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1972 Remove __finitel.
1973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1974 Likewise.
1975 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1976
1977 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
1978
1979 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
1980 installed libmvec_nonshared.a.
1981
1982 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1983
1984 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
1985 (sysdep_routines): Likewise.
1986 (sysdep-rtld-routines): Likewise.
1987 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
1988 [$(subdir) = nptl](tests-static): test-get_hwcap-static
1989 * sysdeps/powerpc/Versions: Added new
1990 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
1991 * sysdeps/powerpc/hwcapinfo.c: New file.
1992 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
1993 and parse hwcap, hwcap2 and platform number information.
1994 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
1995 to store HWCAP+HWCAP2 and platform number.
1996 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
1997 for HWCAP+HWCAP2 and platform number in the TCB.
1998 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
1999 the HWCAP, HWCAP2 and platform number in the TCB.
2000 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
2001 (TLS_INIT_TP): Included calls to add the hwcap and
2002 at_platform values in the TCB in TP initialization.
2003 (TLS_DEFINE_INIT_TP): Likewise.
2004 (THREAD_GET_HWCAP): New macro.
2005 (THREAD_SET_HWCAP): Likewise.
2006 (THREAD_GET_AT_PLATFORM): Likewise.
2007 (THREAD_SET_AT_PLATFORM): Likewise.
2008 * sysdeps/powerpc/powerpc32/dl-machine.h:
2009 (dl_platform_init): New function that calls
2010 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
2011 powerpc32.
2012 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
2013 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
2014 this functionality, static linking case.
2015 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
2016 linking case.
2017 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
2018 __parse_hwcap_and_convert_at_platform for the static linking case.
2019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
2020 Included the new __parse_hwcap_and_convert_at_platform symbol in the
2021 ABI list for GLIBC 2.23.
2022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
2023 Likewise.
2024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
2025 Likewise.
2026
2027 2015-12-02 Ludovic Courtès <ludo@gnu.org>
2028
2029 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
2030 * configure: Regenerate.
2031 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
2032 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
2033
2034 2015-12-02 Carlos O'Donell <carlos@redhat.com>
2035
2036 * iconvdata/ibm930.c: Add comment explaining encoding uses.
2037 * iconvdata/ibm933.c: Likewise.
2038 * iconvdata/ibm935.c: Likewise.
2039 * iconvdata/ibm937.c: Likewise.
2040 * iconvdata/ibm939.c: Likewise.
2041
2042 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2043
2044 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
2045 pthread_join.
2046 * nptl/tst-cancel21.c (tf): Likewise.
2047
2048 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
2049
2050 [BZ #19313]
2051 * bits/typesizes.h (__CPU_MASK_TYPE): New.
2052 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2053 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2054 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
2055 Likewise.
2056 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
2057 Likewise.
2058 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
2059 Likewise.
2060 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
2061 Likewise.
2062 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
2063 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
2064 unsigned long int with __CPU_MASK_TYPE.
2065
2066 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
2067
2068 * sysdeps/aarch64/libm-test-ulps: Regenerated.
2069
2070 2015-12-01 Joseph Myers <joseph@codesourcery.com>
2071
2072 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
2073 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
2074 t512.x.
2075 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
2076
2077 2015-11-30 Amit Pawar <amit.pawar@amd.com>
2078
2079 [BZ #19214]
2080 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
2081 argument to return extended model. Update family and model
2082 with extended family and model when family == 0x0f.
2083 (init_cpu_features): Updated.
2084
2085 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2086
2087 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
2088 signed off_t, so 32bit bigger than 2GiB values are fine actually.
2089
2090 * sysdeps/mach/hurd/mmap64.c: New file.
2091
2092 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
2093
2094 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
2095 rights for its main user thread in NEWTASK.
2096
2097 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
2098
2099 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
2100 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
2101
2102 2015-11-27 Carlos O'Donell <carlos@redhat.com>
2103
2104 [BZ #14259]
2105 * Makeconfig: Rename localedir to complocaledir.
2106 Rename inst_localedir to inst_complocaledir.
2107 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
2108 * config.make.in: Use complocaledir and libc_cv_complocaledir.
2109 * configure.ac: Use libc_cv_complocaledir.
2110 * configure: Regenerate.
2111 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
2112 -DCOMPLOCALEDIR.
2113 * locale/findlocale.c: Use COMPLOCALEDIR.
2114 * locale/loadarchive.c: Likewise.
2115 * locale/programs/locale.c: Likewise.
2116 * locale/programs/localedef.c: Likewise.
2117 * locale/programs/locarchive.c: Likewise.
2118 * localedata/Makefile: Use inst_complocaledir.
2119 * sysdeps/gnu/configure: Regenerate.
2120 * sysdeps/hppa/configure: Regenerate.
2121 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
2122 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2124 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
2125 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
2126 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
2127 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
2128
2129 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
2130
2131 [BZ #19058]
2132 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
2133 AS_NEEDED.
2134 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
2135 workaround.
2136 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
2137 libmvec-static-only-routines): Added new file.
2138 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
2139
2140 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
2141
2142 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
2143 of interrupted RPC instead of restoring it.
2144
2145 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
2146 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
2147 libc_hidden_def.
2148 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
2149 into initialized data instead of common. Define rtld_hidden_data_def.
2150 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
2151 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
2152 libc_hidden_def.
2153 (if_freenameindex): Add libc_hidden_weak.
2154 (if_nameindex): Add libc_hidden_weak.
2155 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
2156 __open64.
2157 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
2158 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
2159 * sysdeps/mach/nanosleep.c: Include <time.h>
2160 (__nanosleep): Rename to __libc_nanosleep.
2161 (__nanosleep): Add weak_alias.
2162 (nanosleep): Update alias.
2163
2164 2015-11-24 Joseph Myers <joseph@codesourcery.com>
2165
2166 * stdlib/strtod_nan.c: New file.
2167 * stdlib/strtod_nan_double.h: Likewise.
2168 * stdlib/strtod_nan_float.h: Likewise.
2169 * stdlib/strtod_nan_main.c: Likewise.
2170 * stdlib/strtod_nan_narrow.h: Likewise.
2171 * stdlib/strtod_nan_wide.h: Likewise.
2172 * stdlib/strtof_nan.c: Likewise.
2173 * stdlib/strtold_nan.c: Likewise.
2174 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
2175 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
2176 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
2177 * wcsmbs/wcstod_nan.c: Likewise.
2178 * wcsmbs/wcstof_nan.c: Likewise.
2179 * wcsmbs/wcstold_nan.c: Likewise.
2180 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
2181 strtold_nan.
2182 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
2183 wcstof_nan.
2184 * include/stdlib.h (__strtof_nan): Declare and use
2185 libc_hidden_proto.
2186 (__strtod_nan): Likewise.
2187 (__strtold_nan): Likewise.
2188 (__wcstof_nan): Likewise.
2189 (__wcstod_nan): Likewise.
2190 (__wcstold_nan): Likewise.
2191 * include/wchar.h (____wcstoull_l_internal): Declare.
2192 * stdlib/strtod_l.c: Do not include <ieee754.h>.
2193 (____strtoull_l_internal): Remove declaration.
2194 (STRTOF_NAN): Define macro.
2195 (SET_MANTISSA): Remove macro.
2196 (STRTOULL): Likewise.
2197 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
2198 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
2199 (STRTOF_NAN): Define macro.
2200 (SET_MANTISSA): Remove macro.
2201 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
2202 (SET_MANTISSA): Remove macro.
2203 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
2204 macro.
2205 (SET_MANTISSA): Remove macro.
2206 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
2207 macro.
2208 (SET_MANTISSA): Remove macro.
2209 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
2210 (SET_MANTISSA): Remove macro.
2211 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
2212 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
2213 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
2214
2215 [BZ #19266]
2216 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
2217 upper case and lower case letters inside NAN(), not using TOLOWER.
2218 * stdlib/tst-strtod-nan-locale-main.c: New file.
2219 * stdlib/tst-strtod-nan-locale.c: Likewise.
2220 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
2221 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
2222 Depend on $(gen-locales).
2223 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
2224 * wcsmbs/tst-wcstod-nan-locale.c: New file.
2225 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
2226 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
2227 Depend on $(gen-locales).
2228 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
2229
2230 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
2231
2232 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
2233
2234 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2235 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
2236 __finitel, __isinfl, and __isnanl.
2237 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2238 Likewise.
2239 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2240 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
2241 __finitel.
2242 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2243 Likewise.
2244 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2245
2246 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2247
2248 * malloc/memusage.c (me): Remove redundant getenv call.
2249
2250 2015-10-24 Florian Weimer <fweimer@redhat.com>
2251
2252 [BZ #19143]
2253 [BZ #19164]
2254 * nptl/check-cpuset.h: Remove.
2255 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
2256 Remove CPU set size check.
2257 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
2258 Likewise.
2259 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
2260 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2261 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
2262 (__pthread_setaffinity_new): Remove CPU set size check.
2263 * sysdeps/unix/sysv/linux/sched_setaffinity.c
2264 (__kernel_cpumask_size): Remove.
2265 (__sched_setaffinity_new): Remove CPU set size check.
2266 * manual/threads.texi (Default Thread Attributes): Remove stale
2267 reference to check_cpuset_attr, determine_cpumask_size in comment.
2268 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
2269 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
2270 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
2271 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
2272 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
2273 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
2274 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
2275 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
2276 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
2277 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
2278 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
2279 skeleton test file.
2280 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
2281 tst-affinity-pid.
2282
2283 2015-11-24 Florian Weimer <fweimer@redhat.com>
2284
2285 * scripts/update-abilist.sh: New file.
2286 * Makefile (+subdir_targets): Add subdir_update-all-abi.
2287 * Makerules (update-all-abi-%, update-all-abi)
2288 (subdir_update-all-abi): New targets.
2289 * elf/Makefile (update-all-abi): New target.
2290
2291 2015-11-24 Florian Weimer <fweimer@redhat.com>
2292
2293 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
2294 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
2295 (__libc_lock_define_initialized): Use it.
2296 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
2297 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
2298 * malloc/malloc.c (main_arena): Likewise.
2299 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2300 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2301
2302 2015-11-23 Joseph Myers <joseph@codesourcery.com>
2303
2304 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
2305 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
2306 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2307 (PTRACE_O_MASK): Update value.
2308 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
2309 New value in enum __ptrace_setoptions.
2310 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2311 (PTRACE_O_MASK): Update value.
2312 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
2313 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2314 (PTRACE_O_MASK): Update value.
2315 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2316 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2317 (PTRACE_O_MASK): Update value.
2318 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
2319 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2320 (PTRACE_O_MASK): Update value.
2321 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
2322 New value in enum __ptrace_setoptions.
2323 (PTRACE_O_MASK): Update value.
2324 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
2325 New value in enum __ptrace_setoptions.
2326 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2327 (PTRACE_O_MASK): Update value.
2328
2329 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
2330 New macro.
2331 (PACKET_AUXDATA): Likewise.
2332 (PACKET_ORIGDEV): Likewise.
2333 (PACKET_VERSION): Likewise.
2334 (PACKET_HDRLEN): Likewise.
2335 (PACKET_RESERVE): Likewise.
2336 (PACKET_TX_RING): Likewise.
2337 (PACKET_LOSS): Likewise.
2338 (PACKET_VNET_HDR): Likewise.
2339 (PACKET_TX_TIMESTAMP): Likewise.
2340 (PACKET_TIMESTAMP): Likewise.
2341 (PACKET_FANOUT): Likewise.
2342 (PACKET_TX_HAS_OFF): Likewise.
2343 (PACKET_QDISC_BYPASS): Likewise.
2344 (PACKET_ROLLOVER_STATS): Likewise.
2345 (PACKET_FANOUT_DATA): Likewise.
2346 (PACKET_MR_UNICAST): Likewise.
2347
2348 [BZ #19242]
2349 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
2350 (TOUPPER): Likewise.
2351 * stdlib/tst-strtol-locale-main.c: New file.
2352 * stdlib/tst-strtol-locale.c: Likewise.
2353 * stdlib/Makefile (tests): Add tst-strtol-locale.
2354 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
2355 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
2356 Depend on $(gen-locales).
2357 * wcsmbs/tst-wcstol-locale.c: New file.
2358 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
2359 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
2360 tr_TR.ISO-8859-9.
2361 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
2362 Depend on $(gen-locales).
2363
2364 2015-11-20 Roland McGrath <roland@hack.frob.com>
2365
2366 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
2367 __glibc_likely instead of __builtin_expect. After falling back to
2368 dyncode_create in a non-ET_DYN case, use the allocate_code_data
2369 system interface to register the code pages as occupied.
2370
2371 2015-11-20 Joseph Myers <joseph@codesourcery.com>
2372
2373 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2374 [!ARM_MATH_PRIVATE_H].
2375 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
2376 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2377 [!HPPA_MATH_PRIVATE_H].
2378 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
2379 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
2380 to [!I386_MATH_PRIVATE_H].
2381 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
2382 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
2383 Change guard to [!M68K_MATH_PRIVATE_H].
2384 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
2385 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
2386 guard to [!MICROBLAZE_MATH_PRIVATE_H].
2387 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
2388 macro.
2389 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2390 [!MIPS_MATH_PRIVATE_H].
2391 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
2392 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2393 [!NIO2_MATH_PRIVATE_H].
2394 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
2395 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2396 [!TILE_MATH_PRIVATE_H].
2397 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
2398
2399 [BZ #15421]
2400 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
2401 initialize with 0 and define as weak alias of __signgam.
2402 * include/math.h [!_ISOMAC] (__signgam): Declare.
2403 * math/Makefile (libm-calls): Add w_lgamma_compat.
2404 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
2405 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
2406 test-signgam-ullong-init.
2407 (tests-static): Add test-signgam-uchar-static,
2408 test-signgam-uchar-init-static, test-signgam-uint-static,
2409 test-signgam-uint-init-static, test-signgam-ullong-static and
2410 test-signgam-ullong-init-static.
2411 (CFLAGS-test-signgam-uchar.c): New variable.
2412 (CFLAGS-test-signgam-uchar-init.c): Likewise.
2413 (CFLAGS-test-signgam-uchar-static.c): Likewise.
2414 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
2415 (CFLAGS-test-signgam-uint.c): Likewise.
2416 (CFLAGS-test-signgam-uint-init.c): Likewise.
2417 (CFLAGS-test-signgam-uint-static.c): Likewise.
2418 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
2419 (CFLAGS-test-signgam-ullong.c): Likewise.
2420 (CFLAGS-test-signgam-ullong-init.c): Likewise.
2421 (CFLAGS-test-signgam-ullong-static.c): Likewise.
2422 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
2423 * math/Versions (libm): Add GLIBC_2.23.
2424 * math/lgamma-compat.h: New file.
2425 * math/test-signgam-main.c: Likewise.
2426 * math/test-signgam-uchar-init-static.c: Likewise.
2427 * math/test-signgam-uchar-init.c: Likewise.
2428 * math/test-signgam-uchar-static.c: Likewise.
2429 * math/test-signgam-uchar.c: Likewise.
2430 * math/test-signgam-uint-init-static.c: Likewise.
2431 * math/test-signgam-uint-init.c: Likewise.
2432 * math/test-signgam-uint-static.c: Likewise.
2433 * math/test-signgam-uint.c: Likewise.
2434 * math/test-signgam-ullong-init-static.c: Likewise.
2435 * math/test-signgam-ullong-init.c: Likewise.
2436 * math/test-signgam-ullong-static.c: Likewise.
2437 * math/test-signgam-ullong.c: Likewise.
2438 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
2439 wrapper of w_lgamma_main.c.
2440 * math/w_lgamma_compat.c: New file.
2441 * math/w_lgamma_compatf.c: Likewise.
2442 * math/w_lgamma_compatl.c: Likewise.
2443 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
2444 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
2445 defining compatibility symbols.
2446 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
2447 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
2448 wrapper of w_lgammaf_main.c.
2449 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
2450 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
2451 defining compatibility symbols.
2452 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
2453 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
2454 wrapper of w_lgammal_main.c.
2455 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
2456 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
2457 defining compatibility symbols.
2458 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
2459 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
2460 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
2461 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
2462 <lgamma-compat.h>.
2463 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
2464 (__ieee754_gamma): Define as alias.
2465 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
2466 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
2467 <lgamma-compat.h>.
2468 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
2469 (__ieee754_gammaf): Define as alias.
2470 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
2471 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
2472 <lgamma-compat.h>.
2473 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
2474 (__ieee754_gammal): Define as alias.
2475 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
2476 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
2477 <math/w_lgamma_compat.c>.
2478 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
2479 Define as alias of __lgamma_compat and use in defining lgammal.
2480 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
2481 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
2482 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
2483 (USE_AS_COMPAT): New macro.
2484 (LGAMMA_OLD_VER): Undefine and redefine.
2485 (lgammal): Do not define here.
2486 (gammal): Only define here if [GAMMA_ALIAS].
2487 * conform/linknamespace.pl (@whitelist): Remove signgam.
2488 * sysdeps/nacl/libm.abilist: Update.
2489 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2490 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2491 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2492 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2493 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2494 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2495 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2496 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2497 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2498 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2499 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2500 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2502 Likewise.
2503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2504 Likewise.
2505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2506 Likewise.
2507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2508 Likewise.
2509 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2510 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2511 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2512 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2513 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2515 Likewise.
2516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2517 Likewise.
2518 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2519 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2520 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2521
2522 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2523
2524 [BZ #16364]
2525 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
2526 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
2527
2528 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2529
2530 * sysdeps/s390/fpu/bits/mathinline.h:
2531 Use __asm__ [__volatile__] instead of asm [volatile].
2532 * sysdeps/s390/abort-instr.h: Likewise.
2533 * sysdeps/s390/atomic-machine.h: Likewise.
2534 * sysdeps/s390/bits/string.h: Likewise.
2535 * sysdeps/s390/dl-tls.h: Likewise.
2536 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
2537 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
2538 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
2539 * sysdeps/s390/fpu/fesetround.c: Likewise.
2540 * sysdeps/s390/fpu/fpu_control.h: Likewise.
2541 * sysdeps/s390/fpu/s_fma.c: Likewise.
2542 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
2543 * sysdeps/s390/memusage.h: Likewise.
2544 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
2545 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
2546 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
2547 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
2548 * sysdeps/s390/nptl/tls.h: Likewise.
2549 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
2550 * sysdeps/s390/s390-32/backtrace.c: Likewise.
2551 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2552 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
2553 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2554 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2555 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
2556 * sysdeps/s390/s390-64/backtrace.c: Likewise.
2557 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2558 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
2559 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
2560 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2561 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2562 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
2563 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
2564 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
2565 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
2566 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2567 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
2568 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2569 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
2570 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2571 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
2572
2573 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2574 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2575
2576 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2577 Add lwarx hint, and use macro for acquire instruction.
2578 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2579 Likewise.
2580 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
2581 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
2582 update to use new atomic macros.
2583
2584 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2585
2586 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2587 (__lll_trylock_elision): Fix setting of adapt_count.
2588 * sysdeps/unix/sysv/linux/powerpc/htm.h
2589 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
2590 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
2591 (_ABORT_SYSCALL): Renumber, and clarify definition.
2592 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
2593
2594 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2595
2596 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
2597 after system headers to prevent MIN/MAX redefinition. Define
2598 HAVE_ALLOCA to preserve builtin alloca usage.
2599
2600 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
2601
2602 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
2603 static and don't set or restore rounding.
2604 (__cos)[IN_SINCOS]: Likewise.
2605 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
2606 (__sincos): Set and restore rounding mode. Remove check for infinite
2607 or NaN input.
2608
2609 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
2610
2611 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
2612 as used.
2613
2614 2015-11-16 Florian Weimer <fweimer@redhat.com>
2615
2616 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
2617
2618 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
2619
2620 * config.make.in (have-glob-dat-reloc): New.
2621 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
2622 target supports GLOB_DAT relocaton. AC_SUBST.
2623 * configure: Regenerated.
2624 * elf/Makefile (tests): Add tst-prelink.
2625 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2626 (tst-prelink-ENV): New.
2627 ($(objpfx)tst-prelink-conflict.out): Likewise.
2628 ($(objpfx)tst-prelink-cmp.out): Likewise.
2629 * sysdeps/x86/tst-prelink.c: Moved to ...
2630 * elf/tst-prelink.c: Here.
2631 * sysdeps/x86/tst-prelink.exp: Moved to ...
2632 * elf/tst-prelink.exp: Here.
2633 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
2634 (tst-prelink-ENV): Removed.
2635 ($(objpfx)tst-prelink-conflict.out): Likewise.
2636 ($(objpfx)tst-prelink-cmp.out): Likewise.
2637 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
2638
2639 2015-11-13 Joseph Myers <joseph@codesourcery.com>
2640
2641 [BZ #14551]
2642 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
2643 (__mpn_construct_long_double): If high part overflows to infinity,
2644 set errno and recompute overflowed result of the correct sign.
2645 * sysdeps/ieee754/ldbl-128ibm/Makefile
2646 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
2647 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
2648 $(libm).
2649 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
2650
2651 2015-11-12 Joseph Myers <joseph@codesourcery.com>
2652
2653 [BZ #15479]
2654 [BZ #19238]
2655 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
2656 floating-point state after first operation on input. Restore full
2657 state rather than just rounding mode.
2658 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2659 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2660 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2661
2662 [BZ #19235]
2663 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
2664 add 0.5 to integer arguments.
2665 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
2666 Likewise.
2667 (.LC2): New object.
2668
2669 2015-11-11 Mike Frysinger <vapier@gentoo.org>
2670
2671 * scripts/pylintrc (reports): Set to no.
2672
2673 2015-11-10 Roland McGrath <roland@hack.frob.com>
2674
2675 * elf/dl-load.c (open_verify): Take new argument FD.
2676 Skip __open call if passed FD is not -1.
2677 (_dl_map_object, open_path): Update callers.
2678 * elf/dl-sysdep-open.h: New file.
2679 * elf/dl-load.c: Include it.
2680 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
2681 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
2682 * sysdeps/nacl/dl-sysdep-open.h: New file.
2683 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
2684 from libc to rtld.
2685
2686 2015-11-10 Joseph Myers <joseph@codesourcery.com>
2687
2688 [BZ #19228]
2689 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
2690 and restore full floating-point state.
2691 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2692 Likewise.
2693 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2694 Likewise.
2695 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2696 Likewise.
2697 * math/test-nearbyint-except-2.c: New file.
2698 * math/Makefile (tests): Add test-nearbyint-except-2.
2699
2700 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
2701
2702 [BZ #19178]
2703 * sysdeps/x86/Makefile (tests): Add tst-prelink.
2704 (tst-prelink-ENV): New.
2705 ($(objpfx)tst-prelink-conflict.out): Likewise.
2706 ($(objpfx)tst-prelink-cmp.out): Likewise.
2707 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2708 * sysdeps/x86/tst-prelink.c: New file.
2709 * sysdeps/x86/tst-prelink.exp: Likewise.
2710
2711 2015-11-10 Joseph Myers <joseph@codesourcery.com>
2712
2713 * math/auto-libm-test-in: Add another test of pow.
2714 * math/auto-libm-test-out: Regenerated.
2715 * math/libm-test.inc (pow_test_data): Add another test.
2716
2717 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2718
2719 [BZ #19219]
2720 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
2721 weak_alias to nearbyintl.
2722
2723 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
2724
2725 * sysdeps/aarch64/bits/string.h: New file.
2726 (_STRING_ARCH_unaligned): Define.
2727
2728 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
2729
2730 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
2731 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2732 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2733 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
2734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
2735
2736 2015-11-09 Ulrich Drepper <drepper@gmail.com>
2737
2738 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
2739 for original name of the DSO. Add it to the name list of the DSO
2740 if it is actually given.
2741 (_dl_map_object): Keep track of whether an audit module rewrote
2742 the file name. If yes, pass the original name to
2743 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
2744 debugging is enabled, log the change of the file name.
2745 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
2746 _dl_map_object_from_fd.
2747 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
2748 * elf/tst-audit11.c: New file
2749 * elf/tst-auditmod11.c: New file.
2750 * elf/tst-audit11mod1.c: New file.
2751 * elf/tst-audit11mod2.c: New file.
2752 * elf/tst-audit11mod2.map: New file.
2753 * elf/tst-audit12.c: New file
2754 * elf/tst-auditmod12.c: New file.
2755 * elf/tst-audit12mod1.c: New file.
2756 * elf/tst-audit12mod2.c: New file.
2757 * elf/tst-audit12mod2.map: New file.
2758 * elf/tst-audit12mod3.c: New file.
2759
2760 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
2761
2762 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
2763 Don't create weak aliases,
2764 because versioned symbols are created later.
2765 * sysdeps/s390/s390-32/setjmp.S
2766 (setjmp, _setjmp): Remove weak and rename to an unique name
2767 in SHARED case due to existing versioned symbols.
2768 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2769 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
2770 (getcontext): Create weak alias only in non SHARED case.
2771 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2772
2773 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
2774
2775 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
2776 (__ASSUME_*_SYSCALL) Define new macros.
2777 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
2778 Remove socketcall syscalls.
2779 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
2780 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
2781 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
2782 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
2783 * sysdeps/unix/sysv/linux/send.c (__libc_send):
2784 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
2785
2786 2015-11-09 Florian Weimer <fweimer@redhat.com>
2787
2788 [BZ #12926]
2789 Terminate process on invalid netlink response.
2790 * sysdeps/unix/sysv/linux/netlinkaccess.h
2791 (__netlink_assert_response): Declare.
2792 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
2793 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
2794 (sysdep_routines): Add netlink_assert_response.
2795 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
2796 __netlink_assert_response.
2797 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2798 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2799 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
2800 __netlink_assert_response.
2801
2802 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
2803
2804 [BZ #19178]
2805 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
2806 (RTYPE_CLASS_PLT): Likewise.
2807 (RTYPE_CLASS_COPY): Likewise.
2808 (RTYPE_CLASS_TLS): Likewise.
2809 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
2810 to set relocation type class for DL_DEBUG_PRELINK. Keep only
2811 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
2812 DL_DEBUG_PRELINK.
2813
2814 2015-11-06 Joseph Myers <joseph@codesourcery.com>
2815
2816 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
2817 calls with argument -0.5.
2818 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
2819
2820 * configure.ac (libc_cv_z_nodelete): Remove configure test.
2821 (libc_cv_z_nodlopen): Likewise.
2822 (libc_cv_z_initfirst): Likewise.
2823 * configure: Regenerated.
2824
2825 2015-11-06 Florian Weimer <fweimer@redhat.com>
2826
2827 Simplify abilist format to be line-based.
2828 * scripts/abilist.awk: Collect descriptors in the descs variable.
2829 (emit): Write descs variable and sort it
2830 externally, with sort.
2831 * sysdeps/**/*.abilist: Convert to new format.
2832
2833 2015-11-06 Mark Wielaard <mjw@redhat.com>
2834
2835 [BZ #11460]
2836 * io/Makefile (routines): Add fts64.
2837 (tests): Add tst-fts and tst-fts-lfs.
2838 (CFLAGS-fts64.c): New.
2839 * io/Versions (GLIBC_2.23): New.
2840 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
2841 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
2842 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
2843 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
2844 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
2845 (FTSENT64): Likewise.
2846 (fts64_children): Likewise.
2847 (fts64_close): Likewise.
2848 (fts64_open): Likewise.
2849 (fts64_read): Likewise.
2850 (fts64_set): Likewise.
2851 * io/fts64.c: New file.
2852 * io/tst-fts.c: New test.
2853 * io/tst-fts-lfs.c: Likewise.
2854 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
2855 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
2856 fts64_set.
2857 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2858 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2859 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2860 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2861 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2862 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2863 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2864 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2865 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2866 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2867 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2868 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2869 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2871 Likewise.
2872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2873 Likewise.
2874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2876 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2877 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2878 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2879 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2880 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2883 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2884 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2885 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2886 * sysdeps/wordsize-64/fts.c: New file.
2887 * sysdeps/wordsize-64/fts64.c: Likewise.
2888 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
2889 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
2890 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
2891 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
2892
2893 2015-11-05 Joseph Myers <joseph@codesourcery.com>
2894
2895 * math/libm-test.inc (NON_FINITE): New macro.
2896 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
2897 * math/gen-libm-test.pl (show_exceptions): Add argument
2898 $non_finite.
2899 (parse_args): Update call to show_exceptions.
2900 * math/test-math-finite.h: New file.
2901 * math/test-math-no-finite.h: Likewise.
2902 * math/test-double-finite.c: Likewise.
2903 * math/test-float-finite.c: Likewise.
2904 * math/test-ldouble-finite.c: Likewise.
2905 * math/test-double.c: Include "test-math-no-finite.h".
2906 * math/test-float.c: Include "test-math-no-finite.h".
2907 * math/test-ldouble.c: Include "test-math-no-finite.h".
2908 * math/test-math-inline.h (TEST_FINITE): New macro.
2909 * math/test-math-vector.h (TEST_FINITE): Likewise.
2910 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
2911 (libm-tests): Add test-float-finite and test-double-finite.
2912 ($(objpfx)test-float-finite.o): New dependency on
2913 $(objpfx)libm-test.stmp.
2914 ($(objpfx)test-double-finite.o): Likewise.
2915 ($(objpfx)test-ldouble-finite.o): Likewise.
2916 (libm-test-no-inline-cflags): New variable.
2917 (libm-test-finite-cflags): Likewise.
2918 (CFLAGS-test-float-finite.c): Likewise.
2919 (CFLAGS-test-double-finite.c): Likewise.
2920 (CFLAGS-test-ldouble-finite.c): Likewise.
2921 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
2922 (CFLAGS-test-double.c): Likewise.
2923 (CFLAGS-test-ldouble.c): Likewise.
2924
2925 2015-11-05 Roland McGrath <roland@hack.frob.com>
2926
2927 * io/fcntl.c (__fcntl): Add ... to prototype.
2928 * misc/ioctl.c (__ioctl): Likewise.
2929 * misc/syscall.c (syscall): Likewise.
2930
2931 2015-11-05 Joseph Myers <joseph@codesourcery.com>
2932
2933 * scripts/list-fixed-bugs.py: New file.
2934
2935 [BZ #19213]
2936 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
2937 returned for argument 1.
2938 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
2939 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
2940 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
2941 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
2942 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
2943 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
2944
2945 [BZ #19211]
2946 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
2947 __USE_XOPEN], not if [!__USE_ISOC99].
2948 (lgammaf): Likewise.
2949 (lgammal): Likewise.
2950 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
2951 (gammaf): Likewise.
2952 (gammal): Likewise.
2953 * math/test-signgam-finite-c11.c: New file.
2954 * math/test-signgam-finite-c99.c: Likewise.
2955 * math/test-signgam-finite.c: Likewise.
2956 * math/Makefile (tests): Add test-signgam-finite,
2957 test-signgam-finite-c99 and test-signgam-finite-c11.
2958 (CFLAGS-test-signgam-finite.c): New variable.
2959 (CFLAGS-test-signgam-finite-c99.c): Likewise.
2960 (CFLAGS-test-signgam-finite-c11.c): Likewise.
2961
2962 [BZ #19212]
2963 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
2964 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
2965 500].
2966 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
2967 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
2968 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
2969 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
2970 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
2971 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
2972 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
2973 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
2974 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
2975 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
2976
2977 [BZ #19209]
2978 * math/bits/math-finite.h (ldexp): Remove declaration.
2979 (ldexpf): Likewise.
2980 (ldexpl): Likewise.
2981
2982 [BZ #19205]
2983 * math/bits/math-finite.h (acosf): Condition declaration on
2984 [__USE_ISOC99].
2985 (acosl): Likewise.
2986 (acoshf): Likewise.
2987 (acoshl): Likewise.
2988 (asinf): Likewise.
2989 (asinl): Likewise.
2990 (atan2f): Likewise.
2991 (atan2l): Likewise.
2992 (atanhf): Likewise.
2993 (atanhl): Likewise.
2994 (coshf): Likewise.
2995 (coshl): Likewise.
2996 (expf): Likewise.
2997 (expl): Likewise.
2998 (fmodf): Likewise.
2999 (fmodl): Likewise.
3000 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
3001 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
3002 (j0l): Likewise.
3003 (y0f): Likewise.
3004 (y0l): Likewise.
3005 (j1f): Likewise.
3006 (j1l): Likewise.
3007 (y1f): Likewise.
3008 (y1l): Likewise.
3009 (jnf): Likewise.
3010 (jnl): Likewise.
3011 (ynf): Likewise.
3012 (ynl): Likewise.
3013 (lgammaf_r): Condition declaration on [__USE_ISOC99].
3014 (lgammal_r): Likewise.
3015 (__lgamma_r_finite): New declaration.
3016 (__lgammaf_r_finite): Likewise.
3017 (__lgammal_r_finite): Likewise.
3018 (lgamma): Use __lgamma_r_finite.
3019 (lgammaf): Condition definition on [__USE_ISOC99]. Use
3020 __lgammaf_r_finite.
3021 (lgammal): Condition definition on [__USE_ISOC99]. Use
3022 __lgammal_r_finite.
3023 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
3024 __lgamma_r_finite.
3025 (gammaf): Condition definition on [__USE_ISOC99]. Use
3026 __lgammaf_r_finite.
3027 (gammal): Condition definition on [__USE_ISOC99]. Use
3028 __lgammal_r_finite.
3029 (logf): Condition declaration on [__USE_ISOC99].
3030 (logl): Likewise.
3031 (log10f): Likewise.
3032 (log10l): Likewise.
3033 (ldexpf): Likewise.
3034 (ldexpl): Likewise.
3035 (powf): Likewise.
3036 (powl): Likewise.
3037 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
3038 __USE_ISOC99].
3039 (remainderf): Condition declaration on [__USE_ISOC99].
3040 (remainderl): Likewise.
3041 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
3042 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
3043 (scalbl): Likewise.
3044 (sinhf): Condition declaration on [__USE_ISOC99].
3045 (sinhl): Likewise.
3046 (sqrtf): Likewise.
3047 (sqrtl): Likewise.
3048
3049 2015-11-04 Joseph Myers <joseph@codesourcery.com>
3050
3051 * sysdeps/arm/atomic-machine.h
3052 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3053 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3054 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
3055 Remove conditional code.
3056 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3057 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3058 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
3059 Change conditional to [__ASSEMBLER__].
3060 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3061 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
3062 [!__ASSEMBLER__].
3063 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
3064 code.
3065 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
3066 conditional macro definitions.
3067 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
3068 (__arch_compare_and_exchange_val_16_acq): Likewise.
3069 (__arch_compare_and_exchange_val_32_acq): Likewise.
3070 (atomic_exchange_and_add): Likewise.
3071 (atomic_add): Likewise.
3072 (atomic_add_negative): Likewise.
3073 (atomic_add_zero): Likewise.
3074 (atomic_bit_set): Likewise.
3075 (atomic_bit_test_set): Likewise.
3076 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
3077 code unconditional.
3078 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3079
3080 * math/test-math-errno.h: New file.
3081 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
3082 empty.
3083 (TEST_ERRNO): New macro.
3084 (TEST_EXCEPTIONS): Likewise.
3085 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
3086 (TEST_EXCEPTIONS): Likewise.
3087 * math/test-math-vector.h (TEST_ERRNO): Likewise.
3088 * math/test-double.c: Include "test-math-errno.h".
3089 * math/test-float.c: Likewise.
3090 * math/test-ldouble.c: Likewise.
3091 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
3092 code unconditional.
3093 (test_exceptions): Only run code if TEST_EXCEPTIONS.
3094 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
3095 unconditional.
3096 (test_errno): Only run code if TEST_ERRNO.
3097 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
3098
3099 2015-11-04 Florian Weimer <fweimer@redhat.com>
3100
3101 * nptl/tst-once5.cc: Remove attribution.
3102
3103 2015-11-04 Joseph Myers <joseph@codesourcery.com>
3104
3105 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
3106 sqrt, tan, tanh, y0, y1 and yn.
3107 * math/auto-libm-test-out: Regenerated.
3108 * math/libm-test.inc (scalb_test_data): Add more tests.
3109 (scalbn_test_data): Likewise.
3110 (scalbln_test_data): Likewise.
3111 (signbit_test_data): Likewise.
3112 (sin_test_data): Likewise.
3113 (sincos_test_data): Likewise.
3114 (sinh_test_data): Likewise.
3115 (sqrt_test_data): Likewise.
3116 (tan_test_data): Likewise.
3117 (tanh_test_data): Likewise.
3118 (tgamma_test_data): Likewise.
3119 (y0_test_data): Likewise.
3120 (y1_test_data): Likewise.
3121 (yn_test_data): Likewise.
3122 (significand_test_data): Likewise.
3123 * sysdeps/i386/fpu/libm-test-ulps: Update.
3124
3125 2015-11-03 David Kastrup <dak@gnu.org>
3126
3127 [BZ #18604]
3128 * assert/assert.h (assert): Don't macro-expand failed assertion
3129 expression in error message.
3130 * malloc/malloc.c (assert): Likewise.
3131
3132 2015-11-03 Joseph Myers <joseph@codesourcery.com>
3133
3134 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
3135 test.
3136 * configure: Regenerated.
3137
3138 2015-11-02 Joseph Myers <joseph@codesourcery.com>
3139
3140 * math/libm-test.inc (modf_test_data): Add more tests.
3141 (nearbyint_test_data): Likewise.
3142 (nextafter_test_data): Likewise.
3143 (nexttoward_test_data): Likewise.
3144 (pow_test_data): Likewise.
3145 (remainder_test_data): Likewise.
3146 (remquo_test_data): Likewise.
3147 (rint_test_data): Likewise.
3148
3149 [BZ #19201]
3150 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3151 Check for zero remainder in case of large exponents and ensure
3152 correct sign of result in that case.
3153 * math/libm-test.inc (remainder_test_data): Add more tests.
3154
3155 [BZ #6799]
3156 * math/s_nextafter.c: Include <errno.h>.
3157 (__nextafter): Set errno on overflow and underflow.
3158 * math/s_nexttowardf.c: Include <errno.h>.
3159 (__nexttowardf): Set errno on overflow and underflow.
3160 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
3161 (__nextafterl): Set errno on overflow and underflow.
3162 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
3163 (__nexttoward): Set errno on overflow and underflow.
3164 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
3165 (__nexttowardf): Set errno on overflow and underflow.
3166 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
3167 (__nextafterf): Set errno on overflow and underflow.
3168 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
3169 (__nextafterl): Set errno on overflow and underflow.
3170 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
3171 (__nexttoward): Set errno on overflow and underflow.
3172 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
3173 (__nexttowardf): Set errno on overflow and underflow.
3174 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
3175 (__nextafterl): Set errno on overflow and underflow.
3176 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
3177 (__nexttoward): Set errno on overflow and underflow.
3178 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
3179 (__nexttowardf): Set errno on overflow and underflow.
3180 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
3181 (__nexttoward): Set errno on overflow and underflow.
3182 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
3183 (__nexttowardf): Set errno on overflow and underflow.
3184 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
3185 (__nldbl_nexttowardf): Set errno on overflow and underflow.
3186 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
3187 (__nextafterl): Set errno on overflow and underflow.
3188 * math/libm-test.inc (nextafter_test_data): Do not allow errno
3189 setting to be missing on overflow. Add more tests.
3190 (nexttoward_test_data): Likewise.
3191
3192 * configure.ac (libc_cv_initfini_array): Remove configure test.
3193 * configure: Regenerated.
3194
3195 2015-10-29 Joseph Myers <joseph@codesourcery.com>
3196
3197 [BZ #19189]
3198 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
3199 non-finite argument handle arguments with negative sign.
3200
3201 * math/libm-test.inc (j0_test_data): Do not test sign of zero
3202 result from infinite argument.
3203 (j1_test_data): Likewise.
3204 (jn_test_data): Likewise.
3205 (y0_test_data): Likewise.
3206 (y1_test_data): Likewise.
3207 (yn_test_data): Likewise.
3208
3209 [BZ #16171]
3210 * math/w_remainder.c (drem): Define as weak alias of __remainder.
3211 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
3212 * math/w_remainderf.c (dremf): Define as weak alias of
3213 __remainderf.
3214 * math/w_remainderl.c (dreml): Define as weak alias of
3215 __remainderl.
3216 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
3217 __remainder.
3218 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
3219 __remainderf.
3220 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
3221 __remainderl.
3222 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
3223 weak alias of remainderl.
3224 * sysdeps/ieee754/ldbl-opt/w_remainder.c
3225 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
3226 alias of __remainder.
3227 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
3228 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
3229 strong alias of __remainderl.
3230 (dreml): Use long_double_symbol.
3231 * math/Makefile (libm-calls): Remove w_drem.
3232 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
3233 (CFLAGS-nldbl-drem.c): Remove variable.
3234 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
3235 * math/w_drem.c: Remove file.
3236 * math/w_dremf.c: Likewise.
3237 * math/w_dreml.c: Likewise.
3238 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
3239 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
3240 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
3241
3242 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
3243 * sysdeps/i386/configure: Regenerated.
3244 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
3245 * sysdeps/x86_64/configure: Regenerated.
3246
3247 * configure.ac (libc_cv_asm_protected_directive): Remove configure
3248 test.
3249 (libc_cv_visibility_attribute): Likewise.
3250 (libc_cv_protected_data): Test unconditionally.
3251 (libc_cv_broken_visibility_attribute): Remove configure test.
3252 (libc_cv_have_sdata_section): Test unconditionally.
3253 * configure: Regenerated.
3254
3255 * include/libc-internal.h (libc_max_align_t): Remove typedef.
3256 * include/scratch_buffer.h: Include <stddef.h> instead of
3257 <libc-internal.h>.
3258 (struct scratch_buffer): Use max_align_t instead of
3259 libc_max_align_t.
3260
3261 2015-10-29 Florian Weimer <fweimer@redhat.com>
3262
3263 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
3264 instead of extend_alloca. Change control flow to avoid a goto.
3265 Remove assert which is trivially always true.
3266
3267 2015-10-28 Joseph Myers <joseph@codesourcery.com>
3268
3269 [BZ #16068]
3270 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
3271 (FE_ALL_EXCEPT_X86): New macro.
3272 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
3273 FE_ALL_EXCEPT. Ensure precision control is included in
3274 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
3275 handle "denormal operand exception" and clear FZ and DAZ bits.
3276 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
3277 (FE_ALL_EXCEPT_X86): New macro.
3278 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
3279 FE_ALL_EXCEPT. Ensure precision control is included in
3280 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
3281 handle "denormal operand exception" and clear FZ and DAZ bits.
3282 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
3283 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
3284 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3285 test-fenv-x87 and test-fenv-sse-2.
3286 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
3287
3288 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
3289 * math/test-double.h (BUILD_COMPLEX): New macro.
3290 * math/test-float.h (BUILD_COMPLEX): Likewise.
3291 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
3292
3293 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
3294 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
3295 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
3296 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
3297 instead of DBL_DENORM_MIN in comment.
3298 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
3299 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3300 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
3301 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
3302 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
3303 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3304
3305 2015-10-28 Florian Weimer <fweimer@redhat.com>
3306
3307 [BZ# 19048]
3308 * malloc/malloc.c (struct malloc_state): Update comment. Add
3309 attached_threads member.
3310 (main_arena): Initialize attached_threads.
3311 * malloc/arena.c (list_lock): Update comment.
3312 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
3313 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
3314 (deattach_arena): New function.
3315 (_int_new_arena): Initialize arena reference count and deattach
3316 replaced arena.
3317 (get_free_list, reused_arena): Update reference count and deattach
3318 replaced arena.
3319 (arena_thread_freeres): Update arena reference count and only put
3320 unreferenced arenas on the free list.
3321
3322 2015-10-28 Joseph Myers <joseph@codesourcery.com>
3323
3324 [BZ #19181]
3325 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
3326 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
3327 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
3328 * math/test-fenv-clear-main.c: New file.
3329 * math/test-fenv-clear.c: Likewise.
3330 * math/Makefile (tests): Add test-fenv-clear.
3331 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
3332 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3333 test-fenv-clear-sse.
3334 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
3335
3336 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
3337 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
3338 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
3339
3340 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
3341
3342 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
3343 static libc.
3344
3345 2015-10-28 Joseph Myers <joseph@codesourcery.com>
3346
3347 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
3348 test.
3349 * sysdeps/i386/configure: Regenerated.
3350 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
3351 test.
3352 * sysdeps/x86_64/configure: Regenerated.
3353 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
3354 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3355 memset-avx2 unconditionally instead of conditionally on
3356 [$(config-cflags-avx2) = yes].
3357 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3358 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
3359 unconditional.
3360 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
3361 * sysdeps/x86_64/multiarch/memset_chk.S
3362 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
3363 to [IS_IN (libc) && SHARED].
3364
3365 2015-10-27 Joseph Myers <joseph@codesourcery.com>
3366
3367 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
3368 configure test.
3369 * sysdeps/arm/configure: Regenerated.
3370 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
3371 Define variable if not already defined.
3372
3373 [BZ #17404]
3374 * sysdeps/mips/atomic-machine.h
3375 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
3376 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
3377 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3378
3379 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
3380 unconditional.
3381 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
3382 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3383 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
3384 unconditional.
3385 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3386 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
3387 unconditional.
3388 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3389 * stdlib/setenv.c
3390 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
3391 code unconditional.
3392 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
3393 Remove conditional code.
3394 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
3395 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
3396 unconditional.
3397 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3398 code.
3399 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
3400 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
3401 unconditional.
3402 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3403 code.
3404 * sysdeps/ieee754/ldbl-128/k_tanl.c
3405 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3406 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3407 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
3408 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3409 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3410 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
3411 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
3412 unconditional.
3413 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3414 code.
3415 * sysdeps/ieee754/ldbl-96/k_tanl.c
3416 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3417 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3418
3419 * nptl/tst-initializers1-c11.c: New file.
3420 * nptl/tst-initializers1-gnu11.c: Likewise.
3421 * nptl/Makefile (tests): Add these new tests.
3422 (CFLAGS-tst-initializers1-c11.c): New variable.
3423 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
3424
3425 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
3426 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
3427 instead of -std=gnu99.
3428 * configure.ac (systemtap): Test with -std=gnu11 instead of
3429 -std=gnu99.
3430 * configure: Regenerated.
3431 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
3432 in compilation command in comment.
3433
3434 * sysdeps/nptl/configure.ac: Remove file.
3435 * sysdeps/nptl/configure: Remove generated file.
3436 * configure.ac (libc_cv_forced_unwind): Do not substitute.
3437 * configure: Regenerated.
3438 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
3439 * config.make.in (have-forced-unwind): Remove variable.
3440 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
3441 unconditional.
3442 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
3443 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
3444 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
3445 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
3446 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
3447 unconditional.
3448
3449 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3450
3451 [BZ #19174]
3452 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
3453 .skip_lock_out_of_tbegin_retries.
3454 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3455 (__lll_lock_elision): Likewise, and respect a value of
3456 try_tbegin <= 0.
3457
3458 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
3459
3460 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
3461 statement.
3462
3463 2015-10-27 Joseph Myers <joseph@codesourcery.com>
3464
3465 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
3466 variable.
3467 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3468 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3469
3470 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
3471 of -std=c1x -D_ISOC11_SOURCE.
3472
3473 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
3474 * configure: Regenerated.
3475 * manual/install.texi (Tools for Compilation): Document
3476 requirement for GCC 4.7 or later.
3477 * INSTALL: Regenerated.
3478
3479 2015-10-27 Ludovic Courtès <ludo@gnu.org>
3480
3481 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
3482 on CNT to a conditional jump to 'puntdata'.
3483
3484 2015-10-27 Joseph Myers <joseph@codesourcery.com>
3485
3486 * configure.ac (libc_cv_gcc___thread): Remove configure test.
3487 (libc_cv_gcc_tls_model_attr): Likewise.
3488 * configure: Regenerated.
3489
3490 * configure.ac (libc_cv_need_minus_P): Remove configure test.
3491 * configure: Regenerated.
3492 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
3493
3494 2015-10-26 Joseph Myers <joseph@codesourcery.com>
3495
3496 * configure.ac (old_glibc_headers): Remove configure test.
3497 * configure: Regenerated.
3498 * config.make.in (old-glibc-headers): Remove variable.
3499 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
3500 (install): Remove dependency on remove-old-headers.
3501 (headers2_0): Remove variable.
3502 (remove-old-headers): Remove rule.
3503
3504 * configure.ac (libc_cv_dot_text): Remove configure test.
3505 (libc_cv_asm_set_directive): Use .text instead of
3506 ${libc_cv_dot_text} in configure test.
3507 * configure: Regenerated.
3508
3509 2015-10-26 Florian Weimer <fweimer@redhat.com>
3510
3511 [BZ #19168]
3512 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3513
3514 2015-10-26 Florian Weimer <fweimer@redhat.com>
3515
3516 * configure.ac (CXX): Clear the variable if the C++ toolchain does
3517 not support static linking.
3518 * configure: Regenerate.
3519
3520 2015-10-23 Joseph Myers <joseph@codesourcery.com>
3521
3522 * math/libm-test.inc (check_float_internal): Do not special-case
3523 errors up to 0.5 ulp.
3524
3525 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
3526 log2.
3527 * math/auto-libm-test-out: Regenerated.
3528 * math/libm-test.inc (MAX_EXP): New macro.
3529 (ilogb_test_data): Add more tests.
3530 (isfinite_test_data): Likewise.
3531 (isgreater_test_data): Likewise.
3532 (isgreaterequal_test_data): Likewise.
3533 (isinf_test_data): Likewise.
3534 (isless_test_data): Likewise.
3535 (islessequal_test_data): Likewise.
3536 (islessgreater_test_data): Likewise.
3537 (isnan_test_data): Likewise.
3538 (isnormal_test_data): Likewise.
3539 (issignaling_test_data): Likewise.
3540 (isunordered_test_data): Likewise.
3541 (j0_test_data): Likewise.
3542 (j1_test_data): Likewise.
3543 (jn_test_data): Likewise.
3544 (lgamma_test_data): Likewise.
3545 (log_test_data): Likewise.
3546 (log10_test_data): Likewise.
3547 (log1p_test_data): Likewise.
3548 (log2_test_data): Likewise.
3549 (logb_test_data): Likewise.
3550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3551
3552 [BZ #18611]
3553 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
3554 avoid excess range and precision on underflow.
3555 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3556 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
3557 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3558 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
3559 underflow.
3560 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3561 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3562 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3563 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3564 * math/auto-libm-test-in: Do not allow missing errno setting for
3565 tests of j1 and jn.
3566 * math/auto-libm-test-out: Regenerated.
3567
3568 2015-10-22 Joseph Myers <joseph@codesourcery.com>
3569
3570 [BZ #15491]
3571 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
3572 floating-point environment instead of clearing all exceptions.
3573 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3574 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
3575 merging in "invalid" exceptions from frndint.
3576 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3577 * math/test-nearbyint-except.c: New file.
3578 * math/Makefile (tests): Add test-nearbyint-except.
3579
3580 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
3581
3582 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
3583
3584 * sysdeps/tile/libm-test-ulps: Regenerated.
3585
3586 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3587
3588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
3589 (__NR_sync_file_range2): Assume it is always defined.
3590 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3591 (__NR_sync_file_range): Assume it is always defined.
3592
3593 2015-10-22 Andreas Schwab <schwab@suse.de>
3594
3595 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
3596 INTERNAL_SYSCALL_ERRNO.
3597 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3598 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
3599 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3600 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
3601 Likewise.
3602 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3603
3604 2015-10-21 Joseph Myers <joseph@codesourcery.com>
3605
3606 * io/tst-fcntl.c (fd): New static variable.
3607 (do_prepare): Open temporary file here....
3608 (do_test): ...not here.
3609
3610 * io/ftwtest-sh: Also trap on exit to remove temporary files.
3611
3612 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
3613
3614 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
3615 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3616 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3617 Moved before "#ifdef __ASSEMBLER__".
3618
3619 2015-10-21 Joseph Myers <joseph@codesourcery.com>
3620
3621 [BZ #19156]
3622 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
3623 arguments very close to 0.
3624
3625 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
3626
3627 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
3628 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
3629
3630 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
3631
3632 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3633 New. Defined for GCC 5 and above when not compiling for
3634 profiling.
3635 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
3636
3637 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
3638 Renamed to ...
3639 (CFLAGS-epoll_pwait.o): This.
3640 (CFLAGS-mmap.c): Renamed to ...
3641 (CFLAGS-mmap.o): This.
3642 (CFLAGS-mmap64.c): Renamed to ...
3643 (CFLAGS-mmap64.o): This.
3644 (CFLAGS-epoll_pwait.os): New.
3645 (CFLAGS-mmap.os): Likewise.
3646 (CFLAGS-mmap64.os): Likewise.
3647 (CFLAGS-semtimedop.os): Likewise.
3648 (CFLAGS-semtimedop.c): Renamed to ...
3649 (CFLAGS-semtimedop.o): This.
3650
3651 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3652
3653 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
3654 warning message.
3655
3656 2015-10-21 Joseph Myers <joseph@codesourcery.com>
3657
3658 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
3659 * Makefile ($(objpfx)c++-types-check.out): Filter out
3660 $(+gccwarn-c) instead of -Wstrict-prototypes.
3661
3662 * io/fts.c (fts_open): Convert to prototype-style function
3663 definition.
3664 * malloc/mcheck.c (mcheck): Likewise.
3665 (mcheck_pedantic): Likewise.
3666 * posix/regexec.c (re_search_2_stub): Likewise. Use
3667 internal_function.
3668 (re_search_internal): Likewise.
3669 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
3670 prototype-style function definition.
3671 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3672 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3673 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
3674 (xdr_utmpptr): Likewise.
3675 (xdr_utmparr): Likewise.
3676 (xdr_utmpidle): Likewise.
3677 (xdr_utmpidleptr): Likewise.
3678 (xdr_utmpidlearr): Likewise.
3679
3680 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
3681 log, log10 and log2.
3682 * math/auto-libm-test-out: Regenerated.
3683 * math/libm-test.inc (fmod_test_data): Add more tests.
3684 (fpclassify_test_data): Likewise.
3685 (frexp_test_data): Likewise.
3686 (hypot_test_data): Likewise.
3687 (ilogb_test_data): Likewise.
3688
3689 2015-10-20 Joseph Myers <joseph@codesourcery.com>
3690
3691 * debug/fortify_fail.c (__fortify_fail): Convert to
3692 prototype-style function definition. Use internal_function.
3693 * libio/genops.c (save_for_backup): Convert to prototype-style
3694 function definition.
3695 * libio/wgenops.c (save_for_wbackup): Likewise.
3696 * login/grantpt.c (grantpt): Likewise.
3697 * login/ptsname.c (ptsname): Likewise.
3698 (__ptsname_r): Likewise.
3699 * login/unlockpt.c (unlockpt): Likewise.
3700 * mach/msgserver.c (__mach_msg_server): Likewise.
3701 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
3702 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
3703 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
3704 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
3705 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
3706 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
3707 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
3708 Likewise.
3709 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
3710 internal_function.
3711 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
3712 prototype-style function definition.
3713 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
3714 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
3715 (__pthread_create_2_0): Likewise.
3716 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
3717 * nptl/register-atfork.c (__register_atfork): Likewise.
3718 * posix/glob.c (glob): Likewise.
3719 * posix/regcomp.c (re_comp): Likewise.
3720 * posix/regexec.c (re_exec): Likewise.
3721 * stdlib/add_n.c [__STDC__]: Make code unconditional.
3722 [!__STDC__]: Remove conditional code.
3723 * stdlib/cmp.c [__STDC__]: Make code unconditional.
3724 [!__STDC__]: Remove conditional code.
3725 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
3726 [!__STDC__]: Remove conditional code.
3727 * stdlib/divrem.c [__STDC__]: Make code unconditional.
3728 [!__STDC__]: Remove conditional code.
3729 * stdlib/lshift.c [__STDC__]: Make code unconditional.
3730 [!__STDC__]: Remove conditional code.
3731 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
3732 [!__STDC__]: Remove conditional code.
3733 * stdlib/mul.c [__STDC__]: Make code unconditional.
3734 [!__STDC__]: Remove conditional code.
3735 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
3736 [!__STDC__]: Remove conditional code.
3737 * stdlib/rshift.c [__STDC__]: Make code unconditional.
3738 [!__STDC__]: Remove conditional code.
3739 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
3740 function definition.
3741 (STRTOF): Likewise.
3742 * stdlib/strtod_l.c (__STRTOF): Likewise.
3743 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
3744 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
3745 (__strtol_l): Likewise.
3746 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
3747 [!__STDC__]: Remove conditional code.
3748 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
3749 definition.
3750 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3751 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3752 type.
3753 (__strcasecmp): Convert to prototype-style function definition.
3754 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
3755 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3756 type.
3757 (__strncasecmp): Convert to prototype-style function definition.
3758 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
3759 * sunrpc/xdr.c (xdr_union): Likewise.
3760 * sunrpc/xdr_array.c (xdr_array): Likewise.
3761 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
3762 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
3763 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
3764 Likewise.
3765 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
3766 Likewise.
3767 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
3768 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
3769 Likewise.
3770 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
3771 (LOCALE_PARAM_PROTO): Likewise.
3772 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
3773 argument type.
3774 (ut_argument_spec): Remove macro.
3775 (ut_argument_spec_iso): Rename to ut_argument_spec.
3776 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
3777 prototype-style function definition.
3778 (memcpy_uppcase): Likewise.
3779 (__strftime_internal): Likewise.
3780 (my_strftime): Likewise.
3781 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
3782 (LOCALE_PARAM_DECL): Likewise.
3783 [_LIBC] (LOCALE_PARAM): Include argument type.
3784 (__strptime_internal): Convert to prototype-style function
3785 definition.
3786 (strptime): Likewise.
3787 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3788 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3789 type.
3790 (__wcscasecmp): Convert to prototype-style function definition.
3791 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
3792 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3793 type.
3794 (__wcsncasecmp): Convert to prototype-style function definition.
3795
3796 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
3797 function definition.
3798 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3799 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3800 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
3801 * elf/dl-minimal.c (_itoa): Likewise.
3802 * hurd/hurdmalloc.c (malloc): Likewise.
3803 (free): Likewise.
3804 (realloc): Likewise.
3805 * inet/inet6_option.c (inet6_option_space): Likewise.
3806 (inet6_option_init): Likewise.
3807 (inet6_option_append): Likewise.
3808 (inet6_option_alloc): Likewise.
3809 (inet6_option_next): Likewise.
3810 (inet6_option_find): Likewise.
3811 * io/ftw.c (FTW_NAME): Likewise.
3812 (NFTW_NAME): Likewise.
3813 (NFTW_NEW_NAME): Likewise.
3814 (NFTW_OLD_NAME): Likewise.
3815 * libio/iofwide.c (_IO_fwide): Likewise.
3816 * libio/strops.c (_IO_str_init_static_internal): Likewise.
3817 (_IO_str_init_static): Likewise.
3818 (_IO_str_init_readonly): Likewise.
3819 (_IO_str_overflow): Likewise.
3820 (_IO_str_underflow): Likewise.
3821 (_IO_str_count): Likewise.
3822 (_IO_str_seekoff): Likewise.
3823 (_IO_str_pbackfail): Likewise.
3824 (_IO_str_finish): Likewise.
3825 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
3826 (_IO_wstr_overflow): Likewise.
3827 (_IO_wstr_underflow): Likewise.
3828 (_IO_wstr_count): Likewise.
3829 (_IO_wstr_seekoff): Likewise.
3830 (_IO_wstr_pbackfail): Likewise.
3831 (_IO_wstr_finish): Likewise.
3832 * locale/programs/localedef.c (normalize_codeset): Likewise.
3833 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
3834 (add_locales_to_archive): Likewise.
3835 (delete_locales_from_archive): Likewise.
3836 * malloc/malloc.c (__libc_mallinfo): Likewise.
3837 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
3838 * misc/tsearch.c (__tfind): Likewise.
3839 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
3840 * nptl/pthread_attr_getdetachstate.c
3841 (__pthread_attr_getdetachstate): Likewise.
3842 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
3843 Likewise.
3844 * nptl/pthread_attr_getinheritsched.c
3845 (__pthread_attr_getinheritsched): Likewise.
3846 * nptl/pthread_attr_getschedparam.c
3847 (__pthread_attr_getschedparam): Likewise.
3848 * nptl/pthread_attr_getschedpolicy.c
3849 (__pthread_attr_getschedpolicy): Likewise.
3850 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
3851 Likewise.
3852 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
3853 Likewise.
3854 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
3855 Likewise.
3856 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
3857 Likewise.
3858 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
3859 (__pthread_attr_init_2_0): Likewise.
3860 * nptl/pthread_attr_setdetachstate.c
3861 (__pthread_attr_setdetachstate): Likewise.
3862 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
3863 Likewise.
3864 * nptl/pthread_attr_setinheritsched.c
3865 (__pthread_attr_setinheritsched): Likewise.
3866 * nptl/pthread_attr_setschedparam.c
3867 (__pthread_attr_setschedparam): Likewise.
3868 * nptl/pthread_attr_setschedpolicy.c
3869 (__pthread_attr_setschedpolicy): Likewise.
3870 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
3871 Likewise.
3872 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
3873 Likewise.
3874 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
3875 Likewise.
3876 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
3877 Likewise.
3878 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
3879 Likewise.
3880 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
3881 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
3882 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
3883 use internal_function.
3884 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
3885 prototype-style function definition.
3886 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
3887 (__pthread_mutex_cond_lock_adjust): Likewise. Use
3888 internal_function.
3889 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
3890 Convert to prototype-style function definition.
3891 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3892 Likewise.
3893 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3894 Likewise.
3895 (__pthread_mutex_unlock): Likewise.
3896 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
3897 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
3898 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
3899 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
3900 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
3901 * nss/makedb.c (process_input): Likewise.
3902 * posix/fnmatch.c (__strchrnul): Likewise.
3903 (__wcschrnul): Likewise.
3904 (fnmatch): Likewise.
3905 * posix/fnmatch_loop.c (FCT): Likewise.
3906 * posix/glob.c (globfree): Likewise.
3907 (__glob_pattern_type): Likewise.
3908 (__glob_pattern_p): Likewise.
3909 * posix/regcomp.c (re_compile_pattern): Likewise.
3910 (re_set_syntax): Likewise.
3911 (re_compile_fastmap): Likewise.
3912 (regcomp): Likewise.
3913 (regerror): Likewise.
3914 (regfree): Likewise.
3915 * posix/regexec.c (regexec): Likewise.
3916 (re_match): Likewise.
3917 (re_search): Likewise.
3918 (re_match_2): Likewise.
3919 (re_search_2): Likewise.
3920 (re_search_stub): Likewise. Use internal_function
3921 (re_copy_regs): Likewise.
3922 (re_set_registers): Convert to prototype-style function
3923 definition.
3924 (prune_impossible_nodes): Likewise. Use internal_function.
3925 * resolv/inet_net_pton.c (inet_net_pton): Convert to
3926 prototype-style function definition.
3927 (inet_net_pton_ipv4): Likewise.
3928 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3929 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
3930 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
3931 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
3932 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3933 Make variadic.
3934 * time/strptime_l.c (localtime_r): Convert to prototype-style
3935 function definition.
3936 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3937 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3938 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3939 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3940
3941 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
3942 definition.
3943 (_ufc_doit_r): Likewise.
3944 * crypt/crypt_util.c (_ufc_copymem): Likewise.
3945 (_ufc_output_conversion_r): Likewise.
3946 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
3947 * inet/rcmd.c (rcmd_af): Likewise.
3948 (rcmd): Likewise.
3949 (ruserok_af): Likewise.
3950 (ruserok): Likewise.
3951 (ruserok2_sa): Likewise.
3952 (ruserok_sa): Likewise.
3953 (iruserok_af): Likewise.
3954 (iruserok): Likewise.
3955 (__ivaliduser): Likewise.
3956 (__validuser2_sa): Likewise.
3957 * inet/rexec.c (rexec_af): Likewise.
3958 (rexec): Likewise.
3959 * inet/ruserpass.c (ruserpass): Likewise.
3960 * locale/programs/xmalloc.c (xcalloc): Likewise.
3961 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
3962 * math/w_drem.c (__drem): Likewise.
3963 * math/w_dremf.c (__dremf): Likewise.
3964 * math/w_dreml.c (__dreml): Likewise.
3965 * misc/daemon.c (daemon): Likewise.
3966 * resolv/res_debug.c (p_fqnname): Likewise.
3967 * stdlib/div.c (div): Likewise.
3968 * string/memcmp.c (memcmp_bytes): Likewise.
3969 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
3970 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
3971
3972 * crypt/cert.c (main): Convert to prototype-style function
3973 definition.
3974 * io/pipe.c (__pipe): Likewise.
3975 * io/pipe2.c (__pipe2): Likewise.
3976 * misc/futimesat.c (futimesat): Likewise.
3977 * misc/utimes.c (__utimes): Likewise.
3978 * posix/execve.c (__execve): Likewise.
3979 * posix/execvp.c (execvp): Likewise.
3980 * posix/execvpe.c (__execvpe): Likewise.
3981 * posix/fexecve.c (fexecve): Likewise.
3982 * socket/socketpair.c (socketpair): Likewise.
3983 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3984 * stdlib/erand48.c (erand48): Likewise.
3985 * stdlib/erand48_r.c (__erand48_r): Likewise.
3986 * stdlib/jrand48.c (jrand48): Likewise.
3987 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
3988 * stdlib/lcong48.c (lcong48): Likewise.
3989 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
3990 * stdlib/nrand48.c (nrand48): Likewise.
3991 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
3992 * stdlib/seed48.c (seed48): Likewise.
3993 * stdlib/seed48_r.c (__seed48_r): Likewise.
3994 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
3995 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
3996 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
3997
3998 2015-10-19 Joseph Myers <joseph@codesourcery.com>
3999
4000 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
4001 * configure: Regenerated.
4002 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
4003 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
4004 unconditional.
4005 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4006 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4007 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4008 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
4009 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
4010 unconditional.
4011 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4012
4013 * posix/Makefile (CFLAGS-regex.c): Remove variable.
4014 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
4015
4016 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
4017 function definition.
4018 * crypt/crypt_util.c (__encrypt_r): Likewise.
4019 * libio/genops.c (_IO_no_init): Likewise.
4020 * libio/iofopncook.c (_IO_fopencookie): Likewise.
4021 (_IO_old_fopencookie): Likewise.
4022 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4023 * libio/iogetline.c (_IO_getline): Likewise.
4024 (_IO_getline_info): Likewise.
4025 * libio/iogetwline.c (_IO_getwline): Likewise.
4026 (_IO_getwline_info): Likewise.
4027 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4028 * libio/vswprintf.c (_IO_vswprintf): Likewise.
4029 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
4030 (find_entry): Likewise.
4031 (iterate_table): Likewise.
4032 (lookup): Likewise.
4033 * login/forkpty.c (forkpty): Likewise.
4034 * misc/hsearch_r.c (__hsearch_r): Likewise.
4035 * misc/select.c (__select): Likewise.
4036 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
4037 Likewise.
4038 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
4039 Likewise.
4040 * nptl/old_pthread_cond_timedwait.c
4041 (__pthread_cond_timedwait_2_0): Likewise.
4042 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
4043 * nptl/pthread_barrierattr_getpshared.c
4044 (pthread_barrierattr_getpshared): Likewise.
4045 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4046 Likewise.
4047 * nptl/pthread_mutex_setprioceiling.c
4048 (pthread_mutex_setprioceiling): Likewise.
4049 * nptl/pthread_mutexattr_getprioceiling.c
4050 (pthread_mutexattr_getprioceiling): Likewise.
4051 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
4052 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4053 Likewise.
4054 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4055 Likewise.
4056 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
4057 Likewise.
4058 * socket/recvfrom.c (__recvfrom): Likewise.
4059 * socket/sendto.c (__sendto): Likewise.
4060 * socket/setsockopt.c (__setsockopt): Likewise.
4061 * stdio-common/_itoa.c (_itoa): Likewise.
4062 * stdio-common/_itowa.c (_itowa): Likewise.
4063 * stdio-common/reg-printf.c (__register_printf_specifier):
4064 Likewise.
4065 (__register_printf_function): Likewise.
4066 * stdio-common/tempname.c (__path_search): Likewise.
4067 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
4068 * stdlib/mul_1.c (mpn_mul_1): Likewise.
4069 * stdlib/random_r.c (__initstate_r): Likewise.
4070 * stdlib/setenv.c (__add_to_environ): Likewise.
4071 * stdlib/submul_1.c (mpn_submul_1): Likewise.
4072 * streams/getpmsg.c (getpmsg): Likewise.
4073 * streams/putmsg.c (putmsg): Likewise.
4074 * streams/putpmsg.c (putpmsg): Likewise.
4075 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
4076 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4077 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
4078 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
4079 * sunrpc/pm_getport.c (pmap_getport): Likewise.
4080 * sunrpc/svc_udp.c (cache_get): Likewise.
4081 * sunrpc/xdr_array.c (xdr_vector): Likewise.
4082 * sysdeps/mach/hurd/getcwd.c
4083 (__canonicalize_directory_name_internal): Likewise.
4084 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
4085 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
4086 * sysdeps/mach/hurd/select.c (__select): Likewise.
4087 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4088 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
4089 * sysdeps/sparc/nptl/pthread_barrier_init.c
4090 (__pthread_barrier_init): Likewise.
4091 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
4092 (__pthread_cond_timedwait): Likewise.
4093 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
4094 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
4095 Likewise.
4096 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
4097 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
4098 Likewise.
4099 * sysvipc/semtimedop.c (semtimedop): Likewise.
4100 * time/setitimer.c (__setitimer): Likewise.
4101 * time/strftime_l.c (emacs_strftime): Likewise.
4102
4103 2015-10-19 Mike Frysinger <vapier@gentoo.org>
4104
4105 * config.make.in (have-ssp): Delete.
4106 (stack-protector): New variable.
4107 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
4108 cache test for -fstack-protector-strong. Export stack_protector to
4109 the best ssp flag.
4110 * configure: Regenerated.
4111 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
4112 * nscd/Makefile (CFLAGS-nscd): Likewise.
4113 * resolv/Makefile (CFLAGS-libresolv): Likewise.
4114
4115 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
4116
4117 [BZ #19122]
4118 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
4119 attribute_hidden.
4120
4121 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4122
4123 [BZ #18743]
4124 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
4125 code to...
4126 (ELIDE_LOCK): ...here.
4127 (__get_new_count): New function with part of the code from
4128 __elide_lock that updates the value of adapt_count after a
4129 transaction abort.
4130 (__elided_trylock): Moved this code to...
4131 (ELIDE_TRYLOCK): ...here.
4132
4133 2015-10-19 Mike Frysinger <vapier@gentoo.org>
4134
4135 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
4136 * configure: Regenerate.
4137 * INSTALL: Regenerate.
4138 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
4139 and tweak grammar.
4140
4141 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
4142
4143 * login/programs/pt_chown.c: Include signal.h
4144 (main): Clear any signal mask from the parent process.
4145
4146 2015-10-19 Joseph Myers <joseph@codesourcery.com>
4147
4148 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
4149 * configure: Regenerated.
4150 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
4151 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
4152 $(gnu89-inline-CFLAGS).
4153
4154 * configure.ac (libc_cv_asm_weak_directive): Remove configure
4155 test.
4156 (libc_cv_asm_weakext_directive): Likewise.
4157 * configure: Regenerated.
4158 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
4159 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
4160 * include/libc-symbols.h
4161 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
4162 #error.
4163 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
4164 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
4165
4166 * sysdeps/arm/backtrace.c (__backtrace): Convert to
4167 prototype-style function definition.
4168 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
4169 * sysdeps/i386/ffs.c (__ffs): Likewise.
4170 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4171 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
4172 Likewise.
4173 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4174 Likewise.
4175 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4176 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4177 Likewise.
4178 * sysdeps/m68k/ffs.c (__ffs): Likewise.
4179 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
4180 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
4181 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
4182 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
4183 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
4184 * sysdeps/mach/hurd/access.c (__access): Likewise.
4185 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
4186 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
4187 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
4188 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
4189 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
4190 (cthread_getspecific): Likewise.
4191 (cthread_setspecific): Likewise.
4192 (__libc_getspecific): Likewise.
4193 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
4194 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
4195 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
4196 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
4197 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
4198 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
4199 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
4200 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
4201 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
4202 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
4203 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
4204 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
4205 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
4206 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
4207 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
4208 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
4209 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
4210 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
4211 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
4212 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
4213 * sysdeps/mach/hurd/link.c (__link): Likewise.
4214 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
4215 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
4216 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
4217 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
4218 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4219 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
4220 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
4221 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
4222 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4223 * sysdeps/mach/hurd/rename.c (rename): Likewise.
4224 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
4225 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
4226 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
4227 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
4228 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
4229 * sysdeps/mach/hurd/send.c (__send): Likewise.
4230 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
4231 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
4232 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
4233 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
4234 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
4235 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
4236 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
4237 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
4238 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
4239 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
4240 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
4241 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
4242 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
4243 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
4244 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
4245 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4246 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
4247 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
4248 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
4249 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4250 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
4251 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
4252 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
4253 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
4254 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
4255 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
4256 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
4257 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
4258 * sysdeps/posix/alarm.c (alarm): Likewise.
4259 * sysdeps/posix/cuserid.c (cuserid): Likewise.
4260 * sysdeps/posix/dirfd.c (dirfd): Likewise.
4261 * sysdeps/posix/dup.c (__dup): Likewise.
4262 * sysdeps/posix/dup2.c (__dup2): Likewise.
4263 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
4264 (main): Likewise.
4265 * sysdeps/posix/flock.c (__flock): Likewise.
4266 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
4267 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
4268 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
4269 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
4270 * sysdeps/posix/isatty.c (__isatty): Likewise.
4271 * sysdeps/posix/killpg.c (killpg): Likewise.
4272 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
4273 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
4274 * sysdeps/posix/raise.c (raise): Likewise.
4275 * sysdeps/posix/remove.c (remove): Likewise.
4276 * sysdeps/posix/rename.c (rename): Likewise.
4277 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
4278 * sysdeps/posix/seekdir.c (seekdir): Likewise.
4279 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4280 * sysdeps/posix/sigignore.c (sigignore): Likewise.
4281 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
4282 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
4283 * sysdeps/posix/sigset.c (sigset): Likewise.
4284 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
4285 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4286 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
4287 * sysdeps/posix/time.c (time): Likewise.
4288 * sysdeps/posix/ttyname.c (getttyname): Likewise.
4289 (ttyname): Likewise.
4290 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
4291 * sysdeps/posix/utime.c (utime): Likewise.
4292 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
4293 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
4294 Likewise.
4295 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
4296 (pthread_spin_trylock): Likewise.
4297 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
4298 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
4299 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
4300 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
4301 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
4302 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
4303 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
4304 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
4305 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
4306 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
4307 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
4308 * sysdeps/s390/ffs.c (__ffs): Likewise.
4309 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
4310 Likewise.
4311 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4312 Likewise.
4313 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
4314 Likewise.
4315 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
4316 (pthread_barrier_destroy): Likewise.
4317 * sysdeps/sparc/nptl/pthread_barrier_wait.c
4318 (__pthread_barrier_wait): Likewise.
4319 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
4320 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4321 (__pthread_barrier_wait): Likewise.
4322 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
4323 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
4324 (memcmp_not_common_alignment): Likewise.
4325 (MEMCMP): Likewise.
4326 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
4327 (_wordcopy_fwd_dest_aligned): Likewise.
4328 (_wordcopy_bwd_aligned): Likewise.
4329 (_wordcopy_bwd_dest_aligned): Likewise.
4330 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
4331 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
4332 * sysdeps/unix/bsd/stty.c (stty): Likewise.
4333 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
4334 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
4335 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
4336 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
4337 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
4338 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
4339 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
4340 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
4341 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4342 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
4343 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
4344 * sysdeps/unix/stime.c (stime): Likewise.
4345 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
4346 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
4347 Likewise. Use internal_function.
4348 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
4349 Convert to prototype-style function definition.
4350 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4351 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4352 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
4353 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4354 Likewise. Use internal_function.
4355 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
4356 prototype-style function definition
4357 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4358 Likewise.
4359 (__getlogin_r): Likewise.
4360 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
4361 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
4362 (__pthread_cond_broadcast): Likewise.
4363 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
4364 (__pthread_cond_destroy): Likewise.
4365 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
4366 (__pthread_cond_init): Likewise.
4367 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
4368 (__pthread_cond_signal): Likewise.
4369 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
4370 (__pthread_cond_wait): Likewise.
4371 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
4372 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
4373 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
4374 Likewise.
4375 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
4376 Likewise.
4377 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
4378 Likewise.
4379 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
4380 Likewise.
4381 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
4382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
4383 (__ftruncate64): Likewise.
4384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
4385 (truncate64): Likewise.
4386 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
4387 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
4388 (pthread_getcpuclockid): Likewise.
4389 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
4390 Likewise.
4391 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
4392 Likewise.
4393 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
4394 Likewise.
4395 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
4396 Likewise.
4397 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
4398 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
4399 (__libc_sigaction): Likewise.
4400 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
4401 Likewise.
4402 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
4403 (__sigprocmask): Likewise.
4404 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
4405 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
4406 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
4407 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
4408 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4409 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
4410 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4411 Likewise.
4412 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
4413 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
4414 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4415 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
4416 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
4417 Likewise.
4418 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
4419 (__sigprocmask): Likewise.
4420 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
4421 (cfgetispeed): Likewise.
4422 (cfsetospeed): Likewise.
4423 (cfsetispeed): Likewise.
4424 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
4425 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
4426 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4427 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
4428 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
4429 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
4430 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
4431 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
4432 Likewise.
4433 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
4434 Likewise.
4435 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
4436 Likewise.
4437 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
4438 Likewise.
4439 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
4440
4441 2015-10-17 Florian Weimer <fweimer@redhat.com>
4442
4443 sunrpc: Rewrite with explicit TLS access using __thread.
4444 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
4445 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
4446 directly.
4447 (__rpc_thread_variables): Access thread_rpc_vars directly.
4448 Eliminate redundant assignment of the tvp variable.
4449
4450 2015-10-17 Florian Weimer <fweimer@redhat.com>
4451
4452 malloc: Rewrite with explicit TLS access using __thread.
4453 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
4454 (tsd_setspecific, tsd_getspecific): Remove.
4455 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
4456 (tsd_setspecific, tsd_getspecific): Likewise.
4457 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
4458 (tsd_setspecific, tsd_getspecific): Likewise.
4459 * malloc/arena.c (thread_arena): New TLS variable.
4460 (arena_key): Remove variable.
4461 (arena_get): Use thread_arena.
4462 (arena_lookup): Remove macro.
4463 (malloc_atfork, free_atfork, ptmalloc_lock_all)
4464 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
4465 (_int_new_arena, get_free_list, reused_arena)
4466 (arena_thread_freeres): Use thread_arena.
4467 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
4468 tsd_getspecific, tsd_setspecific from safety annotations.
4469 (Allocating Cleared Space): Remove arena_lookup from safety
4470 annotations.
4471
4472 2015-10-17 Florian Weimer <fweimer@redhat.com>
4473
4474 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
4475 struct scratch_buffer instead of extend_alloca.
4476
4477 2015-10-17 Florian Weimer <fweimer@redhat.com>
4478
4479 * sysdeps/unix/sysv/linux/kernel-features.h
4480 (__ASSUME_SOCK_CLOEXEC): Remove.
4481 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
4482 (__have_paccept): Remove unused macro.
4483 * include/unistd.h (__have_sock_cloexec): Remove declaration.
4484 * misc/syslog.c (openlog_internal): Remove fallback code for
4485 !__ASSUME_SOCK_CLOEXEC.
4486 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
4487 missing SOCK_CLOEXEC.
4488 * nscd/connections.c (have_sock_cloexec): Remove definition.
4489 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
4490 * nscd/nscd_helper.c (open_socket): Remove fallback code for
4491 !__ASSUME_SOCK_CLOEXEC.
4492 * resolv/res_send.c (__have_o_nonblock): Remove definition.
4493 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
4494 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
4495 definition.
4496 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
4497 code for !__ASSUME_SOCK_CLOEXEC.
4498
4499 2015-10-17 Florian Weimer <fweimer@redhat.com>
4500
4501 [BZ #18982]
4502 * manual/stdio.texi (Variable Arguments Output): Add portability
4503 note, explaining that vfprintf clobbers the va_list pointer.
4504
4505 2015-10-16 Joseph Myers <joseph@codesourcery.com>
4506
4507 * math/libm-test.inc (fabs_test_data): Add more tests.
4508 (fdim_test_data): Likewise.
4509 (fma_test_data): Likewise.
4510 (fmax_test_data): Likewise.
4511 (fmin_test_data): Likewise.
4512 (fmod_test_data): Likewise.
4513
4514 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
4515
4516 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
4517 data.
4518
4519 2015-10-16 Joseph Myers <joseph@codesourcery.com>
4520
4521 * math/libm-test.inc (ceil_test_data): Add more tests and more
4522 expectations for "inexact".
4523 (floor_test_data): Add more tests.
4524 (round_test_data): Likewise.
4525 (trunc_test_data): Likewise.
4526
4527 * crypt/cert.c (good_bye): Convert to prototype-style function
4528 definition.
4529 (get8): Likewise.
4530 (put8): Likewise.
4531 * crypt/crypt-entry.c (crypt): Likewise.
4532 (__fcrypt): Likewise.
4533 * crypt/crypt_util.c (_ufc_prbits): Likewise.
4534 (_ufc_set_bits): Likewise.
4535 (_ufc_clearmem): Likewise.
4536 (__init_des_r): Likewise.
4537 (shuffle_sb): Likewise.
4538 (shuffle_sb): Likewise.
4539 (_ufc_setup_salt_r): Likewise.
4540 (_ufc_mk_keytab_r): Likewise.
4541 (_ufc_dofinalperm_r): Likewise.
4542 (encrypt): Likewise.
4543 (__setkey_r): Likewise.
4544 (setkey): Likewise.
4545 * crypt/md5.c (md5_init_ctx): Likewise.
4546 (md5_read_ctx): Likewise.
4547 (md5_finish_ctx): Likewise.
4548 (md5_stream): Likewise.
4549 (md5_buffer): Likewise.
4550 (md5_process_bytes): Likewise.
4551 * crypt/sha256.c (__sha256_init_ctx): Likewise.
4552 (__sha256_finish_ctx): Likewise.
4553 (__sha256_process_bytes): Likewise.
4554 * crypt/sha512.c (__sha512_init_ctx): Likewise.
4555 (__sha512_finish_ctx): Likewise.
4556 (__sha512_process_bytes): Likewise.
4557 * ctype/isctype.c (__isctype): Likewise.
4558 * debug/backtrace.c (__backtrace): Likewise.
4559 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
4560 * debug/fgets_chk.c (__fgets_chk): Likewise.
4561 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
4562 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
4563 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4564 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4565 * debug/memset_chk.c (__memset_chk): Likewise.
4566 * debug/strcat_chk.c (__strcat_chk): Likewise.
4567 * debug/strncat_chk.c (__strncat_chk): Likewise.
4568 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
4569 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
4570 * dirent/dirfd.c (dirfd): Likewise.
4571 * dirent/getdents.c (__getdirentries): Likewise.
4572 * dirent/getdents64.c (getdirentries64): Likewise.
4573 * dirent/rewinddir.c (__rewinddir): Likewise.
4574 * dirent/seekdir.c (seekdir): Likewise.
4575 * dirent/telldir.c (telldir): Likewise.
4576 * elf/sln.c (makesymlinks): Likewise.
4577 (makesymlink): Likewise.
4578 * gmon/gmon.c (__moncontrol): Likewise.
4579 (__monstartup): Likewise.
4580 (write_hist): Likewise.
4581 (write_call_graph): Likewise.
4582 (write_bb_counts): Likewise.
4583 * grp/setgroups.c (setgroups): Likewise.
4584 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4585 * inet/inet_net.c (inet_network): Likewise.
4586 * inet/inet_netof.c (inet_netof): Likewise.
4587 * inet/rcmd.c (rresvport_af): Likewise.
4588 (rresvport): Likewise.
4589 * io/access.c (__access): Likewise.
4590 * io/chdir.c (__chdir): Likewise.
4591 * io/chmod.c (__chmod): Likewise.
4592 * io/chown.c (__chown): Likewise.
4593 * io/close.c (__close): Likewise.
4594 * io/creat.c (creat): Likewise.
4595 * io/creat64.c (creat64): Likewise.
4596 * io/dup.c (__dup): Likewise.
4597 * io/dup2.c (__dup2): Likewise.
4598 * io/dup3.c (__dup3): Likewise.
4599 * io/euidaccess.c (__euidaccess): Likewise.
4600 * io/faccessat.c (faccessat): Likewise.
4601 * io/fchmod.c (__fchmod): Likewise.
4602 * io/fchmodat.c (fchmodat): Likewise.
4603 * io/fchown.c (__fchown): Likewise.
4604 * io/fchownat.c (fchownat): Likewise.
4605 * io/fcntl.c (__fcntl): Likewise.
4606 * io/flock.c (__flock): Likewise.
4607 * io/fts.c (fts_load): Likewise.
4608 (fts_close): Likewise.
4609 (fts_read): Likewise.
4610 (fts_set): Likewise.
4611 (fts_children): Likewise.
4612 (fts_build): Likewise.
4613 (fts_stat): Likewise.
4614 (fts_sort): Likewise.
4615 (fts_alloc): Likewise.
4616 (fts_lfree): Likewise.
4617 (fts_palloc): Likewise.
4618 (fts_padjust): Likewise.
4619 (fts_maxarglen): Likewise.
4620 (fts_safe_changedir): Likewise.
4621 * io/getwd.c (getwd): Likewise.
4622 * io/isatty.c (__isatty): Likewise.
4623 * io/lchown.c (__lchown): Likewise.
4624 * io/link.c (__link): Likewise.
4625 * io/linkat.c (linkat): Likewise.
4626 * io/lseek.c (__libc_lseek): Likewise.
4627 * io/mkdir.c (__mkdir): Likewise.
4628 * io/mkdirat.c (mkdirat): Likewise.
4629 * io/mkfifo.c (mkfifo): Likewise.
4630 * io/mkfifoat.c (mkfifoat): Likewise.
4631 * io/open.c (__libc_open): Likewise.
4632 * io/open64.c (__libc_open64): Likewise.
4633 * io/readlink.c (__readlink): Likewise.
4634 * io/readlinkat.c (readlinkat): Likewise.
4635 * io/rmdir.c (__rmdir): Likewise.
4636 * io/symlink.c (__symlink): Likewise.
4637 * io/symlinkat.c (symlinkat): Likewise.
4638 * io/ttyname.c (ttyname): Likewise.
4639 * io/ttyname_r.c (__ttyname_r): Likewise.
4640 * io/umask.c (__umask): Likewise.
4641 * io/unlink.c (__unlink): Likewise.
4642 * io/unlinkat.c (unlinkat): Likewise.
4643 * io/utime.c (utime): Likewise.
4644 * libio/clearerr.c (clearerr): Likewise.
4645 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
4646 * libio/feof.c (_IO_feof): Likewise.
4647 * libio/feof_u.c (feof_unlocked): Likewise.
4648 * libio/ferror.c (_IO_ferror): Likewise.
4649 * libio/ferror_u.c (ferror_unlocked): Likewise.
4650 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4651 * libio/fileno.c (__fileno): Likewise.
4652 * libio/fputc.c (fputc): Likewise.
4653 * libio/fputc_u.c (fputc_unlocked): Likewise.
4654 * libio/fputwc.c (fputwc): Likewise.
4655 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
4656 * libio/freopen.c (freopen): Likewise.
4657 * libio/freopen64.c (freopen64): Likewise.
4658 * libio/fseek.c (fseek): Likewise.
4659 * libio/fseeko.c (fseeko): Likewise.
4660 * libio/fseeko64.c (fseeko64): Likewise.
4661 * libio/ftello.c (__ftello): Likewise.
4662 * libio/ftello64.c (ftello64): Likewise.
4663 * libio/fwide.c (fwide): Likewise.
4664 * libio/genops.c (_IO_un_link): Likewise.
4665 (_IO_link_in): Likewise.
4666 (_IO_least_marker): Likewise.
4667 (_IO_switch_to_main_get_area): Likewise.
4668 (_IO_switch_to_backup_area): Likewise.
4669 (_IO_switch_to_get_mode): Likewise.
4670 (_IO_free_backup_area): Likewise.
4671 (_IO_switch_to_put_mode): Likewise.
4672 (__overflow): Likewise.
4673 (__underflow): Likewise.
4674 (__uflow): Likewise.
4675 (_IO_setb): Likewise.
4676 (_IO_doallocbuf): Likewise.
4677 (_IO_default_underflow): Likewise.
4678 (_IO_default_uflow): Likewise.
4679 (_IO_default_xsputn): Likewise.
4680 (_IO_sgetn): Likewise.
4681 (_IO_default_xsgetn): Likewise.
4682 (_IO_sync): Likewise.
4683 (_IO_default_setbuf): Likewise.
4684 (_IO_default_seekpos): Likewise.
4685 (_IO_default_doallocate): Likewise.
4686 (_IO_init): Likewise.
4687 (_IO_old_init): Likewise.
4688 (_IO_default_sync): Likewise.
4689 (_IO_default_finish): Likewise.
4690 (_IO_default_seekoff): Likewise.
4691 (_IO_sputbackc): Likewise.
4692 (_IO_sungetc): Likewise.
4693 (_IO_set_column): Likewise.
4694 (_IO_set_column): Likewise.
4695 (_IO_adjust_column): Likewise.
4696 (_IO_get_column): Likewise.
4697 (_IO_init_marker): Likewise.
4698 (_IO_remove_marker): Likewise.
4699 (_IO_marker_difference): Likewise.
4700 (_IO_marker_delta): Likewise.
4701 (_IO_seekmark): Likewise.
4702 (_IO_unsave_markers): Likewise.
4703 (_IO_nobackup_pbackfail): Likewise.
4704 (_IO_default_pbackfail): Likewise.
4705 (_IO_default_seek): Likewise.
4706 (_IO_default_stat): Likewise.
4707 (_IO_default_read): Likewise.
4708 (_IO_default_write): Likewise.
4709 (_IO_default_showmanyc): Likewise.
4710 (_IO_default_imbue): Likewise.
4711 (_IO_iter_next): Likewise.
4712 (_IO_iter_file): Likewise.
4713 * libio/getc.c (_IO_getc): Likewise.
4714 * libio/getwc.c (_IO_getwc): Likewise.
4715 * libio/iofclose.c (_IO_new_fclose): Likewise.
4716 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
4717 * libio/iofflush.c (_IO_fflush): Likewise.
4718 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
4719 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
4720 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
4721 * libio/iofgets.c (_IO_fgets): Likewise.
4722 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
4723 * libio/iofgetws.c (fgetws): Likewise.
4724 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4725 * libio/iofopen64.c (_IO_fopen64): Likewise.
4726 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4727 (_IO_cookie_write): Likewise.
4728 (_IO_cookie_seek): Likewise.
4729 (_IO_cookie_close): Likewise.
4730 (_IO_cookie_seekoff): Likewise.
4731 (_IO_old_cookie_seek): Likewise.
4732 * libio/iofputs.c (_IO_fputs): Likewise.
4733 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
4734 * libio/iofputws.c (fputws): Likewise.
4735 * libio/iofputws_u.c (fputws_unlocked): Likewise.
4736 * libio/iofread.c (_IO_fread): Likewise.
4737 * libio/iofread_u.c (__fread_unlocked): Likewise.
4738 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
4739 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
4740 * libio/ioftell.c (_IO_ftell): Likewise.
4741 * libio/iofwrite.c (_IO_fwrite): Likewise.
4742 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4743 * libio/iogets.c (_IO_gets): Likewise.
4744 * libio/iopadn.c (_IO_padn): Likewise.
4745 * libio/iopopen.c (_IO_new_proc_open): Likewise.
4746 (_IO_new_popen): Likewise.
4747 (_IO_new_proc_close): Likewise.
4748 * libio/ioputs.c (_IO_puts): Likewise.
4749 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
4750 (_IO_seekoff): Likewise.
4751 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
4752 (_IO_seekpos): Likewise.
4753 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
4754 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4755 * libio/ioungetc.c (_IO_ungetc): Likewise.
4756 * libio/ioungetwc.c (ungetwc): Likewise.
4757 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4758 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
4759 * libio/iowpadn.c (_IO_wpadn): Likewise.
4760 * libio/libc_fatal.c (__libc_fatal): Likewise.
4761 * libio/memstream.c (__open_memstream): Likewise.
4762 (_IO_mem_sync): Likewise.
4763 (_IO_mem_finish): Likewise.
4764 * libio/oldfileops.c (_IO_old_file_init): Likewise.
4765 (_IO_old_file_close_it): Likewise.
4766 (_IO_old_file_finish): Likewise.
4767 (_IO_old_file_fopen): Likewise.
4768 (_IO_old_file_attach): Likewise.
4769 (_IO_old_file_setbuf): Likewise.
4770 (_IO_old_do_write): Likewise.
4771 (old_do_write): Likewise.
4772 (_IO_old_file_underflow): Likewise.
4773 (_IO_old_file_overflow): Likewise.
4774 (_IO_old_file_sync): Likewise.
4775 (_IO_old_file_seekoff): Likewise.
4776 (_IO_old_file_write): Likewise.
4777 (_IO_old_file_xsputn): Likewise.
4778 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4779 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4780 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
4781 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
4782 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4783 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
4784 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
4785 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
4786 (_IO_old_popen): Likewise.
4787 (_IO_old_proc_close): Likewise.
4788 * libio/oldpclose.c (__old_pclose): Likewise.
4789 * libio/pclose.c (__new_pclose): Likewise.
4790 * libio/peekc.c (_IO_peekc_locked): Likewise.
4791 * libio/putc.c (_IO_putc): Likewise.
4792 * libio/putc_u.c (putc_unlocked): Likewise.
4793 * libio/putchar.c (putchar): Likewise.
4794 * libio/putchar_u.c (putchar_unlocked): Likewise.
4795 * libio/putwc.c (putwc): Likewise.
4796 * libio/putwc_u.c (putwc_unlocked): Likewise.
4797 * libio/putwchar.c (putwchar): Likewise.
4798 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4799 * libio/rewind.c (rewind): Likewise.
4800 * libio/setbuf.c (setbuf): Likewise.
4801 * libio/setlinebuf.c (setlinebuf): Likewise.
4802 * libio/vasprintf.c (_IO_vasprintf): Likewise.
4803 * libio/vscanf.c (_IO_vscanf): Likewise.
4804 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
4805 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
4806 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
4807 * libio/wgenops.c (_IO_least_wmarker): Likewise.
4808 (_IO_switch_to_main_wget_area): Likewise.
4809 (_IO_switch_to_wbackup_area): Likewise.
4810 (_IO_wsetb): Likewise.
4811 (_IO_wdefault_pbackfail): Likewise.
4812 (_IO_wdefault_finish): Likewise.
4813 (_IO_wdefault_uflow): Likewise.
4814 (__woverflow): Likewise.
4815 (__wuflow): Likewise.
4816 (__wunderflow): Likewise.
4817 (_IO_wdefault_xsputn): Likewise.
4818 (_IO_wdefault_xsgetn): Likewise.
4819 (_IO_wdoallocbuf): Likewise.
4820 (_IO_wdefault_doallocate): Likewise.
4821 (_IO_switch_to_wget_mode): Likewise.
4822 (_IO_free_wbackup_area): Likewise.
4823 (_IO_switch_to_wput_mode): Likewise.
4824 (_IO_sputbackwc): Likewise.
4825 (_IO_sungetwc): Likewise.
4826 (_IO_adjust_wcolumn): Likewise.
4827 (_IO_init_wmarker): Likewise.
4828 (_IO_wmarker_delta): Likewise.
4829 (_IO_seekwmark): Likewise.
4830 (_IO_unsave_wmarkers): Likewise.
4831 * libio/wmemstream.c (open_wmemstream): Likewise.
4832 (_IO_wmem_sync): Likewise.
4833 (_IO_wmem_finish): Likewise.
4834 * locale/nl_langinfo.c (nl_langinfo): Likewise.
4835 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
4836 * locale/programs/simple-hash.c (init_hash): Likewise.
4837 (delete_hash): Likewise.
4838 (insert_entry): Likewise.
4839 (set_entry): Likewise.
4840 (next_prime): Likewise.
4841 (is_prime): Likewise.
4842 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
4843 (xmalloc): Likewise.
4844 (xrealloc): Likewise.
4845 * locale/programs/xstrdup.c (xstrdup): Likewise.
4846 * localedata/collate-test.c (xstrcoll): Likewise.
4847 * localedata/xfrm-test.c (xstrcmp): Likewise.
4848 * login/getlogin_r.c (__getlogin_r): Likewise.
4849 * login/getpt.c (__posix_openpt): Likewise.
4850 * login/login_tty.c (login_tty): Likewise.
4851 * login/setlogin.c (setlogin): Likewise.
4852 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
4853 (mach_msg_destroy_port): Likewise.
4854 (mach_msg_destroy_memory): Likewise.
4855 * malloc/mcheck.c (flood): Likewise.
4856 * misc/acct.c (acct): Likewise.
4857 * misc/brk.c (__brk): Likewise.
4858 * misc/chflags.c (chflags): Likewise.
4859 * misc/chroot.c (chroot): Likewise.
4860 * misc/fchflags.c (fchflags): Likewise.
4861 * misc/fstab.c (getfsspec): Likewise.
4862 (getfsfile): Likewise.
4863 * misc/fsync.c (fsync): Likewise.
4864 * misc/ftruncate.c (__ftruncate): Likewise.
4865 * misc/ftruncate64.c (__ftruncate64): Likewise.
4866 * misc/getdomain.c (getdomainname): Likewise.
4867 (getdomainname): Likewise.
4868 * misc/gethostname.c (__gethostname): Likewise.
4869 * misc/getpass.c (getpass): Likewise.
4870 * misc/getttyent.c (skip): Likewise.
4871 (value): Likewise.
4872 * misc/gtty.c (gtty): Likewise.
4873 * misc/hsearch.c (hsearch): Likewise.
4874 (hcreate): Likewise.
4875 * misc/hsearch_r.c (__hcreate_r): Likewise.
4876 (__hdestroy_r): Likewise.
4877 * misc/ioctl.c (__ioctl): Likewise.
4878 * misc/mkdtemp.c (mkdtemp): Likewise.
4879 * misc/mkostemp.c (mkostemp): Likewise.
4880 * misc/mkostemp64.c (mkostemp64): Likewise.
4881 * misc/mkostemps.c (mkostemps): Likewise.
4882 * misc/mkostemps64.c (mkostemps64): Likewise.
4883 * misc/mkstemp.c (mkstemp): Likewise.
4884 * misc/mkstemp64.c (mkstemp64): Likewise.
4885 * misc/mkstemps.c (mkstemps): Likewise.
4886 * misc/mkstemps64.c (mkstemps64): Likewise.
4887 * misc/mktemp.c (__mktemp): Likewise.
4888 * misc/preadv.c (preadv): Likewise.
4889 * misc/preadv64.c (preadv64): Likewise.
4890 * misc/pwritev.c (pwritev): Likewise.
4891 * misc/pwritev64.c (pwritev64): Likewise.
4892 * misc/readv.c (__readv): Likewise.
4893 * misc/revoke.c (revoke): Likewise.
4894 * misc/setdomain.c (setdomainname): Likewise.
4895 * misc/setegid.c (setegid): Likewise.
4896 * misc/seteuid.c (seteuid): Likewise.
4897 * misc/sethostid.c (sethostid): Likewise.
4898 * misc/sethostname.c (sethostname): Likewise.
4899 * misc/setregid.c (__setregid): Likewise.
4900 * misc/setreuid.c (__setreuid): Likewise.
4901 * misc/sstk.c (sstk): Likewise.
4902 * misc/stty.c (stty): Likewise.
4903 * misc/syscall.c (syscall): Likewise.
4904 * misc/syslog.c (setlogmask): Likewise.
4905 * misc/truncate.c (__truncate): Likewise.
4906 * misc/truncate64.c (truncate64): Likewise.
4907 * misc/ualarm.c (ualarm): Likewise.
4908 * misc/usleep.c (usleep): Likewise.
4909 * misc/ustat.c (ustat): Likewise.
4910 * misc/writev.c (__writev): Likewise.
4911 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
4912 * nptl/old_pthread_cond_broadcast.c
4913 (__pthread_cond_broadcast_2_0): Likewise.
4914 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
4915 Likewise.
4916 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
4917 Likewise.
4918 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
4919 Likewise.
4920 * nptl/pt-raise.c (raise): Likewise.
4921 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
4922 Likewise.
4923 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
4924 * nptl/pthread_barrierattr_destroy.c
4925 (pthread_barrierattr_destroy): Likewise.
4926 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
4927 Likewise.
4928 * nptl/pthread_barrierattr_setpshared.c
4929 (pthread_barrierattr_setpshared): Likewise.
4930 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4931 Likewise.
4932 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
4933 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4934 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
4935 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
4936 Likewise.
4937 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
4938 Likewise.
4939 * nptl/pthread_condattr_getpshared.c
4940 (pthread_condattr_getpshared): Likewise.
4941 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
4942 Likewise.
4943 * nptl/pthread_condattr_setpshared.c
4944 (pthread_condattr_setpshared): Likewise.
4945 * nptl/pthread_detach.c (pthread_detach): Likewise.
4946 * nptl/pthread_equal.c (__pthread_equal): Likewise.
4947 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
4948 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
4949 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
4950 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
4951 Likewise.
4952 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4953 Likewise.
4954 * nptl/pthread_mutex_getprioceiling.c
4955 (pthread_mutex_getprioceiling): Likewise.
4956 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
4957 Likewise.
4958 * nptl/pthread_mutexattr_getprotocol.c
4959 (pthread_mutexattr_getprotocol): Likewise.
4960 * nptl/pthread_mutexattr_getpshared.c
4961 (pthread_mutexattr_getpshared): Likewise.
4962 * nptl/pthread_mutexattr_getrobust.c
4963 (pthread_mutexattr_getrobust): Likewise.
4964 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4965 Likewise.
4966 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
4967 Likewise.
4968 * nptl/pthread_mutexattr_setprioceiling.c
4969 (pthread_mutexattr_setprioceiling): Likewise.
4970 * nptl/pthread_mutexattr_setprotocol.c
4971 (pthread_mutexattr_setprotocol): Likewise.
4972 * nptl/pthread_mutexattr_setpshared.c
4973 (pthread_mutexattr_setpshared): Likewise.
4974 * nptl/pthread_mutexattr_setrobust.c
4975 (pthread_mutexattr_setrobust): Likewise.
4976 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
4977 Likewise.
4978 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
4979 Likewise.
4980 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
4981 Likewise.
4982 * nptl/pthread_rwlockattr_getkind_np.c
4983 (pthread_rwlockattr_getkind_np): Likewise.
4984 * nptl/pthread_rwlockattr_getpshared.c
4985 (pthread_rwlockattr_getpshared): Likewise.
4986 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
4987 Likewise.
4988 * nptl/pthread_rwlockattr_setkind_np.c
4989 (pthread_rwlockattr_setkind_np): Likewise.
4990 * nptl/pthread_rwlockattr_setpshared.c
4991 (pthread_rwlockattr_setpshared): Likewise.
4992 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
4993 Likewise.
4994 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
4995 Likewise.
4996 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
4997 Likewise.
4998 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
4999 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
5000 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
5001 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
5002 * nptl/sem_close.c (sem_close): Likewise.
5003 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
5004 * nptl/sem_init.c (__old_sem_init): Likewise.
5005 * nptl/sigaction.c (__sigaction): Likewise.
5006 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
5007 * posix/_exit.c (_exit): Likewise.
5008 * posix/alarm.c (alarm): Likewise.
5009 * posix/confstr.c (confstr): Likewise.
5010 * posix/fpathconf.c (__fpathconf): Likewise.
5011 * posix/getgroups.c (__getgroups): Likewise.
5012 * posix/getpgid.c (__getpgid): Likewise.
5013 * posix/group_member.c (__group_member): Likewise.
5014 * posix/pathconf.c (__pathconf): Likewise.
5015 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
5016 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
5017 * posix/setgid.c (__setgid): Likewise.
5018 * posix/setpgid.c (__setpgid): Likewise.
5019 * posix/setuid.c (__setuid): Likewise.
5020 * posix/sleep.c (__sleep): Likewise.
5021 * posix/sysconf.c (__sysconf): Likewise.
5022 * posix/times.c (__times): Likewise.
5023 * posix/uname.c (__uname): Likewise.
5024 * posix/waitid.c (__waitid): Likewise.
5025 * pwd/getpw.c (__getpw): Likewise.
5026 * resolv/base64.c (b64_pton): Likewise.
5027 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
5028 * resolv/gethnamaddr.c (Dprintf): Likewise.
5029 (gethostbyname): Likewise.
5030 (gethostbyname2): Likewise.
5031 (gethostbyaddr): Likewise.
5032 (_sethtent): Likewise.
5033 (_gethtbyname): Likewise.
5034 (_gethtbyname2): Likewise.
5035 (_gethtbyaddr): Likewise.
5036 (map_v4v6_address): Likewise.
5037 (map_v4v6_hostent): Likewise.
5038 (addrsort): Likewise.
5039 (ht_sethostent): Likewise.
5040 (ht_gethostbyname): Likewise.
5041 (ht_gethostbyaddr): Likewise.
5042 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
5043 (inet_net_ntop_ipv4): Likewise.
5044 * resolv/inet_neta.c (inet_neta): Likewise.
5045 * resolv/inet_ntop.c (inet_ntop): Likewise.
5046 (inet_ntop4): Likewise.
5047 (inet_ntop6): Likewise.
5048 * resolv/inet_pton.c (__inet_pton): Likewise.
5049 (inet_pton4): Likewise.
5050 (inet_pton6): Likewise.
5051 * resolv/res_debug.c (loc_aton): Likewise.
5052 (loc_ntoa): Likewise.
5053 * resource/getpriority.c (__getpriority): Likewise.
5054 * resource/getrusage.c (__getrusage): Likewise.
5055 * resource/nice.c (nice): Likewise.
5056 * resource/setpriority.c (__setpriority): Likewise.
5057 * resource/setrlimit64.c (setrlimit64): Likewise.
5058 * resource/vlimit.c (vlimit): Likewise.
5059 * resource/vtimes.c (vtimes): Likewise.
5060 * rt/aio_error.c (aio_error): Likewise.
5061 * rt/aio_return.c (aio_return): Likewise.
5062 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
5063 * signal/kill.c (__kill): Likewise.
5064 * signal/killpg.c (killpg): Likewise.
5065 * signal/raise.c (raise): Likewise.
5066 * signal/sigaction.c (__sigaction): Likewise.
5067 * signal/sigaddset.c (sigaddset): Likewise.
5068 * signal/sigaltstack.c (sigaltstack): Likewise.
5069 * signal/sigandset.c (sigandset): Likewise.
5070 * signal/sigblock.c (__sigblock): Likewise.
5071 * signal/sigdelset.c (sigdelset): Likewise.
5072 * signal/sigempty.c (sigemptyset): Likewise.
5073 * signal/sigfillset.c (sigfillset): Likewise.
5074 * signal/sighold.c (sighold): Likewise.
5075 * signal/sigignore.c (sigignore): Likewise.
5076 * signal/sigintr.c (siginterrupt): Likewise.
5077 * signal/sigisempty.c (sigisemptyset): Likewise.
5078 * signal/sigismem.c (sigismember): Likewise.
5079 * signal/signal.c (signal): Likewise.
5080 * signal/sigorset.c (sigorset): Likewise.
5081 * signal/sigpause.c (__sigpause): Likewise.
5082 * signal/sigpending.c (sigpending): Likewise.
5083 * signal/sigprocmask.c (__sigprocmask): Likewise.
5084 * signal/sigrelse.c (sigrelse): Likewise.
5085 * signal/sigreturn.c (__sigreturn): Likewise.
5086 * signal/sigset.c (sigset): Likewise.
5087 * signal/sigsetmask.c (__sigsetmask): Likewise.
5088 * signal/sigstack.c (sigstack): Likewise.
5089 * signal/sigsuspend.c (__sigsuspend): Likewise.
5090 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
5091 * signal/sysv_signal.c (__sysv_signal): Likewise.
5092 * socket/accept.c (accept): Likewise.
5093 * socket/accept4.c (__libc_accept4): Likewise.
5094 * socket/bind.c (__bind): Likewise.
5095 * socket/connect.c (__connect): Likewise.
5096 * socket/getpeername.c (getpeername): Likewise.
5097 * socket/getsockname.c (__getsockname): Likewise.
5098 * socket/getsockopt.c (getsockopt): Likewise.
5099 * socket/listen.c (__listen): Likewise.
5100 * socket/recv.c (__recv): Likewise.
5101 * socket/recvmsg.c (__recvmsg): Likewise.
5102 * socket/send.c (__send): Likewise.
5103 * socket/sendmsg.c (__sendmsg): Likewise.
5104 * socket/shutdown.c (shutdown): Likewise.
5105 * socket/sockatmark.c (sockatmark): Likewise.
5106 * socket/socket.c (__socket): Likewise.
5107 * stdio-common/ctermid.c (ctermid): Likewise.
5108 * stdio-common/cuserid.c (cuserid): Likewise.
5109 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
5110 * stdio-common/remove.c (remove): Likewise.
5111 * stdio-common/rename.c (rename): Likewise.
5112 * stdio-common/renameat.c (renameat): Likewise.
5113 * stdio-common/tempname.c (__gen_tempname): Likewise.
5114 * stdio-common/xbug.c (InitBuffer): Likewise.
5115 (AppendToBuffer): Likewise.
5116 (ReadFile): Likewise.
5117 * stdlib/a64l.c (a64l): Likewise.
5118 * stdlib/drand48_r.c (drand48_r): Likewise.
5119 * stdlib/getcontext.c (getcontext): Likewise.
5120 * stdlib/getenv.c (getenv): Likewise.
5121 * stdlib/l64a.c (l64a): Likewise.
5122 * stdlib/llabs.c (llabs): Likewise.
5123 * stdlib/lldiv.c (lldiv): Likewise.
5124 * stdlib/lrand48_r.c (lrand48_r): Likewise.
5125 * stdlib/mrand48_r.c (mrand48_r): Likewise.
5126 * stdlib/putenv.c (putenv): Likewise.
5127 * stdlib/random.c (__srandom): Likewise.
5128 (__initstate): Likewise.
5129 (__setstate): Likewise.
5130 * stdlib/random_r.c (__srandom_r): Likewise.
5131 (__setstate_r): Likewise.
5132 (__random_r): Likewise.
5133 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
5134 * stdlib/setcontext.c (setcontext): Likewise.
5135 * stdlib/setenv.c (setenv): Likewise.
5136 (unsetenv): Likewise.
5137 * stdlib/srand48.c (srand48): Likewise.
5138 * stdlib/srand48_r.c (__srand48_r): Likewise.
5139 * stdlib/swapcontext.c (swapcontext): Likewise.
5140 * stdlib/system.c (__libc_system): Likewise.
5141 * stdlib/tst-strtod.c (expand): Likewise.
5142 * stdlib/tst-strtol.c (expand): Likewise.
5143 * stdlib/tst-strtoll.c (expand): Likewise.
5144 * streams/fattach.c (fattach): Likewise.
5145 * streams/fdetach.c (fdetach): Likewise.
5146 * streams/getmsg.c (getmsg): Likewise.
5147 * streams/isastream.c (isastream): Likewise.
5148 * string/ffs.c (__ffs): Likewise.
5149 * string/ffsll.c (ffsll): Likewise.
5150 * string/memcmp.c (memcmp_common_alignment): Likewise.
5151 (memcmp_not_common_alignment): Likewise.
5152 (MEMCMP): Likewise.
5153 * string/memcpy.c (memcpy): Likewise.
5154 * string/memmove.c (MEMMOVE): Likewise.
5155 * string/memset.c (memset): Likewise.
5156 * string/rawmemchr.c (RAWMEMCHR): Likewise.
5157 * string/strchrnul.c (STRCHRNUL): Likewise.
5158 * string/strerror.c (strerror): Likewise.
5159 * string/strndup.c (__strndup): Likewise.
5160 * string/strverscmp.c (__strverscmp): Likewise.
5161 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
5162 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
5163 (clnttcp_freeres): Likewise.
5164 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
5165 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
5166 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
5167 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
5168 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
5169 (xdr_callhdr): Likewise.
5170 * sunrpc/rpcinfo.c (udpping): Likewise.
5171 (tcpping): Likewise.
5172 (pstatus): Likewise.
5173 (pmapdump): Likewise.
5174 (brdcst): Likewise.
5175 (deletereg): Likewise.
5176 (getprognum): Likewise.
5177 (getvers): Likewise.
5178 (get_inet_address): Likewise.
5179 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
5180 * sunrpc/svc_udp.c (svcudp_create): Likewise.
5181 (svcudp_stat): Likewise.
5182 (svcudp_recv): Likewise.
5183 (svcudp_reply): Likewise.
5184 (svcudp_getargs): Likewise.
5185 (svcudp_freeargs): Likewise.
5186 (svcudp_destroy): Likewise.
5187 * sunrpc/xdr.c (xdr_bytes): Likewise.
5188 (xdr_netobj): Likewise.
5189 (xdr_string): Likewise.
5190 (xdr_wrapstring): Likewise.
5191 * sunrpc/xdr_float.c (xdr_float): Likewise.
5192 (xdr_double): Likewise.
5193 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
5194 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
5195 * sysvipc/ftok.c (ftok): Likewise.
5196 * sysvipc/msgctl.c (msgctl): Likewise.
5197 * sysvipc/msgget.c (msgget): Likewise.
5198 * sysvipc/msgrcv.c (msgrcv): Likewise.
5199 * sysvipc/msgsnd.c (msgsnd): Likewise.
5200 * sysvipc/semget.c (semget): Likewise.
5201 * sysvipc/semop.c (semop): Likewise.
5202 * sysvipc/shmat.c (shmat): Likewise.
5203 * sysvipc/shmctl.c (shmctl): Likewise.
5204 * sysvipc/shmdt.c (shmdt): Likewise.
5205 * sysvipc/shmget.c (shmget): Likewise.
5206 * termios/cfmakeraw.c (cfmakeraw): Likewise.
5207 * termios/speed.c (cfgetospeed): Likewise.
5208 (cfgetispeed): Likewise.
5209 (cfsetospeed): Likewise.
5210 (cfsetispeed): Likewise.
5211 * termios/tcflow.c (tcflow): Likewise.
5212 * termios/tcflush.c (tcflush): Likewise.
5213 * termios/tcgetattr.c (__tcgetattr): Likewise.
5214 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
5215 * termios/tcgetsid.c (tcgetsid): Likewise.
5216 * termios/tcsendbrk.c (tcsendbreak): Likewise.
5217 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
5218 * time/adjtime.c (__adjtime): Likewise.
5219 * time/dysize.c (dysize): Likewise.
5220 * time/ftime.c (ftime): Likewise.
5221 * time/getitimer.c (__getitimer): Likewise.
5222 * time/gettimeofday.c (__gettimeofday): Likewise.
5223 * time/gmtime.c (__gmtime_r): Likewise.
5224 (gmtime): Likewise.
5225 * time/localtime.c (__localtime_r): Likewise.
5226 (localtime): Likewise.
5227 * time/offtime.c (__offtime): Likewise.
5228 * time/settimeofday.c (__settimeofday): Likewise.
5229 * time/stime.c (stime): Likewise.
5230 * time/strftime_l.c (tm_diff): Likewise.
5231 (iso_week_days): Likewise.
5232 * time/strptime.c (strptime): Likewise.
5233 * time/time.c (time): Likewise.
5234 * time/timespec_get.c (timespec_get): Likewise.
5235 * time/tzset.c (tzset_internal): Likewise.
5236 (compute_change): Likewise.
5237 (__tz_compute): Likewise.
5238 * wcsmbs/btowc.c (__btowc): Likewise.
5239 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
5240 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
5241 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
5242 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
5243 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
5244 * wcsmbs/wcscat.c (__wcscat): Likewise.
5245 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5246 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
5247 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
5248 * wcsmbs/wcscspn.c (wcscspn): Likewise.
5249 * wcsmbs/wcsdup.c (wcsdup): Likewise.
5250 * wcsmbs/wcslen.c (__wcslen): Likewise.
5251 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
5252 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
5253 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
5254 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
5255 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5256 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
5257 * wcsmbs/wcsspn.c (wcsspn): Likewise.
5258 * wcsmbs/wcsstr.c (wcsstr): Likewise.
5259 * wcsmbs/wcstok.c (wcstok): Likewise.
5260 * wcsmbs/wctob.c (wctob): Likewise.
5261 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
5262 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5263 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
5264 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
5265 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
5266 * wcsmbs/wmemset.c (__wmemset): Likewise.
5267 * wctype/wcfuncs.c (__towlower): Likewise.
5268 (__towupper): Likewise.
5269
5270 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
5271 (lll_unlock_elision): Add adapt_count parameter.
5272
5273 2015-10-15 Joseph Myers <joseph@codesourcery.com>
5274
5275 * sysdeps/nptl/configure.ac: Do not give errors based on the
5276 results of top-level configure tests.
5277 * sysdeps/nptl/configure: Regenerated.
5278
5279 * configure.ac (libc_cv_Bgroup): Remove configure test.
5280 * configure: Regenerated.
5281 * config.make.in (have-Bgroup): Remove variable.
5282
5283 * configure.ac (sizeof_long_double): Remove configure test.
5284 * configure: Regenerated.
5285 * config.make.in (sizeof-long-double): Remove variable.
5286
5287 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
5288 * configure: Regenerated.
5289 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
5290 variable.
5291 (exceptions): Likewise.
5292 * sysdeps/arm/configure: Regenerated.
5293 * config.make.in (exceptions): Remove variable.
5294 * Makeconfig (uses-callbacks): Use -fexceptions instead of
5295 $(exceptions).
5296 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
5297 (CFLAGS-vdprintf_chk.c): Likewise.
5298 (CFLAGS-printf_chk.c): Likewise.
5299 (CFLAGS-fprintf_chk.c): Likewise.
5300 (CFLAGS-vprintf_chk.c): Likewise.
5301 (CFLAGS-vfprintf_chk.c): Likewise.
5302 (CFLAGS-gets_chk.c): Likewise.
5303 (CFLAGS-fgets_chk.c): Likewise.
5304 (CFLAGS-fgets_u_chk.c): Likewise.
5305 (CFLAGS-fread_chk.c): Likewise.
5306 (CFLAGS-fread_u_chk.c): Likewise.
5307 (CFLAGS-wprintf_chk.c): Likewise.
5308 (CFLAGS-fwprintf_chk.c): Likewise.
5309 (CFLAGS-vwprintf_chk.c): Likewise.
5310 (CFLAGS-vfwprintf_chk.c): Likewise.
5311 (CFLAGS-fgetws_chk.c): Likewise.
5312 (CFLAGS-fgetws_u_chk.c): Likewise.
5313 * libio/Makefile (CFLAGS-fileops.c): Likewise.
5314 (CFLAGS-fputc.c): Likewise.
5315 (CFLAGS-fputwc.c): Likewise.
5316 (CFLAGS-freopen64.c): Likewise.
5317 (CFLAGS-freopen.c): Likewise.
5318 (CFLAGS-fseek.c): Likewise.
5319 (CFLAGS-fseeko64.c): Likewise.
5320 (CFLAGS-fseeko.c): Likewise.
5321 (CFLAGS-ftello64.c): Likewise.
5322 (CFLAGS-ftello.c): Likewise.
5323 (CFLAGS-fwide.c): Likewise.
5324 (CFLAGS-genops.c): Likewise.
5325 (CFLAGS-getc.c): Likewise.
5326 (CFLAGS-getchar.c): Likewise.
5327 (CFLAGS-getwc.c): Likewise.
5328 (CFLAGS-getwchar.c): Likewise.
5329 (CFLAGS-iofclose.c): Likewise.
5330 (CFLAGS-iofflush.c): Likewise.
5331 (CFLAGS-iofgetpos64.c): Likewise.
5332 (CFLAGS-iofgetpos.c): Likewise.
5333 (CFLAGS-iofgets.c): Likewise.
5334 (CFLAGS-iofgetws.c): Likewise.
5335 (CFLAGS-iofputs.c): Likewise.
5336 (CFLAGS-iofputws.c): Likewise.
5337 (CFLAGS-iofread.c): Likewise.
5338 (CFLAGS-iofsetpos64.c): Likewise.
5339 (CFLAGS-iofsetpos.c): Likewise.
5340 (CFLAGS-ioftell.c): Likewise.
5341 (CFLAGS-iofwrite.c): Likewise.
5342 (CFLAGS-iogetdelim.c): Likewise.
5343 (CFLAGS-iogetline.c): Likewise.
5344 (CFLAGS-iogets.c): Likewise.
5345 (CFLAGS-iogetwline.c): Likewise.
5346 (CFLAGS-ioputs.c): Likewise.
5347 (CFLAGS-ioseekoff.c): Likewise.
5348 (CFLAGS-ioseekpos.c): Likewise.
5349 (CFLAGS-iosetbuffer.c): Likewise.
5350 (CFLAGS-iosetvbuf.c): Likewise.
5351 (CFLAGS-ioungetc.c): Likewise.
5352 (CFLAGS-ioungetwc.c): Likewise.
5353 (CFLAGS-oldfileops.c): Likewise.
5354 (CFLAGS-oldiofclose.c): Likewise.
5355 (CFLAGS-oldiofgetpos64.c): Likewise.
5356 (CFLAGS-oldiofgetpos.c): Likewise.
5357 (CFLAGS-oldiofsetpos64.c): Likewise.
5358 (CFLAGS-oldiofsetpos.c): Likewise.
5359 (CFLAGS-peekc.c): Likewise.
5360 (CFLAGS-putc.c): Likewise.
5361 (CFLAGS-putchar.c): Likewise.
5362 (CFLAGS-putwc.c): Likewise.
5363 (CFLAGS-putwchar.c): Likewise.
5364 (CFLAGS-rewind.c): Likewise.
5365 (CFLAGS-wfileops.c): Likewise.
5366 (CFLAGS-wgenops.c): Likewise.
5367 (CFLAGS-oldiofopen.c): Likewise.
5368 (CFLAGS-iofopen.c): Likewise.
5369 (CFLAGS-iofopen64.c): Likewise.
5370 (CFLAGS-oldtmpfile.c): Likewise.
5371 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
5372 (CFLAGS-fprintf.c): Likewise.
5373 (CFLAGS-printf.c): Likewise.
5374 (CFLAGS-vfwprintf.c): Likewise.
5375 (CFLAGS-vfscanf.c): Likewise.
5376 (CFLAGS-vfwscanf.c): Likewise.
5377 (CFLAGS-fscanf.c): Likewise.
5378 (CFLAGS-scanf.c): Likewise.
5379 (CFLAGS-isoc99_vfscanf.c): Likewise.
5380 (CFLAGS-isoc99_vscanf.c): Likewise.
5381 (CFLAGS-isoc99_fscanf.c): Likewise.
5382 (CFLAGS-isoc99_scanf.c): Likewise.
5383 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
5384 (CFLAGS-isoc99_fwscanf.c): Likewise.
5385 (CFLAGS-isoc99_vwscanf.c): Likewise.
5386 (CFLAGS-isoc99_vfwscanf.c): Likewise.
5387
5388 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
5389 after mkstemp64.
5390 * login/tst-utmp.c (do_prepare): Likewise.
5391 * rt/tst-aio.c (do_prepare): Likewise.
5392 * rt/tst-aio64.c (do_prepare): Likewise.
5393
5394 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5395
5396 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5397 (__lll_lock_elision): Remove adapt_count decrement...
5398 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5399 (__lll_trylock_elision): Likewise.
5400 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5401 (__lll_unlock_elision): ... to here. And utilize
5402 new adapt_count parameter.
5403 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
5404 (__lll_unlock_elision): Update to include adapt_count
5405 parameter.
5406 (lll_unlock_elision): Pass pointer to adapt_count
5407 variable.
5408
5409 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5410
5411 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
5412 Add elision adapt_count parameter to list of arguments.
5413 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
5414 (lll_unlock_elision): Update with new parameter list
5415 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
5416 (lll_unlock_elision): Likewise.
5417 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
5418 (lll_unlock_elision): Likewise.
5419
5420 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
5421
5422 [BZ #19122]
5423 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
5424 attribute_hidden.
5425
5426 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
5427 attribute_hidden.
5428 [IS_IN (rtld)] (__strdup): Likewise.
5429 [IS_IN (rtld)] (__strerror_r): Likewise.
5430 [IS_IN (rtld)] (__strsep_g): Likewise.
5431 [IS_IN (rtld)] (memchr): Likewise.
5432 [IS_IN (rtld)] (memcmp): Likewise.
5433 [IS_IN (rtld)] (memcpy): Likewise.
5434 [IS_IN (rtld)] (memmove): Likewise.
5435 [IS_IN (rtld)] (memset): Likewise.
5436 [IS_IN (rtld)] (rawmemchr): Likewise.
5437 [IS_IN (rtld)] (stpcpy): Likewise.
5438 [IS_IN (rtld)] (strchr): Likewise.
5439 [IS_IN (rtld)] (strcmp): Likewise.
5440 [IS_IN (rtld)] (strlen): Likewise.
5441 [IS_IN (rtld)] (strnlen): Likewise.
5442 [IS_IN (rtld)] (strsep): Likewise.
5443
5444 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
5445 attribute_hidden.
5446 [IS_IN (rtld)] (__strtoul_internal): Likewise.
5447
5448 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
5449 attribute_hidden.
5450 [IS_IN (rtld)] (__libc_sigaction): Likewise.
5451
5452 * include/setjmp.h (__longjmp): Add attribute_hidden.
5453 [IS_IN (rtld)] (__sigsetjmp): Likewise.
5454
5455 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
5456 Add attribute_hidden.
5457
5458 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
5459 [IS_IN (rtld)] (__open): Likewise.
5460 [IS_IN (rtld)] (__fcntl): Likewise.
5461
5462 * include/dirent.h (__opendirat): Add attribute_hidden.
5463 (__getdents): Likewise.
5464 (__getdents64): Likewise.
5465 (__alloc_dir): Likewise.
5466 [IS_IN (rtld)] (__closedir): Likewise.
5467 [IS_IN (rtld)] (__fdopendir): Likewise.
5468 [IS_IN (rtld)] (__readdir): Likewise.
5469 [IS_IN (rtld)] (__readdir64): Likewise.
5470 [IS_IN (rtld)] (__rewinddir): Likewise.
5471
5472 * include/dlfcn.h (_dl_catch_error): Moved to ...
5473 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
5474 attribute_hidden.
5475
5476 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
5477 (_itoa_word): Likewise.
5478
5479 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
5480 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
5481 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
5482 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
5483 (_dl_higher_prime_number): Likewise.
5484 (_dl_debug_printf_c): Likewise.
5485 (_dl_signal_cerror): Likewise.
5486 (_dl_receive_error): Likewise.
5487 (_dl_reloc_bad_type): Likewise.
5488 (_dl_resolve_conflicts): Likewise.
5489 (_dl_check_all_versions): Likewise.
5490 (_dl_check_map_versions): Likewise.
5491 (_dl_sort_fini): Likewise.
5492 (_dl_debug_initialize): Likewise.
5493 (_dl_init_paths): Likewise.
5494 (_dl_show_auxv): Likewise.
5495 (_dl_next_ld_env_entry): Likewise.
5496 (_dl_important_hwcaps): Likewise.
5497 (_dl_load_cache_lookup): Likewise.
5498 (_dl_update_slotinfo): Likewise.
5499 (_dl_show_scope): Likewise.
5500
5501 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
5502 attribute_hidden.
5503 (_wordcopy_fwd_dest_aligned): Likewise.
5504 (_wordcopy_bwd_aligned): Likewise.
5505 (_wordcopy_bwd_dest_aligned): Likewise.
5506
5507 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
5508 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
5509 Likewise.
5510 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
5511 Likewise.
5512 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
5513
5514 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
5515
5516 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
5517 GCC 5 requirement.
5518
5519 2015-10-15 Joseph Myers <joseph@codesourcery.com>
5520
5521 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
5522 test.
5523 * sysdeps/i386/configure: Regenerated.
5524 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
5525 code unconditional.
5526
5527 * configure.ac (libc_cv_asm_previous_directive): Remove configure
5528 test.
5529 (libc_cv_asm_popsection_directive): Likewise.
5530 * configure: Regenerated.
5531 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
5532 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
5533 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
5534 (__make_section_unallocated): Make definition unconditional.
5535 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
5536 Remove conditional definition.
5537 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
5538 (__make_section_unallocated): Likewise.
5539
5540 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
5541 * configure: Regenerated.
5542 * config.make.in (static-libgcc): Remove variable.
5543 * Makerules (build-shlib-helper): Use -static-libgcc instead of
5544 $(static-libgcc).
5545 (build-module-helper): Likewise.
5546
5547 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
5548 * configure: Regenerated.
5549
5550 2015-10-15 Florian Weimer <fweimer@redhat.com>
5551
5552 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
5553 (struct char_buffer): New type.
5554 (char_buffer_start, char_buffer_size, char_buffer_error)
5555 (char_buffer_rewind, char_buffer_add): New functions.
5556 (ADDW): Remove macro, replaced by the char_buffer_add function.
5557 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
5558 of extend_alloca. Make control flow more explicit.
5559
5560 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
5561
5562 [BZ #19137]
5563 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
5564 Add -fomit-frame-pointer.
5565 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
5566
5567 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
5568
5569 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
5570 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
5571 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
5572 only if !__GNUC_PREREQ (5,0).
5573 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
5574 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
5575 (INTERNAL_SYSCALL_NCS): Likewise.
5576 (LOADREGS_0): New macro for GCC 5.
5577 (ASMARGS_0): Likewise.
5578 (LOADREGS_1): Likewise.
5579 (ASMARGS_1): Likewise.
5580 (LOADREGS_2): Likewise.
5581 (ASMARGS_2): Likewise.
5582 (LOADREGS_3): Likewise.
5583 (ASMARGS_3): Likewise.
5584 (LOADREGS_4): Likewise.
5585 (ASMARGS_4): Likewise.
5586 (LOADREGS_5): Likewise.
5587 (ASMARGS_5): Likewise.
5588 (LOADREGS_6): Likewise.
5589 (ASMARGS_6): Likewise.
5590
5591 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
5592
5593 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
5594 -fomit-frame-pointer.
5595 (CFLAGS-mmap64.c): Likewise.
5596 (CFLAGS-semtimedop.c): Likewise.
5597 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
5598 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
5599 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5600 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5601
5602 2015-10-15 Florian Weimer <fweimer@redhat.com>
5603
5604 [BZ #18928]
5605 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
5606 _dl_pointer_guard member.
5607 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
5608 initializer.
5609 (security_init): Always set up pointer guard.
5610 (process_envvars): Do not process LD_POINTER_GUARD.
5611
5612 2015-10-14 Joseph Myers <joseph@codesourcery.com>
5613
5614 [BZ #19134]
5615 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
5616 (.LC2): Likewise.
5617 (.LC3): Likewise.
5618 (__lround): Do not add 0.5 to integer or out-of-range arguments.
5619
5620 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
5621
5622 [BZ #19129]
5623 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
5624 r0 and r1.
5625
5626 2015-10-14 Namhyung Kim <namhyung@gmail.com>
5627
5628 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
5629
5630 2015-10-14 Carlos O'Donell <carlos@redhat.com>
5631
5632 * include/stap-probe.h: Fix macro definition formatting.
5633
5634 2015-10-14 Florian Weimer <fweimer@redhat.com>
5635
5636 [BZ #19074]
5637 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
5638 load and store num_ifs.
5639
5640 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
5641
5642 [BZ #18822]
5643 * sysdeps/unix/sysv/linux/sched_getaffinity.c
5644 (__sched_getaffinity_new): Add libc_hidden_proto and
5645 libc_hidden_def.
5646
5647 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
5648
5649 [BZ #19007]
5650 * scripts/localplt.awk: Also allow GOT references.
5651 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
5652 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
5653 with "+ REL R_386_GLOB_DAT".
5654 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
5655 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
5656
5657 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
5658
5659 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
5660 INLINE_SYSCALL_ERROR_RETURN_VALUE.
5661 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
5662 Likewise.
5663 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5664 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
5665 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
5666 INTERNAL_SYSCALLINTERNAL_SYSCALL and
5667 INLINE_SYSCALL_ERROR_RETURN_VALUE.
5668 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
5669 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5670 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
5671 Likewise.
5672 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5673
5674 2015-10-13 Joseph Myers <joseph@codesourcery.com>
5675
5676 [BZ #19125]
5677 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
5678 <math_private.h> and <stdint.h>.
5679 (__llround): Avoid conversions to and from long long int, and
5680 subtractions, where those might raise spurious exceptions.
5681 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
5682 <math_private.h> and <stdint.h>.
5683 (__llroundf): Avoid conversions to and from long long int, and
5684 subtractions, where those might raise spurious exceptions.
5685
5686 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
5687
5688 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
5689 INLINE_SYSCALL_ERROR_RETURN_VALUE.
5690 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5691 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
5692 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5693 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5694 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
5695 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
5696 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
5697 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5698 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5699 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5700 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
5701 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5702 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5703 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
5704 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
5705 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5706 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
5707 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
5708 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5709 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
5710 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
5711 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5712 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
5713 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5714 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
5715 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5716 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5717 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
5718 (__xstat64_conv): Likewise.
5719 (__xstat32_conv): Likewise.
5720
5721 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
5722
5723 * sysdeps/unix/sysv/linux/sysdep.h: New file.
5724 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
5725 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
5726 <sysdeps/unix/sysv/linux/sysdep.h>.
5727 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5728 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
5729 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
5730 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5731 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5732 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
5733 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
5734 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5735 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5738 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5739 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5740 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5741 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5742 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5743 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
5744 (sysdep-dl-routines): Add sysdep.
5745 [$(subdir) == nptl] (libpthread-routines): Likewise.
5746 [$(subdir) == rt] (librt-routines): Likewise.
5747 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
5748 PIC when branching to SYSCALL_ERROR_LABEL.
5749 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
5750 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
5751 <sysdeps/unix/sysv/linux/sysdep.h>.
5752 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
5753 (SYSCALL_ERROR_ERRNO): Removed.
5754 (SYSCALL_ERROR_HANDLER): Changed to empty.
5755 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
5756 (__syscall_error): New prototype.
5757 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
5758 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
5759
5760 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
5761
5762 [BZ #19124]
5763 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
5764 (_dl_runtime_resolve_avx512): Make it a hidden alias of
5765 _dl_runtime_resolve_avx.
5766 (_dl_runtime_profile_avx512): Make it a hidden alias of
5767 _dl_runtime_profile_avx.
5768
5769 2015-10-13 Joseph Myers <joseph@codesourcery.com>
5770
5771 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
5772 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
5773 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
5774 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
5775
5776 [BZ #16422]
5777 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
5778 New configure test.
5779 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
5780 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
5781 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
5782 <math_private.h> and <stdint.h>.
5783 (__llrint): Avoid conversions to long long int where those might
5784 raise spurious exceptions.
5785 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
5786 <math_private.h> and <stdint.h>.
5787 (__llrintf): Avoid conversions to long long int where those might
5788 raise spurious exceptions.
5789
5790 2015-10-12 Andreas Schwab <schwab@suse.de>
5791
5792 [BZ #18969]
5793 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
5794 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
5795 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
5796 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
5797 $(gen-locales).
5798 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
5799 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
5800 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
5801 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
5802 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
5803 $(gen-locales).
5804 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
5805 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
5806 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
5807 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
5808 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
5809 ($(objpfx)tst-ftell-active-handler.out)
5810 ($(objpfx)tst-ftell-append.out)
5811 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
5812 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
5813 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
5814 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
5815 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
5816 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
5817 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
5818 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
5819 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
5820 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
5821 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
5822 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
5823 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
5824 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
5825 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
5826 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
5827 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
5828 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
5829 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
5830 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
5831 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
5832 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
5833 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
5834 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
5835 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
5836 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
5837 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
5838 $(gen-locales).
5839 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
5840 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
5841 $(gen-locales).
5842 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
5843 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
5844 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
5845 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
5846 $(gen-locales).
5847 * libio/tst_wprintf2.c (main): Use explicit locale.
5848 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
5849
5850 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5851
5852 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
5853 __msg_sig_post.
5854 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
5855
5856 2015-10-09 Joseph Myers <joseph@codesourcery.com>
5857
5858 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5859 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5860
5861 * sysdeps/arm/libm-test-ulps: Regenerated.
5862
5863 [BZ #15470]
5864 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
5865
5866 [BZ #16399]
5867 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
5868 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
5869 and <fix-fp-int-convert-overflow.h>.
5870 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5871 FIX_DBL_LLONG_CONVERT_OVERFLOW.
5872 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
5873 and <fix-fp-int-convert-overflow.h>.
5874 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
5875 FIX_DBL_LLONG_CONVERT_OVERFLOW.
5876 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
5877 <fix-fp-int-convert-overflow.h>.
5878 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5879 FIX_DBL_LLONG_CONVERT_OVERFLOW.
5880 * sysdeps/ieee754/dbl-64/s_lround.c: Include
5881 <fix-fp-int-convert-overflow.h>.
5882 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
5883 FIX_DBL_LLONG_CONVERT_OVERFLOW.
5884 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
5885 and <fix-fp-int-convert-overflow.h>.
5886 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5887 FIX_DBL_LLONG_CONVERT_OVERFLOW.
5888 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
5889 <limits.h> and <fix-fp-int-convert-overflow.h>.
5890 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5891 FIX_DBL_LLONG_CONVERT_OVERFLOW.
5892 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
5893 and <fix-fp-int-convert-overflow.h>.
5894 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5895 FIX_DBL_LLONG_CONVERT_OVERFLOW.
5896 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
5897 and <fix-fp-int-convert-overflow.h>.
5898 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5899 FIX_DBL_LLONG_CONVERT_OVERFLOW.
5900 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
5901
5902 2015-10-09 Carlos O'Donell <carlos@redhat.com>
5903
5904 [BZ #18589]
5905 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
5906 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
5907 $(gen-locales).
5908
5909 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5910 Phil Blundell <pb@pbcl.net>
5911
5912 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
5913 * nptl/tst-cancel26.c: New file.
5914 * nptl/tst-cancel27.c: Likewise.
5915
5916 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
5917
5918 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
5919 __ILP32__ isn't defined.
5920 (lrint): Likewise.
5921 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
5922 (lrintf): Likewise.
5923 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
5924 (lrintl): Likewise.
5925 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
5926 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
5927 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
5928
5929 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5930
5931 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5932 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5933
5934 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
5935 file.
5936 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
5937 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5938
5939 2015-10-09 Joseph Myers <joseph@codesourcery.com>
5940
5941 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
5942 configure test.
5943 * sysdeps/i386/configure: Regenerated.
5944 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
5945 configure test.
5946 * sysdeps/x86_64/configure: Regenerated.
5947 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
5948 Make code unconditional.
5949
5950 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
5951 test.
5952 * sysdeps/i386/configure: Regenerated.
5953 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
5954 test.
5955 * sysdeps/x86_64/configure: Regenerated.
5956 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
5957 Make code unconditional.
5958 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5959 Likewise.
5960 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
5961 Likewise.
5962 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5963 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
5964 code unconditional.
5965 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5966 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
5967 code unconditional.
5968 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5969 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
5970 code unconditional.
5971 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
5972 code unconditional.
5973 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5974 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
5975 code unconditional.
5976 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5977 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
5978 code unconditional.
5979 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5980 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
5981 code unconditional.
5982 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5983 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
5984 code unconditional.
5985 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5986 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
5987
5988 [BZ #19095]
5989 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
5990 mantissa to long int before shifting left.
5991
5992 2015-10-08 Joseph Myers <joseph@codesourcery.com>
5993
5994 [BZ #19094]
5995 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
5996 <limits.h>.
5997 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5998 when result overflows but exception would not result from cast.
5999 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
6000 <limits.h>.
6001 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6002 when result overflows but exception would not result from cast.
6003 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
6004 <limits.h>.
6005 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6006 when result overflows but exception would not result from cast.
6007 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
6008 <limits.h>.
6009 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6010 when result overflows but exception would not result from cast.
6011 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
6012 <limits.h>.
6013 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6014 when result overflows but exception would not result from cast.
6015 * math/libm-test.inc (lrint_test_data): Add more tests.
6016 (llrint_test_data): Likewise.
6017
6018 2015-10-08 Roland McGrath <roland@hack.frob.com>
6019
6020 [BZ #18872]
6021 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
6022 Move out from under [$(run-built-tests) = yes] conditional.
6023 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
6024 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
6025
6026 2015-10-08 Carlos O'Donell <carlos@redhat.com>
6027
6028 [BZ #18589]
6029 * string/Makefile (tests): Add bug-strcoll2.
6030 (LOCALES): Add cs_CZ.UTF-8.
6031 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
6032
6033 [BZ #18589]
6034 * string/bug-strcoll2.c: New file.
6035 * locale/categories.def: Revert commit
6036 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
6037 * locale/langinfo.h: Likewise.
6038 * locale/localeinfo.h: Likewise.
6039 * locale/C-collate.c: Likewise.
6040 * locale/programs/ld-collate.c (collate_output): Likewise.
6041 * string/strcoll_l.c (STRDIFF): Likewise.
6042 (STRCOLL): Likewise.
6043 * wcsmbs/wcscoll_l.c: Likewise.
6044
6045 2015-10-08 Joseph Myers <joseph@codesourcery.com>
6046
6047 * math/libm-test.inc (lround_test_data): Do not expect the absence
6048 of "inexact" for some tests with non-integer arguments.
6049 (llround_test_data): Likewise.
6050
6051 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
6052 test.
6053 (libc_cv_cc_sse2avx): Likewise.
6054 * sysdeps/i386/configure: Regenerated.
6055 * sysdeps/i386/i686/multiarch/Makefile
6056 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
6057 [$(subdir) = math].
6058 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
6059 code unconditional.
6060 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6061 Likewise.
6062 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
6063 Likewise.
6064 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6065 Likewise.
6066 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
6067 test.
6068 (libc_cv_cc_sse2avx): Likewise.
6069 * sysdeps/x86_64/configure: Regenerated.
6070 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
6071 unconditional.
6072 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
6073 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
6074 unconditional.
6075 (_dl_runtime_profile)
6076 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
6077 conditional code.
6078 * sysdeps/x86_64/fpu/multiarch/Makefile
6079 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
6080 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6081 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6082 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6083 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6084 * sysdeps/x86_64/fpu/multiarch/e_log.c
6085 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6086 * sysdeps/x86_64/fpu/multiarch/s_atan.c
6087 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6088 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6089 Likewise.
6090 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6091 Likewise.
6092 * sysdeps/x86_64/fpu/multiarch/s_sin.c
6093 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6094 * sysdeps/x86_64/fpu/multiarch/s_tan.c
6095 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6096 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
6097 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
6098 (HAVE_SSE2AVX_SUPPORT): Likewise.
6099
6100 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
6101
6102 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
6103 instead of #pragma optimize.
6104
6105 2015-10-07 Carlos O'Donell <carlos@redhat.com>
6106
6107 [BZ #17195]
6108 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
6109 as is similarly done in systrim and _int_free already.
6110
6111 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
6112
6113 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
6114
6115 2015-10-07 Joseph Myers <joseph@codesourcery.com>
6116
6117 [BZ #19088]
6118 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
6119 <limits.h>.
6120 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6121 overflows but exception would not result from cast.
6122 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
6123 and <limits.h>.
6124 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6125 overflows but exception would not result from cast.
6126 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
6127 <limits.h>.
6128 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6129 overflows but exception would not result from cast.
6130 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
6131 <limits.h>.
6132 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6133 overflows but exception would not result from cast.
6134 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
6135 <limits.h>.
6136 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6137 overflows but exception would not result from cast.
6138 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
6139 <limits.h>.
6140 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6141 overflows but exception would not result from cast.
6142 * math/libm-test.inc (lround_test_data): Add more tests.
6143 (llround_test_data): Likewise.
6144
6145 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
6146
6147 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
6148 (CFLAGS-ialloc.c): Ditto.
6149 (CFLAGS-scheck.c): Ditto.
6150
6151 2015-10-07 Carlos O'Donell <carlos@redhat.com>
6152
6153 [BZ #19086]
6154 * manual/filesys.texi (Storage Allocation): Fix argument order for
6155 posix_fallocate64.
6156
6157 2015-10-07 Joseph Myers <joseph@codesourcery.com>
6158
6159 [BZ #19085]
6160 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
6161 exponent below 48 inside case for non-overflowing exponent.
6162 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
6163
6164 2015-10-07 Florian Weimer <fweimer@redhat.com>
6165
6166 * iconvdata/cp737.h (from_idx): Add const.
6167 * iconvdata/cp775.h (from_idx): Likewise.
6168
6169 2015-10-07 Joseph Myers <joseph@codesourcery.com>
6170
6171 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
6172 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
6173 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
6174
6175 [BZ #19079]
6176 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
6177 file, conditioned on [!_LP64].
6178 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
6179 [!_LP64] (__lround): Do not define as function or alias.
6180 [!_LP64] (lround): Likewise.
6181 [!_LP64] (__lroundl): Likewise.
6182 [!_LP64] (lroundl): Likewise.
6183 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
6184 macro.
6185 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6186 Likewise.
6187
6188 2015-10-06 Joseph Myers <joseph@codesourcery.com>
6189
6190 * math/libm-test.inc (lrint_test_data): Add more tests.
6191 (llrint_test_data): Likewise.
6192 (lround_test_data): Likewise.
6193 (llround_test_data): Likewise.
6194
6195 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
6196 (llrint_test_data): Add tests used for lrint.
6197
6198 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
6199 test.
6200 * sysdeps/i386/configure: Regenerated.
6201 * sysdeps/i386/i686/multiarch/Makefile
6202 [$(config-cflags-sse4) = yes]: Make code unconditional.
6203 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6204 Likewise.
6205 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
6206 Likewise.
6207 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
6208 test.
6209 * sysdeps/x86_64/configure: Regenerated.
6210 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
6211 Make code unconditional.
6212 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6213 Likewise.
6214 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
6215 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
6216
6217 * scripts/rpm2dynsym.sh: Remove file.
6218
6219 2015-10-06 Florian Weimer <fweimer@redhat.com>
6220
6221 * configure.ac (libc_cv_cxx_thread_local): Define.
6222 * configure: Regenerate.
6223 * config.make.in (have-cxx-thread_local): Define.
6224 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
6225 (LDLIBS-tst-thread_local1): Define.
6226 (tests): Add tst-thread_local1.
6227 [have-cxx-thread_local != yes] (tests-unsupported): Add
6228 tst-thread_local1.
6229 * nptl/tst-thread_local1.cc: New file.
6230
6231 2015-10-06 Joseph Myers <joseph@codesourcery.com>
6232
6233 [BZ #19078]
6234 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
6235 (u_thres): Likewise.
6236 (__expl): Determine whether to call __kernel_standard_l based on
6237 value of result, not argument.
6238
6239 * math/libm-test.inc (scalb_test_data): Add more expectations for
6240 the "inexact" exception.
6241
6242 [BZ #19077]
6243 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
6244 0.0L for argument 1.0L.
6245
6246 [BZ #19076]
6247 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
6248 constant 0.0L when computing infinite result.
6249
6250 2015-10-06 Florian Weimer <fweimer@redhat.com>
6251
6252 [BZ #10432]
6253 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
6254 malloc_usable_size.
6255
6256 2015-10-06 Florian Weimer <fweimer@redhat.com>
6257
6258 [BZ #19018]
6259 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6260 Mangle function pointer before storing it.
6261 (__call_tls_dtors): Demangle function pointer before calling it.
6262
6263 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6264
6265 [BZ #19012]
6266 * iconv/gconv_db.c (gen_steps): Check for additional errors.
6267 Clean up on failure.
6268
6269 2015-10-05 Joseph Myers <joseph@codesourcery.com>
6270
6271 [BZ #19071]
6272 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
6273 long int variable to store possibly incremented high part of
6274 mantissa.
6275 * math/libm-test.inc (lround_test_data): Add tests used for
6276 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
6277 for tests requiring 64-bit long. Do not condition tests on
6278 [TEST_FLOAT] unnecessarily.
6279 (llround_test_data): Add tests used for lround. Add another
6280 expectation for the "inexact" exception. Do not condition tests
6281 on [TEST_FLOAT] unnecessarily.
6282
6283 [BZ #887]
6284 [BZ #19049]
6285 [BZ #19050]
6286 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
6287 * sysdeps/ieee754/dbl-64/e_log10.c: Include
6288 <fix-int-fp-convert-zero.h>.
6289 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6290 * sysdeps/ieee754/dbl-64/e_log2.c: Include
6291 <fix-int-fp-convert-zero.h>.
6292 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6293 * sysdeps/ieee754/dbl-64/s_erf.c: Include
6294 <fix-int-fp-convert-zero.h>.
6295 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6296 * sysdeps/ieee754/dbl-64/s_logb.c: Include
6297 <fix-int-fp-convert-zero.h>.
6298 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6299 * sysdeps/ieee754/flt-32/e_log10f.c: Include
6300 <fix-int-fp-convert-zero.h>.
6301 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6302 * sysdeps/ieee754/flt-32/e_log2f.c: Include
6303 <fix-int-fp-convert-zero.h>.
6304 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6305 * sysdeps/ieee754/flt-32/s_erff.c: Include
6306 <fix-int-fp-convert-zero.h>.
6307 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6308 * sysdeps/ieee754/flt-32/s_logbf.c: Include
6309 <fix-int-fp-convert-zero.h>.
6310 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6311 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
6312 <fix-int-fp-convert-zero.h>.
6313 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6314 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
6315 <fix-int-fp-convert-zero.h>.
6316 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6317 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
6318 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
6319 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
6320 file.
6321 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
6322
6323 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
6324
6325 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6326
6327 2015-10-02 Joseph Myers <joseph@codesourcery.com>
6328
6329 [BZ #19059]
6330 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
6331 overflowing computation.
6332 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6333 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6334 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6335 Likewise.
6336 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6337 Likewise.
6338 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
6339 Likewise.
6340 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6341 Likewise.
6342 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6343 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6344 Likewise.
6345 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6346 Likewise.
6347 * math/libm-test.inc (nexttoward_test_data): Add more tests.
6348
6349 * nss/rewrite_field.c (__nss_rewrite_field): Use
6350 internal_function.
6351 * nss/valid_field.c (__nss_valid_field): Likewise.
6352 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
6353
6354 2015-10-02 Florian Weimer <fweimer@redhat.com>
6355
6356 [BZ #18724]
6357 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
6358 (__nss_invalid_field_characters, __nss_valid_field)
6359 (__nss_valid_list_field, __nss_rewrite_field): Declare.
6360 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
6361 tst-field.c: New file.
6362 * nss/Makefile (routines): Add valid_field, rewrite_field.
6363 (tests-static): Define unconditionally.
6364 (tests): Include tests-static.
6365 [build-static-nss] (tests-static): Use append.
6366 [build-static-nss] (tests): Remove modification.
6367 * nss/getent.c (print_group): Call putgrent. Report error.
6368 (print_gshadow): Call putsgent. Report error.
6369 (print_passwd): Call putpwent. Report error.
6370 (print_shadow): Call putspent. Report error.
6371 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
6372 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
6373 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
6374 name, password, directory, shell fields for valid syntax. Rewrite
6375 GECOS field to match syntax.
6376 * pwd/Makefile (tests): Add tst-putpwent.
6377 * pwd/tst-putpwent.c: New file.
6378 * grp/putgrent.c (putgrent): Convert to ISO function definition.
6379 Check grName, grpasswd, gr_mem fields for valid syntax.
6380 Change loop variable i to size_t.
6381 * grp/Makefile (tests): Add tst-putgrent.
6382 * grp/tst-putgrent.c: New file.
6383 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
6384 valid syntax.
6385 * shadow/Makefile (tests): Add tst-putspent.
6386 * shadow/tst-putspent.c: New file.
6387 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
6388 sg_mem fields for valid syntax.
6389 * gshadow/Makefile (tests): Add tst-putsgent.
6390 * gshadow/tst-putsgent.c: New file.
6391
6392 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6393
6394 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
6395 assembly instructions.
6396
6397 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6398
6399 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
6400 prefix from operands.
6401
6402 2015-10-01 Joseph Myers <joseph@codesourcery.com>
6403
6404 [BZ #16347]
6405 [BZ #19046]
6406 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
6407 <libc-internal.h>.
6408 (MAXLGM): Do not use diagnostic control macros.
6409 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
6410 threshold for ldbl-128ibm.
6411 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
6412 instead of multiplying by log then subtracting.
6413 * math/auto-libm-test-in: Add more tests of lgamma.
6414 * math/auto-libm-test-out: Regenerated.
6415
6416 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
6417 (TYPE_HEX_DIG): Likewise.
6418 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
6419 precisions when printing floating-point numbers.
6420 (check_float_internal): Likewise.
6421
6422 2015-09-30 Joseph Myers <joseph@codesourcery.com>
6423
6424 [BZ #16620]
6425 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
6426 of log (10) rounded downward to 48 bits.
6427 (log10_low): Use corresponding low part of log (10).
6428
6429 [BZ #19032]
6430 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
6431 compute result as (x - x) / (x - x) not as 0 / 0.
6432 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6433 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
6434
6435 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6436 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
6437 and expm1.
6438 * math/auto-libm-test-out: Regenerated.
6439 * math/libm-test.inc (acos_test_data): Add more tests.
6440 (asin_test_data): Likewise.
6441 (asinh_test_data): Likewise.
6442 (atan_test_data): Likewise.
6443 (atanh_test_data): Likewise.
6444 (atan2_test_data): Likewise.
6445 (cbrt_test_data): Likewise.
6446 (ceil_test_data): Likewise.
6447 (copysign_test_data): Likewise.
6448 (cos_test_data): Likewise.
6449 (cosh_test_data): Likewise.
6450 (erf_test_data): Likewise.
6451 (erfc_test_data): Likewise.
6452 (exp_test_data): Likewise.
6453 (exp10_test_data): Likewise.
6454 (exp2_test_data): Likewise.
6455 (expm1_test_data): Likewise.
6456 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6457
6458 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
6459
6460 [BZ #19006]
6461 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
6462 to ...
6463 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
6464 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
6465 to ...
6466 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
6467 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
6468 to ...
6469 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
6470 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
6471 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
6472 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
6473 to ...
6474 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
6475 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6476 Moved to ...
6477 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
6478 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6479 Moved to ...
6480 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
6481 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
6482 to ...
6483 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
6484 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6485 Moved to ...
6486 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
6487 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
6488 to ...
6489 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
6490 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
6491 Removed.
6492 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
6493 Likewise.
6494 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
6495 Likewise.
6496 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
6497 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
6498 Likewise.
6499 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6500 Likewise.
6501 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6502 Likewise.
6503 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6504 Likewise.
6505 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6506 Likewise.
6507 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
6508 Likewise.
6509 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
6510 Likewise.
6511 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
6512 Likewise.
6513 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
6514 Likewise.
6515 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
6516 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
6517 Likewise.
6518 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6519 Likewise.
6520 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6521 Likewise.
6522 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6523 Likewise.
6524 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
6525 Likewise.
6526 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6527 Replace ../i486/pthread_cond_timedwait.S with
6528 ../pthread_cond_timedwait.S.
6529
6530 2015-09-30 Joseph Myers <joseph@codesourcery.com>
6531
6532 * math/libm-test.inc (acos_test_data): Refine expectations for
6533 errno and "inexact" exceptions.
6534 (acosh_test_data): Likewise.
6535 (asin_test_data): Likewise.
6536 (asinh_test_data): Likewise.
6537 (atan_test_data): Likewise.
6538 (atanh_test_data): Likewise.
6539 (atan2_test_data): Likewise.
6540 (cbrt_test_data): Likewise.
6541 (ceil_test_data): Likewise.
6542 (copysign_test_data): Likewise.
6543 (cosh_test_data): Likewise.
6544 (erf_test_data): Likewise.
6545 (erfc_test_data): Likewise.
6546 (exp_test_data): Likewise.
6547 (exp10_test_data): Likewise.
6548 (exp2_test_data): Likewise.
6549 (expm1_test_data): Likewise.
6550 (fabs_test_data): Likewise.
6551 (floor_test_data): Likewise.
6552 (fma_test_data): Likewise.
6553 (fmax_test_data): Likewise.
6554 (fmin_test_data): Likewise.
6555 (fmod_test_data): Likewise.
6556 (fpclassify_test_data): Likewise.
6557 (frexp_test_data): Likewise.
6558 (hypot_test_data): Likewise.
6559 (ilogb_test_data): Likewise.
6560 (isgreater_test_data): Likewise.
6561 (isgreaterequal_test_data): Likewise.
6562 (isinf_test_data): Likewise.
6563 (isless_test_data): Likewise.
6564 (islessequal_test_data): Likewise.
6565 (islessgreater_test_data): Likewise.
6566 (isnan_test_data): Likewise.
6567 (isnormal_test_data): Likewise.
6568 (issignaling_test_data): Likewise.
6569 (isunordered_test_data): Likewise.
6570 (j0_test_data): Likewise.
6571 (j1_test_data): Likewise.
6572 (jn_test_data): Likewise.
6573 (lgamma_test_data): Likewise.
6574 (lrint_test_data): Likewise.
6575 (llrint_test_data): Likewise.
6576 (log_test_data): Likewise.
6577 (log10_test_data): Likewise.
6578 (log1p_test_data): Likewise.
6579 (log2_test_data): Likewise.
6580 (logb_test_data): Likewise.
6581 (lround_test_data): Likewise.
6582 (llround_test_data): Likewise.
6583 (modf_test_data): Likewise.
6584 (nearbyint_test_data): Likewise.
6585 (nextafter_test_data): Likewise.
6586 (nexttoward_test_data): Likewise.
6587 (pow_test_data): Likewise.
6588 (remainder_test_data): Likewise.
6589 (remquo_test_data): Likewise.
6590 (rint_test_data): Likewise.
6591 (round_test_data): Likewise.
6592 (signbit_test_data): Likewise.
6593 (sinh_test_data): Likewise.
6594 (sqrt_test_data): Likewise.
6595 (tanh_test_data): Likewise.
6596 (tgamma_test_data): Likewise.
6597 (trunc_test_data): Likewise.
6598 (y0_test_data): Likewise.
6599 (y1_test_data): Likewise.
6600 (yn_test_data): Likewise.
6601 (significand_test_data): Likewise.
6602
6603 2015-09-29 Carlos O'Donell <carlos@redhat.com>
6604
6605 * manual/filesys.texi (Storage Allocation): Document that
6606 posix_fallocate emulation fails when fd is open with O_WRONLY.
6607
6608 2015-09-28 Joseph Myers <joseph@codesourcery.com>
6609
6610 [BZ #19016]
6611 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
6612 allow more cases with X^2 + Y^2 >= 0.5.
6613 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
6614 normal element in sum instead of special-casing based on values of
6615 arguments.
6616 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
6617 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
6618 -1 as normal element in sum instead of special-casing based on
6619 values of arguments.
6620 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
6621 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
6622 (__x2y2m1): Update comment.
6623 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
6624 as normal element in sum instead of special-casing based on values
6625 of arguments.
6626 * math/s_clog.c (__clog): Handle more cases using log1p without
6627 hypot.
6628 * math/s_clog10.c (__clog10): Likewise.
6629 * math/s_clog10f.c (__clog10f): Likewise.
6630 * math/s_clog10l.c (__clog10l): Likewise.
6631 * math/s_clogf.c (__clogf): Likewise.
6632 * math/s_clogl.c (__clogl): Likewise.
6633 * math/auto-libm-test-in: Add more tests of clog and clog10.
6634 * math/auto-libm-test-out: Regenerated.
6635 * sysdeps/i386/fpu/libm-test-ulps: Update.
6636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6637
6638 2015-09-28 Martin Sebor <msebor@redhat.com>
6639
6640 [BZ #18969]
6641 * string/Makefile (LOCALES): Define.
6642 (gen-locales.mk): Include.
6643 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
6644 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
6645 * string/tst-strxfrm2.c (do_test): Print the name of the locale
6646 on setlocale failure.
6647
6648 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6649
6650 [BZ #18985]
6651 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
6652 (__strftime_internal): Likewise.
6653 * time/tst-strftime.c (do_bz18985): New test.
6654 (do_test): Call it.
6655
6656 2015-09-26 Joseph Myers <joseph@codesourcery.com>
6657
6658 [BZ #18956]
6659 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
6660 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
6661 extracting high part.
6662 * math/auto-libm-test-in: Add another test of pow.
6663 * math/auto-libm-test-out: Regenerated.
6664 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6665
6666 2015-09-25 Joseph Myers <joseph@codesourcery.com>
6667
6668 [BZ #18825]
6669 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
6670 New macro.
6671 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
6672 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6673 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
6674 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
6675 DBL_NARROW_EVAL, reloading the PIC register as needed.
6676 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
6677 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
6678 FLT_NARROW_EVAL. Use separate return path for case when first
6679 argument is NaN.
6680 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
6681 DEFINE_LDBL_MIN.
6682 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
6683 PIC register.
6684 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
6685 math_check_force_underflow_nonneg.
6686 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
6687 underflow for subnormal result.
6688 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6689 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
6690 math_check_force_underflow_nonneg.
6691 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
6692 math_check_force_underflow.
6693 * sysdeps/x86_64/fpu/x86_64-math-asm.h
6694 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
6695 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
6696 DEFINE_LDBL_MIN.
6697 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
6698 * math/auto-libm-test-in: Add more tests of pow.
6699 * math/auto-libm-test-out: Regenerated.
6700
6701 2015-09-25 Florian Weimer <fweimer@redhat.com>
6702
6703 * nss/bug17079.c (init_test_items): Add diagnostic for
6704 inconsistent entries.
6705 (test_buffer_size): Skip inconsistent entries.
6706
6707 2015-09-25 Joseph Myers <joseph@codesourcery.com>
6708
6709 [BZ #13304]
6710 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
6711 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
6712 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
6713
6714 [BZ #13304]
6715 * sysdeps/microblaze/s_fma.c: New file.
6716 * sysdeps/microblaze/s_fmaf.c: Likewise.
6717 * sysdeps/microblaze/sfp-machine.h: Likewise.
6718
6719 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
6720
6721 [BZ #17250]
6722 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
6723 member.
6724
6725 2015-09-24 Joseph Myers <joseph@codesourcery.com>
6726
6727 [BZ #18803]
6728 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
6729 (MO): New macro.
6730 (__ieee754_hypot) [PIC]: Load PIC register.
6731 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
6732 DBL_NARROW_EVAL.
6733 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
6734 math_check_force_underflow_nonneg in case where result might be
6735 tiny.
6736 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6737 Likewise.
6738 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6739 Likewise.
6740 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
6741 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
6742 * math/auto-libm-test-in: Add more tests of hypot.
6743 * math/auto-libm-test-out: Regenerated.
6744
6745 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
6746
6747 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
6748
6749 2015-09-24 Joseph Myers <joseph@codesourcery.com>
6750
6751 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
6752 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
6753 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6754 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6755 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
6756 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6757 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6758
6759 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
6760 LOAD_PIC_REG.
6761
6762 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
6763 (FLT_CHECK_FORCE_UFLOW): Likewise.
6764 (DBL_CHECK_FORCE_UFLOW): Likewise.
6765 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
6766 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
6767 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
6768 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6769 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6770 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6771 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6772 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6773 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
6774 (dbl_min): Replace with use of DEFINE_DBL_MIN.
6775 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
6776 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
6777 (flt_min): Replace with use of DEFINE_FLT_MIN.
6778 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
6779 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
6780 (dbl_min): Replace with use of DEFINE_DBL_MIN.
6781 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
6782 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
6783 (flt_min): Replace with use of DEFINE_FLT_MIN.
6784 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
6785 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
6786 (dbl_min): Replace with use of DEFINE_DBL_MIN.
6787 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
6788 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
6789 (flt_min): Replace with use of DEFINE_FLT_MIN.
6790 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
6791 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
6792 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6793 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6794 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
6795 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6796 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6797 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
6798 (dbl_min): Replace with use of DEFINE_DBL_MIN.
6799 (__atan): Use DBL_CHECK_FORCE_UFLOW.
6800 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
6801 (flt_min): Replace with use of DEFINE_FLT_MIN.
6802 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
6803 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
6804 (dbl_min): Replace with use of DEFINE_DBL_MIN.
6805 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
6806 main computation.
6807 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
6808 (flt_min): Replace with use of DEFINE_FLT_MIN.
6809 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
6810 main computation.
6811 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
6812 (dbl_min): Replace with use of DEFINE_DBL_MIN.
6813 (MO): New macro.
6814 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
6815 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
6816 (flt_min): Replace with use of DEFINE_FLT_MIN.
6817 (MO): New macro.
6818 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
6819 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
6820 (__log1pl): Use MO.
6821
6822 [BZ #19003]
6823 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
6824 $(config-cflags-nofma).
6825
6826 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
6827
6828 * sysdeps/aarch64/libm-test-ulps: Regenerated.
6829
6830 2015-09-23 Joseph Myers <joseph@codesourcery.com>
6831
6832 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
6833 (TWO127): Likewise.
6834
6835 * sysdeps/generic/math_private.h (fabs_tg): New macro.
6836 (min_of_type): Likewise.
6837 (math_check_force_underflow): Likewise.
6838 (math_check_force_underflow_nonneg): Likewise.
6839 (math_check_force_underflow_complex): Likewise.
6840 * math/e_exp2l.c (__ieee754_exp2l): Use
6841 math_check_force_underflow_nonneg.
6842 * math/k_casinh.c (__kernel_casinh): Likewise.
6843 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6844 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6845 * math/s_catan.c (__catan): Use
6846 math_check_force_underflow_complex.
6847 * math/s_catanf.c (__catanf): Likewise.
6848 * math/s_catanh.c (__catanh): Likewise.
6849 * math/s_catanhf.c (__catanhf): Likewise.
6850 * math/s_catanhl.c (__catanhl): Likewise.
6851 * math/s_catanl.c (__catanl): Likewise.
6852 * math/s_ccosh.c (__ccosh): Likewise.
6853 * math/s_ccoshf.c (__ccoshf): Likewise.
6854 * math/s_ccoshl.c (__ccoshl): Likewise.
6855 * math/s_cexp.c (__cexp): Likewise.
6856 * math/s_cexpf.c (__cexpf): Likewise.
6857 * math/s_cexpl.c (__cexpl): Likewise.
6858 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
6859 * math/s_clog10.c (__clog10): Likewise.
6860 * math/s_clog10f.c (__clog10f): Likewise.
6861 * math/s_clog10l.c (__clog10l): Likewise.
6862 * math/s_clogf.c (__clogf): Likewise.
6863 * math/s_clogl.c (__clogl): Likewise.
6864 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
6865 * math/s_csinf.c (__csinf): Likewise.
6866 * math/s_csinh.c (__csinh): Likewise.
6867 * math/s_csinhf.c (__csinhf): Likewise.
6868 * math/s_csinhl.c (__csinhl): Likewise.
6869 * math/s_csinl.c (__csinl): Likewise.
6870 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
6871 * math/s_csqrtf.c (__csqrtf): Likewise.
6872 * math/s_csqrtl.c (__csqrtl): Likewise.
6873 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
6874 * math/s_ctanf.c (__ctanf): Likewise.
6875 * math/s_ctanh.c (__ctanh): Likewise.
6876 * math/s_ctanhf.c (__ctanhf): Likewise.
6877 * math/s_ctanhl.c (__ctanhl): Likewise.
6878 * math/s_ctanl.c (__ctanl): Likewise.
6879 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
6880 instead of volatile.
6881 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
6882 math_check_force_underflow.
6883 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6884 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
6885 volatile when forcing underflow.
6886 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6887 math_check_force_underflow_nonneg.
6888 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6889 Likewise.
6890 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
6891 math_check_force_underflow.
6892 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6893 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6894 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6895 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
6896 math_check_force_underflow_nonneg.
6897 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
6898 math_check_force_underflow.
6899 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
6900 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
6901 instead of volatile.
6902 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
6903 math_check_force_underflow.
6904 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6905 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6906 math_check_force_underflow_nonneg.
6907 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
6908 math_check_force_underflow.
6909 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
6910 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6911 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
6912 math_check_force_underflow_nonneg.
6913 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6914 Likewise.
6915 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
6916 math_check_force_underflow.
6917 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6918 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6919 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
6920 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
6921 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6922 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
6923 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
6924 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
6925 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6926 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
6927 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
6928 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
6929 Likewise.
6930 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
6931 math_check_force_underflow_nonneg.
6932 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6933 Likewise.
6934 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
6935 math_check_force_underflow.
6936 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6937 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
6938 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6939 Likewise.
6940 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
6941 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
6942 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
6943 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
6944 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
6945 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6946 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
6947 instead of volatile.
6948 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
6949 math_check_force_underflow.
6950 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
6951 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
6952 math_check_force_underflow.
6953 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
6954 Likewise.
6955 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6956 Use math_check_force_underflow_nonneg.
6957 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
6958 math_check_force_underflow.
6959 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6960 Likewise.
6961 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6962 Likewise.
6963 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6964 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6965 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6966 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6967 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
6968 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6969 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
6970 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
6971 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
6972 math_check_force_underflow_nonneg.
6973 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
6974 math_check_force_underflow.
6975 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6976 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
6977 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
6978 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
6979 math_check_force_underflow_nonneg.
6980 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
6981 math_check_force_underflow.
6982 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
6983 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
6984 instead of volatile.
6985 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
6986 math_check_force_underflow.
6987
6988 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
6989 * stdlib/strtod_l.c: Include <math_private.h>.
6990 (overflow_value): Use math_narrow_eval.
6991 (underflow_value): Likewise.
6992 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6993 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6994 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
6995 (__ieee754_gamma_r): Likewise.
6996 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
6997 Likewise.
6998 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6999 Likewise.
7000 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7001 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
7002 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
7003 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
7004 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7005 (__ieee754_gammaf_r): Likewise.
7006 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7007 Likewise.
7008 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7009 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
7010 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
7011 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
7012 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
7013 volatile.
7014 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
7015 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
7016 math_narrow_eval.
7017 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7018 Likewise.
7019 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7020 Likewise.
7021 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
7022 Likewise.
7023 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
7024 volatile.
7025 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
7026 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
7027 math_narrow_eval.
7028 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7029 Likewise.
7030 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7031 Likewise.
7032
7033 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
7034
7035 * nptl/Versions: Remove ignored symbols.
7036
7037 2015-09-22 Florian Weimer <fweimer@redhat.com>
7038
7039 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
7040 * nss/Makefile (tests): Update.
7041
7042 2015-09-22 Florian Weimer <fweimer@redhat.com>
7043
7044 * nss/bug18287.c: New file.
7045 * nss/Makefile (tests): Add bug18287.
7046
7047 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7048
7049 * mach/Versions (__mach_host_self_): Add symbol.
7050
7051 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
7052
7053 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
7054 vm_page_size.
7055
7056 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7057
7058 Really fix sysdeps/i386/fpu/s_scalbn.S build
7059
7060 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
7061 (libc: GLIBC_2_22): Remove unused version set.
7062
7063 2015-09-18 Mike Frysinger <vapier@gentoo.org>
7064
7065 * config.make.in (enable-timezone-tools): New variable.
7066 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
7067 (enable_timezone_tools): Export to generated files.
7068 * configure: Regenerate.
7069 * INSTALL: Regenerate.
7070 * manual/install.texi (--disable-timezone-tools): Document new flag.
7071 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
7072 ifeq ($(enable-timezone-tools),yes) check.
7073
7074 2015-09-18 Joseph Myers <joseph@codesourcery.com>
7075
7076 * timezone/Makefile: Revert previous change.
7077
7078 [BZ #18980]
7079 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
7080 (DEFINE_DBL_MIN): Likewise.
7081 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7082 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7083 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7084 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7085 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
7086 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7087 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7088 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
7089 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
7090 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7091 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7092 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
7093 (flt_min): Replace with use of DEFINE_FLT_MIN.
7094 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7095 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
7096 (dbl_min): Replace with use of DEFINE_DBL_MIN.
7097 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7098 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
7099 (flt_min): Replace with use of DEFINE_FLT_MIN.
7100 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7101 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
7102 (flt_min): Replace with use of DEFINE_FLT_MIN.
7103 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7104 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
7105 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
7106 (__ieee754_hypot): Use DBL_NARROW_EVAL.
7107 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
7108 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
7109 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
7110 (__ieee754_pow): Use DBL_NARROW_EVAL.
7111 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
7112 (__ieee754_powf): Use FLT_NARROW_EVAL.
7113 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
7114 (__ieee754_expf_sse2): Convert double-precision result to single
7115 precision.
7116 * sysdeps/i386/fpu/libm-test-ulps: Update.
7117
7118 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
7119
7120 * timezone/Makefile: Ignore unused variable errors due to private.h
7121 (time_t_min) and (time_t_max).
7122 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
7123 Likewise.
7124
7125 2015-09-18 Joseph Myers <joseph@codesourcery.com>
7126
7127 [BZ #18981]
7128 * sysdeps/i386/fpu/i386-math-asm.h: New file.
7129 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
7130 (__ieee754_scalb): Use DBL_NARROW_EVAL.
7131 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
7132 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
7133 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
7134 (__scalbn): Use DBL_NARROW_EVAL.
7135 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
7136 (__scalbnf): Use FLT_NARROW_EVAL.
7137
7138 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
7139
7140 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
7141 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
7142 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
7143 * stdio-common/printf_fp.c (___printf_fp):
7144 Use signbit to get the sign. Use isinf macro to allow inlining.
7145 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
7146 * stdio-common/printf_size.c (__printf_size): Likewise.
7147
7148 2015-09-18 Mike Frysinger <vapier@gentoo.org>
7149
7150 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
7151
7152 2015-09-18 Joseph Myers <joseph@codesourcery.com>
7153
7154 [BZ #18980]
7155 * sysdeps/generic/math_private.h: Include <float.h>.
7156 (math_narrow_eval): New macro.
7157 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
7158 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
7159 math_narrow_eval on overflowing return value.
7160 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
7161 Likewise.
7162 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7163 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
7164 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
7165 Likewise.
7166 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7167
7168 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
7169
7170 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
7171 * math/Makefile: Remove isinf_ns.c.
7172 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
7173 * math/multc3.c (__multc3): Likewise.
7174 * math/s_casin.c (__casin): Likewise.
7175 * math/s_casinf.c (__casinf): Likewise.
7176 * math/s_casinl.c (__casinl): Likewise.
7177 * math/s_cproj.c (__cproj): Likewise.
7178 * math/s_cprojf.c (__cprojf): Likewise.
7179 * math/s_cprojl.c (__cprofl): Likewise.
7180 * math/s_ctan.c (__ctan): Likewise.
7181 * math/s_ctanf.c (__ctanf): Likewise.
7182 * math/s_ctanh.c (__ctanh): Likewise.
7183 * math/s_ctanhf.c (__ctanhf): Likewise.
7184 * math/s_ctanhl.c (__ctanhl): Likewise.
7185 * math/s_ctanl.c (__ctanl): Likewise.
7186 * math/w_fmod.c (__fmod): Likewise.
7187 * math/w_fmodf.c (__fmodf): Likewise.
7188 * math/w_fmodl.c (_fmodl): Likewise.
7189 * math/w_remainder.c (__remainder): Likewise.
7190 * math/w_remainderf.c (__remainderf): Likewise.
7191 * math/w_remainderl.c (__remainderl): Likewise.
7192 * math/w_scalb.c (__scalb): Likewise.
7193 * math/w_scalbf.c (__scalbf): Likewise.
7194 * math/w_scalbl.c (__scalbl): Likewise.
7195 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
7196 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
7197 with isinf.
7198 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
7199 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
7200 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
7201 __isinf_nsf with isinf.
7202 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
7203 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
7204 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
7205 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
7206 with isinf.
7207 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
7208 __isinf_nsl with isinf.
7209 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
7210 with isinf.
7211 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
7212 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
7213 __isinf_nsl with isinf.
7214 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
7215 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
7216 with isinf.
7217
7218 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
7219
7220 * resolv/base64.c (rcsid): Remove unused static.
7221 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
7222 static. (tqpi1): Likewise.
7223 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
7224 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
7225 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
7226 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
7227 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
7228 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
7229 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
7230 * timezone/private.h (time_t_min): Likewise. (time_t_max):
7231 Likewise.
7232
7233 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
7234
7235 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
7236 <nptl/pthreadP.h>.
7237 (_longjmp_unwind): Use __libc_ptf_call.
7238 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
7239
7240 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
7241
7242 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
7243 * sysdeps/arm/__longjmp.S: Likewise.
7244
7245 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
7246
7247 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
7248 Use __builtin_signbit.
7249 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
7250 Use __builtin_signbitf.
7251 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
7252 Use __builtin_signbitl.
7253 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
7254 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
7255
7256 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
7257
7258 [BZ #15367]
7259 [BZ #17441]
7260
7261 * math/Makefile: Build test-snan.c with -fsignaling-nans.
7262 * math/math.h (fpclassify): Use __builtin_fpclassify when
7263 available. (signbit): Use __builtin_signbit(f/l).
7264 (isfinite): Use__builtin_isfinite. (isnormal): Use
7265 __builtin_isnormal. (isnan): Use __builtin_isnan.
7266 (isinf): Use __builtin_isinf_sign.
7267
7268 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
7269
7270 * benchtests/Makefile: Add bench-math-inlines, link with libm.
7271 * benchtests/bench-math-inlines.c: New benchmark.
7272 * benchtests/bench-util.h: New file.
7273 * benchtests/bench-util.c: New file.
7274 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
7275
7276 2015-09-18 Carlos O'Donell <carlos@redhat.com>
7277
7278 * elf/tst-dlmopen1.c: Define TEST_SO.
7279 (do_test): Use TEST_SO.
7280
7281 * elf/dl-load.c: Include libc-internal.h.
7282 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
7283
7284 2015-09-18 Vincent Bernat <vincent@bernat.im>
7285
7286 [BZ #17887]
7287 * time/strptime_l.c (__strptime_internal): Make %z accept
7288 [+-]HH:MM time zones.
7289
7290 2015-09-18 Vincent Bernat <vincent@bernat.im>
7291
7292 [BZ #17886]
7293 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
7294 valid time zone.
7295
7296 2015-09-17 Mike Frysinger <vapier@gentoo.org>
7297
7298 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
7299 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
7300 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7301 (__ASSUME_FDATASYNC): Delete.
7302
7303 2015-09-17 Joseph Myers <joseph@codesourcery.com>
7304
7305 * conform/linknamespace.pl: Require weak undefined symbols to be
7306 in the standard namespace.
7307 (%strong_syms): Rename to %seen_syms.
7308 (%strong_seen): Rename to %seen_where.
7309
7310 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
7311
7312 [BZ #18970]
7313 * misc/error.c (error): Replace pthread_setcancelstate with
7314 __pthread_setcancelstate.
7315 (error_at_line): Likewise.
7316 * posix/wordexp.c (parse_comm): Likewise.
7317 * stdlib/fmtmsg.c (fmtmsg): Likewise.
7318 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
7319 (__pthread_setcancelstate): This.
7320 (pthread_setcancelstate): Add an alias.
7321 * nptl/nptl-init.c (pthread_functions): Replace
7322 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
7323 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
7324 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
7325 hidden_proto.
7326 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
7327 it with hidden_def.
7328 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
7329 (pthread_setcancelstate): Renamed to ...
7330 (__pthread_setcancelstate): This.
7331 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
7332 __libc_ptf_call with __pthread_setcancelstate.
7333
7334 2015-09-17 Joseph Myers <joseph@codesourcery.com>
7335 Andreas Schwab <schwab@suse.de>
7336
7337 [BZ #17118]
7338 * math/s_ctan.c (__ctan): Determine sign of zero real part of
7339 result when imaginary part of argument is infinite using sine and
7340 cosine.
7341 * math/s_ctanf.c (__ctanf): Likewise.
7342 * math/s_ctanl.c (__ctanl): Likewise.
7343 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
7344 of result when real part of argument is infinite using sine and
7345 cosine.
7346 * math/s_ctanhf.c (__ctanhf): Likewise.
7347 * math/s_ctanhl.c (__ctanhl): Likewise.
7348 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
7349 (ctanh_test_data): Add more tests of ctanh.
7350
7351 2015-09-17 Joseph Myers <joseph@codesourcery.com>
7352
7353 [BZ #15384]
7354 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
7355 bit-mask as in subtraction.
7356 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
7357 Likewise.
7358 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
7359 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
7360 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
7361
7362 [BZ #18951]
7363 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
7364 underflow exception for small results.
7365 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7366 Likewise.
7367 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7368 Likewise.
7369 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7370 Likewise.
7371 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7372 Likewise.
7373 * math/auto-libm-test-in: Add more tests of tgamma.
7374 * math/auto-libm-test-out: Regenerated.
7375
7376 2015-09-17 Andreas Schwab <schwab@suse.de>
7377
7378 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
7379
7380 2015-09-16 Joseph Myers <joseph@codesourcery.com>
7381
7382 [BZ #18977]
7383 * math/bits/mathcalls.h
7384 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
7385 not declare.
7386 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
7387 Likewise.
7388 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
7389 Likewise.
7390 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
7391 Likewise.
7392 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
7393 Likewise.
7394 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
7395 Likewise.
7396 * conform/data/math.h-data
7397 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
7398 function.
7399 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
7400 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
7401 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
7402 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
7403 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
7404 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
7405 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
7406 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
7407 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
7408 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
7409 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
7410
7411 [BZ #6803]
7412 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
7413 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
7414 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
7415 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
7416 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
7417 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
7418 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
7419 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
7420 [NO_LONG_DOUBLE] (scalbnl): Likewise.
7421 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
7422 Likewise.
7423 [NO_LONG_DOUBLE] (scalbnl): Likewise.
7424 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
7425 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
7426 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
7427 long_double_symbol calls.
7428 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
7429 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
7430 strong alias of __ldexpl.
7431 (scalbnl): Define using long_double_symbol.
7432 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
7433 Remove alias.
7434 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
7435 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
7436 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
7437 (scalbln_test_data): Add more errno expectations.
7438
7439 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
7440
7441 Cache the host port like we cache the task port. This way we do not
7442 need to call the kernel just to get the port. Furthermore, we no
7443 longer increase the reference count on every invocation of
7444 `mach_host_self'.
7445
7446 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
7447 Protect declarations against the macro expansion.
7448 * mach/mach_init.c (__mach_host_self_): New variable.
7449 (mach_init): Initialize `__mach_host_self_'.
7450 * mach/mach_init.h (__mach_host_self_): New declaration.
7451 (__mach_host_self, mach_host_self): New macros.
7452 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
7453 Release reference.
7454
7455 2015-09-16 Joseph Myers <joseph@codesourcery.com>
7456
7457 [BZ #4404]
7458 * po/de.po: Update from Translation Project.
7459
7460 [BZ #16415]
7461 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
7462 (__expm1l): Remove code to handle positive infinity and overflow.
7463 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
7464 variable.
7465 (__expm1l): Remove code to handle positive infinity and overflow.
7466
7467 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
7468 Paul Pluzhnikov <ppluzhnikov@google.com>
7469
7470 [BZ #18872]
7471 * stdio-common/Makefile (tst-printf-bz18872): New test.
7472 (tst-printf-bz18872-mem.out): Likewise.
7473 * stdio-common/tst-printf-bz18872.sh: Generate new test.
7474 * stdio-common/vfprintf.c: Fix memory leaks.
7475
7476 2015-09-16 Andreas Schwab <schwab@suse.de>
7477
7478 [BZ #17244]
7479 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
7480 Remove extra va_start/va_end calls.
7481
7482 [BZ #17243]
7483 * posix/execl.c (execl): Add missing va_end.
7484 * posix/execle.c (execle): Likewise.
7485 * posix/execlp.c (execlp): Likewise.
7486
7487 2015-09-15 Roland McGrath <roland@hack.frob.com>
7488
7489 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
7490 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
7491
7492 2015-09-15 Joseph Myers <joseph@codesourcery.com>
7493
7494 [BZ #18967]
7495 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
7496 undefine around includes of <bits/mathcalls.h>.
7497 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
7498 not declare function.
7499 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
7500 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
7501 (scalb): Likewise.
7502 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
7503 not define macro.
7504 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
7505 variable.
7506 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7507 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7508 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7509
7510 [BZ #18857]
7511 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
7512 return non-finite argument without doing ordered comparisons on
7513 it.
7514
7515 [BZ #16296]
7516 * math/fenv.h (fegetround): Use __attribute_pure__.
7517 * include/fenv.h (__fegetround): Likewise.
7518
7519 [BZ #18595]
7520 * math/s_ctan.c (__ctan): Force underflow exception for results
7521 whose real or imaginary part has small absolute value.
7522 * math/s_ctanf.c (__ctanf): Likewise.
7523 * math/s_ctanh.c (__ctanh): Likewise.
7524 * math/s_ctanhf.c (__ctanhf): Likewise.
7525 * math/s_ctanhl.c (__ctanhl): Likewise.
7526 * math/s_ctanl.c (__ctanl): Likewise.
7527 * math/auto-libm-test-in: Do not allow missing underflow for ctan
7528 and ctanh. Add more tests of ctan and ctanh.
7529
7530 [BZ #15918]
7531 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
7532 handling of cases where one argument is an infinity.
7533
7534 [BZ #18875]
7535 [BZ #18966]
7536 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
7537 (MO): New macro.
7538 (__ieee754_exp10): For small results, force underflow exception
7539 and remove excess range and precision from return value.
7540 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
7541 (MO): New macro.
7542 (__ieee754_exp10f): For small results, force underflow exception
7543 and remove excess range and precision from return value.
7544 * math/auto-libm-test-in: Add more tests of exp10.
7545 * math/auto-libm-test-out: Regenerated.
7546
7547 2015-09-14 Joseph Myers <joseph@codesourcery.com>
7548
7549 [BZ #18875]
7550 [BZ #18961]
7551 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
7552 (MO): New macro.
7553 (__ieee754_exp): For small results, force underflow exception and
7554 remove excess range and precision from return value.
7555 (__exp_finite): Likewise.
7556 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
7557 (MO): New macro.
7558 (__ieee754_expf): For small results, force underflow exception and
7559 remove excess range and precision from return value.
7560 (__expf_finite): Likewise.
7561 * math/auto-libm-test-in: Add more tests of exp.
7562 * math/auto-libm-test-out: Regenerated.
7563
7564 [BZ #16521]
7565 [BZ #18875]
7566 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
7567 small results.
7568 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
7569 (MO): New macro.
7570 (__ieee754_exp2): For small results, force underflow exception and
7571 remove excess range and precision from return value.
7572 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
7573 (MO): New macro.
7574 (__ieee754_exp2f): For small results, force underflow exception
7575 and remove excess range and precision from return value.
7576 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
7577 (MO): New macro.
7578 (__ieee754_exp2l): Force underflow exception for small results.
7579 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7580 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7581 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
7582 (MO): New macro.
7583 (__ieee754_exp2l): Force underflow exception for small results.
7584 * math/auto-libm-test-in: Add more tests or exp2.
7585 * math/auto-libm-test-out: Regenerated.
7586
7587 2015-09-14 Carlos O'Donell <carlos@redhat.com>
7588
7589 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
7590
7591 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
7592 /dev/null.
7593
7594 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
7595
7596 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7597 io fs process)): Drop spurious backslash.
7598
7599 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7600
7601 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
7602 Use sysinfo system call instead of parsing /proc/meminfo.
7603 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
7604 Likewise.
7605
7606 2015-09-11 Mike Frysinger <vapier@gentoo.org>
7607
7608 [BZ #16985]
7609 * programs/localedef.c (main): Display argv[remaining] when
7610 output_path is NULL.
7611
7612 2015-09-11 Joseph Myers <joseph@codesourcery.com>
7613
7614 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7615 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
7616 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
7617 tanh.
7618 * math/auto-libm-test-out: Regenerated.
7619 * sysdeps/i386/fpu/libm-test-ulps: Update.
7620 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7621 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7623
7624 2015-09-11 Roland McGrath <roland@hack.frob.com>
7625
7626 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
7627 Use 'override' keyword to freeze the value here, preventing
7628 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
7629
7630 2015-09-11 Joseph Myers <joseph@codesourcery.com>
7631
7632 [BZ #14912]
7633 * sysdeps/aarch64/bits/atomic.h: Move to ...
7634 * sysdeps/aarch64/atomic-machine.h: ...here.
7635 (_AARCH64_BITS_ATOMIC_H): Rename macro to
7636 _AARCH64_ATOMIC_MACHINE_H.
7637 * sysdeps/alpha/bits/atomic.h: Move to ...
7638 * sysdeps/alpha/atomic-machine.h: ...here.
7639 * sysdeps/arm/bits/atomic.h: Move to ...
7640 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
7641 * bits/atomic.h: Move to ...
7642 * sysdeps/generic/atomic-machine.h: ...here.
7643 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7644 * sysdeps/i386/bits/atomic.h: Move to ...
7645 * sysdeps/i386/atomic-machine.h: ...here.
7646 * sysdeps/ia64/bits/atomic.h: Move to ...
7647 * sysdeps/ia64/atomic-machine.h: ...here.
7648 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
7649 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
7650 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7651 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
7652 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
7653 * sysdeps/microblaze/bits/atomic.h: Move to ...
7654 * sysdeps/microblaze/atomic-machine.h: ...here.
7655 * sysdeps/mips/bits/atomic.h: Move to ...
7656 * sysdeps/mips/atomic-machine.h: ...here.
7657 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
7658 * sysdeps/powerpc/bits/atomic.h: Move to ...
7659 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
7660 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
7661 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
7662 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
7663 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
7664 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
7665 <atomic-machine.h> instead of <bits/atomic.h>.
7666 * sysdeps/s390/bits/atomic.h: Move to ...
7667 * sysdeps/s390/atomic-machine.h: ...here.
7668 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
7669 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
7670 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7671 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
7672 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
7673 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
7674 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
7675 * sysdeps/tile/bits/atomic.h: Move to ...
7676 * sysdeps/tile/atomic-machine.h: ...here.
7677 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
7678 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
7679 <sysdeps/tile/atomic-machine.h> instead of
7680 <sysdeps/tile/bits/atomic.h>.
7681 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7682 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
7683 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
7684 <sysdeps/tile/atomic-machine.h> instead of
7685 <sysdeps/tile/bits/atomic.h>.
7686 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7687 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
7688 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
7689 <sysdeps/arm/atomic-machine.h> instead of
7690 <sysdeps/arm/bits/atomic.h>.
7691 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
7692 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
7693 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7694 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
7695 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
7696 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7697 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
7698 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
7699 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
7700 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
7701 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
7702 * sysdeps/x86_64/bits/atomic.h: Move to ...
7703 * sysdeps/x86_64/atomic-machine.h: ...here.
7704 * include/atomic.h: Include <atomic-machine.h> instead of
7705 <bits/atomic.h>.
7706
7707 * sysdeps/mips/mips32/libm-test-ulps: Update.
7708 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7709
7710 [BZ #18952]
7711 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
7712 not convert non-integer negative arguments to int to determine the
7713 value of signgam.
7714 * math/auto-libm-test-in: Add more tests of lgamma.
7715 * math/auto-libm-test-out: Regenerated.
7716
7717 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
7718 cosh, csqrt, erfc, expm1 and lgamma.
7719 * math/auto-libm-test-out: Regenerated.
7720 * sysdeps/i386/fpu/libm-test-ulps: Update.
7721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7722
7723 2015-09-10 Joseph Myers <joseph@codesourcery.com>
7724
7725 [BZ #2542]
7726 [BZ #2543]
7727 [BZ #2558]
7728 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
7729 __lgamma_neg for arguments from -28.0 to -2.0.
7730 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
7731 __lgamma_negf for arguments from -15.0 to -2.0.
7732 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7733 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
7734 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
7735 Call __lgamma_negl for arguments from -33.0 to -2.0.
7736 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
7737 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7738 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7739 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
7740 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7741 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7742 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7743 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
7744 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7745 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7746 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
7747 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
7748 (__lgamma_neg): Likewise.
7749 (__lgamma_negl): Likewise.
7750 (__lgamma_product): Likewise.
7751 (__lgamma_productl): Likewise.
7752 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
7753 * math/auto-libm-test-in: Add more tests of lgamma.
7754 * math/auto-libm-test-out: Regenerated.
7755 * sysdeps/i386/fpu/libm-test-ulps: Update.
7756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7757
7758 2015-09-09 Justin Maggard <jmaggard@netgear.com>
7759
7760 [BZ #18675]
7761 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
7762
7763 2015-09-08 Joseph Myers <joseph@codesourcery.com>
7764
7765 [BZ #14912]
7766 * bits/libc-lock.h: Move to ...
7767 * sysdeps/generic/libc-lock.h: ...here.
7768 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7769 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
7770 * sysdeps/mach/hurd/libc-lock.h: ...here.
7771 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7772 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
7773 * sysdeps/mach/bits/libc-lock.h: Move to ...
7774 * sysdeps/mach/libc-lock.h: ...here.
7775 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7776 * sysdeps/nptl/bits/libc-lock.h: Move to ...
7777 * sysdeps/nptl/libc-lock.h: ...here.
7778 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7779 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
7780 * sysdeps/nptl/libc-lockP.h: ...here.
7781 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
7782 * crypt/crypt_util.c: Include <libc-lock.h> instead of
7783 <bits/libc-lock.h>.
7784 * dirent/scandir-tail.c: Likewise.
7785 * dlfcn/dlerror.c: Likewise.
7786 * elf/dl-close.c: Likewise.
7787 * elf/dl-iteratephdr.c: Likewise.
7788 * elf/dl-lookup.c: Likewise.
7789 * elf/dl-open.c: Likewise.
7790 * elf/dl-support.c: Likewise.
7791 * elf/dl-writev.h: Likewise.
7792 * elf/rtld.c: Likewise.
7793 * grp/fgetgrent.c: Likewise.
7794 * gshadow/fgetsgent.c: Likewise.
7795 * gshadow/sgetsgent.c: Likewise.
7796 * iconv/gconv_conf.c: Likewise.
7797 * iconv/gconv_db.c: Likewise.
7798 * iconv/gconv_dl.c: Likewise.
7799 * iconv/gconv_int.h: Likewise.
7800 * iconv/gconv_trans.c: Likewise.
7801 * include/link.h: Likewise.
7802 * inet/getnameinfo.c: Likewise.
7803 * inet/getnetgrent.c: Likewise.
7804 * inet/getnetgrent_r.c: Likewise.
7805 * intl/bindtextdom.c: Likewise.
7806 * intl/dcigettext.c: Likewise.
7807 * intl/finddomain.c: Likewise.
7808 * intl/gettextP.h: Likewise.
7809 * intl/loadmsgcat.c: Likewise.
7810 * intl/localealias.c: Likewise.
7811 * intl/textdomain.c: Likewise.
7812 * libidn/idn-stub.c: Likewise.
7813 * libio/libioP.h: Likewise.
7814 * locale/duplocale.c: Likewise.
7815 * locale/freelocale.c: Likewise.
7816 * locale/newlocale.c: Likewise.
7817 * locale/setlocale.c: Likewise.
7818 * login/getutent_r.c: Likewise.
7819 * login/getutid_r.c: Likewise.
7820 * login/getutline_r.c: Likewise.
7821 * login/utmp-private.h: Likewise.
7822 * login/utmpname.c: Likewise.
7823 * malloc/mtrace.c: Likewise.
7824 * misc/efgcvt.c: Likewise.
7825 * misc/error.c: Likewise.
7826 * misc/fstab.c: Likewise.
7827 * misc/getpass.c: Likewise.
7828 * misc/mntent.c: Likewise.
7829 * misc/syslog.c: Likewise.
7830 * nis/nis_call.c: Likewise.
7831 * nis/nis_callback.c: Likewise.
7832 * nis/nss-default.c: Likewise.
7833 * nis/nss_compat/compat-grp.c: Likewise.
7834 * nis/nss_compat/compat-initgroups.c: Likewise.
7835 * nis/nss_compat/compat-pwd.c: Likewise.
7836 * nis/nss_compat/compat-spwd.c: Likewise.
7837 * nis/nss_nis/nis-alias.c: Likewise.
7838 * nis/nss_nis/nis-ethers.c: Likewise.
7839 * nis/nss_nis/nis-grp.c: Likewise.
7840 * nis/nss_nis/nis-hosts.c: Likewise.
7841 * nis/nss_nis/nis-network.c: Likewise.
7842 * nis/nss_nis/nis-proto.c: Likewise.
7843 * nis/nss_nis/nis-pwd.c: Likewise.
7844 * nis/nss_nis/nis-rpc.c: Likewise.
7845 * nis/nss_nis/nis-service.c: Likewise.
7846 * nis/nss_nis/nis-spwd.c: Likewise.
7847 * nis/nss_nisplus/nisplus-alias.c: Likewise.
7848 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
7849 * nis/nss_nisplus/nisplus-grp.c: Likewise.
7850 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7851 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
7852 * nis/nss_nisplus/nisplus-network.c: Likewise.
7853 * nis/nss_nisplus/nisplus-proto.c: Likewise.
7854 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
7855 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7856 * nis/nss_nisplus/nisplus-service.c: Likewise.
7857 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
7858 * nis/ypclnt.c: Likewise.
7859 * nptl/libc_pthread_init.c: Likewise.
7860 * nss/getXXbyYY.c: Likewise.
7861 * nss/getXXent.c: Likewise.
7862 * nss/getXXent_r.c: Likewise.
7863 * nss/nss_db/db-XXX.c: Likewise.
7864 * nss/nss_db/db-netgrp.c: Likewise.
7865 * nss/nss_db/nss_db.h: Likewise.
7866 * nss/nss_files/files-XXX.c: Likewise.
7867 * nss/nss_files/files-alias.c: Likewise.
7868 * nss/nsswitch.c: Likewise.
7869 * posix/regex_internal.h: Likewise.
7870 * posix/wordexp.c: Likewise.
7871 * pwd/fgetpwent.c: Likewise.
7872 * resolv/res_hconf.c: Likewise.
7873 * resolv/res_libc.c: Likewise.
7874 * shadow/fgetspent.c: Likewise.
7875 * shadow/lckpwdf.c: Likewise.
7876 * shadow/sgetspent.c: Likewise.
7877 * socket/opensock.c: Likewise.
7878 * stdio-common/reg-modifier.c: Likewise.
7879 * stdio-common/reg-printf.c: Likewise.
7880 * stdio-common/reg-type.c: Likewise.
7881 * stdio-common/vfprintf.c: Likewise.
7882 * stdio-common/vfscanf.c: Likewise.
7883 * stdlib/abort.c: Likewise.
7884 * stdlib/cxa_atexit.c: Likewise.
7885 * stdlib/fmtmsg.c: Likewise.
7886 * stdlib/random.c: Likewise.
7887 * stdlib/setenv.c: Likewise.
7888 * string/strsignal.c: Likewise.
7889 * sunrpc/auth_none.c: Likewise.
7890 * sunrpc/bindrsvprt.c: Likewise.
7891 * sunrpc/create_xid.c: Likewise.
7892 * sunrpc/key_call.c: Likewise.
7893 * sunrpc/rpc_thread.c: Likewise.
7894 * sysdeps/arm/backtrace.c: Likewise.
7895 * sysdeps/generic/ldsodefs.h: Likewise.
7896 * sysdeps/generic/stdio-lock.h: Likewise.
7897 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
7898 * sysdeps/i386/backtrace.c: Likewise.
7899 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7900 * sysdeps/m68k/backtrace.c: Likewise.
7901 * sysdeps/mach/hurd/cthreads.c: Likewise.
7902 * sysdeps/mach/hurd/dirstream.h: Likewise.
7903 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7904 * sysdeps/nptl/malloc-machine.h: Likewise.
7905 * sysdeps/nptl/stdio-lock.h: Likewise.
7906 * sysdeps/posix/dirstream.h: Likewise.
7907 * sysdeps/posix/getaddrinfo.c: Likewise.
7908 * sysdeps/posix/system.c: Likewise.
7909 * sysdeps/pthread/aio_suspend.c: Likewise.
7910 * sysdeps/s390/s390-32/backtrace.c: Likewise.
7911 * sysdeps/s390/s390-64/backtrace.c: Likewise.
7912 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7913 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7914 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
7915 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
7916 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
7917 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7918 * sysdeps/unix/sysv/linux/system.c: Likewise.
7919 * sysdeps/x86_64/backtrace.c: Likewise.
7920 * time/alt_digit.c: Likewise.
7921 * time/era.c: Likewise.
7922 * time/tzset.c: Likewise.
7923 * wcsmbs/wcsmbsload.c: Likewise.
7924 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
7925 instead of <bits/libc-lock.h> in comment.
7926
7927 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
7928
7929 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
7930 Only use .set mips2 if the current ISA is below mips2.
7931 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
7932 Likewise.
7933 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
7934 mips32r2 if the current ISA is below mips32r2.
7935 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
7936 (TLS_IE): Updated to use the TLD_RDHWR macro.
7937 (TLS_LE): Likewise.
7938 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
7939 __ASSEMBLER__ condition.
7940
7941 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7942
7943 Fix parallel build of before-compile targets.
7944
7945 * sysdeps/mach/Makefile ($(patsubst
7946 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
7947 mach-before-compile target.
7948 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7949 io fs process)): Move rule to dedicated hurd-before-compile target.
7950
7951 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7952
7953 Fix rules generating headers in hurd/ and mach/ when initial make call
7954 has subdir= explicitly set.
7955
7956 * sysdeps/mach/Makefile ($(patsubst
7957 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
7958 calling $(MAKE).
7959 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7960 io fs process)): Force subdir to hurd when calling $(MAKE).
7961 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
7962 subdir to mach when calling $(MAKE).
7963
7964 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
7965
7966 Check sysheaders when looking for Mach and Hurd headers
7967
7968 * sysdeps/mach/configure.ac: Add sysheaders check.
7969 * sysdeps/mach/configure: Regenerate.
7970 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
7971 * sysdeps/mach/hurd/configure: Regenerate.
7972
7973 2015-09-04 Roland McGrath <roland@hack.frob.com>
7974
7975 [BZ #18921]
7976 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
7977 Fix inverted sense of test of 'o_directory_works' value.
7978 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
7979 Bernhard Voelker <mail@bernhard-voelker.de>.
7980
7981 2015-09-04 Joseph Myers <joseph@codesourcery.com>
7982
7983 [BZ #14912]
7984 * bits/linkmap.h: Move to ...
7985 * sysdeps/generic/linkmap.h: ...here.
7986 * sysdeps/aarch64/bits/linkmap.h: Move to ...
7987 * sysdeps/aarch64/linkmap.h: ...here.
7988 * sysdeps/arm/bits/linkmap.h: Move to ...
7989 * sysdeps/arm/linkmap.h: ...here.
7990 * sysdeps/hppa/bits/linkmap.h: Move to ...
7991 * sysdeps/hppa/linkmap.h: ...here.
7992 * sysdeps/ia64/bits/linkmap.h: Move to ...
7993 * sysdeps/ia64/linkmap.h: ...here.
7994 * sysdeps/mips/bits/linkmap.h: Move to ...
7995 * sysdeps/mips/linkmap.h: ...here.
7996 * sysdeps/s390/bits/linkmap.h: Move to ...
7997 * sysdeps/s390/linkmap.h: ...here.
7998 * sysdeps/sh/bits/linkmap.h: Move to ...
7999 * sysdeps/sh/linkmap.h: ...here.
8000 * sysdeps/x86/bits/linkmap.h: Move to ...
8001 * sysdeps/x86/linkmap.h: ...here.
8002 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
8003
8004 2015-09-04 Andreas Schwab <schwab@suse.de>
8005
8006 [BZ #18635]
8007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
8008 (__makecontext): Terminate FDE before return label.
8009 (__novec_makecontext): Likewise.
8010
8011 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8012
8013 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
8014 first member of struct sv in syscall macro.
8015
8016 2015-09-04 Joseph Myers <joseph@codesourcery.com>
8017
8018 [BZ #14912]
8019 * bits/stdio-lock.h: Move to ...
8020 * sysdeps/generic/stdio-lock.h: ...here.
8021 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8022 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
8023 * sysdeps/nptl/stdio-lock.h: ...here.
8024 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8025 * include/libio.h: Include <stdio-lock.h> instead of
8026 <bits/stdio-lock.h>.
8027 * sysdeps/nptl/fork.c: Likewise.
8028 * sysdeps/pthread/flockfile.c: Likewise.
8029 * sysdeps/pthread/ftrylockfile.c: Likewise.
8030 * sysdeps/pthread/funlockfile.c: Likewise.
8031
8032 [BZ #14912]
8033 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
8034 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
8035 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
8036 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
8037 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
8038 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8039 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
8040
8041 2015-09-03 Roland McGrath <roland@hack.frob.com>
8042
8043 * elf/Makefile (test-xfail-tst-protected1a): New variable.
8044 (test-xfail-tst-protected1b): New variable.
8045
8046 2015-09-03 Joseph Myers <joseph@codesourcery.com>
8047
8048 [BZ #14912]
8049 * bits/libc-tsd.h: Move to ...
8050 * sysdeps/generic/libc-tsd.h: ...here.
8051 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
8052 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
8053 * sysdeps/mach/hurd/libc-tsd.h: ...here.
8054 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
8055 * include/ctype.h: Include <libc-tsd.h> instead of
8056 <bits/libc-tsd.h>.
8057 * include/rpc/rpc.h: Likewise.
8058 * locale/localeinfo.h: Likewise.
8059 * sunrpc/rpc_thread.c: Likewise.
8060 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8061 * sysdeps/nptl/malloc-machine.h: Likewise.
8062
8063 * Makefile (headers): Remove bits/libc-lock.h.
8064 * libio/Makefile (headers): Remove bits/stdio-lock.h.
8065
8066 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
8067 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
8068 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
8069 <bits/stdio-lock.h>.
8070 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
8071 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
8072
8073 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8074
8075 [BZ #18757]
8076 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
8077 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
8078 BZ #18757.
8079
8080 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8081
8082 * malloc/mtrace.pl: Filter out NULL entries.
8083
8084 2015-09-01 Joseph Myers <joseph@codesourcery.com>
8085
8086 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
8087 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
8088 macro.
8089
8090 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
8091 (TCP_CC_INFO): Likewise.
8092 (TCP_SAVE_SYN): Likewise.
8093 (TCP_SAVED_SYN): Likewise.
8094
8095 2015-08-31 Brett Neumeier <brett@neumeier.us>
8096
8097 [BZ #18870]
8098 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
8099
8100 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
8101
8102 [BZ #18873]
8103 Fix broken overflow check in posix_fallocate
8104 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
8105 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
8106 Fix parenthesization typo.
8107
8108 2015-08-28 Mike Frysinger <vapier@gentoo.org>
8109
8110 [BZ #18887]
8111 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
8112 tst-mntent-blank-passno.
8113 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
8114 * misc/tst-mntent-blank-corrupt.c: New test.
8115 * misc/tst-mntent-blank-passno.c: New test ripped from ...
8116 * misc/tst-mntent.c (do_test): ... here.
8117
8118 2015-08-29 Mike Frysinger <vapier@gentoo.org>
8119
8120 [BZ #4404]
8121 * po/de.po: Fix SIGALRM typo.
8122
8123 2015-08-28 James Perkins <james@loowit.net>
8124
8125 * time/tst-strptime2.c (tests): Replace short list of test
8126 strings for strptime %z specifier with code which exhaustively
8127 tests every combination of sign and 0 to 5 digits. Tests for
8128 rejection of invalid strings.
8129
8130 2015-08-28 James Perkins <james@loowit.net>
8131
8132 [BZ #16141]
8133 * time/strptime_l.c (__strptime_internal): Fix %z minutes
8134 calculation, removing incorrect decimal time rounding, so that
8135 all minute values result in a valid seconds value.
8136 * time/strptime_l.c (__strptime_internal): Extend %z time zone
8137 offset range limits to UTC-99:59 through UTC+99:59 to parse
8138 current and historical use cases.
8139 * time/tst-strptime2.c (tests): Modify and add tests for the
8140 strptime %z input field descriptor, specifically conversion of
8141 minutes to seconds and validating an offset range of -9959 to
8142 +9959.
8143
8144 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8145 Dmitry V. Levin <ldv@altlinux.org>
8146
8147 [BZ #18877]
8148 * posix/Makefile (tests): Add tst-mmap-offset.
8149 * posix/tst-mmap.c: New file.
8150 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
8151 offset calculation for negative values.
8152
8153 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
8154
8155 * sysdeps/i386/init-arch.h: New file.
8156 * sysdeps/i386/i586/init-arch.h: Likewise.
8157 * sysdeps/i386/i686/init-arch.h: Likewise.
8158 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
8159 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
8160 * sysdeps/x86/cpu-features.h (bit_I586): New.
8161 (bit_I686): Likewise.
8162 (bit_CX8): Likewise.
8163 (bit_CMOV): Likewise.
8164 (index_CX8): Likewise.
8165 (index_CMOV): Likewise.
8166 (index_I586): Likewise.
8167 (index_I686): Likewise.
8168 (reg_CX8): Likewise.
8169 (reg_CMOV): Likewise.
8170 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
8171 available at compile-time.
8172 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
8173 available at compile-time.
8174 * sysdeps/x86/init-arch.h (USE_I586): New macro.
8175 (USE_I686): Likewise.
8176
8177 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
8178
8179 * sysdeps/i386/bcopy.S: New file.
8180 * sysdeps/i386/bzero.S: Likewise.
8181 * sysdeps/i386/memcpy.S: Likewise.
8182 * sysdeps/i386/memmove.S: Likewise.
8183 * sysdeps/i386/mempcpy.S: Likewise.
8184 * sysdeps/i386/memset.S: Likewise.
8185 * sysdeps/i386/bzero.c: Removed.
8186 * sysdeps/i386/memset.c: Likewise.
8187 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
8188 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
8189 * sysdeps/i386/i586/memset_chk.S: Likewise.
8190 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
8191 * sysdeps/i386/memcpy_chk.S: Here.
8192 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
8193 * sysdeps/i386/memmove_chk.S: Here.
8194 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
8195 * sysdeps/i386/mempcpy_chk.S: Likewise.
8196 * sysdeps/i386/i686/memset_chk.S: Moved to ...
8197 * sysdeps/i386/memset_chk.S: Likewise.
8198
8199 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
8200
8201 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
8202 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
8203 file, move DIAG_POP_NEEDS_COMMENT to end of file.
8204 * soft-fp/fmadf4.c: Ditto.
8205 * soft-fp/fmatf4.c: Ditto.
8206
8207 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
8208
8209 * sysdeps/i386/i586/Implies: Removed.
8210 * sysdeps/i386/i686/Implies: Likewise.
8211
8212 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
8213
8214 * sysdeps/i386/i486/strlen.S: Moved to ...
8215 * sysdeps/i386/strlen.S: Here.
8216
8217 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
8218
8219 * sysdeps/i386/i486/strcat.S: Moved to ...
8220 * sysdeps/i386/strcat.S: Here.
8221
8222 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
8223
8224 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
8225 * sysdeps/i386/pthread_spin_trylock.S: Here.
8226 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
8227 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
8228
8229 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
8230
8231 * sysdeps/i386/i486/string-inlines.c: Moved to ...
8232 * sysdeps/i386/string-inlines.c: Here.
8233
8234 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
8235
8236 * sysdeps/i386/i486/htonl.S: Moved ...
8237 * sysdeps/i386/htonl.S: here.
8238
8239 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
8240
8241 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
8242 * sysdeps/i386/bits/atomic.h: Here.
8243
8244 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
8245
8246 * sysdeps/i386/i486/Versions: Removed.
8247
8248 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
8249
8250 [BZ #2898]
8251 * misc/mktemp.c: Add mkdtemp to the link_warning message.
8252 Based on patch by Aurelien Jarno.
8253
8254 2015-08-26 Stan Shebs <stanshebs@google.com>
8255
8256 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
8257 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
8258
8259 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8260
8261 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
8262 * sysdeps/powerpc/dl-procinfo.c:
8263 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
8264 feature so it shows when LD_SHOW_AUXV=1.
8265
8266 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8267
8268 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8269 (__arch_compare_and_exchange_val_32_acq): Remove and use common
8270 definition. ISA 2.07B no longer requires full sync.
8271
8272 2015-08-26 Mike Frysinger <vapier@gentoo.org>
8273
8274 [BZ #18863]
8275 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
8276 (si_call_addr): Define.
8277 (si_syscall): Define.
8278 (si_arch): Define.
8279
8280 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
8281
8282 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
8283 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
8284 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
8285 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8286 (__memset_zero_constant_len_parameter): New.
8287 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
8288 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8289 (__memset_zero_constant_len_parameter): Don't define if
8290 __memset_chk or USE_AS_BZERO are defined.
8291
8292 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
8293 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
8294 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
8295
8296 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
8297 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
8298 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
8299 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
8300 comments.
8301 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
8302 -mno-mmx for $(all-rtld-routines).
8303 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
8304 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
8305 i386.
8306
8307 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8308
8309 * sysdeps/generic/unwind.h
8310 (_Unwind_Word): Use __mode__(__unwind_word__)
8311 instead of __mode__(__word__).
8312 (_Unwind_Sword): Likewise.
8313
8314 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8315 (MAX_NEEDED_INPUT): New define.
8316 (MAX_NEEDED_OUTPUT): New define.
8317
8318 * NEWS: New item for IBM z13 string optimizations.
8319
8320 * sysdeps/s390/multiarch/memrchr-c.c: New File.
8321 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
8322 * sysdeps/s390/multiarch/memrchr.c: Likewise.
8323 * sysdeps/s390/multiarch/Makefile
8324 (sysdep_routines): Add memrchr functions.
8325 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8326 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
8327
8328 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
8329 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
8330 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
8331 * sysdeps/s390/multiarch/Makefile
8332 (sysdep_routines): Add wmemcmp functions.
8333 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8334 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
8335 * benchtests/bench-wmemcmp.c: New File.
8336 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
8337
8338 * sysdeps/s390/multiarch/wmemset-c.c: New File.
8339 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
8340 * sysdeps/s390/multiarch/wmemset.c: Likewise.
8341 * sysdeps/s390/multiarch/Makefile
8342 (sysdep_routines): Add wmemset functions.
8343 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8344 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
8345 * wcsmbs/wmemset.c: Use WMEMSET if defined.
8346 * string/test-memset.c: Add wmemset support.
8347 * wcsmbs/test-wmemset.c: New File.
8348 * wcsmbs/Makefile (strop-tests): Add wmemset.
8349 * benchtests/bench-memset.c: Add wmemset support.
8350 * benchtests/bench-wmemset.c: New File.
8351 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
8352
8353 * sysdeps/s390/multiarch/memccpy-c.c: New File.
8354 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
8355 * sysdeps/s390/multiarch/memccpy.c: Likewise.
8356 * sysdeps/s390/multiarch/Makefile
8357 (sysdep_routines): Add memccpy functions.
8358 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8359 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
8360 * string/memccpy.c: Use MEMCCPY if defined.
8361
8362 * sysdeps/s390/multiarch/memchr-vx.S: New File.
8363 * sysdeps/s390/multiarch/memchr.c: Likewise.
8364 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
8365 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
8366 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
8367 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
8368 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
8369 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
8370 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
8371 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8372 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
8373 and rawmemchr functions.
8374 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8375 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
8376 and wmemchr.
8377 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
8378 * string/test-memchr.c: Add wmemchr support.
8379 * wcsmbs/test-wmemchr.c: New File.
8380 * wcsmbs/Makefile (strop-tests): Add wmemchr.
8381 * benchtests/bench-memchr.c: Add wmemchr support.
8382 * benchtests/bench-wmemchr.c: New File.
8383 * benchtests/Makefile (wcsmbs-bench): wmemchr.
8384
8385 * sysdeps/s390/multiarch/strcspn-c.c: New File.
8386 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
8387 * sysdeps/s390/multiarch/strcspn.c: Likewise.
8388 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
8389 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
8390 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
8391 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
8392 wcscspn functions.
8393 * sysdeps/s390/multiarch/ifunc-impl-list.c
8394 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
8395 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
8396 * string/test-strcspn.c: Add wcscspn support.
8397 * wcsmbs/test-wcscspn.c: New File.
8398 * wcsmbs/Makefile (strop-tests): Add wcscspn.
8399 * benchtests/bench-strcspn.c: Add wcscspn support.
8400 * benchtests/bench-wcscspn.c: New File.
8401 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
8402
8403 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
8404 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
8405 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
8406 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
8407 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
8408 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
8409 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
8410 wcspbrk functions.
8411 * sysdeps/s390/multiarch/ifunc-impl-list.c
8412 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
8413 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
8414 * string/test-strpbrk.c: Add wcspbrk support.
8415 * wcsmbs/test-wcspbrk.c: New File.
8416 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
8417 * benchtests/bench-strpbrk.c: Add wcspbrk support.
8418 * benchtests/bench-wcspbrk.c: New File.
8419 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
8420
8421 * sysdeps/s390/multiarch/strspn-c.c: New File.
8422 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
8423 * sysdeps/s390/multiarch/strspn.c: Likewise.
8424 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
8425 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
8426 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
8427 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
8428 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
8429 wcsspn functions.
8430 * sysdeps/s390/multiarch/ifunc-impl-list.c
8431 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
8432 * string/test-strspn.c: Add wcsspn support.
8433 * wcsmbs/test-wcsspn.c: New File.
8434 * wcsmbs/Makefile (strop-tests): Add wcsspn.
8435 * benchtests/bench-strspn.c: Add wcsspn support.
8436 * benchtests/bench-wcsspn.c: New File.
8437 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
8438
8439 * sysdeps/s390/multiarch/strrchr-c.c: New File.
8440 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
8441 * sysdeps/s390/multiarch/strrchr.c: Likewise.
8442 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
8443 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
8444 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
8445 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
8446 wcsrchr functions.
8447 * sysdeps/s390/multiarch/ifunc-impl-list.c
8448 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
8449 * benchtests/bench-wcsrchr.c: New File.
8450 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
8451
8452 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
8453 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
8454 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
8455 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
8456 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
8457 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
8458 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
8459 wcschrnul functions.
8460 * sysdeps/s390/multiarch/ifunc-impl-list.c
8461 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
8462 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
8463 * string/test-strchr.c: Add wcschrnul support.
8464 * wcsmbs/test-wcschrnul.c: New File.
8465 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
8466 * benchtests/bench-strchr.c: Add wcschrnul support.
8467 * benchtests/bench-wcschrnul.c: New File.
8468 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
8469
8470 * sysdeps/s390/multiarch/strchr-c.c: New File.
8471 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
8472 * sysdeps/s390/multiarch/strchr.c: Likewise.
8473 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
8474 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
8475 * sysdeps/s390/multiarch/wcschr.c: Likewise.
8476 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
8477 wcschr functions.
8478 * sysdeps/s390/multiarch/ifunc-impl-list.c
8479 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
8480 * string/strchr.c (STRCHR): Define and use macro.
8481 * benchtests/bench-wcschr.c: New File.
8482 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
8483
8484 * sysdeps/s390/multiarch/strncmp-c.c: New File.
8485 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
8486 * sysdeps/s390/multiarch/strncmp.c: Likewise.
8487 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
8488 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
8489 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
8490 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
8491 wcsncmp functions.
8492 * sysdeps/s390/multiarch/ifunc-impl-list.c
8493 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
8494 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
8495 * benchtests/bench-strncmp.c: Add wcsncmp support.
8496 * benchtests/bench-wcsncmp.c: New File.
8497 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
8498
8499 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
8500 * sysdeps/s390/multiarch/strcmp.c: Likewise.
8501 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
8502 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
8503 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
8504 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
8505 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8506 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
8507 wcscmp functions.
8508 * sysdeps/s390/multiarch/ifunc-impl-list.c
8509 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
8510 * string/strcmp.c (STRCMP): Define and use macro.
8511 * benchtests/bench-wcscmp.c: New File.
8512 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
8513 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
8514 instead of _HAVE_STRING_ARCH_memchr.
8515
8516 * sysdeps/s390/multiarch/strncat-c.c: New File.
8517 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
8518 * sysdeps/s390/multiarch/strncat.c: Likewise.
8519 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
8520 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
8521 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
8522 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
8523 wcsncat functions.
8524 * sysdeps/s390/multiarch/ifunc-impl-list.c
8525 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
8526 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
8527 * string/test-strncat.c: Add wcsncat support.
8528 * wcsmbs/test-wcsncat.c: New File.
8529 * wcsmbs/Makefile (strop-tests): Add wcsncat.
8530 * benchtests/bench-strncat.c: Add wcsncat support.
8531 * benchtests/bench-wcsncat.c: New File.
8532 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
8533
8534 * sysdeps/s390/multiarch/strcat-c.c: New File.
8535 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
8536 * sysdeps/s390/multiarch/strcat.c: Likewise.
8537 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
8538 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
8539 * sysdeps/s390/multiarch/wcscat.c: Likewise.
8540 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
8541 wcscat functions.
8542 * sysdeps/s390/multiarch/ifunc-impl-list.c
8543 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
8544 * string/strcat.c (STRCAT): Define and use macro.
8545 * wcsmbs/wcscat.c: Use WCSCAT if defined.
8546 * string/test-strcat.c: Add wcscat support.
8547 * wcsmbs/test-wcscat.c: New File.
8548 * wcsmbs/Makefile (strop-tests): Add wcscat.
8549 * benchtests/bench-strcat.c: Add wcscat support.
8550 * benchtests/bench-wcscat.c: New File.
8551 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
8552
8553 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
8554 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
8555 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
8556 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
8557 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
8558 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
8559 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
8560 wcpncpy functions.
8561 * sysdeps/s390/multiarch/ifunc-impl-list.c
8562 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
8563 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
8564 * string/test-stpncpy.c: Add wcpncpy support.
8565 * wcsmbs/test-wcpncpy.c: New File.
8566 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
8567 * benchtests/bench-stpncpy.c: Add wcpncpy support.
8568 * benchtests/bench-wcpncpy.c: New File.
8569 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
8570
8571 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
8572 * sysdeps/s390/multiarch/strncpy.c: Likewise.
8573 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
8574 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
8575 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
8576 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
8577 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
8578 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
8579 wcsncpy functions.
8580 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
8581 * sysdeps/s390/multiarch/ifunc-impl-list.c
8582 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
8583 * string/test-strncpy.c: Add wcsncpy support.
8584 * wcsmbs/test-wcsncpy.c: New File.
8585 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
8586 * benchtests/bench-strncpy.c: Add wcsncpy support.
8587 * benchtests/bench-wcsncpy.c: New File.
8588 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
8589
8590 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
8591 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
8592 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
8593 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
8594 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
8595 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
8596 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
8597 wcpcpy functions.
8598 * string/stpcpy.c: Use STPCPY if defined.
8599 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
8600 * sysdeps/s390/multiarch/ifunc-impl-list.c
8601 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
8602 * string/test-stpcpy.c: Add wcpcpy support.
8603 * wcsmbs/test-wcpcpy.c: New File.
8604 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
8605 * benchtests/bench-stpcpy.c: Add wcpcpy support.
8606 * benchtests/bench-wcpcpy.c: New File.
8607 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
8608
8609 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
8610 * sysdeps/s390/multiarch/strcpy.c: Likewise.
8611 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
8612 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
8613 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
8614 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
8615 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8616 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
8617 wcscpy functions.
8618 * sysdeps/s390/multiarch/ifunc-impl-list.c
8619 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
8620 * benchtests/bench-wcscpy.c: New File.
8621 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
8622
8623 * sysdeps/s390/multiarch/strnlen-c.c: New File.
8624 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
8625 * sysdeps/s390/multiarch/strnlen.c: Likewise.
8626 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
8627 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
8628 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
8629 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
8630 wcsnlen functions.
8631 * sysdeps/s390/multiarch/ifunc-impl-list.c
8632 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
8633 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
8634 * string/test-strnlen.c: Add wcsnlen support.
8635 * wcsmbs/test-wcsnlen.c: New File.
8636 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
8637 * benchtests/bench-strnlen.c: Add wcsnlen support.
8638 * benchtests/bench-wcsnlen.c: New File.
8639 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
8640
8641 * sysdeps/s390/multiarch/Makefile: New File.
8642 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
8643 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
8644 * sysdeps/s390/multiarch/strlen.c: Likewise.
8645 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
8646 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
8647 * sysdeps/s390/multiarch/wcslen.c: Likewise.
8648 * string/strlen.c (STRLEN): Define and use macro.
8649 * sysdeps/s390/multiarch/ifunc-impl-list.c
8650 (IFUNC_VX_IMPL): New macro function.
8651 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
8652 * benchtests/Makefile (wcsmbs-bench): New variable.
8653 (string-bench-all): Added wcsmbs-bench.
8654 * benchtests/bench-wcslen.c: New File.
8655
8656 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
8657 s390_vx_libc_ifunc2): New macro function.
8658
8659 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
8660 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
8661 assembler support.
8662 * sysdeps/s390/configure: Regenerated.
8663
8664 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
8665 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
8666
8667 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
8668 * sysdeps/s390/dl-procinfo.h: Add vector capability.
8669 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
8670
8671 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8672 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
8673 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
8674 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
8675 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
8676 (memcmp, bcmp): Use __memcmp_default as alias source.
8677 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
8678 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
8679 Rename to __memcmp_default.
8680 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
8681 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
8682 (memcpy): Use __memcpy_default as alias source.
8683 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
8684 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
8685 Rename to __memcpy_default.
8686 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
8687 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
8688 (memset): Use __memset_default as alias source.
8689 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
8690 * sysdeps/s390/s390-32/memset.S (__memset_g5):
8691 Rename to __memset_default.
8692 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
8693 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
8694 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
8695 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
8696 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
8697 (memcmp, bcmp): Use __memcmp_default as alias source.
8698 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
8699 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
8700 Rename to __memcmp_default.
8701 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
8702 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
8703 (memcpy): Use __memcpy_default as alias source.
8704 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
8705 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
8706 Rename to __memcpy_default.
8707 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
8708 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
8709 (memset): Use __memset_default as alias source.
8710 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
8711 * sysdeps/s390/s390-64/memset.S (__memset_z900):
8712 Rename to __memset_default.
8713 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
8714 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
8715
8716 [BZ #18610]
8717 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
8718 __ieee_instruction_pointer to __unused.
8719 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
8720 __ieee_instruction_pointer.
8721 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
8722 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
8723 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8724 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8725 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
8726 Mark dxc-field as reserved.
8727
8728 2015-08-25 Roland McGrath <roland@hack.frob.com>
8729
8730 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
8731 if the weak reference is not null.
8732
8733 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
8734
8735 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
8736
8737 [BZ #11214]
8738 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
8739
8740 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8741
8742 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
8743 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
8744 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
8745 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
8746 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
8747 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
8748 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
8749 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
8750 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
8751 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
8752 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
8753 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
8754 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
8755 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
8756 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
8757 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
8758 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
8759 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
8760
8761 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8762
8763 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
8764 register other than r0 for tabort, it has special meaning.
8765 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
8766 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
8767 transaction before starting syscall.
8768
8769 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8770
8771 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
8772
8773 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
8774
8775 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
8776
8777 * sysdeps/x86_64/rtld-memcmp.c: Removed.
8778 * sysdeps/x86_64/rtld-memset.S: Likewise.
8779 * sysdeps/x86_64/rtld-strchr.S: Likewise.
8780 * sysdeps/x86_64/rtld-strlen.S: Likewise.
8781 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
8782 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8783
8784 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
8785
8786 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
8787
8788 * debug/strcpy_chk.c: Improve performance.
8789 * debug/stpcpy_chk.c: Likewise.
8790 * sysdeps/x86_64/strcpy_chk.S: Remove.
8791 * sysdeps/x86_64/stpcpy_chk.S: Remove.
8792
8793 [BZ #18240]
8794 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
8795
8796 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
8797
8798 [BZ #15128]
8799 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
8800 ifuncmain8.
8801 (modules-names): Add ifuncmod8.
8802 ($(objpfx)ifuncmain8): New rule.
8803 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
8804 <cpuid.h>.
8805 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
8806 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
8807 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
8808 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
8809 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
8810 * sysdeps/x86_64/dl-trampoline.h: Likewise.
8811 * sysdeps/x86_64/ifuncmain8.c: New file.
8812 * sysdeps/x86_64/ifuncmod8.c: Likewise.
8813 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
8814 Removed.
8815 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
8816 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
8817 Change rtld_savespace_sse to __glibc_unused2.
8818 (RTLD_CHECK_FOREIGN_CALL): Removed.
8819 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
8820 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
8821 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
8822
8823 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8824
8825 * sysdeps/aarch64/bzero.S (__bzero): Remove.
8826
8827 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8828
8829 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
8830 Unconditionally set __fpcr to avoid uninialized warning.
8831 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
8832
8833 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8834
8835 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
8836 is corrupt.
8837
8838 * malloc/arena.c (arena_get2): Drop unused argument.
8839 (arena_lock): Adjust.
8840 (arena_get_retry): Likewise.
8841
8842 2015-08-24 Andreas Schwab <schwab@suse.de>
8843
8844 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
8845 Don't define.
8846 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8847 (__ASSUME_IPC64): Don't undef.
8848 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
8849 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8850 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8851 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
8852 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
8853 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
8854 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
8855 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
8856 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
8857 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
8858 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
8859 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
8860 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
8861 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
8862 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
8863 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
8864 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
8865 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
8866 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
8867 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
8868 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
8869
8870 2015-08-21 Mike Frysinger <vapier@gentoo.org>
8871
8872 * manual/Makefile (install): Only build manual when perl is available.
8873
8874 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8875
8876 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
8877 '#undef memcpy' by '#undef memchr'.
8878
8879 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8880
8881 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
8882 memchr not point to the internal __GI_memchr implementation.
8883
8884 2015-08-20 Joseph Myers <joseph@codesourcery.com>
8885
8886 * timezone/Makefile (CFLAGS-zdump.c): Remove
8887 -Wno-strict-prototypes.
8888 (CFLAGS-zic.c): Likewise.
8889 (CFLAGS-ialloc.c): Likewise.
8890 (CFLAGS-scheck.c): Likewise.
8891
8892 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
8893 -Wno-error=undef.
8894
8895 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
8896
8897 * i386/i686/multiarch/strcasestr-c.c: Removed.
8898 * x86_64/multiarch/strcasestr.c: Likewise.
8899 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8900 Remove strcasestr.
8901
8902 2015-08-20 Joseph Myers <joseph@codesourcery.com>
8903
8904 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
8905
8906 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
8907 variables for high and low parts before possibly modifying them.
8908
8909 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
8910
8911 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
8912 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
8913 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
8914 of "multiarch/init-arch.h".
8915 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
8916 * sysdeps/x86/init-arch.h: This.
8917
8918 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
8919
8920 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
8921 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
8922
8923 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
8924
8925 [BZ #17787]
8926 * manual/macros.texi: Add twoexp macro.
8927 * manual/filesys.texi: Fix exponents.
8928 * manual/llio.texi: Likewise.
8929 * manual/stdio.texi: Likewise.
8930
8931 2015-08-20 Florian Weimer <fweimer@redhat.com>
8932
8933 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
8934 incorrect use.
8935
8936 2015-08-19 Joseph Myers <joseph@codesourcery.com>
8937
8938 [BZ #18370]
8939 * math/s_csqrt.c (__csqrt): Force underflow exception for results
8940 whose real or imaginary part has small absolute value.
8941 * math/s_csqrtf.c (__csqrtf): Likewise.
8942 * math/s_csqrtl.c (__csqrtl): Likewise.
8943 * math/auto-libm-test-in: Add more tests of csqrt.
8944 * math/auto-libm-test-out: Regenerated.
8945 * sysdeps/i386/fpu/libm-test-ulps: Update.
8946
8947 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8948
8949 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
8950 __ppc_set_ppr_very_low): New functions.
8951 * manual/platform.texi: Add documentation about
8952 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
8953
8954 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
8955
8956 * string/stpncpy.c (stpncpy): Improve performance using
8957 __strnlen/memcpy/memset.
8958
8959 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
8960
8961 [BZ #18796]
8962 * scripts/test-installation.pl: Don't add -lmvec to build options if
8963 libmvec wasn't built.
8964
8965 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
8966
8967 [BZ #14341]
8968 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
8969 case when there is a gap between DT_REL and DT_JMPREL sections.
8970 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
8971 (LDFLAGS-tst-split-dynreloc): New.
8972 (tst-split-dynreloc-ENV): Likewise.
8973 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
8974 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
8975
8976 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
8977
8978 [BZ #18822]
8979 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
8980 attribute_hidden.
8981 (__xstat64_conv): Likewise.
8982 (__xstat32_conv): Likewise.
8983
8984 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
8985
8986 [BZ #18822]
8987 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
8988 Don't load %ebx when calling __setcontext. Call __setcontext
8989 with HIDDEN_JUMPTARGET.
8990 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
8991 libc_hidden_def.
8992
8993 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
8994
8995 * sysdeps/i386/i686/Makefile
8996 [$(subdir) == string] (sysdep_routines): Moved to ...
8997 * sysdeps/i386/Makefile: Here.
8998 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
8999 * sysdeps/i386/cacheinfo.c: Here.
9000 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
9001 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
9002 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
9003 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
9004
9005 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
9006
9007 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
9008 __i586__ is defined.
9009 (HAS_I686): Defined to 1 if __i686__ is defined.
9010
9011 2015-08-19 Joseph Myers <joseph@codesourcery.com>
9012
9013 * elf/Makefile [$(have-z-execstack) = yes]
9014 (CPPFLAGS-tst-execstack.c): New variable.
9015
9016 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
9017 conditional to [defined UTMPX || _HAVE_UT_TYPE].
9018 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
9019 UTMPX || _HAVE_UT_TV].
9020 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
9021 UTMPX || _HAVE_UT_TV - 0].
9022
9023 2015-08-18 Joseph Myers <joseph@codesourcery.com>
9024
9025 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
9026 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
9027 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
9028
9029 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9030
9031 * sysdeps/powerpc/dl-procinfo.c:
9032 (_dl_powerpc_cap_flags): Added missing strings for some
9033 hwcap features.
9034 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
9035
9036 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
9037
9038 Port the 0x7efe...feff pattern to GCC 6.
9039 See Steve Ellcey's bug report in:
9040 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
9041 * string/memrchr.c (MEMRCHR):
9042 * string/rawmemchr.c (RAWMEMCHR):
9043 * string/strchr.c (strchr):
9044 * string/strchrnul.c (STRCHRNUL):
9045 Rewrite code to avoid issues with signed shift overflow.
9046
9047 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
9048
9049 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
9050 whether cpuid is available only if HAS_CPUID is 0.
9051 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
9052 (HAS_I586): Likewise.
9053 (HAS_I686): Likewise.
9054
9055 2015-08-18 Zack Weinberg <zackw@panix.com>
9056
9057 * misc/Versions (libc): Add GLIBC_2.23.
9058
9059 2015-08-18 Alan Modra <amodra@gmail.com>
9060
9061 [BZ #18421]
9062 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
9063 .Lp__global.
9064 (_start): Load %dp via .Lp__global.
9065 [!SHARED]: Use .section .rodata.
9066
9067 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9068
9069 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
9070 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
9071
9072 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9073
9074 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
9075 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
9076
9077 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9078
9079 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
9080 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
9081
9082 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9083
9084 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
9085 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
9086
9087 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9088
9089 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
9090 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
9091
9092 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9093
9094 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
9095 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
9096
9097 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9098
9099 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
9100
9101 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9102
9103 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
9104 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
9105 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9106 (__ASSUME_LWS_CAS): Delete.
9107
9108 2015-08-18 Mike Frysinger <vapier@gentoo.org>
9109
9110 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
9111 * sysdeps/hppa/configure: Regenerated.
9112 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
9113 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
9114 * sysdeps/hppa/nptl/tls.h: Likewise.
9115
9116 2015-08-17 Joseph Myers <joseph@codesourcery.com>
9117
9118 [BZ #18823]
9119 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
9120 for scaling up small arguments.
9121 * math/s_csqrtf.c (__csqrtf): Likewise.
9122 * math/s_csqrtl.c (__csqrtl): Likewise.
9123 * math/auto-libm-test-in: Add more tests of csqrt.
9124 * math/auto-libm-test-out: Regenerated.
9125
9126 2015-08-17 Andreas Schwab <schwab@suse.de>
9127
9128 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
9129 version set GLIBC_2.19.
9130
9131 2015-08-16 Zack Weinberg <zackw@panix.com>
9132
9133 [BZ #18681]
9134 * misc/regexp.h: This interface is no longer supported.
9135 Remove all contents, leaving only an #error directive.
9136 * misc/regexp.c (loc1, loc2, locs, step, advance):
9137 Demote to compatibility symbols.
9138
9139 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
9140
9141 [BZ #18084]
9142 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
9143 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
9144 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9145 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
9146 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
9147 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
9148 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
9149 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
9150 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9151
9152 2015-08-15 Zack Weinberg <zackw@panix.com>
9153
9154 [BZ #18795]
9155 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
9156 buffer length is known to be too large, not if it's known to be
9157 small enough.
9158 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
9159 overflow at runtime, involving a length parameter, twice: once
9160 with a compile-time constant length parameter, once without.
9161
9162 2015-08-14 Joseph Myers <joseph@codesourcery.com>
9163
9164 [BZ #18824]
9165 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
9166 scaling x * y up instead of down.
9167 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9168 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9169 * math/auto-libm-test-in: Add more tests of fma.
9170 * math/auto-libm-test-out: Regenerated.
9171
9172 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9173
9174 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9175
9176 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9177
9178 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
9179 unnecessary movq.
9180 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
9181 Likewise.
9182
9183 2015-08-13 Joseph Myers <joseph@codesourcery.com>
9184
9185 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9186 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
9187 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
9188 and tgamma.
9189 * math/auto-libm-test-out: Regenerated.
9190 * sysdeps/i386/fpu/libm-test-ulps: Update.
9191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9192
9193 [BZ #16520]
9194 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
9195 (__tanh): Force underflow exception for arguments with small
9196 absolute value.
9197 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
9198 (__tanhf): Force underflow exception for arguments with small
9199 absolute value.
9200 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
9201 (__tanhl): Force underflow exception for arguments with small
9202 absolute value.
9203 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
9204 (__tanhl): Force underflow exception for arguments with small
9205 absolute value.
9206 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
9207 (__tanhl): Force underflow exception for arguments with small
9208 absolute value.
9209 * math/auto-libm-test-in: Add more tests of tanh.
9210 * math/auto-libm-test-out: Regenerated.
9211 * sysdeps/i386/fpu/libm-test-ulps: Update.
9212
9213 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
9214
9215 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
9216 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
9217
9218 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
9219
9220 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
9221 <cpuid.h>.
9222
9223 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
9224
9225 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
9226 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
9227
9228 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
9229
9230 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
9231 Remove $(objpfx)init-arch.o.
9232 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
9233 init-arch.
9234 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
9235 (INIT_ARCH_EXT): Defined as empty.
9236 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
9237 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
9238 __init_cpu_features call. Replace HAS_XXX with
9239 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9240 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
9241 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
9242 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
9243 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
9244 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
9245 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
9246 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
9247 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
9248 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
9249 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
9250 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
9251 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
9252 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
9253 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
9254 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
9255 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
9256 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
9257 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
9258 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
9259 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
9260 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
9261 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
9262 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
9263 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
9264 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
9265 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
9266 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
9267 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
9268 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
9269 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
9270 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
9271 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
9272 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
9273 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
9274 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
9275
9276 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
9277
9278 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
9279 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9280 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9281 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9282 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
9283 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
9284 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
9285 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
9286 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
9287 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
9288 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
9289 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
9290 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9291 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9292 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9293 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9294 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9295 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9296 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9297 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9298 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9299 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9300 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9301 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9302 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9303 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9304 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9305 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9306 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9307 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9308 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9309 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9310 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9311 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9312 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9313 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9314 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9315 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9316 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9317 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9318 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9319 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9320 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9321
9322 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
9323
9324 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
9325 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9326 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9327 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9328 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9329 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
9330 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9331 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
9332 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9333 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9334 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9335 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
9336 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
9337 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
9338 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
9339 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
9340 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
9341 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
9342 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
9343 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
9344 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
9345 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
9346 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
9347 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9348 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9349 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
9350 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
9351 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
9352 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9353 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9354 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9355 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9356 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9357 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9358 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9359 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9360 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9361 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9362 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9363 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9364 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9365 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9366 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9367
9368 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
9369
9370 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
9371 (dl_platform_init): Call init_cpu_features.
9372 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
9373 * sysdeps/i386/i686/cacheinfo.c
9374 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
9375 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
9376 * sysdeps/i386/i686/multiarch/Versions: Removed.
9377 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
9378 Removed.
9379 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
9380 * sysdeps/unix/sysv/linux/x86/Makefile
9381 (libpthread-sysdep_routines): Remove init-arch.
9382 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
9383 <sysdeps/x86_64/dl-procinfo.c> instead of
9384 sysdeps/generic/dl-procinfo.c>.
9385 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
9386 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
9387 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
9388 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
9389 [$(subdir) == elf] (tests-static): Add
9390 tst-get-cpu-features-static.
9391 * sysdeps/x86/Versions: New file.
9392 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
9393 * sysdeps/x86/cpu-features.c: Likewise.
9394 * sysdeps/x86/cpu-features.h: Likewise.
9395 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
9396 * sysdeps/x86/libc-start.c: Likewise.
9397 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
9398 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
9399 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
9400 * sysdeps/x86_64/dl-procinfo.c: Likewise.
9401 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
9402 Assume USE_MULTIARCH is defined and don't check it.
9403 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
9404 (is_amd): Likewise.
9405 (max_cpuid): Likewise.
9406 (intel_check_word): Likewise.
9407 (__cache_sysconf): Don't call __init_cpu_features.
9408 (__x86_preferred_memory_instruction): Removed.
9409 (init_cacheinfo): Don't call __init_cpu_features. Replace
9410 __cpu_features with GLRO(dl_x86_cpu_features).
9411 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
9412 (dl_platform_init): Call init_cpu_features.
9413 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
9414 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
9415 * sysdeps/x86_64/multiarch/Versions: Removed.
9416 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
9417 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
9418 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
9419 Removed.
9420 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
9421
9422 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
9423
9424 [BZ #18820]
9425 * libio/Makefile (test-fmemopen-mem): New test.
9426 * libio/test-fmemopen.c (do_bz18820): New test.
9427 * libio/fmemopen.c (__fmemopen): Fix memory leak.
9428 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
9429
9430 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
9431
9432 [BZ #16734]
9433 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
9434 (FREE_BUF): Delete.
9435 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
9436 * libio/genops.c (_IO_setb): Use malloc and free directly.
9437 (_IO_default_doallocate, _IO_default_finish): Likewise.
9438 ( _IO_unbuffer_all): Likewise.
9439 ( libc_freeres_fn): Likewise.
9440 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9441 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9442 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
9443 (_IO_wdefault_doallocate): Likewise.
9444
9445 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9446
9447 [BZ #18086]
9448 * sysdeps/posix/nice.c (nice): Restore old errno.
9449 * posix/tst-nice.c (do_test): Add test for BZ #18086.
9450
9451 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
9452
9453 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
9454
9455 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9456
9457 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
9458 __bcopy and add a weak_alias to bcopy.
9459 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
9460 for static build.
9461
9462 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
9463 cleanup macro usage.
9464 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
9465 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
9466 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9467 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
9468 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9469 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
9470 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
9471 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9472 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9473 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
9474 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9475 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
9476 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9477 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
9478 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9479 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
9480 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
9481 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
9482 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9483
9484 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
9485 libc_hidden_def.
9486 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
9487
9488 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
9489 (sysdep_routines): Add strstr-ppc64.
9490 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
9491
9492 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
9493
9494 [BZ #18778]
9495 * elf/Makefile (tests): Add Add tst-nodelete2.
9496 (modules-names): Add tst-nodelete2mod.
9497 (tst-nodelete2mod.so-no-z-defs): New.
9498 ($(objpfx)tst-nodelete2): Likewise.
9499 ($(objpfx)tst-nodelete2.out): Likewise.
9500 (LDFLAGS-tst-nodelete2): Likewise.
9501 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
9502 out of loop through all loaded libraries.
9503 * elf/tst-nodelete2.c: New file.
9504 * elf/tst-nodelete2mod.c: Likewise.
9505 * elf/tst-znodelete-zlib.cc: Delete.
9506
9507 2015-08-11 Andreas Schwab <schwab@suse.de>
9508
9509 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
9510 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
9511 (__openat64_nocancel): Likewise.
9512
9513 2015-08-11 Joseph Myers <joseph@codesourcery.com>
9514
9515 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
9516 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
9517 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
9518 * math/auto-libm-test-out: Regenerated.
9519 * sysdeps/i386/fpu/libm-test-ulps: Update.
9520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9521
9522 2015-08-10 Joseph Myers <joseph@codesourcery.com>
9523
9524 [BZ #18790]
9525 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
9526 threshold for returning +/- 1.
9527 * math/auto-libm-test-in: Add more tests of tanh.
9528 * math/auto-libm-test-out: Regenerated.
9529 * sysdeps/i386/fpu/libm-test-ulps: Update.
9530
9531 2015-08-10 Andreas Schwab <schwab@suse.de>
9532
9533 [BZ #18781]
9534 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
9535 MORE_OFLAGS to oflag.
9536 * io/test-lfs.c (do_test): Test openat64.
9537
9538 2015-08-10 Joseph Myers <joseph@codesourcery.com>
9539
9540 [BZ #18789]
9541 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
9542 smaller threshold for returning the argument.
9543 * math/auto-libm-test-in: Add more tests of sinh.
9544 * math/auto-libm-test-out: Regenerated.
9545 * sysdeps/i386/fpu/libm-test-ulps: Update.
9546
9547 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
9548
9549 [BZ #18674]
9550 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
9551 break.
9552
9553 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
9554
9555 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
9556 (generated): Don't add $(addprefix z.,$(tzfiles)).
9557
9558 2015-08-09 Mike Frysinger <vapier@gentoo.org>
9559
9560 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
9561 * scripts/sysd-rules.awk: Likewise.
9562
9563 2015-08-09 Mike Frysinger <vapier@gentoo.org>
9564
9565 * iconvdata/tst-tables.sh: Change echo -n to printf.
9566 * nss/db-Makefile: Likewise.
9567 * posix/tst-getconf.sh: Likewise.
9568 * stdio-common/tst-unbputc.sh: Likewise.
9569
9570 2015-08-09 Mike Frysinger <vapier@gentoo.org>
9571
9572 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
9573 MADV_*_PAGES defines behind this feature check.
9574
9575 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
9576
9577 [BZ #18480]
9578 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
9579 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
9580 Define.
9581 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
9582 LOAD_REGS_5, LOAD_REGS_6): Update.
9583 (INTERNAL_SYSCALL): Update using new LOAD defines.
9584 (INTERNAL_SYSCALL_NCS): Likewise.
9585 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
9586
9587 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9588
9589 [BZ #16734]
9590 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
9591
9592 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9593
9594 [BZ #17905]
9595 * catgets/Makefile (tst-catgets-mem): New test.
9596 * catgets/catgets.c (catopen): Don't use unbounded alloca.
9597 * catgets/open_catalog.c (__open_catalog): Likewise.
9598 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
9599
9600 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
9601
9602 [BZ #18787]
9603 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
9604 clobber registers.
9605 (atomic_compare_and_exchange_val_acq): Use register asms to assign
9606 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
9607 Cast return to __typeof (oldval).
9608
9609 2015-08-08 Mike Frysinger <vapier@gentoo.org>
9610
9611 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
9612 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
9613 and delete sys/syscall.h include.
9614
9615 2015-08-07 Joseph Myers <joseph@codesourcery.com>
9616
9617 [BZ #16517]
9618 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
9619 (tan): Force underflow exception for arguments with small absolute
9620 value.
9621 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
9622 (__kernel_tanf): Force underflow exception for arguments with
9623 small absolute value.
9624 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
9625 (__kernel_tanl): Force underflow exception for arguments with
9626 small absolute value.
9627 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
9628 (__kernel_tanl): Force underflow exception for arguments with
9629 small absolute value.
9630 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
9631 (__kernel_tanl): Force underflow exception for arguments with
9632 small absolute value.
9633 * math/auto-libm-test-in: Add more tests of tan.
9634 * math/auto-libm-test-out: Regenerated.
9635
9636 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9637
9638 Fix sysdeps/i386/fpu/s_scalbn.S build
9639
9640 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
9641
9642 2015-08-07 Mike Frysinger <vapier@gentoo.org>
9643
9644 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9645
9646 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9647
9648 Fix gcrt0.o compilation
9649
9650 When static-start-installed-name is different from
9651 start-installed-name, we must not use the shared objects.
9652
9653 * csu/Makefile
9654 (extra-objs): Add gmon-start.o when building shared library and
9655 $(static-start-installed-name) is different from
9656 $(start-installed-name).
9657 $(objpfx)g$(static-start-installed-name): When building shared
9658 library and $(static-start-installed-name) is different from
9659 $(static-start-installed-name), revert to non-shared rule,
9660 i.e. using $(objpfx)% and gmon-start.o.
9661
9662 2015-08-06 Joseph Myers <joseph@codesourcery.com>
9663
9664 [BZ #16519]
9665 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
9666 (__ieee754_sinh): Force underflow exception for arguments with
9667 small absolute value.
9668 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
9669 (__ieee754_sinhf): Force underflow exception for arguments with
9670 small absolute value.
9671 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
9672 (__ieee754_sinhl): Force underflow exception for arguments with
9673 small absolute value.
9674 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
9675 (__ieee754_sinhl): Force underflow exception for arguments with
9676 small absolute value.
9677 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
9678 (__ieee754_sinhl): Force underflow exception for arguments with
9679 small absolute value.
9680 * math/auto-libm-test-in: Add more tests of sinh.
9681 * math/auto-libm-test-out: Regenerated.
9682 * sysdeps/i386/fpu/libm-test-ulps: Update.
9683
9684 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9685
9686 * libio/oldfileops.c: Include unistd.h.
9687
9688 2015-08-06 Mike Frysinger <vapier@gentoo.org>
9689
9690 * stdlib/isomac.c: Include ctype.h.
9691
9692 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
9693
9694 * dirent/tst-seekdir.c (main): Converted to ...
9695 (do_test): ... this.
9696 (TEST_FUNCTION): New macro.
9697 Include test-skeleton.c.
9698 * elf/tst-dlmodcount.c (main): Converted to ...
9699 (do_test): ... this.
9700 (TEST_FUNCTION): New macro.
9701 Include test-skeleton.c.
9702 * elf/tst-order-main.c (main): Converted to ...
9703 (do_test): ... this.
9704 (TEST_FUNCTION): New macro.
9705 Include test-skeleton.c.
9706 * elf/tst-pie2.c (main): Converted to ...
9707 (do_test): ... this.
9708 (TEST_FUNCTION): New macro.
9709 Include test-skeleton.c.
9710 * inet/tst-ether_aton.c (main): Converted to ...
9711 (do_test): ... this.
9712 (TEST_FUNCTION): New macro.
9713 Include test-skeleton.c.
9714 * misc/tst-mntent.c (main): Converted to ...
9715 (do_test): ... this.
9716 (TEST_FUNCTION): New macro.
9717 Include test-skeleton.c.
9718 * misc/tst-tsearch.c (main): Converted to ...
9719 (do_test): ... this.
9720 (TEST_FUNCTION): New macro.
9721 Include test-skeleton.c.
9722 * posix/tst-regexloc.c (main): Converted to ...
9723 (do_test): ... this.
9724 (TEST_FUNCTION): New macro.
9725 Include test-skeleton.c.
9726 * resolv/tst-aton.c (main): Converted to ...
9727 (do_test): ... this.
9728 (TEST_FUNCTION): New macro.
9729 Include test-skeleton.c.
9730 * stdio-common/test-fwrite.c (main): Converted to ...
9731 (do_test): ... this.
9732 (TEST_FUNCTION): New macro.
9733 Include test-skeleton.c.
9734 * stdio-common/tst-ferror.c (main): Converted to ...
9735 (do_test): ... this.
9736 (TEST_FUNCTION): New macro.
9737 Include test-skeleton.c.
9738 * stdio-common/tst-printf.c (main): Converted to ...
9739 (do_test): ... this.
9740 (TEST_FUNCTION): New macro.
9741 Include test-skeleton.c.
9742 * stdio-common/tst-printfsz.c (main): Converted to ...
9743 (do_test): ... this.
9744 (TEST_FUNCTION): New macro.
9745 Include test-skeleton.c.
9746 * stdlib/tst-strtod.c (main): Converted to ...
9747 (do_test): ... this.
9748 (TEST_FUNCTION): New macro.
9749 Include test-skeleton.c.
9750 * string/tst-strlen.c (main): Converted to ...
9751 (do_test): ... this.
9752 (TEST_FUNCTION): New macro.
9753 Include test-skeleton.c.
9754 * string/tst-svc.c (main): Converted to ...
9755 (do_test): ... this.
9756 (TEST_FUNCTION): New macro.
9757 Include test-skeleton.c.
9758 * time/tst-strptime.c (main): Converted to ...
9759 (do_test): ... this.
9760 (TEST_FUNCTION): New macro.
9761 Include test-skeleton.c.
9762 * timezone/tst-timezone.c (main): Converted to ...
9763 (do_test): ... this.
9764 (TEST_FUNCTION): New macro.
9765 Include test-skeleton.c.
9766
9767 2015-08-05 Zack Weinberg <zackw@panix.com>
9768
9769 * misc/regexp.h: Update comments.
9770
9771 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
9772
9773 [BZ #18635]
9774 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
9775 before return label.
9776
9777 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
9778
9779 [BZ #18661]
9780 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
9781 when calling __errno_location.
9782 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
9783 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
9784
9785 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
9786
9787 [BZ #18661]
9788 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
9789 (__lll_timedwait_tid): Align stack to 16 bytes when calling
9790 __gettimeofday.
9791
9792 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
9793
9794 [BZ #18661]
9795 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9796 (__start_context): Don't use pop to restore %rdi so that stack
9797 is aligned to 16 bytes when calling __setcontext.
9798
9799 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
9800
9801 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
9802 only for libc.
9803 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9804
9805 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
9806
9807 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
9808 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
9809 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
9810
9811 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
9812
9813 * string/memccpy.c (memccpy):
9814 Improve performance by using memchr/memcpy/__mempcpy.
9815
9816 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
9817
9818 * string/strncpy.c (strncpy):
9819 Improve performance by using __strnlen/memcpy.
9820
9821 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
9822
9823 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9824 Optimize to avoid an unnecessary FPCR read.
9825
9826 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
9827
9828 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9829 Optimize to reduce FPCR/FPSR accesses.
9830
9831 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
9832
9833 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
9834 dead->data[category] != NULL.
9835
9836 2015-08-05 Joseph Myers <joseph@codesourcery.com>
9837
9838 [BZ #18647]
9839 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
9840 and |x| close to 1, use absolute value of x when computing log.
9841 * math/auto-libm-test-in: Add more tests of pow.
9842 * math/auto-libm-test-out: Regenerated.
9843
9844 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9845
9846 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
9847 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
9848 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
9849
9850 2015-08-05 Marko Myllynen <myllynen@redhat.com>
9851
9852 [BZ #18525]
9853 * locales/km_KH: Remove timezone definition.
9854 * locales/lo_LA: Likewise.
9855 * locales/my_MM: Likewise.
9856 * locales/nan_TW@latin: Likewise.
9857 * locales/th_TH: Likewise.
9858 * locales/uk_UA: Likewise.
9859
9860 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
9861
9862 [BZ #18265]
9863 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
9864 (wcsncat): Likewise.
9865 (wcscmp): Likewise.
9866 (wcsncmp): Likewise.
9867
9868 2015-08-05 Mike Frysinger <vapier@gentoo.org>
9869
9870 * test-skeleton.c (usage): New function.
9871 (main): Call usage when opt is '?'.
9872
9873 2015-08-05 Mike Frysinger <vapier@gentoo.org>
9874
9875 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
9876 before first use.
9877
9878 2015-08-05 Mike Frysinger <vapier@gentoo.org>
9879
9880 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
9881 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
9882 in there too.
9883
9884 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
9885
9886 * version.h (RELEASE): Set to "development".
9887 (VERSION): Set to "2.22.90"
9888
9889 * version.h (RELEASE): Set to "stable".
9890 (VERSION): Set to "2.22"
9891 * include/features.h (__GLIBC_MINOR__): Set to 22.
9892
9893 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
9894
9895 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
9896 Restructure macro to avoid "value computed is not used" warning.
9897 (atomic_compare_and_exchange_val_acq): Likewise.
9898
9899 2015-08-04 Andreas Schwab <schwab@suse.de>
9900
9901 [BZ #18635]
9902 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
9903 ret.
9904 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
9905
9906 2015-08-01 Carlos O'Donell <carlos@redhat.com>
9907
9908 * po/pl.po: Updated translation.
9909 * po/uk.po: Likewise.
9910 * po/fi.po: Likewise.
9911 * po/ko.po: Likewise.
9912 * po/ru.po: Likewise.
9913 * po/vi.po: Likewise.
9914
9915 2015-07-31 Zack Weinberg <zackw@panix.com>
9916
9917 [BZ #18681]
9918 * regexp.h: Add unconditional #warning stating that this header
9919 will be removed soon. Revise banner comment to match.
9920 (compile): Consistently use ERROR instead of RETURN to report
9921 errors (partial fix for bz#18681).
9922 * regexp.c: Don't include regexp.h. Remove some unnecessary
9923 declarations.
9924
9925 2015-07-31 Carlos O'Donell <carlos@redhat.com>
9926
9927 * po/libc.pot: Regenerated.
9928
9929 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
9930
9931 [BZ #18740]
9932 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
9933 float-vlen4-arch-ext-cflags): Removed.
9934 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
9935 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
9936
9937 2015-07-30 Mike Frysinger <vapier@gentoo.org>
9938
9939 [BZ #14113]
9940 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
9941 aligned to __aligned__.
9942 (pthread_cond_t, pthread_rwlock_t): Likewise.
9943
9944 2015-07-30 Torvald Riegel <triegel@redhat.com>
9945
9946 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
9947
9948 2015-07-30 Mike Frysinger <vapier@gentoo.org>
9949
9950 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
9951 (struct sigaction): Change sa_flags from a long to an int, and add
9952 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
9953
9954 2015-07-30 Mike Frysinger <vapier@gentoo.org>
9955
9956 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
9957 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
9958 sysdeps/generic/sysdep.h include.
9959 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
9960 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
9961 sysdeps/hppa/sysdep.h.
9962 (ENTRY, PSEUDO): Undefine before defining.
9963
9964 2015-07-30 Mike Frysinger <vapier@gentoo.org>
9965
9966 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
9967 from scratch to use INTERNAL_SYSCALL.
9968
9969 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
9970
9971 [BZ #18078]
9972 * scripts/check-localplt.awk: Support alternate relocations.
9973 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
9974 sections.
9975 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
9976 malloc entries with + REL R_386_GLOB_DAT.
9977 * sysdeps/x86_64/localplt.data: New file.
9978
9979 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
9980
9981 [BZ #18731]
9982 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
9983 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9984 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9985
9986 2015-07-27 Mike Frysinger <vapier@gentoo.org>
9987
9988 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
9989
9990 2015-07-27 Mike Frysinger <vapier@gentoo.org>
9991
9992 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
9993 directly in terms of __sync_fetch_and_add and delete (int) cast.
9994
9995 2015-07-27 Mike Frysinger <vapier@gentoo.org>
9996
9997 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
9998 the -D_ASM_IA64_CURRENT_H flag.
9999
10000 2015-07-27 Mike Frysinger <vapier@gentoo.org>
10001
10002 [BZ #18641]
10003 * pwd/pwd.h (putpwent): Delete __nonnull markings.
10004
10005 2015-07-27 Andreas Schwab <schwab@suse.de>
10006
10007 * conform/conformtest.pl (checknamespace): Filter out string
10008 literals while tokenizing.
10009
10010 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
10011
10012 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10013 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
10014 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10015
10016 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
10017
10018 * nptl/tst-join7mod.c: Add #include <string.h>.
10019
10020 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
10021
10022 * sysdeps/nios2/libm-test-ulps: Update.
10023
10024 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
10025
10026 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
10027 Fix order of arguments to the rt_sigprocmask syscall.
10028 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
10029 Likewise.
10030
10031 2015-07-24 Roland McGrath <roland@hack.frob.com>
10032
10033 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
10034
10035 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10036
10037 [BZ #18457]
10038 * nptl/Makefile (tests): New test case tst-join7.
10039 (modules-names): New test case module tst-join7mod.
10040 * nptl/tst-join7.c: New file.
10041 * nptl/tst-join7mod.c: New file.
10042 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
10043 all translation units in libc.so, libpthread.so and rtld.
10044
10045 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10046
10047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10048
10049 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
10050
10051 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
10052 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10053 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10054 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10055 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10056 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10057 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10058 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10059 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10060 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10061 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10062 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10063 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
10064 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
10065 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
10066 implementation.
10067
10068 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
10069
10070 [BZ #17711]
10071 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10072 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
10073 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10074 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10075 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
10076 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10077
10078 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10079
10080 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
10081 instead of just saying load lock in the comments.
10082
10083 2015-07-23 Roland McGrath <roland@hack.frob.com>
10084
10085 * sysdeps/unix/Subdirs: Moved ...
10086 * sysdeps/posix/Subdirs: ... here.
10087 * login/pty.h (struct termios, struct winsize): Add forward decls.
10088 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
10089 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
10090 * sysdeps/arm/nacl/libc.abilist: Updated.
10091 * sysdeps/nacl/libutil.abilist: New file.
10092
10093 * bits/signum.h: Update comments to mention 1003.1-2013 too.
10094 (SIGWINCH): New macro.
10095
10096 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
10097 * sysdeps/arm/nacl/libc.abilist: Add it.
10098
10099 2015-07-23 Mike Frysinger <vapier@gentoo.org>
10100
10101 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
10102
10103 2015-07-23 Mike Frysinger <vapier@gentoo.org>
10104
10105 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10106 Swap __glibc_reserved0 and sa_flags order.
10107
10108 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10109
10110 [BZ #18657]
10111 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
10112 are pending TLS destructor calls.
10113 * include/link.h (struct link_map): Add concurrency note for
10114 L_TLS_DTOR_COUNT.
10115 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10116 Don't touch the link map flag. Atomically increment
10117 l_tls_dtor_count.
10118 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
10119 Avoid taking the load lock and don't touch the link map flag.
10120 * stdlib/tst-tls-atexit-nodelete.c: New test case.
10121 * stdlib/Makefile (tests): Use it.
10122 * stdlib/tst-tls-atexit.c (do_test): dlopen
10123 tst-tls-atexit-lib.so again before dlclose. Add conditionals
10124 to allow tst-tls-atexit-nodelete test case to use it.
10125
10126 2015-07-22 Mike Frysinger <vapier@gentoo.org>
10127
10128 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
10129 to bits/types.h.
10130 (msgqnum_t): New typedef.
10131 (msglen_t): Likewise.
10132 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
10133 and msg_qbytes type to msglen_t.
10134
10135 2015-07-22 Mike Frysinger <vapier@gentoo.org>
10136
10137 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
10138 pad0 to __glibc_reserved0.
10139 (struct stat64): Likewise.
10140
10141 2015-07-22 Mike Frysinger <vapier@gentoo.org>
10142
10143 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10144 Change sa_flags from a long to an int and add __glibc_reserved0 before
10145 it for padding.
10146
10147 2015-07-22 Mike Frysinger <vapier@gentoo.org>
10148
10149 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
10150 anonymous by deleting "siginfo" name.
10151
10152 2015-07-21 Roland McGrath <roland@hack.frob.com>
10153
10154 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
10155 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
10156 rather than __nacl_irt_filename.
10157 * sysdeps/nacl/xstat.c (__xstat): Likewise.
10158
10159 * NEWS: New item for arm-nacl port.
10160 * sysdeps/arm/nacl/libc.abilist: New file.
10161 * sysdeps/nacl/ld.abilist: New file.
10162 * sysdeps/nacl/libBrokenLocale.abilist: New file.
10163 * sysdeps/nacl/libanl.abilist: New file.
10164 * sysdeps/nacl/libcrypt.abilist: New file.
10165 * sysdeps/nacl/libdl.abilist: New file.
10166 * sysdeps/nacl/libm.abilist: New file.
10167 * sysdeps/nacl/libpthread.abilist: New file.
10168 * sysdeps/nacl/libresolv.abilist: New file.
10169 * sysdeps/nacl/librt.abilist: New file.
10170
10171 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
10172
10173 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
10174 __startcontext to initialize the new context.
10175 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
10176 up CFI directive to forbid further backtracing.
10177
10178 2015-07-21 Marko Myllynen <myllynen@redhat.com>
10179
10180 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
10181 reference.
10182 * charmaps/ANSI_X3.4-1968: Likewise.
10183 * charmaps/BS_4730: Likewise.
10184 * charmaps/BS_VIEWDATA: Likewise.
10185 * charmaps/CP1250: Likewise.
10186 * charmaps/CP1251: Likewise.
10187 * charmaps/CP1252: Likewise.
10188 * charmaps/CP1253: Likewise.
10189 * charmaps/CP1254: Likewise.
10190 * charmaps/CP1255: Likewise.
10191 * charmaps/CP1256: Likewise.
10192 * charmaps/CSN_369103: Likewise.
10193 * charmaps/EBCDIC-DK-NO: Likewise.
10194 * charmaps/GB_1988-80: Likewise.
10195 * charmaps/GREEK-CCITT: Likewise.
10196 * charmaps/GREEK7: Likewise.
10197 * charmaps/INIS-8: Likewise.
10198 * charmaps/ISIRI-3342: Likewise.
10199 * charmaps/ISO_2033-1983: Likewise.
10200 * charmaps/ISO_5427-EXT: Likewise.
10201 * locales/POSIX: Likewise.
10202 * locales/ar_SA: Likewise.
10203 * locales/be_BY: Likewise.
10204 * locales/be_BY@latin: Likewise.
10205 * locales/ca_ES: Likewise.
10206 * locales/cs_CZ: Likewise.
10207 * locales/da_DK: Likewise.
10208 * locales/de_BE: Likewise.
10209 * locales/de_CH: Likewise.
10210 * locales/de_LU: Likewise.
10211 * locales/en_AU: Likewise.
10212 * locales/en_BW: Likewise.
10213 * locales/en_CA: Likewise.
10214 * locales/en_DK: Likewise.
10215 * locales/en_GB: Likewise.
10216 * locales/en_IE: Likewise.
10217 * locales/en_NZ: Likewise.
10218 * locales/en_ZA: Likewise.
10219 * locales/en_ZW: Likewise.
10220 * locales/es_AR: Likewise.
10221 * locales/es_BO: Likewise.
10222 * locales/es_CL: Likewise.
10223 * locales/es_CO: Likewise.
10224 * locales/es_DO: Likewise.
10225 * locales/es_EC: Likewise.
10226 * locales/es_ES: Likewise.
10227 * locales/es_HN: Likewise.
10228 * locales/es_MX: Likewise.
10229 * locales/es_PA: Likewise.
10230 * locales/es_PE: Likewise.
10231 * locales/es_PY: Likewise.
10232 * locales/es_SV: Likewise.
10233 * locales/es_US: Likewise.
10234 * locales/es_UY: Likewise.
10235 * locales/es_VE: Likewise.
10236 * locales/et_EE: Likewise.
10237 * locales/fa_IR: Likewise.
10238 * locales/fo_FO: Likewise.
10239 * locales/fr_CA: Likewise.
10240 * locales/fr_CH: Likewise.
10241 * locales/gv_GB: Likewise.
10242 * locales/he_IL: Likewise.
10243 * locales/hr_HR: Likewise.
10244 * locales/id_ID: Likewise.
10245 * locales/is_IS: Likewise.
10246 * locales/it_CH: Likewise.
10247 * locales/iw_IL: Likewise.
10248 * locales/kl_GL: Likewise.
10249 * locales/ko_KR: Likewise.
10250 * locales/kw_GB: Likewise.
10251 * locales/lg_UG: Likewise.
10252 * locales/lt_LT: Likewise.
10253 * locales/lv_LV: Likewise.
10254 * locales/mi_NZ: Likewise.
10255 * locales/nhn_MX: Likewise.
10256 * locales/nl_BE: Likewise.
10257 * locales/pl_PL: Likewise.
10258 * locales/sk_SK: Likewise.
10259 * locales/sl_SI: Likewise.
10260 * locales/sv_FI: Likewise.
10261 * locales/tl_PH: Likewise.
10262 * locales/tr_TR: Likewise.
10263 * locales/vi_VN: Likewise.
10264
10265 2015-07-21 Khem Raj <raj.khem@gmail.com>
10266
10267 [BZ #17475]
10268 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
10269 of tu_IN and bh_IN.
10270
10271 2015-07-21 Mike Frysinger <vapier@gentoo.org>
10272
10273 [BZ #18694]
10274 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
10275 bits/wordsize.h.
10276 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
10277
10278 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10279
10280 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
10281 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
10282 (spawn_thread): New function.
10283 (load): Rename to reg_dtor_and_close. Move dlopen to...
10284 (do_test): ... here. Use IS_LOADED to test for its
10285 availability.
10286
10287 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
10288
10289 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10290
10291 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
10292
10293 [BZ #18696]
10294 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
10295 si_addr_bnd.
10296 (si_lower): New.
10297 (si_upper): Likewise.
10298
10299 2015-07-16 David S. Miller <davem@davemloft.net>
10300
10301 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
10302
10303 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10304
10305 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
10306 buffer.
10307 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
10308 fail output information.
10309
10310 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10311
10312 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
10313 and strstr-ppc64..
10314 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10315 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
10316 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
10317 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
10318 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
10319
10320 2015-07-16 Mike Frysinger <vapier@gentoo.org>
10321
10322 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10323 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10324 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10325 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10326
10327 2015-07-16 Mike Frysinger <vapier@gentoo.org>
10328
10329 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10330 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
10331 rtld_hidden_proto.
10332 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
10333
10334 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10335
10336 * tst-nodelete-opened.c (do_test): Add comment to clarify how
10337 the test can fail.
10338
10339 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
10340
10341 [BZ #18676]
10342 * elf/tst-nodelete-opened.c: New test case.
10343 * elf/tst-nodelete-opened-lib.c: New test case module.
10344 * elf/Makefile (tests, modules-names): Use them.
10345 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
10346 early.
10347
10348 2015-07-15 David S. Miller <davem@davemloft.net>
10349
10350 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
10351 futex-intenal.h
10352 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
10353 * sysdeps/sparc/sparc64/Makefile: Likewise.
10354 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
10355 Remove space from macro define.
10356 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
10357
10358 2015-07-15 Pravin Satpute <psatpute@redhat.com>
10359
10360 [BZ #17475]
10361 * locale/iso-639.def: Update Bhili and Tulu language codes as
10362 per iso639-3.
10363
10364 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
10365
10366 * elf/tst-leaks1.c (main): Converted to ...
10367 (do_test): ... this.
10368 (TEST_FUNCTION): New macro.
10369 Include test-skeleton.c.
10370 * localedata/tst-langinfo.c (main): Converted to ...
10371 (do_test): ... this.
10372 (TEST_FUNCTION): New macro.
10373 Include test-skeleton.c.
10374 * math/test-fpucw.c (main): Converted to ...
10375 (do_test): ... this.
10376 (TEST_FUNCTION): New macro.
10377 Include test-skeleton.c.
10378 * math/test-tgmath.c (main): Converted to ...
10379 (do_test): ... this.
10380 (TEST_FUNCTION): New macro.
10381 Include test-skeleton.c.
10382 * math/test-tgmath2.c (main): Converted to ...
10383 (do_test): ... this.
10384 (TEST_FUNCTION): New macro.
10385 Include test-skeleton.c.
10386 * setjmp/tst-setjmp.c (main): Converted to ...
10387 (do_test): ... this.
10388 (TEST_FUNCTION): New macro.
10389 Include test-skeleton.c.
10390 * stdio-common/tst-sscanf.c (main): Converted to ...
10391 (do_test): ... this.
10392 (TEST_FUNCTION): New macro.
10393 Include test-skeleton.c.
10394 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
10395 (do_test): ... this.
10396 (TEST_FUNCTION): New macro.
10397 Include test-skeleton.c.
10398
10399 * elf/tst-audit9.c (main): Converted to ...
10400 (do_test): ... this.
10401 (TEST_FUNCTION): New macro.
10402 Include test-skeleton.c.
10403
10404 2015-07-15 Mike Frysinger <vapier@gentoo.org>
10405
10406 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
10407
10408 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
10409
10410 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
10411 New variable.
10412
10413 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
10414
10415 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10416
10417 2015-07-14 Roland McGrath <roland@hack.frob.com>
10418
10419 * sysdeps/generic/dl-fileid.h: New file.
10420 * sysdeps/posix/dl-fileid.h: New file.
10421 * sysdeps/nacl/dl-fileid.h: New file.
10422 * include/link.h: Include <dl-fileid.h>.
10423 (struct link_map): Replace l_dev and l_ino with l_file_id.
10424 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
10425 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
10426 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
10427
10428 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10429
10430 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
10431
10432 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10433
10434 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
10435 Add iff $CXX is set.
10436 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
10437 Likewise.
10438 (tst-nodelete-zmodiff): Likewise.
10439 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
10440
10441 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10442
10443 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
10444
10445 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
10446
10447 * sysdeps/aarch64/fpu/math_private.h
10448 (define math_opt_barrier): Add AArch64 version.
10449 (math_force_eval): Likewise.
10450
10451 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
10452
10453 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
10454
10455 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
10456
10457 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
10458 %ld with %jd and cast to intmax_t.
10459 (do_test_length_zero): Likewise.
10460
10461 2015-07-10 Roland McGrath <roland@hack.frob.com>
10462
10463 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
10464
10465 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
10466
10467 * sysdeps/tile/libm-test-ulps: Regenerated.
10468
10469 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
10470 Comment out the whole function, not just its body.
10471
10472 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10473
10474 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
10475 locks.
10476
10477 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
10478
10479 2015-07-10 Torvald Riegel <triegel@redhat.com>
10480
10481 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
10482 (sem_assume_only_signals_cause_futex_EINTR): Remove.
10483
10484 2015-07-10 Torvald Riegel <triegel@redhat.com>
10485
10486 * sysdeps/nptl/futex-internal.h: New file.
10487 * sysdeps/nacl/futex-internal.h: New file.
10488 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
10489 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
10490 error checking.
10491 (setxid_unmark_thread): Likewise.
10492 (__nptl_setxid): Likewise.
10493 (__wait_lookup_done): Likewise.
10494 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
10495 * nptl/nptl-init.c (sighandler_setxid): Likewise.
10496 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
10497 * nptl/pthread_once.c (clear_once_control): Likewise.
10498 (__pthread_once_slow): Likewise.
10499 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10500 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
10501 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
10502 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
10503 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
10504 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
10505 Likewise.
10506 (__pthread_rwlock_rdlock): Likewise.
10507 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10508 Likewise.
10509 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10510 Likewise.
10511 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
10512 Likewise.
10513 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
10514 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
10515 Likewise.
10516 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
10517 __ASSUME_PRIVATE_FUTEX check.
10518 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
10519 Check that shared futexes are supported.
10520 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
10521 wrappers with error checking.
10522 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
10523 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
10524 * nptl/pthread_barrierattr_setpshared.c
10525 (pthread_barrierattr_setpshared): Check that shared futexes are
10526 supported.
10527 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
10528 Likewise.
10529 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
10530 Likewise.
10531 * nptl/sem_init.c (futex_private_if_supported): Remove.
10532 (__new_sem_init): Adapt and check that shared futexes are supported.
10533 * nptl/sem_open.c (sem_open): Likewise.
10534 * nptl/sem_post.c (futex_wake): Remove.
10535 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
10536 (do_futex_wait): Use futex wrappers with error checking.
10537 * nptl/sem_wait.c: Include lowlevellock.h.
10538 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
10539 Use futex_supports_pshared.
10540 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
10541 Use futex wrappers with error checking.
10542 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
10543 Likewise.
10544 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
10545 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
10546 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
10547 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
10548 (futex_wake): Likewise.
10549 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
10550 (do_futex_wait): Use futex wrappers with error checking.
10551 (__new_sem_wait_slow): Update EINTR handling.
10552 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
10553
10554 2015-07-09 Martin Sebor <msebor@redhat.com>
10555
10556 [BZ #18435]
10557 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10558 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
10559 * nptl/Makefile (test-xfail-tst-once5): Define.
10560
10561 2015-07-09 Roland McGrath <roland@hack.frob.com>
10562
10563 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
10564 * elf/dl-minimal.c: For readability, reorder some definitions and
10565 introduce more page breaks. Include <stdio.h>.
10566 (__libc_fatal): New function.
10567
10568 * include/unistd.h: Add rtld_hidden_proto for _exit.
10569 * posix/_exit.c: Add rtld_hidden_def.
10570 * sysdeps/mach/hurd/_exit.c: Likewise.
10571 * sysdeps/nacl/_exit.c: Likewise.
10572 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
10573 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
10574
10575 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
10576
10577 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
10578 bndmov encoding with zero displacement.
10579
10580 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
10581 H.J. Lu <hongjiu.lu@intel.com>
10582
10583 [BZ #18134]
10584 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
10585 * sysdeps/i386/configure: Regenerated.
10586 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
10587 (_dl_runtime_profile): Save and restore Intel MPX return bound
10588 registers when calling _dl_call_pltexit. Add
10589 PRESERVE_BND_REGS_PREFIX before return.
10590 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
10591 (LRV_BND1_OFFSET): Likewise.
10592 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
10593 lrv_bnd1.
10594 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
10595 typo in bndmov encoding.
10596 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
10597 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
10598 branch instructions to preserve bounds.
10599
10600 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10601
10602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10603 [GLIBC_2.22]: Add fmemopen.
10604
10605 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
10606
10607 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
10608 returns an error, also try to use host port from __mach_host_self for
10609 the __vm_wire call.
10610 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
10611
10612 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
10613
10614 [BZ #18400]
10615 [BZ #18648]
10616 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
10617 Fix pr_uid and pr_gid members.
10618 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
10619 definition to elf_greg_t.
10620
10621 2015-07-08 Roland McGrath <roland@hack.frob.com>
10622
10623 [BZ #18383]
10624 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
10625 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
10626 * sysdeps/arm/configure: Regenerated.
10627 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
10628 (test-xfail-tst-tlsalign-static): Variable removed.
10629
10630 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
10631 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
10632 rather than explicit 'ln -s'.
10633
10634 * resolv/rpc/netdb.h: New file.
10635 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
10636
10637 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10638
10639 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
10640 length buffers.
10641 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10642 test-skeleton.c.
10643
10644 [BZ #6544]
10645 [BZ #11216]
10646 [BZ #12836]
10647 [BZ #13151]
10648 [BZ #13152]
10649 [BZ #14292]
10650 * include/stdio.h (fmemopen): Remove hidden prototype.
10651 (__fmemopen): Add new hidden prototype.
10652 * libio/Makefile: Add oldfmemopen object.
10653 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
10654 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
10655 compliance.
10656 * libio/oldfmemopen.c: New file: old fmemopen implementation for
10657 symbol compatibility.
10658 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
10659 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
10660 fmemopen.
10661 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
10662 on append and read mode.
10663 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
10664 fmemopen.
10665 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
10666 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
10667 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
10668 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
10669 Likewise.
10670 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
10671 [GLIBC_2.22]: Likewise.
10672 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
10673 Likewise.
10674 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
10675 Likewise.
10676 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10677 [GLIBC_2.22]: Likewise.
10678 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10679 [GLIBC_2.22]: Likewise.
10680 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10681 [GLIBC_2.22]: Likewise.
10682 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10683 [GLIBC_2.22]: Likewise.
10684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10685 [GLIBC_2.22]: Likewise.
10686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10687 [GLIBC_2.22]: Likewise.
10688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10689 [GLIBC_2.22]: Likewise.
10690 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
10691 Likewise.
10692 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
10693 Likewise.
10694 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
10695 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10696 [GLIBC_2.22]: Likewise.
10697 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10698 [GLIBC_2.22]: Likewise.
10699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10700 [GLIBC_2.22]: Likewise.
10701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10702 [GLIBC_2.22]: Likewise.
10703 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
10704 Likewise.
10705 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
10706 Likewise.
10707 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
10708 Likewise.
10709 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
10710 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
10711
10712 2015-07-08 Carlos O'Donell <carlos@redhat.com>
10713
10714 [BZ #18643]
10715 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
10716 IPV6_PATHMTU, and IPV6_DONTFRAG.
10717
10718 2015-07-08 Feng Gao <gfree.wind@gmail.com>
10719
10720 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
10721 and _IO_UNBUFFERED.
10722 * libio/oldfileops.c: Likewise.
10723 * libio/wfileops.c: Likewise.
10724
10725 2015-07-08 Mike Frysinger <vapier@gentoo.org>
10726
10727 * nscd/selinux.c: Delete selinux/flask.h include.
10728
10729 2015-07-08 Mike Frysinger <vapier@gentoo.org>
10730
10731 [BZ #18641]
10732 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
10733 (putpwent): Likewise.
10734 (getpwnam): Likewise.
10735 (getpwent_r): Likewise.
10736 (getpwuid_r): Likewise.
10737 (getpwnam_r): Likewise.
10738 (fgetpwent_r): Likewise.
10739
10740 2015-07-08 Carlos O'Donell <carlos@redhat.com>
10741
10742 [BZ #18557]
10743 * inet/rcmd.c (__validuser2_sa): Check user first to
10744 short-circuit host check.
10745
10746 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
10747 Mikhail Ilin <m.ilin@samsung.com>
10748
10749 [BZ #17833]
10750 * elf/Makefile (tests): Add tst-nodelete.
10751 (modules-names): Add tst-nodelete-uniquemod.
10752 (tst-nodelete-uniquemod.so-no-z-defs): New.
10753 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
10754 (tst-nodelete-zmod.so-no-z-defs): Likewise.
10755 ($(objpfx)tst-nodelete): Likewise.
10756 ($(objpfx)tst-nodelete.out): Likewise.
10757 (LDFLAGS-tst-nodelete): Likewise.
10758 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
10759 * elf/dl-close.c (_dl_close_worker): Add a parameter to
10760 implement forced object deletion.
10761 (_dl_close): Pass false to _dl_close_worker.
10762 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
10763 * elf/tst-nodelete.cc: New file.
10764 * elf/tst-nodeletelib.cc: Likewise.
10765 * elf/tst-znodeletelib.cc: Likewise.
10766 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
10767
10768 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
10769
10770 [BZ #18508]
10771 * stdlib/Makefile ($(objpfx)tst-makecontext3):
10772 Depend on $(libdl).
10773 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
10774 is not called infinitely times.
10775 (backtrace_helper): New function.
10776 (trace_arg): New struct.
10777 (st1): Enlarge stack size.
10778 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10779 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
10780 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10781 Likewise.
10782
10783 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
10784
10785 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10786
10787 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
10788
10789 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
10790 Include sys/types.h instead of bits/types.h.
10791 Remove inclusion of bits/wordsize.h.
10792
10793 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
10794
10795 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
10796 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
10797 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
10798 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
10799 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
10800 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
10801
10802 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
10803
10804 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
10805 link-defines.sym.
10806 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
10807 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
10808 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
10809 and LR_SIZE.
10810 * sysdeps/i386/link-defines.sym: New file.
10811
10812 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
10813
10814 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
10815 (modules-names): Add tst-auditmod3a tst-auditmod3b.
10816 ($(objpfx)tst-audit3): New rule.
10817 ($(objpfx)tst-audit3.out): Likewise.
10818 * sysdeps/i386/tst-audit3.c: New file.
10819 * sysdeps/i386/tst-audit3.h: Likewise.
10820 * sysdeps/i386/tst-auditmod3a.c: Likewise.
10821 * sysdeps/i386/tst-auditmod3b.c: Likewise.
10822
10823 2015-07-07 Torvald Riegel <triegel@redhat.com>
10824
10825 [BZ #18633]
10826 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
10827 pointer in C code.
10828 (__strcat_c): Likewise.
10829 (__strcat_g): Likewise.
10830
10831 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
10832
10833 [BZ #18592]
10834 * misc/sbrk.c: Set errno to ENOMEM on overflow.
10835
10836 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
10837
10838 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
10839 New function. (__ieee754_sqrtf): New function.
10840 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
10841 New function.
10842 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
10843 New function.
10844
10845 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
10846
10847 * sysdeps/ieee754/support.c: Remove unused file.
10848
10849 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10850
10851 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
10852 registers instead of d ones so the layout is kernel abi compatible.
10853 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
10854 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
10855 Likewise.
10856
10857 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10858
10859 * sysdeps/aarch64/libm-test-ulps: Regenerated.
10860
10861 2015-07-01 Joseph Myers <joseph@codesourcery.com>
10862
10863 [BZ #18619]
10864 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
10865 and return argument in case of subnormal argument.
10866
10867 2015-07-01 Martin Sebor <msebor@redhat.com>
10868
10869 [BZ #18435]
10870 * nptl/Makefile: Add tst-once5.cc.
10871 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10872 Remove macro redefinitions.
10873 * nptl/tst-once5.cc: New test.
10874
10875 2015-07-01 Joseph Myers <joseph@codesourcery.com>
10876
10877 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10878
10879 * sysdeps/arm/libm-test-ulps: Regenerated.
10880
10881 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10882 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10883
10884 2015-06-30 Torvald Riegel <triegel@redhat.com>
10885
10886 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
10887 lll_lock_wait_private and lll_futex_wake probes.
10888
10889 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10890 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
10891 Likewise.
10892 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
10893 atomic_spin_nop.
10894 * sysdeps/x86_64/bits/atomic.h: Likewise.
10895 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
10896 to atomic_spin_nop and move ...
10897 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
10898 ... here and ...
10899 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
10900 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10901 atomic_spin_nop instead of BUSY_WAIT_NOP.
10902 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
10903 Likewise.
10904 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
10905 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10906 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
10907 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
10908 instead of atomic_delay.
10909
10910 2015-06-29 Joseph Myers <joseph@codesourcery.com>
10911
10912 [BZ #18613]
10913 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
10914 X_ADJ not X when adjusting exponent.
10915 (__ieee754_gamma_r): Do intermediate computations in
10916 round-to-nearest then adjust overflowing and underflowing results
10917 as needed.
10918 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
10919 of X_ADJ not X when adjusting exponent.
10920 (__ieee754_gammaf_r): Do intermediate computations in
10921 round-to-nearest then adjust overflowing and underflowing results
10922 as needed.
10923 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
10924 log of X_ADJ not X when adjusting exponent.
10925 (__ieee754_gammal_r): Do intermediate computations in
10926 round-to-nearest then adjust overflowing and underflowing results
10927 as needed. Use 1.0L not 1.0f as numerator of division.
10928 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
10929 log of X_ADJ not X when adjusting exponent.
10930 (__ieee754_gammal_r): Do intermediate computations in
10931 round-to-nearest then adjust overflowing and underflowing results
10932 as needed. Use 1.0L not 1.0f as numerator of division.
10933 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
10934 of X_ADJ not X when adjusting exponent.
10935 (__ieee754_gammal_r): Do intermediate computations in
10936 round-to-nearest then adjust overflowing and underflowing results
10937 as needed. Use 1.0L not 1.0f as numerator of division.
10938 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
10939 to auto-libm-test-in.
10940 (tgamma_test): Use ALL_RM_TEST.
10941 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
10942 tests of tgamma with spurious-overflow.
10943 * math/auto-libm-test-out: Regenerated.
10944 * math/gen-libm-have-vector-test.sh: Do not check for START.
10945 * sysdeps/i386/fpu/libm-test-ulps: Update.
10946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10947
10948 [BZ #18612]
10949 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
10950 arguments, just return 0.5 times the argument, with underflow
10951 forced as needed.
10952 * math/auto-libm-test-in: Add more tests of j1.
10953 * math/auto-libm-test-out: Regenerated.
10954
10955 [BZ #16559]
10956 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
10957 (__ieee754_j1): Force underflow exception for small results.
10958 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10959 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
10960 (__ieee754_j1f): Force underflow exception for small results.
10961 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10962 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10963 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10964 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
10965 (__ieee754_j1l): Force underflow exception for small results.
10966 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10967 * math/auto-libm-test-in: Add more tests of j1 and jn.
10968 * math/auto-libm-test-out: Regenerated.
10969
10970 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
10971 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
10972 (PF_MPLS): Likewise.
10973 (AF_IB): Likewise.
10974 (AF_MPLS): Likewise.
10975 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
10976 value and macro.
10977 (MS_RMT_MASK): Include MS_LAZYTIME.
10978
10979 2015-06-26 Mel Gorman <mgorman@suse.de>
10980
10981 [BZ #18502]
10982 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
10983 already minimal.
10984
10985 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
10986
10987 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
10988 (DT_MIPS_NUM): Update.
10989 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
10990 DT_MIPS_RLD_MAP_REL.
10991
10992 2015-06-25 Joseph Myers <joseph@codesourcery.com>
10993
10994 [BZ #16559]
10995 [BZ #18602]
10996 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
10997 round-to-nearest internally then recompute results that
10998 underflowed to zero in the original rounding mode.
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_jnl.c (__ieee754_jnl): Likewise.
11003 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
11004 * sysdeps/i386/fpu/libm-test-ulps: Update.
11005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11006
11007 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
11008
11009 * NEWS: Fixed description of link with vector math library.
11010
11011 2015-06-25 Andreas Schwab <schwab@suse.de>
11012
11013 [BZ #18549]
11014 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
11015 * libio/test-fmemopen.c (do_test): Add test for it.
11016
11017 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
11018
11019 [BZ #17841]
11020 * Makeconfig (no-pie-ldflag): New.
11021 (+link): Set to $(+link-pie) if default to PIE.
11022 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
11023 * config.make.in (build-pie-default): New.
11024 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
11025 is default. AC_SUBST.
11026 * configure: Regenerated.
11027 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
11028
11029 2015-06-24 Roland McGrath <roland@hack.frob.com>
11030
11031 * nptl/descr.h (struct pthread): Change type of field setxid_futex
11032 to 'unsigned int'.
11033
11034 * resolv/gai_misc.h (struct waitlist): Change type of field
11035 counterp to 'volatile unsigned int *'.
11036 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
11037 FUTEXADDR and OLDVAL.
11038 * resolv/getaddrinfo_a.c (getaddrinfo_a):
11039 Give local variable TOTAL type 'volatile unsigned int'.
11040 (struct async_waitlist): Change type of field counter to 'unsigned int'.
11041 * resolv/gai_suspend.c (gai_suspend):
11042 Give local variable CNTR type 'unsigned int'.
11043
11044 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
11045 counterp to 'volatile unsigned int *'.
11046 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
11047 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
11048 (aio_suspend): Give local variable CNTR type 'unsigned int'.
11049 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
11050 Give local variable TOTAL type 'volatile unsigned int'.
11051 (struct async_waitlist): Change type of field counter to 'unsigned int'.
11052
11053 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
11054
11055 [BZ #18383]
11056 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
11057 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
11058 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
11059 comment for i386/x86-64.
11060 (test-xfail-tst-tlsalign-extern-static): Removed.
11061
11062 2015-06-24 Joseph Myers <joseph@codesourcery.com>
11063
11064 * math/test-double.h: New file.
11065 * math/test-float.h: Likewise.
11066 * math/test-ldouble.h: Likewise.
11067 * math/test-math-inline.h: Likewise.
11068 * math/test-math-no-inline.h: Likewise.
11069 * math/test-math-scalar.h: Likewise.
11070 * math/test-math-vector.h: Likewise.
11071 * math/test-vec-loop.h: Remove file. Contents moved into
11072 test-math-vector.h.
11073 * math/libm-test.inc (MATHCONST): Do not document macro.
11074 * math/test-double.c: Include test-double.h, test-math-no-inline.h
11075 and test-math-scalar.h.
11076 (FUNC): Remove macro.
11077 (FUNC_TEST): Likewise.
11078 (FLOAT): Likewise.
11079 (MATHCONST): Likewise.
11080 (PRINTF_EXPR): Likewise.
11081 (PRINTF_XEXPR): Likewise.
11082 (PRINTF_NEXPR): Likewise.
11083 (TEST_DOUBLE): Likewise.
11084 (TEST_MATHVEC): Likewise.
11085 (__NO_MATH_INLINES): Likewise.
11086 * math/test-float.c: Include test-float.h, test-math-no-inline.h
11087 and test-math-scalar.h.
11088 (FUNC): Remove macro.
11089 (FUNC_TEST): Likewise.
11090 (FLOAT): Likewise.
11091 (MATHCONST): Likewise.
11092 (PRINTF_EXPR): Likewise.
11093 (PRINTF_XEXPR): Likewise.
11094 (PRINTF_NEXPR): Likewise.
11095 (TEST_FLOAT): Likewise.
11096 (TEST_MATHVEC): Likewise.
11097 (__NO_MATH_INLINES): Likewise.
11098 * math/test-idouble.c: Include test-double.h, test-math-inline.h
11099 and test-math-scalar.h.
11100 (FUNC): Remove macro.
11101 (FUNC_TEST): Likewise.
11102 (FLOAT): Likewise.
11103 (MATHCONST): Likewise.
11104 (PRINTF_EXPR): Likewise.
11105 (PRINTF_XEXPR): Likewise.
11106 (PRINTF_NEXPR): Likewise.
11107 (TEST_DOUBLE): Likewise.
11108 (TEST_MATHVEC): Likewise.
11109 (TEST_INLINE): Likewise.
11110 (__NO_MATH_INLINES): Likewise.
11111 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
11112 test-math-scalar.h.
11113 (FUNC): Remove macro.
11114 (FUNC_TEST): Likewise.
11115 (FLOAT): Likewise.
11116 (MATHCONST): Likewise.
11117 (PRINTF_EXPR): Likewise.
11118 (PRINTF_XEXPR): Likewise.
11119 (PRINTF_NEXPR): Likewise.
11120 (TEST_FLOAT): Likewise.
11121 (TEST_MATHVEC): Likewise.
11122 (TEST_INLINE): Likewise.
11123 (__NO_MATH_INLINES): Likewise.
11124 * math/test-ildoubl.c: Include test-ldouble.h, test-math-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_LDOUBLE): Likewise.
11134 (TEST_MATHVEC): Likewise.
11135 (TEST_INLINE): Likewise.
11136 (__NO_MATH_INLINES): Likewise.
11137 * math/test-ldouble.c: Include test-ldouble.h,
11138 test-math-no-inline.h and test-math-scalar.h.
11139 (FUNC): Remove macro.
11140 (FUNC_TEST): Likewise.
11141 (FLOAT): Likewise.
11142 (MATHCONST): Likewise.
11143 (PRINTF_EXPR): Likewise.
11144 (PRINTF_XEXPR): Likewise.
11145 (PRINTF_NEXPR): Likewise.
11146 (TEST_LDOUBLE): Likewise.
11147 (TEST_MATHVEC): Likewise.
11148 (__NO_MATH_INLINES): Likewise.
11149 * math/test-double-vlen2.h: Include test-double.h,
11150 test-math-no-inline.h and test-math-vector.h.
11151 (FLOAT): Remove macro.
11152 (FUNC): Likewise.
11153 (MATHCONST): Likewise.
11154 (PRINTF_EXPR): Likewise.
11155 (PRINTF_XEXPR): Likewise.
11156 (PRINTF_NEXPR): Likewise.
11157 (TEST_DOUBLE): Likewise.
11158 (TEST_MATHVEC): Likewise.
11159 (__NO_MATH_INLINES): Likewise.
11160 (CNCT): Likewise.
11161 (CONCAT): Likewise.
11162 (WRAPPER_NAME): Likewise.
11163 (WRAPPER_DECL): Likewise.
11164 (WRAPPER_DECL_ff): Likewise.
11165 (WRAPPER_DECL_fFF): Likewise.
11166 (VECTOR_WRAPPER): Likewise.
11167 (VECTOR_WRAPPER_ff): Likewise.
11168 (VECTOR_WRAPPER_fFF): Likewise.
11169 (VEC_LEN): New macro.
11170 * math/test-double-vlen4.h: Include test-double.h,
11171 test-math-no-inline.h and test-math-vector.h.
11172 (FLOAT): Remove macro.
11173 (FUNC): Likewise.
11174 (MATHCONST): Likewise.
11175 (PRINTF_EXPR): Likewise.
11176 (PRINTF_XEXPR): Likewise.
11177 (PRINTF_NEXPR): Likewise.
11178 (TEST_DOUBLE): Likewise.
11179 (TEST_MATHVEC): Likewise.
11180 (__NO_MATH_INLINES): Likewise.
11181 (CNCT): Likewise.
11182 (CONCAT): Likewise.
11183 (WRAPPER_NAME): Likewise.
11184 (WRAPPER_DECL): Likewise.
11185 (WRAPPER_DECL_ff): Likewise.
11186 (WRAPPER_DECL_fFF): Likewise.
11187 (VECTOR_WRAPPER): Likewise.
11188 (VECTOR_WRAPPER_ff): Likewise.
11189 (VECTOR_WRAPPER_fFF): Likewise.
11190 (VEC_LEN): New macro.
11191 * math/test-double-vlen8.h: Include test-double.h,
11192 test-math-no-inline.h and test-math-vector.h.
11193 (FLOAT): Remove macro.
11194 (FUNC): Likewise.
11195 (MATHCONST): Likewise.
11196 (PRINTF_EXPR): Likewise.
11197 (PRINTF_XEXPR): Likewise.
11198 (PRINTF_NEXPR): Likewise.
11199 (TEST_DOUBLE): Likewise.
11200 (TEST_MATHVEC): Likewise.
11201 (__NO_MATH_INLINES): Likewise.
11202 (CNCT): Likewise.
11203 (CONCAT): Likewise.
11204 (WRAPPER_NAME): Likewise.
11205 (WRAPPER_DECL): Likewise.
11206 (WRAPPER_DECL_ff): Likewise.
11207 (WRAPPER_DECL_fFF): Likewise.
11208 (VECTOR_WRAPPER): Likewise.
11209 (VECTOR_WRAPPER_ff): Likewise.
11210 (VECTOR_WRAPPER_fFF): Likewise.
11211 (VEC_LEN): New macro.
11212 * math/test-float-vlen4.h: Include test-float.h,
11213 test-math-no-inline.h and test-math-vector.h.
11214 (FLOAT): Remove macro.
11215 (FUNC): Likewise.
11216 (MATHCONST): Likewise.
11217 (PRINTF_EXPR): Likewise.
11218 (PRINTF_XEXPR): Likewise.
11219 (PRINTF_NEXPR): Likewise.
11220 (TEST_FLOAT): Likewise.
11221 (TEST_MATHVEC): Likewise.
11222 (__NO_MATH_INLINES): Likewise.
11223 (CNCT): Likewise.
11224 (CONCAT): Likewise.
11225 (WRAPPER_NAME): Likewise.
11226 (WRAPPER_DECL): Likewise.
11227 (WRAPPER_DECL_ff): Likewise.
11228 (WRAPPER_DECL_fFF): Likewise.
11229 (VECTOR_WRAPPER): Likewise.
11230 (VECTOR_WRAPPER_ff): Likewise.
11231 (VECTOR_WRAPPER_fFF): Likewise.
11232 (VEC_LEN): New macro.
11233 * math/test-float-vlen8.h: Include test-float.h,
11234 test-math-no-inline.h and test-math-vector.h.
11235 (FLOAT): Remove macro.
11236 (FUNC): Likewise.
11237 (MATHCONST): Likewise.
11238 (PRINTF_EXPR): Likewise.
11239 (PRINTF_XEXPR): Likewise.
11240 (PRINTF_NEXPR): Likewise.
11241 (TEST_FLOAT): Likewise.
11242 (TEST_MATHVEC): Likewise.
11243 (__NO_MATH_INLINES): Likewise.
11244 (CNCT): Likewise.
11245 (CONCAT): Likewise.
11246 (WRAPPER_NAME): Likewise.
11247 (WRAPPER_DECL): Likewise.
11248 (WRAPPER_DECL_ff): Likewise.
11249 (WRAPPER_DECL_fFF): Likewise.
11250 (VECTOR_WRAPPER): Likewise.
11251 (VECTOR_WRAPPER_ff): Likewise.
11252 (VECTOR_WRAPPER_fFF): Likewise.
11253 (VEC_LEN): New macro.
11254 * math/test-float-vlen16.h: Include test-float.h,
11255 test-math-no-inline.h and test-math-vector.h.
11256 (FLOAT): Remove macro.
11257 (FUNC): Likewise.
11258 (MATHCONST): Likewise.
11259 (PRINTF_EXPR): Likewise.
11260 (PRINTF_XEXPR): Likewise.
11261 (PRINTF_NEXPR): Likewise.
11262 (TEST_FLOAT): Likewise.
11263 (TEST_MATHVEC): Likewise.
11264 (__NO_MATH_INLINES): Likewise.
11265 (CNCT): Likewise.
11266 (CONCAT): Likewise.
11267 (WRAPPER_NAME): Likewise.
11268 (WRAPPER_DECL): Likewise.
11269 (WRAPPER_DECL_ff): Likewise.
11270 (WRAPPER_DECL_fFF): Likewise.
11271 (VECTOR_WRAPPER): Likewise.
11272 (VECTOR_WRAPPER_ff): Likewise.
11273 (VECTOR_WRAPPER_fFF): Likewise.
11274 (VEC_LEN): New macro.
11275 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
11276 test-vec-loop.h.
11277 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11278 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11279 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11280 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11281 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11282 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11283 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11284
11285 2015-06-24 Roland McGrath <roland@hack.frob.com>
11286
11287 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
11288 (__getlogin_r): ... this.
11289
11290 2015-06-24 Joseph Myers <joseph@codesourcery.com>
11291
11292 [BZ #18594]
11293 * math/s_ccosh.c (__ccosh): Compare with least normal value
11294 instead of comparing class with FP_SUBNORMAL.
11295 * math/s_ccoshf.c (__ccoshf): Likewise.
11296 * math/s_ccoshl.c (__ccoshl): Likewise.
11297 * math/s_cexp.c (__cexp): Likewise.
11298 * math/s_cexpf.c (__cexpf): Likewise.
11299 * math/s_cexpl.c (__cexpl): Likewise.
11300 * math/s_csin.c (__csin): Likewise.
11301 * math/s_csinf.c (__csinf): Likewise.
11302 * math/s_csinh.c (__csinh): Likewise.
11303 * math/s_csinhf.c (__csinhf): Likewise.
11304 * math/s_csinhl.c (__csinhl): Likewise.
11305 * math/s_csinl.c (__csinl): Likewise.
11306 * math/s_ctan.c (__ctan): Likewise.
11307 * math/s_ctanf.c (__ctanf): Likewise.
11308 * math/s_ctanh.c (__ctanh): Likewise.
11309 * math/s_ctanhf.c (__ctanhf): Likewise.
11310 * math/s_ctanhl.c (__ctanhl): Likewise.
11311 * math/s_ctanl.c (__ctanl): Likewise.
11312 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
11313 csin, csinh, ctan and ctanh.
11314 * math/auto-libm-test-out: Regenerated.
11315 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
11316 * sysdeps/i386/fpu/libm-test-ulps: Update.
11317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11318
11319 2015-06-24 Roland McGrath <roland@hack.frob.com>
11320
11321 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
11322 return value is wrong, print the expected value too.
11323
11324 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
11325
11326 [BZ #18585]
11327 * elf/readlib.c (is_gdb_python_file): New.
11328 (process_file): Don't issue errors on filenames with -gdb.py
11329 suffix.
11330
11331 2015-06-24 Joseph Myers <joseph@codesourcery.com>
11332
11333 * math/auto-libm-test-in: Add more tests of csin and csinh.
11334 * math/auto-libm-test-out: Regenerated.
11335 * math/libm-test.inc (csin_test_data): Remove tests moved to
11336 auto-libm-test-in.
11337 (csinh_test_data): Likewise.
11338
11339 [BZ #18593]
11340 * math/s_csin.c (__csin): Negate before rather than after possibly
11341 overflowing multiplication.
11342 * math/s_csinf.c (__csinf): Likewise.
11343 * math/s_csinh.c (__csinh): Likewise.
11344 * math/s_csinhf.c (__csinhf): Likewise.
11345 * math/s_csinhl.c (__csinhl): Likewise.
11346 * math/s_csinl.c (__csinl): Likewise.
11347 * math/auto-libm-test-in: Add some tests of csin and csinh.
11348 * math/auto-libm-test-out: Regenerated.
11349 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
11350 (csinh_test_data): Likewise.
11351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11352
11353 [BZ #18586]
11354 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
11355 underflow exception for small results.
11356
11357 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
11358
11359 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
11360 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
11361 variable and included header.
11362 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
11363 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
11364 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
11365 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
11366 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
11367 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
11368 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
11369 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
11370 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
11371 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
11372 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
11373 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
11374 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
11375 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
11376 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
11377 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
11378
11379 2015-06-23 Joseph Myers <joseph@codesourcery.com>
11380
11381 [BZ #16526]
11382 [BZ #16538]
11383 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
11384 (__sin): Force underflow exception for arguments with small
11385 absolute value.
11386 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
11387 (__kernel_sinf): Force underflow exception for arguments with
11388 small absolute value.
11389 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
11390 (__kernel_sincosl): Force underflow exception for arguments with
11391 small absolute value.
11392 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
11393 (__kernel_sinl): Force underflow exception for arguments with
11394 small absolute value.
11395 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
11396 (__kernel_sincosl): Force underflow exception for arguments with
11397 small absolute value.
11398 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
11399 (__kernel_sinl): Force underflow exception for arguments with
11400 small absolute value.
11401 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
11402 (__kernel_sinl): Force underflow exception for arguments with
11403 small absolute value.
11404 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
11405 (__kernel_sinf): Force underflow exception for arguments with
11406 small absolute value.
11407 * math/auto-libm-test-in: Add more tests of sin and sincos.
11408 * math/auto-libm-test-out: Regenerated.
11409
11410 [BZ #18245]
11411 [BZ #18583]
11412 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
11413 (__kernel_standard_l): Use feholdexcept and fesetenv around
11414 conversion to double instead of special-casing overflow and
11415 underflow.
11416 * math/libm-test.inc (fmod_test_data): Add more tests.
11417 (remainder_test_data): Likewise.
11418 (sqrt_test_data): Likewise.
11419
11420 2015-06-23 Torvald Riegel <triegel@redhat.com>
11421
11422 [BZ #17403]
11423 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
11424 atomic_read_barrier, atomic_write_barrier): Define.
11425 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
11426 atomic_read_barrier, atomic_write_barrier): Define.
11427
11428 2015-06-23 Joseph Myers <joseph@codesourcery.com>
11429
11430 * math/Makefile [$(PERL) != no]
11431 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
11432 dependency on libm-test.stmp below the inclusion of Rules.
11433
11434 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
11435
11436 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
11437 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
11438 and included header.
11439 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
11440 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
11441 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
11442 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
11443 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
11444 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
11445 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
11446 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
11447 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
11448 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
11449 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
11450 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
11451 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
11452 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
11453 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
11454 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
11455 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
11456 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
11457 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
11458
11459 2015-06-23 Joseph Myers <joseph@codesourcery.com>
11460
11461 [BZ #18371]
11462 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
11463 intermediate but not final result might underflow.
11464 * math/s_csqrtf.c (__csqrtf): Likewise.
11465 * math/s_csqrtl.c (__csqrtl): Likewise.
11466 * math/auto-libm-test-in: Add more tests of csqrt.
11467 * math/auto-libm-test-out: Regenerated.
11468 * sysdeps/i386/fpu/libm-test-ulps: Update.
11469
11470 [BZ #18219]
11471 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
11472 threshold on absolute value of exponent for which scaling is used.
11473 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11474 * math/auto-libm-test-in: Add more tests of exp2.
11475 * math/auto-libm-test-out: Regenerated.
11476
11477 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
11478
11479 [BZ #17977]
11480 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
11481 when initializing interface list, based on the bug analysis
11482 and the patch proposed by Eric Newton.
11483 * resolv/tst-res_hconf_reorder.c: New test.
11484 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
11485 tst-res_hconf_reorder.
11486 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
11487 and $(shared-thread-library).
11488 (tst-res_hconf_reorder-ENV): New variable.
11489
11490 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
11491 in comment.
11492
11493 2015-06-22 Joseph Myers <joseph@codesourcery.com>
11494
11495 [BZ #16353]
11496 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
11497 (__expm1): Force underflow exception for arguments with small
11498 absolute value.
11499 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
11500 (__expm1f): Force underflow exception for arguments with small
11501 absolute value.
11502 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
11503 (__expm1): Force underflow exception for arguments with small
11504 absolute value.
11505 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
11506 (__expm1f): Force underflow exception for arguments with small
11507 absolute value.
11508 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11509 Check for small arguments before calling __expm1.
11510 * math/auto-libm-test-in: Do not mark underflow exceptions as
11511 possibly missing for bug 16353.
11512 * math/auto-libm-test-out: Regenerated.
11513
11514 2015-06-22 Andreas Schwab <schwab@suse.de>
11515
11516 [BZ #18513]
11517 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
11518 PTR queries.
11519
11520 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
11521
11522 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
11523
11524 * string/strcoll_l.c: Remove unused struct element idxnow.
11525
11526 2015-06-21 Joseph Myers <joseph@codesourcery.com>
11527
11528 [BZ #18569]
11529 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
11530 underflow and return argument in case of subnormal argument.
11531 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11532 Likewise.
11533 * math/auto-libm-test-in: Add more tests of expm1.
11534 * math/auto-libm-test-out: Regenerated.
11535
11536 [BZ #16361]
11537 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
11538 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
11539 tiny results.
11540 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
11541 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
11542 tiny results.
11543 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
11544 mark underflow exceptions as possibly missing for bug 16361.
11545 * math/auto-libm-test-out: Regenerated.
11546
11547 2015-06-19 Joseph Myers <joseph@codesourcery.com>
11548
11549 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
11550 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
11551 Remove variable.
11552 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11553 (test-xfail-XOPEN2K8/utmpx.h/conform).
11554
11555 * conform/conformtest.pl ($xerrors): New variable.
11556 (note_error): New function.
11557 (compiletest): New argument $xfail. Use not_error.
11558 (runtest): Likewise.
11559 (top level): Handle xfail- lines. Update calls to compiletest and
11560 runtest. Handle xfail- and optional- in headers listed with
11561 allow-header.
11562 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
11563 (O_EXEC): Likewise.
11564 (O_SEARCH): Likewise.
11565 * conform/data/stropts.h-data (ioctl): Likewise.
11566 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
11567 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
11568 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
11569 (msghdr.msg_controllen): Likewise.
11570 (cmsghdr.cmsg_len): Likewise.
11571 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
11572 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
11573 variable.
11574 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11575 (test-xfail-XPG4/stropts.h/conform): Likewise.
11576 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11577 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11578 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11579 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11580 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11581 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11582 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11583 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11584 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11585 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11586 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11587 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11588 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11589 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11590 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11591 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11592 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11593 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11594 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11595
11596 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
11597
11598 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
11599 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
11600 definitions for proper unfolding of __MATHDECL_VEC.
11601
11602 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11603
11604 * benchtests/bench-strcoll.c:
11605 Include string.h.
11606 (main): Remove unused variable res.
11607
11608 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11609
11610 * timezone/Makefile (%/UTC %/Universal):
11611 Generate test-result files for UTC and Universal.
11612
11613 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11614
11615 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11616
11617 2015-06-18 Joseph Myers <joseph@codesourcery.com>
11618
11619 [BZ #16350]
11620 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
11621 for arguments with small absolute value.
11622 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
11623 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
11624 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
11625 (__asinh): Force underflow exception for arguments with small
11626 absolute value.
11627 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
11628 (__asinhf): Force underflow exception for arguments with small
11629 absolute value.
11630 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
11631 (__asinhl): Force underflow exception for arguments with small
11632 absolute value.
11633 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
11634 (__asinhl): Force underflow exception for arguments with small
11635 absolute value.
11636 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
11637 (__asinhl): Force underflow exception for arguments with small
11638 absolute value.
11639 * math/auto-libm-test-in: Do not mark underflow exceptions as
11640 possibly missing for bug 16350.
11641 * math/auto-libm-test-out: Regenerated.
11642
11643 * include/bits/ipc.h: Remove file.
11644 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
11645 variable.
11646 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11647 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11648 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11649 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11650 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11651 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11652 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11653 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11654 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11655
11656 * math/auto-libm-test-in: Remove spurious underflow allowance for
11657 tests of cexp.
11658 * math/auto-libm-test-out: Regenerated.
11659
11660 [BZ #18558]
11661 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
11662 unconditional definition.
11663 (MCAST_BLOCK_SOURCE): Likewise.
11664 (MCAST_UNBLOCK_SOURCE): Likewise.
11665 (MCAST_LEAVE_GROUP): Likewise.
11666 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11667 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11668 (MCAST_MSFILTER): Likewise.
11669 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
11670 Remove variable.
11671 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11672 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11673 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11674 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11675 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11676
11677 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
11678
11679 * NEWS: Mention addition of x86_64 vector sincosf.
11680 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
11681 * math/test-float-vlen4.h: Likewise.
11682 * math/test-float-vlen8.h: Likewise.
11683 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11684 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
11685 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11686 * sysdeps/x86_64/fpu/Versions: New versions added.
11687 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11688 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11689 Added build of SSE, AVX2 and AVX512 IFUNC versions.
11690 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
11691 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
11692 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
11693 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
11694 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
11695 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
11696 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
11697 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
11698 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
11699 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
11700 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
11701 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
11702 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
11703 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
11704 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11705 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11706 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11707 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11708 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11709 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11710 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11711
11712 * NEWS: Mention addition of x86_64 vector sincos.
11713 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
11714 * math/math.h (__MATHDECL_VEC): New macro.
11715 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
11716 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
11717 declaration under condition.
11718 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
11719 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
11720 TEST_VEC_LOOP change.
11721 * math/test-double-vlen4.h: Likewise.
11722 * math/test-double-vlen8.h: Likewise.
11723 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
11724 * math/test-float-vlen4.h: Likewise.
11725 * math/test-float-vlen8.h: Likewise.
11726 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11727 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
11728 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11729 * sysdeps/x86_64/fpu/Versions: New versions added.
11730 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11731 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11732 Added build of SSE, AVX2 and AVX512 IFUNC versions.
11733 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
11734 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
11735 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
11736 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
11737 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
11738 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
11739 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
11740 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
11741 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
11742 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
11743 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
11744 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
11745 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
11746 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
11747 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11748 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11749 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11750 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11751 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11752 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11753 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11754
11755 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11756 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11757 redirections for powf.
11758 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11759 * sysdeps/x86_64/fpu/Versions: New versions added.
11760 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11761 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11762 Added build of SSE, AVX2 and AVX512 IFUNC versions.
11763 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
11764 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
11765 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
11766 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
11767 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
11768 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
11769 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
11770 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
11771 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
11772 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
11773 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
11774 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
11775 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
11776 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
11777 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11778 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11779 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11780 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11781 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11782 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11783 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11784 * math/test-float-vlen16.h: Fixed 2 argument macro.
11785 * math/test-float-vlen4.h: Likewise.
11786 * math/test-float-vlen8.h: Likewise.
11787 * NEWS: Mention addition of x86_64 vector powf.
11788
11789 2015-06-17 Joseph Myers <joseph@codesourcery.com>
11790
11791 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11792 and redefine.
11793 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11794 and redefine.
11795 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
11796 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11797 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11798
11799 [BZ #18553]
11800 * resource/getpriority.c (getpriority): Rename to __getpriority
11801 and define as weak alias of __getpriority.
11802 * resource/setpriority.c (setpriority): Rename to __setpriority
11803 and define as weak alias of __setpriority.
11804 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
11805 __getpriority and define as weak alias of __getpriority.
11806 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
11807 __setpriority and define as weak alias of __setpriority.
11808 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
11809 strong name.
11810 (setpriority): Use __setpriority as strong name.
11811 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
11812 __getpriority and define as weak alias of __getpriority.
11813 * include/sys/resource.h (__getpriority): Declare. Use
11814 libc_hidden_proto.
11815 (__setpriority): Likewise.
11816 (getpriority): Don't use libc_hidden_proto.
11817 (setpriority): Likewise.
11818 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
11819 getpriority. Call __setpriority instead of setpriority.
11820 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
11821 Remove variable.
11822
11823 [BZ #18547]
11824 * misc/getttyent.c (getttynam): Rename to __getttynam and define
11825 as weak alias of __getttynam. Use prototype function definition.
11826 Call __setttyent, __getttyent and __endttyent instead of
11827 setttyent, getttyent and endttyent.
11828 (getttyent): Rename to __getttyent and define as weak alias of
11829 __getttyent. Call __setttyent instead of setttyent. Call
11830 __fgets_unlocked instead of fgets_unlocked.
11831 (setttyent): Rename to __setttyent and define as weak alias of
11832 __setttyent.
11833 (endttyent): Rename to __endttyent and define as weak alias of
11834 __endttyent.
11835 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
11836 (__setttyent): Likewise.
11837 (__endttyent): Likewise.
11838 (getttyent): Don't use libc_hidden_proto.
11839 (setttyent): Likewise.
11840 (endttyent): Likewise.
11841 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
11842 __endttyent instead of setttyent, getttyent and endttyent.
11843 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
11844 Remove variable.
11845
11846 [BZ #18546]
11847 * socket/recv.c (__recv): Use libc_hidden_def.
11848 * socket/socket.c (__socket): Likewise.
11849 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11850 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11851 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
11852 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
11853 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
11854 libc_hidden_def.
11855 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
11856 libc_hidden_weak.
11857 * include/sys/socket.h (__socket): Do not use attribute_hidden.
11858 Use libc_hidden_proto.
11859 (__recv): Likewise.
11860 * socket/Versions (libc): Export __recv and __socket at version
11861 GLIBC_PRIVATE.
11862 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
11863 instead of recv.
11864 (init_mq_netlink): Call __socket instead of socket.
11865 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
11866 Remove variable.
11867
11868 [BZ #18545]
11869 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
11870 __mq_timedreceive and define as alias of __mq_timedreceive. Use
11871 hidden_weak.
11872 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
11873 define as alias of __mq_timedsend. Use hidden_weak.
11874 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
11875 __mq_timedsend as strong name.
11876 (mq_timedreceive): Use __mq_timedreceive as strong name.
11877 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
11878 (__mq_timedreceive): Likewise.
11879 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
11880 __mq_timedreceive instead of mq_timedreceive.
11881 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
11882 instead of mq_timedsend.
11883 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
11884 Remove variable.
11885
11886 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
11887 hidden_def and hidden_weak instead of libc_hidden_def and
11888 libc_hidden_weak.
11889 (top level): Refer to hidden_def in comment.
11890 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
11891 macro. Use it instead of libc_hidden_def.
11892 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
11893 specify __GI_* name explicitly.
11894 (mq_timedreceive): Likewise.
11895 (mq_setattr): Likewise.
11896
11897 [BZ #18544]
11898 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
11899 __pthread_barrier_init and define as weak alias of
11900 __pthread_barrier_init.
11901 * sysdeps/sparc/nptl/pthread_barrier_init.c
11902 (pthread_barrier_init): Likewise.
11903 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
11904 __pthread_barrier_wait and define as weak alias of
11905 __pthread_barrier_wait.
11906 * sysdeps/sparc/nptl/pthread_barrier_wait.c
11907 (pthread_barrier_wait): Likewise.
11908 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11909 (pthread_barrier_wait): Likewise.
11910 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
11911 (pthread_barrier_wait): Likewise.
11912 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
11913 (pthread_barrier_wait): Likewise.
11914 * nptl/Versions (libpthread): Export __pthread_barrier_init and
11915 __pthread_barrier_wait at version GLIBC_PRIVATE.
11916 * include/pthread.h (__pthread_barrier_init): Declare.
11917 (__pthread_barrier_wait): Likewise.
11918 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
11919 Call __pthread_barrier_wait instead of pthread_barrier_wait.
11920 (helper_thread): Likewise.
11921 (init_mq_netlink): Call __pthread_barrier_init instead of
11922 pthread_barrier_init.
11923
11924 [BZ #18542]
11925 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
11926 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
11927 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
11928 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
11929 vswscanf.
11930 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
11931 Remove variable.
11932
11933 [BZ #18540]
11934 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
11935 strong alias of _IO_fflush. Use libc_hidden_def.
11936 * libio/iofflush_u.c (fflush_unlocked): Rename to
11937 __fflush_unlocked and define as weak alias of __fflush_unlocked.
11938 Use libc_hidden_weak.
11939 * include/stdio.h (__fflush_unlocked): Declare. Use
11940 libc_hidden_proto.
11941 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
11942 fflush_unlocked.
11943 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
11944 Remove variable.
11945
11946 [BZ #18539]
11947 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
11948 define as weak alias of __addseverity.
11949 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
11950 Remove variable.
11951 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11952 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11953 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11954
11955 [BZ #18536]
11956 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
11957 (__tfind): Likewise.
11958 (__tdelete): Likewise.
11959 (__twalk): Likewise.
11960 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
11961 __twalk to GLIBC_PRIVATE.
11962 * include/search.h (__tsearch): Use libc_hidden_proto.
11963 (__tfind): Likewise.
11964 (__tdelete): Likewise.
11965 (__twalk): Likewise.
11966 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
11967 Call __tdelete instead of tdelete.
11968 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
11969 tfind. Call __tsearch instead of tsearch.
11970 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
11971 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
11972 Remove variable.
11973 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11974
11975 [BZ #18534]
11976 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
11977 (dprintf): Define as a weak alias of __dprintf, not a strong
11978 alias.
11979 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
11980 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
11981 dprintf.
11982 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
11983 Remove variable.
11984 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11985 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11986
11987 [BZ #18533]
11988 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
11989 not a strong alias.
11990 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
11991 Remove variable.
11992
11993 [BZ #18532]
11994 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
11995 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
11996 (in6addr_loopback): Rename to __in6addr_loopback and define as
11997 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
11998 * include/netinet/in.h (__in6addr_loopback): Declare. Use
11999 libc_hidden_proto.
12000 (__in6addr_any): Likewise.
12001 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
12002 in6addr_any.
12003 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
12004 variable.
12005 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12006
12007 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
12008
12009 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
12010 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
12011 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12012 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12013 redirections for pow.
12014 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12015 * sysdeps/x86_64/fpu/Versions: New versions added.
12016 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12017 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12018 build of SSE, AVX2 and AVX512 IFUNC versions.
12019 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
12020 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
12021 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
12022 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
12023 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
12024 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
12025 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
12026 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
12027 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
12028 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
12029 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
12030 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
12031 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
12032 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
12033 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12034 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12035 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12036 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12037 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12038 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12039 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12040 * NEWS: Mention addition of x86_64 vector pow.
12041
12042 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12043 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12044 redirections for expf.
12045 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12046 * sysdeps/x86_64/fpu/Versions: New versions added.
12047 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12048 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12049 build of SSE, AVX2 and AVX512 IFUNC versions.
12050 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
12051 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
12052 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
12053 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
12054 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
12055 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
12056 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
12057 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
12058 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
12059 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
12060 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
12061 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
12062 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
12063 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12064 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12065 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12066 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12067 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12068 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12069 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12070 * NEWS: Mention addition of x86_64 vector expf.
12071
12072 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
12073 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
12074 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12075 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12076 redirections for exp.
12077 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12078 * sysdeps/x86_64/fpu/Versions: New versions added.
12079 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12080 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12081 build of SSE, AVX2 and AVX512 IFUNC versions.
12082 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
12083 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
12084 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
12085 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
12086 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
12087 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
12088 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
12089 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
12090 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
12091 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
12092 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
12093 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
12094 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
12095 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12096 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12097 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12098 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12099 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12100 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12101 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12102 * NEWS: Mention addition of x86_64 vector exp.
12103
12104 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12105 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12106 redirections for logf.
12107 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12108 * sysdeps/x86_64/fpu/Versions: New versions added.
12109 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12110 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12111 build of SSE, AVX2 and AVX512 IFUNC versions.
12112 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
12113 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
12114 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
12115 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
12116 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
12117 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
12118 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
12119 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
12120 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
12121 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
12122 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
12123 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
12124 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
12125 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12126 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12127 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12128 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12129 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12130 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12131 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12132 * NEWS: Mention addition of x86_64 vector logf.
12133
12134 * bits/libm-simd-decl-stubs.h: Added stubs for log.
12135 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
12136 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12137 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12138 redirections for log.
12139 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12140 * sysdeps/x86_64/fpu/Versions: New versions added.
12141 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12142 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12143 build of SSE, AVX2 and AVX512 IFUNC versions.
12144 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
12145 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
12146 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
12147 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
12148 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
12149 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
12150 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
12151 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
12152 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
12153 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
12154 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
12155 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
12156 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
12157 test.
12158 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12159 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12160 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12161 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12162 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12163 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12164 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12165 * NEWS: Mention addition of x86_64 vector log.
12166
12167 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
12168
12169 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
12170 cfi_adjust_cfa_offset argument.
12171 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
12172 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
12173
12174 [BZ #18034]
12175 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
12176 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
12177 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
12178 ordering using ldar.
12179 (_dl_tlsdesc_dynamic): Likewise.
12180 (_dl_tlsdesc_return_lazy): Likewise.
12181 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
12182 relaxed atomics instead of volatile and synchronize with release store.
12183 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
12184 volatile.
12185 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12186
12187 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
12188
12189 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12190 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
12191 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12192 * sysdeps/x86_64/fpu/Versions: New versions added.
12193 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12194 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12195 build of SSE, AVX2 and AVX512 IFUNC versions.
12196 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
12197 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
12198 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
12199 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
12200 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
12201 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
12202 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
12203 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
12204 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
12205 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
12206 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
12207 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
12208 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
12209 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12210 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12211 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12212 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12213 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12214 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12215 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12216 * NEWS: Mention addition of x86_64 vector sinf.
12217
12218 2015-06-14 Joseph Myers <joseph@codesourcery.com>
12219
12220 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
12221 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
12222 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
12223 Remove variable.
12224 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12225 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12226
12227 2015-06-12 Joseph Myers <joseph@codesourcery.com>
12228
12229 [BZ #18530]
12230 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
12231 strong alias of _IO_fputs. Use libc_hidden_def.
12232 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
12233 and define as weak alias of __fputs_unlocked. Use
12234 libc_hidden_weak.
12235 * include/stdio.h (__fputs_unlocked): Declare. Use
12236 libc_hidden_proto.
12237 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
12238 fputs_unlocked.
12239
12240 [BZ #18529]
12241 * resolv/netdb.h [__USE_POSIX]: Change condition to
12242 [__USE_XOPEN2K].
12243 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
12244 not expect.
12245 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
12246 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
12247 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
12248 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
12249 [XPG4 || UNIX98] (AI_ALL): Likewise.
12250 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
12251 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
12252 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
12253 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
12254 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
12255 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
12256 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
12257 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
12258 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
12259 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
12260 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
12261 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
12262 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
12263 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
12264 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
12265 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
12266 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
12267 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
12268 [XPG4 || UNIX98] (gai_strerror): Likewise.
12269 [XPG4 || UNIX98] (getaddrinfo): Likewise.
12270 [XPG4 || UNIX98] (getnameinfo): Likewise.
12271
12272 [BZ #18528]
12273 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
12274 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
12275 __USE_XOPEN2K8].
12276 (getgrent): Likewise.
12277 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
12278 expect.
12279 [XPG3 || POSIX2008] (endgrent): Likewise.
12280 [XPG3] (setgrent): Likewise.
12281 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
12282 variable.
12283 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12284
12285 [BZ #18527]
12286 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
12287 define as weak alias of __getlogin_r. Use libc_hidden_weak.
12288 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
12289 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
12290 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
12291 * include/unistd.h (__getlogin_r): Declare. Use
12292 libc_hidden_proto.
12293 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
12294 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
12295 variable.
12296 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12297 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12298 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12299
12300 2015-06-12 Martin Sebor <msebor@redhat.com>
12301
12302 [BZ #18512]
12303 * Makerules (check-install-supported): New target.
12304 (install): Add check-install-supported as a dependency.
12305 * manual/install.texi (Installing the C Library): Document
12306 that overriding prefix and exec_prefix is not supported.
12307 Mention DESTDIR.
12308 * INSTALL: Regenerate from the above.
12309
12310 2015-06-12 Joseph Myers <joseph@codesourcery.com>
12311
12312 [BZ #18519]
12313 * posix/Versions (libc): Export __libc_pread at version
12314 GLIBC_PRIVATE.
12315 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
12316 instead of pread.
12317 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
12318 variable.
12319
12320 [BZ #18522]
12321 * misc/efgcvt_r.c
12322 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
12323 (cvt_symbol): Use weak_alias instead of strong_alias.
12324 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
12325 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
12326 Remove variable.
12327 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12328 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12329
12330 [BZ #18520]
12331 * inet/herrno.c (h_errno): Rename to __h_errno.
12332 (__libc_h_errno): Define as alias of __h_errno not h_errno.
12333 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
12334 to __h_errno instead of h_errno.
12335 * nptl/herrno.c (h_errno): Rename to __h_errno.
12336 (__h_errno_location): Refer to __h_errno not h_errno.
12337 * resolv/Versions (h_errno): Rename to __h_errno.
12338 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
12339 Remove variable.
12340 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12341
12342 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
12343
12344 * configure.ac: More strict check for AVX512 assembler support.
12345 * configure: Regenerated.
12346
12347 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
12348 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
12349 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12350 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
12351 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12352 * sysdeps/x86_64/fpu/Versions: New versions added.
12353 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12354 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12355 Added build of SSE, AVX2 and AVX512 IFUNC versions.
12356 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
12357 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
12358 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
12359 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
12360 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
12361 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
12362 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
12363 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
12364 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
12365 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
12366 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
12367 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
12368 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
12369 test.
12370 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12371 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12372 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12373 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12374 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12375 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12376 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12377 * NEWS: Mention addition of x86_64 vector sin.
12378
12379 2015-06-11 Florian Weimer <fweimer@redhat.com>
12380
12381 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
12382 comment.
12383
12384 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
12385
12386 [BZ #18479]
12387 * nptl/pt-interp.c: New file.
12388 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
12389 Add pt-interp.
12390 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
12391 $(common-objpfx)runtime-linker.h.
12392
12393 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
12394
12395 * Makeconfig (+interp): Remove unused variable.
12396 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
12397 only. Depend on $(common-objpfx)runtime-linker.h instead of
12398 $(elf-objpfx)runtime-linker.h.
12399 ($(elf-objpfx)runtime-linker.h): Rename to
12400 $(common-objpfx)runtime-linker.h and move ...
12401 * Makerules [$(build-shared) = yes]: ... here.
12402 * elf/interp.c: Include <runtime-linker.h> instead of
12403 <elf/runtime-linker.h>.
12404
12405 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12406
12407 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
12408 (__gettimeofday_syscall): Remove vsyscall fallback.
12409 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
12410 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
12411 Add syscall fallback function.
12412 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
12413 if vDSO is not present.
12414 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
12415 fallback function.
12416 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
12417 present.
12418 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
12419 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12420
12421 2015-06-09 Joseph Myers <joseph@codesourcery.com>
12422
12423 [BZ #18497]
12424 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
12425 of wcscmp.
12426 (wcscmp): Define as weak alias of WCSCMP.
12427 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
12428 wcscoll.
12429 (USE_HIDDEN_DEF): Define.
12430 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
12431 __wcscoll. Don't use libc_hidden_weak.
12432 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
12433 wcscmp.
12434 * sysdeps/i386/i686/multiarch/wcscmp-c.c
12435 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
12436 __GI_wcscmp.
12437 (weak_alias): Undefine and redefine.
12438 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
12439 __wcscmp and define as weak alias of __wcscmp.
12440 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
12441 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
12442 (__wcscoll): Likewise.
12443 (wcscmp): Don't use libc_hidden_proto.
12444 (wcscoll): Likewise.
12445 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
12446 wcscoll.
12447 * posix/regexec.c (check_node_accept_bytes): Likewise.
12448 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
12449 variable.
12450 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12451 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12452
12453 [BZ #18507]
12454 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
12455 __fstatvfs and define as weak alias of __fstatvfs. Use
12456 libc_hidden_weak.
12457 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
12458 and define as weak alias of __statvfs. Use libc_hidden_weak.
12459 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
12460 Define as alias of __fstatvfs, not fstatvfs.
12461 (fstatvfs64): Likewise.
12462 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
12463 Define as alias of __statvfs, not statvfs.
12464 (statvfs64): Likewise.
12465 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
12466 Remove variable.
12467
12468 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12469
12470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12471 (HAVE_GETCPU_VSYSCALL): Define.
12472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12473 (HAVE_GETCPU_VSYSCALL): Likewise.
12474 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
12475 * sysdeps/unix/sysv/linux/sched_getcpu.c
12476 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
12477 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
12478 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
12479 prototype.
12480 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12481 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
12482 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
12483 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
12484 Define.
12485 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
12486 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12487 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
12488 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12489
12490 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
12491
12492 * sysdeps/x86_64/fpu/Makefile: New file.
12493 * sysdeps/x86_64/fpu/Versions: New file.
12494 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
12495 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
12496 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
12497 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
12498 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
12499 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
12500 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
12501 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
12502 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
12503 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
12504 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
12505 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
12506 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
12507 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12508 Added build of SSE, AVX2 and AVX512 IFUNC versions.
12509 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
12510 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
12511 * sysdeps/x86_64/configure.ac: Options for libmvec build.
12512 * sysdeps/x86_64/configure: Regenerated.
12513 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
12514 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
12515 * manual/install.texi (Configuring and compiling): Document
12516 --disable-mathvec.
12517 * INSTALL: Regenerated.
12518 * NEWS: Mention addition of libmvec and x86_64 vector cos.
12519
12520 * math/Makefile: Added rules for vector tests.
12521 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
12522 declaration under condition.
12523 * math/test-double-vlen2.h: New file.
12524 * math/test-double-vlen4.h: New file.
12525 * math/test-double-vlen8.h: New file.
12526 * math/test-vec-loop.h: Added initialization macro.
12527 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
12528 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
12529 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
12530 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
12531 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
12532 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
12533 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
12534 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
12535 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
12536 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
12537 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
12538
12539 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12540 * sysdeps/x86_64/fpu/Versions: New versions added.
12541 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
12542 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
12543 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
12544 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
12545 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
12546 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
12547 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
12548 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
12549 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
12550 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
12551 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
12552 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
12553 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
12554 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12555 Added build of SSE, AVX2 and AVX512 IFUNC versions.
12556 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12557 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
12558 * NEWS: Mention addition of x86_64 vector cosf.
12559
12560 * math/Makefile: Added CFLAGS for new tests.
12561 * math/test-float-vlen16.h: New file.
12562 * math/test-float-vlen4.h: New file.
12563 * math/test-float-vlen8.h: New file.
12564 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
12565 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
12566 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12567 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
12568 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
12569 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
12570 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
12571 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
12572 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
12573 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
12574 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
12575
12576 2015-06-09 Marko Myllynen <myllynen@redhat.com>
12577
12578 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
12579 * locale/programs/ld-ctype.c: Likewise.
12580
12581 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
12582
12583 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
12584 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
12585 bit_ZMM16_31_state): New macro.
12586 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12587 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
12588
12589 2015-06-08 Joseph Myers <joseph@codesourcery.com>
12590
12591 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
12592
12593 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
12594
12595 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
12596
12597 2015-06-05 Joseph Myers <joseph@codesourcery.com>
12598
12599 [BZ #18498]
12600 * libio/memstream.c (open_memstream): Rename to __open_memstream
12601 and define as weak alias of __open_memstream.
12602 * include/stdio.h (__open_memstream): Declare. Use
12603 libc_hidden_proto.
12604 (open_memstream): Don't use libc_hidden_proto.
12605 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
12606 open_memstream.
12607 * posix/getopt.c (_getopt_internal_r): Likewise.
12608 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
12609 variable.
12610 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12611 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12612 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12613
12614 [BZ #18496]
12615 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
12616 instead of wcrtomb.
12617
12618 [BZ #18483]
12619 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
12620 [__USE_XOPEN2K8]. Remove redundant #endif.
12621 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
12622 Remove redundant #if.
12623 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
12624 Remove variable.
12625 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12626 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12627
12628 [BZ #18495]
12629 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
12630 (__iswlower): Likewise.
12631 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
12632 (__iswlower): Likewise.
12633 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
12634 instead of towlower.
12635 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
12636 instead of iswlower. Call __towupper instead of towupper.
12637 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
12638 instead of iswalnum.
12639
12640 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12641
12642 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
12643 errors to stderr.
12644
12645 2015-06-05 Florian Weimer <fweimer@redhat.com>
12646
12647 [BZ #15661]
12648 [BZ #17322]
12649 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12650 Check for overflow properly. Check for O_APPEND. Ignore large
12651 file system block sizes. Add comments about problems.
12652 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
12653 * manual/filesys.texi (Storage Allocation): New node.
12654
12655 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12656
12657 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
12658 cancellable syscalls.
12659 (SYS_ify): Add guard to no redefine it.
12660 (INLINE_SYSCALL): Likewise.
12661 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
12662 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
12663 SYSCALL_CANCEL instead.
12664 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
12665 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
12666 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
12667 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
12668 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
12669 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
12670 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
12671 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
12672 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
12673 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
12674 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
12675 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
12676 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
12677 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
12678 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
12679 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
12680 Likewise.
12681 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
12682 (__libc_pread64): Likewise.
12683 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
12684 (__libc_preadv): Likewise.
12685 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
12686 (__libc_readv64): Likewise.
12687 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
12688 (__libc_pwrite): Likewise.
12689 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
12690 (__libc_pwrite64): Likewise.
12691 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
12692 (__libc_pwritev): Likewise.
12693 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
12694 (__libc_pwritev64): Likewise.
12695 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
12696 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12697 (sync_file_range): Likewise.
12698 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
12699 Likewise.
12700 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
12701 Likewise.
12702 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
12703 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
12704 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
12705 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
12706 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
12707 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
12708 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
12709 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
12710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
12711 Likewise.
12712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12713 (__libc_read64): Likewise.
12714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
12715 Likewise.
12716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
12717 Likewise.
12718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
12719 Likewise.
12720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
12721 Likewise.
12722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12723 (__libc_pread64): Likewise.
12724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
12725 Likewise.
12726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12727 (__libc_pwrite64): Likewise.
12728 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
12729 (sync_file_range): Likewise.
12730 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
12731 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
12732 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
12733 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
12734 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
12735 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12736 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12737 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
12738 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
12739 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12740 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12741 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
12742 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
12743 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
12744 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
12745 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
12746 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
12747 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
12748 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
12749 Likewise.
12750 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
12751 Likewise.
12752 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
12753 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
12754 Likewise.
12755 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
12756 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
12757 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
12758 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
12759 Likewise.
12760 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
12761 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
12762 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
12763 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
12764 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
12765
12766 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
12767
12768 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
12769 Include dl-vdso.
12770 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
12771 Use VDSO routines for gettimeofday, clock_gettime if
12772 available.
12773 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
12774 Declare VDSO symbols.
12775 * sysdeps/unix/sysv/linux/arm/sysdep.h:
12776 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
12777 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12778 * sysdeps/unix/sysv/linux/arm/Versions: Add
12779 __vdso_clock_gettime.
12780
12781 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12782
12783 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
12784 be an inline implementation regardless of library is built within.
12785 (open_not_cancel_2): Likewise.
12786 (__read_nocancel): Likewise.
12787 (__write_nocancel): Likewise.
12788 (openat_not_cancel): Likewise.
12789 (openat_not_cancel_3): Likewise.
12790 (openat64_not_cancel): Likewise.
12791 (openat64_not_cancel_3): Likewise.
12792 (__close_nocancel): Likewise.
12793 (pause_not_cancel): Likewise.
12794 (nanosleep_not_cancel): Likewise.
12795 (sigsuspend_not_cancel): Likewise.
12796
12797 2015-06-04 Torvald Riegel <triegel@redhat.com>
12798
12799 [BZ #14958]
12800 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
12801 wake-up.
12802 (__pthread_rwlock_rdlock_slow): Likewise.
12803 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12804 Likewise.
12805 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
12806 Likewise.
12807 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
12808 * nptl/tst-rwlock16.c: New file.
12809 * nptl/Makefile (tests): Add new test.
12810
12811 2015-06-04 Torvald Riegel <triegel@redhat.com>
12812
12813 [BZ #18324]
12814 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
12815 missing wake-up of readers.
12816 * nptl/tst-rwlock15.c: New file.
12817 * nptl/Makefile (tests): Add new test.
12818
12819 2015-06-03 Roland McGrath <roland@hack.frob.com>
12820
12821 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
12822 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
12823 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
12824 and __nacl_supply_interface_rtld.
12825 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
12826 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
12827 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
12828 Add __nacl_supply_interface_rtld.
12829 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
12830
12831 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
12832
12833 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
12834 isfinite.
12835 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12836 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
12837
12838 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
12839
12840 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
12841 __signbit* with standard C99 macros.
12842 * math/e_exp10l.c: Likewise.
12843 * math/e_exp2l.c: Likewise.
12844 * math/e_scalb.c: Likewise.
12845 * math/e_scalbf.c: Likewise.
12846 * math/e_scalbl.c: Likewise.
12847 * math/s_ldexp.c: Likewise.
12848 * math/s_ldexpf.c: Likewise.
12849 * math/s_ldexpl.c: Likewise.
12850 * math/w_atan2.c: Likewise.
12851 * math/w_atan2f.c: Likewise.
12852 * math/w_atan2l.c: Likewise.
12853 * math/w_cosh.c: Likewise.
12854 * math/w_coshf.c: Likewise.
12855 * math/w_coshl.c: Likewise.
12856 * math/w_exp10.c: Likewise.
12857 * math/w_exp10f.c: Likewise.
12858 * math/w_exp10l.c: Likewise.
12859 * math/w_exp2.c: Likewise.
12860 * math/w_exp2f.c: Likewise.
12861 * math/w_exp2l.c: Likewise.
12862 * math/w_fmod.c: Likewise.
12863 * math/w_fmodf.c: Likewise.
12864 * math/w_fmodl.c: Likewise.
12865 * math/w_hypot.c: Likewise.
12866 * math/w_hypotf.c: Likewise.
12867 * math/w_hypotl.c: Likewise.
12868 * math/w_jnl.c: Likewise.
12869 * math/w_lgamma.c: Likewise.
12870 * math/w_lgamma_r.c: Likewise.
12871 * math/w_lgammaf.c: Likewise.
12872 * math/w_lgammaf_r.c: Likewise.
12873 * math/w_lgammal.c: Likewise.
12874 * math/w_lgammal_r.c: Likewise.
12875 * math/w_pow.c: Likewise.
12876 * math/w_powf.c: Likewise.
12877 * math/w_powl.c: Likewise.
12878 * math/w_remainder.c: Likewise.
12879 * math/w_remainderf.c: Likewise.
12880 * math/w_remainderl.c: Likewise.
12881 * math/w_scalb.c: Likewise.
12882 * math/w_scalbf.c: Likewise.
12883 * math/w_scalbl.c: Likewise.
12884 * math/w_scalbln.c: Likewise.
12885 * math/w_scalblnf.c: Likewise.
12886 * math/w_scalblnl.c: Likewise.
12887 * math/w_sinh.c: Likewise.
12888 * math/w_sinhf.c: Likewise.
12889 * math/w_sinhl.c: Likewise.
12890 * math/w_tgamma.c: Likewise.
12891 * math/w_tgammaf.c: Likewise.
12892 * math/w_tgammal.c: Likewise.
12893 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12894 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
12895 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12896 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12897 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12898 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12899 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12900 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12901 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12902 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12903 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12904 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12905 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12906 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12907 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12908 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12909 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12910 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12911 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12912 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12913 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12914 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12915 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12916 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12917 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12918 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12919 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
12920 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12921 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12922 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12923 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
12924 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
12925 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
12926 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
12927 * stdio-common/printf_fp.c: Likewise.
12928 * stdio-common/printf_fphex.c: Likewise.
12929 * stdio-common/printf_size.c: Likewise.
12930
12931 2015-06-03 Joseph Myers <joseph@codesourcery.com>
12932
12933 [BZ #18470]
12934 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
12935 strnlen.
12936 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
12937 Remove variable.
12938 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12939 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12940 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12941 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12942 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12943 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12944 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12945 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12946 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12947 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12948
12949 [BZ #18468]
12950 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
12951 weak alias of __wmemchr. Use libc_hidden_weak.
12952 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
12953 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
12954 instead of wmemchr.
12955
12956 2015-06-02 Roland McGrath <roland@hack.frob.com>
12957
12958 [BZ #18383]
12959 * elf/tst-tlsalign-extern.c: New file.
12960 * elf/tst-tlsalign-extern-static.c: New file.
12961 * elf/tst-tlsalign-vars.c: New file.
12962 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
12963 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
12964 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
12965 ($(objpfx)tst-tlsalign-extern-static): Likewise.
12966 (test-xfail-tst-tlsalign-extern-static): New variable.
12967
12968 2015-06-02 Joseph Myers <joseph@codesourcery.com>
12969
12970 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
12971 Use variable name _sc_err instead of err.
12972 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
12973 instead of ret.
12974 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
12975 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
12976 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
12977 (INLINE_SYSCALL): Likewise.
12978
12979 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
12980 * include/string.h (__strnlen): Use libc_hidden_proto.
12981 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
12982 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
12983 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
12984 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
12985 (libc_hidden_def): Undefine and redefine.
12986 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
12987 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
12988 __GI_strnlen.
12989 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
12990 libc_hidden_def.
12991 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
12992
12993 [BZ #18469]
12994 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
12995 weak alias of __towlower. Use libc_hidden_weak.
12996 (towupper): Rename to __towupper and define as weak alias of
12997 __towupper. Use libc_hidden_weak.
12998 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
12999 (__towupper): Likewise.
13000 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
13001 __towlower instead of towlower.
13002
13003 2015-06-02 Roland McGrath <roland@hack.frob.com>
13004
13005 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
13006 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
13007
13008 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13009
13010 * sysdeps/aarch64/libm-test-ulps: Update.
13011
13012 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13013
13014 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
13015 Define.
13016 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13017 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13018 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13019 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13020 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
13021 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
13022 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
13023
13024 2015-06-01 Martin Sebor <msebor@redhat.com>
13025
13026 [BZ #18116]
13027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13028 (__setcontext): Use extended four-operand version of mtsf whenever
13029 possible.
13030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13031 (__novec_swapcontext): Likewise.
13032
13033 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13034
13035 * benchtests/scripts/compare_bench.py: New file.
13036 * benchtests/scripts/import_bench.py (mean): New function.
13037 (split_list): Likewise.
13038 (do_for_all_timings): Likewise.
13039 (compress_timings): Likewise.
13040
13041 * benchtests/scripts/import_bench.py: New file.
13042 * benchtests/scripts/validate_benchout.py: Import import_bench
13043 instead of jsonschema.
13044 (validate_bench): Remove function.
13045 (main): Use import_bench.
13046
13047 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
13048
13049 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
13050 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
13051
13052 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13053
13054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13055
13056 2015-05-28 Roland McGrath <roland@hack.frob.com>
13057
13058 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
13059 set THREAD_SELF->tid to a magic value and futex-wake it.
13060 Pass its address to the thread_exit system call.
13061 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
13062 bit is clear.
13063 * sysdeps/nacl/lowlevellock.h: New file.
13064 * sysdeps/nacl/lll_timedwait_tid.c: New file.
13065
13066 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
13067 Add TIMEOUT to current time, don't subtract it.
13068
13069 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
13070
13071 [BZ #2981]
13072 [BZ #18422]
13073 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
13074 ($(objpfx)tst-audit2.out): Also depend on
13075 $(objpfx)tst-auditmod9b.so.
13076 * elf/tst-audit2.c: Include <dlfcn.h>.
13077 (calloc_called): New.
13078 (calloc): Allow to be called more than once.
13079 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
13080
13081 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
13082
13083 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
13084 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
13085
13086 2015-05-27 Marko Myllynen <myllynen@redhat.com>
13087
13088 * stdlib/monetary.h: Fix comment.
13089
13090 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
13091
13092 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
13093 Avoid using variables in #defines that might cause shadowing.
13094 (INTERNAL_VSYSCALL_CALL): Likewise.
13095
13096 2015-05-26 Roland McGrath <roland@hack.frob.com>
13097
13098 * sysdeps/nacl/lll_timedlock_wait.c: New file.
13099
13100 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
13101 * nptl/lll_timedlock_wait.c: ... to this new file.
13102 * nptl/Makefile (libpthread-routines): Add it.
13103 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
13104 * nptl/lll_timedwait_tid.c: ... to this new file.
13105 * nptl/Makefile (libpthread-routines): Add it.
13106 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
13107 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
13108 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
13109 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
13110 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
13111 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
13112 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
13113 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
13114 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
13115 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
13116
13117 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13118
13119 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
13120 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13121 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13122 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
13123 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
13124 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13125 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13126 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13127 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13128 * sysdeps/unix/sysv/linux/tile/sysdep.h
13129 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13130 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
13131 using vDSO syscall macro.
13132
13133 2015-05-26 Andriy Rysin <arysin@gmail.com>
13134
13135 [BZ #17293]
13136 * uk_UA: Fix sorting order for Ukrainian locale
13137
13138 2015-05-26 Marko Myllynen <myllynen@redhat.com>
13139
13140 * stdlib/monetary.h: Fix comment.
13141
13142 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
13143
13144 [BZ #18234]
13145 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
13146 st_mtim and st_ctim members.
13147 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
13148 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
13149 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
13150 (struct stat64): Likewise.
13151 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
13152 (struct stat64): Likewise.
13153 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
13154 (struct stat64): Likewise.
13155
13156 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13157
13158 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
13159 Define and include sysdep-vdso.h.
13160 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
13161 Likewise.
13162 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
13163 Likewise.
13164 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
13165 Define with VDSO_SYMBOL and use PTR_MANGLE.
13166 (__vdso_clock_gettime): Likewise.
13167 (__vdso_clock_getres): Likewise.
13168 (_libc_vdso_platform_setup): Likewise.
13169 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
13170 Likewise.
13171 (_libc_vdso_platform_setup): Likewise.
13172 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
13173 Likewise.
13174 (__vdso_clock_gettime): Likewise.
13175 (__vdso_clock_getres): Likewise.
13176 (__vdso_get_tbfreq): Likewise.
13177 (__vdso_getcpu): Likewise.
13178 (__vdso_time): Likewise.
13179 (__vdso_sigtramp_rt64): Likewise.
13180 (__vdso_signtramp32): Likewise.
13181 (__vdso_sigtramp_rt32): Likewise.
13182 (_libc_vdso_platform_setup): Likewise.
13183 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
13184 Likewise.
13185 (__vdso_clock_gettime): Likewise.
13186 (__vdso_clock_getres): Likewise.
13187 (_libc_vdso_platform_setup): Likewise.
13188 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
13189 Likewise.
13190 (__vdso_clock_gettime): Likewise.
13191 (_libc_vdso_platform_setup): Likewise.
13192 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
13193 Likewise.
13194 (__vdso_getcpu): Likewise.
13195 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
13196 Use VDSO_SYMBOL macro to define.
13197 (__vdso_clock_gettime): Likewise.
13198 (__vdso_clock_getres): Likewise.
13199 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
13200 Likewise.
13201 (__vdso_clock_gettime): Likewise.
13202 (__vdso_clock_getres): Likewise.
13203 (__vdso_get_tbfreq): Likewise.
13204 (__vdso_getcpu): Likewise.
13205 (__vdso_time): Likewise.
13206 (__vdso_sigtramp_rt64): Likewise.
13207 (__vdso_signtramp32): Likewise.
13208 (__vdso_sigtramp_rt32): Likewise.
13209 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
13210 Likewise.
13211 (__vdso_clock_gettime): Likewise.
13212 (__vdso_clock_getres): Likewise.
13213 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
13214 Likewise.
13215 (__vdso_clock_gettime): Likewise.
13216 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
13217 Likewise.
13218 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
13219 macro.
13220 (INTERNAL_VSYSCALL): Likewise.
13221 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
13222 Remove macro.
13223 (INTERNAL_VSYSCALL): Likewise.
13224 (INTERNAL_VSYSCALL_NCS): Likewise.
13225 (INTERNAL_VSYSCALL_CALL): New macro.
13226 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13227 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
13228 Likewise.
13229 (INTERNAL_VSYSCALL): Likewise.
13230 (INTERNAL_VSYSCALL_NCS): Likewise.
13231 (INTERNAL_VSYSCALL_CALL): New macro.
13232 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13234 (INLINE_VSYSCALL): Remove macro.
13235 (INTERNAL_VSYSCALL): Remove macro.
13236 (INTERNAL_VSYSCALL_NCS): Remove macro.
13237 (INTERNAL_VSYSCALL_CALL): New macro.
13238 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
13239 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
13240 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
13241 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
13242 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13244 (INLINE_VSYSCALL): Remove macro.
13245 (INTERNAL_VSYSCALL): Likewise.
13246 (INTERNAL_VSYSCALL_NCS): Likewise.
13247 (INTERNAL_VSYSCALL_CALL): New macro.
13248 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
13249 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
13250 PTR_DEMANGLE on vDSO pointer.
13251 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
13252 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
13253 macro.
13254 (INTERNAL_SYSCALL): Likewise.
13255 (INTERNAL_VSYSCALL_NCS): Remove macro.
13256 (INTERNAL_VSYSCALL_CALL): New macro.
13257 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
13258 Remove macro.
13259 (INTERNAL_VSYSCALL): Likewise.
13260 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
13261 sysdep-vdso.h instead of libc-vdso.h.
13262 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
13263 definition.
13264 (INLINE_VSYSCALL): Likewise.
13265 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
13266 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
13267 definition.
13268 (INLINE_VSYSCALL): Likewise.
13269 (INTERNAL_VSYSCALL): Likewise.
13270 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13271 * sysdeps/unix/sysv/linux/timespec_get.c
13272 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13273 (timespec_get): Use ANSI prototype.
13274 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
13275 and definition for Linux.
13276
13277 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
13278
13279 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
13280 * include/libc-symbols.h: libmvec_hidden_* macro series added.
13281
13282 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
13283
13284 [BZ #2981]
13285 [BZ #18410]
13286 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
13287 for missing DT_PLTRELSZ.
13288
13289 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
13290
13291 Remove obsolete aliases that broke 'locale -a'
13292 [BZ #18412]
13293 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
13294 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
13295 breaking some applications that use 'locale -a' output.
13296 Change the encoding of this file from Latin-1 to ASCII to avoid
13297 other potential problems with people grepping this file.
13298
13299 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13300
13301 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
13302 -fasynchronous-unwind-tables.
13303 (CFLAGS-sendto.c): Likewise.
13304 (CFLAGS-sendmsg.c): Likewise.
13305 (CFLAGS-connect.c): Likewise.
13306 (CFLAGS-recvmsg.c): Likewise.
13307 (CFLAGS-recvfrom.c): Likewise.
13308 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
13309 (SOCKETCALL): New macro: non-cancellable socketcall.
13310 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
13311 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
13312 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
13313 * sysdeps/unix/sysv/linux/accept.c: New file.
13314 * sysdeps/unix/sysv/linux/bind.c: Likewise.
13315 * sysdeps/unix/sysv/linux/connect.c: Likewise.
13316 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
13317 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
13318 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
13319 * sysdeps/unix/sysv/linux/listen.c: Likewise.
13320 * sysdeps/unix/sysv/linux/recv.c: Likewise.
13321 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
13322 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
13323 * sysdeps/unix/sysv/linux/send.c: Likewise.
13324 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
13325 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
13326 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
13327 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
13328 * sysdeps/unix/sysv/linux/socket.c: Likewise.
13329 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
13330 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
13331 prototype.
13332 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
13333 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13334 instead of __internal_xxx function.
13335 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
13336 prototype.
13337 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
13338 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13339 instead of __internal_xxx function.
13340 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
13341 prototype.
13342 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
13343 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13344 instead of __internal_xxx function.
13345 * sysdeps/unix/sysv/linux/accept.S: Remove file.
13346 * sysdeps/unix/sysv/linux/bind.S: Likewise.
13347 * sysdeps/unix/sysv/linux/connect.S: Likewise.
13348 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
13349 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
13350 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
13351 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
13352 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
13353 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
13354 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
13355 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
13356 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13357 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
13358 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
13359 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
13360 * sysdeps/unix/sysv/linux/listen.S: Likewise.
13361 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
13362 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
13363 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
13364 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
13365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
13366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
13367 * sysdeps/unix/sysv/linux/recv.S: Likewise.
13368 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
13369 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
13370 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
13371 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13372 * sysdeps/unix/sysv/linux/send.S: Likewise.
13373 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
13374 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
13375 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
13376 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
13377 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
13378 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
13379 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
13380 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
13381 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
13382 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
13383 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
13384 socketcall is implemented in GLIBC.
13385
13386 2015-05-22 Joseph Myers <joseph@codesourcery.com>
13387
13388 * soft-fp/fmadf4.c: Include <libc-internal.h>.
13389 (__fma): Ignore uninitialized warnings around packing.
13390 * soft-fp/fmasf4.c: Include <libc-internal.h>.
13391 (__fmaf): Ignore uninitialized warnings around packing.
13392 * soft-fp/fmatf4.c: Include <libc-internal.h>.
13393 (__fmal): Ignore uninitialized warnings around packing.
13394
13395 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
13396 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13397 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
13398 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13399
13400 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
13401 switch statement into default case.
13402 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
13403
13404 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
13405 a conditional in forcing "inexact".
13406 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13407 Likewise.
13408
13409 2015-05-22 Roland McGrath <roland@hack.frob.com>
13410
13411 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13412 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
13413 for each INTERNAL_SYSCALL use.
13414
13415 2015-05-22 Joseph Myers <joseph@codesourcery.com>
13416
13417 [BZ #438]
13418 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
13419 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
13420 variable.
13421
13422 [BZ #18444]
13423 * string/basename.c (basename): Rename to __basename and define as
13424 weak alias of __basename. Use libc_hidden_weak.
13425 * include/string.h (__basename): Declare. Use libc_hidden_proto.
13426 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
13427 __basename instead of basename.
13428 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
13429 Remove variable.
13430 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13431
13432 2015-05-18 Florian Weimer <fweimer@redhat.com>
13433
13434 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
13435 (_IO_JUMPS_FILE_plus): New.
13436 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
13437 _IO_CAST_FIELD_ACCESS.
13438 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
13439 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
13440 * libio/freopen.c (freopen): Likewise.
13441 * libio/freopen64.c (freopen64): Likewise.
13442 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
13443 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
13444 * libio/iofwide.c (_IO_fwide): Likewise.
13445 * libio/memstream.c (open_memstream): Likewise.
13446 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13447 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13448 * libio/oldiopopen.c (_IO_old_popen): Likewise.
13449
13450 2015-05-21 Joseph Myers <joseph@codesourcery.com>
13451
13452 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
13453 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
13454 NADJ.
13455 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
13456 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
13457 NADJ.
13458 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
13459 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
13460 NADJ.
13461
13462 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
13463 (p == 4) case.
13464
13465 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
13466 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
13467 Remove variable.
13468 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13469 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13470 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13471
13472 2015-05-21 Florian Weimer <fweimer@redhat.com>
13473
13474 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
13475 Adjust jump table label generation macros.
13476
13477 2015-05-21 Florian Weimer <fweimer@redhat.com>
13478
13479 * stdio-common/vfprintf.c (vfprintf): Move local variables
13480 args_malloced, specs, specs_malloced, and the code after
13481 do_positional to the printf_positional function.
13482 (printf_positional): New function.
13483
13484 2015-05-21 Florian Weimer <fweimer@redhat.com>
13485
13486 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
13487 function.
13488 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
13489 STEP4_TABLE, process_arg): Move macro definitions
13490 out of the vfprintf function. (Cosmetic change only.)
13491
13492 2015-05-21 Carlos O'Donell <carlos@redhat.com>
13493
13494 * benchtests/Makefile (stdio-common-bench): Define.
13495 (benchset): Add stdio-common-bench.
13496 * sprintf-inputs: New file.
13497 * sprintf-source.c: New file.
13498
13499 2015-05-21 Andreas Schwab <schwab@suse.de>
13500
13501 [BZ #13028]
13502 [BZ #17053]
13503 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
13504 of struct __res_state.
13505 * resolv/res_send.c (__libc_res_nsend): Likewise.
13506 (get_nsaddr): New function.
13507 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
13508 statp directly.
13509
13510 2015-05-20 Joseph Myers <joseph@codesourcery.com>
13511
13512 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
13513 -D_POSIX_C_SOURCE=199506L.
13514
13515 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
13516
13517 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
13518 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
13519 Do not mention otherwise.
13520 [POSIX] (_XOPEN_VERSION): Do not expect.
13521 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
13522 [POSIX] (_POSIX2_C_BIND): Likewise.
13523 [POSIX] (_POSIX2_VERSION): Likewise.
13524 [POSIX] (_XOPEN_XPG2): Likewise.
13525 [POSIX] (_XOPEN_XPG3): Likewise.
13526 [POSIX] (_XOPEN_XPG4): Likewise.
13527 [POSIX] (_XOPEN_UNIX): Likewise.
13528 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
13529 [POSIX] (_POSIX_BARRIERS): Likewise.
13530 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
13531 [POSIX] (_POSIX_CPUTIME): Likewise.
13532 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
13533 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
13534 [POSIX] (_POSIX_SHELL): Likewise.
13535 [POSIX] (_POSIX_SPAWN): Likewise.
13536 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
13537 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
13538 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
13539 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
13540 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
13541 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
13542 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
13543 [POSIX] (_XBS5_LP64_OFF64): Likewise.
13544 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
13545 [POSIX] (_POSIX_TIMEOUTS): Likewise.
13546 [POSIX] (_POSIX2_PBS): Likewise.
13547 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
13548 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
13549 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
13550 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
13551 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
13552 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
13553 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
13554 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
13555 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
13556 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
13557 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
13558 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
13559 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
13560 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
13561 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
13562 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
13563 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
13564 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
13565 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
13566 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
13567 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
13568 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
13569 [POSIX] (_SC_2_C_BIND): Likewise.
13570 [POSIX] (_SC_2_C_VERSION): Likewise.
13571 [POSIX] (_SC_2_PBS): Likewise.
13572 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
13573 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
13574 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
13575 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
13576 [POSIX] (_SC_2_PBS_TRACK): Likewise.
13577 [POSIX] (_SC_ATEXIT_MAX): Likewise.
13578 [POSIX] (_SC_BARRIERS): Likewise.
13579 [POSIX] (_SC_BASE): Likewise.
13580 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
13581 [POSIX] (_SC_DEVICE_IO): Likewise.
13582 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
13583 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
13584 [POSIX] (_SC_FD_MGMT): Likewise.
13585 [POSIX] (_SC_FIFO): Likewise.
13586 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
13587 [POSIX] (_SC_FILE_LOCKING): Likewise.
13588 [POSIX] (_SC_FILE_SYSTEM): Likewise.
13589 [POSIX] (_SC_IOV_MAX): Likewise.
13590 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
13591 [POSIX] (_SC_NETWORKING): Likewise.
13592 [POSIX] (_SC_PAGE_SIZE): Likewise.
13593 [POSIX] (_SC_PASS_MAX): Likewise.
13594 [POSIX] (_SC_PIPE): Likewise.
13595 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
13596 [POSIX] (_SC_REGEXP): Likewise.
13597 [POSIX] (_SC_SHELL): Likewise.
13598 [POSIX] (_SC_SIGNALS): Likewise.
13599 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
13600 [POSIX] (_SC_SPIN_LOCKS): Likewise.
13601 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
13602 [POSIX] (_SC_USER_GROUPS): Likewise.
13603 [POSIX] (_SC_USER_GROUPS_R): Likewise.
13604 [POSIX] (_SC_STREAMS): Likewise.
13605 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
13606 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
13607 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
13608 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
13609 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
13610 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
13611 [POSIX] (_PC_FILESIZEBITS): Likewise.
13612 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
13613 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
13614 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
13615 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
13616 [POSIX] (uid_t): Likewise.
13617 [POSIX] (gid_t): Likewise.
13618 [POSIX] (off_t): Likewise.
13619 [POSIX] (pid_t): Likewise.
13620 [POSIX] (cuserid): Allow.
13621 (_SC_2_CHAR_TERM): Require constant.
13622 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
13623 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
13624 variable.
13625
13626 2015-05-20 Roland McGrath <roland@hack.frob.com>
13627
13628 * sysdeps/nacl/pthread-pids.h: New file.
13629 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
13630 (create_thread): Use __nacl_get_tid to initialize PD->tid.
13631
13632 * nptl/pthread-pids.h: New file.
13633 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
13634 * nptl/nptl-init.c: Include <pthread-pids.h>.
13635 (__pthread_initialize_minimal_internal):
13636 Call __pthread_initialize_pids instead of set_tid_address syscall.
13637
13638 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
13639 * sysdeps/posix/usleep.c: ... here.
13640
13641 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13642
13643 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
13644 call_pselect6 object.
13645 [$(subdir) = io]: Remove call_sync_file_range object.
13646 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
13647 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
13648 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
13649 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
13650
13651 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
13652
13653 * math/s_cproj.c: Add include "math_private.h".
13654 * math/s_cprojf.c: Likewise.
13655 * math/s_cprojl.c: Likewise.
13656
13657 2015-05-19 Joseph Myers <joseph@codesourcery.com>
13658
13659 [BZ #18244]
13660 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
13661 high mantissa bit when testing whether P is a NaN.
13662 * math/libm-test.inc (remainder_test_data): Add more tests.
13663 (remquo_test_data): Likewise.
13664
13665 [BZ #18049]
13666 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
13667 below -32, return the argument, with underflow if subnormal.
13668 * math/auto-libm-test-in: Add more tests of atanh.
13669 * math/auto-libm-test-out: Regenerated.
13670
13671 2015-05-19 Roland McGrath <roland@hack.frob.com>
13672
13673 [BZ #18434]
13674 * nptl/tst-sem15.c: New file.
13675 * nptl/Makefile (tests): Add it.
13676 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
13677 s/<</>>/ to fix typo in EOVERFLOW check.
13678 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
13679
13680 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13681
13682 * manual/strings.texi (envz_remove): Fix typo in safety
13683 annotations.
13684
13685 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
13686 Steve Ellcey <sellcey@imgtec.com>
13687
13688 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
13689 in order to avoid strict alias warnings.
13690 (iruserok_af): Ditto for ra.
13691
13692 2015-05-19 James Lemke <jwlemke@codesourcery.com>
13693
13694 [BZ #17581]
13695 * malloc/hooks.c
13696 (magicbyte): Convert to a function and avoid returning 0x01.
13697 (mem2mem_check): Avoid using a length byte equal to the magic byte.
13698 (mem2chunk_check): Fix unsigned comparisons to zero.
13699 Hoist defs of sz and magic.
13700
13701 2015-05-19 Richard Henderson <rth@redhat.com>
13702
13703 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
13704
13705 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13706
13707 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13708
13709 [BZ #16159]
13710 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
13711 * malloc/arena.c (arena_lock): Check if arena is corrupt.
13712 (reused_arena): Find a non-corrupt arena.
13713 (heap_trim): Pass arena to unlink.
13714 * malloc/hooks.c (malloc_check_get_size): Pass arena to
13715 malloc_printerr.
13716 (top_check): Likewise.
13717 (free_check): Likewise.
13718 (realloc_check): Likewise.
13719 * malloc/malloc.c (malloc_printerr): Add arena argument.
13720 (unlink): Likewise.
13721 (munmap_chunk): Adjust.
13722 (ARENA_CORRUPTION_BIT): New macro.
13723 (arena_is_corrupt): Likewise.
13724 (set_arena_corrupt): Likewise.
13725 (sysmalloc): Use mmap if there are no usable arenas.
13726 (_int_malloc): Likewise.
13727 (__libc_malloc): Don't fail if arena_get returns NULL.
13728 (_mid_memalign): Likewise.
13729 (__libc_calloc): Likewise.
13730 (__libc_realloc): Adjust for additional argument to
13731 malloc_printerr.
13732 (_int_free): Likewise.
13733 (malloc_consolidate): Likewise.
13734 (_int_realloc): Likewise.
13735 (_int_memalign): Don't touch corrupt arenas.
13736 * malloc/tst-malloc-backtrace.c: New test case.
13737
13738 * Makefile (summarize-tests): Fix return value on success.
13739
13740 * manual/string.texi (Envz Functions): Add envz_remove.
13741
13742 2015-05-18 Roland McGrath <roland@hack.frob.com>
13743
13744 * sysdeps/posix/opendir.c: Include <stdbool.h>.
13745 (invalid_name): New function, broken out of ...
13746 (__opendirat): ... here. Call it.
13747 (need_isdir_precheck): New function, broken out of ...
13748 (__opendirat): ... here. Call it.
13749 Use __fxstatat64, not __xstatat64.
13750 (opendir_oflags): New function, broken out of ...
13751 (__opendirat): ... here. Call it.
13752 (opendir_tail): New function, broken out of ...
13753 (__opendirat): ... here. Call it.
13754 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
13755 opendir_tail, rather than punting to __opendirat.
13756 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
13757
13758 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13759
13760 * .gitignore: Ignore generated *.pyc.
13761
13762 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
13763
13764 * include/stdio.h: Define __need_wint_t.
13765 * test-skeleton.c: Avoid `for' loop initial declaration.
13766 * nptl/tst-initializers1.c: Use test-skeleton.c.
13767
13768 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13769
13770 [BZ #18418]
13771 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
13772
13773 2015-05-15 Joseph Myers <joseph@codesourcery.com>
13774
13775 [BZ #16352]
13776 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
13777 (__ieee754_atanh): Force underflow exception for results with
13778 small absolute value.
13779 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
13780 (__ieee754_atanhf): Force underflow exception for results with
13781 small absolute value.
13782 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
13783 (__ieee754_atanh): Force underflow exception for results with
13784 small absolute value.
13785 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
13786 (__ieee754_atanhf): Force underflow exception for results with
13787 small absolute value.
13788 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
13789 (__ieee754_atanhl): Force underflow exception for results with
13790 small absolute value.
13791 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
13792 (__ieee754_atanhl): Force underflow exception for results with
13793 small absolute value.
13794 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
13795 (__ieee754_atanhl): Force underflow exception for results with
13796 small absolute value.
13797 * math/auto-libm-test-in: Do not allow missing underflow
13798 exceptions from atanh.
13799 * math/auto-libm-test-out: Regenerated.
13800
13801 [BZ #18221]
13802 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
13803 2**-28 as threshold for returning x or +/- 1/x.
13804 * math/auto-libm-test-in: Add more tests of tan.
13805 * math/auto-libm-test-out: Regenerated.
13806
13807 [BZ #18220]
13808 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13809 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
13810 * math/auto-libm-test-in: Add another test of lgamma.
13811 * math/auto-libm-test-out: Regenerated.
13812
13813 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
13814
13815 * stdio-common/printf_fp.c (___printf_fp): Use abs.
13816 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
13817 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
13818 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
13819 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
13820 (ADD2A): Use fabs. (SUB2A): Use fabs.
13821 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
13822 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
13823 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
13824 (log1): Use fabs. (my_log2): Use fabs.
13825 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
13826 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
13827 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
13828 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
13829 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
13830 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
13831 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
13832 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
13833 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
13834 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
13835 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
13836
13837 2015-05-15 Joseph Myers <joseph@codesourcery.com>
13838
13839 [BZ #18217]
13840 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
13841 as threshold for returning 1 - x.
13842 * math/auto-libm-test-in: Add more tests of erfc.
13843 * math/auto-libm-test-out: Regenerated.
13844
13845 2015-05-14 Joseph Myers <joseph@codesourcery.com>
13846
13847 [BZ #18196]
13848 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
13849 threshold for large arguments.
13850 * math/auto-libm-test-in: Add another test of atan.
13851 * math/auto-libm-test-out: Regenerated.
13852
13853 [BZ #16339]
13854 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
13855 (__log1p): Force underflow exception for results with small
13856 absolute value.
13857 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
13858 (__log1pf): Force underflow exception for results with small
13859 absolute value.
13860 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
13861 (__log1p): Force underflow exception for results with small
13862 absolute value.
13863 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
13864 (__log1pf): Force underflow exception for results with small
13865 absolute value.
13866 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
13867 (__log1pl): Force underflow exception for results with small
13868 absolute value.
13869 * math/auto-libm-test-in: Do not allow missing underflow
13870 exceptions from log1p.
13871 * math/auto-libm-test-out: Regenerated.
13872
13873 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
13874 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13875
13876 [BZ #16704]
13877 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
13878
13879 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
13880
13881 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
13882 (libmvec): New variable.
13883 * configure.ac: Added option for mathvec build.
13884 * configure: Regenerated.
13885 * mathvec/Depend: New file.
13886 * mathvec/Makefile: New file.
13887 * shlib-versions: Added libmvec.
13888 * math/Makefile: Added rule for libm.so installation.
13889
13890 * bits/math-vector.h: New file.
13891 * bits/libm-simd-decl-stubs.h: New header.
13892 * math/Makefile (headers): Added new header
13893 libm-simd-decl-stubs.h.
13894 * math/math.h (__MATHCALL_VEC): New macro.
13895
13896 * math/gen-libm-have-vector-test.sh: Script generates series of macros
13897 for conditions in testing functions.
13898 * math/Makefile: Added call of libm-have-vector-test.sh.
13899 * math/libm-test.inc (HAVE_VECTOR): New macros.
13900
13901 * math/libm-test.inc: START refactored.
13902 * math/test-double.c (TEST_MATHVEC): Add define.
13903 * math/test-float.c: Likewise.
13904 * math/test-idouble.c: Likewise.
13905 * math/test-ifloat.c: Likewise.
13906 * math/test-ildoubl.c: Likewise.
13907 * math/test-ldouble.c: Likewise.
13908 * sysdeps/generic/math-tests-arch.h
13909 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
13910 architecture check.
13911
13912 * math/test-double.c (FUNC_TEST): New macro.
13913 * math/test-float.c: Likewise.
13914 * math/test-idouble.c: Likewise.
13915 * math/test-ifloat.c: Likewise.
13916 * math/test-ildoubl.c: Likewise.
13917 * math/test-ldouble.c: Likewise.
13918 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
13919
13920 2015-05-13 Roland McGrath <roland@hack.frob.com>
13921
13922 * sysdeps/nacl/fdopendir.c: New file.
13923
13924 * dirent/scandir-tail.c: New file.
13925 * dirent/scandir64-tail.c: New file.
13926 * dirent/Makefile (routines): Add them.
13927 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
13928 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
13929 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
13930 [!SCANDIR] (SCANDIR_TAIL): New macro.
13931 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
13932 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
13933 (SCANDIRAT): Macro removed.
13934 (SCANDIR_TAIL): New macro.
13935 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
13936 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
13937 (SCANDIRAT): Just call __opendirat and __scandir_tail.
13938 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
13939 (READDIR): Macro removed.
13940 (SCANDIR_TAIL): New macro.
13941 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
13942 (SCANDIR_TAIL): New macro.
13943
13944 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
13945 * dirent/scandir-cancel.c: ... to this new file.
13946 * dirent/Makefile (routines): Add it.
13947 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
13948 * sysdeps/unix/sysv/linux/i386/scandir64.c
13949 (SKIP_SCANDIR_CANCEL): Macro removed.
13950 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
13951
13952 * dirent/tst-scandir.c: New file.
13953 * dirent/tst-scandir64.c: New file.
13954 * dirent/Makefile (tests): Add them.
13955
13956 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
13957
13958 [BZ #18409]
13959 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
13960
13961 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
13962
13963 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
13964 list.
13965
13966 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
13967
13968 * benchtests/bench-strcoll.c: New benchmark.
13969 * benchtests/Makefile: Generate locales and run benchmark.
13970 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
13971 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
13972 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
13973 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
13974 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
13975 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
13976 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
13977 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
13978 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
13979 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
13980 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
13981 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
13982 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
13983 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
13984 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
13985 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
13986 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
13987 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
13988 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
13989 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
13990 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
13991 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
13992 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
13993 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
13994
13995 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
13996
13997 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
13998 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13999
14000 2015-05-12 Roland McGrath <roland@hack.frob.com>
14001
14002 * posix/uname-values.h: New file.
14003 * posix/uname.c: Include that instead of <config-name.h>.
14004 * sysdeps/nacl/uname-values.h: New file.
14005 * sysdeps/arm/nacl/uname-values.h: New file.
14006
14007 2015-05-12 Joseph Myers <joseph@codesourcery.com>
14008
14009 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
14010 splitting into fields.
14011
14012 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
14013
14014 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
14015 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
14016 * locale/localeinfo.h: Add enum collation_encoding_type.
14017 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
14018 * programs/ld-collate.c (collate_output): Add encoding type info.
14019 * string/strcoll_l.c (STRDIFF): New function.
14020 * (STRCOLL): Use STRDIFF to skip over equal prefix.
14021 * wcsmbs/wcscoll_l.c: Define STRDIFF.
14022
14023 2015-05-11 Joseph Myers <joseph@codesourcery.com>
14024
14025 [BZ #18397]
14026 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
14027 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
14028 <fpu_control.h> instead of <math/fpu_control.c>.
14029 * sysdeps/mips/mips32/fpu/Makefile: New file.
14030
14031 2015-05-11 Andreas Schwab <schwab@suse.de>
14032
14033 [BZ #18007]
14034 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
14035 nss_endgrent.
14036 (_nss_compat_endgrent): Call nss_endgrent.
14037 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
14038 nss_endpwent.
14039 (_nss_compat_endpwent): Call nss_endpwent.
14040 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
14041 needent, call nss_setspent only if non-zero.
14042 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
14043 (internal_endspent): Don't call nss_endspent.
14044 (_nss_compat_endspent): Call nss_endspent.
14045 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
14046 Remove. All uses removed.
14047 (internal_setent): Remove parameter stayopen, add parameter
14048 stream. Use it instead of global variable.
14049 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
14050 (internal_endent, internal_getent): Add parameter stream. Use it
14051 instead of global variable.
14052 (CONCAT(_nss_files_end,ENTNAME))
14053 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
14054 (_nss_files_get##name##_r): Pass local stream. Remove locking.
14055 * nss/nss_files/files-alias.c (position, last_use): Remove. All
14056 uses removed.
14057 (internal_setent, internal_endent): Add parameter stream. Use it
14058 instead of global variable.
14059 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
14060 stream.
14061 (get_next_alias): Add parameter stream.
14062 (_nss_files_getaliasent_r): Pass global stream.
14063 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
14064 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
14065 (_nss_files_gethostbyname4_r): Pass local stream to
14066 internal_setent, internal_getent and internal_endent. Remove
14067 locking.
14068
14069 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14070
14071 * tst-strfmon1.c (tests): Update expected currency symbol.
14072
14073 2015-05-08 Roland McGrath <roland@hack.frob.com>
14074
14075 * sysdeps/nacl/gethostname.c: New file.
14076
14077 2015-05-08 Joseph Myers <joseph@codesourcery.com>
14078
14079 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
14080 and sinh.
14081 * math/auto-libm-test-out: Regenerated.
14082 * sysdeps/i386/fpu/libm-test-ulps: Update.
14083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14084
14085 2015-05-08 Carlos O'Donell <carlos@redhat.com>
14086
14087 [BZ #18125]
14088 * stdlib/tst-setcontext3.c: New file.
14089 * stdlib/tst-setcontext3.sh: New file.
14090 * stdlib/Makefile (tests): Add tst-setcontext3.
14091 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
14092 to verify test program created output file.
14093 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
14094 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
14095 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
14096 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
14097
14098 2015-05-06 Roland McGrath <roland@hack.frob.com>
14099
14100 [BZ #18383]
14101 * elf/tst-tlsalign.c: New file.
14102 * elf/tst-tlsalign-static.c: New file.
14103 * elf/tst-tlsalign-lib.c: New file.
14104 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
14105 (tests-static): Add tst-tlsalign-static.
14106 (modules-names): Add tst-tlsalign-lib.
14107 (test-xfail-tst-tlsalign): New variable.
14108 (test-xfail-tst-tlsalign-static): New variable.
14109
14110 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
14111 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
14112
14113 2015-05-06 Joseph Myers <joseph@codesourcery.com>
14114
14115 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
14116 csqrt, erfc, sin and sincos.
14117 * math/auto-libm-test-out: Regenerated.
14118 * sysdeps/i386/fpu/libm-test-ulps: Update.
14119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14120
14121 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14122
14123 * sysdeps/aarch64/libm-test-ulps: Update.
14124
14125 2015-05-05 Joseph Myers <joseph@codesourcery.com>
14126
14127 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
14128 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
14129 * math/auto-libm-test-out: Regenerated.
14130 * sysdeps/i386/fpu/libm-test-ulps: Update.
14131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14132
14133 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
14134
14135 [BZ #18265]
14136 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
14137 (wcsncpy): Likewise.
14138
14139 2015-05-05 Florian Weimer <fweimer@redhat.com>
14140
14141 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14142 Assume __ASSUME_FALLOCATE is always true.
14143 * sysdeps/unix/sysv/linux/posix_fallocate64.c
14144 (__posix_fallocate64_l64): Likweise.
14145 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
14146 (posix_fallocate): Likewise.
14147 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
14148 (__posix_fallocate64_l64): Likewise.
14149 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14150 [!__ASSUME_FALLOCATE]: Add comment.
14151
14152 2015-05-05 Florian Weimer <fweimer@redhat.com>
14153
14154 * sysdeps/unix/sysv/linux/i386/Makefile
14155 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
14156 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
14157 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
14158 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14159 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14160 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
14161 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
14162
14163 2015-05-02 Joseph Myers <joseph@codesourcery.com>
14164
14165 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
14166 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
14167 tgamma.
14168 * math/auto-libm-test-out: Regenerated.
14169 * sysdeps/i386/fpu/libm-test-ulps: Update.
14170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14171
14172 2015-05-01 Joseph Myers <joseph@codesourcery.com>
14173
14174 * math/auto-libm-test-in: Add more tests of tgamma.
14175 * math/auto-libm-test-out: Regenerated.
14176 * sysdeps/i386/fpu/libm-test-ulps: Update.
14177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14178
14179 * math/auto-libm-test-in: Add more tests of tanh.
14180 * math/auto-libm-test-out: Regenerated.
14181 * sysdeps/i386/fpu/libm-test-ulps: Update.
14182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14183
14184 * math/auto-libm-test-in: Add more tests of tan.
14185 * math/auto-libm-test-out: Regenerated.
14186 * sysdeps/i386/fpu/libm-test-ulps: Update.
14187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14188
14189 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
14190 * math/auto-libm-test-out: Regenerated.
14191 * sysdeps/i386/fpu/libm-test-ulps: Update.
14192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14193
14194 * math/auto-libm-test-in: Add another test of pow.
14195 * math/auto-libm-test-out: Regenerated.
14196 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14197
14198 * math/auto-libm-test-in: Add more tests of lgamma.
14199 * math/auto-libm-test-out: Regenerated.
14200 * sysdeps/i386/fpu/libm-test-ulps: Update.
14201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14202
14203 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
14204 log1p.
14205 * math/auto-libm-test-out: Regenerated.
14206 * sysdeps/i386/fpu/libm-test-ulps: Update.
14207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14208
14209 2015-05-01 Mark Wielaard <mjw@redhat.com>
14210
14211 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
14212 Elf64_Chdr structs and ELFCOMPRESS constants.
14213
14214 2015-05-01 Joseph Myers <joseph@codesourcery.com>
14215
14216 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
14217 expm1.
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 erf and erfc.
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 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
14228
14229 * config.h.in (HAVE_AARCH64_BE): Add.
14230
14231 2015-04-30 Joseph Myers <joseph@codesourcery.com>
14232
14233 * math/auto-libm-test-in: Add more tests of csqrt.
14234 * math/auto-libm-test-out: Regenerated.
14235 * sysdeps/i386/fpu/libm-test-ulps: Update.
14236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14237
14238 * math/auto-libm-test-in: Add more tests of cosh and sinh.
14239 * math/auto-libm-test-out: Regenerated.
14240 * sysdeps/i386/fpu/libm-test-ulps: Update.
14241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14242
14243 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
14244
14245 2015-04-29 Roland McGrath <roland@hack.frob.com>
14246
14247 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
14248 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
14249
14250 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
14251 (euidaccess, eaccess): Define as weak aliases.
14252
14253 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
14254 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
14255 but __suseconds_t is often 'long int' so some sources assume that
14256 type is being used (e.g. they use %ld to print tv_usec).
14257
14258 2015-04-29 Florian Weimer <fweimer@redhat.com>
14259
14260 [BZ #18007]
14261 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
14262 (CVE-2014-8121)
14263 * nss/tst-nss-getpwent.c: New file.
14264 * nss/Makefile (tests): Add new test.
14265
14266 2015-04-28 Joseph Myers <joseph@codesourcery.com>
14267
14268 [BZ #18346]
14269 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
14270 exponents less than 48 as cases where high part of mantissa needs
14271 examining to determine whether argument is integral.
14272 * math/libm-test.inc (round_test_data): Add more tests.
14273
14274 2015-04-28 Mark Wielaard <mjw@redhat.com>
14275
14276 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
14277
14278 2015-04-27 David S. Miller <davem@davemloft.net>
14279
14280 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
14281 __tls_get_addr.
14282 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14283
14284 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
14285
14286 [BZ#18333]
14287 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
14288
14289 2015-04-27 Florian Weimer <fweimer@redhat.com>
14290
14291 [BZ#18333]
14292 * time/tzset.c (parse_tzname): Return error on memory allocation
14293 failure.
14294 * test-skeleton.c (struct temp_name_list): Change type of name
14295 member to non-const.
14296 (add_temp_file): Create a copy of the file name.
14297 (delete_temp_files): Deallocate memory.
14298 (create_temp_file): Add comment.
14299
14300 2015-04-24 Florian Weimer <fweimer@redhat.com>
14301
14302 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
14303 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
14304
14305 2015-04-24 Roland McGrath <roland@hack.frob.com>
14306
14307 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
14308 * sysdeps/arm/configure: Regenerated.
14309
14310 2015-04-24 Florian Weimer <fweimer@redhat.com>
14311
14312 [BZ #17715]
14313 * time/tzfile.c (__tzfile_read): Check for large values of
14314 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
14315 * time/tzset.c (__tzstring_len): New function, based on the old
14316 __tzstring function.
14317 (__tzstring): Call __tzstring_len.
14318 (parse_tzname): New helper function extracted from
14319 __tzset_parse_tz. Call __tzstring_len, without making a copy of
14320 the input string.
14321 (parse_offset): New helper function extracted from
14322 __tzset_parse_tz. Replace switch with fallthrough with
14323 initialization before sscanf.
14324 (parse_rule): Likewise.
14325 (__tzset_parse_tz): Rewrite using the new helper functions. Use
14326 new-style function definition.
14327 * timezone/Makefile (tests): Add tst-tzset.
14328 (tst-tzset.out): Dependencies on time zone files.
14329 (tst-tzset-ENV): Set TZDIR.
14330 (testdata/XT%): Copy crafted time zone files.
14331 * timezone/README: Mention crafted time zone files.
14332 * timezone/testdata/XT1, timezone/testdata/XT2,
14333 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
14334 files.
14335 * timezone/tst-tzset.c: New test.
14336
14337 2015-04-24 Florian Weimer <fweimer@redhat.com>
14338
14339 * Makeconfig (+gccwarn): Remove -Winline.
14340
14341 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14342
14343 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
14344
14345 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14346
14347 * NEWS: Mention sysconf() cache information support for s390.
14348 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
14349
14350 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
14351
14352 * math/k_casinh.c (__kernel_casinh): Use __copysign.
14353 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
14354 (__nearbyint): Likewise.
14355 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
14356 (copysignl): Likewise.
14357
14358 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
14359
14360 [BZ #18287]
14361 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
14362 based on padding. (CVE-2015-1781)
14363
14364 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14365
14366 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
14367 libc-vdso.h.
14368 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
14369 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
14370 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
14371 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14372 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14373 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
14374 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
14375 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
14376 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14377 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
14378 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14379 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14380 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
14381 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
14382 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14383 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
14384 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
14385 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
14386 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
14387 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
14388 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
14389 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
14390 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
14391
14392 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
14393
14394 * stdlib/setenv.c (__add_to_environ):
14395 Dump core quickly if setenv (..., NULL, ...) is called.
14396 This time, do it the right way, and pacify GCC with a pragma.
14397
14398 2015-04-17 Roland McGrath <roland@hack.frob.com>
14399
14400 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
14401 IMAP->l_prev cannot be null, and #if out the code for the contrary
14402 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
14403 believe that NS (&_dl_ns[NSID]) could point outside the array.
14404
14405 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
14406 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
14407 before using NSID as an index.
14408
14409 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
14410
14411 [BZ #17825]
14412 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
14413 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
14414 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14415
14416 2015-04-17 Roland McGrath <roland@hack.frob.com>
14417
14418 Add preliminary port to Google Native Client on ARM.
14419 * abi-tags (.*-.*-nacl.*): New entry.
14420 * sysdeps/arm/nacl: New directory.
14421 * sysdeps/nacl: New directory.
14422
14423 2015-04-16 David S. Miller <davem@davemloft.net>
14424
14425 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
14426 lowlevellock-futex.h
14427
14428 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
14429
14430 * sysdeps/tile/configure.ac: New file.
14431 * sysdeps/tile/configure: Regenerated.
14432
14433 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14434
14435 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
14436 conditionals for weak_alias and libc_hidden_weak.
14437 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
14438 libc_hidden_weak and weak_alias.
14439 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
14440 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
14441 and weak_alias for static one.
14442
14443 2015-04-15 David S. Miller <davem@davemloft.net>
14444
14445 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14446
14447 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14448
14449 [BZ #18206]
14450 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
14451 Use signed comparision instead of substraction to avoid
14452 overflow bug.
14453 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
14454 Take the sign of ret.
14455 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
14456 Do not expect precise return values. Only the sign matters.
14457 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
14458 * wcsmbs/test-wcsncmp.c: New File.
14459 * string/test-strncmp.c: Add wcsncmp support.
14460
14461 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14462
14463 [BZ #6792]
14464 * math/w_log1p.c: New file.
14465 * math/w_log1pf.c: Likewise.
14466 * math/w_log1pl.c: Likewise.
14467 * math/Makefile (libm-calls): Add w_log1p.
14468 * math/s_log1pl.c (log1pl): Remove weak_alias.
14469 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
14470 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
14471 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
14472 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
14473 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
14474 [NO_LONG_DOUBLE] (log1pl): Likewise.
14475 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
14476 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
14477 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
14478 (log1p): Remove long_double_symbol.
14479 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
14480 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
14481 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
14482 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
14483 remove weak_alias for corresponding log1p function.
14484 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
14485 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
14486 * sysdeps/ia64/fpu/w_log1p.c: New file.
14487 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
14488 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
14489 * math/libm-test.inc (log1p_test_data): Add errno expectations.
14490
14491 2015-04-10 Joseph Myers <joseph@codesourcery.com>
14492
14493 [BZ #18247]
14494 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
14495 decimal exponent by 1.
14496 * stdlib/tst-strtod-round-data: Add more tests.
14497 * stdlib/tst-strtod-round.c (tests): Regenerated.
14498
14499 2015-04-09 Joseph Myers <joseph@codesourcery.com>
14500
14501 * math/auto-libm-test-in: Add more tests of clog and clog10.
14502 * math/auto-libm-test-out: Regenerated.
14503 * sysdeps/i386/fpu/libm-test-ulps: Update.
14504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14505
14506 2015-04-09 Roland McGrath <roland@hack.frob.com>
14507
14508 * Makeconfig (module-cppflags): Exclude all .v.i files.
14509 (skip-module-cppflags): Variable removed.
14510
14511 * configure.ac (libc_config_ok): Initialize before reading
14512 preconfigure scripts, not after.
14513 * configure: Regenerated.
14514
14515 * test-skeleton.c (TIMEOUT): Move #define to top level.
14516 (main): Grok environment variable TEST_DIRECT. If set, print
14517 test expectation details into that file and then behave as if
14518 given --direct.
14519
14520 2015-04-09 Florian Weimer <fweimer@redhat.com>
14521
14522 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
14523 warning on 32-bit.
14524
14525 2015-04-08 David S. Miller <davem@davemloft.net>
14526
14527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14528
14529 2015-04-08 Joseph Myers <joseph@codesourcery.com>
14530
14531 * math/auto-libm-test-in: Add more tests of atanh.
14532 * math/auto-libm-test-out: Regenerated.
14533 * sysdeps/i386/fpu/libm-test-ulps: Update.
14534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14535
14536 * math/auto-libm-test-in: Add more tests of atan.
14537 * math/auto-libm-test-out: Regenerated.
14538 * sysdeps/i386/fpu/libm-test-ulps: Update.
14539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14540
14541 2015-04-08 Florian Weimer <fweimer@redhat.com>
14542
14543 * elf/pldd.c (main): Rewrite to use struct
14544 scratch_buffer instead of extend_alloca.
14545 * elf/pldd-xx.c (find_maps): Likewise.
14546 * grp/initgroups.c: Include <scratch_buffer.h> instead of
14547 <alloca.h>.
14548 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
14549 scratch_buffer instead of extend_alloca.
14550 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
14551 grp/compat-initgroups.c.
14552 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
14553 Rewrite to use struct scratch_buffer instead of extend_alloca.
14554 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
14555 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14556
14557 2015-04-08 Joseph Myers <joseph@codesourcery.com>
14558
14559 * math/auto-libm-test-in: Add more tests of cbrt.
14560 * math/auto-libm-test-out: Regenerated.
14561 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14562
14563 * math/auto-libm-test-in: Add more tests of cabs.
14564 * math/auto-libm-test-out: Regenerated.
14565 * sysdeps/i386/fpu/libm-test-ulps: Update.
14566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14567
14568 [BZ #18210]
14569 [BZ #18211]
14570 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
14571 (__ieee754_atan2): Set FE_TONEAREST mode for internal
14572 computations.
14573 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
14574 clog10.
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 [BZ #18197]
14580 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
14581 (atan): Set FE_TONEAREST mode for internal computations.
14582 * math/auto-libm-test-in: Add more tests of atan.
14583 * math/auto-libm-test-out: Regenerated.
14584
14585 2015-04-07 James Cowgill <james410@cowgill.org.uk>
14586
14587 [BZ #17930]
14588 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
14589
14590 2015-04-07 Florian Weimer <fweimer@redhat.com>
14591
14592 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
14593
14594 2015-04-07 Florian Weimer <fweimer@redhat.com>
14595
14596 * include/scratch_buffer.h: New file.
14597 * malloc/scratch_buffer_grow.c: Likewise.
14598 * malloc/scratch_buffer_grow_preserve.c: Likewise.
14599 * malloc/scratch_buffer_set_array_size.c: Likewise.
14600 * malloc/tst-scratch_buffer.c: Likewise.
14601 * malloc/Makefile (routines): Add scratch_buffer_grow.
14602 (tests): Add test case.
14603 * malloc/Versions (GLIBC_PRIVATE): Export
14604 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
14605 __libc_scratch_buffer_set_array_size.
14606
14607 2015-04-06 Richard Henderson <rth@redhat.com>
14608
14609 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
14610 * sysdeps/alpha/fpu/libm-test-ulps: Update.
14611
14612 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
14613 unsigned int before printing.
14614
14615 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14616
14617 [BZ #17596]
14618 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
14619 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14620
14621 2015-04-02 Florian Weimer <fweimer@redhat.com>
14622
14623 * include/libc-internal.h (libc_max_align_t): Define.
14624
14625 2015-04-02 Andreas Schwab <schwab@suse.de>
14626
14627 [BZ #16850]
14628 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
14629
14630 2015-04-02 Mel Gorman <mgorman@suse.de>
14631
14632 [BZ #17195]
14633 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
14634 as well as the main arena.
14635
14636 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
14637
14638 [BZ #18185]
14639 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
14640 sharing L2 cache to 2 for Silvermont/Knights Landing.
14641
14642 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
14643
14644 [BZ #17711]
14645 * config.make.in (have-protected-data): New.
14646 * configure.ac: Check linker support for protected data symbol.
14647 * configure: Regenerated.
14648 * elf/Makefile (modules-names): Add tst-protected1moda and
14649 tst-protected1modb if $(have-protected-data) is yes.
14650 (tests): Add tst-protected1a and tst-protected1b if
14651 $(have-protected-data) is yes.
14652 ($(objpfx)tst-protected1a): New.
14653 ($(objpfx)tst-protected1b): Likewise.
14654 (tst-protected1modb.so-no-z-defs): Likewise.
14655 * elf/tst-protected1a.c: New file.
14656 * elf/tst-protected1b.c: Likewise.
14657 * elf/tst-protected1mod.h: Likewise.
14658 * elf/tst-protected1moda.c: Likewise.
14659 * elf/tst-protected1modb.c: Likewise.
14660
14661 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
14662
14663 [BZ #17711]
14664 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
14665 indicates it is called from do_lookup_x on relocation against
14666 protected data, skip the data definion in the executable from
14667 copy reloc.
14668 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
14669 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
14670 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
14671 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
14672 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
14673 otherwise to 0.
14674 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14675 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
14676 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
14677 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14678 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
14679 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
14680
14681 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
14682
14683 * sysdeps/nptl/pthread.h: Remove duplicate definition of
14684 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
14685
14686 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
14687
14688 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
14689 THREAD_SETMEM_NC.
14690 * sysdeps/x86_64/nptl/tls.h: Ditto.
14691
14692 2015-03-27 Roland McGrath <roland@hack.frob.com>
14693
14694 * dlfcn/tststatic.c (main): Converted to ...
14695 (do_test): ... this.
14696 (TEST_FUNCTION): New macro.
14697 Include test-skeleton.c.
14698
14699 2015-03-26 Alan Modra <amodra@gmail.com>
14700
14701 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
14702 Don't segfault if ifunc resolver returns a NULL. Do set plt to
14703 zero for undefined weak.
14704 (elf_machine_plt_conflict): Similarly.
14705
14706 2015-03-25 Joseph Myers <joseph@codesourcery.com>
14707
14708 * math/auto-libm-test-in: Add more tests of acosh, asinh and
14709 atanh.
14710 * math/auto-libm-test-out: Regenerated.
14711 * sysdeps/i386/fpu/libm-test-ulps: Update.
14712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14713
14714 * math/auto-libm-test-in: Add another test of asin.
14715 * math/auto-libm-test-out: Regenerated.
14716 * sysdeps/i386/fpu/libm-test-ulps: Update.
14717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14718
14719 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
14720 Remove macro.
14721 (LLL_EBX_REG): Likewise.
14722 (LLL_ENTER_KERNEL): Likewise.
14723
14724 * math/auto-libm-test-in: Add more tests of asin.
14725 * math/auto-libm-test-out: Regenerated.
14726 * sysdeps/i386/fpu/libm-test-ulps: Update.
14727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14728
14729 [BZ #18138]
14730 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
14731 libc_do_syscall_args): New structure.
14732 (INTERNAL_SYSCALL_MAIN_0): New macro.
14733 (INTERNAL_SYSCALL_MAIN_1): Likewise.
14734 (INTERNAL_SYSCALL_MAIN_2): Likewise.
14735 (INTERNAL_SYSCALL_MAIN_3): Likewise.
14736 (INTERNAL_SYSCALL_MAIN_4): Likewise.
14737 (INTERNAL_SYSCALL_MAIN_5): Likewise.
14738 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
14739 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
14740 Replace conditional definitions by conditional definitions of ....
14741 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
14742 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
14743 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
14744 (libpthread-sysdep_routines): Add libc-do-syscall.
14745 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
14746 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
14747 to __NR_futex not 240.
14748
14749 2015-03-25 Alan Modra <amodra@gmail.com>
14750
14751 * NEWS: Advertise TLS optimization.
14752 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
14753 (DT_PPC_NUM): Increment.
14754 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
14755 (CHECK_STATIC_TLS): Use here.
14756 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
14757 TLS descriptors.
14758 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14759 * sysdeps/powerpc/dl-tls.c: New file.
14760 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
14761 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
14762 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
14763 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
14764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
14765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14767
14768 2015-03-25 Alan Modra <amodra@gmail.com>
14769
14770 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
14771 for overlapping .opd entries" to "support...".
14772 * sysdeps/powerpc/powerpc64/configure: Regenerate
14773
14774 2015-03-25 Joseph Myers <joseph@codesourcery.com>
14775
14776 * math/auto-libm-test-in: Add more tests of acos.
14777 * math/auto-libm-test-out: Regenerated.
14778 * sysdeps/i386/fpu/libm-test-ulps: Update.
14779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14780
14781 * math/auto-libm-test-in: Add more tests of expm1.
14782 * math/auto-libm-test-out: Regenerated.
14783 * sysdeps/i386/fpu/libm-test-ulps: Update.
14784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14785
14786 2015-03-24 Joseph Myers <joseph@codesourcery.com>
14787
14788 * math/auto-libm-test-in: Add more tests of cosh and sinh.
14789 * math/auto-libm-test-out: Regenerated.
14790 * sysdeps/i386/fpu/libm-test-ulps: Update.
14791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14792
14793 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14795
14796 * math/auto-libm-test-in: Add more tests of log2.
14797 * math/auto-libm-test-out: Regenerated.
14798 * sysdeps/i386/fpu/libm-test-ulps: Update.
14799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14800
14801 2015-03-23 Roland McGrath <roland@hack.frob.com>
14802
14803 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
14804 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
14805 _IO_IS_APPENDING bit in READ_WRITE instead.
14806
14807 2015-03-23 Florian Weimer <fweimer@redhat.com>
14808
14809 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14810 (__determine_cpumask_size): Replace extend_alloca with a
14811 variable-length array. Do not treat res == 0 as an error.
14812
14813 2015-03-23 Florian Weimer <fweimer@redhat.com>
14814
14815 [BZ #18100]
14816 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
14817 and integer overflow.
14818 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
14819 (main): Add integer overflow tests.
14820 * manual/pattern.texi (Calling Wordexp): Document additional use
14821 for WRDE_SYNTAX.
14822
14823 2015-03-23 Alan Modra <amodra@gmail.com>
14824
14825 * config.h.in: Remove HAVE_ASM_PPC_REL16.
14826 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
14827 and false branch of conditional.
14828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14829 Likewise.
14830
14831 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
14832
14833 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
14834 libc-modules.h
14835 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
14836 unused declaration of _hurd_intr_rpc_msg_in_trap.
14837 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
14838 defined instead of whether it is non-zero.
14839 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
14840 input constraint instead of both input and output constraint. Use ecx
14841 clobber instead of %ecx.
14842 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
14843 mutex_unlock): Use a statement expression instead of an expression list.
14844 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
14845 type to vm_size_t instead of vm_address_t.
14846 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
14847 defined instead of whether it is non-zero.
14848 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
14849 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
14850 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
14851 comparisons with mapaddr.
14852 * nscd/nscd-client.h: Include <time.h>.
14853 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
14854 9th parameter to __vm_region instead of int.
14855 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
14856 * scripts/check-local-headers.sh (exclude): Add device/,
14857 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
14858 cthreads.h.
14859
14860 2015-03-19 Roland McGrath <roland@hack.frob.com>
14861
14862 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
14863 to account for alignment padding.
14864 * sysdeps/arm/memmove.S: Likewise.
14865
14866 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
14867
14868 * sysdeps/unix/sysv/linux/generic/README: New file.
14869
14870 2015-03-18 Joseph Myers <joseph@codesourcery.com>
14871
14872 [BZ #18138]
14873 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
14874 (futex_abstimed_wait)
14875 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
14876 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
14877 of lll_futex_timed_wait.
14878
14879 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
14880
14881 [BZ #17542]
14882 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
14883
14884 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
14885
14886 [BZ #17090]
14887 [BZ #17620]
14888 [BZ #17621]
14889 [BZ #17628]
14890 * NEWS: Update.
14891 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
14892 entries with Static TLS too. Skip entries past the end of the
14893 allocated DTV, from Alan Modra.
14894 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
14895 Static TLS DTV entry set up from...
14896 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
14897 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
14898 * nptl/allocatestack.c (init_one_static_tls): ... and here...
14899 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
14900 for Static TLS.
14901 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
14902 that the slot we find is associated with the given map before
14903 using its generation count.
14904 * nptl_db/db_info.c: Include ldsodefs.h.
14905 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
14906 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
14907 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
14908 (link_map::l_tls_offset): New struct field.
14909 (dtv_t::counter): Likewise.
14910 (rtld_global): New struct.
14911 (_rtld_global): New rtld variable.
14912 (dl_tls_dtv_slotinfo_list): New rtld global field.
14913 (dtv_slotinfo_list): New struct.
14914 (dtv_slotinfo): Likewise.
14915 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
14916 (td_lookup): Rename to...
14917 (td_mod_lookup): ... this. Use new mod parameter instead of
14918 LIBPTHREAD_SO.
14919 * nptl_db/td_thr_tlsbase.c: Include link.h.
14920 (dtv_slotinfo_list, dtv_slotinfo): New functions.
14921 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
14922 addresses even if the DTV is out of date or missing them.
14923 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
14924 index zero-length arrays.
14925 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
14926 (td_lookup): Make it a macro implemented in terms of...
14927 (td_mod_lookup): ... this declaration.
14928 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
14929 (DB_MAIN_VARIABLE): Likewise.
14930
14931 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
14932
14933 [BZ #18134]
14934 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14935
14936 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
14937
14938 * stdlib/setenv.c (__add_to_environ): Revert previous change.
14939
14940 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
14941
14942 [BZ #18128]
14943 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
14944 (atomic_add, atomic_increment_and_test)
14945 (atomic_decrement_and_test): Fix 64-bit arithmetic.
14946
14947 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
14948
14949 * stdlib/setenv.c (__add_to_environ):
14950 Dump core quickly if setenv (..., NULL, ...) is called.
14951
14952 2015-03-13 Roland McGrath <roland@hack.frob.com>
14953
14954 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
14955 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
14956 all the necessary asm magic in one place.
14957 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
14958 using those.
14959
14960 2015-03-13 Carlos O'Donell <carlos@redhat.com>
14961
14962 [BZ #14906]
14963 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
14964 traced file mtime. Use consistent log message.
14965 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
14966 (register_traced_file): Call install_watches. Always set mtime.
14967 (invalidate_cache): Iterate over all trace files. Call install_watches.
14968 (inotify_check_files): Don't inline. Handle watching parent
14969 directories and configuration file movement in and out.
14970 (handle_inotify_events): New function.
14971 (main_loop_poll): Call handle_inotify_events.
14972 (main_loop_epoll): Likewise.
14973 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
14974 (struct traced_file): Use array of inotify fds. Add parent directory,
14975 and basename.
14976 (struct database_dyn): Remove unused file_mtime.
14977 (init_traced_file): New inline function.
14978 (define_traced_file): New macro.
14979 * nss/nss_db/db-init.c: Use define_traced_file.
14980 (_nss_db_init): Use init_traced_file.
14981 * nss/nss_files/files-init.c: Use define_traced_file.
14982 (_nss_files_init): Use init_traced_file.
14983
14984 2015-03-12 Joseph Myers <joseph@codesourcery.com>
14985
14986 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
14987 [_LIBC]: Do not include <stdlib.h>.
14988 [!_LIBC] (abort): Remove declaration.
14989 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
14990 _FP_STATIC_ASSERT instead of conditionally calling abort.
14991 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
14992 (_FP_EXTEND_CNAN): Likewise.
14993 (FP_TRUNC): Likewise.
14994 (__FP_CLZ): Likewise.
14995 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
14996
14997 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
14998
14999 * manual/string.texi (XPG basename): Fix prototype.
15000
15001 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15002
15003 [BZ #18080]
15004 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
15005 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15006 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
15007 (__setcontext): Likewise.
15008 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
15009 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15010 Call rt_sigprocmask syscall one time to set new signal mask
15011 and retrieve the current signal mask instead of two calls.
15012 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
15013 (__swapcontext): Likewise.
15014 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
15015 * stdlib/tst-setcontext2.c: New file.
15016
15017 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15018
15019 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15020
15021 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
15022
15023 [BZ #18093]
15024 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
15025 the wrong size.
15026
15027 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15028
15029 [BZ #18043]
15030 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
15031
15032 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
15033
15034 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
15035 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
15036 Remove define.
15037 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
15038 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
15039 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
15040 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
15041 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
15042 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
15043 define.
15044 * nptl_db/td_symbol_list.c (td_lookup): Remove
15045 HAVE_ASM_GLOBAL_DOT_NAME code.
15046 * sysdeps/powerpc/powerpc64/configure.ac: Remove
15047 HAVE_ASM_GLOBAL_DOT_NAME check.
15048 * sysdeps/powerpc/powerpc64/configure: Regenerate.
15049 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
15050 (DOT_LABEL): Remove define.
15051 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
15052 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
15053 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
15054 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
15055 (__TLS_GET_ADDR): Likewise.
15056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
15057 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
15058
15059 2015-03-11 Carlos O'Donell <carlos@redhat.com>
15060
15061 [BZ #18111]
15062 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
15063 (_FPU_SETCW): Initialize cw from fpsr before storing.
15064 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
15065 (fesetexceptflag): Rewrite using fpu_control.h.
15066 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
15067
15068 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
15069
15070 [BZ #18110]
15071 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
15072 asms.
15073 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15074
15075 2015-03-11 Joseph Myers <joseph@codesourcery.com>
15076
15077 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
15078 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
15079 abort.
15080 (_FP_FMA): Likewise.
15081 (_FP_DIV): Likewise.
15082
15083 2015-03-10 Roland McGrath <roland@hack.frob.com>
15084
15085 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
15086 with 0 in that case.
15087 * Makefile (summarize-tests): New canned sequence, factored out of
15088 commands for targets tests and xtests. Display summary lines that
15089 don't start with PASS: or XFAIL: rather than ones that do start with
15090 ERROR: or FAIL:. Make the commands fail if any summary lines fail
15091 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
15092 do start with ERROR: or FAIL:.
15093 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
15094 (except for [$(build-shared) = yes]).
15095 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
15096 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
15097 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
15098 * nptl/Makefile: Revert 2015-03-04 changes.
15099 [$(CXX) empty] (tests-unsupported): New variable.
15100 * debug/Makefile: Likewise.
15101
15102 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
15103 gnulib file. Replace __attribute with __attribute__ throughout.
15104
15105 2015-03-10 Carlos O'Donell <carlos@redhat.com>
15106
15107 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15108
15109 2015-03-10 Joseph Myers <joseph@codesourcery.com>
15110
15111 [BZ #18104]
15112 * math/auto-libm-test-in: Add another test of pow.
15113 * math/auto-libm-test-out: Regenerated.
15114
15115 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15116
15117 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
15118 $(config-cflags-nofma).
15119
15120 2015-03-10 Joseph Myers <joseph@codesourcery.com>
15121
15122 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
15123 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
15124 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
15125 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
15126 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
15127 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
15128 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
15129 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
15130 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
15131 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
15132 Add comment on closing #endif.
15133
15134 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15135
15136 * posix/wordexp.c (CHAR_IN_SET): New macro.
15137 (parse_param): Use it.
15138
15139 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15140
15141 * sysdeps/powerpc/fpu/libm-test-ulps: update.
15142
15143 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15144
15145 [BZ #18043]
15146 * posix/wordexp.c (parse_param): Fix buffer overflow.
15147 * posix/wordexp-test.c (test_case): Add test case.
15148
15149 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15150
15151 [BZ #18042]
15152 * posix/wordexp.c (parse_backtick): Fix off-by-one.
15153 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
15154
15155 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15156
15157 [BZ #18043]
15158 * posix/wordexp-test.c (test_case): Add test for BZ #18043
15159 (do_bz18043): Delete.
15160 (at_page_end): New.
15161 (testit): Refactor to have words at the edge of unreadable page.
15162
15163 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15164
15165 [BZ #16734]
15166 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
15167 Cleanup read-only streams as well.
15168 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
15169
15170 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
15171
15172 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
15173 <bits/libc-lockP.h>
15174
15175 2015-03-07 Joseph Myers <joseph@codesourcery.com>
15176
15177 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
15178 on [__KERNEL__].
15179 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
15180 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
15181 * soft-fp/op-common.h (_FP_DECL): Likewise.
15182
15183 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
15184
15185 * elf/ifuncdep2.c (global): Replace
15186 __attribute__((visibility("protected"))) with
15187 asm (".protected global").
15188 * elf/ifuncmod1.c (global): Likewise.
15189 * elf/ifuncmod5.c (global): Likewise.
15190
15191 2015-03-06 Joseph Myers <joseph@codesourcery.com>
15192
15193 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
15194 <asm/sfp-machine.h> instead of <sfp-machine.h>.
15195
15196 2015-03-06 Roland McGrath <roland@hack.frob.com>
15197
15198 * manual/install.texi (Configuring and compiling):
15199 Document test-wrapper-env-only.
15200 * INSTALL: Regenerated.
15201
15202 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15203
15204 [BZ #18043]
15205 * posix/wordexp.c (parse_param): Fix buffer overflow.
15206 * posix/wordexp-test.c (do_bz18043): Add test case.
15207
15208 2015-03-06 Vincent Bernat <vincent@bernat.im>
15209
15210 * time/tst-strptime2.c (do_test): Ensure failing tests are
15211 reported correctly.
15212 * time/tst-strptime3.c (do_test): Likewise.
15213
15214 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
15215
15216 Fix aio_error thread-safety.
15217 * sysdeps/pthread/aio_error.c: New file
15218 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
15219 synchronization.
15220
15221 2015-03-06 Florian Weimer <fweimer@redhat.com>
15222
15223 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
15224 (group_number, vfprintf): Use it.
15225 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
15226 (JUMP, REF): Use it.
15227 (WORK_BUFFER_SIZE): New enum constant.
15228 (process_arg, vfprintf): Use it.
15229
15230 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
15231
15232 * manual/errno.texi (Error Messages): Complete example function
15233 by adding missing #define.
15234 (program_invocation_name): Add statement indicating GNU
15235 extension and reference which header file declares the variable.
15236 (program_invocation_short_name): Likewise.
15237
15238 2015-03-06 Mike Frysinger <vapier@gentoo.org>
15239
15240 * manual/errno.texi (Error Messages): Delete strerror ISO C89
15241 compatibility note.
15242
15243 2015-03-05 Roland McGrath <roland@hack.frob.com>
15244
15245 * Makeconfig (test-wrapper-env-only): New variable.
15246 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
15247 then use that with $(test-wrapper-env-only) rather than using
15248 $(test-wrapper-env) $(run-program-env) $($*-ENV).
15249
15250 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
15251
15252 [BZ #18082]
15253 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
15254 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
15255 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
15256 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
15257 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
15258 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
15259 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
15260 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
15261 Likewise.
15262 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
15263 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
15264 Likewise.
15265 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
15266 Likewise.
15267 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
15268 Likewise.
15269 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
15270 Likewise.
15271 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
15272 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
15273 Likewise.
15274 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
15275 Likewise.
15276 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
15277 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
15278
15279 2015-03-04 Roland McGrath <roland@hack.frob.com>
15280
15281 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
15282 (ETH_ALEN): New macro.
15283 (struct ether_addr): Use it for length of ether_addr_octet.
15284
15285 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
15286 (setdb): Don't call __nss_configure_lookup for "rpc".
15287 (do_test): Don't call test_rpc.
15288 (output_rpcent, test_rpc): Functions moved ...
15289 * sunrpc/test-rpcent.c: ... to this new file.
15290 * sunrpc/Makefile (tests): Add it.
15291
15292 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
15293 __xpg_sigpause.
15294 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
15295 * nptl/tst-signal6.c: Likewise.
15296 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
15297 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
15298
15299 * configure.ac (libc_cv_cxx_link_ok): New check.
15300 Reset CXX to empty if it fails to link.
15301 * configure: Regenerated.
15302 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
15303 bug-atexit3-lib only if $(CXX) is nonempty.
15304 * nptl/Makefile (tests): Likewise for tst-cancel24.
15305 (tests, tests-static): Likewise for tst-cancel24-static.
15306 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
15307 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
15308 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
15309 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
15310
15311 2015-03-04 Andreas Schwab <schwab@suse.de>
15312
15313 [BZ #17631]
15314 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
15315 for non-GCC compilers.
15316 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15317 Likewise.
15318
15319 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
15320
15321 [BZ #17776]
15322 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
15323 integer before bitwise and assembly operations.
15324 (feclearexcept): Likewise.
15325 * math/test-fenvinline.c: New file.
15326 * math/Makefile: Add test-fenvinline test.
15327
15328 2015-03-03 Alan Modra <amodra@gmail.com>
15329
15330 [BZ #16512]
15331 * scripts/localplt.awk: Strip off symbol version.
15332 * NEWS: Mention bug fix.
15333
15334 2015-03-02 Roland McGrath <roland@hack.frob.com>
15335
15336 * sysdeps/pthread/timer_routines.c
15337 (timer_free_list, thread_free_list, thread_active_list): Make static.
15338
15339 2015-03-02 Joseph Myers <joseph@codesourcery.com>
15340
15341 [BZ #17779]
15342 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15343 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15344 Undefine.
15345 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15346 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15347 Likewise.
15348 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15349 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15350 Likewise.
15351
15352 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15353
15354 [BZ #18036]
15355 * posix/fnmatch_loop.c (END): Detect invalid pattern.
15356 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
15357
15358 2015-03-02 Andreas Schwab <schwab@suse.de>
15359
15360 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
15361 variable name.
15362
15363 2015-03-02 Florian Weimer <fweimer@redhat.com>
15364
15365 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
15366 Return error status.
15367
15368 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
15369
15370 [BZ #15969]
15371 * locale/findlocale.c (_nl_find_locale): Introduce const
15372 version of loc_name and drop unsafe type casts.
15373
15374 2015-02-27 Roland McGrath <roland@hack.frob.com>
15375
15376 * dlfcn/tststatic2.c (main): Converted to ...
15377 (do_test): ... this.
15378 (TEST_FUNCTION): New macro.
15379 Include test-skeleton.c.
15380
15381 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
15382
15383 [BZ #17711]
15384 * elf/Makefile (tests): Add vismain only if PIE is enabled.
15385 (tests-pie): Add vismain.
15386 (CFLAGS-vismain.c): New.
15387 * elf/vismain.c: Add comments for PIE requirement.
15388
15389 2015-02-27 Joseph Myers <joseph@codesourcery.com>
15390
15391 [BZ #18046]
15392 [BZ #18047]
15393 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
15394 0x1p-56L as threshold for just returning the argument.
15395 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
15396 0x1p-32L as threshold for just returning the argument.
15397 * math/auto-libm-test-in: Add more tests of atanh.
15398 * math/auto-libm-test-out: Regenerated.
15399 * sysdeps/i386/fpu/libm-test-ulps: Update.
15400 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
15401
15402 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
15403
15404 * string/bcopy.c (bcopy): Call memmove for performance.
15405
15406 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
15407
15408 * string/bzero.c (__bzero): Call memset for performance.
15409
15410 2015-02-27 John David Anglin <dave.anglin@bell.net>
15411
15412 [BZ #18068]
15413 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
15414 to 00100000.
15415
15416 2015-02-27 Joseph Myers <joseph@codesourcery.com>
15417
15418 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
15419
15420 2015-02-26 Joseph Myers <joseph@codesourcery.com>
15421
15422 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
15423 (__kernel_standard): Use CSTR macro when setting exc.name.
15424 * sysdeps/ieee754/Makefile [$(subdir) = math]
15425 (CFLAGS-k_standard.c): Remove variable.
15426
15427 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
15428 setting p and q from "else if" to "else".
15429 (qzero): Likewise.
15430 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
15431 (qone): Likewise.
15432 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
15433 (qzerof): Likewise.
15434 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
15435 (qonef): Likewise.
15436 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
15437 (qzero): Likewise.
15438 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
15439 (qone): Likewise.
15440
15441 [BZ #18038]
15442 [BZ #18039]
15443 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
15444 return pi/2 for arguments below 0x1p-113L.
15445 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
15446 return pi/2 for arguments below 0x1p-106L.
15447 * math/auto-libm-test-in: Add more tests of acos.
15448 * math/auto-libm-test-out: Regenerated.
15449
15450 [BZ #16351]
15451 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
15452 (MO): New macro.
15453 (__ieee754_asin): Force underflow exception for results with small
15454 absolute value.
15455 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
15456 (MO): New macro.
15457 (__ieee754_asinf): Force underflow exception for results with
15458 small absolute value.
15459 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
15460 (__ieee754_asin): Force underflow exception for results with small
15461 absolute value.
15462 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
15463 (__ieee754_asinf): Force underflow exception for results with
15464 small absolute value.
15465 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
15466 (__ieee754_asinl): Force underflow exception for results with
15467 small absolute value.
15468 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
15469 (__ieee754_asinl): Force underflow exception for results with
15470 small absolute value.
15471 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
15472 (__ieee754_asinl): Force underflow exception for results with
15473 small absolute value.
15474 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
15475 Include <math.h>.
15476 * math/auto-libm-test-in: Do not mark underflow exceptions as
15477 possibly missing for bug 16351.
15478 * math/auto-libm-test-out: Regenerated.
15479
15480 [BZ #18030]
15481 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
15482 of power of 2 down when low part has opposite sign.
15483 * math/libm-test.inc (logb_test_data): Add more tests.
15484
15485 2015-02-26 Andreas Schwab <schwab@suse.de>
15486
15487 [BZ #18032]
15488 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
15489 over collating symbol inside a bracket expression. Minor cleanup.
15490 * posix/tst-fnmatch3.c (do_test): Add test case.
15491
15492 2015-02-26 Joseph Myers <joseph@codesourcery.com>
15493
15494 [BZ #18029]
15495 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
15496 Adjust exponent of power of 2 down when low part has opposite
15497 sign.
15498 * math/libm-test.inc (ilogb_test_data): Add more tests.
15499
15500 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
15501
15502 [BZ #15969]
15503 * locale/findlocale.c (_nl_find_locale): Fix constness error in
15504 the previous change.
15505
15506 [BZ #15969]
15507 * locale/findlocale.c (_nl_find_locale): Retry archive search
15508 after alias expansion.
15509
15510 2015-02-25 Roland McGrath <roland@hack.frob.com>
15511
15512 * iconv/tst-iconv3.c (main): Converted to ...
15513 (do_test): ... this.
15514 (TEST_FUNCTION): New macro.
15515 Include test-skeleton.c.
15516
15517 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
15518 (convert): Make function static.
15519 (test_unalign): Likewise. Add const to argument pointee types.
15520 (main): Replace with static function do_test.
15521 Print "Succeeded." only if RET is zero.
15522 (TEST_FUNCTION): New macro.
15523 Include test-skeleton.c.
15524
15525 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
15526 returns a null pointer.
15527
15528 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15529
15530 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
15531 to __memcpy_ppc only for static builds.
15532
15533 2015-02-25 Joseph Myers <joseph@codesourcery.com>
15534
15535 [BZ #18020]
15536 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
15537 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
15538 * math/auto-libm-test-in: Add more tests of asinh.
15539 * math/auto-libm-test-out: Regenerated.
15540 * sysdeps/i386/fpu/libm-test-ulps: Update.
15541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15542
15543 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
15544
15545 [BZ #15850]
15546 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
15547 and ip6_mtuinfo definitions here.
15548 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
15549 in this define too. Update comment.
15550
15551 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
15552
15553 * elf/sprof.c (load_shobj): Tweak error message to match others.
15554
15555 2015-02-24 Kevin Easton <kevin@guarana.org>
15556
15557 [BZ #16145] (partial fix)
15558 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
15559 to reduce lock contention.
15560
15561 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
15562
15563 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
15564 (struct timex): Update time comment.
15565 (ADJ_SETOFFSET): Define.
15566
15567 2015-02-24 Joseph Myers <joseph@codesourcery.com>
15568
15569 [BZ #18019]
15570 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15571 2**56 not 2**28 as threshold for log (2x) formula.
15572 * math/auto-libm-test-in: Add more tests of acosh.
15573 * math/auto-libm-test-out: Regenerated.
15574 * sysdeps/i386/fpu/libm-test-ulps: Update.
15575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15576
15577 2015-02-24 Mike Frysinger <vapier@gentoo.org>
15578
15579 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
15580 parenthesis around the buf assignment.
15581 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
15582
15583 2015-02-24 Joseph Myers <joseph@codesourcery.com>
15584
15585 [BZ #16783]
15586 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
15587 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
15588 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
15589 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15590 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15591 * math/libm-test.inc (scalb_test_data): Add more tests.
15592
15593 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15594
15595 [BZ #17916]
15596 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
15597 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
15598
15599 2015-02-24 Eric Rannaud <e@nanocritical.com>
15600
15601 [BZ #17523]
15602 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
15603 * io/bits/fcntl2.h (open): Use it.
15604 (openat): Likewise.
15605 * io/open.c (__libc_open): Likewise.
15606 * io/open64.c (__libc_open64): Likewise.
15607 * io/open64_2.c (__open64_2): Likewise.
15608 * io/open_2.c (__open_2): Likewise.
15609 * io/openat.c (__openat): Likewise.
15610 * io/openat64.c (__openat64): Likewise.
15611 * io/openat64_2.c (__openat64_2): Likewise.
15612 * io/openat_2.c (__openat_2): Likewise.
15613 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
15614 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
15615 * sysdeps/posix/open64.c (__libc_open64): Likewise.
15616 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15617 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15618 (__open_nocancel): Likewise.
15619 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15620 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15621 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
15622
15623 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15624
15625 [BZ #14841]
15626 * resolv/gethnamaddr.c (getanswer): Skip logging if
15627 RES_USE_DNSSEC is set.
15628 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15629
15630 2015-02-24 Mike Frysinger <vapier@gentoo.org>
15631
15632 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
15633
15634 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
15635
15636 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
15637 201304L, for Unicode 7.
15638
15639 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
15640
15641 [BZ #17836]
15642 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
15643 shared library. Add gmon-start.os otherwise.
15644 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
15645 $(objpfx)gmon-start.os if builing shared library.
15646 ($(objpfx)g$(static-start-installed-name)): Likewise.
15647
15648 2015-02-23 Andreas Schwab <schwab@suse.de>
15649
15650 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
15651
15652 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
15653
15654 [BZ #17269]
15655 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
15656 (enlarge_userbuf): Likewise.
15657
15658 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
15659
15660 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
15661 * math/atest-exp.c (TIMEOUT): Adjust to 200.
15662 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
15663 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
15664
15665 2015-02-20 Joseph Myers <joseph@codesourcery.com>
15666
15667 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
15668 expression inside statement expression.
15669
15670 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15671
15672 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
15673 <sysdeps/nptl/lowlevellock.h> and remove macros and
15674 functions that are now defined there.
15675 (SYS_futex): Remove.
15676 (lll_compare_and_swap): Remove.
15677 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
15678
15679 2015-02-19 Joseph Myers <joseph@codesourcery.com>
15680
15681 [BZ #17999]
15682 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
15683 instead of scandirat.
15684 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
15685 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
15686 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
15687 __scandirat.
15688 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
15689 (__scandirat): Declare. Use libc_hidden_proto.
15690 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
15691 Remove variable.
15692 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
15693
15694 2015-02-18 Joseph Myers <joseph@codesourcery.com>
15695
15696 [BZ #15319]
15697 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
15698 (MO): New macro.
15699 (__ieee754_atan2): For results with small absolute value, force
15700 underflow exception and remove excess range and precision from
15701 return value.
15702 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
15703 (MO): New macro.
15704 (__ieee754_atan2f): For results with small absolute value, force
15705 underflow exception and remove excess range and precision from
15706 return value.
15707 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
15708 (MO): New macro.
15709 (__atan): For results with small absolute value, force underflow
15710 exception and remove excess range and precision from return value.
15711 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
15712 (MO): New macro.
15713 (__atanf): For results with small absolute value, force underflow
15714 exception and remove excess range and precision from return value.
15715 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
15716 <math.h>.
15717 (__ieee754_atan2): Force underflow exception for results with
15718 small absolute value.
15719 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
15720 <math_private.h>.
15721 (atan): Force underflow exception for results with small absolute
15722 value.
15723 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
15724 (__atanf): Force underflow exception for results with small
15725 absolute value.
15726 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
15727 <math.h>.
15728 (__atanl): Force underflow exception for results with small
15729 absolute value.
15730 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
15731 (__atanl): Force underflow exception for results with small
15732 absolute value.
15733 * sysdeps/x86/fpu/bits/mathinline.h
15734 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
15735 (__ieee754_atan2): Only define inline for long double.
15736 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
15737 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
15738 * math/auto-libm-test-in: Do not mark underflow exceptions as
15739 possibly missing for bug 15319. Add more tests of atan2.
15740 * math/auto-libm-test-out: Regenerated.
15741 * math/libm-test.inc (casin_test_data): Do not mark underflow
15742 exceptions as possibly missing for bug 15319.
15743 (casinh_test_data): Likewise.
15744 * sysdeps/i386/fpu/libm-test-ulps: Update.
15745
15746 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
15747
15748 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
15749 * sysdeps/mips/bits/endian.h: Fix comments.
15750
15751 2015-02-18 Joseph Myers <joseph@codesourcery.com>
15752
15753 [BZ #17996]
15754 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
15755 (hdestroy_r): Likewise.
15756 (hsearch_r): Likewise.
15757 (__hcreate_r): Declare and use libc_hidden_proto.
15758 (__hdestroy_r): Likewise.
15759 (__hsearch_r): Likewise.
15760 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
15761 (hcreate): Call __hcreate_r instead of hcreate_r.
15762 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
15763 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
15764 as weak alias of __hcreate_r.
15765 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
15766 __hdestroy_r.
15767 (hsearch_r): Rename to __hsearch_r and define as weak alias of
15768 __hsearch_r.
15769 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
15770 Remove variable.
15771 (test-xfail-XPG4/search.h/linknamespace): Likewise.
15772 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
15773 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
15774 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
15775
15776 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15777
15778 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
15779 arena_lock into a single arena_get.
15780
15781 2015-02-17 Carlos O'Donell <carlos@redhat.com>
15782
15783 * dl-reloc.c: Inlucde libc-internal.h.
15784 (_dl_try_allocate_static_tls): Call ALIGN_UP.
15785 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
15786 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
15787 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
15788 (grow_heap): Likewise.
15789 * malloc/malloc.c: Include libc-internal.h.
15790 (do_check_malloc): Call powerof2.
15791 (sysmalloc): Use pagesize. Call ALIGN_UP.
15792 (systrim): Use pagesize.
15793 (mremap_chunk): Use pagesize. Call ALIGN_UP.
15794 (__libc_valloc): Use pagesize.
15795 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
15796
15797 2015-02-17 Joseph Myers <joseph@codesourcery.com>
15798
15799 [BZ #17991]
15800 * include/sys/resource.h (__getrlimit64): Declare. Use
15801 libc_hidden_proto.
15802 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
15803 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
15804 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
15805 getrlimit64.
15806 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
15807 __getrlimit64.
15808 [!getrlimit64] (getrlimit64): Define as weak alias of
15809 __getrlimit64. Use libc_hidden_weak.
15810 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
15811 using __getrlimit64 not __new_getrlimit64.
15812 (__GI_getrlimit64): Likewise.
15813 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
15814 Likewise.
15815 (__GI_getrlimit64): Likewise.
15816 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
15817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
15818 (getrlimit): Add __getrlimit64 alias.
15819 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
15820 Likewise.
15821 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
15822 Remove variable.
15823 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
15824 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
15825
15826 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15827
15828 * libio/fileops.c: Add missing sys/mman.h
15829 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
15830
15831 2015-02-17 Joseph Myers <joseph@codesourcery.com>
15832
15833 * manual/math.texi (Errors in Math Functions): Clarify goals
15834 regarding inexact and underflow exceptions.
15835
15836 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
15837
15838 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
15839 * sysdeps/mips/memset.S: Ditto.
15840
15841 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
15842
15843 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
15844
15845 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
15846
15847 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
15848 (__v1longjmp): Remove versioned symbol.
15849 (__v1siglongjmp): Remove alias and versioned symbol.
15850 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
15851 (__v2siglongjmp): Likewise.
15852
15853 2015-02-16 Torvald Riegel <triegel@redhat.com>
15854
15855 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
15856
15857 2015-02-16 Mike Frysinger <vapier@gentoo.org>
15858
15859 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
15860
15861 2015-02-16 Joseph Myers <joseph@codesourcery.com>
15862
15863 [BZ #17987]
15864 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
15865 zero result does not depend on the sign resulting from
15866 subtraction.
15867 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15868 Likewise.
15869 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15870 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15871 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15872 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15873 * math/libm-test.inc (remquo_test_data): Add more tests.
15874
15875 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
15876
15877 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
15878 Problem reported by J William Piggott.
15879
15880 2015-02-16 Joseph Myers <joseph@codesourcery.com>
15881
15882 [BZ #17978]
15883 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
15884 products 4 * y and 2 * y where those would overflow.
15885 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15886 Likewise.
15887 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15888 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15889 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15890 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15891 * math/libm-test.inc (remquo_test_data): Add more tests.
15892
15893 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
15894
15895 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
15896 [defined _COMPILING_NEWLIB].
15897 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
15898 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
15899
15900 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
15901 [!defined __mips_isa_rev || __mips_isa_rev < 6].
15902
15903 2015-02-16 Torvald Riegel <triegel@redhat.com>
15904
15905 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
15906 acquired.
15907
15908 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
15909
15910 [BZ #17792]
15911 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
15912 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
15913 HOST_STACK_END_ADDR): Likewise.
15914
15915 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
15916
15917 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
15918 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
15919 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
15920
15921 2015-02-13 Roland McGrath <roland@hack.frob.com>
15922
15923 * sysdeps/generic/c++-types.data: New file.
15924 * sysdeps/generic/ld.abilist: New file.
15925 * sysdeps/generic/libBrokenLocale.abilist: New file.
15926 * sysdeps/generic/libanl.abilist: New file.
15927 * sysdeps/generic/libc.abilist: New file.
15928 * sysdeps/generic/libcrypt.abilist: New file.
15929 * sysdeps/generic/libdl.abilist: New file.
15930 * sysdeps/generic/libm.abilist: New file.
15931 * sysdeps/generic/libpthread.abilist: New file.
15932 * sysdeps/generic/libresolv.abilist: New file.
15933 * sysdeps/generic/librt.abilist: New file.
15934
15935 2015-02-13 Joseph Myers <joseph@codesourcery.com>
15936
15937 [BZ #17569]
15938 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15939 Compute absolute value of x as modified by fmod, not original
15940 value of x.
15941 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
15942 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
15943 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
15944 RUN_TEST_ffI_f1_mod8.
15945 (remquo_test_data): Add more tests.
15946
15947 2015-02-13 Roland McGrath <roland@hack.frob.com>
15948
15949 * sysdeps/init_array/pt-crti.S: New file.
15950
15951 2015-02-13 Joseph Myers <joseph@codesourcery.com>
15952
15953 [BZ #17967]
15954 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
15955 __builtin_fmaf instead of relying on contraction of a * b + c.
15956
15957 2015-02-12 J William Piggott <elseifthen@gmx.com>
15958
15959 [BZ #17969]
15960 * manual/time.texi: correct the zoneinfo path in the TZ Variable
15961 node.
15962
15963 2015-02-12 Joseph Myers <joseph@codesourcery.com>
15964
15965 [BZ #17964]
15966 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
15967 __builtin_fma instead of relying on contraction of a * b + c.
15968
15969 2015-02-12 Roland McGrath <roland@hack.frob.com>
15970
15971 * Makeconfig (ASFLAGS): Add -Werror=undef.
15972 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
15973 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
15974 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
15975
15976 * Makeconfig (after-link): New variable.
15977 (+link-pie, +link-pie-tests): Use it.
15978 (+link-static, +link-static-tests): Likewise.
15979 (+link, +link-tests): Likewise.
15980 * Makerules (build-module, build-module-asneeded): Likewise.
15981 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
15982 Likewise.
15983 * elf/Makefile ($(objpfx)ld.so): Likewise.
15984
15985 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
15986
15987 [BZ #17965]
15988 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
15989 both struct timeval and struct timespec.
15990
15991 2015-02-12 Joseph Myers <joseph@codesourcery.com>
15992
15993 [BZ #16560]
15994 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15995 and redefine.
15996 (__ieee754_exp2l): Do not multiply small fractional parts by
15997 M_LN2l.
15998 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
15999 small argument.
16000 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16001 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16002 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
16003 * math/auto-libm-test-in: Add more tests of exp2.
16004 * math/auto-libm-test-out: Regenerated.
16005
16006 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16007
16008 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
16009 unaligned path.
16010
16011 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16012
16013 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
16014 little endian.
16015
16016 2015-02-12 Andreas Schwab <schwab@suse.de>
16017
16018 [BZ #15790]
16019 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
16020 Filter out elision flags from value returned in kind.
16021 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
16022 * nptl/tst-pthread-mutexattr.c: New file.
16023
16024 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16025
16026 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
16027 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
16028 into gnu-gnu, and update comment to refer to abi-tags.
16029
16030 2015-02-11 Joseph Myers <joseph@codesourcery.com>
16031
16032 [BZ #15467]
16033 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
16034 (__sincos): Set errno to EDOM for infinite argument.
16035 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
16036 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
16037 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
16038 (__sincosl): Set errno to EDOM for infinite argument.
16039 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
16040 (__sincosl): Set errno to EDOM for infinite argument.
16041 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
16042 (__sincosl): Set errno to EDOM for infinite argument.
16043 * math/libm-test.inc (sincos_test_data): Test errno setting.
16044
16045 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
16046
16047 * string/strxfrm_l.c: Remove #define STRCMP.
16048 * string/strcoll_l.c: Remove #define STRLEN.
16049 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
16050 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
16051
16052 2015-02-10 Joseph Myers <joseph@codesourcery.com>
16053
16054 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
16055 * sysdeps/mips/mips32/sfp-machine.h: ... here.
16056 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
16057 * sysdeps/mips/mips64/Makefile: ... here.
16058 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
16059 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
16060 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
16061 * sysdeps/mips/mips64/sfp-machine.h: ... here.
16062 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
16063 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
16064 * sysdeps/mips/mips64/n64/Implies: Likewise.
16065
16066 2015-02-10 Roland McGrath <roland@hack.frob.com>
16067
16068 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
16069 <sys/time.h>, <string.h>, and <errno.h>.
16070 (dest_offset, dest_address, value, zero): Remove unused variables.
16071 (ldouble): Remove typedef.
16072 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
16073 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
16074 1). Fix code style.
16075 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
16076 (check): Function removed.
16077 (CHECK): New macro.
16078 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
16079 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
16080 Don't call set_sigaction_FP and remove_sigaction_FP here.
16081 (ldouble_test): Just use 'long double' as macro argument, no need for
16082 the 'ldouble' typedef.
16083 (do_test): Set up SIGFPE handler at start, using plain signal rather
16084 than sigaction. Fix code style.
16085
16086 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
16087
16088 [BZ #17949]
16089 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
16090 jump label.
16091
16092 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
16093
16094 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
16095 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16096
16097 * sysdeps/powerpc/configure.ac: Remove file.
16098 * sysdeps/powerpc/configure: Likewise.
16099
16100 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16101 [sysdep_routines]: Remove wordcopy-power6 object.
16102 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16103 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
16104 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
16105 (__memmove_ppc32): Likewise.
16106 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
16107 file.
16108 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
16109 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
16110 Remove preprocessor.
16111
16112 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16113 [sysdep_routines]: Remove wide chars objects.
16114 [wcsmbs]: New rule for wide char objects.
16115
16116 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16117 Remove wordcopy-power6 obejct.
16118 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
16119 Use local call for wordcopy and memcpy symbols.
16120 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
16121 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
16122 implementation for loader.
16123 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
16124
16125 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16126 Remove wordcopy-power7 object.
16127 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
16128 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
16129 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
16130 (_wordcopy_fwd_dest_aligned): Likewise.
16131 (_wordcopy_bwd_aligned): Likewise.
16132 (_wordcopy_bwd_dest_aligned): Likewise.
16133
16134 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
16135 Rewrite to call __memmove_ppc instead of include default
16136 implementation.
16137
16138 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16139 Remove wide chars objects.
16140 [wcsmbs]: New rule for wide char objects.
16141
16142 2015-02-09 Andreas Schwab <schwab@suse.de>
16143
16144 [BZ #17912]
16145 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16146 in terms of __O_DIRECTORY.
16147
16148 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
16149
16150 * time/getdate.c: Include <stdbool.h>.
16151 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
16152 call PTR_MANGLE.
16153 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
16154 PTR_DEMANGLE.
16155
16156 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
16157
16158 Add ersatz _Static_assert on older C hosts
16159 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
16160 pre-C11 C platform that is not known to support _Static_assert.
16161
16162 2015-02-07 Richard Braun <rbraun@sceen.net>
16163
16164 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
16165 sigstate.
16166 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
16167
16168 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
16169
16170 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
16171 priority against unexistent AIO_PRIO_DELTA_MAX.
16172 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
16173 instead of int.
16174 * misc/fchflags.c (fchflags): Likewise.
16175 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
16176 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
16177 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
16178 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
16179 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
16180 Declare macros.
16181 [__USE_MISC] (chflags, fchflags): Declare functions.
16182 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
16183 EINVAL when nfds is greater than FD_SETSIZE.
16184 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
16185 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
16186 45.
16187 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
16188 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
16189 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
16190 MACH_RCV_TIMED_OUT.
16191 * hurd/hurd/signal.h (_hurd_self_sigstate,
16192 _hurd_critical_section_lock, _hurd_critical_section_unlock):
16193 Explicit casts from void *.
16194 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
16195 * abi-tags: Rename gnu-gnu os into gnu.
16196
16197 [BZ #4719]
16198 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
16199 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
16200 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
16201 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
16202 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
16203 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
16204
16205 [BZ #17944]
16206 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
16207 duplicates ADDR->sun_path with sockaddr LEN limitation.
16208 * sysdeps/mach/hurd/connect.c: Include <string.h>
16209 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
16210 * sysdeps/mach/hurd/sendmsg.c: Likewise.
16211 * sysdeps/mach/hurd/sendto.c: Likewise.
16212 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
16213 implementing it by hand.
16214
16215 2015-02-06 Roland McGrath <roland@hack.frob.com>
16216
16217 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
16218 Use sfi_breg on ldr.
16219 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
16220 Likewise.
16221
16222 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
16223 it's defined.
16224 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
16225 Test SIGSETXID only if it's defined.
16226
16227 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
16228
16229 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
16230 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
16231
16232 * nptl/tst-align2.c: Moved ...
16233 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
16234 * nptl/Makefile (tests): Remove tst-align2.
16235 * sysdeps/unix/sysv/linux/Makefile
16236 [$(subdir) = nptl] (tests): Add tst-align-clone.
16237 * nptl/tst-getpid1.c: Moved ...
16238 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
16239 * nptl/tst-getpid2.c: Moved ...
16240 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
16241 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
16242 * sysdeps/unix/sysv/linux/Makefile
16243 [$(subdir) = nptl] (tests): ... here.
16244 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
16245 * sysdeps/unix/sysv/linux/Makefile
16246 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
16247
16248 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
16249 Drop trailing \n from perror argument. Use return rather than exit.
16250
16251 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
16252 on [SA_SIGINFO].
16253 * nptl/tst-cancel21.c (do_test): Likewise.
16254 * debug/tst-backtrace6.c: Include <signal.h> first thing.
16255 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
16256 [!SA_SIGINFO]: Make it a stub test.
16257
16258 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
16259 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
16260
16261 * posix/tst-getlogin.c: Move to ...
16262 * login/tst-getlogin.c: ... here.
16263 * posix/Makefile (tests): Move tst-getlogin to ...
16264 * login/Makefile (tests): ... here.
16265
16266 * libio/tst-atime.c (do_test): Move local variables SV and E
16267 inside [ST_NOATIME] conditional.
16268
16269 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
16270
16271 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
16272
16273 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
16274 (wait_code): New function replaces macro.
16275 Call nanosleep rather than syscall.
16276
16277 * nptl/pt-system.c: Rewritten. Put everything under
16278 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16279 Use IFUNC to redirect when possible.
16280
16281 * nptl/pt-longjmp.c: Rewritten. Put everything under
16282 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16283 Use IFUNC to redirect when possible.
16284
16285 * nptl/pt-fork.c: Rewritten. Put everything under
16286 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16287 Use IFUNC to redirect when possible.
16288 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
16289
16290 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
16291 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
16292 unconditionally nowadays. This included the only reference to
16293 __vdso_clock_gettime that appears outside libc proper.
16294 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
16295 Remove version set (containing only __vdso_clock_gettime).
16296 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16297 Add attribute_hidden.
16298 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16299 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
16300 libc_hidden_data_def.
16301 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16302 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16303
16304 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
16305 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
16306 setrpcent, and getrpcport to ...
16307 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
16308 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
16309 getrpcbynumber_r, and getrpcent_r to ...
16310 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
16311 * inet/getrpcbyname.c: Moved ...
16312 * sunrpc/getrpcbyname.c: ... here.
16313 * inet/getrpcbyname_r.c: Moved ...
16314 * sunrpc/getrpcbyname_r.c: ... here.
16315 * inet/getrpcbynumber.c: Moved ...
16316 * sunrpc/getrpcbynumber.c: ... here.
16317 * inet/getrpcbynumber_r.c: Moved ...
16318 * sunrpc/getrpcbynumber_r.c: ... here.
16319 * inet/getrpcent.c: Moved ...
16320 * sunrpc/getrpcent.c: ... here.
16321 * inet/getrpcent_r.c: Moved ...
16322 * sunrpc/getrpcent_r.c: ... here.
16323 * inet/Makefile (routines): Move those to ...
16324 * sunrpc/Makefile (routines): ... here.
16325 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
16326 the $(subdirs) list.
16327 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
16328 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
16329 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
16330 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
16331
16332 * elf/Makefile (routines): Include $(all-dl-routines), not just
16333 $(dl-routines).
16334 (rtld-routines): Likewise. Use = rather than :=.
16335 * sysdeps/aarch64/Makefile [$(subdir) = elf]
16336 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
16337 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
16338 * sysdeps/arm/Makefile: Likewise.
16339 * sysdeps/i386/Makefile: Likewise.
16340 * sysdeps/x86_64/Makefile: Likewise.
16341 * sysdeps/hppa/Makefile [$(subdir) = elf]
16342 (sysdep_routines, sysdep-rtld-routines): Don't add
16343 $(sysdep-dl-routines) to these.
16344 * sysdeps/ia64/Makefile: Likewise.
16345 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
16346 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
16347 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
16348 Don't add dl-static to these; sysdep-dl-routines alone is enough.
16349 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
16350 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
16351 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
16352 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
16353 * sysdeps/powerpc/Makefile [$(subdir) = elf]
16354 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
16355 these; sysdep-dl-routines alone is enough.
16356
16357 2015-02-06 Joseph Myers <joseph@codesourcery.com>
16358
16359 [BZ #17932]
16360 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
16361 where multiplication results in zero and third argument is finite
16362 and nonzero.
16363 * math/auto-libm-test-in: Add more tests of fma.
16364 * math/auto-libm-test-out: Regenerated.
16365
16366 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
16367 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
16368 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
16369 (_FP_CMP_EQ): Likewise.
16370 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
16371
16372 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
16373 extra argument CHECK_NAN. Redefine as wrapper around
16374 _FP_EXTEND_CNAN.
16375
16376 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
16377
16378 * version.h (RELEASE): Set to "stable".
16379 (VERSION): Set to "2.21"
16380 * include/features.h (__GLIBC_MINOR__): Set to 21.
16381
16382 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
16383
16384 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16385 Paul Eggert <eggert@cs.ucla.edu>
16386
16387 [BZ #16618]
16388 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
16389 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
16390 size in bytes. Store needed elements in wpmax. Use needed size
16391 in bytes for extend_alloca.
16392
16393 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
16394
16395 * manual/install.texi: Latest tested versions are GCC 4.9.2,
16396 binutls 2.25, and texinfo 5.2.
16397 * INSTALL: Regenerate.
16398 * sysdeps/nios2/configure: Regenerate.
16399 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
16400 * manual/contrib.texi: Update.
16401 * po/be.po: Update.
16402 * po/bg.po: Update.
16403 * po/ca.po: Update.
16404 * po/cs.po: Update.
16405 * po/da.po: Update.
16406 * po/de.po: Update.
16407 * po/el.po: Update.
16408 * po/eo.po: Update.
16409 * po/es.po: Update.
16410 * po/fi.po: Update.
16411 * po/fr.po: Update.
16412 * po/gl.po: Update.
16413 * po/hr.po: Update.
16414 * po/hu.po: Update.
16415 * po/ia.po: Update.
16416 * po/id.po: Update.
16417 * po/it.po: Update.
16418 * po/ja.po: Update.
16419 * po/ko.po: Update.
16420 * po/lt.po: Update.
16421 * po/nb.po: Update.
16422 * po/nl.po: Update.
16423 * po/pl.po: Update.
16424 * po/pt_BR.po: Update.
16425 * po/ru.po: Update.
16426 * po/rw.po: Update.
16427 * po/sk.po: Update.
16428 * po/sl.po: Update.
16429 * po/sv.po: Update.
16430 * po/tr.po: Update.
16431 * po/uk.po: Update.
16432 * po/vi.po: Update.
16433 * po/zh_CN.po: Update.
16434 * po/zh_TW.po: Update.
16435
16436 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
16437 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
16438 * sysdeps/hppa/dl-irel.h: Remove #warning.
16439 * sysdeps/hppa/entry.h: Provide prototype for
16440 __canonicalize_funcptr_for_compare and cast argument.
16441 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
16442 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
16443 * sysdeps/hppa/sotruss-lib.c: New file.
16444 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
16445 (atomic_compare_and_exchange_val_acq): Use __typeof__.
16446 (atomic_compare_and_exchange_bool_acq): Likewise.
16447 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
16448 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
16449
16450 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
16451 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
16452 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
16453
16454 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
16455
16456 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
16457 called function in non-PIC case.
16458
16459 2015-01-31 David S. Miller <davem@davemloft.net>
16460
16461 * sysdeps/sparc/sparc32/bits/atomic.h
16462 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
16463 unlock not after it.
16464 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
16465 volatile register usage warnings from the compiler.
16466
16467 * sysdeps/sparc/nptl/sem_init.c: Delete.
16468 * sysdeps/sparc/nptl/sem_post.c: Delete.
16469 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
16470 * sysdeps/sparc/nptl/sem_wait.c: Delete.
16471 * sysdeps/sparc/sparc32/sem_init.c: New file.
16472 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
16473 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
16474 padding explicitly initialized.
16475 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
16476 padding for in-semaphore spinlock.
16477 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
16478 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
16479 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
16480 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
16481 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
16482 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
16483 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
16484 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
16485 version.
16486 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
16487 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
16488
16489 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
16490
16491 [BZ #17801]
16492 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16493 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
16494 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
16495 New.
16496 (index_AVX_Fast_Unaligned_Load): Likewise.
16497 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
16498 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
16499 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
16500 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
16501 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
16502 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
16503 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
16504 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
16505 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
16506
16507 2015-01-29 Andreas Schwab <schwab@suse.de>
16508
16509 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
16510
16511 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16512
16513 [BZ #17892]
16514 * nscd/nscd_stat.c (send_stats): Initialize DATA.
16515
16516 2015-01-28 Martin Sebor <msebor@redhat.com>
16517
16518 * math/README.libm-test: Clarify. Add "How to read the test output."
16519
16520 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
16521
16522 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
16523 Define to 0.
16524
16525 2015-01-28 Joseph Myers <joseph@codesourcery.com>
16526
16527 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
16528 (__HAVE_64B_ATOMICS): Define to 0.
16529
16530 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
16531
16532 [BZ #17885]
16533 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
16534 value to set as new flag.
16535
16536 [BZ #16576]
16537 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
16538 and use _ARCH_PPCSQ instead.
16539 (__ieee754_sqrt): Likewise.
16540 (__ieee754_sqrtf): Likewise.
16541 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
16542 _ARCH_PPCSQ is defined.
16543 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
16544 fsqrt instruction.
16545 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
16546 _ARCH_PPCSQ is defined.
16547 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
16548 fsqrts instruction.
16549 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
16550
16551 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16552
16553 * iconv/loop.c: Suppress array out of bound warning caused by GCC
16554 bug (GCC BZ #64739).
16555
16556 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
16557
16558 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
16559 Mark _retval as used.
16560 (lll_futex_wake_unlock): Likewise.
16561 (lll_futex_timed_wait_requeue_pi): Likewise.
16562
16563 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
16564 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
16565 register variables.
16566
16567 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
16568 libm_hidden_def.
16569
16570 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
16571 (__bswap_64): Mark as __always_inline.
16572
16573 2015-01-25 Bram <bug_rh@spam.wizbit.be>
16574
16575 [BZ #15378]
16576 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
16577 when none of the search directories exist.
16578
16579 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
16580
16581 [BZ #17869]
16582 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
16583 power8 in .machine directive.
16584
16585 [BZ #17868]
16586 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
16587 set dependency from opd value.
16588
16589 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
16590
16591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16592 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
16593 architecture.
16594
16595 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
16596
16597 [BZ #17870]
16598 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
16599 with uint64_t.
16600 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
16601 (uint64_t) 1.
16602 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
16603 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
16604 Replace 1UL with (uint64_t) 1.
16605 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
16606 int with uint64_t.
16607
16608 2015-01-23 Roland McGrath <roland@hack.frob.com>
16609
16610 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
16611 (if_freenameindex): Likewise.
16612
16613 * resource/getrlimit64.c: Add missing libc_hidden_def.
16614
16615 2015-01-22 Joseph Myers <joseph@codesourcery.com>
16616
16617 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
16618 __label__.
16619 (_FP_FMA): Likewise.
16620 (_FP_TO_INT_ROUND): Likewise.
16621 (_FP_FROM_INT): Likewise.
16622
16623 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16624
16625 [BZ #16418]
16626 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
16627 Make code racy and cancel safe.
16628
16629 2015-01-21 Carlos O'Donell <carlos@redhat.com>
16630
16631 * sysdeps/arm/unwind-resume.h: Fix copyright year.
16632 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
16633 attribution.
16634
16635 * pwd/tst-getpw.c: Rewrite.
16636
16637 [BZ #17702]
16638 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
16639 (modules-names): Add moddummy1 and moddummy2.
16640 ($(objpfx)tst-rec-dlopen): Define.
16641 * dlfcn/moddummy1.c: New file.
16642 * dlfcn/moddummy2.c: New file.
16643 * dlfcn/tst-rec-dlopen.c: New file.
16644 * elf/dl-cache.c (_dl_load_cache_lookup):
16645 Return char*. Copy result with alloca/strcpy/strdup.
16646 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
16647 returns char*. Free cached. If not saving realname
16648 free cached.
16649 * elf/dl-open.c (dl_open_worker): Do not assert that
16650 _r_debug->r_state is RT_CONSISTENT.
16651 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
16652 returns char*.
16653
16654 2015-01-21 Torvald Riegel <triegel@redhat.com>
16655 Carlos O'Donell <carlos@redhat.com>
16656
16657 [BZ #12674]
16658 * nptl/sem_waitcommon.c: New file.
16659 * nptl/sem_wait.c: Include sem_waitcommon.c.
16660 (__sem_wait_cleanup, do_futex_wait): Remove.
16661 (__new_sem_wait): Adapt.
16662 (__new_sem_trywait): New function.
16663 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
16664 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
16665 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
16666 (sem_timedwait): Adapt.
16667 * nptl/sem_post.c (__new_sem_post): Adapt.
16668 (futex_wake): New function.
16669 (__old_sem_post): Add release MO fence.
16670 * nptl/sem_open.c (sem_open): Adapt.
16671 * nptl/sem_init.c (__new_sem_init): Adapt.
16672 (futex_private_if_supported): New function.
16673 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
16674 (__old_sem_getvalue): Add using previous code.
16675 * sysdeps/nptl/internaltypes.h: Adapt.
16676 * nptl/tst-sem13.c (do_test): Adapt.
16677 * nptl/tst-sem11.c (main): Adapt.
16678 * nptl/sem_trywait.c: Remove.
16679 * nptl/DESIGN-sem.txt: Remove.
16680 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
16681 (gen-as-const-headers): Remove structsem.sym.
16682 * nptl/structsem.sym: Remove.
16683 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
16684 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
16685 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
16686 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
16687 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
16688 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
16689 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
16690 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
16691 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
16692 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
16693 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
16694 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
16695 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
16696 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
16697 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
16698 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
16699 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
16700 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
16701 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
16702 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
16703 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
16704 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
16705
16706 2015-01-20 Carlos O'Donell <carlos@redhat.com>
16707
16708 * INSTALL: Regenerated.
16709
16710 * po/libc.pot: Regenerated.
16711
16712 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
16713 Sandra Loosemore <sandra@codesourcery.com>
16714 Andrew Jenner <andrew@codesourcery.com>
16715 Joseph Myers <joseph@codesourcery.com>
16716 Nathan Sidwell <nathan@codesourcery.com>
16717
16718 * NEWS: Mention new Nios II port.
16719 * sysdeps/nios2/Implies: New file.
16720 * sysdeps/nios2/Makefile: New file.
16721 * sysdeps/nios2/Subdirs: New file.
16722 * sysdeps/nios2/Versions: New file.
16723 * sysdeps/nios2/__longjmp.S: New file.
16724 * sysdeps/nios2/abort-instr.h: New file.
16725 * sysdeps/nios2/backtrace.c: New file.
16726 * sysdeps/nios2/bits/endian.h: New file.
16727 * sysdeps/nios2/bits/fenv.h: New file.
16728 * sysdeps/nios2/bits/link.h: New file.
16729 * sysdeps/nios2/bits/setjmp.h: New file.
16730 * sysdeps/nios2/bsd-_setjmp.S: New file.
16731 * sysdeps/nios2/bsd-setjmp.S: New file.
16732 * sysdeps/nios2/configure: New generated file.
16733 * sysdeps/nios2/configure.ac: New file.
16734 * sysdeps/nios2/crti.S: New file.
16735 * sysdeps/nios2/crtn.S: New file.
16736 * sysdeps/nios2/dl-init.c: New file.
16737 * sysdeps/nios2/dl-machine.h: New file.
16738 * sysdeps/nios2/dl-sysdep.h: New file.
16739 * sysdeps/nios2/dl-tls.h: New file.
16740 * sysdeps/nios2/dl-trampoline.S: New file.
16741 * sysdeps/nios2/gccframe.h: New file.
16742 * sysdeps/nios2/gmp-mparam.h: New file.
16743 * sysdeps/nios2/jmpbuf-offsets.h: New file.
16744 * sysdeps/nios2/jmpbuf-unwind.h: New file.
16745 * sysdeps/nios2/ldsodefs.h: New file.
16746 * sysdeps/nios2/libc-tls.c: New file.
16747 * sysdeps/nios2/libm-test-ulps: New file.
16748 * sysdeps/nios2/machine-gmon.h: New file.
16749 * sysdeps/nios2/math-tests.h: New file.
16750 * sysdeps/nios2/math_private.h: New file.
16751 * sysdeps/nios2/memusage.h: New file.
16752 * sysdeps/nios2/nptl/Makefile: New file.
16753 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
16754 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
16755 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
16756 * sysdeps/nios2/nptl/pthreaddef.h: New file.
16757 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
16758 * sysdeps/nios2/nptl/tls.h: New file.
16759 * sysdeps/nios2/preconfigure: New file.
16760 * sysdeps/nios2/s_fma.c: New file.
16761 * sysdeps/nios2/s_fmaf.c: New file.
16762 * sysdeps/nios2/setjmp.S: New file.
16763 * sysdeps/nios2/sfp-machine.h: New file.
16764 * sysdeps/nios2/sotruss-lib.c: New file.
16765 * sysdeps/nios2/stackguard-macros.h: New file.
16766 * sysdeps/nios2/stackinfo.h: New file.
16767 * sysdeps/nios2/start.S: New file.
16768 * sysdeps/nios2/sysdep.h: New file.
16769 * sysdeps/nios2/tls-macros.h: New file.
16770 * sysdeps/nios2/tst-audit.h: New file.
16771 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
16772 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
16773 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
16774 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
16775 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
16776 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
16777 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
16778 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
16779 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
16780 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
16781 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
16782 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
16783 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
16784 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
16785 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
16786 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
16787 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
16788 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
16789 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
16790 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
16791 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
16792 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
16793 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
16794 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
16795 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
16796 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
16797 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
16798 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
16799 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
16800 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
16801 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
16802 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
16803 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
16804 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
16805 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
16806 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
16807 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
16808 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
16809 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
16810 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
16811 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
16812 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
16813 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
16814 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
16815
16816 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16817
16818 [BZ #17844]
16819 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
16820 (getutent): Use weak_alias in non SHARED case
16821 and default_symbol_version in SHARED case.
16822 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
16823 (getutent_r, pututline): Likewise.
16824 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
16825 (getutid): Likewise.
16826 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
16827 (getutid_r): Likewise.
16828 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
16829 (getutline): Likewise.
16830 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
16831 (getutline_r): Likewise.
16832 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
16833 (updwtmp): Likewise.
16834
16835 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16836
16837 [BZ #17848]
16838 * sysdeps/s390/s390-32/memcmp.S
16839 (memcmp_g5): Rename to __memcmp_g5.
16840 * sysdeps/s390/s390-32/memcpy.S
16841 (memcpy_g5): Rename to __memcpy_g5.
16842 Jump to __memcpy_mvcle instead of memcpy_mvcle.
16843 (memcpy_mvcle) Rename to __memcpy_mvcle.
16844 * sysdeps/s390/s390-32/memset.S
16845 (memset_g5): Rename to __memset_g5.
16846 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16847 (IFUNC_RESOLVE): Prefix ifunc-resolve function
16848 and use prefixed functions.
16849 * sysdeps/s390/s390-32/multiarch/memcmp.S
16850 (memcmp_z196): Rename to __memcmp_z196.
16851 (memcmp_z10): Rename to __memcmp_z10.
16852 (memcmp): Set alias to __memcmp_g5.
16853 (bcmp): Set alias to __memcmp_g5.
16854 * sysdeps/s390/s390-32/multiarch/memcpy.S
16855 (memcpy_z196): Rename to __memcpy_z196.
16856 Jump to __memcpy_mvcle instead of memcpy_mvcle.
16857 (memcpy_z10): Rename to __memcpy_z10.
16858 Jump to __memcpy_mvcle instead of memcpy_mvcle.
16859 (memcpy): Set alias to __memcpy_g5.
16860 * sysdeps/s390/s390-32/multiarch/memset.S
16861 (memset_z196): Rename to __memset_z196.
16862 Jump to __memset_mvcle instead of memset_mvcle.
16863 (memset_z10): Rename to __memset_z10.
16864 Jump to __memset_mvcle instead of memset_mvcle.
16865 (memset_mvcle) Rename to __memset_mvcle.
16866 (memset): Set alias to __memset_g5.
16867 * sysdeps/s390/s390-64/memcmp.S
16868 (memcmp_z900): Rename to __memcmp_z900.
16869 * sysdeps/s390/s390-64/memcpy.S
16870 (memcpy_z900): Rename to __memcpy_z900.
16871 Jump to __memcpy_mvcle instead of memcpy_mvcle.
16872 (memcpy_mvcle) Rename to __memcpy_mvcle.
16873 * sysdeps/s390/s390-64/memset.S
16874 (memset_z900): Rename to __memset_z900.
16875 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
16876 (IFUNC_RESOLVE): Prefix ifunc-resolve function
16877 and use prefixed functions.
16878 * sysdeps/s390/s390-64/multiarch/memcmp.S
16879 (memcmp_z196): Rename to __memcmp_z196.
16880 (memcmp_z10): Rename to __memcmp_z10.
16881 (memcmp): Set alias to __memcmp_z900.
16882 (bcmp): Set alias to __memcmp_z900.
16883 * sysdeps/s390/s390-64/multiarch/memcpy.S
16884 (memcpy_z196): Rename to __memcpy_z196.
16885 Jump to __memcpy_mvcle instead of memcpy_mvcle.
16886 (memcpy_z10): Rename to __memcpy_z10.
16887 Jump to __memcpy_mvcle instead of memcpy_mvcle.
16888 (memcpy): Set alias to __memcpy_z900.
16889 * sysdeps/s390/s390-64/multiarch/memset.S
16890 (memset_z196): Rename to __memset_z196.
16891 Jump to __memset_mvcle instead of memset_mvcle.
16892 (memset_z10): Rename to __memset_z10.
16893 Jump to __memset_mvcle instead of memset_mvcle.
16894 (memset_mvcle) Rename to __memset_mvcle.
16895 (memset): Set alias to __memset_z900.
16896
16897 2015-01-14 Joseph Myers <joseph@codesourcery.com>
16898
16899 [BZ #17748]
16900 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
16901 __fesetenv instead of fesetenv.
16902
16903 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16904
16905 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
16906 macro.
16907
16908 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16909
16910 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
16911 regression on LE.
16912
16913 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
16914 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
16915 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16916 strncmp-power8 object.
16917 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16918 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
16919 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
16920 * NEWS: Update.
16921
16922 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16923 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16924
16925 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
16926 trailing byte check.
16927
16928 2015-01-13 David S. Miller <davem@davemloft.net>
16929
16930 * include/signal.h (__sigreturn): Guard with __USE_MISC.
16931
16932 2015-01-13 Roland McGrath <roland@hack.frob.com>
16933
16934 * login/logout.c (logout): Use memset rather than bzero.
16935 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
16936 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
16937 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
16938 (_gethtbyaddr): Likewise.
16939 * locale/programs/simple-hash.c (bcopy): Macro removed.
16940
16941 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16942
16943 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16944 Add strcmp-power8 object.
16945 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16946 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
16947 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
16948 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
16949 __strcmp_power8 implementation.
16950 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
16951 * NEWS: Update.
16952
16953 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16954 Add strncpy-power8 and stpncpy-power8 objects.
16955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16956 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
16957 implementations.
16958 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
16959 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
16960 __stpncpy_power8 implementation.
16961 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
16962 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
16963 __strncpy_power8 implementation.
16964 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
16965 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
16966 * NEWS: Update.
16967
16968 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
16969 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
16970 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
16971
16972 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16973 strncat-power8 object.
16974 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
16975 __strcat_power8 implementation.
16976 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16977 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
16978 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
16979 optimized strcat for power8.
16980
16981 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16982 strcpy-power8 and stpcpy-power8 objects.
16983 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16984 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
16985 implementations.
16986 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
16987 multiarch stpcpy implementation for POWER8.
16988 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
16989 multiarch strcpy implementation for POWER8.
16990 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
16991 __strcpy_power8 function.
16992 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
16993 stpcpy for POWER8.
16994 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
16995 strcpy for POWER8.
16996 * NEWS: Update.
16997
16998 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
16999
17000 [BZ #16009]
17001 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
17002 weights and rules. Use do_xfrm_cached if data fits in cache,
17003 do_xfrm otherwise. Moved former main loop to...
17004 * (do_xfrm_cached): New function.
17005 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
17006 find_idx, find_position and stack_push.
17007 * (find_idx): New function.
17008 * (find_position): Likewise.
17009 * localedata/sort-test.sh: Added test run for do_xfrm.
17010 * localedata/xfrm-test.c (main): Added command line option
17011 -nocache to run the test with strings that are too large for
17012 the STRXFRM cache.
17013
17014 2015-01-13 Torvald Riegel <triegel@redhat.com>
17015
17016 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
17017 variable to lll_futex_wake call, not the value itself.
17018
17019 2015-01-12 Joseph Myers <joseph@codesourcery.com>
17020
17021 [BZ #17803]
17022 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
17023 twom64. Adjust value to 0x1p-64L.
17024 (__scalblnl): Only return standard underflowing result for K <=
17025 -64 not K <= -63; adjust exponent for underflowing result by 64
17026 not 63.
17027 * math/libm-test.inc (scalbn_test_data): Add more tests.
17028 (scalbln_test_data): Likewise.
17029
17030 [BZ #17834]
17031 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
17032 0x1p63L.
17033 (__scalblnl): Get new exponent of adjusted subnormal value from ES
17034 not HX.
17035 * math/libm-test.inc (scalbn_test_data): Add more tests.
17036 (scalbln_test_data): Likewise.
17037
17038 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17039 Stefani Seibold <stefani@seibold.net>
17040
17041 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
17042 (sysdep_routines): Add dl-vdso here, ...
17043 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
17044 (sysdep_routines): ... not here.
17045 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
17046 fallback when vDSO is not presented.
17047 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17048 Define with libc_hidden_proto/libc_hidden_data_def definitions.
17049 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
17050 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
17051 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
17052 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
17053 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
17054 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
17055 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
17056 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
17057 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
17058 fallback configurable symbol when vDSO is not available.
17059 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
17060 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
17061 be able to redefine fallback symbol when vDSO is not available.
17062 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
17063 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
17064
17065 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17066
17067 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
17068 (TLS_INIT_TP): Add tm_capable initialization.
17069 (TLS_DEFINE_INIT_TP): Likewise.
17070 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
17071 TCB.
17072 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
17073 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
17074 calculation.
17075 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
17076 transactoion is lock elision is built and TCB tm_capable is set.
17077 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
17078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17079 (INTERNAL_SYSCALL_NCS): Likewise.
17080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17081 (INTERNAL_SYSCALL_NCS): Likewise.
17082 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
17083
17084 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
17085 for powerpc.
17086 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17087 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
17088 and remove it for 32 bits case.
17089 [pthread_rwlock_t] (__rwelision): New field for lock elision.
17090 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
17091 initialization.
17092 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
17093 Disable lock elision with rdlocks if elision is not available.
17094
17095 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
17096 (sysdep_routines): Add lock elision objects.
17097 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17098 [pthread_mutex_t] (__spins): Rework to add lock elision field.
17099 [pthread_mutex_t] (__elision): Add field.
17100 [__PTHREAD_SPINS]: Adjust to init lock elision field.
17101 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
17102 elision definitions for powerpc.
17103 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
17104 implementation of lock elision for powerpc.
17105 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
17106 implementation of timed lock elision for powerpc.
17107 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
17108 implementation of trylock with lock elision for powerpc.
17109 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
17110 implementaion of unlock for lock elision for powerpc.
17111 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
17112 automatic enable lock elision for mutexes.
17113 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
17114 transaction execution definitions for powerpc.
17115 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
17116 definitions.
17117 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
17118 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
17119 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
17120 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
17121 * NEWS: Update.
17122
17123 2015-01-09 Roland McGrath <roland@hack.frob.com>
17124
17125 * sysdeps/posix/shm-directory.c: Use <> rather than ""
17126 for #include of <shm-directory.h>.
17127
17128 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
17129
17130 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
17131 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
17132
17133 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
17134
17135 [BZ #17791]
17136 * NEWS: Mention bug fix.
17137 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
17138 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
17139 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
17140
17141 2015-01-09 Torvald Riegel <triegel@redhat.com>
17142
17143 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
17144
17145 2015-01-09 Torvald Riegel <triegel@redhat.com>
17146
17147 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
17148
17149 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
17150
17151 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
17152 pointer and cast to uintptr_t.
17153
17154 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
17155
17156 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
17157 removed.
17158 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
17159
17160 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
17161
17162 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
17163 of 0.
17164
17165 2015-01-08 Roland McGrath <roland@hack.frob.com>
17166
17167 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
17168 <nptl/pthreadP.h> instead.
17169 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
17170
17171 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
17172 already defined.
17173 [__SIGRTMIN] (init): Function removed.
17174 [__SIGRTMIN] (initialized): Variable removed.
17175 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
17176 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
17177 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
17178 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
17179 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
17180 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
17181 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
17182 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
17183 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
17184 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
17185 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
17186 * sysdeps/nptl/allocrtsig.c: New file.
17187 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
17188 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
17189 * sysdeps/generic/testrtsig.h: File removed.
17190
17191 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
17192 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
17193
17194 * nptl/nptl-init.c (pthread_functions): Conditionalize
17195 .ptr__nptl_setxid initialization on [SIGSETXID].
17196
17197 * sysdeps/nptl/sys/procfs.h: New file.
17198 * nptl_db/Makefile (headers): Add it.
17199 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
17200
17201 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
17202 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
17203 * nptl/pthread_attr_setaffinity.c: Include it.
17204 * nptl/pthread_setattr_default_np.c: Likewise.
17205 * nptl/check-cpuset.h: New file.
17206
17207 2015-01-08 Richard Henderson <rth@redhat.com>
17208
17209 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
17210 (CFLAGS-tst-execstack-prog.c): Likewise.
17211 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
17212
17213 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
17214 Sandra Loosemore <sandra@codesourcery.com>
17215 Andrew Jenner <andrew@codesourcery.com>
17216 Joseph Myers <joseph@codesourcery.com>
17217 Nathan Sidwell <nathan@codesourcery.com>
17218
17219 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
17220 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
17221 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
17222 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
17223 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
17224 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
17225 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
17226 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
17227 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
17228 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
17229 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
17230 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
17231 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
17232 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
17233 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
17234 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
17235 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
17236
17237 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17238
17239 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
17240 timespec struct member in syscall macro.
17241 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
17242 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
17243 first timeval struct member in syscall macro.
17244 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
17245
17246 2015-01-07 Joseph Myers <joseph@codesourcery.com>
17247
17248 [BZ #17748]
17249 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
17250 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
17251 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
17252 __feupdateenv and define as weak alias of __feupdateenv. Use
17253 libm_hidden_weak.
17254 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
17255 libm_hidden_def.
17256 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
17257 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
17258 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
17259 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
17260 libm_hidden_def.
17261 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
17262 __feupdateenv and define as weak alias of __feupdateenv. Use
17263 libm_hidden_weak.
17264 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
17265 libm_hidden_def.
17266 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
17267 __feupdateenv and define as weak alias of __feupdateenv. Use
17268 libm_hidden_weak.
17269 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
17270 libm_hidden_def.
17271 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17272 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
17273 (__feupdateenv): Likewise.
17274 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
17275 __feupdateenv and define as weak alias of __feupdateenv. Use
17276 libm_hidden_weak.
17277 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17278 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
17279 libm_hidden_def.
17280 * sysdeps/tile/math_private.h (__feupdateenv): New inline
17281 function.
17282 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
17283 libm_hidden_def.
17284 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
17285 __feupdateenv instead of feupdateenv.
17286 (default_libc_feupdateenv_test): Likewise.
17287 (libc_feresetround_ctx): Likewise.
17288
17289 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17290
17291 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
17292 prototype.
17293
17294 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
17295
17296 * posix/regcomp.c (parse_bracket_exp): Initialize type to
17297 COLL_SYM in a couple of places to avoid uninitialized variable
17298 wanings on tilegx gcc 4.8.2.
17299
17300 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
17301
17302 * sysdeps/aarch64/strcpy.S: New file.
17303 * sysdeps/aarch64/stpcpy.S: New file.
17304 * NEWS: Updated.
17305
17306 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
17307
17308 * sysdeps/aarch64/strrchr.S: New file.
17309 * NEWS: Updated.
17310
17311 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
17312
17313 [BZ #17658]
17314 * stdlib/setenv.c: Fix memory leak when setting large,
17315 duplicate string.
17316
17317 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
17318
17319 [BZ #17273]
17320 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
17321 and tabs from buffer before parsing fstab entry.
17322 * misc/tst-mntent.c (main): Add test for mount entry with
17323 trailing spaces and tabs.
17324
17325 2015-01-06 Joseph Myers <joseph@codesourcery.com>
17326
17327 [BZ #17748]
17328 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
17329 * math/fesetround.c (fesetround): Rename to __fesetround and
17330 define as weak alias of __fesetround. Use libm_hidden_weak.
17331 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
17332 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
17333 * sysdeps/arm/fesetround.c (fesetround): Likewise.
17334 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
17335 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
17336 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
17337 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
17338 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
17339 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
17340 __fesetround_inline.
17341 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
17342 __fesetround_inline instead of __fesetround.
17343 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
17344 __fesetround and define as weak alias of __fesetround. Use
17345 libm_hidden_weak. Call __fesetround_inline instead of
17346 __fesetround.
17347 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
17348 __fesetround and define as weak alias of __fesetround. Use
17349 libm_hidden_weak.
17350 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
17351 Likewise.
17352 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
17353 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17354 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
17355 * sysdeps/tile/math_private.h (__fesetround): New inline function.
17356 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
17357 __fesetround and define as weak alias of __fesetround. Use
17358 libm_hidden_weak.
17359 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
17360 __fesetround instead of fesetround.
17361 (default_libc_feholdexcept_setround): Likewise.
17362 (libc_feholdsetround_ctx): Likewise.
17363 (libc_feholdsetround_noex_ctx): Likewise.
17364
17365 [BZ #17748]
17366 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
17367 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
17368 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
17369 and define as weak alias of __fesetenv. Use libm_hidden_weak.
17370 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17371 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
17372 define as weak alias of __fesetenv. Use libm_hidden_weak.
17373 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
17374 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17375 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17376 define as weak alias of __fesetenv. Use libm_hidden_weak.
17377 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17378 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17379 define as weak alias of __fesetenv. Use libm_hidden_weak.
17380 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
17381 libm_hidden_def.
17382 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
17383 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
17384 Likewise.
17385 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17386 define as weak alias of __fesetenv. Use libm_hidden_weak.
17387 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17388 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17389 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
17390 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
17391 and define as weak alias of __fesetenv. Use libm_hidden_weak.
17392 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
17393 __fesetenv instead of fesetenv.
17394 (libc_feresetround_noex_ctx): Likewise.
17395 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17396 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
17397 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
17398 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17399 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17400 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17401 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17402 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
17403 (__feupdateenv): Likewise.
17404 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17405 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17406 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17407 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
17408
17409 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
17410
17411 [BZ #17806]
17412 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
17413 addresses have been freed.
17414
17415 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
17416
17417 * resolv/res_init.c (__res_vinit): Improve comments about nserv
17418 and nservall.
17419
17420 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
17421
17422 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
17423 Clean up check_pf allocation pattern. addresses
17424
17425 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17426
17427 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
17428 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
17429 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
17430 * nptl/pthread_exit.c (__pthread_exit): Likewise.
17431 * nptl/pthread_join.c (pthread_join): Likewise.
17432 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17433 * sysdeps/posix/waitid.c (__waitid): Likewise.
17434 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17435 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17436 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17437 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17438 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17439 Likewise.
17440 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17441 (__libc_pread64): Likewise.
17442 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17443 (__libc_pwrite): Likewise.
17444 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17445 (__libc_pwrite64): Likewsie.
17446 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17447 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17448 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17449 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17450 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17451 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17452 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17454 Likewise.
17455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17456 (__libc_pread64): Likewise.
17457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
17458 Likewise.
17459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17460 (__libc_pwrite64): Likewise.
17461 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17462 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17463 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
17464 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
17465 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17466 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17467 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
17468 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17469 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17470 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17471 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
17472 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17473 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17474 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
17475 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17476 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17477 Likewise.
17478
17479 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
17480
17481 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
17482 (CFLAGS-test-double.c): Likewise.
17483 (CFLAGS-test-ldouble.c): Likewise.
17484 (CPPFLAGS-test-ifloat.c): Likewise.
17485 (CPPFLAGS-test-idouble.c): Likewise.
17486 (CPPFLAGS-test-ildoubl.c): Likewise.
17487 (CFLAGS-test-test-fenv.c): Remove variable.
17488 (CFLAGS-test-misc.c): Likewise.
17489
17490 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
17491
17492 [BZ #17797]
17493 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
17494 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
17495 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
17496 CLOCKS_PER_SEC == 1000000.
17497 * time/clocktest.c (main): Replace %ld with %jd and cast to
17498 intmax_t.
17499
17500 2015-01-05 Roland McGrath <roland@hack.frob.com>
17501
17502 * sysdeps/generic/unwind-resume.h: New file.
17503 * sysdeps/gnu/unwind-resume.c: Include it.
17504 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
17505 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
17506 argument list.
17507 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
17508 global rather than static.
17509 (_Unwind_Resume): Update user.
17510 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
17511 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
17512 rather than static. Add __attribute__ ((cold)).
17513 (_Unwind_Resume, __gcc_personality_v0): Update callers.
17514 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
17515 * sysdeps/arm/arm-unwind-resume.S: New file.
17516 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
17517 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
17518 * sysdeps/arm/Makefile [$(subdir) = csu]
17519 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
17520 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17521 Add rt-arm-unwind-resume.
17522 [$(subdir) = nptl]
17523 (libpthread-sysdep_routines, libpthread-shared-only-routines):
17524 Add pt-arm-unwind-resume.
17525 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
17526 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
17527
17528 2015-01-05 Joseph Myers <joseph@codesourcery.com>
17529
17530 [BZ #17748]
17531 * include/fenv.h (__feholdexcept): Declare. Use
17532 libm_hidden_proto.
17533 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
17534 define as weak alias of __feholdexcept. Use libm_hidden_weak.
17535 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17536 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
17537 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
17538 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
17539 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
17540 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17541 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
17542 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
17543 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17544 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
17545 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
17546 (feholdexcept): Likewise.
17547 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17548 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17549 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17550 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17551 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
17552 __feholdexcept instead of feholdexcept.
17553 (default_libc_feholdexcept_setround): Likewise.
17554
17555 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
17556
17557 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
17558 to avoid using stl/str to align destination.
17559
17560 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
17561
17562 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
17563
17564 2015-01-05 Joseph Myers <joseph@codesourcery.com>
17565
17566 [BZ #17796]
17567 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
17568 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
17569 Define as weak alias not strong alias.
17570
17571 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
17572
17573 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
17574 bltzal with addiupc.
17575 (RTLD_START): Ditto.
17576
17577 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
17578
17579 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
17580 for __vdso_* functions in declarations.
17581 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
17582 definitions.
17583 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
17584 INTERNAL_VSYSCALL): Use struct return types to check for error.
17585
17586 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
17587 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
17588 function with cast from llround().
17589 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
17590 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
17591 Define.
17592
17593 2015-01-05 Joseph Myers <joseph@codesourcery.com>
17594
17595 [BZ #17793]
17596 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
17597 Define as weak alias not strong alias.
17598
17599 [BZ #17635]
17600 * ctype/ctype-c99.c: New file. isblank implementation moved from
17601 ...
17602 * ctype/ctype-extn.c: ... here.
17603 (__isblank_l): Move to ...
17604 * ctype/ctype-c99_l.c: ... here. New file.
17605 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
17606 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
17607 Remove variable.
17608 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
17609 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
17610 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
17611 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
17612 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
17613
17614 [BZ #17777]
17615 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
17616 (posix_fadvise64): Define as weak alias not strong alias.
17617 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17618 (posix_fallocate64): Likewise.
17619 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
17620 Remove variable.
17621 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
17622 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
17623 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
17624 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
17625 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
17626
17627 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
17628
17629 [BZ #16191]
17630 * NEWS: Mention bug fix.
17631 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
17632 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
17633 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
17634 (HOST_STACK_END_ADDR): Likewise.
17635
17636 2015-01-02 Joseph Myers <joseph@codesourcery.com>
17637
17638 [BZ #17748]
17639 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
17640 * math/fegetround.c (fegetround): Rename to __fegetround and
17641 define as weak alias of __fegetround. Use libm_hidden_weak.
17642 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
17643 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
17644 * sysdeps/arm/fegetround.c (fegetround): Likewise.
17645 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
17646 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17647 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
17648 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
17649 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
17650 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17651 Undefine after rather than before function definition; use
17652 parentheses around function name in definition.
17653 (__fegetround): Also undefine macro after function definition.
17654 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
17655 __fegetround and define as weak alias of __fegetround. Use
17656 libm_hidden_weak. Do not undefine as macro.
17657 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17658 Likewise.
17659 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
17660 __fegetround and define as weak alias of __fegetround. Use
17661 libm_hidden_weak.
17662 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17663 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17664 * sysdeps/tile/math_private.h (__fegetround): New inline function.
17665 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
17666 __fegetround and define as weak alias of __fegetround. Use
17667 libm_hidden_weak.
17668 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
17669 __fegetround instead of fegetround.
17670
17671 [BZ #17782]
17672 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
17673 Condition macro definition on [__USE_MISC].
17674
17675 [BZ #17781]
17676 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
17677 (struct sigaction): Change type of sa_flags field to int.
17678
17679 [BZ #17780]
17680 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
17681 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
17682 __glibc_reserved0.
17683
17684 * nptl/version.c (banner): Use single year in copyright notice.
17685
17686 * NEWS: Update copyright dates.
17687 * catgets/gencat.c (print_version): Likewise.
17688 * csu/version.c (banner): Likewise.
17689 * debug/catchsegv.sh: Likewise.
17690 * debug/pcprofiledump.c (print_version): Likewise.
17691 * debug/xtrace.sh (do_version): Likewise.
17692 * elf/ldconfig.c (print_version): Likewise.
17693 * elf/ldd.bash.in: Likewise.
17694 * elf/pldd.c (print_version): Likewise.
17695 * elf/sotruss.sh: Likewise.
17696 * elf/sprof.c (print_version): Likewise.
17697 * iconv/iconv_prog.c (print_version): Likewise.
17698 * iconv/iconvconfig.c (print_version): Likewise.
17699 * locale/programs/locale.c (print_version): Likewise.
17700 * locale/programs/localedef.c (print_version): Likewise.
17701 * login/programs/pt_chown.c (print_version): Likewise.
17702 * malloc/memusage.sh (do_version): Likewise.
17703 * malloc/memusagestat.c (print_version): Likewise.
17704 * malloc/mtrace.pl: Likewise.
17705 * manual/libc.texinfo: Likewise.
17706 * nptl/version.c (banner): Likewise.
17707 * nscd/nscd.c (print_version): Likewise.
17708 * nss/getent.c (print_version): Likewise.
17709 * nss/makedb.c (print_version): Likewise.
17710 * posix/getconf.c (main): Likewise.
17711 * scripts/test-installation.pl: Likewise.
17712 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17713
17714 2015-01-02 Will Newton <will.newton@linaro.org>
17715
17716 * sysdeps/arm/armv7/configure: Removed.
17717 * sysdeps/arm/armv7/configure.ac: Likewise.
17718
17719 2015-01-02 Joseph Myers <joseph@codesourcery.com>
17720
17721 * All files with FSF copyright notices: Update copyright dates
17722 using scripts/update-copyrights.
17723 * intl/plural.c: Regenerated.
17724 * locale/programs/charmap-kw.h: Likewise.
17725 * locale/programs/locfile-kw.h: Likewise.
17726
17727 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17728
17729 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
17730
17731 2014-12-31 Joseph Myers <joseph@codesourcery.com>
17732
17733 [BZ #17748]
17734 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
17735 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
17736 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17737 and define as weak alias of __fegetenv. Use libm_hidden_weak.
17738 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17739 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
17740 define as weak alias of __fegetenv. Use libm_hidden_weak.
17741 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
17742 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17743 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17744 define as weak alias of __fegetenv. Use libm_hidden_weak.
17745 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17746 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17747 define as weak alias of __fegetenv. Use libm_hidden_weak.
17748 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
17749 libm_hidden_def.
17750 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
17751 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
17752 Likewise.
17753 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17754 define as weak alias of __fegetenv. Use libm_hidden_weak.
17755 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17756 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17757 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
17758 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17759 and define as weak alias of __fegetenv. Use libm_hidden_weak.
17760 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
17761 __fegetenv instead of fegetenv.
17762 (libc_feholdsetround_noex_ctx): Likewise.
17763
17764 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
17765
17766 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
17767 (Elf_MIPS_ABIFlags_v0): New structure.
17768 (EF_MIPS_FP64): Define.
17769 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
17770 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
17771 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
17772 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
17773 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
17774 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
17775 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
17776 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
17777 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
17778 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
17779 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
17780 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
17781 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
17782 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
17783 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
17784 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
17785 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
17786 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
17787 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
17788 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
17789 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
17790 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
17791 field.
17792 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
17793 EF_MIPS_FP64.
17794 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
17795 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
17796 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
17797 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
17798 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
17799 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
17800 * sysdeps/mips/tst-abi-interlink.c: Likewise.
17801 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
17802 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
17803 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
17804 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
17805 record the current FP ABI extension.
17806 (mips-mode-switch): Define to show if kernel headers support mode
17807 switching.
17808 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17809 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
17810 supported SYSV ABI version to 3.
17811 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
17812 feature.
17813
17814 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17815 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17816
17817 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
17818 path.
17819 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
17820
17821 2014-12-31 Joseph Myers <joseph@codesourcery.com>
17822
17823 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
17824 __fegetround and redefine to call __fegetround. Remove condition
17825 on [!__NO_MATH_INLINES].
17826 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
17827 function.
17828 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
17829 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17830 Remove macro.
17831 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
17832 instead of <fenv_libc.h>.
17833 (__llrintl): Call fegetround instead of __fegetround.
17834 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
17835 instead of <fenv_libc.h>.
17836 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17837 (__lrintl): Call fegetround instead of __fegetround.
17838 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
17839 instead of <fenv_libc.h>.
17840 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17841 (__rintl): Call fegetround instead of __fegetround.
17842
17843 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17844
17845 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
17846 arrays.
17847
17848 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
17849
17850 [BZ #17775]
17851 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
17852 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
17853 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
17854
17855 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
17856
17857 * sysdeps/i386/tls-macros.h: Include <features.h>.
17858 (TLS_LE): Use non-PIC version for GCC >= 5.0.
17859 (TLS_IE): Likewise.
17860 (TLS_LD): Likewise.
17861 (TLS_GD): Likewise.
17862 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
17863 define for GCC >= 5.0.
17864
17865 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
17866
17867 * math/test-fenv.c (test_single_exception, set_single_exc,
17868 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
17869 feexcp_mask_test, feenable_test, fe_single_test): Add
17870 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
17871 case where they are not used.
17872 * math/libm-test.inc: Likewise.
17873 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
17874 unused in the absence of FP rounding/exception support.
17875 * stdio-common/tst-printf-round.c: Likewise.
17876 * stdlib/tst-strtod-round.c: Likewise.
17877 * stdlib/tst-strtod-underflow.c: Likewise.
17878
17879 2014-12-30 Joseph Myers <joseph@codesourcery.com>
17880
17881 [BZ #17723]
17882 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
17883 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
17884 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17885 __feraiseexcept and define as weak alias of __feraiseexcept. Use
17886 libm_hidden_weak.
17887 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
17888 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17889 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
17890 libm_hidden_def.
17891 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17892 __feraiseexcept and define as weak alias of __feraiseexcept. Use
17893 libm_hidden_weak.
17894 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
17895 Likewise.
17896 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
17897 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17898 __feraiseexcept and define as weak alias of __feraiseexcept. Use
17899 libm_hidden_weak.
17900 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17901 libm_hidden_def.
17902 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17903 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
17904 (__feraiseexcept): Likewise.
17905 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17906 __feraiseexcept and define as weak alias of __feraiseexcept. Use
17907 libm_hidden_weak.
17908 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17909 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17910 libm_hidden_def.
17911 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
17912 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
17913 Use libm_hidden_def.
17914 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
17915 libm_hidden_def.
17916 (feraiseexcept): Define as weak not strong alias. Use
17917 libm_hidden_weak.
17918 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
17919 New inline function. Factored out of ...
17920 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
17921 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
17922 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
17923 feraiseexcept.
17924 * math/w_acos.c (__acos): Likewise.
17925 * math/w_asin.c (__asin): Likewise.
17926 * math/w_ilogb.c (__ilogb): Likewise.
17927 * math/w_j0.c (y0): Likewise.
17928 * math/w_j1.c (y1): Likewise.
17929 * math/w_jn.c (yn): Likewise.
17930 * math/w_log.c (__log): Likewise.
17931 * math/w_log10.c (__log10): Likewise.
17932 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
17933 * sysdeps/aarch64/fpu/math_private.h
17934 (libc_feupdateenv_test_aarch64): Likewise.
17935 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17936 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
17937 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
17938 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17939 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17940 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17941 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
17942 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17943 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17944 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17945
17946 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
17947
17948 [BZ #17732]
17949 * io/test-utime.c (main): Replace %ld with %jd and cast to
17950 intmax_t.
17951 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
17952 * nptl/tst-mutex5.c: Include <stdint.h>.
17953 (do_test): Replace %ld with %jd and cast to intmax_t.
17954 * posix/tst-regex.c (run_test): Likewise.
17955 (run_test_backwards): Likewise.
17956 * rt/tst-clock.c: Include <stdint.h>.
17957 (clock_test): Replace %ld with %jd and cast to intmax_t.
17958 * rt/tst-cpuclock1.c: Include <stdint.h>.
17959 (do_test): Replace %lu with %ju and cast to uintmax_t.
17960 * rt/tst-cpuclock2.c: Include <stdint.h>.
17961 (do_test): Replace %lu with %ju and cast to uintmax_t.
17962 * rt/tst-mqueue1.c: Include <stdint.h>.
17963 (check_attrs): Replace %ld with %jd and cast to intmax_t.
17964 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
17965 intmax_t.
17966 * rt/tst-mqueue4.c (do_test): Likewise.
17967 * rt/tst-timer4.c: Include <stdint.h>.
17968 (check_ts): Replace %ld with %jd and cast to intmax_t.
17969 (do_test): Likewise.
17970 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
17971 and cast to intmax_t.
17972 * sysdeps/pthread/tst-timer.c (main): Likewise.
17973 * time/clocktest.c (main): Likewise.
17974 * time/tst-posixtz.c (do_test): Likewise.
17975 * timezone/tst-timezone.c (main): Likewise.
17976
17977 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
17978 H.J. Lu <hongjiu.lu@intel.com>
17979
17980 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
17981 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
17982 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
17983 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
17984 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
17985 version if bit_Fast_Unaligned_Load is set.
17986 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17987 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17988 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17989 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17990 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17991 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17992 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17993 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
17994 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
17995 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
17996 to 4.
17997 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
17998 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
17999 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
18000 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
18001
18002 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
18003
18004 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
18005 instead of #if to avoid a Wundef warning.
18006 * stdlib/tst-limits.c (do_test): Likewise.
18007
18008 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
18009 parallel other exception macros.
18010 (fegetenv): Convert from macro to extern inline so that it applies
18011 retroactively to inline functions already seen by the compiler.
18012 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
18013
18014 * posix/Makefile (before-compile): Use $(objpfx) for
18015 posix-conf-vars-def.h.
18016
18017 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18018
18019 * posix/getconf.c (main): Use size_t for type of I.
18020 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
18021 NSPEC.
18022
18023 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
18024 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
18025 * posix/posix-envs.def: Likewise.
18026 * sysdeps/posix/sysconf.c: Likewise.
18027 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
18028 (specs): Remove array.
18029 * scripts/gen-posix-conf-vars.awk: Support generation of specs
18030 array.
18031
18032 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
18033 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
18034 (__sysconf): Use CONF_IS_* macros.
18035
18036 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
18037 ($(objpfx)posix-conf-vars-def.h): New target.
18038 * posix/posix-conf-vars.list: New file.
18039 * posix/posix-conf-vars.h: New file.
18040 * posix/confstr.c: Include posix-conf-vars.h.
18041 (confstr): Use CONF_IS_* macros.
18042 * posix/posix-envs.def: Include posix-conf-vars.h. Use
18043 CONF_IS_* macros.
18044 * scripts/gen-posix-conf-vars.awk: New file.
18045
18046 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
18047
18048 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
18049 fegetround): Add no-op macros to avoid linknamespace issues.
18050
18051 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
18052 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
18053
18054 * sysdeps/unix/sysv/linux/tile/sysdep.h
18055 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
18056 assembly-specific section to avoid a redefinition warning.
18057
18058 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
18059 long before casting to pointer to avoid a cast warning.
18060
18061 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
18062
18063 * sysdeps/tile/tilegx/Implies: New file.
18064
18065 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
18066
18067 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
18068
18069 2014-12-23 Florian Weimer <fweimer@redhat.com>
18070
18071 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
18072
18073 2014-12-22 Joseph Myers <joseph@codesourcery.com>
18074
18075 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
18076 not define.
18077 * sysdeps/unix/sysv/linux/utimes.c: Do not include
18078 <kernel-features.h>.
18079 (__utimes) [__NR_utimes]: Make code unconditional.
18080 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
18081 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18082 (__ASSUME_UTIMES): Do not undefine.
18083 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18084 (__ASSUME_UTIMES): Likewise.
18085 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18086 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
18087 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
18088 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
18089
18090 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
18091
18092 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
18093
18094 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
18095
18096 [BZ #17747]
18097 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
18098 alias to weak alias for j0l, y0l.
18099 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
18100 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
18101
18102 [BZ #17746]
18103 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
18104 conversion.
18105
18106 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
18107
18108 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
18109 to zero if not already defined.
18110
18111 2014-12-22 Joseph Myers <joseph@codesourcery.com>
18112
18113 [BZ #17724]
18114 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
18115 (__kernel_standard_f): Remove. Moved to k_standardf.c.
18116 (__kernel_standard_l): Remove. Moved to k_standardl.c with
18117 (char *) casts added.
18118 * sysdeps/ieee754/k_standardf.c: New file.
18119 * sysdeps/ieee754/k_standardl.c: Likewise.
18120 * math/Makefile (libm-support): Remove k_standard.
18121 (libm-calls): Add k_standard.
18122
18123 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
18124
18125 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18126 Optimize to avoid an unnecessary FPCR read.
18127
18128 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
18129
18130 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18131 Optimize to reduce FPCR/FPSR accesses.
18132
18133 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
18134
18135 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
18136 Call libc_fetestexcept_aarch64.
18137
18138 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
18139
18140 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
18141 Call libc_fesetround_aarch64.
18142
18143 2014-12-22 Joseph Myers <joseph@codesourcery.com>
18144
18145 [BZ #17733]
18146 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
18147 (__bind): Do not define as weak alias.
18148 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
18149 define.
18150 (__getsockname): Do not define as weak alias.
18151
18152 2014-12-22 Will Newton <will.newton@linaro.org>
18153
18154 * manual/install.texi: Document that we require bison 2.7
18155 or above.
18156 * INSTALL: Regenerate.
18157 * configure.ac: Use AC_CHECK_PROG_VER instead of
18158 AC_PATH_PROG when checking for bison and check for
18159 version 2.7 or above.
18160 * configure: Regenerate.
18161
18162 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
18163
18164 [BZ #17745]
18165 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
18166 * sysdeps/tile/ffsll.c (ffsll): To here.
18167
18168 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
18169
18170 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
18171
18172 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
18173 if not defined.
18174 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
18175 definition.
18176 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18177 hidden ___tls_get_addr.
18178 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18179 hidden __tls_get_addr.
18180 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
18181 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
18182 Likewise.
18183
18184 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
18185
18186 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
18187 _dl_init call.
18188
18189 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
18190
18191 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
18192 from "call _dl_init@PLT".
18193 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
18194
18195 2014-12-21 Anders Kaseorg <andersk@mit.edu>
18196
18197 * manual/search.texi: (Array Sort Function): Clarify stable sorting
18198 guarantees.
18199
18200 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
18201
18202 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
18203
18204 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
18205
18206 [BZ #17744]
18207 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
18208 strnlen.
18209
18210 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
18211
18212 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
18213 of multu on MIPSr6.
18214 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
18215 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
18216 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
18217 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
18218 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
18219
18220 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
18221
18222 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
18223 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
18224 (PTR_SUBU): Use subu for mips32r6/mips64r6.
18225 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
18226 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
18227 mips32r6/mips64r6.
18228 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
18229
18230 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
18231
18232 * string/strncat.c (STRNCAT): Simplify implementation.
18233
18234 2014-12-19 David S. Miller <davem@davemloft.net>
18235
18236 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
18237 access the quad as both a long double and as a series of 4 words.
18238
18239 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
18240 link_map->l_info array access.
18241
18242 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
18243
18244 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
18245
18246 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
18247 * math/atest-exp2.c (TIMEOUT): Likewise.
18248 * math/atest-sincos.c (TIMEOUT): Likewise.
18249
18250 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
18251
18252 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
18253 -Wno-error with -fno-builtin-lround.
18254
18255 2014-12-19 Torvald Riegel <triegel@redhat.com>
18256
18257 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
18258 Contains futex constants and functions moved over from ...
18259 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
18260 <lowlevellock-futex.h>.
18261 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
18262 (lll_timedwait_tid): Add comments and parentheses around macro
18263 arguments.
18264
18265 2014-12-19 Torvald Riegel <triegel@redhat.com>
18266
18267 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
18268 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
18269 (__lll_private_flag): Remove.
18270 (lll_futex_wait): Likewise.
18271 (lll_futex_timed_wait): Likewise.
18272 (lll_futex_wake): Likewise.
18273 (lll_futex_requeue): Likewise.
18274 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
18275 (__lll_timedwait_tid): Spell out argument names.
18276 (lll_timedwait_tid): Add comments and parentheses around macro
18277 arguments.
18278 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
18279 LLL_SHARED and LLL_PRIVATE usable from assembly code.
18280
18281 2014-12-19 Torvald Riegel <triegel@redhat.com>
18282
18283 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
18284 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
18285 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18286 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
18287 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
18288 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
18289 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
18290 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
18291 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
18292 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
18293 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
18294 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
18295 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
18296 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
18297 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
18298 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
18299 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
18300 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
18301 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
18302
18303 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
18304
18305 * sysdeps/x86_64/x32/Makefile: New file.
18306
18307 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
18308
18309 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
18310 1L with (mp_limb_t) 1.
18311
18312 2014-12-17 Roland McGrath <roland@hack.frob.com>
18313
18314 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
18315 * nptl/libc_pthread_init.c: ... here.
18316 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
18317 * nptl/register-atfork.c: ... here.
18318
18319 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
18320 Use pthread_sigmask rather than INTERNAL_SYSCALL.
18321 Use assert_perror to check its return value.
18322 (__gai_create_helper_thread): Likewise.
18323
18324 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
18325
18326 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
18327
18328 2014-12-17 Joseph Myers <joseph@codesourcery.com>
18329
18330 [BZ #17725]
18331 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
18332 __profil_counter.
18333 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
18334 Likewise.
18335 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
18336 Likewise.
18337 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
18338 Likewise.
18339 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
18340 (profil_counter): Likewise.
18341 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
18342 (profil_counter): Likewise.
18343 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
18344 Likewise.
18345 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
18346 Likewise.
18347 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
18348 (profil_counter): Likewise.
18349 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
18350 Likewise.
18351 [!__profil_counter] (profil_counter): Define as weak alias of
18352 __profil_counter.
18353 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
18354 (profil_counter): Rename to __profil_counter.
18355 [!__profil_counter] (profil_counter): Define as weak alias of
18356 __profil_counter.
18357 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
18358 (profil_counter): Rename to __profil_counter.
18359 [!__profil_counter] (profil_counter): Define as weak alias of
18360 __profil_counter.
18361 * sysdeps/posix/profil.c: Update comment referring to
18362 profil_counter.
18363 (__profil): Use __profil_counter instead of profil_counter.
18364 * sysdeps/posix/sprofil.c (profil_counter): Rename to
18365 __profil_counter. Use __profil_counter_ushort and
18366 __profil_counter_uint in definitions.
18367 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
18368 instead of profil_counter_uint and profil_counter_ushort.
18369
18370 [BZ #17722]
18371 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
18372 define as weak alias of __inet_makeaddr.
18373 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
18374 as weak alias of __inet_addr.
18375 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
18376 as weak alias of __inet_pton. Use libc_hidden_weak.
18377 * include/arpa/inet.h (__inet_pton): Declare. Use
18378 libc_hidden_proto.
18379 (inet_makeaddr): Don't use libc_hidden_proto.
18380 (__inet_makeaddr): Declare. Use libc_hidden_proto.
18381 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
18382 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
18383 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
18384 Remove variable.
18385 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
18386 (test-xfail-POSIX/time.h/linknamespace): Likewise.
18387
18388 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
18389
18390 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
18391
18392 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
18393
18394 * stdio-common/bug-vfprintf-nargs.c (do_test):
18395 Cast value to intptr_t to avoid format warning
18396 for usage with PRIdPTR printing macro.
18397
18398 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
18399
18400 * libio/tst-widetext.c (do_test):
18401 Use format type %td instead of %Zd for ptrdiff_t
18402 in order to avoid format warning.
18403
18404 2014-12-17 Andreas Schwab <schwab@suse.de>
18405
18406 * nscd/mem.c (gc): Add size_t cast to match printf format.
18407
18408 2014-12-16 Roland McGrath <roland@hack.frob.com>
18409
18410 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
18411 (init): Apply PTR_MANGLE to pointers before storing them.
18412 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
18413 before using them.
18414
18415 2014-12-16 Joseph Myers <joseph@codesourcery.com>
18416
18417 [BZ #17719]
18418 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
18419 define as weak alias of __memrchr.
18420 (__memrchr): Do not define as strong alias of memrchr.
18421 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
18422 Remove variable.
18423 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
18424 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
18425 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
18426
18427 [BZ #17717]
18428 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
18429 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
18430 (if_indextoname): Rename to __if_indextoname and define as weak
18431 alias of __if_indextoname. Use libc_hidden_weak.
18432 (if_freenameindex): Rename to __if_freenameindex and define as
18433 weak alias of __if_freenameindex.
18434 (if_nameindex): Rename to __if_nameindex and define as weak alias
18435 of __if_nameindex.
18436 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
18437 __if_nametoindex and define as weak alias of __if_nametoindex.
18438 Use libc_hidden_weak.
18439 (if_freenameindex): Rename to __if_freenameindex and define as
18440 weak alias of __if_freenameindex.
18441 (if_nameindex): Rename to __if_nameindex and define as weak alias
18442 of __if_nameindex.
18443 (if_indextoname): Rename to __if_indextoname and define as weak
18444 alias of __if_indextoname. Use libc_hidden_weak.
18445 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
18446 __if_nametoindex and define as weak alias of __if_nametoindex.
18447 Use libc_hidden_weak.
18448 (if_freenameindex): Rename to __if_freenameindex and define as
18449 weak alias of __if_freenameindex. Use libc_hidden_weak.
18450 (if_nameindex_netlink): Use __if_freenameindex instead of
18451 if_freenameindex.
18452 (if_nameindex): Rename to __if_nameindex and define as weak alias
18453 of __if_nameindex. Use libc_hidden_weak.
18454 (if_indextoname): Rename to __if_indextoname and define as weak
18455 alias of __if_indextoname. Use libc_hidden_weak.
18456 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
18457 libc_hidden_proto.
18458 [!_ISOMAC] (__if_freenameindex): Likewise.
18459 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
18460 if_nametoindex.
18461 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
18462 variable.
18463 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
18464 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
18465 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
18466 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
18467 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
18468 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
18469 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
18470
18471 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
18472 Remove variable.
18473 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
18474 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
18475
18476 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18477
18478 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
18479 subscript above bounds'
18480
18481 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
18482 bounds.
18483
18484 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
18485
18486 * libio/tst-fopenloc.c: Use test-skeleton.c.
18487
18488 * stdlib/tst-bsearch.c: Use test-skeleton.c.
18489 (entry): Rename to ITEM.
18490 (do_test, comp): Adjust.
18491
18492 * stdio-common/tst-fseek.c: Use test-skeleton.c.
18493
18494 2014-12-16 Torvald Riegel <triegel@redhat.com>
18495
18496 * string/tester.c: Include <libc-internal.h>.
18497 (test_memset): Ignore -Wmemset-transposed-args.
18498
18499 2014-12-16 Torvald Riegel <triegel@redhat.com>
18500
18501 * misc/tst-mntent2.c (do_test): Fix warning.
18502
18503 2014-12-16 Torvald Riegel <triegel@redhat.com>
18504
18505 * elf/tst-unique4lib.cc(a): Mark as used.
18506
18507 2014-12-16 Florian Weimer <fweimer@redhat.com>
18508
18509 [BZ #17630]
18510 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
18511 names.
18512
18513 2014-12-16 Allan McRae <allan@archlinux.org>
18514
18515 * stdio-common/Makefile (tests): Re-add bug26.
18516
18517 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
18518
18519 [BZ #17657]
18520 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
18521 static array.
18522
18523 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
18524
18525 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
18526 (__lll_lock_wait): Likewise.
18527 (__lll_timedlock_wait): Likewise.
18528 (__lll_timedwait_tid): Likewise.
18529 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
18530 (__lll_robust_timedlock_wait): Likewise.
18531 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
18532 (lll_cond_trylock): Likewise.
18533 (__lll_lock): Likewise.
18534 (__lll_robust_lock): Likewise.
18535 (__lll_cond_lock): Likewise.
18536 (lll_robust_cond_lock): Likewise.
18537 (__lll_timedlock): Likewise.
18538 (__lll_robust_timedlock): Likewise.
18539 (__lll_unlock): Likewise.
18540 (__lll_robust_unlock): Likewise.
18541 (lll_wait_tid): Likewise.
18542 (lll_timedwait_tid): Likewise.
18543
18544 2014-12-15 Torvald Riegel <triegel@redhat.com>
18545
18546 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
18547
18548 2014-12-15 Torvald Riegel <triegel@redhat.com>
18549
18550 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
18551
18552 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
18553
18554 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
18555 * stdio-common/tst-sprintf.c: Likewise.
18556
18557 2014-12-15 Torvald Riegel <triegel@redhat.com>
18558
18559 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
18560
18561 2014-12-15 Jeff Law <law@redhat.com>
18562
18563 [BZ #16617]
18564 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
18565 on the heap. (CVE-2012-3406)
18566 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
18567 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
18568 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
18569
18570 2014-12-15 Will Newton <will.newton@linaro.org>
18571
18572 * manual/install.texi: Bump required version of texinfo
18573 to 4.7 from 4.5.
18574 * INSTALL: Regenerated.
18575 * configure.ac: Check for makeinfo version 4.7 and above.
18576 * configure: Regenerated.
18577
18578 2014-12-12 Roland McGrath <roland@hack.frob.com>
18579
18580 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
18581 PREFIX, string constant to insert between directory and name.
18582 * sysdeps/posix/shm_open.c: Update caller.
18583 * sysdeps/posix/shm_unlink.c: Likewise.
18584 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
18585 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
18586 (SEM_SHM_PREFIX): New macro.
18587 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
18588 [$(have-thread-library) = no].
18589 * nptl/Makefile (libpthread-routines): Add shm-directory.
18590 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
18591 * sysdeps/nptl/shm-directory.h: New file.
18592 * sysdeps/posix/shm-directory.c
18593 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
18594 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18595 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
18596 INTERNAL_SYSCALL.
18597 (__where_is_shmfs): Function removed.
18598 (mountpoint, defaultmount, defaultdir, __namedsem_once):
18599 Variables removed.
18600 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
18601 Use SHM_GET_NAME.
18602 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
18603
18604 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
18605 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
18606 unconditional for use inside libpthread.
18607 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
18608
18609 2014-12-12 Roland McGrath <roland@hack.frob.com>
18610
18611 * nptl/pthread_getaffinity.c: New file.
18612 * nptl/pthread_setaffinity.c: New file.
18613 * nptl/pthread_getname.c: New file.
18614 * nptl/pthread_setname.c: New file.
18615
18616 * nptl/pthread_create.c (START_THREAD_DEFN)
18617 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
18618
18619 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18620 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18621
18622 * resolv/res_send.c (send_vc): Disable warning resplen may
18623 be used uninitialized.
18624
18625 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18626
18627 * nptl/tst-mutex6.c
18628 (ATTR_NULL): New define checks ATTR against NULL.
18629 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
18630 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
18631
18632 2014-12-11 James Lemke <jwlemke@codesourcery.com>
18633
18634 [BZ #17581]
18635 * malloc/hooks.c
18636 (mem2mem_check): Revert my previous change.
18637 (malloc_check_get_size): Revert my previous change.
18638 (mem2chunk_check): Revert my previous change.
18639
18640 2014-12-11 Roland McGrath <roland@hack.frob.com>
18641
18642 * sysdeps/posix/shm-directory.c: New file.
18643 * sysdeps/posix/shm-directory.h: New file.
18644 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
18645 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
18646 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
18647 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
18648 Transmute EPERM to EACCES.
18649 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
18650 from ...
18651 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
18652 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
18653
18654 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18655
18656 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
18657 pointer and cast to uintptr_t.
18658 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
18659 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
18660 Add cast to avoid warning.
18661 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
18662
18663 2014-12-11 Joseph Myers <joseph@codesourcery.com>
18664
18665 * nptl/semaphore.h: Move to ...
18666 * sysdeps/pthread/semaphore.h: ... here.
18667 * Makefile (installed-headers): Change nptl/semaphore.h to
18668 sysdeps/pthread/semaphore.h.
18669
18670 2014-12-11 Roland McGrath <roland@hack.frob.com>
18671
18672 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
18673 generated error format strings.
18674
18675 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
18676 -Wformat-extra-args warnings for scanf formats.
18677 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
18678 test of zero-length format (duh).
18679 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
18680 corner-case scanf format test.
18681 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
18682 generated fprintf format string.
18683 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
18684 corner-case sprintf format tests.
18685 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
18686 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
18687 -Wformat-extra-args warnings throughout.
18688 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
18689 (CFLAGS-scanf4.c): Likewise.
18690 (CFLAGS-scanf7.c): Likewise.
18691 (CFLAGS-tst-sprintf.c): Likewise.
18692 (CFLAGS-tst-printf.c): Likewise.
18693 (CFLAGS-tst-printfsz.c): Likewise.
18694
18695 2014-12-11 Joseph Myers <joseph@codesourcery.com>
18696
18697 * include/cpio.h: New file.
18698 * include/fmtmsg.h: Likewise.
18699
18700 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
18701 corresponding format argument to size_t.
18702 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
18703 arguments.
18704 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
18705 corresponding format argument to size_t.
18706 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
18707 arguments.
18708 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
18709 corresponding format argument to size_t.
18710 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
18711 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
18712 (CFLAGS-tst-mbswcs2.c): Likewise.
18713 (CFLAGS-tst-mbswcs3.c): Likewise.
18714 (CFLAGS-tst-mbswcs4.c): Likewise.
18715 (CFLAGS-tst-mbswcs5.c): Likewise.
18716 (CFLAGS-tst-trans.c): Likewise.
18717
18718 2014-12-11 Roland McGrath <roland@hack.frob.com>
18719
18720 * posix/regexbug1.c (main): Use "%s" format with regerror results,
18721 rather than assuming they won't contain any '%'s.
18722
18723 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
18724
18725 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
18726 inhibit_loop_to_libcall to avoid recursive calls.
18727 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
18728 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
18729
18730 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
18731
18732 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
18733 prototype.
18734
18735 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
18736
18737 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
18738 integer value instead of boolean.
18739
18740 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
18741
18742 * malloc/malloc.c: Fix powerof2 check.
18743
18744 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18745
18746 * locale/programs/locfile.h (maybe_swap_uint32):
18747 Remove inline and add unused attribute.
18748
18749 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18750
18751 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18752 Truncating assembler expression to a .long expression.
18753
18754 2014-12-11 Andreas Schwab <schwab@suse.de>
18755
18756 * elf/rtld.c (struct map_args): Constify str member.
18757 (do_preload): Constify fname argument.
18758
18759 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18760
18761 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
18762 constants definition.
18763
18764 2014-12-11 Andreas Schwab <schwab@suse.de>
18765
18766 [BZ #16657]
18767 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
18768 FORCE_ELISION instead of DO_ELISION.
18769 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
18770 Remove.
18771 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
18772 Likewise.
18773
18774 * iconvdata/gconv-modules: Remove duplicate entry.
18775
18776 2014-12-11 Will Newton <will.newton@linaro.org>
18777
18778 Merge gettext 0.19.3 into intl/.
18779
18780 This involves a number of cosmetic changes to comments
18781 and ANSI function definitions and prototypes throughout
18782 all the files. The gettext copyright header is used but
18783 with the date ranges taken from the glibc copy.
18784
18785 * NEWS: Add gettext merge to 2.21.
18786 * intl/bindtextdom.c: Switch to gettext copyright.
18787 Use ANSI definitions and prototypes.
18788 Use gl_* locking primitives rather than __libc_* ones.
18789 Use __builtin_expect rather than __glibc_likely/unlikely.
18790 * intl/dcgettext.c: Switch to gettext copyright.
18791 Use ANSI definitions and prototypes.
18792 * intl/dcigettext.c: Switch to gettext copyright.
18793 Use ANSI definitions and prototypes.
18794 (INTDIV0_RAISES_SIGFPE): New define.
18795 Use gl_* locking primitives rather than __libc_* ones.
18796 Include eval-plural.h instead of plural-eval.c.
18797 Use __builtin_expect rather than __glibc_likely/unlikely.
18798 * intl/dcngettext.c: Switch to gettext copyright.
18799 Use ANSI definitions and prototypes.
18800 * intl/dgettext.c: Likewise.
18801 * intl/dngettext.c: Likewise.
18802 * intl/plural-eval.c: Renamed to...
18803 * intl/eval-plural.h: ...this.
18804 * intl/explodename.c: Switch to gettext copyright.
18805 Use ANSI definitions and prototypes.
18806 (_nl_explode_name): Use strchr instead of __rawmemchr.
18807 * intl/finddomain.c: Switch to gettext copyright.
18808 Use ANSI definitions and prototypes.
18809 Use gl_* locking primitives rather than __libc_* ones.
18810 (_nl_find_domain): Use malloc rather than alloca for
18811 allocation of temporary locale name.
18812 * intl/gettext.c: Switch to gettext copyright.
18813 Use ANSI definitions and prototypes.
18814 * intl/gettextP.h: Switch to gettext copyright.
18815 Use ANSI definitions and prototypes.
18816 Use gl_* locking primitives rather than __libc_* ones.
18817 * intl/gmo.h: Switch to gettext copyright.
18818 (struct sysdep_string): Move struct segment_pair outside of
18819 struct definition.
18820 * intl/hash-string.c: Use ANSI definitions and prototypes.
18821 * intl/hash-string.h: Switch to gettext copyright.
18822 Use ANSI definitions and prototypes.
18823 * intl/l10nflist.c: Switch to gettext copyright.
18824 Use ANSI definitions and prototypes.
18825 (_nl_normalize_codeset): Avoid integer overflow.
18826 * intl/loadinfo.h: Switch to gettext copyright.
18827 Use ANSI definitions and prototypes.
18828 (LIBINTL_DLL_EXPORTED): New define.
18829 (PATH_SEPARATOR): New define.
18830 * intl/loadmsgcat.c: Switch to gettext copyright.
18831 * intl/localealias.c: Switch to gettext copyright.
18832 Use ANSI definitions and prototypes.
18833 (_nl_expand_alias): Use PATH_SEPARATOR.
18834 * intl/ngettext.c: Switch to gettext copyright.
18835 Use ANSI definitions and prototypes.
18836 * intl/plural-exp.c: Likewise.
18837 * intl/plural-exp.h: Switch to gettext copyright.
18838 Use ANSI definitions and prototypes.
18839 (struct expression): Move definition of enum operator outside
18840 of struct definition.
18841 * intl/plural.c: Regenerate.
18842 * intl/plural.y: Switch to gettext copyright.
18843 Use ANSI definitions and prototypes.
18844 Port to bison 3.0.
18845 * intl/textdomain.c: Switch to gettext copyright.
18846 Use ANSI definitions and prototypes.
18847 Use gl_* locking primitives rather than __libc_* ones.
18848
18849 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
18850
18851 * debug/warning-nop.c: Add used atrribute.
18852
18853 2014-12-10 Joseph Myers <joseph@codesourcery.com>
18854
18855 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
18856
18857 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
18858 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
18859 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
18860
18861 2014-12-10 Joseph Myers <joseph@codesourcery.com>
18862 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18863
18864 [BZ #17634]
18865 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
18866 Undefine after defining function. Define as weak alias of
18867 __wcschr. Use libc_hidden_weak.
18868 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
18869 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
18870 (libc_hidden_def): Also define __GI___wcschr alias.
18871 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
18872 __wcschr and define as weak alias of __wcschr.
18873 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
18874 __wcschr.
18875 [!WCSCHR] (DEFAULT_WCSCHR): Define.
18876 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
18877 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
18878 libc_hidden_weak. Do not use libc_hidden_def.
18879 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
18880 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
18881 __GI___wcschr alias.
18882 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
18883 [IS_IN (libc)] (wcschr): Define as macro expanding to
18884 __redirect_wcschr.
18885 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
18886 [IS_IN (libc)] (__wcschr_power6): Likewise.
18887 [IS_IN (libc)] (__wcschr_power7): Likewise.
18888 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
18889 instead of wcschr.
18890 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
18891 __libc_wcschr.
18892 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
18893 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
18894 __wcschr and define as weak alias of __wcschr. Use
18895 libc_hidden_builtin_def.
18896 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
18897 as weak alias of __wcschr. Use libc_hidden_weak.
18898 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
18899 wcschr.
18900 * time/era.c (_nl_init_era_entries): Likewise.
18901 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
18902 variable.
18903 (test-xfail-XPG3/time.h/linknamespace): Likewise.
18904 (test-xfail-XPG4/time.h/linknamespace): Likewise.
18905
18906 2014-12-10 Joseph Myers <joseph@codesourcery.com>
18907
18908 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
18909 format for long int variable.
18910
18911 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
18912
18913 [BZ #10672]
18914 * manual/search.texi: (Array Sort Function): Remove claim how to make
18915 qsort stable.
18916
18917 2014-12-10 Andreas Schwab <schwab@suse.de>
18918
18919 [BZ #12847]
18920 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
18921 user-controlled locks.
18922
18923 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
18924
18925 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
18926 register.
18927
18928 2014-12-10 Joseph Myers <joseph@codesourcery.com>
18929
18930 * configure.ac (--disable-werror): New configure option.
18931 (enable_werror): New AC_SUBST.
18932 * configure: Regenerated.
18933 * config.make.in (enable-werror): New variable.
18934 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
18935 -Wno-error=undef.
18936 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
18937 * manual/install.texi (Configuring and compiling): Document
18938 --disable-werror.
18939 * INSTALL: Regenerated.
18940 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
18941 (CFLAGS-tst-chk2.c): Likewise.
18942 (CFLAGS-tst-chk3.c): Likewise.
18943 (CFLAGS-tst-chk4.cc): Likewise.
18944 (CFLAGS-tst-chk5.cc): Likewise.
18945 (CFLAGS-tst-chk6.cc): Likewise.
18946 (CFLAGS-tst-lfschk1.c): Likewise.
18947 (CFLAGS-tst-lfschk2.c): Likewise.
18948 (CFLAGS-tst-lfschk3.c): Likewise.
18949 (CFLAGS-tst-lfschk4.cc): Likewise.
18950 (CFLAGS-tst-lfschk5.cc): Likewise.
18951 (CFLAGS-tst-lfschk6.cc): Likewise.
18952
18953 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
18954 (main): Disable -Wdeprecated-declarations around calls to
18955 register_printf_function.
18956
18957 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
18958 (do_test): Disable -Wdiv-by-zero around some calls to
18959 fwrite_unlocked and fread_unlocked.
18960
18961 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
18962 (DIAG_POP_NEEDS_COMMENT): Likewise.
18963 (_DIAG_STR1): Likewise.
18964 (_DIAG_STR): Likewise.
18965 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
18966 * stdio-common/bug21.c: Include <libc-internal.h>.
18967 (do_test): Disable -Wformat around call to sscanf.
18968 * stdio-common/scanf14.c: Include <libc-internal.h>.
18969 (main): Disable -Wformat around some calls to scanf functions.
18970
18971 2014-12-09 Torvald Riegel <triegel@redhat.com>
18972
18973 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
18974
18975 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18976
18977 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
18978 stack variable alignment.
18979
18980 2014-12-06 Joseph Myers <joseph@codesourcery.com>
18981
18982 [BZ #17682]
18983 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
18984 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
18985 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
18986 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
18987 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
18988 __getrlimit instead of getrlimit.
18989 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
18990 __gettimeofday instead of gettimeofday.
18991 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18992 Likewise.
18993 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18994 Likewise.
18995 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18996 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
18997 Remove variable.
18998 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
18999 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19000
19001 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19002
19003 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
19004 for wide-character tests.
19005
19006 2014-12-04 Roland McGrath <roland@hack.frob.com>
19007
19008 * io/openat64.c: #include <libc-internal.h>
19009 (__openat64): Prototypify. Use ignore_value on MODE.
19010 * io/openat.c: Likewise.
19011 * misc/reboot.c: #include <libc-internal.h>
19012 (reboot): Prototypify. Use ignore_value on HOWTO.
19013 * misc/ptrace.c: #include <libc-internal.h>
19014 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
19015
19016 2014-12-04 Joseph Myers <joseph@codesourcery.com>
19017
19018 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
19019 XPG4, UNIX98 and XOPEN2K.
19020 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
19021 Remove variable.
19022 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19023
19024 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19025
19026 * libio/fileops.c: Use ISO C style for function definitions.
19027 * libio/iofopen.c: Likewise.
19028 * libio/wfileops.c: Likewise.
19029
19030 [BZ #17653]
19031 * libio/fileops.c (_IO_new_file_underflow): Unset cached
19032 offset on EOF.
19033 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19034 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
19035 (fgets_func): Function pointer to fgets and fgetws.
19036 (do_ftell_test): Add test to verify ftell value after read
19037 EOF.
19038 (do_test): Set fgets_func.
19039
19040 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
19041 O_TRUNC flag for w and w+ modes.
19042 (do_rewind_test): Likewise.
19043 (do_ftell_test): Likewise.
19044 (do_write_test): Likewise.
19045
19046 [BZ #17647]
19047 * libio/fileops.c (do_ftell): Seek only when there are
19048 unflushed writes.
19049 * libio/wfileops.c (do_ftell_wide): Likewise.
19050 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
19051 test case.
19052 (do_one_test): Call it.
19053
19054 2014-12-03 Joseph Myers <joseph@codesourcery.com>
19055
19056 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
19057 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
19058 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
19059 Remove variable.
19060 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19061 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19062 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19063
19064 2014-12-02 Joseph Myers <joseph@codesourcery.com>
19065
19066 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
19067 Remove variable.
19068 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19069
19070 [BZ #17668]
19071 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
19072 as weak alias of __getifaddrs. Use libc_hidden_weak.
19073 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19074 __freeifaddrs. Use libc_hidden_weak.
19075 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
19076 define as weak alias of __getifaddrs. Use libc_hidden_weak.
19077 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19078 __freeifaddrs. Use libc_hidden_weak.
19079 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
19080 __getifaddrs and define as weak alias of __getifaddrs. Use
19081 libc_hidden_weak.
19082 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19083 __freeifaddrs. Use libc_hidden_weak.
19084 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
19085 Remove variable.
19086 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19087 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19088
19089 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
19090
19091 [BZ #17601]
19092 * sysdeps/mips/start.S (__start): Use indirect jump to call
19093 __libc_start_main.
19094
19095 2014-12-02 Joseph Myers <joseph@codesourcery.com>
19096
19097 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
19098
19099 * nptl/tst-mutex1.c: Include <stdbool.h>.
19100 [!ATTR] (ATTR_NULL): New macro.
19101 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
19102 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
19103 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
19104
19105 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
19106 to char *.
19107
19108 [BZ #17665]
19109 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
19110 Change conditional to [__USE_MISC].
19111
19112 [BZ #17664]
19113 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
19114 fgets_unlocked.
19115 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
19116 __fgets_unlocked.
19117 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
19118 fgets_unlocked.
19119 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
19120 Remove variable.
19121 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19122 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19123 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19124 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19125 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19126 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19127 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19128 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19129 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19130
19131 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
19132
19133 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19134
19135 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19136 Remove strpbrk objects.
19137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19138 (__libc_ifunc_impl_list): Remove strpbrk implementation.
19139 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
19140 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
19141 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
19142 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
19143
19144 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19145 Remove strcspn objects.
19146 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19147 (__libc_ifunc_impl_list): Remove strcspn implementation.
19148 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
19149 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
19150 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
19151 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
19152
19153 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19154 Remove strspn objetcs.
19155 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19156 (__libc_ifunc_impl_list): Remove strspn implementation.
19157 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
19158 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19159 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
19160 * sysdeps/powerpc/powerpc64/strspn.S: New file.
19161
19162 2014-12-01 James Lemke <jwlemke@codesourcery.com>
19163
19164 [BZ #17581]
19165 * malloc/hooks.c
19166 (mem2mem_check): Add a terminator to the chain of checking blocks.
19167 (malloc_check_get_size): Use it here.
19168 (mem2chunk_check): Ditto.
19169
19170 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19171
19172 * sysdeps/powerpc/powerpc64/strtok.S: New file.
19173 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
19174
19175 2014-11-29 Carlos O'Donell <carlos@redhat.com>
19176
19177 * bits/ioctl-types.h: Indent preprocessor directives correctly.
19178
19179 * nptl/nptl-init.c: Include libc-internal.h.
19180 (__pthread_initialize_minimal_internal): Use ROUND_UP.
19181
19182 * elf/ldconfig.c (search_dir): Expand comment.
19183
19184 2014-11-29 Joseph Myers <joseph@codesourcery.com>
19185
19186 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
19187 variable.
19188 (linknamespace-symlist-stdlibs-tests): Likewise.
19189 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
19190 instead of $(objpfx)symlist-stdlibs.
19191 (linknamespace-libs-isoc): New variable.
19192 (linknamespace-libs): Use $(linknamespace-libs-isoc).
19193 (linknamespace-libs-ISO): New variable.
19194 (linknamespace-libs-ISO99): Likewise.
19195 (linknamespace-libs-ISO11): Likewise.
19196 (linknamespace-libs-XPG3): Likewise.
19197 (linknamespace-libs-XPG4): Likewise.
19198 (linknamespace-libs-POSIX): Likewise.
19199 (linknamespace-libs-UNIX98): Likewise.
19200 (linknamespace-libs-XOPEN2K): Likewise.
19201 (linknamespace-libs-POSIX2008): Likewise.
19202 (linknamespace-libs-XOPEN2K8): Likewise.
19203 ($(objpfx)symlist-stdlibs): Replace by
19204 $(linknamespace-symlist-stdlibs-tests). Use
19205 $(linknamespace-libs-$*) as set of libraries.
19206 ($(linknamespace-header-tests)): Update dependencies. Use
19207 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
19208 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
19209 * conform/linknamespace.pl: Remove comment about considering
19210 definitions of symbols from irrelevant libraries.
19211
19212 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
19213
19214 [BZ #13862]
19215 * elf/dl-tls.c: Include <atomic.h>.
19216 (oom): Remove #ifdef SHARED/#endif.
19217 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
19218 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
19219 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
19220 big enough.
19221 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
19222 * nptl/Makefile (tests): Add tst-stack4.
19223 (modules-names): Add tst-stack4mod.
19224 ($(objpfx)tst-stack4): New.
19225 (tst-stack4mod.sos): Likewise.
19226 ($(objpfx)tst-stack4.out): Likewise.
19227 ($(tst-stack4mod.sos)): Likewise.
19228 (clean): Likewise.
19229 * nptl/tst-stack4.c: New file.
19230 * nptl/tst-stack4mod.c: Likewise.
19231
19232 2014-11-27 J. Brown <jb999@gmx.de>
19233
19234 * sysdeps/x86/bits/string.h: Add recent CPUs.
19235
19236 2014-11-27 Joseph Myers <joseph@codesourcery.com>
19237
19238 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
19239 sigblock.
19240
19241 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
19242 feof.
19243
19244 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
19245 variable.
19246
19247 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
19248
19249 * nscd/connections.c: Include libc-internal.h because of macro
19250 usage ignore_value.
19251
19252 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19253
19254 * string/bits/string3.h (__warn_memset_zero_len): Don't
19255 declare for gcc newer than 5.0.
19256 (memset): Don't test for zero-length __LEN for gcc newer than
19257 5.0.
19258
19259 2014-11-27 Joseph Myers <joseph@codesourcery.com>
19260
19261 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
19262 size_t for %zu format.
19263
19264 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
19265 difference, not %ju.
19266
19267 2014-11-26 Joseph Myers <joseph@codesourcery.com>
19268
19269 * include/libc-internal.h (ignore_value): New macro.
19270 * nscd/connections.c (restart): Wrap calls to setuid and setgid
19271 with ignore_value.
19272
19273 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
19274 definition.
19275
19276 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
19277 pthread_cleanup_push to void *.
19278
19279 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
19280 Undefine.
19281
19282 [BZ #16619]
19283 [BZ #16740]
19284 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
19285 instead of 1L << 52.
19286
19287 * libio/bug-rewind.c (do_test): Check fwscanf return values.
19288 * libio/bug-rewind2.c (do_test): Likewise.
19289
19290 * debug/test-stpcpy_chk-ifunc.c: Remove file.
19291 * debug/test-strcpy_chk-ifunc.c: Likewise.
19292 * wcsmbs/test-wcschr-ifunc.c: Likewise.
19293 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19294 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19295 * wcsmbs/test-wcslen-ifunc.c: Likewise.
19296 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19297 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19298 * Rules [$(multi-arch) = no] (tests): Do not filter out
19299 $(tests-ifunc).
19300 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
19301 * debug/Makefile (tests-ifunc): Remove variable.
19302 (tests): Do not add $(tests-ifunc).
19303 * wcsmbs/Makefile (tests-ifunc): Remove variable.
19304 (tests): Do not add $(tests-ifunc).
19305 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
19306 [TEST_IFUNC]: Remove conditionals.
19307 * string/test-string.h (TEST_IFUNC): Remove macro.
19308 [TEST_IFUNC]: Remove conditionals.
19309
19310 * string/test-strchr.c [!WIDE] (L): New macro.
19311 [WIDE] (L): Likewise.
19312 (check1): Use CHAR instead of char. Use L on string and character
19313 constants.
19314
19315 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
19316
19317 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
19318 tests.
19319 * sysdeps/powerpc/bits/atomic.h
19320 (__arch_atomic_exchange_and_add_32_acq): Add definition.
19321 (__arch_atomic_exchange_and_add_32_rel): Likewise.
19322 (atomic_exchange_and_add_acq): Likewise.
19323 (atomic_exchange_and_add_rel): Likewise.
19324 * sysdeps/powerpc/powerpc32/bits/atomic.h
19325 (__arch_atomic_exchange_and_add_64_acq): Add definition.
19326 (__arch_atomic_exchange_and_add_64_rel): Likewise.
19327 * sysdeps/powerpc/powerpc64/bits/atomic.h
19328 (__arch_atomic_exchange_and_add_64_acq): Add definition.
19329 (__arch_atomic_exchange_and_add_64_rel): Likewise.
19330
19331 2014-11-26 Torvald Riegel <triegel@redhat.com>
19332
19333 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
19334 Change synchronization of __sched_fifo_min_prio and
19335 __sched_fifo_max_prio.
19336 * nptl/pthread_mutexattr_getprioceiling.c
19337 (pthread_mutexattr_getprioceiling): Likewise.
19338 * nptl/pthread_mutexattr_setprioceiling.c
19339 (pthread_mutexattr_setprioceiling): Likewise.
19340 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
19341 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
19342 Likewise.
19343
19344 2014-11-26 Joseph Myers <joseph@codesourcery.com>
19345
19346 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
19347 void.
19348
19349 2014-11-25 Joseph Myers <joseph@codesourcery.com>
19350
19351 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
19352 third argument const.
19353
19354 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
19355
19356 fnmatch: work around GCC compiler warning bug with uninit var
19357 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
19358 This works around a bug with x86-64 GCC 4.9.2 and earlier
19359 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
19360 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
19361 used uninitialized in this function [-Wmaybe-uninitialized]".
19362
19363 2014-11-25 Joseph Myers <joseph@codesourcery.com>
19364
19365 * posix/bug-regex31.c (main): Return RES not 0.
19366
19367 2014-11-25 Anton Blanchard <anton@samba.org>
19368
19369 * sysdeps/powerpc/bits/atomic.h
19370 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
19371
19372 2014-11-24 Sterling Augustine <saugustine@google.com>
19373
19374 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
19375
19376 2014-11-24 Ryan Cumming <etaoins@gmail.com>
19377
19378 [BZ #17608]
19379 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
19380
19381 2014-11-24 Joseph Myers <joseph@codesourcery.com>
19382
19383 [BZ #17633]
19384 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
19385 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
19386 variable.
19387 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
19388 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
19389
19390 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
19391
19392 * string/strncpy.c (strncpy): Improve performance by using memset.
19393
19394 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
19395
19396 * string/strcpy.c (strcpy):
19397 Improve performance by using strlen and memcpy.
19398
19399 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
19400
19401 * string/strcoll_l.c (get_next_seq): __always_inline.
19402 * string/strcoll_l.c (do_compare): __always_inline.
19403
19404 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19405
19406 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
19407 defined.
19408 * include/mqueue.h: Likewise.
19409 * include/stdlib.h: Likewise.
19410
19411 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
19412 (get_null_defines): Adjust.
19413 * sunrpc/Makefile: Adjust comment.
19414 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
19415 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
19416 (CFLAGS-interp.c): Likewise.
19417 (CFLAGS-ldconfig.c): Likewise.
19418 (CPPFLAGS-.os): Likewise.
19419 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19420 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
19421 * extra-modules.mk (extra-modules.mk): Likewise.
19422 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
19423 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
19424 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
19425 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
19426 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
19427 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
19428 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
19429 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
19430 * iconvdata/Makefile (CPPFLAGS): Likewise.
19431 (cpp-srcs-left): Add libof for all iconvdata routines.
19432 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
19433 * include/assert.h: Likewise.
19434 * include/ctype.h: Likewise.
19435 * include/errno.h: Likewise.
19436 * include/libc-symbols.h: Likewise.
19437 * include/math.h: Likewise.
19438 * include/netdb.h: Likewise.
19439 * include/resolv.h: Likewise.
19440 * include/stdio.h: Likewise.
19441 * include/stdlib.h: Likewise.
19442 * include/string.h: Likewise.
19443 * include/sys/stat.h: Likewise.
19444 * include/wctype.h: Likewise.
19445 * intl/l10nflist.c: Likewise.
19446 * libidn/idn-stub.c: Likewise.
19447 * libio/libioP.h: Likewise.
19448 * nptl/libc_multiple_threads.c: Likewise.
19449 * nptl/pthreadP.h: Likewise.
19450 * posix/regex_internal.h: Likewise.
19451 * resolv/res_hconf.c: Likewise.
19452 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
19453 * sysdeps/arm/memmove.S: Likewise.
19454 * sysdeps/arm/sysdep.h: Likewise.
19455 * sysdeps/generic/_itoa.h: Likewise.
19456 * sysdeps/generic/symbol-hacks.h: Likewise.
19457 * sysdeps/gnu/errlist.awk: Likewise.
19458 * sysdeps/gnu/errlist.c: Likewise.
19459 * sysdeps/i386/i586/memcpy.S: Likewise.
19460 * sysdeps/i386/i586/memset.S: Likewise.
19461 * sysdeps/i386/i686/memcpy.S: Likewise.
19462 * sysdeps/i386/i686/memmove.S: Likewise.
19463 * sysdeps/i386/i686/mempcpy.S: Likewise.
19464 * sysdeps/i386/i686/memset.S: Likewise.
19465 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19466 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19467 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
19468 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
19469 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19470 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19471 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
19472 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19473 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19474 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19475 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19476 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19477 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19478 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19479 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19480 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19481 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
19482 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
19483 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
19484 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19485 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19486 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19487 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19488 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19489 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19490 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19491 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
19492 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19493 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
19494 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19495 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19496 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19497 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19498 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19499 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19500 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19501 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19502 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19503 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19504 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19505 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19506 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19507 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19508 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19509 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19510 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19511 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
19512 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
19513 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19514 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19515 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19516 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
19517 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
19518 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19519 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19520 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
19521 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19522 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
19523 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
19524 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19525 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19526 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19527 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
19528 * sysdeps/nptl/bits/libc-lock.h: Likewise.
19529 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19530 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
19531 * sysdeps/posix/closedir.c: Likewise.
19532 * sysdeps/posix/opendir.c: Likewise.
19533 * sysdeps/posix/readdir.c: Likewise.
19534 * sysdeps/posix/rewinddir.c: Likewise.
19535 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
19536 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
19537 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19538 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19539 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19540 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
19541 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
19542 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
19543 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
19544 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
19545 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
19546 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
19547 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
19548 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
19549 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
19550 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
19551 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
19552 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
19553 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
19554 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
19555 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
19556 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
19557 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
19558 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
19559 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
19560 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
19561 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
19562 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
19563 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
19564 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
19565 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
19566 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
19567 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
19568 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
19569 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
19570 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
19571 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19572 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19573 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
19574 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
19575 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
19576 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
19577 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
19578 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
19579 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19580 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
19581 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
19582 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
19583 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
19584 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
19585 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
19586 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
19587 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
19588 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
19589 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
19590 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
19591 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
19592 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
19593 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
19594 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
19595 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
19596 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
19597 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
19598 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
19599 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
19600 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
19601 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
19602 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
19603 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
19604 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
19605 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
19606 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
19607 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
19608 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
19609 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
19610 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
19611 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
19612 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
19613 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19614 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
19615 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
19616 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19617 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
19618 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
19619 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19620 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
19621 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
19622 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19623 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19624 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19625 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
19626 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
19627 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
19628 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19629 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19630 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
19631 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19632 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19633 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
19634 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
19635 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19636 * sysdeps/unix/alpha/sysdep.S: Likewise.
19637 * sysdeps/unix/alpha/sysdep.h: Likewise.
19638 * sysdeps/unix/make-syscalls.sh: Likewise.
19639 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19640 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19641 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19642 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
19643 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19644 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
19645 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
19646 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19647 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19648 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
19649 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19650 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19651 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19652 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19653 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19654 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19655 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19656 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19657 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19658 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19659 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
19660 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19661 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19662 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19663 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19664 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19665 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19668 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
19669 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19670 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19671 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19672 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19673 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
19674 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19675 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19676 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19677 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
19678 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19679 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19680 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19681 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19682 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19683 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19684 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19685 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19686 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19687 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19688 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19689 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19690 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19691 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19692 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19693 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
19694 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19695 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19696 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19697 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
19698 * sysdeps/x86_64/memcpy.S: Likewise.
19699 * sysdeps/x86_64/memmove.c: Likewise.
19700 * sysdeps/x86_64/memset.S: Likewise.
19701 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
19702 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19703 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19704 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
19705 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
19706 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19707 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19708 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19709 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19710 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19711 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19712 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19713 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
19714 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19715 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19716 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
19717 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19718 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19719 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19720 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19721 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
19722 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19723 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19724 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19725 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19726 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19727 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19728 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
19729 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19730 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19731 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
19732 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19733 * sysdeps/x86_64/strcmp.S: Likewise.
19734
19735 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
19736
19737 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
19738 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
19739 * elf/rtld-Rules: Likewise.
19740 * elf/setup-vdso.h: Likewise.
19741 * include/assert.h: Likewise.
19742 * include/bits/stdlib-float.h: Likewise.
19743 * include/errno.h: Likewise.
19744 * include/sys/stat.h: Likewise.
19745 * include/unistd.h: Likewise.
19746 * sysdeps/aarch64/setjmp.S: Likewise.
19747 * sysdeps/alpha/setjmp.S: Likewise.
19748 * sysdeps/arm/__longjmp.S: Likewise.
19749 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
19750 * sysdeps/arm/setjmp.S: Likewise.
19751 * sysdeps/arm/sysdep.h: Likewise.
19752 * sysdeps/generic/_itoa.h: Likewise.
19753 * sysdeps/generic/dl-sysdep.h: Likewise.
19754 * sysdeps/generic/ldsodefs.h: Likewise.
19755 * sysdeps/i386/dl-tls.h: Likewise.
19756 * sysdeps/i386/setjmp.S: Likewise.
19757 * sysdeps/m68k/setjmp.c: Likewise.
19758 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
19759 * sysdeps/mach/hurd/opendir.c: Likewise.
19760 * sysdeps/posix/getcwd.c: Likewise.
19761 * sysdeps/posix/opendir.c: Likewise.
19762 * sysdeps/posix/profil.c: Likewise.
19763 * sysdeps/powerpc/dl-procinfo.h: Likewise.
19764 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19765 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19766 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19767 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19768 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
19769 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
19770 * sysdeps/s390/dl-tls.h: Likewise.
19771 * sysdeps/s390/s390-32/setjmp.S: Likewise.
19772 * sysdeps/s390/s390-64/setjmp.S: Likewise.
19773 * sysdeps/sh/sh3/setjmp.S: Likewise.
19774 * sysdeps/sh/sh4/setjmp.S: Likewise.
19775 * sysdeps/unix/alpha/sysdep.h: Likewise.
19776 * sysdeps/unix/arm/sysdep.S: Likewise.
19777 * sysdeps/unix/i386/sysdep.S: Likewise.
19778 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19779 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
19780 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19781 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19782 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19783 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19784 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
19785 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19786 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19787 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19788 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
19789 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19790 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19793 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19794 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19795 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19796 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19797 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19798 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19799 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19800 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19801 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19802 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19803 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19804 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19805 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19806 * sysdeps/x86_64/setjmp.S: Likewise.
19807
19808 * include/math.h: Use IS_IN instead of IS_IN_libm.
19809 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
19810 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19811 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19812 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
19813 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19814 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19815 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19816 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19817 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19818 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19819 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
19820 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
19821 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
19822 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
19823 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
19824 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
19825 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
19826 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
19827 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
19828 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
19829 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
19830 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
19831 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
19832 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
19833 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
19834 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
19835 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
19836 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
19837 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
19838 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
19839 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
19840 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19841 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19843 Likewise.
19844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
19845 Likewise.
19846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
19847 Likewise.
19848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
19849 Likewise.
19850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
19851 Likewise.
19852 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19853 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
19854 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19855 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19856 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19857 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
19859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
19860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
19861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
19862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
19863 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
19864 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
19865 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19866 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19867 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19868 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19869 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19870 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19871 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19872 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
19873 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
19874 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
19875 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
19876 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
19877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19878 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
19879
19880 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
19881 * nptl/pthreadP.h: Likewise.
19882 * nptl_db/structs.def: Likewise.
19883 * sysdeps/arm/sysdep.h: Likewise.
19884 * sysdeps/nptl/bits/libc-lock.h: Likewise.
19885 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19886 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
19887 * sysdeps/unix/alpha/sysdep.h: Likewise.
19888 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19889 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19890 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19891 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19892 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19893 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19894 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19895 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19896 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19897 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19898 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19899 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19900 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19901 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19904 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19905 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19906 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19907 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19908 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19909 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19910 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19911 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19912 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
19913 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19914
19915 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
19916 * nptl/pthreadP.h: Likewise.
19917 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19918 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19919 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19920 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19921 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19922 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19923 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19924 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19925 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19926 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19927 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19928 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19930 Likewise.
19931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19932 Likewise.
19933 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19934 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19935 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19936 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19937 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19938 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19939 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19940 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19941
19942 * dlfcn/dladdr.c: Use IS_IN.
19943 * dlfcn/dladdr1.c: Likewise.
19944 * dlfcn/dlclose.c: Likewise.
19945 * dlfcn/dlerror.c: Likewise.
19946 * dlfcn/dlinfo.c: Likewise.
19947 * dlfcn/dlmopen.c: Likewise.
19948 * dlfcn/dlopen.c: Likewise.
19949 * dlfcn/dlsym.c: Likewise.
19950 * dlfcn/dlvsym.c: Likewise.
19951
19952 * include/ifaddrs.h: Use IS_IN.
19953 * inet/check_pf.c: Likewise.
19954 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19955 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
19956
19957 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
19958 IS_IN_ldconfig.
19959 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
19960 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
19961
19962 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
19963 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
19964 IS_IN (libc).
19965
19966 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
19967
19968 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
19969 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19970 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
19971 * include/libc-symbols.h (IS_IN_LIB): New macro.
19972 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
19973 * include/netdb.h: Likewise.
19974 * include/stap-probe.h: Remove all uses of IN_LIB.
19975
19976 * Makeconfig (module-cppflags-real): Define MODULE_NAME
19977 instead of IN_MODULE.
19978 * include/libc-symbols.h (IN_MODULE): Define using
19979 MODULE_NAME.
19980 (PASTE_NAME, PASTE_NAME1): New macros.
19981 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
19982 of IN_LIB.
19983 (STAP_PROBE_ASM): Likewise.
19984
19985 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
19986
19987 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
19988 __mach_init in dlopened libc.
19989
19990 2014-11-22 Mike Frysinger <vapier@gentoo.org>
19991
19992 * sysdeps/arm/preconfigure.ac: Delete EABI check.
19993 * sysdeps/arm/preconfigure: Regenerate.
19994
19995 2014-11-21 Roland McGrath <roland@hack.frob.com>
19996
19997 * nptl/pthread_create.c (__pthread_create_2_1): Set
19998 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
19999 when copying values from IATTR into PD.
20000
20001 2014-11-21 Will Newton <will.newton@linaro.org>
20002 Andrew Pinski <andrew.pinski@caviumnetworks.com>
20003
20004 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
20005 Refactor inline-asm. Also add comment.
20006
20007 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
20008 ElfW macro instead of hardcoded Elf64 types.
20009 (la_aarch64_gnu_pltenter): Likewise.
20010 * sysdeps/aarch64/dl-machine.h
20011 (elf_machine_runtime_setup): Use ElfW(Addr).
20012
20013 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
20014 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
20015 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
20016 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
20017 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
20018 (R_AARCH64_TLS_DTPMOD64): Rename to ..
20019 (R_AARCH64_TLS_DTPMOD): This.
20020 (R_AARCH64_TLS_DTPREL64): Rename to ...
20021 (R_AARCH64_TLS_DTPREL): This.
20022 (R_AARCH64_TLS_TPREL64): Rename to ...
20023 (R_AARCH64_TLS_TPREL): This.
20024 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
20025 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
20026 R_AARCH64_TLS_TPREL64.
20027 (elf_machine_rela): Likewise.
20028
20029 2014-11-21 Torvald Riegel <triegel@redhat.com>
20030
20031 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
20032 by setting it to 0. 64b atomics are not supported currently.
20033
20034 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20035
20036 [BZ #16469]
20037 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
20038 search domain names.
20039
20040 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20041
20042 [BZ #16469]
20043 * NEWS: Update.
20044 * resolv/res_query.c (__libc_res_nquerydomain): Retain
20045 trailing dot.
20046 * posix/tst-getaddrinfo5.c: New.
20047 * posix/Makefile (tests): Add it.
20048
20049 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20050
20051 [BZ #14498]
20052 * NEWS: Fixed.
20053 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
20054 after parsing line but before break_if_match.
20055 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
20056 if there is a protocol mismatch.
20057
20058 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
20059
20060 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
20061 because the potential race is on the user-supplied stream.
20062
20063 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20064
20065 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
20066 string literal if not passed a buffer.
20067 * manual/job.texi (ctermid): Update reasoning, note deviation
20068 from posix, suggest mtasurace when not passed a buffer, for
20069 future non-preliminary safety notes.
20070
20071 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20072
20073 * manual/users.texi (cuserid): Fix MT-Safety note for the case
20074 of not passing it a buffer.
20075 Reported by Peng Haitao.
20076
20077 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
20078
20079 * manual/Makefile ($(objpfx)stamp-summary): Require
20080 check-safety.sh to pass.
20081 * manual/check-safety.sh: Wish for verification that every
20082 @deftypefn and @deftypefun is followed by a @safety remark.
20083
20084 2014-11-20 Roland McGrath <roland@hack.frob.com>
20085
20086 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
20087
20088 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
20089 PTHREAD_CANCEL_ASYNCHRONOUS.
20090 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
20091 send SIGCANCEL.
20092
20093 * nptl/default-sched.h: New file.
20094 * sysdeps/unix/sysv/linux/default-sched.h: New file.
20095 * nptl/pthread_create.c: Include it.
20096 (__pthread_create_2_1): Use collect_default_sched instead of making
20097 Linux syscalls here directly.
20098
20099 2014-11-20 Torvald Riegel <triegel@redhat.com>
20100
20101 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
20102 __pthread_once): Use C11 atomics.
20103
20104 2014-11-20 Torvald Riegel <triegel@redhat.com>
20105
20106 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
20107
20108 2014-11-20 Torvald Riegel <triegel@redhat.com>
20109
20110 * include/atomic.h (__atomic_link_error, __atomic_check_size,
20111 atomic_thread_fence_acquire, atomic_thread_fence_release,
20112 atomic_thread_fence_seq_cst, atomic_load_relaxed,
20113 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
20114 atomic_compare_exchange_weak_relaxed,
20115 atomic_compare_exchange_weak_acquire,
20116 atomic_compare_exchange_weak_release,
20117 atomic_exchange_acquire, atomic_exchange_release,
20118 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
20119 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
20120 atomic_fetch_and_acquire,
20121 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
20122
20123 2014-11-20 Torvald Riegel <triegel@redhat.com>
20124
20125 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
20126 USE_ATOMIC_COMPILER_BUILTINS): Define.
20127 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
20128 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20129 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
20130 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20131 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
20132 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20133 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
20134 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20135 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
20136 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20137 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
20138 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20139 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
20140 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20141 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
20142 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20143 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20144 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20145 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20146 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20147 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
20148 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20149 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20150 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20151 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
20152 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20153 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20154 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20155 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
20156 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20157 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
20158 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20159 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
20160 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20161 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20162 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20163 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
20164 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20165 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
20166 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20167
20168 2014-11-19 Roland McGrath <roland@hack.frob.com>
20169
20170 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
20171 the sched_priority value here. It was already checked when the user
20172 called pthread_attr_setschedparam.
20173
20174 * nptl/tst-bad-schedattr.c: New file.
20175 * nptl/Makefile (tests): Add it.
20176
20177 2014-11-19 Carlos O'Donell <carlos@redhat.com>
20178 Florian Weimer <fweimer@redhat.com>
20179 Joseph Myers <joseph@codesourcery.com>
20180 Adam Conrad <adconrad@0c3.net>
20181 Andreas Schwab <schwab@suse.de>
20182 Brooks <bmoses@google.com>
20183
20184 [BZ #17625]
20185 * wordexp-test.c (__dso_handle): Add prototype.
20186 (__register_atfork): Likewise.
20187 (__app_register_atfork): New function.
20188 (registered_forks): New global.
20189 (register_fork): New function.
20190 (test_case): Add 3 new tests for WRDE_CMDSUB.
20191 (main): Call __app_register_atfork.
20192 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
20193 fork count is non-zero fail the test.
20194 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
20195 is set.
20196 (parse_dollars): Remove check for WRDE_NOCMD.
20197 (parse_dquote): Likewise.
20198
20199 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20200
20201 * Makeconfig (built-modules): List non-library modules to be
20202 built.
20203 (module-cppflags): Include libc-modules.h for
20204 everything except shlib-versions.v.i.
20205 (CPPFLAGS): Use it.
20206 (before-compile): Add libc-modules.h.
20207 ($(common-objpfx)libc-modules.h,
20208 $(common-objpfx)libc-modules.stmp): New targets.
20209 (common-generated): Add libc-modules.h and libc-modules.stmp.
20210 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
20211 * include/libc-symbols.h: Don't include libc-modules.h.
20212 * include/libc-modules.h: Remove file.
20213 * scripts/gen-libc-modules.awk: New script to generate
20214 libc-modules.h.
20215 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
20216 Depend on libc-modules.stmp.
20217
20218 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
20219
20220 * Makeconfig (in-module): Get value of libof set for the
20221 translation unit.
20222 (CPPFLAGS): Use $(in-module).
20223 * Makerules: Don't suffix routine names for nonlib.
20224 * include/libc-modules.h: New file.
20225 * include/libc-symbols.h: Include libc-modules.h
20226 (IS_IN): New macro to replace IS_IN_* macros.
20227 * elf/Makefile: Set libof-* for each routine.
20228 * elf/rtld-Rules: Likewise.
20229 * extra-modules.mk: Likewise.
20230 * iconv/Makefile: Likewise.
20231 * iconvdata/Makefile: Likewise.
20232 * locale/Makefile: Likewise.
20233 * malloc/Makefile: Likewise.
20234 * nss/Makefile: Likewise.
20235 * sysdeps/gnu/Makefile: Likewise.
20236 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
20237 * sysdeps/unix/sysv/linux/Makefile: Likewise.
20238 * sysdeps/s390/s390-64/Makefile: Likewise.
20239 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
20240 CPPFLAGS for nscd instead of nonlib.
20241
20242 2014-11-18 Roland McGrath <roland@hack.frob.com>
20243
20244 * nptl/createthread.c: New file.
20245
20246 * nptl/createthread.c: Moved ...
20247 * sysdeps/unix/sysv/linux/createthread.c: ... here.
20248
20249 * nptl/createthread.c: Add proper top-line comment.
20250 (do_clone): Folded into ...
20251 (create_thread): ... here. Take new arguments STOPPED_START and
20252 THREAD_RAN. Always set PD->stopped_start to something here. Don't
20253 increment __nptl_threads, do event-reporting logic, do
20254 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
20255 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
20256 resource cleanup if sched_setaffinity or sched_setscheduler fails,
20257 just send SIGCANCEL.
20258 * nptl/pthread_create.c: Forward-declare create_thread before
20259 including createthread.c.
20260 (start_thread): Use new macro START_THREAD_DEFN to replace defining
20261 declaration, and new macro START_THREAD_SELF to replace argument.
20262 Remove return statement.
20263 (report_thread_creation): New function.
20264 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
20265 synchronization logic, and __nptl_nthreads increment here, around
20266 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
20267 PD->parent_cancelhandling here, before create_thread. When
20268 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
20269 __deallocate_stack, and ENOMEM translation here.
20270
20271 2014-11-18 Joseph Myers <joseph@codesourcery.com>
20272
20273 [BZ #17616]
20274 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
20275 (mptwo): Rename to __mptwo.
20276 (__inv): Use __mptwo instead of mptwo.
20277 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
20278 (mptwo): Rename to __mptwo.
20279 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
20280 of mpone and __mptwo instead of mptwo.
20281 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
20282 instead of mpone.
20283 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20284 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
20285 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
20286 of mpone and __mptwo instead of mptwo.
20287 (__mpranred): Use __mpone instead of mpone.
20288 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
20289 variable.
20290 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20291 (test-xfail-ISO99/math.h/linknamespace): Likewise.
20292 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
20293 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
20294 (test-xfail-ISO11/math.h/linknamespace): Likewise.
20295 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20296 (test-xfail-XPG3/math.h/linknamespace): Likewise.
20297 (test-xfail-XPG4/math.h/linknamespace): Likewise.
20298 (test-xfail-POSIX/math.h/linknamespace): Likewise.
20299 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20300 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20301 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20302 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20303 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20304 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20305 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20306 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20307 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20308 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20309
20310 2014-11-18 Tom de Vries <tom@codesoucery.com>
20311
20312 * manual/signal.texi (Primitives Interrupted by Signals): In section,
20313 replace BSD Handler xref with BSD Signal Handling.
20314
20315 2014-11-17 Richard Henderson <rth@redhat.com>
20316
20317 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
20318 (_FP_PACK_RAW_2): Remove.
20319 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
20320 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
20321 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
20322 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
20323 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
20324 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
20325 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
20326 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
20327 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
20328 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
20329 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
20330 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
20331 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
20332 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
20333 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
20334 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
20335
20336 2014-11-14 Roland McGrath <roland@hack.frob.com>
20337
20338 * signal/signal.h [__USE_MISC]
20339 (struct sigvec): Remove type.
20340 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
20341 (sigvec): Remove declaration.
20342 * sysdeps/posix/sigvec.c: Moved ...
20343 * signal/sigvec.c: ... here, replacing old file.
20344 (struct sigvec): New type, copied from old signal.h definition.
20345 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
20346 (__sigvec): Convert definition to prototype.
20347 (sigvec): Replace weak_alias with compat_symbol.
20348 * signal/Versions (libc: GLIBC_2.21): New version set.
20349 * include/signal.h: Remove __sigvec declaration.
20350 * sysdeps/unix/bsd/sigvec.c: Remove file.
20351 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
20352 * manual/signal.texi (BSD Handler): Remove subsection.
20353 Move siginterrupt up to ...
20354 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
20355 (Blocking in BSD): Fold subsection into its parent.
20356 * NEWS: Mention sigvec removal.
20357
20358 2014-11-14 Joseph Myers <joseph@codesourcery.com>
20359
20360 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
20361 (DLA_FMS): Make definition conditional only on [__FMA4__].
20362 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
20363 definition.
20364
20365 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
20366 Make definition conditional only on [PROF].
20367 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
20368 definition.
20369 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
20370 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
20371
20372 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
20373 !__GNUC__].
20374 * include/signal.h (__sigpause): Move declaration above call to
20375 libc_hidden_proto.
20376 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
20377 variable.
20378 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
20379 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
20380
20381 2014-11-14 David S. Miller <davem@davemloft.net>
20382
20383 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
20384 Define before including <string/memcpy.c> and <string/mempcpy.c>.
20385
20386 2014-11-14 Joseph Myers <joseph@codesourcery.com>
20387
20388 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
20389 * configure: Regenerated.
20390 * manual/install.texi (Tools for Compilation): Document a
20391 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
20392 compiler verified to work.
20393 * INSTALL: Regenerated.
20394
20395 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
20396 redeclare with asm name.
20397 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
20398 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
20399 including <string.h>.
20400 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20401 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
20402 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20403 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
20404 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20405 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20406 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20407
20408 2014-11-13 Joseph Myers <joseph@codesourcery.com>
20409
20410 * stdlib/strtol.c (__strtol): Use prototype definition.
20411
20412 [BZ #17594]
20413 * stdlib/strtol.c (SYM__): New macro.
20414 (SYM__1): Likewise.
20415 (__strtol): Likewise.
20416 (strtol): Rename to __strtol and define as weak alias of
20417 __strtol. Use libc_hidden_weak.
20418
20419 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
20420
20421 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
20422 Use numbered labels in inline assembly.
20423
20424 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
20425
20426 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
20427 Add setjmp LIBC_PROBE.
20428 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
20429 Likewise.
20430 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
20431 Add longjmp, longjmp_target LIBC_PROBE.
20432 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
20433 Likewise.
20434
20435 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
20436
20437 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20438 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
20439 to get rid of unused variable warning.
20440
20441 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
20442
20443 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
20444 Check for unwind_backtrace == NULL only in SHARED case.
20445 (__backchain_backtrace): Compile only in SHARED case.
20446 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
20447 Likewise.
20448 (__backchain_backtrace): Declare as static.
20449
20450 2014-11-12 Roland McGrath <roland@hack.frob.com>
20451
20452 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
20453 (__libc_multiple_threads_ptr): Variable moved ...
20454 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
20455
20456 2014-11-12 Joseph Myers <joseph@codesourcery.com>
20457
20458 * conform/GlibcConform.pm: New file.
20459 * conform/conformtest.pl: Use GlibcConform module.
20460 * conform/linknamespace.pl: New file.
20461 * conform/list-header-symbols.pl: Likewise.
20462 * conform/Makefile (linknamespace-symlists-base): New variable.
20463 (linknamespace-symlists-tests): Likewise.
20464 (linknamespace-header-base): Likewise.
20465 (linknamespace-header-tests): Likewise.
20466 (tests-special): Add new tests.
20467 ($(linknamespace-symlists-tests)): New rule.
20468 (linknamespace-libs): New variable.
20469 ($(objpfx)symlist-stdlibs): New rule.
20470 ($(linknamespace-header-tests)): Likewise.
20471 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
20472 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
20473 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
20474 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
20475 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
20476 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
20477 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
20478 (test-xfail-ISO/math.h/linknamespace): Likewise.
20479 (test-xfail-ISO/signal.h/linknamespace): Likewise.
20480 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
20481 (test-xfail-ISO/time.h/linknamespace): Likewise.
20482 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20483 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
20484 (test-xfail-ISO99/math.h/linknamespace): Likewise.
20485 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
20486 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20487 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
20488 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
20489 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
20490 (test-xfail-ISO11/math.h/linknamespace): Likewise.
20491 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
20492 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20493 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20494 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
20495 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
20496 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
20497 (test-xfail-XPG3/math.h/linknamespace): Likewise.
20498 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
20499 (test-xfail-XPG3/search.h/linknamespace): Likewise.
20500 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
20501 (test-xfail-XPG3/time.h/linknamespace): Likewise.
20502 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
20503 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20504 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
20505 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
20506 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20507 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20508 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
20509 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
20510 (test-xfail-XPG4/math.h/linknamespace): Likewise.
20511 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
20512 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
20513 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20514 (test-xfail-XPG4/search.h/linknamespace): Likewise.
20515 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20516 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
20517 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
20518 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
20519 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
20520 (test-xfail-XPG4/time.h/linknamespace): Likewise.
20521 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
20522 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20523 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
20524 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20525 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20526 (test-xfail-POSIX/math.h/linknamespace): Likewise.
20527 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
20528 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
20529 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20530 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
20531 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
20532 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
20533 (test-xfail-POSIX/time.h/linknamespace): Likewise.
20534 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
20535 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20536 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
20537 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
20538 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20539 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20540 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20541 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
20542 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
20543 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20544 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
20545 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20546 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
20547 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
20548 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
20549 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
20550 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20551 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
20552 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20553 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20554 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
20555 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
20556 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20557 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
20558 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
20559 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
20560 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20561 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
20562 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20563 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
20564 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20565 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20566 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20567 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
20568 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
20569 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20570 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
20571 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
20572 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
20573 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
20574 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
20575 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20576 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20577 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
20578 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
20579 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
20580 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20581 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
20582 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
20583 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20584 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20585 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20586 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
20587 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20588 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20589 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20590 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
20591 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20592 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
20593 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
20594 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
20595 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20596 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20597 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
20598 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
20599 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20600 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
20601 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20602 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20603 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20604 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
20605 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
20606 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20607 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
20608 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
20609 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
20610 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20611 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20612 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
20613 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20614 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
20615 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
20616 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20617 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20618 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
20619 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20620 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
20621 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20622 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20623 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20624 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
20625 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20626 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
20627 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
20628 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
20629 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20630 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
20631 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20632
20633 [BZ #17589]
20634 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
20635 of fgets_unlocked.
20636
20637 [BZ #17585]
20638 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
20639 (memmem): Rename to __memmem and define as weak alias of
20640 __memmem. Use libc_hidden_weak.
20641 (__memmem): Use libc_hidden_def.
20642 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
20643 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
20644 memmem.
20645
20646 [BZ #17582]
20647 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
20648 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
20649 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
20650 and define as weak alias of __fgets_unlocked. Use
20651 libc_hidden_weak.
20652 (__fgets_unlocked): Use libc_hidden_def.
20653 * include/stdio.h (__fgets_unlocked): Declare. Use
20654 libc_hidden_proto.
20655 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
20656 __fgets_unlocked instead of fgets_unlocked.
20657 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
20658 (GET_NPROCS_CONF_PARSER): Likewise.
20659 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
20660 (GET_NPROCS_CONF_PARSER): Likewise.
20661
20662 [BZ #17574]
20663 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
20664 weak alias of __wmemset. Use libc_hidden_weak.
20665 (__wmemset): Use libc_hidden_def.
20666 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
20667 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
20668 of wmemset.
20669
20670 [BZ #17573]
20671 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
20672 with asm name __mempcpy.
20673 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
20674
20675 [BZ #17572]
20676 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
20677 and define as weak alias of __rawmemchr.
20678 (__rawmemchr): Do not define as strong alias of rawmemchr.
20679
20680 [BZ #17571]
20681 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
20682 alias of __qsort_r.
20683 (qsort): Call __qsort_r instead of qsort_r.
20684 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
20685 (__qsort_r): Declare. Call libc_hidden_proto.
20686 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
20687 instead of qsort_r.
20688 * nscd/gai.c (__qsort_r): Define to qsort_r.
20689 * posix/tst-rfc3484.c (__qsort_r): Likewise.
20690 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
20691 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
20692
20693 [BZ #17570]
20694 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
20695 define as weak alias of __malloc_info.
20696
20697 [BZ #17584]
20698 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
20699 as weak alias of __rewinddir. Don't use libc_hidden_def.
20700 (__rewinddir): Use libc_hidden_def.
20701 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
20702 as weak alias of __rewinddir. Don't use libc_hidden_def.
20703 (__rewinddir): Use libc_hidden_def.
20704 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
20705 weak alias of __rewinddir. Don't use libc_hidden_def.
20706 (__rewinddir): Use libc_hidden_def.
20707 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
20708 (__rewinddir): Use libc_hidden_proto.
20709 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
20710 rewinddir.
20711 (__getcwd): Use __rewinddir instead of rewinddir.
20712
20713 [BZ #17583]
20714 * libio/fileno.c (fileno): Rename to __fileno and define as weak
20715 alias of __fileno. Use libc_hidden_weak.
20716 (__fileno): Use libc_hidden_def.
20717 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
20718 * libio/ftello.c (ftello): Rename to __ftello and define as weak
20719 alias of __ftello.
20720 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
20721 __ftello.
20722 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
20723 (__fread_unlocked): Define as strong alias of _IO_fread. Use
20724 libc_hidden_def.
20725 (fread_unlocked): Don't use libc_hidden_ver.
20726 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
20727 and define as weak alias of __fread_unlocked. Don't use
20728 libc_hidden_def.
20729 (__fread_unlocked): Use libc_hidden_def.
20730 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
20731 (ftello): Don't use libc_hidden_proto.
20732 (__ftello): Declare. Use libc_hidden_proto.
20733 (fread_unlocked): Don't use libc_hidden_proto.
20734 (__fread_unlocked): Declare. Use libc_hidden_proto.
20735 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
20736 and __ftello instead of fileno, fread_unlocked and ftello.
20737
20738 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20739
20740 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
20741 GOT12.
20742 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
20743 Likewise.
20744 (_dl_start_user): Likewise.
20745 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
20746
20747 2014-11-12 Carlos O'Donell <carlos@redhat.com>
20748 Siddhesh Poyarekar <siddhesh@redhat.com>
20749
20750 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
20751 Move argv and envp down instead of moving argc up.
20752 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
20753
20754 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
20755
20756 [BZ #17506]
20757 * test-skeleton.c (main): Return successful if one of
20758 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
20759 * string/tst-strcoll-overflow.c: Define expected status.
20760
20761 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
20762
20763 [BZ #17475]
20764 * locale/iso-639.def: Define Bhili and Tulu language codes.
20765
20766 2014-11-11 Alan Hayward <alan.hayward@arm.com>
20767
20768 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
20769
20770 2014-11-10 Renlin Li <Renlin.Li@arm.com>
20771
20772 [BZ #17555]
20773 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
20774
20775 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
20776
20777 * configure.ac: Updated check of minimal required version to
20778 2.22.
20779 * manual/install.texi (Tools for Compilation): Updated version
20780 number.
20781 * configure: Regenerated.
20782 * INSTALL: Likewise.
20783
20784 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
20785
20786 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
20787 __tls_get_addr.
20788
20789 2014-11-07 Joseph Myers <joseph@codesourcery.com>
20790
20791 * include/sys/wait.h (__libc_waitpid): Remove declaration.
20792 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
20793 (__waitpid): Don't define as alias. Use libc_hidden_def not
20794 libc_hidden_weak.
20795 (waitpid): Define as alias of __waitpid.
20796 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
20797 __waitpid.
20798 (__waitpid): Don't define as alias. Use libc_hidden_def not
20799 libc_hidden_weak.
20800 (waitpid): Define as alias of __waitpid.
20801 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
20802 __libc_waitpid alias.
20803 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
20804 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
20805 Likewise.
20806 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
20807 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
20808 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
20809 alias.
20810 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
20811 __waitpid.
20812 (__waitpid): Don't define as alias. Use libc_hidden_def not
20813 libc_hidden_weak.
20814 (waitpid): Define as alias of __waitpid.
20815
20816 2014-11-06 Carlos O'Donell <carlos@redhat.com>
20817
20818 * manual/llio.texi: Add comment that write safety has been
20819 fixed in Linux.
20820
20821 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
20822 (localplt-build-dso): Add elf/ld.so.
20823 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
20824 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
20825 and free for ld.so.
20826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
20827 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
20828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
20829 Likewise.
20830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
20831 Likewise.
20832 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
20833 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
20834 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
20835 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
20836 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20837 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
20838 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
20839 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
20840 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20841 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
20842 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20843
20844 2014-11-05 Joseph Myers <joseph@codesourcery.com>
20845
20846 [BZ #14132]
20847 * include/libc-symbols.h (INTUSE): Remove macro.
20848 (INTDEF): Likewise.
20849 (INTVARDEF): Likewise.
20850 (_INTVARDEF): Likewise.
20851 (INTDEF2): Likewise.
20852 (INTVARDEF2): Likewise.
20853 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
20854 rtld_hidden_def instead of INTVARDEF.
20855 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
20856 (_dl_starting_up_internal): Remove declaration.
20857 (_dl_starting_up): Use rtld_hidden_proto.
20858 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
20859 declaration.
20860 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
20861 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
20862 _dl_starting_up.
20863 * elf/dl-writev.h (_dl_writev): Likewise.
20864 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
20865 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
20866 _dl_starting_up_internal.
20867
20868 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20869
20870 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
20871 test-skeleton.c.
20872
20873 2014-11-05 Will Newton <will.newton@linaro.org>
20874
20875 * benchtests/Makefile: (bench-malloc): Add malloc thread
20876 scalability benchmark.
20877 * benchtests/bench-malloc-threads.c: New file.
20878
20879 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
20880
20881 * sysdeps/aarch64/strchrnul.S: New file.
20882
20883 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20884
20885 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
20886 definition.
20887 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20888 Likwise.
20889 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20890 Likewise.
20891 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20892 Likewise.
20893 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20894 Likewise.
20895 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20896 Likewise.
20897
20898 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
20899
20900 * catgets/test-gencat.c: Use test-skeleton.c.
20901 * catgets/tst-catgets.c: Likewise.
20902 * csu/tst-empty.c: Likewise.
20903 * elf/tst-audit2.c: Likewise.
20904 * elf/tst-global1.c: Likewise.
20905 * elf/tst-pathopt.c: Likewise.
20906 * elf/tst-piemod1.c: Likewise.
20907 * elf/tst-tls10.c: Likewise.
20908 * elf/tst-tls11.c: Likewise.
20909 * elf/tst-tls12.c: Likewise.
20910 * gnulib/tst-gcc.c: Likewise.
20911 * iconvdata/tst-e2big.c: Likewise.
20912 * iconvdata/tst-loading.c: Likewise.
20913 * iconv/tst-iconv1.c: Likewise.
20914 * iconv/tst-iconv2.c: Likewise.
20915 * inet/test-inet6_opt.c: Likewise.
20916 * inet/tst-gethnm.c: Likewise.
20917 * inet/tst-network.c: Likewise.
20918 * inet/tst-ntoa.c: Likewise.
20919 * intl/tst-codeset.c: Likewise.
20920 * intl/tst-gettext2.c: Likewise.
20921 * intl/tst-gettext3.c: Likewise.
20922 * intl/tst-ngettext.c: Likewise.
20923 * intl/tst-translit.c: Likewise.
20924 * io/test-stat.c: Likewise.
20925 * libio/test-fmemopen.c: Likewise.
20926 * libio/tst-freopen.c: Likewise.
20927 * libio/tst-sscanf.c: Likewise.
20928 * libio/tst-ungetwc1.c: Likewise.
20929 * libio/tst-ungetwc2.c: Likewise.
20930 * libio/tst-widetext.c: Likewise.
20931 * localedata/tst-ctype.c: Likewise.
20932 * localedata/tst-digits.c: Likewise.
20933 * localedata/tst-leaks.c: Likewise.
20934 * localedata/tst-mbswcs1.c: Likewise.
20935 * localedata/tst-mbswcs2.c: Likewise.
20936 * localedata/tst-mbswcs3.c: Likewise.
20937 * localedata/tst-mbswcs4.c: Likewise.
20938 * localedata/tst-mbswcs5.c: Likewise.
20939 * localedata/tst-setlocale.c: Likewise.
20940 * localedata/tst-trans.c: Likewise.
20941 * localedata/tst-wctype.c: Likewise.
20942 * localedata/tst-xlocale1.c: Likewise.
20943 * login/tst-grantpt.c: Likewise.
20944 * malloc/tst-calloc.c: Likewise.
20945 * malloc/tst-malloc.c: Likewise.
20946 * malloc/tst-mallocstate.c: Likewise.
20947 * malloc/tst-mcheck.c: Likewise.
20948 * malloc/tst-mtrace.c: Likewise.
20949 * malloc/tst-obstack.c: Likewise.
20950 * math/atest-exp2.c: Likewise.
20951 * math/atest-exp.c: Likewise.
20952 * math/atest-sincos.c: Likewise.
20953 * math/test-matherr.c: Likewise.
20954 * math/test-misc.c: Likewise.
20955 * math/test-powl.c: Likewise.
20956 * math/tst-definitions.c: Likewise.
20957 * misc/tst-dirname.c: Likewise.
20958 * misc/tst-efgcvt.c: Likewise.
20959 * misc/tst-fdset.c: Likewise.
20960 * misc/tst-hsearch.c: Likewise.
20961 * misc/tst-mntent2.c: Likewise.
20962 * nptl/tst-sem7.c: Likewise.
20963 * nptl/tst-sem8.c: Likewise.
20964 * nptl/tst-sem9.c: Likewise.
20965 * nss/test-netdb.c: Likewise.
20966 * posix/tst-fnmatch.c: Likewise.
20967 * posix/tst-getlogin.c: Likewise.
20968 * posix/tst-gnuglob.c: Likewise.
20969 * posix/tst-mmap.c: Likewise.
20970 * pwd/tst-getpw.c: Likewise.
20971 * resolv/tst-inet_ntop.c: Likewise.
20972 * rt/tst-timer.c: Likewise.
20973 * stdio-common/test-fseek.c: Likewise.
20974 * stdio-common/test-popen.c: Likewise.
20975 * stdio-common/test-vfprintf.c: Likewise.
20976 * stdio-common/tst-cookie.c: Likewise.
20977 * stdio-common/tst-fileno.c: Likewise.
20978 * stdio-common/tst-gets.c: Likewise.
20979 * stdio-common/tst-obprintf.c: Likewise.
20980 * stdio-common/tst-perror.c: Likewise.
20981 * stdio-common/tst-sprintf2.c: Likewise.
20982 * stdio-common/tst-sprintf3.c: Likewise.
20983 * stdio-common/tst-sprintf.c: Likewise.
20984 * stdio-common/tst-swprintf.c: Likewise.
20985 * stdio-common/tst-tmpnam.c: Likewise.
20986 * stdio-common/tst-unbputc.c: Likewise.
20987 * stdio-common/tst-wc-printf.c: Likewise.
20988 * stdlib/tst-environ.c: Likewise.
20989 * stdlib/tst-fmtmsg.c: Likewise.
20990 * stdlib/tst-limits.c: Likewise.
20991 * stdlib/tst-rand48-2.c: Likewise.
20992 * stdlib/tst-rand48.c: Likewise.
20993 * stdlib/tst-random2.c: Likewise.
20994 * stdlib/tst-random.c: Likewise.
20995 * stdlib/tst-strtol.c: Likewise.
20996 * stdlib/tst-strtoll.c: Likewise.
20997 * stdlib/tst-tls-atexit.c: Likewise.
20998 * stdlib/tst-xpg-basename.c: Likewise.
20999 * string/test-ffs.c: Likewise.
21000 * string/tst-bswap.c: Likewise.
21001 * string/tst-inlcall.c: Likewise.
21002 * string/tst-strtok.c: Likewise.
21003 * string/tst-strxfrm.c: Likewise.
21004 * sysdeps/x86_64/tst-audit10.c: Likewise.
21005 * sysdeps/x86_64/tst-audit3.c: Likewise.
21006 * sysdeps/x86_64/tst-audit4.c: Likewise.
21007 * sysdeps/x86_64/tst-audit5.c: Likewise.
21008 * time/tst-ftime_l.c: Likewise.
21009 * time/tst-getdate.c: Likewise.
21010 * time/tst-mktime3.c: Likewise.
21011 * time/tst-mktime.c: Likewise.
21012 * time/tst-posixtz.c: Likewise.
21013 * time/tst-strptime2.c: Likewise.
21014 * time/tst-strptime3.c: Likewise.
21015 * wcsmbs/tst-btowc.c: Likewise.
21016 * wcsmbs/tst-mbrtowc.c: Likewise.
21017 * wcsmbs/tst-mbsrtowcs.c: Likewise.
21018 * wcsmbs/tst-wchar-h.c: Likewise.
21019 * wcsmbs/tst-wcpncpy.c: Likewise.
21020 * wcsmbs/tst-wcrtomb.c: Likewise.
21021 * wcsmbs/tst-wcsnlen.c: Likewise.
21022 * wcsmbs/tst-wcstof.c: Likewise.
21023
21024 2014-11-04 Joseph Myers <joseph@codesourcery.com>
21025
21026 [BZ #14132]
21027 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
21028 INTDEF.
21029 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
21030 declaration.
21031 (_dl_mcount): Use rtld_hidden_proto.
21032 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
21033 _dl_mcount.
21034 * elf/rtld.c (_rtld_global_ro): Likewise.
21035
21036 [BZ #14132]
21037 * elf/dl-init.c (_dl_init): Don't use INTDEF.
21038 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
21039 of _dl_init_internal.
21040 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
21041 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
21042 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
21043 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
21044 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
21045 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
21046 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
21047 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
21048 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
21049 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
21050 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
21051 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
21052 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21053 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21054 * sysdeps/tile/dl-start.S (_start): Likewise.
21055 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
21056 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
21057
21058 [BZ #14132]
21059 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
21060 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
21061 (rtld_progname): Make macro definition unconditional.
21062 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
21063 INTDEF.
21064 (dlmopen_doit): Do not use INTUSE with _dl_argv.
21065 (dl_main): Likewise.
21066 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21067 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
21068 instead of _dl_argv_internal.
21069 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21070 __GI__dl_argv instead of INTUSE(_dl_argv).
21071 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
21072 __GI__dl_argv instead of _dl_argv_internal.
21073
21074 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
21075 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
21076 macro.
21077 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
21078 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
21079 New macro.
21080 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
21081 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
21082 macro.
21083 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
21084 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
21085
21086 2014-11-04 Andreas Schwab <schwab@suse.de>
21087
21088 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
21089
21090 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21091
21092 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
21093 mtvsrd instruction in binary form.
21094
21095 2014-11-03 Andreas Schwab <schwab@suse.de>
21096
21097 [BZ #17522]
21098 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
21099 for less than MB_LEN_MAX use a local buffer of that size.
21100 * libio/tst-fputws.c: New file.
21101 * libio/Makefile (tests): Add tst-fputws.
21102
21103 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
21104
21105 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
21106 the size of the fpu_fr.fpu_dregs[] array.
21107
21108 2014-11-01 Joseph Myers <joseph@codesourcery.com>
21109
21110 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
21111 (__nanosleep): Do not define as alias.
21112 (nanosleep): Define as alias of __nanosleep.
21113 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
21114 __libc_nanosleep name.
21115
21116 2014-10-31 Joseph Myers <joseph@codesourcery.com>
21117
21118 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
21119 install.texi in comment.
21120
21121 2014-10-31 Torvald Riegel <triegel@redhat.com>
21122
21123 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
21124 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
21125 ... add here and use lwsync or sync ...
21126 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
21127 ... and add here using lwsync.
21128
21129 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
21130
21131 * elf/dl-machine-reject-phdr.h: New file.
21132 * elf/dl-load.c: #include that.
21133 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
21134 if that returned true.
21135
21136 2014-10-31 Roland McGrath <roland@hack.frob.com>
21137
21138 [BZ #17496]
21139 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
21140 gen-as-const-headers chunk. Add a big scare comment after the last
21141 safe place to touch before-compile.
21142
21143 2014-10-31 Joseph Myers <joseph@codesourcery.com>
21144
21145 * manual/install.texi (Tools for Compilation): Update autoconf
21146 version requirements.
21147 * INSTALL: Regenerated.
21148
21149 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
21150 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
21151 (__libc_pselect): Likewise.
21152
21153 [BZ #14138]
21154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
21155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21158
21159 2014-10-31 Torvald Riegel <triegel@redhat.com>
21160
21161 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
21162 correct barrier instruction.
21163 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
21164 Likewise.
21165 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
21166 Likewise.
21167
21168 2014-10-30 Roland McGrath <roland@hack.frob.com>
21169
21170 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
21171 after defining inlines. Instead, just use parens to defeat macro
21172 expansion of __isctype in its declaration.
21173
21174 2014-10-30 Joseph Myers <joseph@codesourcery.com>
21175
21176 * include/sys/uio.h (__libc_readv): Remove declaration.
21177 (__libc_writev): Likewise.
21178 * misc/readv.c (__libc_readv): Rename to __readv.
21179 (__readv): Do not define as alias.
21180 (readv): Define as alias of __readv.
21181 * misc/writev.c (__libc_writev): Rename to __writev.
21182 (__writev): Do not define as alias.
21183 (writev): Define as alias of __writev.
21184 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
21185 (__readv): Do not define as alias.
21186 (readv): Define unconditionally as alias of __readv.
21187 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
21188 (__writev): Do not define as alias.
21189 (writev): Define unconditionally as alias of __writev.
21190 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
21191 name.
21192 (writev): Do not define __libc_writev name.
21193
21194 2014-10-30 Roland McGrath <roland@hack.frob.com>
21195
21196 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
21197 (convert_charseq): New function, broken out of ...
21198 (use_from_charmap): ... here. Call it.
21199 (use_to_charmap): Use convert_charseq and free instead of duplicating
21200 its code with a variable-length stack struct.
21201
21202 2014-10-30 Joseph Myers <joseph@codesourcery.com>
21203
21204 * include/fcntl.h (__libc_creat): Remove declaration.
21205 * io/creat.c (__libc_creat): Rename to creat.
21206 (creat): Do not define as alias.
21207 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
21208 of creat instead of __libc_creat.
21209 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
21210 to creat.
21211 (creat): Do not define as alias.
21212 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
21213 __libc_creat.
21214 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
21215 __libc_creat name.
21216 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
21217 Likewise.
21218
21219 2014-10-29 Carlos O'Donell <carlos@redhat.com>
21220
21221 * manual/llio.texi: Add comments discussing why write() may be
21222 considered MT-unsafe on Linux.
21223
21224 2014-10-28 Carlos O'Donell <carlos@redhat.com>
21225
21226 * dl-load.c (local_strdup): Remove.
21227 (expand_dynamic_string_token): Use __strdup.
21228 (decompose_rpath): Likewise.
21229 (_dl_map_object): Likewise.
21230
21231 2014-10-28 Joseph Myers <joseph@codesourcery.com>
21232
21233 [BZ #14132]
21234 * sysdeps/generic/unwind-dw2-fde.c
21235 (__register_frame_info_bases_internal): Do not declare.
21236 (__register_frame_info_table_bases_internal): Likewise.
21237 (__deregister_frame_info_bases_internal): Likewise.
21238 (__register_frame_info_bases): Declare and use hidden_proto before
21239 definition. Use hidden_def instead of INTDEF.
21240 (__register_frame_info_table_bases): Likewise.
21241 (__deregister_frame_info_bases): Likewise.
21242 (__register_frame_info): Do not use INTUSE.
21243 (__register_frame): Likewise.
21244 (__register_frame_info_table): Likewise.
21245 (__register_frame_table): Likewise.
21246 (__deregister_frame_info): Likewise.
21247 (__deregister_frame): Likewise.
21248
21249 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
21250
21251 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21252 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
21253 not undefine.
21254 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
21255 Likewise.
21256 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
21257 Likewise.
21258
21259 2014-10-27 Joseph Myers <joseph@codesourcery.com>
21260
21261 [BZ #14138]
21262 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
21263 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
21264 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
21265 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
21266 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
21267 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
21268 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
21269 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
21270 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
21271 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
21272 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
21273 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
21274 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
21275 syscall.
21276 (setfsuid): Likewise.
21277 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
21278 (setfsuid): Likewise.
21279 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
21280 (setfsuid): Likewise.
21281 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
21282 Likewise.
21283 (setfsuid): Likewise.
21284 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
21285 (setfsuid): Likewise.
21286 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
21287 Likewise.
21288 (setfsuid): Likewise.
21289
21290 2014-10-27 Andreas Schwab <schwab@suse.de>
21291
21292 [BZ #17501]
21293 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
21294 check for Slow_SSE4_2 feature bit.
21295 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
21296 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21297 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
21298 Likewise. Fix check for Fast_Unaligned_Load feature bit.
21299
21300 2014-10-24 Roland McGrath <roland@hack.frob.com>
21301
21302 * configure.ac: Validate compiler version with a empirical test of
21303 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
21304 $CC -v output.
21305 * configure: Regenerated.
21306
21307 * inet/htons.c (htons): Prototypify.
21308 * inet/htonl.c (htonl): Likewise.
21309
21310 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
21311
21312 * string/strncat.c (strncat): Improve performance by using strlen.
21313
21314 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
21315
21316 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
21317
21318 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
21319
21320 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
21321 Call libc_fetestexcept_aarch64.
21322
21323 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
21324
21325 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
21326 Call libc_feholdexcept_aarch64.
21327
21328 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
21329
21330 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
21331 Call get_rounding_mode.
21332
21333 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
21334
21335 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21336 Simplify logic.
21337
21338 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
21339
21340 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
21341 Simplify logic.
21342
21343 2014-10-24 Joseph Myers <joseph@codesourcery.com>
21344
21345 [BZ #14138]
21346 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
21347 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
21348 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
21349 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
21350 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
21351 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
21352 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
21353 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
21354 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
21355 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
21356 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21357 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
21358 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
21359 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
21360 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
21361 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
21362 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
21363 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
21364 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
21365 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
21366 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
21367 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
21368 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
21369 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
21370 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
21371 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
21372 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
21373 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
21374 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
21375 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
21376 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
21377 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
21378 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
21379 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
21380 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
21381 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
21382 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
21383 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
21384 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
21385 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
21386 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
21387 syscall.
21388 (geteuid): Likewise.
21389 (getgid): Likewise.
21390 (getuid): Likewise.
21391 (getresgid): Likewise.
21392 (getresuid): Likewise.
21393 (getgroups): Likewise.
21394 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
21395 (geteuid): Likewise.
21396 (getgid): Likewise.
21397 (getuid): Likewise.
21398 (getresgid): Likewise.
21399 (getresuid): Likewise.
21400 (getgroups): Likewise.
21401 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
21402 (geteuid): Likewise.
21403 (getgid): Likewise.
21404 (getuid): Likewise.
21405 (getresgid): Likewise.
21406 (getresuid): Likewise.
21407 (getgroups): Likewise.
21408 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
21409 Likewise.
21410 (geteuid): Likewise.
21411 (getgid): Likewise.
21412 (getuid): Likewise.
21413 (getresgid): Likewise.
21414 (getresuid): Likewise.
21415 (getgroups): Likewise.
21416 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
21417 (geteuid): Likewise.
21418 (getgid): Likewise.
21419 (getuid): Likewise.
21420 (getresgid): Likewise.
21421 (getresuid): Likewise.
21422 (getgroups): Likewise.
21423 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
21424 Likewise.
21425 (geteuid): Likewise.
21426 (getgid): Likewise.
21427 (getuid): Likewise.
21428 (getgroups): Likewise.
21429
21430 [BZ #14138]
21431 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
21432 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
21433 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
21434 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21435 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
21436 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
21437 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
21438 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
21439 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
21440 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
21441 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
21442 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
21443 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
21444 __chown.
21445 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
21446 (lchown): Likewise.
21447 (fchown): Likewise.
21448 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
21449 Likewise.
21450 (lchown): Likewise.
21451 (fchown): Likewise.
21452 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
21453 (lchown): Likewise.
21454 (fchown): Likewise.
21455 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
21456 Likewise.
21457 (lchown): Likewise.
21458 (fchown): Likewise.
21459
21460 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
21461
21462 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
21463 Simplify logic.
21464
21465 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
21466
21467 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21468 Cleanup logic.
21469
21470 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
21471
21472 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21473 Remove unused include.
21474
21475 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
21476
21477 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
21478 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
21479 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
21480 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
21481
21482 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
21483 Helge Deller <deller@gmx.de>
21484
21485 [BZ #17508]
21486 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
21487 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
21488 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
21489
21490 2014-10-23 Joseph Myers <joseph@codesourcery.com>
21491
21492 [BZ #14132]
21493 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
21494 Remove macro definition.
21495 (__ashrdi3_v_glibc20): Likewise.
21496 (__lshrdi3_v_glibc20): Likewise.
21497 (__cmpdi2_v_glibc20): Likewise.
21498 (__ucmpdi2_v_glibc20): Likewise.
21499 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
21500 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
21501 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21502 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
21503 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
21504 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
21505
21506 2014-10-22 Roland McGrath <roland@hack.frob.com>
21507
21508 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
21509 old GNU extension [0] syntax.
21510 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
21511 alloca rather than an array member with variable length.
21512 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
21513 * nscd/nscd.c (invalidate_db): New function, broken out of ...
21514 (parse_opt): ... here. Likewise use alloca there.
21515 Validate the -i argument before checking for rootness.
21516 (send_shutdown): New function, broken out of ...
21517 (parse_opt): ... here.
21518
21519 2014-10-22 Roland McGrath <roland@hack.frob.com>
21520
21521 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
21522 macro to get at the _rt_local_ro field.
21523 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
21524 ([PIC] case) or _dl_hwcap ([!PIC] case).
21525 * sysdeps/arm/setjmp.S: Likewise.
21526
21527 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
21528 * sysdeps/arm/configure.ac: New check to define it.
21529 * sysdeps/arm/configure: Regenerated.
21530 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
21531 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
21532 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
21533 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
21534 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
21535 Use move/movt pair instead of a load.
21536 (LDST_GLOBAL): Macro removed.
21537 (LDR_GLOBAL): New macro replaces it.
21538 (LDR_HIDDEN): New macro.
21539 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
21540 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
21541
21542 * setjmp/tst-setjmp-static.c: New file.
21543 * setjmp/Makefile (tests): Add it.
21544 (tests-static): New variable.
21545
21546 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
21547
21548 [BZ #17485]
21549 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
21550
21551 2014-10-21 Joseph Myers <joseph@codesourcery.com>
21552
21553 [BZ #14132]
21554 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
21555
21556 2014-10-21 Roland McGrath <roland@hack.frob.com>
21557
21558 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
21559
21560 2014-10-20 Roland McGrath <roland@hack.frob.com>
21561
21562 * io/fts.c (dirent_not_directory): New function.
21563 (fts_build): Call it.
21564
21565 2014-10-20 Roland McGrath <roland@hack.frob.com>
21566
21567 * nptl/version.c (__nptl_main): Use normal __write rather than
21568 INTERNAL_SYSCALL.
21569 (banner): Update copyright years.
21570
21571 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
21572 gettimeofday.
21573 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
21574 * nptl/pthread_cond_timedwait.c: Likewise.
21575 * nptl/pthread_mutex_timedlock.c: Likewise.
21576 * nptl/sem_timedwait.c: Likewise.
21577
21578 * sysdeps/nptl/bits/libc-lock.h
21579 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21580 (__libc_lock_init_recursive): Return void, not 0.
21581 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
21582 (__libc_rwlock_init): Likewise.
21583 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
21584
21585 2014-10-20 Torvald Riegel <triegel@redhat.com>
21586
21587 [BZ #15215]
21588 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
21589 (__pthread_once_slow): ... here.
21590 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
21591 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
21592
21593 2014-10-20 Torvald Riegel <triegel@redhat.com>
21594
21595 [BZ #15215]
21596 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
21597 __PTHREAD_ONCE_FORK_GEN_INCR): New.
21598 * sysdeps/nptl/fork.c (__libc_fork): Use them.
21599 * nptl/pthread_once.c (__pthread_once): Likewise.
21600 Update comments.
21601
21602 2014-10-20 Joseph Myers <joseph@codesourcery.com>
21603
21604 [BZ #14138]
21605 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
21606 name.
21607 (writev): Use __libc_writev as strong name.
21608 * sysdeps/unix/sysv/linux/readv.c: Remove file.
21609 * sysdeps/unix/sysv/linux/writev.c: Likewise.
21610
21611 2014-10-17 Roland McGrath <roland@hack.frob.com>
21612
21613 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
21614
21615 * sysdeps/i386/nptl/tls.h
21616 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
21617 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
21618 New macros.
21619 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
21620 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
21621 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
21622 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
21623 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
21624 Call CHECK_THREAD_SYSINFO instead of doing an assert.
21625
21626 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21627 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
21628 on [__NR_futex].
21629 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
21630 broken out of ...
21631 (__pthread_mutex_init): ... here. Call it.
21632 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
21633 Conditionalize PI cases on [__NR_futex].
21634 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
21635 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
21636 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
21637
21638 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
21639 conditional on [SIGSETXID].
21640 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
21641 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
21642 is defined. Likewise for SIGSETXID.
21643 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
21644 Conditionalize definitions on [SIGSETXID].
21645 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
21646 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
21647 unblocking on [SIGCANCEL].
21648
21649 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
21650 [__NR_set_robust_list].
21651
21652 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21653
21654 * string/strcoll_l.c (get_next_seq): Fix up formatting.
21655 (do_compare): Likewise.
21656
21657 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
21658
21659 [BZ #15884]
21660 * string/strcoll_l.c: Don't include stdio.h.
21661 (coll_seq): Remove members idxarr and rulearr.
21662 (get_next_seq_cached): Remove function.
21663 (get_next_seq): Likewise.
21664 (get_next_seq_nocache): Rename to get_next_seq.
21665 (do_compare): Remove function.
21666 (do_compare_nocache): Rename to do_compare.
21667 (STRCOLL): Remove weight and rules cache.
21668
21669 2014-10-16 Roland McGrath <roland@hack.frob.com>
21670
21671 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
21672 * sysdeps/arm/sfp-machine.h: ... to here.
21673 * sysdeps/arm/Implies: Remove arm/soft-fp.
21674
21675 2014-10-14 Joseph Myers <joseph@codesourcery.com>
21676
21677 * conform/data/sys/utsname.h-data (*_t): Allow.
21678 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
21679 [POSIX] (WEXITED): Do not expect constant.
21680 [POSIX] (WSTOPPED): Likewise.
21681 [POSIX] (WNOHANG): Likewise.
21682 [POSIX] (WNOWAIT): Likewise.
21683 [POSIX] (siginfo_t): Do not expect type or elements.
21684 [POSIX] (pid_t): Do not expect type.
21685 [POSIX] (signal.h): Do not allow header.
21686 [POSIX] (sys/resource.h): Likewise.
21687 [POSIX] (si_*): Do not allow pattern.
21688 [POSIX] (W*): Likewise.
21689 [POSIX] (P_*): Likewise.
21690 [POSIX] (BUS_*): Likewise.
21691 [POSIX] (CLD_*): Likewise.
21692 [POSIX] (FPE_*): Likewise.
21693 [POSIX] (ILL_*): Likewise.
21694 [POSIX] (POLL_*): Likewise.
21695 [POSIX] (SEGV_*): Likewise.
21696 [POSIX] (SI_*): Likewise.
21697 [POSIX] (TRAP_*): Likewise.
21698 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
21699 variable.
21700
21701 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
21702
21703 [BZ #12926]
21704 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
21705 infinite loop when __recvmsg returns 0.
21706
21707 2014-10-10 Joseph Myers <joseph@codesourcery.com>
21708
21709 * CANCEL-FCT-WAIVE: Remove file.
21710 * CANCEL-FILE-WAIVE: Likewise.
21711
21712 [BZ #14132]
21713 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
21714 instead of INTVARDEF.
21715 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21716 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
21717 rtld_hidden_data_def instead of INTVARDEF.
21718 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21719 * elf/dl-deps.c (expand_dst): Likewise.
21720 * elf/dl-load.c (_dl_dst_count): Likewise.
21721 (_dl_dst_substitute): Likewise.
21722 (decompose_rpath): Likewise.
21723 (_dl_init_paths): Likewise.
21724 (open_path): Likewise.
21725 (_dl_map_object): Likewise.
21726 * elf/rtld.c (dl_main): Likewise.
21727 (process_dl_audit): Likewise.
21728 (process_envvars): Likewise.
21729 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
21730 Remove declaration.
21731 (__libc_enable_secure): Use rtld_hidden_proto.
21732
21733 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21734
21735 * elf/dl-load.c
21736 (add_path): New function broken out of _dl_rtld_di_serinfo.
21737 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
21738
21739 2014-10-09 Joseph Myers <joseph@codesourcery.com>
21740
21741 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
21742 parentheses around macro arguments.
21743 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
21744 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
21745 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
21746 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
21747 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
21748 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21749 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21750 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
21751 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
21752 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
21753 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
21754 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
21755 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
21756 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
21757 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
21758 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
21759 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
21760 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
21761 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
21762 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
21763 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
21764 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
21765 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
21766 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21767 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21768 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
21769 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
21770 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
21771 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
21772 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
21773 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
21774 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
21775 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
21776 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
21777 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
21778 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
21779 Likewise.
21780 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
21781 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21782 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21783 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
21784 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
21785 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
21786 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
21787 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
21788 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
21789 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
21790 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
21791 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
21792 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
21793 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
21794 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
21795 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21796 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21797 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
21798 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
21799 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
21800 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
21801 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
21802 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
21803 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
21804 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
21805 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
21806 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
21807 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
21808 (_FP_FRAC_SRS_1): Likewise.
21809 (_FP_FRAC_CLZ_1): Likewise.
21810 (_FP_MUL_MEAT_1_imm): Likewise.
21811 (_FP_MUL_MEAT_1_wide): Likewise.
21812 (_FP_MUL_MEAT_1_hard): Likewise.
21813 (_FP_SQRT_MEAT_1): Likewise.
21814 (_FP_FRAC_ASSEMBLE_1): Likewise.
21815 (_FP_FRAC_DISASSEMBLE_1): Likewise.
21816 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
21817 (__FP_CLZ_2): Likewise.
21818 (_FP_MUL_MEAT_2_wide): Likewise.
21819 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
21820 (_FP_MUL_MEAT_2_gmp): Likewise.
21821 (_FP_MUL_MEAT_2_120_240_double): Likewise.
21822 (_FP_SQRT_MEAT_2): Likewise.
21823 (_FP_FRAC_ASSEMBLE_2): Likewise.
21824 (_FP_FRAC_DISASSEMBLE_2): Likewise.
21825 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
21826 (_FP_FRAC_CLZ_4): Likewise.
21827 (_FP_MUL_MEAT_4_wide): Likewise.
21828 (_FP_MUL_MEAT_4_gmp): Likewise.
21829 (_FP_SQRT_MEAT_4): Likewise.
21830 (_FP_FRAC_ASSEMBLE_4): Likewise.
21831 (_FP_FRAC_DISASSEMBLE_4): Likewise.
21832 * soft-fp/op-common.h (_FP_CMP): Likewise.
21833 (_FP_CMP_EQ): Likewise.
21834 (_FP_CMP_UNORD): Likewise.
21835 (_FP_TO_INT): Likewise.
21836 (_FP_FROM_INT): Likewise.
21837 [!__FP_CLZ] (__FP_CLZ): Likewise.
21838 (_FP_DIV_HELP_imm): Likewise.
21839 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
21840 Likewise.
21841 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
21842 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
21843 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
21844 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
21845 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
21846 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21847 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21848 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
21849 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
21850 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
21851 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
21852 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
21853 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
21854 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
21855 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
21856 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
21857 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
21858 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
21859 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
21860 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
21861 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
21862 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
21863 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
21864 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21865 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21866 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
21867 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
21868 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
21869 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
21870 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
21871 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
21872 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
21873 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
21874 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
21875 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
21876 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
21877 (FP_UNPACK_RAW_SP): Likewise.
21878 (FP_PACK_RAW_S): Likewise.
21879 (FP_PACK_RAW_SP): Likewise.
21880 (FP_UNPACK_S): Likewise.
21881 (FP_UNPACK_SP): Likewise.
21882 (FP_UNPACK_SEMIRAW_S): Likewise.
21883 (FP_UNPACK_SEMIRAW_SP): Likewise.
21884 (FP_PACK_S): Likewise.
21885 (FP_PACK_SP): Likewise.
21886 (FP_PACK_SEMIRAW_S): Likewise.
21887 (FP_PACK_SEMIRAW_SP): Likewise.
21888 (_FP_SQRT_MEAT_S): Likewise.
21889 (FP_CMP_S): Likewise.
21890 (FP_CMP_EQ_S): Likewise.
21891 (FP_CMP_UNORD_S): Likewise.
21892 (FP_TO_INT_S): Likewise.
21893 (FP_FROM_INT_S): Likewise.
21894
21895 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
21896
21897 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
21898 (FP_EX_INVALID_IMZ): Likewise.
21899 (FP_EX_INVALID_IMZ_FMA): Likewise.
21900 (FP_EX_INVALID_ISI): Likewise.
21901 (FP_EX_INVALID_ZDZ): Likewise.
21902 (FP_EX_INVALID_IDI): Likewise.
21903 (FP_EX_INVALID_SQRT): Likewise.
21904 (FP_EX_INVALID_CVI): Likewise.
21905 (FP_EX_INVALID_VC): Likewise.
21906 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
21907 "invalid" exceptions.
21908 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
21909 (_FP_ADD_INTERNAL): Likewise.
21910 (_FP_MUL): Likewise.
21911 (_FP_FMA): Likewise.
21912 (_FP_DIV): Likewise.
21913 (_FP_CMP_CHECK_NAN): Likewise.
21914 (_FP_SQRT): Likewise.
21915 (_FP_TO_INT): Likewise.
21916 (FP_EXTEND): Likewise.
21917
21918 2014-10-09 Allan McRae <allan@archlinux.org>
21919
21920 * po/fr.po: Update French translation from translation project.
21921
21922 2014-10-09 Joseph Myers <joseph@codesourcery.com>
21923
21924 [BZ #14132]
21925 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
21926 of INTDEF.
21927 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
21928 (__cxa_atexit): Use libc_hidden_proto.
21929 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
21930
21931 [BZ #14132]
21932 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
21933 declaration.
21934 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
21935 [!_ISOMAC] (__iswspace_l_internal): Likewise.
21936 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
21937 [!_ISOMAC] (__iswctype_internal): Likewise.
21938 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
21939 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
21940 alias.
21941 (fcntl): Remove __fcntl_internal alias.
21942 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
21943 __connect_internal alias.
21944 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
21945 Likewise.
21946
21947 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
21948 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
21949 FP_DENORM_ZERO.
21950 (_FP_CHECK_FLUSH_ZERO): New macro.
21951 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
21952 (_FP_CMP): Likewise.
21953 (_FP_CMP_EQ): Likewise.
21954 (_FP_TO_INT): Do not set inexact for subnormal arguments if
21955 FP_DENORM_ZERO.
21956 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
21957 (FP_TRUNC): Likewise.
21958
21959 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
21960 treated as invalid conversion, not as normal exponent.
21961
21962 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
21963 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
21964 (_FP_CMP_EQ): Likewise.
21965 (_FP_CMP_UNORD): Likewise.
21966 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
21967 (FP_CMP_EQ_D): Likewise.
21968 (FP_CMP_UNORD_D): Likewise.
21969 * soft-fp/extended.h (FP_CMP_E): Likewise.
21970 (FP_CMP_EQ_E): Likewise.
21971 (FP_CMP_UNORD_E): Likewise.
21972 * soft-fp/quad.h (FP_CMP_Q): Likewise.
21973 (FP_CMP_EQ_Q): Likewise.
21974 (FP_CMP_UNORD_Q): Likewise.
21975 * soft-fp/single.h (FP_CMP_S): Likewise.
21976 (FP_CMP_EQ_S): Likewise.
21977 (FP_CMP_UNORD_S): Likewise.
21978 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
21979 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
21980 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
21981 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
21982 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
21983 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
21984 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
21985 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
21986 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
21987 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
21988 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
21989 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
21990 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
21991 to FP_CMP_Q.
21992 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
21993 FP_CMP_Q.
21994 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
21995 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
21996 FP_CMP_EQ_Q.
21997 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
21998 FP_CMP_Q.
21999 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
22000 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
22001 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
22002 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
22003 FP_CMP_EQ_Q.
22004 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
22005 FP_CMP_Q.
22006 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
22007 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
22008 FP_CMP_EQ_Q.
22009 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
22010 FP_CMP_Q.
22011 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
22012 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
22013 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
22014 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
22015 FP_CMP_EQ_Q.
22016
22017 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
22018 a subnormal result, set the underflow exception if trapping on
22019 underflow is enabled.
22020 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
22021 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
22022 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
22023 redefine to 0.
22024 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
22025 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22026 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22027 * soft-fp/extendxftf2.c (__extendxftf2): Use
22028 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
22029
22030 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
22031 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
22032 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22033 FP_HANDLE_EXCEPTIONS.
22034 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
22035 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22036 FP_HANDLE_EXCEPTIONS.
22037 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
22038 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22039 FP_HANDLE_EXCEPTIONS.
22040 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
22041 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22042 FP_HANDLE_EXCEPTIONS.
22043
22044 2014-10-08 Joseph Myers <joseph@codesourcery.com>
22045
22046 [BZ #14132]
22047 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
22048 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
22049 use INTUSE.
22050 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
22051 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
22052 Remove alias.
22053 (__adjtimex): Define using libc_hidden_ver.
22054 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
22055 Remove declaration.
22056 (ntp_gettime): Call __adjtimex directly.
22057 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
22058 Remove declaration.
22059 (ntp_gettimex): Call __adjtimex directly.
22060 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
22061 __adjtimex_internal alias.
22062
22063 2014-10-08 Roland McGrath <roland@hack.frob.com>
22064
22065 [BZ #17460]
22066 * nscd/nscd.c (more_help): Rewrite list of tables collection
22067 using xstrdup and asprintf.
22068
22069 * nscd/nscd_conf.c: Remove local xstrdup declaration.
22070
22071 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
22072 Roland McGrath <roland@hack.frob.com>
22073
22074 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
22075 (do_lookup_unique): ... local function 'enter' here; update callers.
22076
22077 2014-10-06 Joseph Myers <joseph@codesourcery.com>
22078
22079 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
22080 compat_symbol calls on [SHARED].
22081 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
22082 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
22083 Remove.
22084 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22085 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
22086 (oldsetrlimit): Remove.
22087 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22089 (lchown): New syscall entry.
22090 (oldsetrlimit): Remove.
22091 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22092 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
22093 (oldsetrlimit): Remove.
22094 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22095
22096 [BZ #14138]
22097 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
22098 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
22099 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
22100 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
22101 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22102 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
22103 (fchown): Likewise.
22104 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
22105 (fchown): Likewise.
22106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
22107 Likewise.
22108
22109 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22110
22111 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
22112 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
22113 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
22114 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
22115 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
22116 Likewise.
22117 (__old_sem_post): Likewise.
22118
22119 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
22120
22121 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
22122 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
22123 HAVE_CLOCK_GETTIME_VSYSCALL macros.
22124 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
22125 Use INLINE_VSYSCALL macro.
22126 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
22127 __vdso_clock_gettime.
22128 * sysdeps/unix/sysv/linux/tile/init-first.c
22129 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
22130 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
22131 __vdso_clock_gettime.
22132
22133 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
22134 to set up frame more cleanly.
22135
22136 * sysdeps/tile/memcmp.c: New file.
22137
22138 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
22139
22140 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
22141 * sysdeps/tile/tilegx/strcasestr.c: New file.
22142 * sysdeps/tile/tilegx/strnlen.c: New file.
22143 * sysdeps/tile/tilegx/strstr.c: New file.
22144
22145 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
22146
22147 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
22148
22149 * nptl/tst-setuid3.c: Write errors to stdout.
22150
22151 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
22152
22153 * elf/dl-deps.c
22154 (preload): New functions broken out of _dl_map_object_deps.
22155 (_dl_map_object_deps): Remove a nested function. Update call sites.
22156
22157 2014-10-01 Joseph Myers <joseph@codesourcery.com>
22158
22159 [BZ #14138]
22160 * sysdeps/unix/sysv/linux/execve.c: Remove file.
22161 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
22162
22163 2014-10-01 Steve Ellcey <sellcey@mips.com>
22164
22165 * sysdeps/mips/strcmp.S: New.
22166
22167 2014-09-30 Joseph Myers <joseph@codesourcery.com>
22168
22169 [BZ #14138]
22170 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
22171 (linkat): Likewise.
22172 (mkdirat): Likewise.
22173 (readlinkat): Likewise.
22174 (renameat): Likewise.
22175 (symlinkat): Likewise.
22176 (unlinkat): Likewise.
22177 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
22178 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
22179 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
22180 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
22181 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
22182 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
22183 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
22184
22185 2014-09-30 Will Newton <will.newton@linaro.org>
22186
22187 * math/math.h: Define long double math functions if
22188 _LIBC_TEST is defined.
22189 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
22190
22191 * localedata/Makefile: Move assignment to tests-special
22192 into an ifdef testing run-built-tests.
22193 * timezone/Makefile: Likewise.
22194
22195 2014-09-29 Joseph Myers <joseph@codesourcery.com>
22196
22197 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
22198 with $(BASH) not $(SHELL).
22199
22200 2014-09-29 Carlos O'Donell <carlos@redhat.com>
22201 Matthew LeGendre <legendre1@llnl.gov>
22202
22203 [BZ #17411]
22204 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
22205 l_reloc_result.
22206
22207 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
22208
22209 * stdio-common/printf_fp.c
22210 (hack_digit): New function, broken out of ...
22211 (__printf_fp): ... local function here. Update call sites.
22212 hack_digit now takes an additional parameter that is a pointer
22213 to a struct of the referenced locals. Those locals moved inside
22214 the struct and references updated.
22215
22216 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
22217
22218 * aclocal.m4: Require autoconf 2.69.
22219 * configure: Regenerated.
22220 * sysdeps/aarch64/configure: Likewise.
22221 * sysdeps/alpha/configure: Likewise.
22222 * sysdeps/arm/armv7/configure: Likewise.
22223 * sysdeps/arm/configure: Likewise.
22224 * sysdeps/ia64/configure: Likewise.
22225 * sysdeps/mach/configure: Likewise.
22226 * sysdeps/mips/configure: Likewise.
22227 * sysdeps/s390/configure: Likewise.
22228 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
22229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
22230
22231 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
22232 file.
22233 * sysdeps/ia64/configure.ac: Likewise.
22234
22235 2014-09-26 Joseph Myers <joseph@codesourcery.com>
22236
22237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
22238 specify symbol version for ld.so. Do not include entry for
22239 libpthread.
22240 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22241 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
22242 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22243
22244 [BZ #14171]
22245 * Makeconfig [$(build-shared) = yes]
22246 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
22247 makefiles.
22248 [$(build-shared) = yes && $(soversions.mk-done) = t]
22249 ($(common-objpfx)gnu/lib-names.h): Remove rule.
22250 [$(build-shared) = yes && $(soversions.mk-done) = t]
22251 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
22252 to Makerules.
22253 [$(build-shared) = yes && $(soversions.mk-done) = t]
22254 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
22255 here.
22256 [$(build-shared) = yes && $(soversions.mk-done) = t]
22257 (common-generated): Don't append gnu/lib-names.h and
22258 gnu/lib-names.stmp here.
22259 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
22260 (lib-names-h-abi): New variable.
22261 [$(build-shared) = yes && $(soversions.mk-done) = t]
22262 (lib-names-stmp-abi): Likewise.
22263 [$(build-shared) = yes && $(soversions.mk-done) = t &&
22264 abi-variants] (before-compile): Append
22265 $(common-objpfx)$(lib-names-h-abi).
22266 [$(build-shared) = yes && $(soversions.mk-done) = t &&
22267 abi-variants] (common-generated): Append gnu/lib-names.h.
22268 [$(build-shared) = yes && $(soversions.mk-done) = t &&
22269 abi-variants] (install-others-nosubdir): Depend on
22270 $(inst_includedir)/$(lib-names-h-abi).
22271 [$(build-shared) = yes && $(soversions.mk-done) = t &&
22272 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
22273 [$(build-shared) = yes && $(soversions.mk-done) = t]
22274 ($(common-objpfx)$(lib-names-h-abi)): New rule.
22275 [$(build-shared) = yes && $(soversions.mk-done) = t]
22276 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
22277 [$(build-shared) = yes && $(soversions.mk-done) = t]
22278 (common-generated): Append $(lib-names-h-abi) and
22279 $(lib-names-stmp-abi).
22280 * scripts/lib-names.awk: Do not handle multi being set.
22281 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
22282 Remove variable.
22283 (abi-lp64_be-ld-soname): Likewise.
22284 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
22285 Likewise.
22286 (abi-hard-ld-soname): Likewise.
22287 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
22288 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
22289 Remove variable.
22290 (abi-o32_hard-ld-soname): Likewise.
22291 (abi-o32_soft_2008-ld-soname): Likewise.
22292 (abi-o32_hard_2008-ld-soname): Likewise.
22293 (abi-n32_soft-ld-soname): Likewise.
22294 (abi-n32_hard-ld-soname): Likewise.
22295 (abi-n32_soft_2008-ld-soname): Likewise.
22296 (abi-n32_hard_2008-ld-soname): Likewise.
22297 (abi-n64_soft-ld-soname): Likewise.
22298 (abi-n64_hard-ld-soname): Likewise.
22299 (abi-n64_soft_2008-ld-soname): Likewise.
22300 (abi-n64_hard_2008-ld-soname): Likewise.
22301 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
22302 Likewise.
22303 (abi-64-v2-ld-soname): Likewise.
22304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
22305 ld.so entries.
22306 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
22307 variable.
22308 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
22309 entry.
22310 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
22311 variable.
22312 (abi-64-ld-soname): Likewise.
22313 (abi-x32-ld-soname): Likewise.
22314 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
22315 entry.
22316 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22317
22318 2014-09-23 Joseph Myers <joseph@codesourcery.com>
22319
22320 [BZ #14138]
22321 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
22322 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
22323 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
22324 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
22325 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
22326 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
22327 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
22328 syscall entry for GLIBC_2.2 symbol version.
22329 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
22330 Likewise.
22331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22332 (setrlimit): Likewise.
22333 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
22334 Likewise.
22335
22336 2014-09-23 Will Newton <will.newton@linaro.org>
22337
22338 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
22339 _LINUX_ARM_SYSDEP_H include guard too.
22340 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
22341 define.
22342
22343 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
22344
22345 * sysdeps/unix/sysv/linux/eventfd.c:
22346 Make first argument unsigned.
22347 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
22348 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
22349
22350 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
22351
22352 * socket/recvmmsg.c (recvmmsg): Drop const argument.
22353 * socket/sys/socket.h: Likewise.
22354 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
22355
22356 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22357
22358 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
22359
22360 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
22361
22362 * time/tst-ftime.c: New test.
22363 * time/Makefile (tests): Add tst-ftime.
22364
22365 2014-09-17 Joseph Myers <joseph@codesourcery.com>
22366
22367 * soft-fp/extended.h: Fix comment formatting.
22368 * soft-fp/op-1.h: Likewise.
22369 * soft-fp/op-2.h: Likewise.
22370 * soft-fp/op-4.h: Likewise.
22371 * soft-fp/op-8.h: Likewise.
22372 * soft-fp/op-common.h: Likewise.
22373 * soft-fp/soft-fp.h: Likewise.
22374
22375 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
22376
22377 2014-09-16 Joseph Myers <joseph@codesourcery.com>
22378
22379 [BZ #6652]
22380 * Makeconfig (soversions-default-setname): Remove variable.
22381 ($(common-objpfx)soversions.i): Don't pass default_setname to
22382 soversions.awk.
22383 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
22384 oldest_abi to abi-versions.awk.
22385 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
22386 * config.make.in (oldest-abi): Remove variable.
22387 * configure.ac (--enable-oldest-abi): Remove configure option.
22388 * configure: Regenerated.
22389 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
22390 text.
22391 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
22392 * scripts/soversions.awk: Do not handle default_setname variable.
22393 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
22394 variable.
22395 * sysdeps/mach/hurd/configure: Regenerated.
22396 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
22397 variable.
22398 * sysdeps/unix/sysv/linux/configure: Regenerated.
22399
22400 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22401
22402 * elf/Makefile (CFLAGS-interp.c): Remove.
22403 ($(elf-objpfx)runtime-linker.h): Generate header with linker
22404 path string.
22405 * elf/interp.c: Include generated runtime-linker.h
22406
22407 * Makerules (lib%.so): Don't include $(+interp) in
22408 prerequisites.
22409 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
22410 * dlfcn/eval.c: Remove file.
22411
22412 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
22413 macros.
22414
22415 [BZ #17266]
22416 * misc/sys/cdefs.h: Define __extern_always_inline for clang
22417 4.2 and newer.
22418
22419 [BZ #17370]
22420 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
22421
22422 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22423 Jakub Jelinek <jakub@redhat.com>
22424
22425 [BZ #17266]
22426 * libio/stdio.h: Check definition of __fortify_function
22427 instead of __extern_always_inline to include bits/stdio2.h.
22428 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
22429 check if __extern_always_inline is defined.
22430 [__USE_MISC || __USE_XOPEN]: Likewise.
22431 [__USE_ISOC99] Likewise.
22432 * misc/sys/cdefs.h (__fortify_function): Define only if
22433 __extern_always_inline is defined.
22434 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
22435 __extern_always_inline and __extern_inline only for g++-4.3
22436 and newer or a compatible gcc.
22437
22438 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
22439
22440 [BZ #17371]
22441 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
22442 last change to handle zero prefix length.
22443
22444 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22445
22446 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
22447 _SC_REGEX_VERSION.
22448
22449 * posix/getconf.c (vars): Add _POSIX_IPV6 and
22450 _POSIX_RAW_SOCKETS.
22451
22452 2014-09-13 Allan McRae <allan@archlinux.org>
22453
22454 * po/ru.po: Update Russian translation from translation project.
22455
22456 2014-09-12 Roland McGrath <roland@hack.frob.com>
22457
22458 * locale/programs/locale.c (show_locale_vars): Inline local function
22459 into its sole call site. Clean up some style nits.
22460 (print_item): New function, broken out of ...
22461 (show_info): ... local function here. Clean up style nits.
22462
22463 * locale/programs/ld-ctype.c (set_one_default): New function, broken
22464 out of ...
22465 (set_class_defaults): ... local function set_default here.
22466 Define set_default as a macro locally to pass constant parameters.
22467 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
22468 rather than a shared local.
22469
22470 * stdlib/rpmatch.c (try): New function, broken out of ...
22471 (rpmatch): ... local function here. Also, prototypify definition.
22472
22473 2014-09-12 Joseph Myers <joseph@codesourcery.com>
22474
22475 * scripts/soversions.awk: Do not handle configuration names.
22476 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
22477 vendor and os variables to soversions.awk.
22478 * configure.ac: Do not modify gnu-* host_os.
22479 * configure: Regenerated
22480 * shlib-versions: Remove first column with configuration names.
22481 * nptl/shlib-versions: Likewise.
22482 * nptl_db/shlib-versions: Likewise.
22483 * sysdeps/hppa/shlib-versions: Likewise.
22484 * sysdeps/m68k/shlib-versions: Likewise.
22485 * sysdeps/mach/hurd/shlib-versions: Likewise.
22486 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
22487 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
22488 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
22489 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
22490 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
22491 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
22492 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
22493 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
22494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
22495 Likewise.
22496 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22497 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
22498 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
22499 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
22500 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
22501 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
22502 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
22503 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22504
22505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22506 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
22507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22508 Regenerated.
22509 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
22510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
22511 Condition symbol version definitions on [HAVE_ELFV2_ABI].
22512
22513 * shlib-versions: Remove OS-specific entries. Moved to files in
22514 sysdeps.
22515 * sysdeps/mach/hurd/shlib-versions: New file.
22516 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
22517
22518 * nptl/shlib-versions: Remove architecture-specific entries.
22519 Moved to files in sysdeps.
22520 * shlib-versions: Likewise.
22521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
22522 file.
22523 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22524 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
22525 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
22526 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
22527
22528 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
22529 (UDP_NO_CHECK6_RX): Likewise.
22530
22531 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22532
22533 * sysdeps/posix/sysconf.c (__sysconf): Spell
22534 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
22535
22536 2014-08-12 Florian Weimer <fweimer@redhat.com>
22537
22538 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
22539 loading.
22540 * iconv/Versions (__gconv_transliterate): Export for use from
22541 gconv modules.
22542 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
22543 (struct __gconv_trans_data, __gconv_trans_fct,
22544 __gconv_trans_context_fct, __gconv_trans_query_fct,
22545 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
22546 definitions.
22547 (struct __gconv_step_data): Remove __trans member.
22548 (__gconv_transliterate): Declaration moved from gconv_int.h. No
22549 longer hidden. Remove unused trans_data argument.
22550 * iconv/gconv_int.h (struct trans_struct): Remove definition.
22551 (__gconv_translit_find): Remove declaration.
22552 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
22553 prototype.
22554 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
22555 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
22556 trans_data argument. Add hidden definition.
22557 (__gconv_translit_find): Remove.
22558 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
22559 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
22560 * iconv/skeleton.c: Remove transliteration initialization.
22561 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
22562 __gconv_step_data initialization.
22563 * libio/iofwide.c (__libio_translit_): Remove.
22564 (_IO_fwide): Adjust struct __gconv_step_data initialization.
22565 * wcsmbs/btowc.c (__btowc): Likewise.
22566 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22567 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22568 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
22569 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
22570 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
22571 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
22572 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
22573 * wcsmbs/wctob.c (wctob): Likewise.
22574
22575 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22576
22577 [BZ #16194]
22578 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
22579 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
22580 register usage.
22581 * sysdeps/x86/Makefile: Adjust.
22582
22583 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
22584 Roland McGrath <roland@hack.frob.com>
22585
22586 * locale/weight.h: Add include guard.
22587 (findidx): Make static rather than auto; take new parameters
22588 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
22589 * locale/weightwc.h: Likewise.
22590 * posix/fnmatch_loop.c
22591 (FCT): Change type of EXTRA from int32_t to wint_t.
22592 Don't include either header inside the function.
22593 Call FINDIDX rather than findidx, and pass new arguments.
22594 #undef FINDIDX at the end of the file.
22595 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
22596 FINDIDX before including fnmatch_loop.c for the non-wide version.
22597 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
22598 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
22599 for the wide version.
22600 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
22601 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
22602 Pass new arguments to findidx.
22603 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
22604 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
22605 Don't #include it inside the function. Pass new arguments to findidx.
22606 * posix/regex_internal.h
22607 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
22608 (re_string_elem_size_at): Don't #include it inside the function.
22609 Pass new arguments to findidx.
22610 * string/strcoll_l.c: #include WEIGHT_H at top level.
22611 (get_next_seq): Don't #include it inside the function.
22612 Pass new arguments to findidx.
22613 (get_next_seq_nocache): Likewise.
22614 * string/strxfrm_l.c: #include WEIGHT_H at top level.
22615 (STRXFRM): Don't #include it inside the function.
22616 Pass new arguments to findidx.
22617
22618 2014-09-11 Florian Weimer <fweimer@redhat.com>
22619
22620 [BZ #17344]
22621 * malloc/malloc.c (unlink): Turn asserts into a call to
22622 malloc_printerr.
22623
22624 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
22625
22626 [BZ #17370]
22627 * libio/wfileops (do_ftell_wide): Free OUT.
22628
22629 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
22630
22631 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
22632
22633 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22634
22635 [BZ #17363]
22636 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
22637 group if the current group is empty.
22638
22639 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22640
22641 * benchtests/bench-memset.c (test_main): Add more test from size
22642 from 32 to 512 bytes.
22643 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22644 Add POWER8 memset object.
22645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22646 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
22647 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
22648 implementation.
22649 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
22650 Likewise.
22651 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
22652 multiarch POWER8 memset optimization.
22653 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
22654 POWER8 memset optimization.
22655
22656 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22657 Remove bzero multiarch objects.
22658 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
22659 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
22660 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
22661 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
22662 Remove define.
22663 [__bzero]: Redefine to specific name.
22664 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22665 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22666 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
22667 define.
22668 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22669 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22670
22671 2014-09-10 Florian Weimer <fweimer@redhat.com>
22672
22673 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
22674 warnings into errors.
22675
22676 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
22677 __cxa_thread_atexit_impl prototype.
22678
22679 2014-09-09 Steve Ellcey <sellcey@mips.com>
22680
22681 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
22682 Fix capitalization of error message.
22683
22684 2014-09-09 Steve Ellcey <sellcey@mips.com>
22685
22686 * sysdeps/mips/preconfigure: Modify ABI tests.
22687
22688 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
22689
22690 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
22691
22692 2014-09-07 Roland McGrath <roland@hack.frob.com>
22693 Carlos O'Donell <carlos@systemhalted.org>
22694
22695 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
22696 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
22697 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
22698 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
22699 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
22700 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
22701 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
22702 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
22703 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
22704 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
22705 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
22706 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
22707 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
22708 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
22709 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
22710 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
22711 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
22712 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
22713 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
22714 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
22715 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
22716 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
22717 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
22718 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
22719 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
22720 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
22721 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
22722 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
22723 Deconditionalize the code that was previously under [RESET_PID].
22724 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
22725 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
22726 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
22727 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
22728 include sysdep.h.
22729
22730 2014-09-08 Allan McRae <allan@archlinux.org>
22731
22732 * version.h (RELEASE): Set to "development".
22733 (VERSION): Set to "2.20.90"
22734
22735 2014-09-07 Allan McRae <allan@archlinux.org
22736
22737 * version.h (RELEASE): Set to "stable".
22738 (VERSION): Set to "2.20"
22739 * include/features.h (__GLIBC_MINOR__): Set to 20.
22740
22741 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
22742 Liebler.
22743
22744 * po/ko.po: Update Korean translation from translation project.
22745
22746 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
22747
22748 [BZ #17354]
22749 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
22750 macro for handling signed relocations.
22751
22752 2014-09-03 Florian Weimer <fweimer@redhat.com>
22753
22754 [BZ #17325]
22755 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
22756 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
22757 assert.
22758 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
22759 * iconvdata/ibm935.c (BODY): Likewise.
22760 * iconvdata/ibm937.c (BODY): Likewise.
22761 * iconvdata/ibm939.c (BODY): Likewise.
22762 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
22763 assert.
22764 * iconvdata/Makefile (iconv-test.out): Pass module list to test
22765 script.
22766 * iconvdata/run-iconv-test.sh: New test loop for checking for
22767 decoder crashers.
22768
22769 2014-09-02 Khem Raj <raj.khem@gmail.com>
22770
22771 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
22772 libm_hidden_ver.
22773
22774 2014-09-01 Allan McRae <allan@archlinux.org>
22775
22776 * po/eo.po: Update Esperanto translation from translation project.
22777
22778 * po/ca.po: Update Catalan translation from translation project.
22779
22780 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
22781
22782 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
22783 __proc_dostop call.
22784
22785 2014-08-27 Mark Wielaard <mjw@redhat.com>
22786
22787 [BZ #17319]
22788 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
22789 to call set_thread_area instead of hand written asm.
22790 (__NR_set_thread_area): Removed define.
22791 (TLS_FLAG_WRITABLE): Likewise.
22792 (__ASSUME_SET_THREAD_AREA): Remove check.
22793 (TLS_EBX_ARG): Remove define.
22794 (TLS_LOAD_EBX): Likewise.
22795
22796 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22797
22798 Simplify atomicity of socket creation in bind.
22799
22800 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
22801 looking up the name after linking the file.
22802
22803 2014-08-27 Allan McRae <allan@archlinux.org>
22804
22805 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22806
22807 2014-08-26 Florian Weimer <fweimer@redhat.com>
22808
22809 [BZ #17187]
22810 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
22811 trans_compare, open_translit, __gconv_translit_find):
22812 Remove module loading code.
22813
22814 2014-08-26 Allan McRae <allan@archlinux.org>
22815
22816 * po/vi.po: Update Vietnamese translation from translation project.
22817
22818 * po/uk.po: Update Ukrainian translation from translation project.
22819
22820 * po/fr.po: Update French translation from translation project.
22821
22822 * po/ru.po: Update Russian translation from translation project.
22823
22824 * po/pl.po: Update Polish translation from translation project.
22825
22826 * po/cs.po: Update Czech translation from translation project.
22827
22828 * po/de.po: Update German translation from translation project.
22829
22830 * po/bg.po: Update Bulgarian translation from translation project.
22831
22832 * po/sv.po: Update Sweedish translation from translation project.
22833
22834 * po/nl.po: Update Dutch translation from translation project.
22835
22836 * po/es.po: Update Spanish translation from translation project.
22837
22838 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22839
22840 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
22841
22842 * catgets/Makefile (CPPFLAGS-gencat): Remove.
22843 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
22844 (CPPFLAGS-iconvconfig): Likewise.
22845 * timezone/Makefile (CPPFLAGS-zic): Likewise.
22846
22847 * include/libc-symbols.h: Remove unnecessary check for
22848 NOT_IN_libc.
22849 * nptl/pthreadP.h: Likewise.
22850 * sysdeps/aarch64/setjmp.S: Likewise.
22851 * sysdeps/alpha/setjmp.S: Likewise.
22852 * sysdeps/arm/sysdep.h: Likewise.
22853 * sysdeps/i386/setjmp.S: Likewise.
22854 * sysdeps/m68k/setjmp.c: Likewise.
22855 * sysdeps/posix/getcwd.c: Likewise.
22856 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22857 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22858 * sysdeps/s390/s390-32/setjmp.S: Likewise.
22859 * sysdeps/s390/s390-64/setjmp.S: Likewise.
22860 * sysdeps/sh/sh3/setjmp.S: Likewise.
22861 * sysdeps/sh/sh4/setjmp.S: Likewise.
22862 * sysdeps/unix/alpha/sysdep.h: Likewise.
22863 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22864 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22865 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22866 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22869 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22870 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22871 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22872 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22873 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22874 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22875 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22876 * sysdeps/x86_64/setjmp.S: Likewise.
22877
22878 2014-08-13 Joseph Myers <joseph@codesourcery.com>
22879
22880 [BZ #17263]
22881 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
22882 <stdint.h>.
22883 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
22884 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
22885
22886 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22887
22888 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
22889
22890 [BZ #17262]
22891 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
22892 and __x86_64__ when disabling x87 inline functions.
22893
22894 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
22895
22896 [BZ #17259]
22897 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
22898 asm statement with __cpuid_count.
22899
22900 2014-08-12 Mike Frysinger <vapier@gentoo.org>
22901
22902 * configure.ac: Change __ehdr_start code to dereference the struct.
22903 Run readelf on the output to look for relocations.
22904 * configure: Regenerated.
22905
22906 2014-08-12 Joseph Myers <joseph@codesourcery.com>
22907
22908 [BZ #17261]
22909 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
22910 value to 0.
22911 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
22912
22913 2014-08-12 Roland McGrath <roland@hack.frob.com>
22914
22915 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
22916
22917 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
22918
22919 [BZ #16892]
22920 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
22921 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
22922
22923 2014-08-12 Sean Anderson <seanga2@gmail.com>
22924
22925 * malloc/malloc.c: Fix typo in comment.
22926
22927 2014-08-09 Allan McRae <allan@archlinux.org>
22928
22929 * Regenerate libc.po.
22930
22931 2014-08-08 Mike Frysinger <vapier@gentoo.org>
22932
22933 * intl/tst-gettext2.sh: Check every lang file for creation.
22934
22935 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
22936
22937 * sysdeps/aarch64/fpu/math_private.h
22938 (libc_feholdsetround_noex_aarch64_ctx): New function.
22939
22940 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
22941
22942 * sysdeps/arm/armv6/strcpy.S (strcpy):
22943 Fix performance issue in misaligned cases.
22944
22945 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22946
22947 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
22948 Move definition from termios.h.
22949 (struct termio): Likewise.
22950 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22951 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22952 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22953 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22954 Likewise.
22955 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
22956 Move definition to ioctl-types.h
22957 (struct termio): Likewise.
22958 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22959 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22960 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22961 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22962 Likewise.
22963
22964 2014-08-05 Richard Henderson <rth@redhat.com>
22965
22966 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
22967 exceptions.
22968 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
22969 Add fraiseexcpt.
22970 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
22971 Use __feraiseexcept.
22972 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
22973 Protect libm symbols with IS_IN_libm.
22974
22975 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
22976
22977 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
22978
22979 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
22980
22981 2014-08-04 Will Newton <will.newton@linaro.org>
22982
22983 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
22984 file.
22985
22986 2014-08-04 Mike Frysinger <vapier@gentoo.org>
22987
22988 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
22989 variants for each function.
22990
22991 2014-08-04 Roland McGrath <roland@hack.frob.com>
22992
22993 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
22994 appended ...
22995 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
22996 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
22997 appended ...
22998 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
22999 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
23000 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
23001 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
23002 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
23003 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
23004 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
23005 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
23006 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
23007 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
23008 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
23009 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
23010 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
23011 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
23012 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
23013 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
23014 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
23015 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
23016 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
23017 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
23018 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
23019 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
23020 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
23021 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
23022 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
23023 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
23024 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
23025 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
23026 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
23027 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
23028 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
23029 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
23030 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
23031 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
23032 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
23033 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
23034 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
23035 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
23036 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
23037 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
23038 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
23039 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
23040 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
23041 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
23042 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
23043 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
23044 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
23045 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
23046 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
23047 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
23048 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
23049 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
23050 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
23051 Update #include.
23052 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
23053 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
23054
23055 2014-08-04 Roland McGrath <roland@hack.frob.com>
23056
23057 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
23058 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
23059 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
23060 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
23061 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
23062 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
23063
23064 2014-08-04 Roland McGrath <roland@hack.frob.com>
23065
23066 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
23067 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
23068 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23069 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
23070
23071 2014-08-04 Roland McGrath <roland@hack.frob.com>
23072
23073 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
23074 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
23075 (__libc_vfork): Define function under this name.
23076 (__vfork): Define as an alias.
23077 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
23078 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
23079
23080 2014-08-04 Roland McGrath <roland@hack.frob.com>
23081
23082 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
23083 that was previously under [RESET_PID].
23084 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
23085
23086 2014-08-04 Andreas Schwab <schwab@suse.de>
23087
23088 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
23089
23090 2014-08-03 Mike Frysinger <vapier@gentoo.org>
23091
23092 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
23093 (main): Likewise.
23094
23095 2014-08-01 Roland McGrath <roland@hack.frob.com>
23096
23097 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
23098
23099 2014-08-01 Richard Henderon <rth@redhat.com>
23100
23101 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
23102 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
23103 typo in exact zero test.
23104 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23105 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23106 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23107
23108 2014-08-01 Roland McGrath <roland@hack.frob.com>
23109
23110 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
23111 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
23112 * sysdeps/arm/sysdep.h: ... here.
23113 [!__ASSEMBLER__]: Include <stdint.h>.
23114
23115 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23116
23117 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
23118 (HAVE_WCTYPE_H): Likewise.
23119 (HAVE_ISWCTYPE): Likewise.
23120 (ENABLE_NLS): Likewise.
23121 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
23122 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
23123
23124 * posix/regex_internal.c: Check if DEBUG is defined and is
23125 set.
23126
23127 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
23128 (HAVE_MBSRTOWCS): Likewise.
23129 * posix/fnmatch.c: Include string.h unconditionally.
23130
23131 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
23132
23133 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
23134 reversal.
23135
23136 2014-07-31 Roland McGrath <roland@hack.frob.com>
23137
23138 * sysdeps/generic/safe-fatal.h: New file.
23139 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
23140 * nptl/forward.c: Include it.
23141 (__pthread_unwind): Use __safe_fatal as default action, rather
23142 than a bogus use of INTERNAL_SYSCALL that could never work.
23143
23144 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
23145 * configure.ac (libc_cv_builtin_trap): New test.
23146 * configure: Regenerated.
23147 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
23148 (ABORT_INSTRUCTION): Define using __builtin_trap.
23149
23150 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
23151 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
23152 * sysdeps/nptl/nptl-signals.h: New file.
23153 * nptl/pthreadP.h: Include <nptl-signals.h>.
23154
23155 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23156
23157 * sysdeps/s390/s390-64/utf16-utf32-z9.c
23158 (ONE_DIRECTION): Define.
23159 * sysdeps/s390/s390-64/utf8-utf16-z9.c
23160 (ONE_DIRECTION): Define.
23161 * sysdeps/s390/s390-64/utf8-utf32-z9.c
23162 (ONE_DIRECTION): Define.
23163
23164 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23165
23166 * sysdeps/s390/Makefile: Delete file.
23167 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
23168 * sysdeps/s390/__longjmp.c: Delete file.
23169 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
23170 Remove fields __flags and __reserved.
23171 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
23172 and add versioning.
23173 * sysdeps/s390/rtld-__longjmp.c: Delete file.
23174 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
23175 * sysdeps/s390/rtld-setjmp.S: Likewise.
23176 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
23177 * sysdeps/s390/s390-32/__longjmp.c: ... here.
23178 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
23179 * sysdeps/s390/s390-32/setjmp.S: ... here.
23180 Add versioning.
23181 (__sigsetjmp): Remove setting __flags field.
23182 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
23183 * sysdeps/s390/s390-64/__longjmp.c: ... here.
23184 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
23185 * sysdeps/s390/s390-64/setjmp.S: ... here.
23186 Add versioning.
23187 (__sigsetjmp): Remove setting __flags field.
23188 * sysdeps/s390/setjmp.S: Delete file.
23189 * sysdeps/s390/sigjmp.c: Likewise.
23190 * sysdeps/s390/v1-longjmp.c: Likewise.
23191 * sysdeps/s390/v1-setjmp.h: Likewise.
23192 * sysdeps/s390/v1-sigjmp.c: Likewise.
23193 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
23194 Remove v1-longjmp_chk.
23195 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
23196 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
23197 Include debug/longjmp_chk.c and add versioning.
23198 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
23199 Include nptl/pt-longjmp.c and add versioning.
23200 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
23201 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
23202 Include __longjmp.c.
23203 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23204 Move to ...
23205 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
23206 (__getcontext): Remove setting __flags field.
23207 Add versioning.
23208 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23209 Don't restore upper high grps.
23210 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
23211 Likewise.
23212 (__swapcontext): Remove setting uc_flags field.
23213 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
23214 Delete file.
23215 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23216 Include __longjmp.c.
23217 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23218 Move to ...
23219 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
23220 (__getcontext): Remove setting __flags field.
23221 Add versioning.
23222 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
23223 (__swapcontext): Remove setting uc_flags field.
23224 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
23225 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
23226 Remove fields uc_high_gprs and __reserved.
23227 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
23228 New file with reverted content.
23229 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
23230 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
23231 Regenerated.
23232 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
23233 Regenerated.
23234
23235 2014-07-31 Andreas Schwab <schwab@suse.de>
23236
23237 * config.h.in (HAVE_IFUNC): Define to 0.
23238 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
23239 definedness.
23240
23241 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
23242
23243 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23244 memmove-avx-unaligned, memcpy-avx-unaligned and
23245 mempcpy-avx-unaligned.
23246 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23247 Add tests for AVX memcpy functions.
23248 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
23249 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
23250 memcpy_chk.
23251 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
23252 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
23253 memmove_chk.
23254 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
23255 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
23256 mempcpy_chk.
23257 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
23258 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
23259 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
23260
23261 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23262
23263 [BZ #17213]
23264 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
23265 powerpc64le.
23266
23267 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
23268
23269 [BZ #16839]
23270 * manual/llio.texi: Add section about open file description locks.
23271 * manual/examples/ofdlocks.c: Example of open file description
23272 lock usage.
23273 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
23274 F_OFD_SETLK, and F_OFD_SETLKW.
23275
23276 2014-07-23 Allan McRae <allan@archlinux.org>
23277
23278 * po/es.po: Update Spanish translation from translation project.
23279
23280 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
23281
23282 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
23283
23284 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
23285
23286 [BZ #17078]
23287 * sysdeps/arm/dl-machine.h (elf_machine_rela)
23288 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
23289 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
23290
23291 2014-07-17 Joseph Myers <joseph@codesourcery.com>
23292
23293 [BZ #17088]
23294 * math/fesetenv.c (__fesetenv)
23295 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
23296 * math/feupdateenv.c (__feupdateenv)
23297 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
23298
23299 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
23300 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
23301 (__ASSUME_SOCKETCALL): Do not define.
23302
23303 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
23304 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
23305 (__ASSUME_SOCKETCALL): Do not define.
23306 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
23307 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23308 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23309 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23310 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23311 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
23312 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23313 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23314
23315 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
23316 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
23317 (__ASSUME_SOCKETCALL): Do not define.
23318 (__ASSUME_IPC64): Define unconditionally.
23319 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23320 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23321 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23322 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23323 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
23324 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23325 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
23326 Likewise.
23327
23328 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
23329 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
23330 (__ASSUME_SOCKETCALL): Do not define.
23331 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
23332 (__ASSUME_FUTEX_LOCK_PI): Likewise.
23333 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23334 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23335 (__ASSUME_REQUEUE_PI): Define unconditionally.
23336 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
23337 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23338 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23339 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
23340 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23341 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23342
23343 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
23344 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
23345 (__ASSUME_SOCKETCALL): Do not define.
23346 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
23347 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23348 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23349 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
23350 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23351 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23352
23353 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
23354 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
23355 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23356 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
23357 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23358 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
23359 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23360 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
23361 (__ASSUME_GETCPU_SYSCALL): Likewise.
23362
23363 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
23364 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
23365 cases for individual architectures.
23366 * sysdeps/gnu/configure: Regenerated.
23367 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
23368 LIBC_SLIBDIR_RTLDDIR.
23369 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
23370 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
23371 LIBC_SLIBDIR_RTLDDIR.
23372 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
23373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
23374 LIBC_SLIBDIR_RTLDDIR.
23375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
23376 Regenerated.
23377 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
23378 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
23379 file.
23380 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
23381 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
23382 file.
23383 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
23384 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
23385 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
23386 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
23387
23388 * sysdeps/aarch64/shlib-versions: Move to ...
23389 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
23390 * sysdeps/alpha/shlib-versions: Move to ...
23391 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
23392 * sysdeps/arm/shlib-versions: Move to ...
23393 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
23394 * sysdeps/hppa/shlib-versions: Move all contents except for
23395 libgcc_s entry to ...
23396 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
23397 entry from ...
23398 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
23399 * sysdeps/ia64/shlib-versions: Move to ...
23400 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
23401 entry from ...
23402 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
23403 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
23404 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
23405 * sysdeps/microblaze/shlib-versions: Move to ...
23406 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
23407 * sysdeps/mips/shlib-versions: Move to ...
23408 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
23409 entry from ...
23410 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
23411 * sysdeps/tile/shlib-versions: Move to ...
23412 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
23413 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
23414 from ...
23415 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
23416 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
23417 entry from ...
23418 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
23419
23420 2014-07-17 Will Newton <will.newton@linaro.org>
23421
23422 * sysdeps/arm/bits/atomic.h
23423 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
23424 (__arch_compare_and_exchange_bool_16_int): Likewise.
23425 (__arch_compare_and_exchange_bool_64_int): Likewise.
23426
23427 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
23428 into an #else block.
23429
23430 2014-07-16 Roland McGrath <roland@hack.frob.com>
23431
23432 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
23433 just Linux configurations. Test empirically that the compiler sets
23434 __ARM_EABI__, rather than using the tuple to decide.
23435 * sysdeps/arm/preconfigure: Regenerated.
23436 * sysdeps/unix/sysv/linux/arm/configure: File removed.
23437 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
23438 contents appended ...
23439 * sysdeps/arm/configure.ac: ... here.
23440 * sysdeps/arm/configure: Regenerated.
23441
23442 2014-07-15 Roland McGrath <roland@hack.frob.com>
23443
23444 * nptl/pthread_kill.c: New file.
23445 * nptl/pthread_sigmask.c: New file.
23446 * nptl/pthread_sigqueue.c: New file.
23447
23448 * sysdeps/nptl/lowlevellock.h: New file.
23449 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
23450 * sysdeps/nptl/lowlevellock-futex.h: New file.
23451
23452 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
23453 Remove dead declarations.
23454
23455 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
23456
23457 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
23458 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
23459 config-cflags-avx2.
23460 * sysdeps/x86_64/configure.ac: Likewise.
23461 * sysdeps/i386/configure: Regenerated.
23462 * sysdeps/x86_64/configure: Likewise.
23463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23464 memset-avx2 only if config-cflags-avx2 is yes.
23465 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23466 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
23467 defined.
23468 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
23469 only if HAVE_AVX2_SUPPORT is defined.
23470 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23471
23472 2014-07-14 Alan Modra <amodra@gmail.com>
23473
23474 [BZ #17153]
23475 * elf/elf.h (DT_PPC64_NUM): Correct value.
23476 * NEWS: Add to fixed bug list.
23477
23478 2014-07-13 Jim Meyering <meyering@fb.com>
23479
23480 [BZ 17150]
23481 regex: don't deref NULL upon heap allocation failure
23482 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
23483 failure in one more place.
23484 To trigger the segfault, configure grep -with-included-regex,
23485 build it, and run these commands:
23486 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
23487
23488 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
23489
23490 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23491
23492 2014-07-11 Richard Henderson <rth@redhat.com>
23493
23494 * sysdeps/aarch64/libm-test-ulps: Update.
23495
23496 2014-07-10 Florian Weimer <fweimer@redhat.com>
23497
23498 [BZ #17135]
23499 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
23500 * nptl/allocatestack.c (__nptl_setxid_error): New function.
23501 (__nptl_setxid): Initialize error member. Call
23502 __nptl_setxid_error.
23503 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
23504 * nptl/descr.h (struct xid_command): Add error member.
23505 * nptl/tst-setuid3.c: New file.
23506 * nptl/Makefile (tests): Add it.
23507
23508 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23509
23510 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
23511 New define.
23512 (__lll_trylock): Use __lll_base_trylock.
23513 (__lll_cond_trylock): Likewise.
23514
23515 2014-07-10 Roland McGrath <roland@hack.frob.com>
23516
23517 * nptl/pthread_create.c (start_thread): Use atomic_or and
23518 lll_futex_wake directly rather than lll_robust_dead.
23519 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
23520 (lll_robust_dead): Macro removed.
23521 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
23522 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
23523 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
23524 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23525 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23526 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
23527 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
23528 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23529 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
23530 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23531 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23532 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23533 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23534 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23535 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23536
23537 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
23538 Use atomic_compare_and_exchange_val_acq directly rather than
23539 lll_robust_trylock.
23540 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
23541 (__lll_robust_trylock, lll_robust_trylock): Removed.
23542 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
23543 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
23544 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23545 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23546 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
23547 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
23548 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23549 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
23550 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23551 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23552 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23553 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23554 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23555 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23556
23557 2014-07-02 Florian Weimer <fweimer@redhat.com>
23558
23559 * manual/locale.texi (Locale Names): New section documenting
23560 locale name syntax. Adjust menu and node chaining accordingly.
23561 (Choosing Locale): Reference Locale Names, Locale Categories.
23562 Mention setting LC_ALL=C. Reflect that name syntax is now
23563 documented.
23564 (Locale Categories): New section title. Reference Locale Names.
23565 LC_ALL is an environment variable, but not a category.
23566 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
23567 description, now in Locale Name. Reference that section. Locale
23568 name syntax is now documented.
23569
23570 2014-07-02 Florian Weimer <fweimer@redhat.com>
23571
23572 [BZ #17137]
23573 * locale/findlocale.c (name_present, valid_locale_name): New
23574 functions.
23575 (_nl_find_locale): Use the loc_name variable to store name
23576 candidates. Call name_present and valid_locale_name to check and
23577 validate locale names. Return an error if the locale is invalid.
23578
23579 2014-07-02 Florian Weimer <fweimer@redhat.com>
23580
23581 * locale/setlocale.c (setlocale): Use strdup for allocating
23582 composite name copy.
23583
23584 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23585
23586 Sync up with gnulib.
23587 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
23588 [!_LIBC && ENABLE_NLS]: Include gettext.h.
23589 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
23590 and _GL_ARG_NONNULL.
23591 [USE_UNLOCKED_IO]: Include unlocked-io.h.
23592 [!_LIBC]: Include code for Windows and Cygwin.
23593 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
23594 Include prototype for int strerror_r.
23595 [!_LIBC] (is_open): New function.
23596 (flush_stdout): New function.
23597 (print_errno_message): Use it.
23598 (error): Likewise.
23599 (error_at_line): Likewise.
23600 (error_tail) Add function attribute macros. Use
23601 __builtin_expect.
23602
23603 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
23604
23605 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
23606
23607 * io/ftw.c: Include sys/param.h unconditionally.
23608
23609 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
23610
23611 [BZ #17125]
23612 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
23613 libc_freeres_ptr.
23614 (freecache): New function to free CACHE on exit.
23615
23616 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
23617 initialization.
23618
23619 2014-07-09 David S. Miller <davem@davemloft.net>
23620
23621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23622
23623 * sysdeps/sparc/nptl/internaltypes.h: Delete.
23624 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
23625 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
23626 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
23627 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
23628 * sysdeps/sparc/nptl/sem_init.c: Likewise.
23629 * sysdeps/sparc/nptl/sem_post.c: Likewise.
23630 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
23631 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
23632 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
23633 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
23634 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
23635 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
23636
23637 2014-07-09 Andreas Schwab <schwab@suse.de>
23638
23639 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
23640 output.
23641 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
23642 (do_test): Likewise.
23643
23644 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23645
23646 2014-07-09 Will Newton <will.newton@linaro.org>
23647
23648 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
23649 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
23650 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
23651 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
23652 * sysdeps/hppa/start.S (_start): Likewise.
23653
23654 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23655
23656 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
23657
23658 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
23659 defined.
23660
23661 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23662
23663 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
23664 after checking that it is non-NULL.
23665
23666 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
23667
23668 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23669
23670 * sysdeps/powerpc/memmove.c: Remove file.
23671 * sysdeps/powerpc/powerpc32/power4/memcopy.h
23672 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
23673 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23674 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
23675 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
23676 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
23677 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
23678 string memmove instead of removed powerpc one.
23679
23680 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23681 [weak_alias]: Fix compiler warning due trailing data.
23682 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
23683 [weak_alias]: Likewise.
23684 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
23685 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
23686
23687 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23688 (__libc_ifunc_impl_list): Add memmove functions.
23689
23690 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23691
23692 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
23693 Remove code.
23694 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
23695 Likewise.
23696 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
23697 Likewise.
23698 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
23699 Likewise.
23700 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
23701 Likewise.
23702 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
23703 Likewise.
23704 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
23705 Likewise.
23706 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
23707 Likewise.
23708 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
23709 Likewise.
23710 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
23711 Likewise.
23712 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
23713 Likewise.
23714 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
23715 Likewise.
23716 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
23717 Likewise.
23718 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
23719 Likewise.
23720 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
23721 Likewise.
23722 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
23723 Likewise.
23724 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
23725 Likewise.
23726
23727 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23728
23729 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
23730 to avoid alignment traps in non-cacheable memory.
23731 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23732
23733 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
23734 multiarch objects.
23735 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
23736 file: multiarch power7 memmove.
23737 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
23738 multiarch default memmove.
23739 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
23740 multiarch memove for powerpc32/power4.
23741
23742 * string/bcopy.c: Use full path to include memmove.c.
23743 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
23744 multiarch objects.
23745 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
23746 bcopy for powerpc64.
23747 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
23748 bcopy for powerpc64.
23749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
23750 and memmove implementations.
23751 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
23752 optimized multiarch memmove for POWER7/powerpc64.
23753 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
23754 default multiarch memmove for powerpc64.
23755 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
23756 multiarch for powerpc64.
23757 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
23758 for POWER7/powerpc64.
23759 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
23760 memmove for POWER7/powerpc64.
23761
23762 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
23763 glibc default one.
23764
23765 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
23766 __ELF_NATIVE_CLASS equal to 64.
23767
23768 2014-07-07 Roland McGrath <roland@hack.frob.com>
23769
23770 * sysdeps/nptl/lowlevellock.h: File removed.
23771
23772 * NEWS: NPTL is no longer an add-on!
23773 * nptl/internaltypes.h: Moved ...
23774 * sysdeps/nptl/internaltypes.h: ... here.
23775 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
23776 * sysdeps/nptl/fork.c: Likewise.
23777 * sysdeps/nptl/gai_misc.h: Likewise.
23778 * sysdeps/nptl/librt-cancellation.c: Likewise.
23779 * sysdeps/nptl/jmp-unwind.c: Likewise.
23780 * sysdeps/nptl/setxid.h: Likewise.
23781 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
23782 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
23783 * sysdeps/unix/sysv/linux/arm/Implies: New file.
23784 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
23785 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
23786 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
23787 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
23788 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
23789 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
23790 * sysdeps/unix/sysv/linux/mips/Implies: New file.
23791 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
23792 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
23793 * sysdeps/unix/sysv/linux/sh/Implies: New file.
23794 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
23795 * sysdeps/unix/sysv/linux/tile/Implies: New file.
23796 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
23797 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
23798 * nptl/Makeconfig: Moved ...
23799 * sysdeps/nptl/Makeconfig: ... here.
23800 * nptl/configure: File removed.
23801 * nptl/ANNOUNCE: File removed.
23802 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
23803 * sysdeps/unix/sysv/linux/configure: Regenerated.
23804
23805 * nptl/Makefile (routines): Add libc_pthread_init,
23806 libc_multiple_threads, register-atfork and unregister-atfork.
23807 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
23808 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
23809 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
23810 pthread-pi-defines.sym, structsem.sym.
23811 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
23812 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
23813 [$(subdir) = nptl] (tests): Add tst-setgetname.
23814 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
23815 * sysdeps/unix/sysv/linux/sigaction.c: Just include
23816 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
23817 [!LIBC_SIGACTION]: Remove aliases.
23818 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
23819 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
23820 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23821 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
23822 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23823 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
23824 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23825 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23826 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
23827 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
23828 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
23829 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
23830 __libc_allocate_rtsig_private.
23831 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
23832 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
23833 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23834 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23835 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
23836 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
23837 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
23838 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
23839 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
23840 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
23841 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
23842 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
23843 * nptl/internaltypes.h: ... here.
23844 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
23845 * sysdeps/nptl/jmp-unwind.c: ... here.
23846 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
23847 * nptl/libc-lowlevellock.c: ... here.
23848 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
23849 * nptl/libc_multiple_threads.c: ... here.
23850 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
23851 * nptl/libc_pthread_init.c: ... here.
23852 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
23853 * nptl/lowlevelbarrier.sym: ... here.
23854 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
23855 * nptl/lowlevelcond.sym: ... here.
23856 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
23857 * nptl/lowlevellock.c: ... here.
23858 * nptl/lowlevellock.h: Moved ...
23859 * sysdeps/nptl/lowlevellock.h: ... here.
23860 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
23861 * nptl/lowlevelrobustlock.c: ... here.
23862 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
23863 * nptl/lowlevelrobustlock.sym: ... here.
23864 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
23865 * nptl/lowlevelrwlock.sym: ... here.
23866 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
23867 * nptl/pt-fork.c: ... here.
23868 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
23869 * nptl/pthread-pi-defines.sym: ... here.
23870 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
23871 * nptl/pthread_attr_getaffinity.c: ... here.
23872 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
23873 * nptl/pthread_attr_setaffinity.c: ... here.
23874 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
23875 * nptl/pthread_mutex_cond_lock.c: ... here.
23876 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
23877 Update #include.
23878 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
23879 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
23880 * nptl/pthread_once.c: ... here, replacing old file.
23881 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
23882 * nptl/pthread_yield.c: ... here.
23883 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
23884 * nptl/register-atfork.c: ... here.
23885 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
23886 * nptl/sem_post.c: ... here.
23887 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
23888 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
23889 * nptl/sem_timedwait.c: ... here.
23890 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
23891 * nptl/sem_trywait.c: ... here.
23892 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
23893 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
23894 * nptl/sem_wait.c: ... here.
23895 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
23896 * nptl/structsem.sym: ... here.
23897 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
23898 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
23899 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
23900 * nptl/unregister-atfork.c: ... here.
23901 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
23902 * nptl/unwindbuf.sym: ... here.
23903 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
23904 * sysdeps/nptl/fork.c: ... here.
23905 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
23906 * sysdeps/nptl/fork.h: ... here.
23907 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
23908 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
23909 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
23910 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
23911 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
23912 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
23913 * sysdeps/unix/sysv/linux/getpid.c: ... here.
23914 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
23915 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
23916 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
23917 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
23918 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
23919 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
23920 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
23921 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
23922 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
23923 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
23924 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
23925 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
23926 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
23927 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
23928 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
23929 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
23930 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
23931 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
23932 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
23933 * sysdeps/unix/sysv/linux/raise.c: ... here.
23934 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
23935 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
23936 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
23937 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
23938 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
23939 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
23940 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
23941 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
23942 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
23943 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
23944 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
23945 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
23946 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
23947 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
23948 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
23949
23950 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23951
23952 * sysdeps/generic/memcopy.h: Add comment for
23953 MEMCPY_OK_FOR_FWD_MEMMOVE.
23954
23955 2014-07-04 Will Newton <will.newton@linaro.org>
23956
23957 * string/memchr.c: Merge from gnulib.
23958 [_LIBC]: Remove conditionals.
23959 (__ptr_t): Remove define.
23960 (LONG_MAX_32_BITS): Likewise.
23961 (LONG_MAX): Likewise.
23962 (MEMCHR): Use ANSI prototype and optimize algorithm.
23963
23964 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
23965
23966 2014-07-03 Roland McGrath <roland@hack.frob.com>
23967
23968 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
23969 (lll_futex_timed_wait_bitset): Fix syscall argument count.
23970
23971 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
23972 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
23973 in a bare environment with no <stdlib.h> installed.
23974 * sysdeps/nptl/configure: Regenerated.
23975
23976 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
23977
23978 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
23979 AC_EGREP_CPP for kernel header checks, so they only succeed if
23980 including <linux/version.h> actually works right.
23981 * sysdeps/unix/sysv/linux/configure: Regenerated.
23982
23983 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
23984 value so it's not diagnosed as unused.
23985
23986 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
23987 thing) with "ifeq ($(subdir),rt)".
23988
23989 2014-07-03 Richard Henderson <rth@redhat.com>
23990
23991 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
23992 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
23993 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
23994
23995 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
23996 (math_force_eval): New.
23997
23998 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
23999 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
24000
24001 * sysdeps/alpha/fpu/s_round.c: Remove file.
24002 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
24003
24004 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
24005 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
24006 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
24007 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
24008 (_dl_start, print_statistics): Likewise.
24009 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
24010 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
24011
24012 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24013 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24014 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24015 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24016 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24017 (HP_SMALL_TIMING_AVAIL): Define.
24018 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24019 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24020 (HP_SMALL_TIMING_AVAIL): Define.
24021 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24022 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24023
24024 * sysdeps/aarch64/hp-timing.h: New file.
24025
24026 * sysdeps/generic/hp-timing.h: Remove dead comment.
24027 * sysdeps/generic/hp-timing-common.h: New file.
24028 * sysdeps/alpha/hp-timing.h: Include it.
24029 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
24030 * sysdeps/i386/i686/hp-timing.h: Likewise.
24031 * sysdeps/ia64/hp-timing.h: Likewise.
24032 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24033 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24034 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24035 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24036 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
24037 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
24038 (hp_timing_t): New.
24039
24040 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
24041 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
24042 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
24043 * elf/rtld.c (_dl_start_final): Likewise.
24044 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
24045 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24046 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24047 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24048 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24049 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24050 (HP_TIMING_DIFF_INIT): Remove.
24051 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24052 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24053 (HP_TIMING_DIFF_INIT): Remove.
24054 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24055 * sysdeps/i386/i686/hp-timing.c: Remove file.
24056 * sysdeps/x86_64/hp-timing.c: Remove file.
24057 * sysdeps/ia64/hp-timing.c: Remove file.
24058 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
24059 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
24060 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
24061 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
24062
24063 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
24064 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
24065 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
24066 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24067 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24068 (HP_TIMING_ACCUM): Remove.
24069 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24070 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
24071 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24072
24073 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
24074 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
24075 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
24076 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
24077 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
24078 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24079 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
24080 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24081
24082 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
24083
24084 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
24085
24086 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
24087
24088 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24089
24090 Sync up with gettext.
24091 * intl/loadmsgcat.c: Define O_BINARY if not defined.
24092 [_MSC_VER]: Include malloc.h
24093 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
24094 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
24095 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
24096 TEMP_FAILURE_RETRY. Cast return of alloca.
24097 [!_LIBC] Call gl_rwlock_init.
24098 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
24099
24100 2014-07-02 Roland McGrath <roland@hack.frob.com>
24101
24102 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
24103 before checking its value.
24104
24105 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24106
24107 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
24108
24109 * debug/memcpy_chk.c: Don't include pagecopy.h.
24110 * debug/mempcpy_chk.c: Likewise.
24111 * string/memcpy.c: Likewise.
24112 * string/memmove.c: Likewise.
24113 * sysdeps/powerpc/memmove.c: Likewise.
24114 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
24115 definition of PAGE_COPY_FWD_MAYBE here...
24116 * sysdeps/generic/pagecopy.h: ... from here.
24117 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
24118
24119 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24120 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24121
24122 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
24123 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
24124 optimizations.
24125 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24126 (__libc_ifunc_impl_list): Likewise.
24127 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
24128 multiarch strcat for PPC64.
24129 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
24130 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
24131
24132 2014-07-02 Roland McGrath <roland@hack.frob.com>
24133
24134 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
24135
24136 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24137
24138 * intl/loadmsgcat.c: Remove declaration of
24139 get_sysdep_segment_value.
24140 (get_sysdep_segment_value): Use ISO C style.
24141 (_nl_load_domain): Use ISO C style. Get rid of redundant
24142 semicolon. Fix typo and formatting in comment.
24143 (_nl_unload_domain): Use ISO C style.
24144
24145 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
24146
24147 2014-07-02 Will Newton <will.newton@linaro.org>
24148
24149 * malloc/obstack.c: Merge from gnulib master.
24150 [HAVE_CONFIG_H]: Remove conditional code.
24151 [!_LIBC]: Include config.h.
24152 [!ELIDE_CODE]: Don't include inttypes.h, include
24153 stdint.h unconditionally.
24154 (print_and_abort): Mark as _Noreturn.
24155 (_obstack_allocated_p): Mark as __attribute_pure__.
24156 (obstack_free): Rename to __obstack_free.
24157 [!__attribute__]: Remove conditional code.
24158 * malloc/obstack.h: Merge from gnulib master.
24159 [__cplusplus]: Move conditional down.
24160 [!__attribute_pure__]: Define __attribute_pure__ here
24161 if it is not already defined.
24162 (_obstack_memory_used): Mark as __attribute_pure__.
24163 [!__obstack_free]: Define as obstack_free.
24164 [__GNUC__]: Remove check for ancient NeXT gcc.
24165
24166 2014-07-02 Will Newton <will.newton@linaro.org>
24167 Paul Eggert <eggert@cs.ucla.edu>
24168
24169 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
24170
24171 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24172
24173 * resolv/gethnamaddr.c: Add comment warning that the file is
24174 not maintained.
24175
24176 2014-07-01 Carlos O'Donell <carlos@redhat.com>
24177
24178 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
24179 entries.
24180
24181 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
24182 entry for aio_cancel and aio_cancel64.
24183 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
24184 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
24185 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
24186 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
24187 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
24188 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
24189 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
24190 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
24191 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
24192 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
24193 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
24194 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
24195 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
24196
24197 2014-07-01 Roland McGrath <roland@hack.frob.com>
24198
24199 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
24200 * nptl/pthread_mutex_lock.c: Likewise.
24201 * nptl/pthread_mutex_timedlock.c: Likewise.
24202 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
24203
24204 2014-07-01 Richard henderson <rth@redhat.com>
24205
24206 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
24207 (__isnan, __isnanl): Remove.
24208 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
24209
24210 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24211
24212 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
24213
24214 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24215
24216 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
24217
24218 * resolv/nss_dns/dns-host.c (getanswer_r)
24219 [MULTI_PTRS_ARE_ALIASES]: Remove code.
24220
24221 2014-07-01 Joseph Myers <joseph@codesourcery.com>
24222
24223 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24224 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
24225 undefine.
24226 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
24227 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
24228
24229 2014-07-01 Roland McGrath <roland@hack.frob.com>
24230
24231 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
24232 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
24233
24234 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
24235 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
24236
24237 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
24238 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
24239 ... here.
24240 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
24241 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
24242
24243 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
24244 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
24245 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
24246 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
24247
24248 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
24249 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
24250 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
24251 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
24252 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
24253 Moved ...
24254 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
24255 ... here.
24256 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
24257 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
24258 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
24259 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
24260 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
24261 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
24262 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
24263 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
24264 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
24265 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
24266 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
24267 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
24268 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
24269 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
24270 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
24271 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
24272 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
24273 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
24274 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
24275 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
24276 ... here.
24277 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
24278 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
24279 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
24280 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
24281 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
24282 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
24283 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
24284 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
24285
24286 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
24287
24288 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
24289 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
24290 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
24291 Add sysdep.
24292
24293 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24294
24295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24296
24297 2014-06-30 Joseph Myers <joseph@codesourcery.com>
24298
24299 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24300 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24301
24302 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24303
24304 * sysdeps/arm/libm-test-ulps: Regenerated.
24305
24306 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
24307 Roland McGrath <roland@hack.frob.com>
24308
24309 * test-skeleton.c (signal_handler): Kill the whole process group
24310 before killing the child individually.
24311 (main): Report any failure on `setpgid'.
24312
24313 2014-06-30 Roland McGrath <roland@hack.frob.com>
24314
24315 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
24316 from _TLS_H to _ARM_NPTL_TLS_H.
24317 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
24318 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
24319
24320 2014-06-30 Joseph Myers <joseph@codesourcery.com>
24321
24322 [BZ #16539]
24323 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
24324 (__expm1l): Return argument unchanged when small but not
24325 subnormal.
24326
24327 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
24328 include macro name.
24329 (_FP_UNPACK_RAW_1_P): Likewise.
24330 (_FP_PACK_RAW_1): Likewise.
24331 (_FP_PACK_RAW_1_P): Likewise.
24332 (_FP_MUL_MEAT_1_wide): Likewise.
24333 (_FP_MUL_MEAT_DW_1_hard): Likewise.
24334 (_FP_MUL_MEAT_1_hard): Likewise.
24335 (_FP_DIV_MEAT_1_imm): Likewise.
24336 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
24337 (_FP_DIV_MEAT_1_udiv): Likewise.
24338 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
24339 (_FP_UNPACK_RAW_2): Likewise.
24340 (_FP_UNPACK_RAW_2_P): Likewise.
24341 (_FP_PACK_RAW_2): Likewise.
24342 (_FP_PACK_RAW_2_P): Likewise.
24343 (_FP_MUL_MEAT_DW_2_wide): Likewise.
24344 (_FP_MUL_MEAT_2_wide): Likewise.
24345 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
24346 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
24347 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
24348 (_FP_MUL_MEAT_2_gmp): Likewise.
24349 (_FP_DIV_MEAT_2_udiv): Likewise.
24350 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
24351 (_FP_FRAC_SRL_4): Likewise.
24352 (_FP_FRAC_SRST_4): Likewise.
24353 (_FP_FRAC_SRS_4): Likewise.
24354 (_FP_UNPACK_RAW_4): Likewise.
24355 (_FP_UNPACK_RAW_4_P): Likewise.
24356 (_FP_PACK_RAW_4): Likewise.
24357 (_FP_PACK_RAW_4_P): Likewise.
24358 (_FP_MUL_MEAT_DW_4_wide): Likewise.
24359 (_FP_MUL_MEAT_4_wide): Likewise.
24360 (_FP_MUL_MEAT_4_gmp): Likewise.
24361 (umul_ppppmnnn): Likewise.
24362 (_FP_DIV_MEAT_4_udiv): Likewise.
24363 (__FP_FRAC_ADD_4): Likewise.
24364 (__FP_FRAC_SUB_3): Likewise.
24365 (__FP_FRAC_SUB_4): Likewise.
24366 (__FP_FRAC_DEC_3): Likewise.
24367 (__FP_FRAC_DEC_4): Likewise.
24368 (__FP_FRAC_ADDI_4): Likewise.
24369 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
24370 (_FP_FRAC_SRL_8): Likewise.
24371 (_FP_FRAC_SRS_8): Likewise.
24372
24373 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
24374 include macro name.
24375 (FP_UNPACK_RAW_EP): Likewise.
24376 (FP_PACK_RAW_E): Likewise.
24377 (FP_PACK_RAW_EP): Likewise.
24378 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
24379 (_FP_ISSIGNAN): Likewise.
24380 (_FP_ADD_INTERNAL): Likewise.
24381 (_FP_FMA): Likewise.
24382 (_FP_CMP): Likewise.
24383 (_FP_SQRT): Likewise.
24384 (_FP_TO_INT): Likewise.
24385 (_FP_FROM_INT): Likewise.
24386 (FP_EXTEND): Likewise.
24387 (_FP_DIV_MEAT_N_loop): Likewise.
24388
24389 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
24390
24391 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
24392 throughout.
24393
24394 2014-06-29 Joseph Myers <joseph@codesourcery.com>
24395
24396 [BZ #17097]
24397 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
24398 result with correct sign in case of exponents that produce
24399 overflow except for X very close to 1.
24400
24401 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
24402
24403 mktime: merge #if/#ifdef usage from glibc
24404 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
24405 as that works with both Glibc's and Gnulib's style.
24406 See thread starting at Siddhesh Poyarekar's bug report at:
24407 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
24408
24409 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24410
24411 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
24412 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
24413 * sysdeps/tile/tilegx/memmove.c: Remove file.
24414
24415 2014-06-27 Joseph Myers <joseph@codesourcery.com>
24416
24417 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
24418 abi-name definition.
24419 * scripts/soversions.awk: Do not handle or generate ABI lines.
24420 * shlib-versions: Remove ABI entries.
24421 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
24422 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
24423
24424 2014-06-27 Roland McGrath <roland@hack.frob.com>
24425
24426 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
24427 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
24428 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
24429 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
24430 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
24431 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
24432 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
24433 Moved ...
24434 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
24435 ... here.
24436 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
24437 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
24438 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
24439 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
24440 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
24441 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
24442 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
24443 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
24444 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
24445 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
24446 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
24447 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
24448 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
24449 Moved ...
24450 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
24451 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
24452 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
24453 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
24454 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
24455 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
24456 Moved ...
24457 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
24458 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
24459 Moved ...
24460 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
24461 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
24462 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
24463 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
24464 Moved ...
24465 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
24466 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
24467 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
24468 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
24469 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
24470 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
24471 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
24472 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
24473 Moved ...
24474 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
24475 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
24476 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
24477 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
24478 Moved ...
24479 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
24480 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
24481 Moved ...
24482 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
24483 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
24484 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
24485 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
24486 Moved ...
24487 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
24488 ... here.
24489 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
24490 Identical file removed.
24491 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
24492 Moved ...
24493 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
24494 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
24495 Identical file removed.
24496 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
24497 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
24498 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
24499 Moved ...
24500 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
24501 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
24502 Identical file removed.
24503 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
24504 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
24505 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
24506 Identical file removed.
24507 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
24508 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
24509 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
24510 Identical file removed.
24511 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
24512 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
24513 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
24514 Identical file removed.
24515 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
24516 Moved ...
24517 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
24518 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
24519 Identical file removed.
24520 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
24521 Moved ...
24522 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
24523 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
24524 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
24525 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
24526 Identical file removed.
24527 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
24528 Moved ...
24529 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
24530 ... here.
24531 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
24532 Identical file removed.
24533 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
24534 Moved ...
24535 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
24536 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
24537 Identical file removed.
24538 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
24539 Moved ...
24540 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
24541 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
24542 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
24543 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
24544 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
24545 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
24546 Moved ...
24547 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
24548 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
24549 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
24550
24551 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
24552 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
24553 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
24554 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
24555 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
24556
24557 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
24558
24559 [BZ #17092]
24560 * nscd/nscd.c (monitor_child): Return exit status of child
24561 instead of return value from wait syscall.
24562
24563 2014-06-27 Joseph Myers <joseph@codesourcery.com>
24564
24565 * configure.ac (libc_commonpagesize): Remove variable.
24566 (libc_relro_required): Likewise.
24567 (libc_cv_z_relro): Remove configure test.
24568 * configure: Regenerated.
24569 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
24570 variable.
24571 (libc_relro_required): Likewise.
24572 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
24573 (libc_relro_required): Likewise.
24574 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
24575 (libc_relro_required): Likewise.
24576 * sysdeps/arm/preconfigure: Regenerated.
24577 * sysdeps/ia64/preconfigure: Remove file.
24578 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
24579 variable.
24580 (libc_relro_required): Likewise.
24581
24582 [BZ #16561]
24583 [BZ #16562]
24584 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
24585 (__ieee754_yn): Set FE_TONEAREST mode internally and then
24586 recompute overflowing results in original rounding mode.
24587 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
24588 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
24589 recompute overflowing results in original rounding mode.
24590 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
24591 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24592 recompute overflowing results in original rounding mode.
24593 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
24594 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24595 recompute overflowing results in original rounding mode.
24596 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
24597 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
24598 recompute overflowing results in original rounding mode.
24599 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
24600 (libc_feholdsetround_ctx): New macro.
24601 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
24602 * sysdeps/i386/fpu/libm-test-ulps: Update.
24603 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
24604
24605 2014-06-26 Joseph Myers <joseph@codesourcery.com>
24606
24607 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
24608 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
24609 corresponding .cpsetup call.
24610
24611 2014-06-26 Roland McGrath <roland@hack.frob.com>
24612
24613 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
24614 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
24615 * sysdeps/arm/Makefile [$(subdir) = csu]
24616 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
24617 (static-only-routines): Add aeabi_read_tp here.
24618 (shared-only-routines): Add libc-aeabi_read_tp here.
24619 (CFLAGS-libc-start.c): Add -fexceptions here.
24620 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
24621 (sysdep_routines, static-only-routines, shared-only-routines):
24622 Don't add to these here.
24623 (CFLAGS-libc-start.c): Likewise.
24624
24625 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
24626 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
24627 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
24628 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
24629 * sysdeps/arm/Makefile [$(subdir) = rt]
24630 (librt-sysdep_routines, librt-shared-only-routines):
24631 Append rt-aeabi_unwind_cpp_pr1 here.
24632 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
24633 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
24634 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
24635 (libpthread-sysdep_routines, libpthread-shared-only-routines):
24636 Append nptl-aeabi_unwind_cpp_pr1 here.
24637 (tests): Filter out tst-cleanupx4 here.
24638 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
24639 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
24640 Don't do those here.
24641
24642 2014-06-26 Joseph Myers <joseph@codesourcery.com>
24643
24644 * scripts/list-sources.sh: Do not handle ports specially.
24645
24646 2014-06-26 Roland McGrath <roland@hack.frob.com>
24647
24648 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
24649 * sysdeps/arm/feupdateenv.c: Likewise.
24650
24651 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
24652
24653 2014-06-26 Joseph Myers <joseph@codesourcery.com>
24654
24655 * manual/texinfo.tex: Update to version 2014-05-05.10 with
24656 trailing whitespace removed.
24657 * scripts/config.guess: Update to version 2014-03-23.
24658 * scripts/config.sub: Update to version 2014-05-01
24659 * scripts/install-sh: Update to version 2013-12-25.23.
24660 * scripts/move-if-change: Update from gnulib.
24661
24662 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24663
24664 * debug/memmove_chk.c: Remove pagecopy.h include.
24665
24666 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
24667
24668 * time/mktime.c (leapyear): Remove inline keyword. The code is now
24669 identical to gnulib mktime.
24670
24671 2014-06-26 Joseph Myers <joseph@codesourcery.com>
24672
24673 * configure.ac: Do not test for machine being rs6000. Do not test
24674 for powerpc*-*soft.
24675 * configure: Regenerated.
24676
24677 [BZ #11505]
24678 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
24679 test.
24680 * configure: Regenerated.
24681 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
24682 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
24683 Remove configure test.
24684 * sysdeps/arm/configure: Regenerated.
24685 * sysdeps/nptl/configure.ac: Do not check
24686 libc_cv_asm_cfi_directives.
24687 * sysdeps/nptl/configure: Regenerated.
24688 * sysdeps/x86_64/nptl/configure.ac: Remove file.
24689 * sysdeps/x86_64/nptl/configure: Remove generated file.
24690 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
24691 unconditional.
24692 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
24693
24694 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24695
24696 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
24697 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
24698 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
24699 it is defined.
24700
24701 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
24702 instead of whether it is defined.
24703 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
24704 * sysdeps/hppa/dl-machine.h: Likewise.
24705 * sysdeps/ia64/dl-machine.h: Likewise.
24706 * sysdeps/m68k/dl-machine.h: Likewise.
24707 * sysdeps/microblaze/dl-machine.h: Likewise.
24708 * sysdeps/mips/dl-machine.: Likewise.
24709 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24710 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24711 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24712 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24713 * sysdeps/sh/dl-machine.h: Likewise.
24714 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24715 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24716 * sysdeps/tile/dl-machine.h: Likewise.
24717 * sysdeps/x86_64/dl-machine.h: Likewise.
24718
24719 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
24720 code.
24721 (verify_persistent_db): Likewise.
24722
24723 2014-06-26 Roland McGrath <roland@hack.frob.com>
24724
24725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
24726 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
24727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
24728 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
24729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24730 Moved ...
24731 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
24732 ... here.
24733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
24734 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
24735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
24736 Identical file removed.
24737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
24738 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
24739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
24740 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
24741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
24742 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
24743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
24744 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
24745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
24746 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
24747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24748 Moved ...
24749 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
24750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
24751 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
24752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
24753 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
24754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24755 Moved ...
24756 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
24757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
24758 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
24759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
24760 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
24761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24762 Identical file removed.
24763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
24764 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
24765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
24766 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
24767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24768 Moved ...
24769 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
24770 ... here.
24771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
24772 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
24773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
24774 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
24775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
24776 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
24777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
24778 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
24779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
24780 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
24781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24782 Moved ...
24783 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
24784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
24785 Moved ...
24786 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
24787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
24788 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
24789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24790 Moved ...
24791 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
24792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
24793 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
24794
24795 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
24796 folded into ...
24797 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
24798 * sysdeps/unix/sysv/linux/s390/Versions
24799 (libpthread: GLIBC_2.19): New version set.
24800 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
24801 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
24802 (librt: GLIBC_2.3.3): New version set.
24803 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
24804 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
24805 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
24806 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
24807 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
24808 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
24809 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
24810 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
24811 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
24812 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
24813 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
24814 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
24815 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
24816 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
24817 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
24818 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
24819 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
24820 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
24821 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
24822 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
24823 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
24824 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
24825 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
24826 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
24827 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
24828 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
24829 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
24830 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
24831 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
24832 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
24833 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
24834 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
24835 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
24836 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
24837 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
24838 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
24839 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
24840 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
24841 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
24842 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
24843 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
24844 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
24845 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
24846 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
24847 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
24848
24849 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
24850 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
24851 (__libc_vfork): Define the function under this name.
24852 [!NOT_IN_libc] (__vfork): Make this an alias.
24853 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24854 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
24855 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
24856 (__libc_vfork): Define the function under this name.
24857 [!NOT_IN_libc] (__vfork): Make this an alias.
24858 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24859 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
24860 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
24861 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
24862 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
24863 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24864
24865 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
24866 code that was previously under [RESET_PID].
24867 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
24868 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
24869 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
24870
24871 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
24872 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
24873 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
24874 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
24875 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
24876 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
24877 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
24878 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
24879 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
24880 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
24881 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
24882 Moved ...
24883 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
24884 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
24885 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
24886 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
24887 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
24888 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
24889 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
24890 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
24891 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
24892 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
24893 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
24894 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
24895 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
24896 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
24897 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
24898 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
24899 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
24900 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
24901 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
24902 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
24903 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
24904 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
24905 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
24906 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
24907 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
24908 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
24909 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
24910 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
24911 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
24912
24913 2014-06-25 Roland McGrath <roland@hack.frob.com>
24914
24915 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
24916 that was previously under [RESET_PID].
24917 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
24918
24919 2014-06-25 Joseph Myers <joseph@codesourcery.com>
24920
24921 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
24922 not undefine and redefine.
24923 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
24924 [O_CLOEXEC]: Make code unconditional.
24925 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
24926 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
24927 <kernel-features.h>.
24928 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
24929 conditional variable definition.
24930 (shm_open) [O_CLOEXEC]: Make code unconditional.
24931 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
24932 code.
24933
24934 * configure.ac (USE_REGPARMS): Don't define here.
24935 * configure: Regenerated.
24936 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
24937 * sysdeps/i386/configure: Regenerated.
24938
24939 * nptl/createthread.c: Don't include kernel-features.h.
24940 * nptl/pthread_cancel.c: Likewise.
24941 * nptl/pthread_condattr_setclock.c: Likewise.
24942 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
24943 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
24944 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
24945 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
24946 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
24947 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
24948 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24949 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
24950 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24951 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
24952 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
24953 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
24954 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
24955 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
24956 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
24957 * nscd/gai.c: Likewise.
24958 * nss/nss_db/db-open.c: Likewise.
24959 * sysdeps/generic/ldsodefs.h: Likewise.
24960 * sysdeps/sh/nptl/tls.h: Likewise.
24961 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
24962 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
24963 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
24964 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
24965 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
24966 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
24967 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
24968 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24969 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24970 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
24971 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
24972 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24973 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
24974 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
24975 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
24976 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
24977 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
24978 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
24979 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
24980 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
24981 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
24982 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
24983 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
24984 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
24985 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
24986 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
24987 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
24988 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
24989 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24990 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
24991 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
24992 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
24993 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
24994 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24995 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24996 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
24997 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24998 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
24999 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
25000 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25001 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25002 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
25003 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
25004 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25005 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
25006 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
25007 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
25008 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
25009 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
25010 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
25011 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
25012 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
25013 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
25014 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
25015 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
25016 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25017 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25018 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
25019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
25021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
25022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
25023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
25024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
25025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
25026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
25027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
25030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
25031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
25032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
25033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
25039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
25040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
25041 * sysdeps/unix/sysv/linux/pread.c: Likewise.
25042 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
25043 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
25044 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
25045 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
25046 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
25047 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
25048 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
25049 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
25050 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
25051 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
25052 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
25053 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
25054 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
25055 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
25056 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
25057 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25058 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
25059 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
25060 * sysdeps/unix/sysv/linux/system.c: Likewise.
25061 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
25062 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25063 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25064 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25065 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25066 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
25067 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25068
25069 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
25070 * configure: Regenerated.
25071 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
25072
25073 * configure.ac (base_machine): Do not set specially for particular
25074 machines here.
25075 * configure: Regenerated.
25076 * sysdeps/powerpc/preconfigure: Move machine and base_machine
25077 settings from configure.ac.
25078 * sysdeps/i386/preconfigure: New file.
25079 * sysdeps/s390/preconfigure: Likewise.
25080 * sysdeps/sh/preconfigure: Likewise.
25081 * sysdeps/sparc/preconfigure: Likewise.
25082
25083 2014-06-25 Roland McGrath <roland@hack.frob.com>
25084
25085 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
25086 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
25087 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
25088 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
25089 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
25090 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
25091 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
25092 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
25093 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
25094 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
25095 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
25096 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
25097 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
25098 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
25099 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
25100 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
25101 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
25102 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
25103 * sysdeps/sparc/sparc64/Makefile: ... appended here.
25104
25105 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
25106 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
25107 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
25108 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
25109 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
25110 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
25111 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
25112 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
25113 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
25114 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
25115 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
25116 * sysdeps/sparc/sparc32/sem_post.c: ... here.
25117 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
25118 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
25119 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
25120 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
25121 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
25122 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
25123 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
25124 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
25125 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
25126 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
25127 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
25128 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
25129 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
25130 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
25131 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
25132 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
25133 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
25134 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
25135 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
25136 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
25137 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
25138 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
25139 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
25140 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
25141 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
25142 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
25143
25144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
25145 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
25146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
25147 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
25148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25149 Moved ...
25150 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
25151 ... here.
25152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
25153 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
25154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
25155 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
25156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
25157 Moved ...
25158 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
25159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
25160 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
25161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
25162 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
25163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
25164 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
25165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25166 Moved ...
25167 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
25168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25169 Moved ...
25170 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
25171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
25172 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
25173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25174 Moved ...
25175 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
25176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
25177 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
25178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
25179 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
25180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
25181 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
25182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
25183 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
25184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25185 Moved ...
25186 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
25187 ... here.
25188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
25189 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
25190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
25191 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
25192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
25193 Moved ...
25194 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
25195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
25196 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
25197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
25198 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
25199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
25200 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
25201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25202 Moved ...
25203 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
25204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25205 Moved ...
25206 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
25207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
25208 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
25209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25210 Moved ...
25211 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
25212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
25213 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
25214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
25215 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
25216
25217 2014-06-25 Joseph Myers <joseph@codesourcery.com>
25218
25219 * timezone/checktab.awk: Update from tzcode 2014e.
25220 * timezone/private.h: Likewise.
25221 * timezone/tzfile.h: Likewise.
25222 * timezone/zdump.c: Likewise.
25223 * timezone/zic.c: Likewise.
25224
25225 * sysdeps/unix/sysv/linux/kernel-features.h
25226 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
25227 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
25228 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
25229 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25230 Remove conditional code.
25231
25232 2014-06-25 Will Newton <will.newton@linaro.org>
25233
25234 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
25235 (_dl_arm_cap_flags): Add HWCAP2 values.
25236 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
25237 (_DL_HWCAP_COUNT): Increase to 37.
25238 (_DL_HWCAP_LAST): New define.
25239 (_DL_HWCAP2_LAST): New define.
25240 (_dl_procinfo): Add support for printing
25241 AT_HWCAP2 entries.
25242 (_dl_string_hwcap): Use _dl_hwcap_string.
25243
25244 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25245
25246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25247
25248 2014-06-25 Joseph Myers <joseph@codesourcery.com>
25249
25250 * README: Do not mention ports directory.
25251
25252 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
25253 Remove macro.
25254 * sysdeps/unix/sysv/linux/futimes.c: Do not include
25255 <kernel-features.h>.
25256 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
25257 conditional variable definition.
25258 (__futimes): Update comment.
25259 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
25260 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
25261
25262 [BZ #16560]
25263 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
25264 arguments close to 0.
25265 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
25266 Likewise.
25267 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
25268 Likewise.
25269 * math/auto-libm-test-in: Add more tests of exp10.
25270 * math/auto-libm-test-out: Regenerated.
25271 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25272
25273 * sysdeps/unix/sysv/linux/kernel-features.h
25274 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
25275 * sysdeps/unix/sysv/linux/readv.c: Do not include
25276 <kernel-features.h>.
25277 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25278 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25279 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25280 unconditional.
25281 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25282 conditional code.
25283 * sysdeps/unix/sysv/linux/writev.c: Do not include
25284 <kernel-features.h>.
25285 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25286 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25287 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25288 unconditional.
25289 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25290 conditional code.
25291
25292 2014-06-25 Will Newton <will.newton@linaro.org>
25293
25294 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
25295 comment changes throughout the file. Remove checks
25296 for HAVE_*_H definitions that are not required.
25297 (__gen_tempname): Call abort if an unknown kind value is
25298 passed.
25299
25300 2014-06-25 Andreas Schwab <schwab@suse.de>
25301
25302 [BZ #17086]
25303 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
25304 scalbln, scalblnf, scalblnl in libc.
25305
25306 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25307
25308 [BZ #17086]
25309 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
25310 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25311 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25312
25313 2014-06-24 Roland McGrath <roland@hack.frob.com>
25314
25315 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
25316 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
25317 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
25318 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
25319 Update #include.
25320 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
25321 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
25322 Update #include.
25323 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
25324 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
25325 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
25326 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
25327 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
25328 * sysdeps/x86/bits/pthreadtypes.h: ... here.
25329 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
25330 * sysdeps/x86/bits/semaphore.h: ... here.
25331 * sysdeps/x86/nptl/elide.h: Moved ...
25332 * sysdeps/x86/elide.h: ... here.
25333 * sysdeps/x86_64/nptl/Implies: File removed.
25334 * sysdeps/i386/nptl/Implies: File removed.
25335
25336 2014-06-24 Joseph Myers <joseph@codesourcery.com>
25337
25338 [BZ #16539]
25339 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
25340 return the argument for normal arguments with exponent below -64.
25341 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25342 Likewise.
25343 * math/auto-libm-test-in: Add another test of expm1.
25344 * math/auto-libm-test-out: Regenerated.
25345
25346 [BZ #16287]
25347 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
25348 calling __erfcl for arguments at least 16.
25349 * math/auto-libm-test-in: Add more tests of erf.
25350 * math/auto-libm-test-out: Regenerated.
25351
25352 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
25353 individual architectures.
25354 * sysdeps/unix/sysv/linux/configure: Regenerated.
25355 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
25356 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
25357 * sysdeps/unix/sysv/linux/powerpc/configure.ac
25358 (ldd_rewrite_script): Define variable.
25359 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
25361 file.
25362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
25363 generated file.
25364 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
25365 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
25366 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
25367 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
25368 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
25369 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
25370 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
25371 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
25372
25373 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25374
25375 [BZ #17084]
25376 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
25377 Rename member __data.d to __data.__elision_data.
25378
25379 2014-06-24 Wilco <wdijkstr@arm.com>
25380
25381 * NEWS: Add 16918 to fixed bug list.
25382
25383 2014-06-24 Wilco <wdijkstr@arm.com>
25384
25385 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
25386
25387 2014-06-24 Wilco <wdijkstr@arm.com>
25388
25389 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
25390 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
25391 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
25392 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
25393 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
25394 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
25395 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
25396 Use _FPU_MASK_RM.
25397
25398 2014-06-24 Wilco <wdijkstr@arm.com>
25399
25400 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
25401
25402 2014-06-24 Wilco <wdijkstr@arm.com>
25403
25404 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
25405 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
25406 * sysdeps/arm/fesetround.c (fesetround): Remove space.
25407 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
25408
25409 2014-06-24 Wilco <wdijkstr@arm.com>
25410
25411 [BZ #16918]
25412 * sysdeps/arm/feupdateenv.c (feupdateenv):
25413 Rewrite to reduce FPSCR accesses and fix return value.
25414
25415 2014-06-24 Wilco <wdijkstr@arm.com>
25416
25417 * sysdeps/arm/fclrexcpt.c (feclearexcept):
25418 Optimize to avoid unnecessary FPSCR writes.
25419 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
25420 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
25421 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
25422 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
25423
25424 2014-06-24 Wilco <wdijkstr@arm.com>
25425
25426 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
25427 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
25428 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
25429 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
25430 Call libc_fetestexcept_vfp.
25431 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
25432 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
25433 __SOFTFP__ ifdef so that they can be built for softfp.
25434
25435 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25436
25437 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
25438 argument type signed char.
25439
25440 * Makerules (check-abi): Dump diff of symlist if the test
25441 fails.
25442
25443 2014-06-23 Roland McGrath <roland@hack.frob.com>
25444
25445 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
25446 using abort.
25447
25448 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
25449 Remove unused variable ST.
25450
25451 2014-06-23 Joseph Myers <joseph@codesourcery.com>
25452
25453 [BZ #16354]
25454 [BZ #17061]
25455 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
25456 small arguments before calling __expm1.
25457 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
25458 small arguments before calling __expm1f.
25459 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
25460 small arguments before calling __expm1l.
25461 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25462 Likewise.
25463 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
25464 * math/auto-libm-test-in: Add more cosh tests. Do not allow
25465 spurious underflow for some cosh tests.
25466 * math/auto-libm-test-out: Regenerated.
25467 * sysdeps/i386/fpu/libm-test-ulps: Update.
25468
25469 [BZ #17050]
25470 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
25471 (__ieee754_y1): Set errno if return value overflows.
25472 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
25473 (__ieee754_y1f): Set errno if return value overflows.
25474 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
25475 (__ieee754_y1l): Set errno if return value overflows.
25476 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
25477 (__ieee754_y1l): Set errno if return value overflows.
25478 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
25479 * math/auto-libm-test-out: Regenerated.
25480
25481 * math/gen-auto-libm-tests.c: Document use of
25482 ignore-zero-inf-sign.
25483 (input_flag_type): Add value flag_ignore_zero_inf_sign.
25484 (input_flags): Add ignore-zero-inf-sign.
25485 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
25486 * math/gen-libm-test.pl (generate_testfile): Handle
25487 ignore-zero-inf-sign.
25488 * math/auto-libm-test-in: Mark some cpow tests with
25489 ignore-zero-inf-sign and some with xfail-rounding.
25490 * math/auto-libm-test-out: Regenerated.
25491 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
25492 * sysdeps/i386/fpu/libm-test-ulps: Update.
25493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25494
25495 [BZ #16315]
25496 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
25497 overflowing or underflowing operations take place with sign of
25498 result.
25499 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25500 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25501 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
25502 (__ieee754_pow): Recompute overflowing and underflowing results in
25503 original rounding mode.
25504 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
25505 (__powl_helper): Allow negative argument X and scale negated value
25506 as needed. Avoid passing value outside [-1, 1] to f2xm1.
25507 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
25508 overflowing or underflowing operations take place with sign of
25509 result.
25510 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
25511 Include <math.h>.
25512 * math/auto-libm-test-in: Add more tests of pow.
25513 * math/auto-libm-test-out: Regenerated.
25514 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
25515 (pow_tonearest_test_data): Remove.
25516 (pow_test_tonearest): Likewise.
25517 (pow_towardzero_test_data): Likewise.
25518 (pow_test_towardzero): Likewise.
25519 (pow_downward_test_data): Likewise.
25520 (pow_test_downward): Likewise.
25521 (pow_upward_test_data): Likewise.
25522 (pow_test_upward): Likewise.
25523 (main): Don't call removed functions.
25524 * sysdeps/i386/fpu/libm-test-ulps: Update.
25525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25526
25527 2014-06-23 Roland McGrath <roland@hack.frob.com>
25528
25529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
25530 Moved ...
25531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
25532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25533 Moved ...
25534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
25535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25536 Moved ...
25537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
25538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25539 Moved ...
25540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
25541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25542 File removed.
25543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25544 File removed.
25545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
25546 File removed.
25547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
25548 File removed.
25549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
25550 File removed.
25551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
25552 File removed.
25553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
25554 File removed.
25555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25556 File removed.
25557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
25558 File removed.
25559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25560 File removed.
25561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
25562 File removed.
25563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
25564 File removed.
25565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
25566 Moved ...
25567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
25568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
25569 Moved ...
25570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
25571 ... here.
25572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
25573 Moved ...
25574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
25575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
25576 Moved ...
25577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
25578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
25579 Moved ...
25580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
25581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
25582 Moved ...
25583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
25584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
25585 Moved ...
25586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
25587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
25588 Moved ...
25589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
25590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
25591 Moved ...
25592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
25593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
25594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
25595 ... here.
25596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
25597 Moved ...
25598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
25599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25600 Moved ...
25601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25602 ... here.
25603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
25604 Moved ...
25605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25606 ... here.
25607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25608 Moved ...
25609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25610 ... here.
25611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25612 Moved ...
25613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
25614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25615 Moved ...
25616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
25617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
25618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
25619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25620 Moved ...
25621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
25622 ... here.
25623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25624 Moved ...
25625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
25626 ... here.
25627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25628 Moved ...
25629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
25630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25631 Moved ...
25632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
25633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25634 Moved ...
25635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
25636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25637 Moved ...
25638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
25639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25640 Moved ...
25641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
25642 ... here.
25643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25644 Moved ...
25645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
25646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25647 Moved ...
25648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
25649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25650 Moved ...
25651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
25652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25653 Moved ...
25654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
25655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
25656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
25657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25658 Moved ...
25659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
25660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25661 Moved ...
25662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
25663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25664 Moved ...
25665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
25666 ... here.
25667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25668 Moved ...
25669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
25670 ... here.
25671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25672 Moved ...
25673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
25674 ... here.
25675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25676 Moved ...
25677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
25678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25679 Moved ...
25680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
25681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25682 Moved ...
25683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
25684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25685 Moved ...
25686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
25687 ... here.
25688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25689 Moved ...
25690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
25691 ... here.
25692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25693 Moved ...
25694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
25695 ... here.
25696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25697 Moved ...
25698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
25699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25700 Moved ...
25701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
25702
25703 2014-06-23 Will Newton <will.newton@linaro.org>
25704 Wilco <wdijkstr@arm.com>
25705
25706 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
25707 implementation. Include get-rounding-mode.h.
25708 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
25709 [!libc_feholdsetround_noex_ctx]: Define
25710 libc_feholdsetround_noex_ctx.
25711 [!libc_feholdsetround_noexf_ctx]: Define
25712 libc_feholdsetround_noexf_ctx.
25713 [!libc_feholdsetround_noexl_ctx]: Define
25714 libc_feholdsetround_noexl_ctx.
25715 (libc_feholdsetround_ctx): New function.
25716 (libc_feresetround_ctx): New function.
25717 (libc_feholdsetround_noex_ctx): New function.
25718 (libc_feresetround_noex_ctx): New function.
25719
25720 2014-06-23 Roland McGrath <roland@hack.frob.com>
25721
25722 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
25723 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
25724 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
25725 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
25726 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
25727 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
25728
25729 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
25730 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
25731 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
25732 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
25733 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
25734 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
25735 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
25736 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
25737 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
25738 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
25739 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
25740 Moved ...
25741 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
25742 ... here.
25743 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
25744 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
25745 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
25746 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
25747 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
25748 Moved ...
25749 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
25750 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
25751 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
25752 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
25753 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
25754 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
25755 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
25756 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
25757 Moved ...
25758 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
25759 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
25760 Moved ...
25761 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
25762 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
25763 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
25764 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
25765 Moved ...
25766 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
25767 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
25768 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
25769 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
25770 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
25771 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
25772 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
25773 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
25774 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
25775 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
25776 Moved ...
25777 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
25778 ... here.
25779 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
25780 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
25781 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
25782 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
25783 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
25784 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
25785 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
25786 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
25787 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
25788 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
25789 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
25790 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
25791 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
25792 Moved ...
25793 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
25794 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
25795 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
25796 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
25797 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
25798 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
25799 Moved ...
25800 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
25801 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
25802 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
25803 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
25804 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
25805
25806 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
25807 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
25808 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
25809 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
25810 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
25811 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
25812 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
25813 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
25814 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
25815 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
25816 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
25817 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
25818 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
25819 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
25820 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
25821 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
25822 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
25823 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
25824 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
25825 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
25826 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
25827 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
25828 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
25829 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
25830 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
25831 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
25832 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
25833 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
25834
25835 2014-06-23 Joseph Myers <joseph@codesourcery.com>
25836
25837 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
25838 (FALLOC_FL_COLLAPSE_RANGE): New macro.
25839 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
25840 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
25841 (IPV6_PMTUDISC_INTERFACE): Likewise.
25842 (IPV6_PMTUDISC_OMIT): Likewise.
25843
25844 2014-06-23 Andreas Schwab <schwab@suse.de>
25845
25846 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
25847 Remove unused errout label.
25848
25849 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25850
25851 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
25852 macro: hardware supports Vector Crypto instructions.
25853
25854 2014-06-23 Will Newton <will.newton@linaro.org>
25855
25856 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
25857 rather than __builtin_expect.
25858
25859 * elf/dl-lookup.c (undefined_msg): Remove variable.
25860 (_dl_lookup_symbol_x): Replace undefined_msg with string
25861 literal.
25862
25863 * elf/dl-lookup.c (do_lookup_unique): New function.
25864 (do_lookup_x): Move STB_GNU_UNIQUE handling code
25865 to a separate function.
25866
25867 2014-06-23 Andreas Schwab <schwab@suse.de>
25868
25869 [BZ #17079]
25870 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
25871 before reading the next line.
25872
25873 2014-06-23 Will Newton <will.newton@linaro.org>
25874
25875 * test-skeleton.c (signal_handler): Use printf and %m
25876 rather than perror. Use printf rather than fprintf to
25877 stderr. Use puts rather than fputs to stderr.
25878 (main): Likewise.
25879
25880 2014-06-22 Ludovic Courtès <ludo@gnu.org>
25881
25882 * nscd/nscd.c (thread_info_t): Remove typedef.
25883 (thread_info): Remove variable.
25884
25885 2014-06-21 Allan McRae <allan@archlinux.org>
25886
25887 * NEWS: Mention CVE-2014-4043.
25888
25889 2014-06-20 Roland McGrath <roland@hack.frob.com>
25890
25891 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
25892 * nptl/smp.h: ... here.
25893
25894 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
25895
25896 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
25897 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
25898 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
25899 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
25900
25901 * nptl/allocatestack.c: Include <stack-aliasing.h>.
25902 * nptl/stack-aliasing.h: New file.
25903 * sysdeps/i386/i686/stack-aliasing.h: New file.
25904 * sysdeps/i386/i686/nptl/Makefile: File removed.
25905 * sysdeps/x86_64/stack-aliasing.h: New file.
25906 * sysdeps/x86_64/nptl/Makefile
25907 (CFLAGS-pthread_create.c): Variable removed.
25908
25909 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
25910 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
25911 old file.
25912 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
25913 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
25914 old file.
25915
25916 2014-06-21 Joseph Myers <joseph@codesourcery.com>
25917
25918 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25919 (__ASSUME_SIGFRAME_V2): Remove macro.
25920 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
25921 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
25922 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
25923 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
25924 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
25925 Declare as function. Remove conditional macro definitions.
25926 (__default_rt_sa_restorer): Likewise.
25927 (__default_sa_restorer_v1): Remove declaration.
25928 (__default_sa_restorer_v2): Likewise.
25929 (__default_rt_sa_restorer_v1): Likewise.
25930 (__default_rt_sa_restorer_v2): Likewise.
25931 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
25932 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
25933 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
25934
25935 2014-06-20 Roland McGrath <roland@hack.frob.com>
25936
25937 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
25938 (libpthread-routines): Add sysdep.
25939 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
25940 * sysdeps/unix/sysv/linux/sparc/Versions
25941 (libpthread: GLIBC_2.3.3): New version set.
25942 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
25943 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
25944 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
25945 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
25946 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
25947 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
25948 Moved ...
25949 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
25950 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
25951 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
25952 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
25953 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
25954 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
25955 * sysdeps/sparc/nptl/sem_init.c: ... here.
25956 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
25957 * sysdeps/sparc/nptl/sem_post.c: ... here.
25958 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
25959 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
25960 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
25961 * sysdeps/sparc/nptl/sem_wait.c: ... here.
25962 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
25963 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
25964 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
25965 (libpthread-routines): Add cpu_relax.
25966 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
25967 File removed.
25968 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
25969 (librt: GLIBC_2.3.3): New version set.
25970 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
25971 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
25972 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
25973 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
25974 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
25975 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
25976 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
25977 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
25978 Moved ...
25979 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
25980 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
25981 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
25982 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
25983 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
25984 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
25985 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
25986 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
25987 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
25988 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
25989 Moved ...
25990 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
25991 Update #include.
25992 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
25993 Moved ...
25994 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
25995 Update #include.
25996 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
25997 Moved ...
25998 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
25999 Update #include.
26000 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
26001 Moved ...
26002 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
26003 Update #include.
26004 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
26005 Moved ...
26006 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
26007 Update #include.
26008 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
26009 Moved ...
26010 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
26011 Update #include.
26012 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
26013 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
26014 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
26015 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
26016 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
26017 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
26018 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
26019 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
26020 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
26021 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
26022 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26023 Moved ...
26024 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
26025 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
26026 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
26027 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
26028 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
26029
26030 2014-06-20 Joseph Myers <joseph@codesourcery.com>
26031
26032 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
26033 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
26034 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26035 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
26036 * nscd/nscd.c: Likewise.
26037 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
26038 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
26039 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
26040 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
26041
26042 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
26043 <kernel-features.h>.
26044 (init_mq_netlink): Remove conditional have_sock_cloexec
26045 definitions. Remove code conditional on have_sock_cloexec < 0.
26046 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
26047 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
26048 * sysdeps/unix/sysv/linux/opensock.c: Do not include
26049 <kernel-features.h>.
26050 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
26051 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
26052
26053 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
26054
26055 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26056 Add tests for memset_chk and memset.
26057
26058 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
26059 with AVX2_Usable.
26060
26061 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
26062
26063 [BZ #16046]
26064 * elf/tst-dl-iter-static.c: New file.
26065 * elf/Makefile (tests-static): Add tst-dl-iter-static.
26066
26067 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
26068 error.
26069
26070 2014-06-20 Joseph Myers <joseph@codesourcery.com>
26071
26072 * sysdeps/unix/sysv/linux/kernel-features.h
26073 (__ASSUME_F_GETOWN_EX): Remove macro.
26074 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
26075 <kernel-features.h>.
26076 (miss_F_GETOWN_EX): Remove variable or macro.
26077 (do_fcntl): Do not check miss_F_GETOWN_EX.
26078 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
26079
26080 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
26081 Remove macro.
26082 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
26083 [!__ASSUME_AT_RANDOM]: Remove conditional code.
26084 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
26085
26086 * sysdeps/unix/sysv/linux/kernel-features.h
26087 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
26088 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
26089 [ADJ_OFFSET_SS_READ]: Make code unconditional.
26090 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
26091
26092 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
26093
26094 [BZ #17075]
26095 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
26096 Fix calculation of the symbol's value.
26097 * sysdeps/arm/tst-armtlsdescloc.c: New file.
26098 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
26099 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
26100 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
26101 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
26102 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
26103 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
26104 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
26105 (modules-names): Add `tst-armtlsdescmod',
26106 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
26107 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
26108 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26109 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
26110 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
26111 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26112 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
26113 ($(objpfx)tst-armtlsdescloc): New dependency.
26114 ($(objpfx)tst-armtlsdescextnow): Likewise.
26115 ($(objpfx)tst-armtlsdescextlazy): Likewise.
26116 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
26117 TLS scheme support.
26118 * sysdeps/arm/configure: Regenerate.
26119
26120 2014-06-20 Joseph Myers <joseph@codesourcery.com>
26121
26122 * include/fcntl.h (__atfct_seterrno): Remove prototype.
26123 (__atfct_seterrno_2): Likewise.
26124 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
26125 <kernel-features.h>.
26126 (__ASSUME_ATFCTS): Do not undefine and redefine.
26127 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
26128 (__have_atfcts): Remove conditional definition.
26129 (__fxstatat([__NR_fstatat64]: Make code unconditional.
26130 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
26131 unreachable if [__ASSUME_ATFCTS].
26132 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
26133 not undefine and redefine.
26134 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
26135 <kernel-features.h>.
26136 (faccessat) [__NR_faccessat]: Make code unconditional.
26137 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
26138 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
26139 <kernel-features.h>.
26140 (fchmodat) [__NR_fchmodat]: Make code unconditional.
26141 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26142 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
26143 <kernel-features.h>.
26144 (fchownat) [__NR_fchownat]: Make code unconditional.
26145 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
26146 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
26147 <kernel-features.h>.
26148 (futimesat) [__NR_futimesat]: Make code unconditional.
26149 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
26150 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26151 <kernel-features.h>.
26152 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26153 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26154 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26155 <kernel-features.h>.
26156 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
26157 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26158 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
26159 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26160 <kernel-features.h>.
26161 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
26162 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26163 * sysdeps/unix/sysv/linux/linkat.c: Do not include
26164 <kernel-features.h>.
26165 (linkat) [__NR_linkat]: Make code unconditional.
26166 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26167 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
26168 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
26169 <kernel-features.h>.
26170 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
26171 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26172 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
26173 <kernel-features.h>.
26174 (mkdirat) [__NR_mkdirat]: Make code unconditional.
26175 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
26176 * sysdeps/unix/sysv/linux/openat.c: Do not include
26177 <kernel-features.h>.
26178 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
26179 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
26180 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
26181 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
26182 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
26183 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
26184 <kernel-features.h>.
26185 (readlinkat) [__NR_readlinkat]: Make code unconditional.
26186 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
26187 result of INLINE_SYSCALL directly, not via int variable.
26188 * sysdeps/unix/sysv/linux/renameat.c: Do not include
26189 <kernel-features.h>.
26190 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
26191 (renameat) [__NR_renameat]: Make code unconditional.
26192 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
26193 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
26194 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
26195 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
26196 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
26197 (__ASSUME_ATFCTS): Do not undefine and redefine.
26198 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
26199 <kernel-features.h>.
26200 (symlinkat) [__NR_symlinkat]: Make code unconditional.
26201 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26202 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
26203 <kernel-features.h>.
26204 (unlinkat) [__NR_unlinkat]: Make code unconditional.
26205 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26206 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
26207 (__ASSUME_ATFCTS): Do not undefine and redefine.
26208 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26209 <kernel-features.h>.
26210 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26211 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26212 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26213 <kernel-features.h>.
26214 (__xmknodat) [__NR_mknodat]: Make code unconditional.
26215 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26216
26217 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
26218
26219 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
26220
26221 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
26222
26223 [BZ #17069]
26224 * posix/regcomp.c (parse_reg_exp): Deallocate partially
26225 constructed tree before returning error.
26226 * posix/bug-regexp36.c: Expand test case.
26227
26228 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
26229
26230 [BZ #6803]
26231 * math/libm-test.inc (scalbln_test_date):
26232 Add errno expectations.
26233 * math/w_scalblnf.c: New File.
26234 Add wrapper which checks for setting errno to ERANGE.
26235 Add weak_alias for corresponding scalbln function.
26236 * math/w_scalbln.c: Likewise.
26237 * math/w_scalblnl.c: Likewise.
26238 * math/Makefile (libm-calls): Add w_scalbln.
26239 * sysdeps/ieee754/flt-32/s_scalblnf.c:
26240 Remove weak_alias for corresponding scalbln function.
26241 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26242 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26243 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26244 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26245 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
26246 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
26247 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
26248 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
26249 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
26250 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
26251 Remove long_double_symbol for scalblnl function in libm, libc.
26252 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
26253 Add wrapper which checks for setting errno to ERANGE.
26254 Add long_double_symbol for scalblnl function in libm, libc.
26255 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
26256 Remove long_double_symbol for scalblnl in libm.
26257 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
26258 Add wrapper which checks for setting errno to ERANGE.
26259 Add long_double_symbol for scalblnl function in libm.
26260 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
26261 Do not use wrapper because of own implementation.
26262
26263 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
26264
26265 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
26266 3 bytes for __pad1 for x32.
26267 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
26268
26269 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
26270 H.J. Lu <hongjiu.lu@intel.com>
26271
26272 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
26273 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
26274 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26275 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26276 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26277
26278 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
26279
26280 [BZ #17069]
26281 * posix/regcomp.c (parse_expression): Deallocate partially
26282 constructed tree before returning error.
26283 * posix/Makefile.c (tests): Add bug-regex36.
26284 (generated): Add bug-regex36.mtrace.
26285 (tests-special): Add $(objpfx)bug-regex36-mem.out
26286 (bug-regex36-ENV): New variable.
26287 ($(objpfx)bug-regex36-mem.out): New rule.
26288 * posix/bug-regex36.c: New file.
26289
26290 2014-06-19 Will Newton <will.newton@linaro.org>
26291
26292 * malloc/malloc.c (systrim): If extra is zero then return
26293 early.
26294
26295 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26296
26297 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
26298
26299 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
26300
26301 * sysdeps/aarch64/strchr.S: New file.
26302
26303 2014-06-18 Joseph Myers <joseph@codesourcery.com>
26304
26305 [BZ #17022]
26306 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
26307 from arguments -2 or below.
26308 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
26309 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
26310
26311 2014-06-18 Andreas Schwab <schwab@suse.de>
26312
26313 [BZ #17062]
26314 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
26315 of a bracket expr not to run off the end of the string.
26316 * posix/Makefile (tests): Add tst-fnmatch3.
26317 * posix/tst-fnmatch3.c: New file.
26318
26319 2014-06-18 Joseph Myers <joseph@codesourcery.com>
26320
26321 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
26322 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26323 [$(cross-compiling) = no]: Likewise.
26324 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26325 [$(cross-compiling) = no]: Likewise.
26326
26327 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26328
26329 [BZ #17031]
26330 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
26331 double, adjusted for any remainder from the high double.
26332 * math/libm-test.inc (nearbyint): Add tests.
26333 (rint): Likewise.
26334
26335 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26336
26337 * nptl/sysdeps/powerpc/Makefile: Moved ...
26338 * sysdeps/powerpc/nptl/Makefile: ... here.
26339 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
26340 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
26341 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
26342 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
26343 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
26344 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
26345 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
26346 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
26347 * nptl/sysdeps/powerpc/tls.h: Moved ...
26348 * sysdeps/powerpc/nptl/tls.h: ... here.
26349
26350 2014-06-16 Joseph Myers <joseph@codesourcery.com>
26351
26352 [BZ #16681]
26353 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
26354 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
26355 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
26356 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
26357 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
26358 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
26359 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
26360 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
26361 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
26362
26363 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
26364
26365 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26366
26367 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
26368
26369 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
26370 defined operator.
26371
26372 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
26373 $TIMEOUTFACTOR.
26374
26375 2014-06-16 Florian Weimer <fweimer@redhat.com>
26376
26377 [BZ #17058]
26378 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
26379 non-executed part of the test.
26380
26381 2014-06-16 Andreas Schwab <schwab@suse.de>
26382
26383 * string/bits/string2.h (strdup, strndup): Update feature guard.
26384
26385 2014-06-14 David S. Miller <davem@davemloft.net>
26386
26387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26388
26389 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
26390
26391 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
26392 that was previously under [RESET_PID].
26393 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
26394
26395 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
26396 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
26397 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
26398 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26399 (__libc_vfork): New strong alias.
26400 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
26401
26402 2014-06-14 Andi Kleen <ak@linux.intel.com>
26403
26404 * sysdeps/generic/elide.h: New file.
26405
26406 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
26407
26408 * Makefile (installed-headers): Adjust path of pthread.h header.
26409
26410 2014-06-13 Roland McGrath <roland@hack.frob.com>
26411
26412 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
26413 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
26414 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
26415 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
26416
26417 * nptl/sysdeps/s390/Makefile: Moved ...
26418 * sysdeps/s390/nptl/Makefile: ... here.
26419 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
26420 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
26421 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
26422 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
26423 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
26424 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
26425 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
26426 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
26427 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
26428 * sysdeps/s390/nptl/pthreaddef.h: ... here.
26429 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
26430 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
26431 * nptl/sysdeps/s390/tls.h: Moved ...
26432 * sysdeps/s390/nptl/tls.h: ... here.
26433
26434 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
26435 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
26436
26437 2014-06-13 David S. Miller <davem@davemloft.net>
26438
26439 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
26440 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
26441 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
26442 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
26443 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
26444 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
26445 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
26446 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
26447 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
26448 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
26449 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
26450 Remove RESET_PID cpp guards.
26451 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
26452 Remove RESET_PID cpp guards.
26453 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
26454
26455 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
26456
26457 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
26458 __sp to uintptr_t.
26459
26460 2014-06-13 Andi Kleen <ak@linux.intel.com>
26461
26462 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
26463 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
26464 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
26465 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
26466 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
26467 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
26468 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
26469 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
26470 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
26471 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
26472 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
26473 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
26474 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
26475 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
26476 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
26477 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
26478 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
26479 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
26480 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
26481 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
26482
26483 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
26484 (pthread_rwlock_rdlock): Add elision.
26485 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
26486 (pthread_rwlock_wrlock): Add elision.
26487 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
26488 (pthread_rwlock_trywrlock): Add elision.
26489 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
26490 (pthread_rwlock_tryrdlock): Add elision.
26491 * nptl/pthread_rwlock_unlock.c: Include elide.h.
26492 (pthread_rwlock_tryrdlock): Add elision unlock.
26493 * nptl/sysdeps/pthread/pthread.h:
26494 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
26495 (PTHREAD_RWLOCK_INITIALIZER,
26496 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
26497 Handle new elision field.
26498 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
26499 * sysdeps/arm/nptl/bits/pthreadtypes.h
26500 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26501 * sysdeps/sh/nptl/bits/pthreadtypes.h
26502 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26503 * sysdeps/tile/nptl/bits/pthreadtypes.h
26504 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26505 * sysdeps/a/nptl/bits/pthreadtypes.h
26506 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26507 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
26508 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26509 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
26510 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26511 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
26512 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26513 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
26514 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26515 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
26516 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26517 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
26518 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26519 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
26520 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26521 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
26522 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26523 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
26524 (elision_init): Set try_xbegin to zero when no RTM.
26525 * sysdeps/x86/nptl/bits/pthreadtypes.h
26526 (pthread_rwlock_t): Change __pad1 to __rwelision.
26527 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26528
26529 2014-06-13 Andi Kleen <ak@linux.intel.com>
26530
26531 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
26532 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
26533 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
26534 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
26535
26536 2014-06-13 Meador Inge <meadori@codesourcery.com>
26537
26538 [BZ #16996]
26539 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
26540 that the cached result has been set before returning it.
26541
26542 2014-06-12 Roland McGrath <roland@hack.frob.com>
26543
26544 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
26545 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
26546 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
26547 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
26548 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
26549 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
26550
26551 * nptl/sysdeps/sparc/Makefile: Moved ...
26552 * sysdeps/sparc/nptl/Makefile: ... here.
26553 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
26554 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
26555 * nptl/sysdeps/sparc/tls.h: Moved ...
26556 * sysdeps/sparc/nptl/tls.h: ... here.
26557 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
26558 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
26559 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
26560 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
26561 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
26562 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
26563 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
26564 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
26565 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
26566 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
26567 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
26568 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
26569 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
26570 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
26571 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
26572 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
26573 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
26574 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
26575 Update #include.
26576 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
26577 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
26578 Update #include.
26579 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
26580 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
26581 Update #include.
26582 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
26583 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
26584 Update #include.
26585
26586 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26587
26588 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
26589 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
26590
26591 * sysdeps/pthread/posix-timer.h: Include <list.h>.
26592 (struct list_links): Type removed.
26593 (struct thread_node, struct timer_node): Replace struct list_links
26594 with struct list_head.
26595 (list_unlink_ip): Likewise.
26596 * sysdeps/pthread/timer_routines.c
26597 (timer_free_list, thread_free_list, thread_active_list): Likewise.
26598 (list_append, list_insbefore): Likewise.
26599 (list_init): Function removed.
26600 (thread_init, init_module): Use INIT_LIST_HEAD instead.
26601 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
26602 * sysdeps/pthread/Makefile: ... here, new file.
26603
26604 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
26605 * sysdeps/nptl/Implies: ... here.
26606 * sysdeps/unix/sysv/linux/Implies: Add nptl.
26607 * nptl/sysdeps/pthread/list.h: Moved ...
26608 * include/list.h: ... here.
26609 * nptl/sysdeps/pthread/createthread.c: Moved ...
26610 * nptl/createthread.c: ... here.
26611 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
26612 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
26613 * nptl/pt-longjmp.c: ... here.
26614 * nptl/sysdeps/pthread/Makefile: Moved ...
26615 * sysdeps/nptl/Makefile: ... here.
26616 * nptl/sysdeps/pthread/Subdirs: Moved ...
26617 * sysdeps/nptl/Subdirs: ... here.
26618 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
26619 * sysdeps/nptl/aio_misc.h: ... here.
26620 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
26621 * sysdeps/nptl/bits/libc-lock.h: ... here.
26622 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
26623 * sysdeps/nptl/bits/libc-lockP.h: ... here.
26624 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
26625 * sysdeps/nptl/bits/stdio-lock.h: ... here.
26626 * nptl/sysdeps/pthread/configure: Moved ...
26627 * sysdeps/nptl/configure: ... here.
26628 * nptl/sysdeps/pthread/configure.ac: Moved ...
26629 * sysdeps/nptl/configure.ac: ... here.
26630 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
26631 * sysdeps/nptl/gai_misc.h: ... here.
26632 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
26633 * sysdeps/nptl/librt-cancellation.c: ... here.
26634 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
26635 * sysdeps/nptl/malloc-machine.h: ... here.
26636 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
26637 * sysdeps/nptl/pthread-functions.h: ... here.
26638 * nptl/sysdeps/pthread/pthread.h: Moved ...
26639 * sysdeps/nptl/pthread.h: ... here.
26640 * nptl/sysdeps/pthread/setxid.h: Moved ...
26641 * sysdeps/nptl/setxid.h: ... here.
26642 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
26643 * sysdeps/nptl/sigfillset.c: ... here.
26644 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
26645 * sysdeps/nptl/tcb-offsets.h: ... here.
26646 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
26647 * sysdeps/nptl/tst-mqueue8x.c: ... here.
26648 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
26649 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
26650 * nptl/sysdeps/pthread/allocalim.h: Moved ...
26651 * sysdeps/pthread/allocalim.h: ... here.
26652 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
26653 * sysdeps/pthread/bits/sigthread.h: ... here.
26654 * nptl/sysdeps/pthread/flockfile.c: Moved ...
26655 * sysdeps/pthread/flockfile.c: ... here.
26656 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
26657 * sysdeps/pthread/ftrylockfile.c: ... here.
26658 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
26659 * sysdeps/pthread/funlockfile.c: ... here.
26660 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
26661 * sysdeps/pthread/posix-timer.h: ... here.
26662 * nptl/sysdeps/pthread/timer_create.c: Moved ...
26663 * sysdeps/pthread/timer_create.c: ... here.
26664 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
26665 * sysdeps/pthread/timer_delete.c: ... here.
26666 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
26667 * sysdeps/pthread/timer_getoverr.c: ... here.
26668 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
26669 * sysdeps/pthread/timer_gettime.c: ... here.
26670 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
26671 * sysdeps/pthread/timer_routines.c: ... here.
26672 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
26673 * sysdeps/pthread/timer_settime.c: ... here.
26674 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
26675 * sysdeps/pthread/tst-timer.c: ... here.
26676 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
26677 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
26678
26679 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
26680 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
26681
26682 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
26683 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
26684 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
26685 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
26686 Update #include target.
26687 * nptl/sysdeps/i386/i686/Makefile: Moved ...
26688 * sysdeps/i386/i686/nptl/Makefile: ... here.
26689 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
26690 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
26691 Update #include target.
26692 * nptl/sysdeps/i386/i686/tls.h: Moved ...
26693 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
26694 * nptl/sysdeps/i386/Makefile: Moved ...
26695 * sysdeps/i386/nptl/Makefile: ... here.
26696 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
26697 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
26698 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
26699 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
26700 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
26701 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
26702 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
26703 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
26704 * sysdeps/i386/nptl/pthreaddef.h: ... here.
26705 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
26706 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
26707 * nptl/sysdeps/i386/tls.h: Moved ...
26708 * sysdeps/i386/nptl/tls.h: ... here.
26709
26710 * sysdeps/sh/Makefile [$(subdir) = csu]
26711 (gen-as-const-headers): Add tcb-offsets.sym.
26712 * nptl/sysdeps/sh/Makefile: File removed.
26713 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
26714 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
26715 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
26716 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
26717 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
26718 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
26719 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
26720 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
26721 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
26722 * sysdeps/sh/nptl/pthreaddef.h: ... here.
26723 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
26724 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
26725 * nptl/sysdeps/sh/tls.h: Moved ...
26726 * sysdeps/sh/nptl/tls.h: ... here.
26727 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
26728 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
26729 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
26730 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
26731 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
26732 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
26733 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
26734 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
26735 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
26736 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
26737 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
26738 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
26739 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
26740 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
26741 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
26742 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
26743 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
26744 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
26745 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
26746 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
26747 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
26748 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
26749 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
26750 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
26751 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
26752 Moved ...
26753 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
26754 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
26755 Moved ...
26756 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
26757 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
26758 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
26759 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
26760 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
26761 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
26762 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
26763 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
26764 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
26765 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
26766 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
26767 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
26768 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
26769 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
26770 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
26771 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
26772 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
26773 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
26774 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
26775
26776 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
26777
26778 * posix/spawn_faction_addopen.c: Include string.h.
26779
26780 2014-06-11 Roland McGrath <roland@hack.frob.com>
26781
26782 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
26783 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
26784 * nptl/sysdeps/x86_64/Makefile: Moved ...
26785 * sysdeps/x86_64/nptl/Makefile: ... here.
26786 * nptl/sysdeps/x86_64/configure: Moved ...
26787 * sysdeps/x86_64/nptl/configure: ... here.
26788 * nptl/sysdeps/x86_64/configure.ac: Moved ...
26789 * sysdeps/x86_64/nptl/configure.ac: ... here.
26790 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
26791 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
26792 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
26793 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
26794 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
26795 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
26796 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
26797 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
26798 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
26799 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
26800 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
26801 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
26802 * nptl/sysdeps/x86_64/tls.h: Moved ...
26803 * sysdeps/x86_64/nptl/tls.h: ... here.
26804 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
26805 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
26806 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
26807 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
26808
26809 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
26810
26811 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26812
26813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26814
26815 2014-06-11 Joseph Myers <joseph@codesourcery.com>
26816
26817 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
26818 type.
26819 [POSIX] (off_t): Likewise.
26820 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
26821 [POSIX] (S_ISBLK): Require macro.
26822 [POSIX] (S_ISCHR): Likewise.
26823 [POSIX] (S_ISDIR): Likewise.
26824 [POSIX] (S_ISFIFO): Likewise.
26825 [POSIX] (S_ISREG): Likewise.
26826 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
26827 optional-macro.
26828 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
26829 type.
26830 [POSIX] (time_t): Likewise.
26831 [POSIX] (timer_t): Likewise.
26832
26833 2014-06-11 Florian Weimer <fweimer@redhat.com>
26834
26835 [BZ #17048]
26836 * posix/spawn_int.h (struct __spawn_action): Make the path string
26837 non-const to support deallocation.
26838 * posix/spawn_faction_addopen.c
26839 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
26840 * posix/spawn_faction_destroy.c
26841 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
26842 path in all spawn_do_open actions.
26843 * posix/tst-spawn.c (do_test): Exercise the copy operation in
26844 posix_spawn_file_actions_addopen.
26845
26846 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
26847
26848 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
26849 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
26850 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
26851 conditional code always true.
26852 (__libc_vfork): New alias.
26853
26854 2014-06-11 Roland McGrath <roland@hack.frob.com>
26855
26856 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26857 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
26858
26859 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
26860
26861 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26862 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
26863
26864 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26865 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
26866
26867 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26868 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
26869
26870 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
26871
26872 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
26873 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
26874 multiarch strcmp for PPC64.
26875 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
26876 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
26877 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
26878 multiarch optimizations.
26879 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26880 (__libc_ifunc_impl_list): Likewise.
26881
26882 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26883
26884 * benchtests/scripts/validate_benchout.py: New script.
26885 * benchtests/Makefile (bench-func): Call it.
26886 * benchtests/scripts/benchout.schema.json: New file.
26887
26888 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
26889
26890 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
26891 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
26892 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
26893 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
26894 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
26895 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
26896 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
26897 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
26898 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
26899 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
26900 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
26901 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
26902 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
26903 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
26904 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
26905 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
26906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
26907 Moved ...
26908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
26909 ... here.
26910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
26911 Moved ...
26912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
26913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
26914 Moved ...
26915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
26916 ... here.
26917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
26918 Moved ...
26919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
26920 ... here.
26921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
26922 Moved ...
26923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
26924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
26925 Moved ...
26926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
26927 ... here.
26928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
26929 Moved ...
26930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
26931 ... here.
26932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
26933 Moved ...
26934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
26935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
26936 Moved ...
26937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
26938 ... here.
26939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
26940 Moved ...
26941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
26942 ... here.
26943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
26944 Moved ...
26945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
26946 ... here.
26947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
26948 Moved ...
26949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
26950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
26951 Moved ...
26952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
26953 ... here.
26954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
26955 Moved ...
26956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
26957 ... here.
26958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
26959 Moved ...
26960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
26961 ... here.
26962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
26963 Moved ...
26964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
26965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
26966 Moved ...
26967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
26968 ... here.
26969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
26970 Moved ...
26971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
26972 ... here.
26973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
26974 Moved ...
26975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
26976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
26977 Moved ...
26978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
26979 ... here.
26980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
26981 Moved ...
26982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
26983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
26984 Moved ...
26985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
26986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
26987 Moved ...
26988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
26989 ... here.
26990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
26991 Moved ...
26992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
26993 ... here.
26994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
26995 Moved ...
26996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
26997 ... here.
26998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
26999 Moved ...
27000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
27001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
27002 Moved ...
27003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
27004 ... here.
27005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
27006 Moved ...
27007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
27008 ... here.
27009 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
27010 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
27011 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
27012 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
27013 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
27014 Moved ...
27015 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
27016 ... here.
27017 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
27018 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
27019 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
27020 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
27021 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
27022 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
27023 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
27024 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
27025 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
27026 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
27027 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
27028 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
27029 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
27030 Moved ...
27031 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
27032 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
27033 Moved ...
27034 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
27035 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
27036 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
27037 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
27038 Moved ...
27039 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
27040 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
27041 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
27042 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
27043 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
27044 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
27045 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
27046
27047 2014-06-10 Wilco <wdijkstr@arm.com>
27048
27049 * math/test-fenv-return.c: New file.
27050 * math/Makefile: Add new test test-fenv-return.
27051
27052 2014-06-10 Joseph Myers <joseph@codesourcery.com>
27053
27054 [BZ #17042]
27055 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
27056 when x - 1 is zero.
27057 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
27058 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
27059 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
27060 0.0L for an argument of 1.0L.
27061 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27062 Likewise.
27063 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
27064 value when x - 1 is zero.
27065 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
27066 * sysdeps/i386/fpu/libm-test-ulps: Update.
27067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27068
27069 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
27070
27071 [BZ #15119]
27072 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
27073
27074 2014-06-09 Roland McGrath <roland@hack.frob.com>
27075
27076 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
27077 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
27078
27079 2014-06-09 Roland McGrath <roland@hack.frob.com>
27080
27081 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27082 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
27083
27084 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27085 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
27086
27087 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27088 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
27089
27090 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27091 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
27092
27093 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
27094 if not already defined.
27095 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
27096 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
27097 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
27098 (TLS_INIT_TP): Use it.
27099 (TLS_DEFINE_INIT_TP): New macro.
27100 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
27101
27102 2014-06-09 Joseph Myers <joseph@codesourcery.com>
27103
27104 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
27105 constant.
27106 [POSIX] (IXANY): Likewise.
27107 [POSIX] (OLCUC): Likewise.
27108 [POSIX || POSIX2008] (CBAUD): Do not allow.
27109 [POSIX || POSIX2008] (DEFECHO): Likewise.
27110 [POSIX || POSIX2008] (ECHOCTL): Likewise.
27111 [POSIX || POSIX2008] (ECHOKE): Likewise.
27112 [POSIX || POSIX2008] (ECHOPRT): Likewise.
27113 [POSIX || POSIX2008] (EXTA): Likewise.
27114 [POSIX || POSIX2008] (EXTB): Likewise.
27115 [POSIX || POSIX2008] (FLUSHO): Likewise.
27116 [POSIX || POSIX2008] (LOBLK): Likewise.
27117 [POSIX || POSIX2008] (PENDIN): Likewise.
27118 [POSIX || POSIX2008] (SWTCH): Likewise.
27119 [POSIX || POSIX2008] (VDISCARD): Likewise.
27120 [POSIX || POSIX2008] (VDSUSP): Likewise.
27121 [POSIX || POSIX2008] (VLNEXT): Likewise.
27122 [POSIX || POSIX2008] (VREPRINT): Likewise.
27123 [POSIX || POSIX2008] (VSTATUS): Likewise.
27124 [POSIX || POSIX2008] (VWERASE): Likewise.
27125 (B*): Change to B[0123456789]*.
27126 * conform/data/time.h-data [POSIX || UNIX98]
27127 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
27128 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27129 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
27130 [POSIX] (tm_*): Do not allow.
27131
27132 2014-06-07 Joseph Myers <joseph@codesourcery.com>
27133
27134 * Makefile (install): Don't set LANGUAGE.
27135 * Makefile.in (install): Likewise.
27136 * assert/Makefile (test-assert-ENV): Remove variable.
27137 (test-assert-perr-ENV): Likewise.
27138 * elf/Makefile (neededtest4-ENV): Likewise.
27139 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27140 [$(cross-compiling) = no]: Don't set LANGUAGE.
27141 * io/ftwtest-sh (LANG): Remove variable.
27142 * libio/Makefile (tst-widetext-ENV): Likewise.
27143 * manual/install.texi (Running make install): Don't refer to
27144 environment settings for make install.
27145 * INSTALL: Regenerated.
27146 * nptl/tst-tls6.sh: Don't set LANG.
27147 * posix/globtest.sh (LANG): Remove variable.
27148 * string/Makefile (tester-ENV): Likewise.
27149 (inl-tester-ENV): Likewise.
27150 (noinl-tester-ENV): Likewise.
27151 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27152 [$(cross-compiling) = no]: Don't set LANGUAGE.
27153 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
27154 without explicit environment settings.
27155
27156 2014-06-06 Roland McGrath <roland@hack.frob.com>
27157
27158 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
27159 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
27160 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
27161 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
27162
27163 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
27164
27165 * crypt/crypt-private.h [DOS]: Add some includes taken from the
27166 other files in the crypt directory.
27167 * crypt/crypt.c: Remove duplicate includes.
27168 * crypt/crypt-entry.c: Likewise.
27169 * crypt/crypt_util.c: Likewise.
27170
27171 2014-06-06 Joseph Myers <joseph@codesourcery.com>
27172
27173 * Makeconfig (run-program-env): New variable.
27174 (run-program-prefix-before-env): Likewise.
27175 (run-program-prefix-after-env): Likewise.
27176 (run-program-prefix): Define in terms of new variables.
27177 (built-program-cmd-before-env): New variable.
27178 (built-program-cmd-after-env): Likewise.
27179 (built-program-cmd): Define in terms of new variables.
27180 (test-program-prefix-before-env): New variable.
27181 (test-program-prefix-after-env): Likewise.
27182 (test-program-prefix): Define in terms of new variables.
27183 (test-program-cmd-before-env): New variable.
27184 (test-program-cmd-after-env): Likewise.
27185 (test-program-cmd): Define in terms of new variables.
27186 * Rules (make-test-out): Use $(run-program-env).
27187 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
27188 (help): Do not mention environment variables. Mention
27189 --timeoutfactor option.
27190 (timeoutfactor): New variable.
27191 (blacklist_exports): Remove function.
27192 (exports): Remove variable.
27193 (command): Do not include ${exports}.
27194 * manual/install.texi (Configuring and compiling): Do not mention
27195 test wrappers preserving environment variables. Mention that last
27196 assignment to a variable must take precedence.
27197 * INSTALL: Regenerated.
27198 * benchtests/Makefile (run-bench): Use $(run-program-env).
27199 * catgets/Makefile ($(objpfx)test1.cat): Use
27200 $(built-program-cmd-before-env), $(run-program-env) and
27201 $(built-program-cmd-after-env).
27202 ($(objpfx)test2.cat): Do not specify environment variables
27203 explicitly.
27204 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
27205 $(run-program-env) and $(built-program-cmd-after-env).
27206 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
27207 $(run-program-env) and $(test-program-cmd-after-env).
27208 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
27209 explicitly.
27210 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
27211 run_program_env and test_program_cmd_after_env arguments.
27212 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
27213 * elf/tst-pathopt.sh: Use run_program_env argument.
27214 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
27215 $(test-wrapper-env) and $(run-program-env).
27216 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
27217 run_program_env arguments.
27218 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
27219 * intl/Makefile ($(objpfx)tst-gettext.out): Use
27220 $(test-program-prefix-before-env), $(run-program-env) and
27221 $(test-program-prefix-after-env).
27222 ($(objpfx)tst-gettext2.out): Likewise.
27223 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
27224 run_program_env and test_program_prefix_after_env arguments.
27225 * intl/tst-gettext2.sh: Likewise.
27226 * intl/tst-gettext4.sh: Do not set environment variables
27227 explicitly.
27228 * intl/tst-gettext6.sh: Likewise.
27229 * intl/tst-translit.sh: Likewise.
27230 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
27231 $(test-program-prefix-before-env), $(run-program-env) and
27232 $(test-program-prefix-after-env).
27233 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
27234 run_program_env and test_program_prefix_after_env arguments.
27235 * math/Makefile (run-regen-ulps): Use $(run-program-env).
27236 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
27237 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
27238 explicitly with each use of ${test_wrapper_env}.
27239 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
27240 $(test-program-prefix-before-env), $(run-program-env) and
27241 $(test-program-prefix-after-env).
27242 * posix/tst-getconf.sh: Do not set environment variables
27243 explicitly.
27244 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
27245 run_program_env and test_program_prefix_after_env arguments.
27246 * stdio-common/tst-printf.sh: Do not set environment variables
27247 explicitly.
27248 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
27249 $(test-program-prefix-before-env), $(run-program-env) and
27250 $(test-program-prefix-after-env).
27251 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
27252 run_program_env and test_program_prefix_after_env arguments.
27253 Split $test calls into $test_pre and $test.
27254 * timezone/Makefile (build-testdata): Use
27255 $(built-program-cmd-before-env), $(run-program-env) and
27256 $(built-program-cmd-after-env).
27257
27258 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27259
27260 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
27261 strlen for non SHARED builds.
27262
27263 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27264
27265 * nptl/allocatestack.c (check_list): Inlined function...
27266 (__reclaim_stacks): ... here.
27267
27268 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
27269
27270 [BZ #15698]
27271 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27272 memory overrun.
27273
27274 2014-06-05 Joseph Myers <joseph@codesourcery.com>
27275
27276 * Rules (make-test-out): Include
27277 LOCPATH=$(common-objpfx)localedata in default environment.
27278 * debug/Makefile (tst-chk1-ENV): Remove variable.
27279 (tst-chk2-ENV): Likewise.
27280 (tst-chk3-ENV): Likewise.
27281 (tst-chk4-ENV): Likewise.
27282 (tst-chk5-ENV): Likewise.
27283 (tst-chk6-ENV): Likewise.
27284 (tst-lfschk1-ENV): Likewise.
27285 (tst-lfschk2-ENV): Likewise.
27286 (tst-lfschk3-ENV): Likewise.
27287 (tst-lfschk4-ENV): Likewise.
27288 (tst-lfschk5-ENV): Likewise.
27289 (tst-lfschk6-ENV): Likewise.
27290 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
27291 (tst-iconv7-ENV): Likewise.
27292 * intl/Makefile (LOCPATH-ENV): Likewise.
27293 (tst-codeset-ENV): Likewise.
27294 (tst-gettext3-ENV): Likewise.
27295 (tst-gettext5-ENV): Likewise.
27296 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
27297 (tst-fopenloc-ENV): Likewise.
27298 (tst-fgetws-ENV): Remove variable.
27299 (tst-ungetwc1-ENV): Likewise.
27300 (tst-ungetwc2-ENV): Likewise.
27301 (bug-ungetwc2-ENV): Likewise.
27302 (tst-swscanf-ENV): Likewise.
27303 (bug-ftell-ENV): Likewise.
27304 (tst-fgetwc-ENV): Likewise.
27305 (tst-fseek-ENV): Likewise.
27306 (tst-ftell-partial-wide-ENV): Likewise.
27307 (tst-ftell-active-handler-ENV): Likewise.
27308 (tst-ftell-append-ENV): Likewise.
27309 * posix/Makefile (tst-fnmatch-ENV): Likewise.
27310 (tst-regexloc-ENV): Likewise.
27311 (bug-regex1-ENV): Likewise.
27312 (tst-regex-ENV): Likewise.
27313 (tst-regex2-ENV): Likewise.
27314 (bug-regex5-ENV): Likewise.
27315 (bug-regex6-ENV): Likewise.
27316 (bug-regex17-ENV): Likewise.
27317 (bug-regex18-ENV): Likewise.
27318 (bug-regex19-ENV): Likewise.
27319 (bug-regex20-ENV): Likewise.
27320 (bug-regex22-ENV): Likewise.
27321 (bug-regex23-ENV): Likewise.
27322 (bug-regex25-ENV): Likewise.
27323 (bug-regex26-ENV): Likewise.
27324 (bug-regex30-ENV): Likewise.
27325 (bug-regex32-ENV): Likewise.
27326 (bug-regex33-ENV): Likewise.
27327 (bug-regex34-ENV): Likewise.
27328 (bug-regex35-ENV): Likewise.
27329 (tst-rxspencer-ENV): Likewise.
27330 (tst-rxspencer-no-utf8-ENV): Likewise.
27331 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
27332 (tst-sscanf-ENV): Likewise.
27333 (tst-swprintf-ENV): Likewise.
27334 (tst-swscanf-ENV): Likewise.
27335 (test-vfprintf-ENV): Likewise.
27336 (scanf13-ENV): Likewise.
27337 (bug14-ENV): Likewise.
27338 (tst-grouping-ENV): Likewise.
27339 * stdlib/Makefile (tst-strtod-ENV): Likewise.
27340 (tst-strtod3-ENV): Likewise.
27341 (tst-strtod4-ENV): Likewise.
27342 (tst-strtod5-ENV): Likewise.
27343 (testmb2-ENV): Likewise./
27344 * string/Makefile (tst-strxfrm-ENV): Likewise.
27345 (tst-strxfrm2-ENV): Likewise.
27346 (bug-strcoll1-ENV): Likewise.
27347 (test-strcasecmp-ENV): Likewise.
27348 (test-strncasecmp-ENV): Likewise.
27349 * time/Makefile (tst-strptime-ENV): Likewise.
27350 (tst-ftime_l-ENV): Likewise.
27351 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
27352 (tst-mbrtowc-ENV): Likewise.
27353 (tst-wcrtomb-ENV): Likewise.
27354 (tst-mbrtowc2-ENV): Likewise.
27355 (tst-c16c32-1-ENV): Likewise.
27356 (tst-mbsnrtowcs-ENV): Likewise.
27357
27358 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
27359
27360 * manual/resource.texi (How to get information about the memory
27361 subsystem?): Fix typo.
27362 Reported by Peon de la Parra Ivan <peon@keba.com>
27363
27364 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
27365
27366 [BZ #16882]
27367 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
27368 (pthread_spin_lock): Branch out of spin loop to proper location.
27369 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
27370 (pthread_spin_lock): Likewise.
27371
27372 * nptl/tst-spin4.c: New test.
27373 * nptl/Makefile (tests): Add tst-spin4.
27374
27375 2014-06-03 Andreas Schwab <schwab@suse.de>
27376
27377 [BZ #15946]
27378 * resolv/res_send.c (send_dg): Reload file descriptor after
27379 calling reopen.
27380
27381 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
27382
27383 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27384
27385 2014-06-03 Richard Henderson <rth@redhat.com>
27386
27387 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
27388 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
27389 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
27390 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
27391 in the SAVE_PID block.
27392 (__libc_vfork): New alias.
27393 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
27394
27395 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
27396 child in registers, not on the stack. Remove RESET_PID conditionals.
27397 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
27398
27399 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
27400
27401 * sysdeps/aarch64/libm-test-ulps: Regenerate.
27402
27403 2014-06-03 Wilco <wdijkstr@arm.com>
27404
27405 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
27406 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
27407 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
27408 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
27409 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
27410 Likewise.
27411
27412 2014-06-03 Wilco <wdijkstr@arm.com>
27413
27414 * sysdeps/aarch64/fpu/math_private.h
27415 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
27416 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
27417 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
27418 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
27419 Fix declarations.
27420
27421 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
27422
27423 * crypt/crypt-private.h: Include ufc-crypt.h.
27424 (__b64_from_24bit): Declare extern.
27425 * crypt/crypt_util.c(__b64_from_24bit): New function.
27426 (b64t): New static const variable.
27427 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
27428 (b64t): Remove variable.
27429 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
27430 * crypt/sha256-crypt.c: Include crypt-private.h.
27431 (b64t): Remove variable.
27432 (__sha256_crypt_r): Remove b64_from_24bit and replace
27433 with __b64_from_24bit.
27434 * crypt/sha512-crypt.c: Likewise.
27435
27436 2014-06-02 Roland McGrath <roland@hack.frob.com>
27437
27438 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
27439 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
27440 Label the code __libc_vfork rather than __vfork.
27441 [!NOT_IN_libc] (vfork): Define as weak alias.
27442 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
27443 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
27444 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
27445
27446 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27447
27448 * malloc/malloc.c (malloc_info): Fix format specifier for
27449 n_mmaps.
27450
27451 2014-06-02 Wilco <wdijkstr@arm.com>
27452
27453 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
27454 FPCR write.
27455
27456 2014-06-02 Wilco <wdijkstr@arm.com>
27457
27458 [BZ #17009]
27459 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
27460 Rewrite to reduce FPCR/FPSR accesses.
27461
27462 2014-06-01 David S. Miller <davem@davemloft.net>
27463
27464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27465
27466 2014-05-31 David S. Miller <davem@davemloft.net>
27467
27468 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
27469 to occur in round to nearest mode when |x| >= 2.0
27470
27471 2014-05-30 Richard Henderson <rth@twiddle.net>
27472
27473 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
27474 (PSEUDO_RET_NOERRNO): Remove.
27475 (ret): Don't redefine.
27476 (ret_NOERRNO): Define in terms of ret.
27477 (ret_ERRVAL): Likewise.
27478
27479 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
27480 use of PSEUDO_RET; perform the error check directly.
27481
27482 2014-05-30 Marko Myllynen <myllynen@redhat.com>
27483
27484 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
27485 with __int128_t.
27486
27487 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27488
27489 * malloc/malloc (malloc_info): Fix formatting.
27490
27491 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27492 Roland McGrath <roland@hack.frob.com>
27493
27494 * malloc/malloc (malloc_info): Also print mmapped statistics.
27495
27496 2014-05-30 Roland McGrath <roland@hack.frob.com>
27497
27498 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
27499 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
27500
27501 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
27502
27503 * malloc/malloc.c (malloc_info): Inline mi_arena.
27504
27505 2014-05-29 Richard Henderson <rth@twiddle.net>
27506
27507 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
27508 Remove comma before expanding ASM_ARGS_##nr.
27509 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
27510 Make _x0 a strict output; make _x8 a strict input; adjust expansion
27511 of ASM_ARGS_##nr.
27512 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
27513 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
27514 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
27515 (ASM_ARGS_1): Add leading comma.
27516
27517 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
27518 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
27519 to __errno_location.
27520 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
27521 Remove the expected plt for __errno_location.
27522
27523 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27524 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
27525 call to __read_tp.
27526
27527 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27528 Always allocate 64 bytes of stack frame. Use ldp/stp to create
27529 it and break it down.
27530 (DOCARGS_0, DOCARGS_1): Do nothing.
27531 (DOCARGS_2): Update to store into the new stack frame.
27532 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
27533 (UNDOCARGS_1): Update to restore from the new stack frame.
27534 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
27535 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
27536
27537 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27538 (SINGLE_THREAD_P): New parameter for result regno.
27539 (PSEUDO): Update to match; use cbz instead of beq.
27540
27541 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27542 Use ENTRY to define the _nocancel entry point. Share the syscall
27543 and syscall error check paths with the cancel path.
27544 (PSEUDO_END): New.
27545
27546 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
27547 whitespace; tabs before and after asm mnemonics.
27548
27549 2014-05-29 Eric Wong <normalperson@yhbt.net>
27550
27551 [BZ #15132]
27552 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27553 Call fstat64 or stat64 internally, depending on arguments passed.
27554 Replace stat buffer argument with file descriptor argument.
27555 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
27556 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
27557 Pass fd to __internal_statvfs instead of calling fstat64.
27558 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
27559 Pass fd to __internal_statvfs64 instead of calling fstat64.
27560 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
27561 Pass -1 to __internal_statvfs instead of calling stat64.
27562 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
27563 Pass -1 to __internal_statvfs64 instead of calling stat64.
27564
27565 2014-05-28 Roland McGrath <roland@hack.frob.com>
27566
27567 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
27568 that was previously under [RESET_PID].
27569 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
27570
27571 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
27572 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
27573
27574 2014-05-27 Roland McGrath <roland@hack.frob.com>
27575
27576 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
27577
27578 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
27579 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
27580
27581 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
27582
27583 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
27584
27585 2014-05-27 Andreas Schwab <schwab@suse.de>
27586
27587 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
27588 TLS_INIT_TP macro.
27589 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
27590 * elf/rtld.c (init_tls, dl_main): Likewise.
27591 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
27592 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
27593 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
27594 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
27595 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
27596 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
27597 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
27598 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
27599 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
27600 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
27601 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
27602 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
27603 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
27604 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
27605 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
27606 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
27607 * sysdeps/generic/tls.h: Update description.
27608
27609 2014-05-27 Will Newton <will.newton@linaro.org>
27610
27611 [BZ #16990]
27612 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
27613 and restore r2 rather than just restoring.
27614
27615 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27616
27617 [BZ #16724]
27618 * libio/tst-ftell-append.c: New test case.
27619 * libio/Makefile (tests): Add test case.
27620 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
27621 append mode.
27622 * libio/wfileops.c (do_ftell_wide): Likewise.
27623
27624 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27625
27626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27627
27628 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
27629 ...
27630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
27631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27632 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
27633 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
27634 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
27635 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
27636 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
27637 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
27638 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27639 Moved ...
27640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
27641 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27642 Moved ...
27643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
27644 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
27645 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
27646 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
27647 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
27648 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
27649 ...
27650 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
27651 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
27652 Moved ...
27653 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
27654 here.
27655 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
27656 ...
27657 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
27658 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
27659 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
27660
27661 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
27662 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
27663 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
27664 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
27665
27666 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
27667 merge into ...
27668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
27669 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
27670 ...
27671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
27672 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
27673 ...
27674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
27675 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27676 Moved ...
27677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
27678 here.
27679 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27680 Moved ...
27681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
27682 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27683 Moved ...
27684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
27685
27686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
27687 conditional [RESET_PID].
27688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
27689 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
27690 removed.
27691 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
27692 removed.
27693
27694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
27695 <tcb-offsets.h>.
27696 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27697 (__libc_vfork): New strong alias.
27698 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
27699 removed.
27700 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
27701 Removed.
27702
27703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
27704 <tcb-offsets.h>.
27705 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
27706 (__libc_vfork): New strong alias.
27707 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
27708 removed.
27709 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
27710 removed.
27711
27712 2014-05-26 Carlos O'Donell <carlos@redhat.com>
27713
27714 * malloc/malloc.c (mi_arena): New function.
27715 (malloc_info): Remove nested function mi_arena. Call non-nosted
27716 function mi_arena.
27717
27718 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27719
27720 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
27721 by insrwi.
27722 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
27723 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
27724 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
27725 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
27726 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
27727 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
27728 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
27729
27730 2014-05-26 Andreas Schwab <schwab@suse.de>
27731
27732 [BZ #16984]
27733 * locale/programs/repertoire.c (repertoire_read): Add slash
27734 between I18NPATH element and file name.
27735 * locale/programs/locfile.c (locfile_read): Likewise.
27736
27737 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
27738
27739 * nptl/pthread_mutexattr_settype.c
27740 (__pthread_mutexattr_settype):
27741 Disable lock elision for PTHREAD_MUTEX_NORMAL.
27742
27743 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
27744
27745 * nptl/tst-mutex5 (do_test):
27746 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
27747
27748 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27749
27750 * benchtests/README: Document 'init' directive.
27751 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
27752 BENCH_INIT.
27753 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
27754 (parse_file): Recognize 'init' directive.
27755
27756 2014-05-26 Kyle McMartin <kyle@redhat.com>
27757
27758 [BZ #16796]
27759 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
27760 alignment of struct pthread.
27761
27762 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27763
27764 [BZ #16878]
27765 * nscd/netgroupcache.c (addgetnetgrentX): Look for
27766 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27767 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
27768 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27769
27770 2014-05-25 Richard Henderson <rth@twiddle.net>
27771
27772 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27773 (SINGLE_THREAD_P_PIC): Remove.
27774 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
27775 (SINGLE_THREAD_P_PIC): Remove.
27776
27777 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
27778 branch to syscall error ...
27779 (PSEUDO): ... here.
27780 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
27781 from __local_syscall_error to .Lsyscall_error.
27782 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
27783 (SYSCALL_ERROR): Update label name.
27784
27785 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27786 Do not use DOARGS/UNDOARGS.
27787 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
27788 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
27789 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
27790 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
27791 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
27792
27793 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
27794 block comment.
27795
27796 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
27797 define if !NOT_IN_libc.
27798 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
27799 define with non-default symbol versions.
27800
27801 2014-05-23 Richard Henderson <rth@twiddle.net>
27802
27803 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
27804 (vfork, __vfork): Define via compat_symbol.
27805
27806 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
27807 [!HAVE_IFUNC] (vfork_compat): Remove.
27808 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
27809
27810 2014-05-23 Joseph Myers <joseph@codesourcery.com>
27811
27812 [BZ #16978]
27813 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
27814 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
27815 variable.
27816
27817 2014-05-23 Richard Henderson <rth@twiddle.net>
27818
27819 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
27820 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
27821 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
27822 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
27823
27824 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
27825 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
27826 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
27827 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
27828 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
27829 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
27830 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
27831 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
27832 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
27833 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
27834 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
27835 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
27836 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
27837 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
27838 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
27839 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
27840 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
27841 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
27842 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
27843 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
27844 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
27845 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
27846 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
27847 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
27848 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
27849 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
27850 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
27851 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
27852 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
27853 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
27854 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
27855 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
27856 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
27857 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
27858 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
27859 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
27860 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
27861 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
27862 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
27863 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
27864 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
27865 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
27866 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
27867 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
27868 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
27869 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
27870 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
27871 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
27872 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
27873 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
27874 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
27875 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
27876 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
27877 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
27878 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
27879 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
27880
27881 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
27882 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
27883 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
27884 before exiting on error.
27885 (__libc_vfork): New strong alias.
27886 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
27887 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
27888
27889 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
27890 that was previously under [RESET_PID].
27891 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
27892
27893 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
27894
27895 2014-05-23 Joseph Myers <joseph@codesourcery.com>
27896
27897 [BZ #16977]
27898 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
27899 value when x - 1 is zero.
27900 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
27901 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
27902 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
27903 0.0L for an argument of 1.0L.
27904 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
27905 Likewise.
27906 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
27907 value when x - 1 is zero.
27908 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
27909 * sysdeps/i386/fpu/libm-test-ulps: Update.
27910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27911
27912 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
27913
27914 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
27915 alphasort and versionsort.
27916
27917 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27918
27919 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
27920 macro.
27921 [copysignf]: Likewise.
27922
27923 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27924
27925 * crypt/md5-crypt.c: Fix formatting.
27926
27927 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
27928
27929 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
27930 (b64_from_24bit): New function.
27931
27932 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27933
27934 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
27935 libc_hidden_builtin_def to ifunc.
27936 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27937 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
27938
27939 2014-05-21 Roland McGrath <roland@hack.frob.com>
27940
27941 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
27942 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
27943
27944 2014-05-21 Joseph Myers <joseph@codesourcery.com>
27945
27946 * nscd/Depend (linuxthreads): Remove.
27947 (nptl): Add.
27948 * resolv/Depend (linuxthreads): Remove.
27949 * rt/Depend (linuxthreads): Remove.
27950
27951 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
27952 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
27953 $(common-objpfx)elf/.
27954 (link-libc-before-gnulib): Likewise.
27955 (elfobjdir): Remove variable.
27956 * Makefile (install): Use $(elf-objpfx) instead of
27957 $(common-objpfx)elf/.
27958 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
27959 $(elfobjdir)/.
27960 (link-libc-deps): Likewise.
27961 ($(common-objpfx)libc.so): Likewise.
27962 ($(common-objpfx)linkobj/libc.so): Likewise.
27963 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
27964 instead of $(common-objpfx)elf/.
27965 (symbolic-link-list): Likewise.
27966 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27967 [$(cross-compiling) = no]: Likewise.
27968 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
27969 $(elfobjdir)/.
27970 (static-gnulib-arch): Likewise.
27971 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27972 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
27973 $(common-objpfx)elf/.
27974
27975 2014-05-21 Richard Henderson <rth@redhat.com>
27976
27977 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27978 (SINGLE_THREAD_P): Use the correct width load. Fold
27979 into the ldr offset.
27980
27981 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
27982 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
27983
27984 2014-05-20 Joseph Myers <joseph@codesourcery.com>
27985
27986 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
27987 (libgcc_s_resume): Use __attribute_used__.
27988 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
27989 Likewise.
27990
27991 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27992
27993 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
27994 optimization when used with float constants.
27995
27996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27997
27998 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
27999
28000 [BZ #16915]
28001 * locale/nl_langinfo_l.c: Make direct reference to every
28002 _nl_current_CATEGORY symbol.
28003 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
28004 (tests-static): Add tst-langinfo-static.
28005 (tests-special): Add tst-langinfo-static.out.
28006 ($(objpfx)tst-langinfo.out): Redirect output.
28007 ($(objpfx)tst-langinfo-static.out): New.
28008 * localedata/tst-langinfo.sh: Send output to stdout.
28009 * localedata/tst-langinfo-static.c: New file.
28010
28011 [BZ #16965]
28012 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
28013 when the shift amount is modulo the limb size.
28014
28015 2014-05-20 Richard Henderson <rth@redhat.com>
28016
28017 [BZ #16967]
28018 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
28019 Change type of sa_flags from unsigned int to int.
28020
28021 [BZ #16966]
28022 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
28023
28024 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
28025
28026 2014-05-20 Will Newton <will.newton@linaro.org>
28027
28028 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28029 Test the return value of the system call in the nocancel case.
28030
28031 2014-05-20 Will Newton <will.newton@linaro.org>
28032 Yvan Roux <yvan.roux@linaro.org>
28033
28034 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
28035 #include of asm/ptrace.h.
28036 (PTRACE_GET_THREAD_AREA): Remove #undef.
28037 (PTRACE_GETHBPREGS): Likewise.
28038 (PTRACE_SETHBPREGS): Likewise.
28039 (struct user_regs_struct): New structure.
28040 (struct user_fpsimd_struct): New structure.
28041 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
28042 #include of asm/ptrace.h and second #include of sys/user.h.
28043 (PTRACE_GET_THREAD_AREA): Remove #undef.
28044 (PTRACE_GETHBPREGS): Likewise.
28045 (PTRACE_SETHBPREGS): Likewise.
28046 (ELF_NGREG): Use new struct user_regs_struct.
28047 (elf_fpregset_t): Use new struct user_fpsimd_struct.
28048
28049 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28050
28051 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
28052 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
28053
28054 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
28055
28056 [BZ #16958]
28057 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
28058 membar to avoid block loads/stores to overlap previous stores.
28059
28060 2014-05-17 Richard Henderson <rth@redhat.com>
28061
28062 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
28063 Create the __##syscall_name##_nocancel entry point.
28064 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
28065 Remove; let the sysdep-cancel.h code create it.
28066
28067 2014-05-17 David S. Miller <davem@davemloft.net>
28068
28069 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
28070 Protect with __USE_GNU.
28071 (TIOCSET_TEMPT): Likewise.
28072 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28073 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
28074 these are already provided in bits/ioctl-types.h
28075
28076 2014-05-16 Roland McGrath <roland@hack.frob.com>
28077
28078 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
28079 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
28080
28081 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
28082 Use wait4 regardless of [__NR_waitpid].
28083
28084 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28085
28086 PR libgcc/60166
28087 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
28088 (_FP_NANSIGN_Q): Set the quiet bit.
28089
28090 2014-05-16 Joseph Myers <joseph@codesourcery.com>
28091
28092 * benchtests/Makefile
28093 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
28094 not $(common-objpfx)math/libm.so.
28095 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
28096 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
28097 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
28098 $(common-objpfx)dlfcn/libdl.so.
28099 ($(objpfx)tst-audit8): Depend on $(libm), not
28100 $(common-objpfx)math/libm.so.
28101 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
28102 not $(common-objpfx)dlfcn/libdl.so.
28103 * math/Makefile
28104 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28105 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
28106 [$(build-shared) = yes].
28107 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
28108 $(common-objpfx)nptl/libpthread.so.
28109 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
28110 $(common-objpfx)math/libm.so$(libm.so-version) or
28111 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
28112 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
28113 $(common-objpfx)dlfcn/libdl.so.
28114 * setjmp/Makefile (link-libm): Remove variable.
28115 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
28116 * stdio-common/Makefile (link-libm): Remove variable.
28117 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
28118 * stdlib/Makefile (link-libm): Remove variable.
28119 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
28120 ($(objpfx)tst-strtod-round): Likewise.
28121 ($(objpfx)tst-tininess): Likewise.
28122 ($(objpfx)tst-strtod-underflow): Likewise.
28123 ($(objpfx)tst-strtod6): Likewise.
28124 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
28125 $(libdl), not $(common-objpfx)nptl/libpthread.so and
28126 $(common-objpfx)dlfcn/libdl.so.
28127
28128 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28129
28130 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
28131 BSD terminal modes definitions.
28132
28133 2014-05-16 Roland McGrath <roland@hack.frob.com>
28134
28135 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
28136 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
28137
28138 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
28139 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
28140 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
28141 Don't do #include_next.
28142 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
28143 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
28144 Don't do #include_next.
28145 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
28146 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
28147 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
28148 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
28149
28150 2014-05-16 Allan McRae <allan@archlinux.org>
28151
28152 * po/sv.po: Update Swedish translation from translation project.
28153
28154 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
28155 in sed expression.
28156
28157 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
28158
28159 [BZ #16917]
28160 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
28161 errno if the TIOCGPTN ioctl fails with an error different than
28162 EINVAL.
28163 * login/tst-ptsname.c: New file.
28164 * login/Makefile (tests): Add tst-ptsname.
28165
28166 [BZ #16943]
28167 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
28168 and prlimit64.
28169
28170 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28171
28172 [BZ #16849]
28173 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
28174 herrno to return EAI_AGAIN.
28175
28176 2014-05-14 Roland McGrath <roland@hack.frob.com>
28177
28178 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
28179 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
28180 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
28181 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
28182 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
28183 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
28184 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
28185 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
28186 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
28187 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
28188 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
28189 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
28190 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
28191 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
28192 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
28193 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
28194 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
28195 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
28196 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
28197 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
28198 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
28199 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
28200 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
28201 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
28202 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
28203 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
28204 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
28205 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
28206 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
28207 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
28208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
28209 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
28210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
28211 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
28212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28213 Moved ...
28214 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
28215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
28216 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
28217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
28218 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
28219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
28220 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
28221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
28222 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
28223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
28224 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
28225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
28226 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
28227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
28228 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
28229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
28230 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
28231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
28232 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
28233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
28234 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
28235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
28236 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
28237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
28238 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
28239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
28240 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
28241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28242 Moved ...
28243 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
28244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
28245 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
28246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
28247 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
28248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
28249 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
28250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
28251 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
28252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
28253 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
28254 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
28255 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
28256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
28257 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
28258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
28259 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
28260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
28261 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
28262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28263 Moved ...
28264 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
28265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
28266 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
28267
28268 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
28269 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
28270 (libpthread-sysdep_routines): Add elision-related stuff here instead.
28271 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
28272 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
28273 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
28274 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
28275 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
28276 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
28277 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
28278 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
28279 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
28280 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
28281 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
28282 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
28283 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
28284 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
28285 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
28286 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
28287 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
28288 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
28289 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
28290 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
28291 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
28292 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
28293 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
28294 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
28295 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
28296 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
28297 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
28298 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
28299
28300 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
28301 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
28302
28303 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
28304 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
28305 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
28306 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
28307 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
28308 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
28309 Moved ...
28310 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
28311 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
28312 Moved ...
28313 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
28314 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
28315 Moved ...
28316 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
28317 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
28318 Moved ...
28319 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
28320 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
28321 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
28322 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
28323 Moved ...
28324 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
28325 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
28326 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
28327 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
28328 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
28329 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
28330 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
28331 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
28332 Moved ...
28333 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
28334 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
28335 Moved ...
28336 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
28337 ... here.
28338 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
28339 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
28340 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
28341 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
28342 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
28343 Moved ...
28344 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
28345 ... here.
28346 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
28347 Moved ...
28348 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
28349 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
28350 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
28351 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
28352 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
28353 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
28354 Moved ...
28355 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
28356 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
28357 Moved ...
28358 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
28359 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
28360 Moved ...
28361 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
28362 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
28363 Moved ...
28364 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
28365 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
28366 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
28367 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
28368 Moved ...
28369 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
28370 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
28371 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
28372 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
28373 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
28374 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
28375 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
28376 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
28377 Moved ...
28378 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
28379 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
28380 Moved ...
28381 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
28382 ... here.
28383 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
28384 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
28385 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
28386 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
28387 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
28388 Moved ...
28389 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
28390 ... here.
28391 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
28392 Moved ...
28393 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
28394 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
28395 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
28396 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
28397 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
28398 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
28399 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
28400 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
28401 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
28402 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
28403 Moved ...
28404 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
28405 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
28406 Moved ...
28407 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
28408 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
28409 Moved ...
28410 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
28411 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
28412 Moved ...
28413 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
28414 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
28415 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
28416 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
28417 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
28418 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
28419 Moved ...
28420 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
28421 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
28422 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
28423 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
28424 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
28425 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
28426 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
28427 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
28428 Moved ...
28429 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
28430 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
28431 Moved ...
28432 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
28433 ... here.
28434 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
28435 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
28436 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
28437 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
28438 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
28439 Moved ...
28440 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
28441 ... here.
28442 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
28443 Moved ...
28444 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
28445 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
28446 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
28447 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
28448 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
28449 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
28450 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
28451 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
28452 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
28453 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
28454 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
28455
28456 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
28457 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
28458
28459 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
28460 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
28461
28462 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
28463 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
28464 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
28465 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
28466 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
28467 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
28468 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
28469 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
28470 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
28471 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
28472 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
28473 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
28474 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
28475 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
28476 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
28477 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
28478 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
28479 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
28480 Moved ...
28481 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
28482 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
28483 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
28484 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
28485 Moved ...
28486 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
28487 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
28488 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
28489 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
28490 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
28491 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
28492 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
28493 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
28494 Moved ...
28495 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
28496 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
28497 Moved ...
28498 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
28499 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
28500 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
28501 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
28502 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
28503 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
28504 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
28505 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
28506 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
28507 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
28508 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
28509 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
28510 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
28511 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
28512 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
28513 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
28514 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
28515
28516 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
28517 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
28518 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
28519 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
28520 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
28521
28522 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
28523 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
28524 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
28525 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
28526 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
28527 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
28528 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
28529 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
28530 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
28531 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
28532
28533 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
28534 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
28535
28536 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
28537 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
28538 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
28539 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
28540 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
28541 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
28542 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
28543 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
28544 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
28545 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
28546 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
28547 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
28548 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
28549 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
28550 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
28551 Update #include.
28552 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
28553 Likewise.
28554 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28555 Likewise.
28556 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28557 Likewise.
28558 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28559 Likewise.
28560 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
28561 Likewise.
28562 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
28563 Likewise.
28564 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
28565 Likewise.
28566 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
28567 Likewise.
28568 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
28569 Likewise.
28570 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
28571 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
28572 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
28573 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
28574 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
28575 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
28576 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
28577 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
28578 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
28579 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
28580 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
28581 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
28582 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
28583 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
28584 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
28585
28586 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
28587 that was previously under [RESET_PID].
28588 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28589 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
28590 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
28591
28592 * sysdeps/i386/nptl/Implies: New file.
28593 * sysdeps/x86_64/nptl/Implies: New file.
28594 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
28595 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
28596 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
28597 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
28598
28599 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
28600 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28601 (__libc_vfork): New strong alias.
28602 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
28603 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
28604
28605 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
28606 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28607 (__libc_vfork): New strong alias.
28608 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
28609 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
28610
28611 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
28612 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28613 (__libc_vfork): New strong alias.
28614 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
28615 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
28616 * nptl/pt-vfork.c: New file.
28617 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
28618 (libpthread: GLIBC_2.20): New version set (empty).
28619
28620 2014-05-14 Will Newton <will.newton@linaro.org>
28621
28622 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
28623 rather than #if.
28624
28625 2014-05-14 Joseph Myers <joseph@codesourcery.com>
28626
28627 [BZ #16564]
28628 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
28629 arguments with exponent 65 or above.
28630 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
28631 arguments 0x1p113L or above.
28632 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
28633 to arguments 0x1p107L or above.
28634 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
28635 positive arguments with exponent 65 or above.
28636 * math/auto-libm-test-in: Add more tests of log1p.
28637 * math/auto-libm-test-out: Regenerated.
28638
28639 [BZ #16928]
28640 * math/s_cacos.c (__cacos): Ensure zero real part of result from
28641 non-finite arguments is +0.
28642 * math/s_cacosf.c (__cacosf): Likewise.
28643 * math/s_cacosl.c (__cacosl): Likewise.
28644 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
28645 * sysdeps/i386/fpu/libm-test-ulps: Update.
28646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28647
28648 [BZ #16927]
28649 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
28650 value.
28651 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28652 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
28653 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
28654 for explicit high bit of mantissa when testing for argument equal
28655 to 1.
28656 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
28657 * sysdeps/i386/fpu/libm-test-ulps: Update.
28658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28659
28660 [BZ #16516]
28661 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
28662 (__erf): Scale by 16 instead of 8 in potentially underflowing
28663 case. Ensure exception if result actually underflows.
28664 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
28665 (__erff): Scale by 16 instead of 8 in potentially underflowing
28666 case. Ensure exception if result actually underflows.
28667 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
28668 (efx8): Remove variable.
28669 (__erfl): Scale by 16 instead of 8 in potentially underflowing
28670 case. Ensure exception if result actually underflows.
28671 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
28672 (efx8): Remove variable.
28673 (__erfl): Scale by 16 instead of 8 in potentially underflowing
28674 case. Ensure exception if result actually underflows.
28675 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
28676 (efx8): Remove variable.
28677 (__erfl): Scale by 16 instead of 8 in potentially underflowing
28678 case. Ensure exception if result actually underflows.
28679 * math/auto-libm-test-in: Add more tests of erf.
28680 * math/auto-libm-test-out: Regenerated.
28681
28682 2014-05-14 Andreas Schwab <schwab@suse.de>
28683
28684 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
28685 Remove code conditionalized on USE___THREAD.
28686
28687 * config.h.in (HAVE_PT_CHOWN): Define as 0.
28688 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
28689 not definedness.
28690
28691 2014-05-14 Joseph Myers <joseph@codesourcery.com>
28692
28693 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
28694 Define unconditionally.
28695 (__ASSUME_O_CLOEXEC): Likewise.
28696 (__ASSUME_SOCK_CLOEXEC): Likewise.
28697 (__ASSUME_IN_NONBLOCK): Likewise.
28698 (__ASSUME_PIPE2): Likewise.
28699 (__ASSUME_EVENTFD2): Likewise.
28700 (__ASSUME_SIGNALFD4): Likewise.
28701 (__ASSUME_DUP3): Likewise.
28702 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28703 (__ASSUME_DUP3): Do not define.
28704 (__ASSUME_EVENTFD2): Likewise.
28705 (__ASSUME_IN_NONBLOCK): Likewise.
28706 (__ASSUME_O_CLOEXEC): Likewise.
28707 (__ASSUME_PIPE2): Likewise.
28708 (__ASSUME_SIGNALFD4): Likewise.
28709 (__ASSUME_SOCK_CLOEXEC): Likewise.
28710 (__ASSUME_UTIMES): Undefine.
28711 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28712 (__ASSUME_UTIMES): Do not define.
28713 (__ASSUME_O_CLOEXEC): Likewise.
28714 (__ASSUME_SOCK_CLOEXEC): Likewise.
28715 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
28716 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
28717 0x020621].
28718 (__ASSUME_PIPE2): Likewise.
28719 (__ASSUME_EVENTFD2): Likewise.
28720 (__ASSUME_SIGNALFD4): Likewise.
28721 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
28722 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
28723 Do not define.
28724 (__ASSUME_EVENTFD2): Likewise.
28725 (__ASSUME_SIGNALFD4): Likewise.
28726 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28727 (__ASSUME_32BITUIDS): Likewise.
28728 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28729 (__ASSUME_IPC64): Likewise.
28730 (__ASSUME_ST_INO_64_BIT): Likewise.
28731 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
28732 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
28733 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28734 (__ASSUME_UTIMES): Do not define.
28735 (__ASSUME_PSELECT): Likewise.
28736 (__ASSUME_PPOLL): Likewise.
28737 (__ASSUME_O_CLOEXEC): Likewise.
28738 (__ASSUME_SOCK_CLOEXEC): Likewise.
28739 (__ASSUME_IN_NONBLOCK): Likewise.
28740 (__ASSUME_PIPE2): Likewise.
28741 (__ASSUME_EVENTFD2): Likewise.
28742 (__ASSUME_SIGNALFD4): Likewise.
28743 (__ASSUME_DUP3): Likewise.
28744 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28745 (__ASSUME_UTIMES): Likewise.
28746 (__ASSUME_O_CLOEXEC): Likewise.
28747 (__ASSUME_SOCK_CLOEXEC): Likewise.
28748 (__ASSUME_IN_NONBLOCK): Likewise.
28749 (__ASSUME_PIPE2): Likewise.
28750 (__ASSUME_EVENTFD2): Likewise.
28751 (__ASSUME_SIGNALFD4): Likewise.
28752 (__ASSUME_DUP3): Likewise.
28753 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28754 (__ASSUME_UTIMES): Likewise.
28755 (__ASSUME_O_CLOEXEC): Likewise.
28756 (__ASSUME_SOCK_CLOEXEC): Likewise.
28757 (__ASSUME_IN_NONBLOCK): Likewise.
28758 (__ASSUME_PIPE2): Likewise.
28759 (__ASSUME_EVENTFD2): Likewise.
28760 (__ASSUME_SIGNALFD4): Likewise.
28761 (__ASSUME_DUP3): Likewise.
28762 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
28763 Likewise.
28764 (__ASSUME_UTIMES): Likewise.
28765 (__ASSUME_EVENTFD2): Likewise.
28766 (__ASSUME_SIGNALFD4): Likewise.
28767 * sysdeps/unix/sysv/linux/tile/kernel-features.h
28768 (__ASSUME_O_CLOEXEC): Likewise.
28769 (__ASSUME_SOCK_CLOEXEC): Likewise.
28770 (__ASSUME_IN_NONBLOCK): Likewise.
28771 (__ASSUME_PIPE2): Likewise.
28772 (__ASSUME_EVENTFD2): Likewise.
28773 (__ASSUME_SIGNALFD4): Likewise.
28774 (__ASSUME_DUP3): Likewise.
28775 (__ASSUME_UTIMES): Undefine.
28776
28777 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
28778 feclearexcept. Remove symbol versioning code.
28779 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
28780 symbol versioning code.
28781 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
28782 symbol versioning code.
28783 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
28784 feupdateenv. Remove symbol versioning code.
28785 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
28786 fegetexceptflag. Remove symbol versioning code.
28787 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
28788 fesetexceptflag. Remove symbol versioning code.
28789 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
28790 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
28791 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
28792 (__posix_fadvise64_l32): Remove prototype.
28793 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
28794 code.
28795
28796 2014-05-13 Roland McGrath <roland@hack.frob.com>
28797
28798 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
28799 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
28800 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
28801 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
28802
28803 2014-05-13 Sami Kerola <kerolasa@iki.fi>
28804
28805 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
28806 current working directory
28807
28808 2014-05-13 Roland McGrath <roland@hack.frob.com>
28809
28810 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
28811 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
28812 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
28813 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
28814 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
28815 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
28816 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
28817 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
28818 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
28819 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
28820 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
28821 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
28822 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
28823 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
28824 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
28825 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
28826 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
28827 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
28828 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
28829 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
28830 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
28831 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
28832 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
28833 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
28834 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
28835 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
28836 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
28837 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
28838 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
28839 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
28840 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
28841 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
28842 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
28843 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
28844 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
28845 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
28846 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
28847 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
28848 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
28849 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
28850 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
28851 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
28852
28853 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
28854 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
28855
28856 * sysdeps/unix/sysv/linux/arm/Makefile
28857 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28858 Add rt-aeabi_unwind_cpp_pr1.
28859 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
28860 Add nptl-aeabi_unwind_cpp_pr1.
28861 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
28862 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
28863 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
28864 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
28865 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
28866 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
28867
28868 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
28869 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
28870 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
28871 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
28872
28873 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
28874 Deconditionalize the code that was previously under [RESET_PID].
28875 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
28876
28877 * sysdeps/generic/exit-thread.h: New file.
28878 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
28879 * include/unistd.h (__exit_thread): Remove declaration.
28880 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
28881 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
28882 * csu/libc-start.c: Include <exit-thread.h>.
28883 (LIBC_START_MAIN): Pass no argument to __exit_thread.
28884 * nptl/pthread_create.c: Include <exit-thread.h>.
28885 (start_thread): Call __exit_thread in place of __exit_thread_inline.
28886 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
28887 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
28888 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
28889 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
28890 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
28891 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
28892 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
28893 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
28894 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
28895 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
28896 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
28897 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
28898 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
28899 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
28900 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
28901 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
28902
28903 2014-05-13 Andreas Schwab <schwab@suse.de>
28904
28905 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
28906
28907 2014-05-12 Joseph Myers <joseph@codesourcery.com>
28908
28909 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28910 (__ASSUME_UTIMES): Do not condition on kernel version.
28911 (__ASSUME_PSELECT): Define unconditionally.
28912 (__ASSUME_PPOLL): Likewise.
28913 (__ASSUME_ATFCTS): Likewise.
28914 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
28915 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
28916 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
28917 (__ASSUME_UTIMENSAT): Define unconditionally.
28918 (__ASSUME_PRIVATE_FUTEX): Likewise.
28919 (__ASSUME_FALLOCATE): Likewise.
28920 (__ASSUME_O_CLOEXEC): Likewise.
28921 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
28922 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
28923 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
28924 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
28925 (__ASSUME_IN_NONBLOCK): Likewise.
28926 (__ASSUME_PIPE2): Likewise.
28927 (__ASSUME_EVENTFD2): Likewise.
28928 (__ASSUME_SIGNALFD4): Likewise.
28929 (__ASSUME_DUP3): Likewise.
28930 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28931 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
28932 (__ASSUME_AT_RANDOM): Likewise.
28933 (__ASSUME_PREADV): Likewise.
28934 (__ASSUME_PWRITEV): Likewise.
28935 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
28936 (__ASSUME_F_GETOWN_EX): Define unconditionally.
28937 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
28938 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28939 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
28940 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28941 (__ASSUME_O_CLOEXEC): Define unconditionally.
28942 (__ASSUME_PSELECT): Do not undefine conditionally.
28943 (__ASSUME_PPOLL): Likewise.
28944 (__ASSUME_ATFCTS): Likewise.
28945 (__ASSUME_SET_ROBUST_LIST): Likewise.
28946 (__ASSUME_UTIMENSAT): Likewise.
28947 (__ASSUME_FDATASYNC): Define unconditionally.
28948 * sysdeps/unix/sysv/linux/arm/kernel-features.h
28949 (__ASSUME_SIGFRAME_V2): Likewise.
28950 )__ASSUME_EVENTFD2): Likewise.
28951 (__ASSUME_SIGNALFD4): Likewise.
28952 (__ASSUME_PSELECT): Do not undefine conditionally.
28953 (__ASSUME_PPOLL): Likewise.
28954 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28955 (__ASSUME_PSELECT): Define unconditionally.
28956 (__ASSUME_PPOLL): Likewise.
28957 (__ASSUME_O_CLOEXEC): Likewise.
28958 (__ASSUME_SOCK_CLOEXEC): Likewise.
28959 (__ASSUME_IN_NONBLOCK): Likewise.
28960 (__ASSUME_PIPE2): Likewise.
28961 (__ASSUME_EVENTFD2): Likewise.
28962 (__ASSUME_SIGNALFD4): Likewise.
28963 (__ASSUME_DUP3): Likewise.
28964 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28965 (__ASSUME_O_CLOEXEC): Likewise.
28966 (__ASSUME_SOCK_CLOEXEC): Likewise.
28967 (__ASSUME_IN_NONBLOCK): Likewise.
28968 (__ASSUME_PIPE2): Likewise.
28969 (__ASSUME_EVENTFD2): Likewise.
28970 (__ASSUME_SIGNALFD4): Likewise.
28971 (__ASSUME_DUP3): Likewise.
28972 * sysdeps/unix/sysv/linux/mips/kernel-features.h
28973 (__ASSUME_EVENTFD2): Likewise.
28974 (__ASSUME_SIGNALFD4): Likewise.
28975 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28976
28977 2014-05-12 Andreas Schwab <schwab@suse.de>
28978
28979 [BZ #16932]
28980 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
28981 (_nss_nis_gethostbyname4_r): Return error if item length is larger
28982 than maximum RPC packet size.
28983 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
28984 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
28985 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
28986 (_nss_nis_getservbyport_r): Likewise.
28987
28988 2014-05-12 Will Newton <will.newton@linaro.org>
28989
28990 * malloc/Makefile (tests): Add tst-mallopt.
28991 * malloc/tst-mallopt.c: New file.
28992
28993 2014-05-09 Roland McGrath <roland@hack.frob.com>
28994
28995 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
28996 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
28997
28998 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28999
29000 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
29001 (tst-tlsmod6.so): Likewise.
29002
29003 2014-05-09 Roland McGrath <roland@hack.frob.com>
29004
29005 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
29006
29007 2014-05-09 Joseph Myers <joseph@codesourcery.com>
29008
29009 [BZ #16064]
29010 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
29011 and <dl-procinfo.h>.
29012 (__fegetenv): Save SSE state in envp->__eip if supported.
29013 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
29014 envp->__eip if supported.
29015 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
29016 and <dl-procinfo.h>.
29017 (__fesetenv): Always set __eip, __cs_selector, __opcode,
29018 __data_offset and __data_selector in environment to 0. Set SSE
29019 state if supported.
29020 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
29021 test-fenv-sse.
29022 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
29023 -mfpmath=sse.
29024 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
29025
29026 2014-05-09 Will Newton <will.newton@linaro.org>
29027
29028 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
29029 and libc_relro_required for ARM.
29030 * sysdeps/arm/preconfigure: Regenerate.
29031
29032 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
29033 Stefan Liebler <stli@linux.vnet.ibm.com>
29034
29035 * config.make.in (enable-lock-elision): New Makefile variable.
29036 * configure.ac: Likewise.
29037 * configure: Regenerate.
29038 * sysdeps/s390/configure.ac:
29039 Add check for gcc transactions support.
29040 * sysdeps/s390/configure: Regenerate.
29041 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
29042 Build elision files if enabled.
29043 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
29044 Add lock elision support for s390.
29045 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
29046 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
29047 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
29048 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
29049 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
29050 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
29051 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29052 Likewise.
29053 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
29054 Likewise.
29055 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
29056 Likewise.
29057 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
29058 Likewise.
29059 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
29060 (__lll_timedlock_elision, __lll_lock_elision)
29061 (__lll_unlock_elision, __lll_trylock_elision)
29062 (lll_timedlock_elision, lll_lock_elision)
29063 (lll_unlock_elision, lll_trylock_elision): Add.
29064 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29065 (pthread_mutex_t): Add lock elision support for s390.
29066
29067 2014-05-14 Wilco <wdijkstr@arm.com>
29068
29069 * sysdeps/arm/fclrexcpt.c: Cleanup.
29070 * sysdeps/arm/fedisblxcpt.c: Cleanup.
29071 * sysdeps/arm/feenablxcpt.c: Cleanup.
29072 * sysdeps/arm/fegetenv.c: Cleanup.
29073 * sysdeps/arm/fegetexcept.c: Cleanup.
29074 * sysdeps/arm/fegetround.c: Cleanup.
29075 * sysdeps/arm/feholdexcpt.c: Cleanup.
29076 * sysdeps/arm/fesetenv.c: Cleanup.
29077 * sysdeps/arm/fesetround.c: Cleanup.
29078 * sysdeps/arm/feupdateenv.c: Cleanup.
29079 * sysdeps/arm/fgetexcptflg.c: Cleanup.
29080 * sysdeps/arm/fraiseexcpt.c: Cleanup.
29081 * sysdeps/arm/fsetexcptflg.c: Cleanup.
29082 * sysdeps/arm/ftestexcept.c: Cleanup.
29083 * sysdeps/arm/get-rounding-mode.h: Cleanup.
29084 * sysdeps/arm/setfpucw.c: Cleanup.
29085
29086 2014-05-09 Will Newton <will.newton@linaro.org>
29087
29088 * sysdeps/arm/armv7/strcmp.S: New file.
29089 * NEWS: Mention addition of ARMv7 optimized strcmp.
29090
29091 2014-05-08 Roland McGrath <roland@hack.frob.com>
29092
29093 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
29094 look for %.ac rather than %.in.
29095
29096 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
29097 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
29098 * sysdeps/mach/hurd/configure: Regenerated.
29099 * sysdeps/unix/sysv/linux/configure: Regenerated.
29100
29101 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
29102
29103 2014-05-07 Steve Ellcey <sellcey@mips.com>
29104
29105 [BZ# 16922]
29106 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
29107 (LONG_SUB): Ditto.
29108 (PTR_SUB): Ditto.
29109
29110 2014-05-07 Andreas Schwab <schwab@suse.de>
29111
29112 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
29113 when skipping over non-matching result from nscd.
29114
29115 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
29116
29117 [BZ #16876]
29118 * nptl/sockperf.c (client): Check socket return value.
29119
29120 [BZ #16877]
29121 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
29122 nscd security class.
29123
29124 2014-05-06 Roland McGrath <roland@hack.frob.com>
29125
29126 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
29127 * sysdeps/arm/unwind.h: ... here.
29128
29129 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
29130
29131 [BZ# 16916]
29132 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
29133 Define.
29134
29135 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
29136
29137 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
29138 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
29139 multiarch strncpy for PPC64.
29140 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
29141 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
29142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
29143 multiarch optimizations.
29144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29145 (__libc_ifunc_impl_list): Likewise.
29146 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
29147 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
29148 multiarch stpncpy for PPC64.
29149 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
29150 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
29151
29152 2014-05-06 Andreas Schwab <schwab@suse.de>
29153
29154 [BZ #16912]
29155 * gmon/mcount.c (_MCOUNT_DECL): Use
29156 atomic_compare_and_exchange_bool_acq instead of
29157 catomic_compare_and_exchange_bool_acq.
29158
29159 2014-05-05 Roland McGrath <roland@hack.frob.com>
29160
29161 * elf/Makefile (others, install-bin): Remove pldd.
29162 (pldd-modules): Variable removed.
29163 ($(objpfx)pldd): Target removed.
29164 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
29165 (others, install-bin): Append pldd here.
29166 ($(objpfx)pldd): New target.
29167
29168 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
29169 to 0, so the first #if test emitted later doesn't see it undefined.
29170 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
29171 * sysdeps/gnu/errlist.c: Regenerated.
29172
29173 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29174
29175 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
29176 [libc_hidden_builtin_def]: Define to empty value.
29177 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
29178 [libc_hidden_builtin_def]: Likewise.
29179 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
29180 [libc_hidden_builtin_def]: Likewise.
29181 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
29182 [libc_hidden_builtin_def]: Likewise.
29183 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
29184 __redirect_memcpy and define ifunc as default hidden symbol.
29185 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
29186 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
29187
29188 2014-05-04 Adam Conrad <adconrad@0c3.net>
29189
29190 * locale/iso-4217.def: Reintroduce XDR currency.
29191
29192 2014-05-04 Allan McRae <allan@archlinux.org>
29193
29194 * po/eo.po: Update Esperanto translation from translation project.
29195
29196 2014-05-02 Carlos O'Donell <carlos@redhat.com>
29197
29198 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
29199 and FEATURE_INDEX_MAX to 1.
29200 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
29201
29202 2014-05-01 Steve Ellcey <sellcey@mips.com>
29203
29204 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
29205 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
29206 * iconvdata/big5.c (ONE_DIRECTION): Define.
29207 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
29208 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
29209 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
29210 * iconvdata/cp932.c (ONE_DIRECTION): Define.
29211 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
29212 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
29213 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
29214 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
29215 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
29216 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
29217 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
29218 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
29219 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
29220 * iconvdata/gbk.c (ONE_DIRECTION): Define.
29221 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
29222 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
29223 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
29224 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
29225 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
29226 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
29227 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
29228 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
29229 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
29230 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
29231 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
29232 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
29233 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
29234 * iconvdata/iso646.c (ONE_DIRECTION): Define.
29235 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
29236 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
29237 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
29238 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
29239 * iconvdata/johab.c (ONE_DIRECTION): Define.
29240 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
29241 * iconvdata/sjis.c (ONE_DIRECTION): Define.
29242 * iconvdata/t.61.c (ONE_DIRECTION): Define.
29243 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
29244 * iconvdata/tscii.c (ONE_DIRECTION): Define.
29245 * iconvdata/uhc.c (ONE_DIRECTION): Define.
29246 * iconvdata/unicode.c (ONE_DIRECTION): Define.
29247 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
29248 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
29249 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
29250
29251 2014-05-01 Roland McGrath <roland@hack.frob.com>
29252
29253 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
29254 (_IO_JUMPS_OFFSET): Define to 0.
29255
29256 * nptl/sysdeps/pthread/bits/libc-lock.h
29257 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29258 (__libc_lock_define_initialized_recursive): Always define using
29259 initializer. Modern compilers treat uninitialized (implicit zero) and
29260 explicit zero initializers the same (i.e. put the datum in bss).
29261
29262 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
29263
29264 * nscd/nscd-client.h: Include <string.h>.
29265
29266 2014-05-01 David S. Miller <davem@davemloft.net>
29267
29268 [BZ #16885]
29269 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
29270 multiple zero bytes exist at the end of a string.
29271 Reported by Aurelien Jarno <aurelien@aurel32.net>
29272
29273 * string/test-strcmp.c (check): Add explicit test for situations where
29274 there are multiple zero bytes after the first.
29275
29276 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
29277
29278 [BZ #16890]
29279 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
29280 when compiling wprintf.
29281 * stdio-common/tstdiomisc.c (t3): New function.
29282 (main): Call it.
29283
29284 2014-05-01 Steve Ellcey <sellcey@mips.com>
29285
29286 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
29287 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
29288 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
29289 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
29290
29291 2014-05-01 Steve Ellcey <sellcey@mips.com>
29292
29293 * stdlib/longlong.h: Updated from GCC.
29294
29295 2014-05-01 Will Newton <will.newton@linaro.org>
29296 Bernard Ogden <bernie.ogden@linaro.org>
29297
29298 * NEWS: Update fixed bug list.
29299
29300 [BZ #15119]
29301 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
29302
29303 2014-04-30 David S. Miller <davem@davemloft.net>
29304
29305 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
29306 (libc_feholdexcept_setround_sparc_ctx): New function.
29307 (libc_fesetenv_sparc_ctx): Likewise.
29308 (libc_feupdateenv_sparc_ctx): Likewise.
29309 (libc_feholdsetround_sparc_ctx): Likewise.
29310 (libc_feholdexcept_setround_ctx): Define.
29311 (libc_feholdexcept_setroundf_ctx): Likewise.
29312 (libc_feholdexcept_setroundl_ctx): Likewise.
29313 (libc_fesetenv_ctx): Likewise.
29314 (libc_fesetenvf_ctx): Likewise.
29315 (libc_fesetenvl_ctx): Likewise.
29316 (libc_feupdateenv_ctx): Likewise.
29317 (libc_feupdateenvf_ctx): Likewise.
29318 (libc_feupdateenvl_ctx): Likewise.
29319 (libc_feresetround_ctx): Likewise.
29320 (libc_feresetroundf_ctx): Likewise.
29321 (libc_feresetroundl_ctx): Likewise.
29322 (libc_feholdsetround_ctx): Likewise.
29323 (libc_feholdsetroundf_ctx): Likewise.
29324 (libc_feholdsetroundl_ctx): Likewise.
29325
29326 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29327 with __USE_GNU instead of XOPEN cpp guards.
29328
29329 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
29330 0.
29331
29332 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29333 with XOPEN cpp guards.
29334
29335 2014-04-30 Julian Brown <julian@codesourcery.com>
29336
29337 [BZ #16888]
29338 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
29339 handling.
29340
29341 2014-04-30 Joseph Myers <joseph@codesourcery.com>
29342
29343 [BZ #9894]
29344 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
29345 Change to 2.6.32.
29346 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
29347 * sysdeps/unix/sysv/linux/configure: Regenerated.
29348 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
29349 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
29350 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
29351 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
29352 * README: Update reference to required Linux kernel version.
29353 * manual/install.texi (Linux): Update reference to required Linux
29354 kernel headers version.
29355 * INSTALL: Regenerated.
29356
29357 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
29358 header inclusion.
29359 [POSIX] (limits.h): Likewise.
29360 [POSIX] (math.h): Likewise.
29361 [POSIX] (sys/wait.h): Likewise.
29362 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
29363 function.
29364 [POSIX] (stddef.h): Do not allow header inclusion.
29365
29366 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29367
29368 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
29369
29370 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
29371
29372 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
29373 Return immediately after lll_futex_wake.
29374
29375 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29376
29377 [BZ #16791]
29378 * nscd/nscd-client.h (datahead_init_common): Initialize entire
29379 structure.
29380 (datahead_init_pos): Call datahead_init_common early.
29381 (datahead_init_neg): Likewise.
29382
29383 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
29384 datahead_init_neg): New functions.
29385 * nscd/aicache.c (addhstaiX): Use them.
29386 * nscd/grpcache.c (cache_addgr): Likewise.
29387 * nscd/hstcache.c (cache_addhst): Likewise.
29388 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29389 * nscd/netgroupcache.c (do_notfound): Likewise.
29390 (addgetnetgrentX): Likewise.
29391 (addinnetgrX): Likewise.
29392 * nscd/pwdcache.c (cache_addpw): Likewise.
29393 * nscd/servicescache.c (cache_addserv): Likewise.
29394
29395 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29396 Atsushi Onoe <atsushi@onoe.org>
29397
29398 [BZ #14308]
29399 [BZ #12994]
29400 [BZ #13651]
29401 * resolv/res_query.c (__libc_res_nsearch): Return if at least
29402 one response is valid.
29403 * resolv/res_send.c (send_dg): Check for validity of other
29404 response if the current response is a referral.
29405
29406 2014-04-29 Steve Ellcey <sellcey@mips.com>
29407
29408 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
29409
29410 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
29411
29412 [BZ #16823]
29413 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
29414 Always divide by positive zero when computing -Inf result.
29415 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
29416 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
29417
29418 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29419
29420 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
29421 FPSCR if value do not change.
29422 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29423 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
29424 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
29425 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29426 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
29427 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
29428 function.
29429
29430 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
29431
29432 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
29433 * sysdeps/unix/sysv/linux/hppa: Move directory from
29434 ports/systeps/unix/sysv/linux/hppa.
29435 * README: Update listing for hppa-*-linux-gnu.
29436
29437 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
29438
29439 [BZ #16754]
29440 * manual/stdio.texi (Hook functions): Fix types of stream hook
29441 functions.
29442 [BZ #16854]
29443 * socket/sys/socket.h: Fix typo in comment.
29444
29445 2014-04-28 Wilco <wdijkstr@arm.com>
29446
29447 * sysdeps/arm/fenv_private.h: New file.
29448 * sysdeps/arm/math_private.h: New file.
29449 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
29450
29451 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
29452
29453 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
29454 with __int128_t.
29455 (La_x86_64_retval): Likewise.
29456
29457 2014-04-24 Ian Bolton <ian.bolton@arm.com>
29458
29459 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
29460 fpsr if value didn't change.
29461 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
29462 to fpcr if value didn't change.
29463 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
29464 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
29465 fpsr or fpcr if value didn't change.
29466 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
29467 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
29468 fpcr if value didn't change.
29469 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
29470 to fpsr if value didn't change.
29471
29472 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29473
29474 * nptl/tst-sem3.c: Use test-skeleton.c
29475 (main): Rename to do_test. Use return instead of
29476 exit.
29477 * nptl/tst-sem4.c: Use test-skeleton.c
29478 (main): Rename to do_test.
29479
29480 2014-04-22 David S. Miller <davem@davemloft.net>
29481
29482 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
29483 (struct sigaction): New struct member __glibc_reserved0, change
29484 type of sa_flags to int.
29485
29486 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
29487
29488 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
29489 (COUNT_LEADING_ZEROS_0): Define for AArch64.
29490
29491 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29492
29493 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
29494 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
29495
29496 2014-04-22 Will Newton <will.newton@linaro.org>
29497 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
29498
29499 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
29500 (__longjmp): Add longjmp and longjmp_target SystemTap
29501 probes.
29502 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
29503 (__sigsetjmp): Add setjmp SystemTap probe.
29504
29505 2014-04-17 Carlos O'Donell <carlos@redhat.com>
29506
29507 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
29508 match manual order.
29509
29510 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29511
29512 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
29513
29514 * sysdeps/powerpc/fpu/fenv_private.h
29515 (libc_feholdexcept_setroundl_ctx): Define to
29516 libc_feholdexcept_setround_ppc_ctx.
29517 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
29518 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
29519 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
29520 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
29521
29522 2014-04-17 Ian Bolton <ian.bolton@arm.com>
29523
29524 * sysdeps/aarch64/math-tests.h: New file.
29525
29526 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
29527
29528 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
29529 New.
29530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29531 Check and set bit_AVX2_Usable.
29532 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
29533 macro.
29534 (bit_AVX2): Likewise.
29535 (index_AVX2_Usable): Likewise.
29536 (CPUID_AVX2): Likewise.
29537 (HAS_AVX2): Likewise.
29538
29539 2014-04-17 Will Newton <will.newton@linaro.org>
29540
29541 * manual/setjmp.texi (System V contexts): Add note that
29542 calling setcontext on a context created by a call to a
29543 signal handler is undefined. Update text to note that
29544 setcontext from a signal handler is possible but not
29545 recommended.
29546
29547 [BZ #16629]
29548 * stdlib/tst-setcontext.c: Include signal.h.
29549 (main): Check that the signal stack before and
29550 after swapcontext is the same.
29551
29552 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
29553 Re-implement to restore registers in user code and avoid
29554 rt_sigreturn system call.
29555
29556 2014-04-17 Wilco <wdijkstr@arm.com>
29557
29558 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
29559 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
29560 * math/test-fenv.c: Skip exception trap tests on targets which only
29561 support non-stop mode.
29562
29563 2014-04-17 Ian Bolton <ian.bolton@arm.com>
29564 Wilco Dijkstra <wilco.dijkstra@arm.com>
29565
29566 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
29567 (libc_feholdsetround_aarch64_ctx)
29568 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
29569 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
29570 (libc_feresetround_ctx, libc_feresetroundf_ctx)
29571 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
29572 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
29573 (libc_feresetround_noexl_ctx): Define.
29574
29575 2014-04-16 Richard Henderson <rth@redhat.com>
29576
29577 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
29578
29579 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
29580 unwind tables.
29581
29582 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
29583 const from the non-libc, non-ldso copy.
29584
29585 * sysdeps/alpha/libm-test-ulps: Regenerate.
29586
29587 2014-04-16 Ian Bolton <ian.bolton@arm.com>
29588 Wilco Dijkstra <wilco.dijkstra@arm.com>
29589
29590 * sysdeps/aarch64/fpu/math_private.h: New file.
29591
29592 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
29593
29594 * sysdeps/aarch64/libm-test-ulps: Regenerate.
29595
29596 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
29597
29598 [BZ #16275]
29599 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
29600 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
29601 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
29602 Intel MPX bound registers before _dl_profile_fixup.
29603 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
29604 registers after _dl_profile_fixup. Save and restore bound
29605 registers bnd0/bnd1 when calling _dl_call_pltexit.
29606 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
29607 (LR_BND_OFFSET): Likewise.
29608 (LRV_BND0_OFFSET): Likewise.
29609 (LRV_BND1_OFFSET): Likewise.
29610
29611 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29612
29613 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
29614 to...
29615 * sysdeps/mach/hurd/i386/tls.h: ... here.
29616 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
29617 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
29618 fields.
29619
29620 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29621
29622 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
29623
29624 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
29625
29626 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29627
29628 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
29629
29630 [BZ #14770]
29631 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
29632 * sysdeps/s390/configure: Regenerate.
29633
29634 [BZ #16824]
29635 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
29636 Set round-to-nearest internally to reduce error accumulation.
29637
29638 2014-04-16 Alan Modra <amodra@gmail.com>
29639
29640 [BZ #16740]
29641 [BZ #16619]
29642 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
29643 * math/libm-test.inc (frexp_test_data): Add tests.
29644 * NEWS: Update fixed bug list.
29645
29646 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29647
29648 * benchtests/Makefile: Depend on libraries in build directory.
29649 (bench-math): Separate out math tests.
29650 (bench-pthread): Separate out pthread tests.
29651 (bench): Include math and pthread tests.
29652
29653 2014-04-14 Carlos O'Donell <carlos@redhat.com>
29654
29655 [BZ #16831]
29656 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
29657 _dl_debug_initialize.
29658
29659 * configure.ac: Remove SELinux header check.
29660 * configure: Regenerate.
29661 * nscd/selinux.c (perms): Array of const char* to permission names.
29662 (nscd_request_avc_has_perm): Call security_deny_unknown to find
29663 default policy. Call string_to_security_class and string_to_av_perm to
29664 translate strings. Enforce default policy and call avs_has_perm with
29665 results of translated strings.
29666
29667 2014-04-13 David S. Miller <davem@davemloft.net>
29668
29669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29670
29671 2014-04-12 Allan McRae <allan@archlinux.org>
29672
29673 [BZ #16838]
29674 * manual/string.texi (Collation Functions): Fix qsort argument
29675 order in example.
29676 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29677
29678 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
29679
29680 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
29681 Make the test a no-op if there are no exceptions defined.
29682
29683 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
29684
29685 * elf/Makefile (tests): make tst-dlopen-aout conditional on
29686 enable-hardcoded-path-in-tests
29687
29688 2014-04-11 Will Newton <will.newton@linaro.org>
29689
29690 * benchtests/Makefile (extra-objs): Add json-lib.o.
29691 (bench-func): Tidy up JSON output.
29692 * benchtests/bench-skeleton.c: Include json-lib.h.
29693 (main): Use JSON library functions to do output of
29694 benchmark results.
29695 * benchtests/bench-timing-type.c (main): Output the
29696 timing type simply, leaving formatting to the user.
29697 * benchtests/json-lib.c: New file.
29698 * benchtests/json-lib.h: Likewise.
29699
29700 2014-04-11 Torvald Riegel <triegel@redhat.com>
29701
29702 [BZ #15215]
29703 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
29704 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
29705 memory barriers. Add comments.
29706 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
29707 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
29708 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
29709 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
29710 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
29711 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
29712
29713 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
29714
29715 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
29716 * sysdeps/s390/s390-64/configure.ac: ... this ...
29717 * sysdeps/s390/configure.ac: ... to here.
29718 * sysdeps/s390/s390-32/configure: Delete file.
29719 * sysdeps/s390/s390-64/configure: Delete file.
29720 * sysdeps/s390/configure: Regenerate.
29721
29722 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
29723
29724 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
29725
29726 2014-04-11 Will Newton <will.newton@linaro.org>
29727
29728 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
29729 to zero if it is not defined elsewhere. (mtrim): Test
29730 the value of MALLOC_DEBUG with #if rather than #ifdef.
29731
29732 2014-04-10 Torvald Riegel <triegel@redhat.com>
29733
29734 * benchtests/pthread_once-inputs: New file.
29735 * benchtests/pthread_once-source.c: New file.
29736 * benchtests/README: Update documentation.
29737
29738 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
29739 H.J. Lu <hongjiu.lu@intel.com>
29740
29741 [BZ #16275]
29742 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
29743 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
29744 * sysdeps/x86_64/configure: Regenerated.
29745 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
29746 macro.
29747 (REGISTER_SAVE_RAX): Likewise.
29748 (REGISTER_SAVE_RCX): Likewise.
29749 (REGISTER_SAVE_RDX): Likewise.
29750 (REGISTER_SAVE_RSI): Likewise.
29751 (REGISTER_SAVE_RDI): Likewise.
29752 (REGISTER_SAVE_R8): Likewise.
29753 (REGISTER_SAVE_R9): Likewise.
29754 (REGISTER_SAVE_BND0): Likewise.
29755 (REGISTER_SAVE_BND1): Likewise.
29756 (REGISTER_SAVE_BND2): Likewise.
29757 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
29758 bound registers when calling _dl_fixup.
29759
29760 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29761
29762 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
29763 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
29764 of its definition.
29765 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
29766 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
29767 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
29768 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
29769 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
29770 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
29771 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
29772
29773 2014-04-09 Peter Brett <peter@peter-b.co.uk>
29774
29775 [BZ #15514]
29776 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
29777 pathconf(_PC_NAME_MAX).
29778
29779 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29780
29781 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
29782 Remove macro usage.
29783 (__PTHREAD_SPINS): Move definition to ...
29784 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29785 (__PTHREAD_SPINS): ... here.
29786 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29787 (__PTHREAD_SPIN): Likewise.
29788 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
29789 (__PTHREAD_SPIN): Likewise.
29790 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
29791 (__PTHREAD_SPIN): Likewise.
29792 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
29793 (__PTHREAD_SPIN): Likewise.
29794 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
29795 (__PTHREAD_SPIN): Likewise.
29796 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
29797 (__PTHREAD_SPIN): Likewise.
29798 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
29799 (__PTHREAD_SPIN): Likewise.
29800 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
29801 (__PTHREAD_SPIN): Likewise.
29802 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
29803 (__PTHREAD_SPIN): Likewise.
29804 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
29805 (__PTHREAD_SPIN): Likewise.
29806 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
29807 (__PTHREAD_SPIN): Likewise.
29808 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
29809 (__PTHREAD_SPIN): Likewise.
29810
29811 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
29812 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
29813 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
29814 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
29815 imply folder.
29816 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
29817 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
29818 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
29819 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
29820 correct imply path.
29821 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
29822 strlen symbol for non multi-arch builds.
29823 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
29824 missing hidden_def and weak_alias.
29825
29826 2014-04-08 Carlos O'Donell <carlos@redhat.com>
29827
29828 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
29829
29830 2014-04-07 Will Newton <will.newton@linaro.org>
29831
29832 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
29833 and contents. [!_LIBC] Remove #ifndef and contents.
29834 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
29835 * string/memccpy.c (__memccpy): Use ANSI prototype.
29836 * string/memfrob.c (memfrob): Likewise.
29837 * string/strcoll.c (STRCOLL): Likewise.
29838 * string/strlen.c (strlen): Likewise.
29839 * string/strtok.c (STRTOK): Likewise.
29840 * string/strcat.c: Remove unused #include of memcopy.h.
29841 (strcat): Use ANSI prototype.
29842 * string/strchr.c: Remove unused #include of memcopy.h.
29843 (strchr): Use ANSI prototype.
29844 * string/strcmp.c: Remove unused #include of memcopy.h.
29845 (strcmp): Use ANSI prototype.
29846 * string/strcpy.c: Remove unused #include of memcopy.h.
29847 (strcpy): Use ANSI prototype.
29848
29849 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29850
29851 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
29852 * config.make.in (config-extra-cppflags): Set it from
29853 libc_extra_cppflags.
29854 * configure.ac (libc_extra_cflags): Make it accumulate over
29855 configure fragments.
29856 (libc_extra_cppflags): New flag.
29857 * configure. Regenerate.
29858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29859 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
29860 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
29861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
29862
29863 [BZ #16815]
29864 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
29865 result for FE_DOWNWARD rounding mode.
29866 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
29867 Likewise.
29868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29869
29870 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
29871
29872 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
29873 in function argument name.
29874
29875 2014-04-03 David Svoboda <svoboda@cert.org>
29876
29877 [BZ #5666]
29878 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
29879 explicitly.
29880
29881 2014-04-03 Roland McGrath <roland@hack.frob.com>
29882
29883 * elf/dl-unmap-segments.h: New file.
29884 * sysdeps/generic/ldsodefs.h
29885 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
29886 * elf/dl-close.c: Include <dl-unmap-segments.h>.
29887 * elf/dl-fptr.c: Likewise.
29888 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
29889 * sysdeps/aarch64/tlsdesc.c: Likewise.
29890 * sysdeps/arm/tlsdesc.c: Likewise.
29891 * sysdeps/i386/tlsdesc.c: Likewise.
29892 * sysdeps/tile/dl-runtime.c: Likewise.
29893 * sysdeps/x86_64/tlsdesc.c: Likewise.
29894 * elf/dl-load.h: New file.
29895 * elf/dl-load.c: Include it.
29896 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
29897 Macros moved to dl-load.h.
29898 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
29899 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
29900 Use _dl_unmap_segments in place of __munmap.
29901 Break out segment-mapping loop into ...
29902 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
29903
29904 2014-04-03 Will Newton <will.newton@linaro.org>
29905
29906 * elf/dl-lookup.c (do_lookup_x): Remove comment
29907 referring to nested function and move variable
29908 declarations down to before first use.
29909
29910 2014-04-02 Joseph Myers <joseph@codesourcery.com>
29911
29912 [BZ #16799]
29913 [BZ #16800]
29914 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
29915 with 0 numerator.
29916 * math/s_catanf.c (__catanf): Likewise.
29917 * math/s_catanh.c (__catanh): Likewise.
29918 * math/s_catanhf.c (__catanhf): Likewise.
29919 * math/s_catanhl.c (__catanhl): Likewise.
29920 * math/s_catanl.c (__catanl): Likewise.
29921 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
29922 by positive zero when computing -Inf result.
29923 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
29924 (catanh_test): Likewise.
29925 * sysdeps/i386/fpu/libm-test-ulps: Update.
29926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29927
29928 [BZ #16789]
29929 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
29930 instead of using underflowing value in computing result.
29931 * math/s_clog10.c (__clog10): Likewise.
29932 * math/s_clog10f.c (__clog10f): Likewise.
29933 * math/s_clog10l.c (__clog10l): Likewise.
29934 * math/s_clogf.c (__clogf): Likewise.
29935 * math/s_clogl.c (__clogl): Likewise.
29936 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
29937 (clog10_test): Likewise.
29938 * sysdeps/i386/fpu/libm-test-ulps: Update.
29939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29940
29941 2014-04-02 Alan Modra <amodra@gmail.com>
29942
29943 [BZ #16739]
29944 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
29945 output when value is near a power of two. Use int64_t for lx and
29946 remove casts. Use decimal rather than hex exponent constants.
29947 Don't use long double multiplication when double will suffice.
29948 * math/libm-test.inc (nextafter_test_data): Add tests.
29949 * NEWS: Add 16739 and 16786 to bug list.
29950
29951 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
29952
29953 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
29954
29955 2014-04-01 Will Newton <will.newton@linaro.org>
29956
29957 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
29958 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
29959
29960 2014-04-01 Florian Weimer <fweimer@redhat.com>
29961
29962 [BZ #13347]
29963 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
29964 * nptl/tst-setuid2.c: New file.
29965 * nptl/Makefile (xtests): Add tst-setuid2.
29966
29967 2014-04-01 Alan Modra <amodra@gmail.com>
29968
29969 [BZ #16786]
29970 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
29971
29972 2014-03-31 Joseph Myers <joseph@codesourcery.com>
29973
29974 [BZ #6803]
29975 [BZ #6804]
29976 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
29977 set errno as appropriate.
29978 * math/w_scalbf.c (__scalbf): Likewise.
29979 * math/w_scalbl.c (__scalbl): Likewise.
29980 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
29981 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
29982 * math/libm-test.inc (scalb_test_data): Add errno expectations.
29983 Add more NaN tests.
29984
29985 [BZ #16349]
29986 * math/w_atan2.c: Include <errno.h>.
29987 (__atan2): Set errno for result underflowing to zero.
29988 * math/w_atan2f.c: Include <errno.h>.
29989 (__atan2f): Set errno for result underflowing to zero.
29990 * math/w_atan2l.c: Include <errno.h>.
29991 (__atan2l): Set errno for result underflowing to zero.
29992 * math/auto-libm-test-in: Don't allow missing errno for some atan2
29993 tests.
29994 * math/auto-libm-test-out: Regenerated.
29995
29996 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29997
29998 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29999 Encode instruction correctly in little endian.
30000 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30001 Likewise.
30002 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30003 Likewise.
30004 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30005 Likewise.
30006 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30007 Likewise.
30008
30009 2014-03-31 Joseph Myers <joseph@codesourcery.com>
30010
30011 [BZ #9894]
30012 * sysdeps/unix/sysv/linux/kernel-features.h
30013 [__sparc__ && !__arch64__ && !__sparc_v9__]
30014 (__ASSUME_SET_ROBUST_LIST): Do not define.
30015 [__sparc__ && !__arch64__ && !__sparc_v9__]
30016 (__ASSUME_FUTEX_LOCK_PI): Likewise.
30017 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
30018 Likewise.
30019 * sysdeps/unix/sysv/linux/arm/kernel-features.h
30020 (__ASSUME_FUTEX_LOCK_PI): Undefine.
30021 (__ASSUME_REQUEUE_PI): Likewise.
30022 (__ASSUME_SET_ROBUST_LIST): Likewise.
30023 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30024 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
30025 Undefine.
30026 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30027 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
30028 Likewise.
30029 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
30030 Likewise.
30031 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
30032 Likewise.
30033 * sysdeps/unix/sysv/linux/mips/kernel-features.h
30034 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
30035 Undefine.
30036 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
30037 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
30038 Likewise.
30039
30040 [BZ #16648]
30041 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30042 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
30043 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
30044
30045 2014-03-31 Will Newton <will.newton@linaro.org>
30046
30047 * benchtests/Makefile (bench): Add ffs and ffsll to list
30048 of tests.
30049 * benchtests/ffs-inputs: New file.
30050 * benchtests/ffsll-inputs: Likewise.
30051
30052 2014-03-29 Joseph Myers <joseph@codesourcery.com>
30053
30054 [BZ #16770]
30055 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
30056 too large before casting to int.
30057 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
30058 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
30059 * math/libm-test.inc (scalb_test_data): Add more tests.
30060
30061 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30062
30063 * benchtests/Makefile (DETAILED_OPT): New make option.
30064 (bench-func): Run benchmark program with -d if DETAILED_OPT is
30065 set.
30066 * benchtests/bench-skeleton.c: Include stdbool.h.
30067 (main): Store and print timings per input.
30068 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
30069 member to each argument value.
30070 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
30071 (_print_arg_data): Initialize per-input timing to 0.
30072
30073 * benchtests/Makefile (timing-type): New binary.
30074 (bench-clean): Also remove bench-timing-type.
30075 (bench): New target for timing-type.
30076 (bench-func): Print output in JSON format.
30077 * benchtests/bench-skeleton.c (main): Print output in JSON
30078 format.
30079 * benchtests/bench-timing-type.c: New file.
30080 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
30081 (TIMING_PRINT_STATS): Remove.
30082 * benchtests/scripts/bench.py (_print_arg_data): Store variant
30083 name separately.
30084
30085 * benchtests/bench-modf.c: Remove.
30086 * benchtests/modf-inputs: New inputs file.
30087
30088 2014-03-28 Joseph Myers <joseph@codesourcery.com>
30089
30090 [BZ #16362]
30091 * math/s_clog10.c (M_PI_LOG10E): New macro.
30092 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
30093 imaginary parts are 0.
30094 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
30095 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
30096 imaginary parts are 0.
30097 * math/s_clog10l.c (M_PI_LOG10El): New macro.
30098 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
30099 imaginary parts are 0.
30100 * math/libm-test.inc (clog10_test_data): Update expected results
30101 for when real and imaginary parts are 0.
30102
30103 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30104
30105 * elf/dl-load.c: Finish conversion of __builtin_expect into
30106 __glibc_{un}likely.
30107
30108 2014-03-27 Joseph Myers <joseph@codesourcery.com>
30109
30110 [BZ #16348]
30111 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
30112 1+x for argument with exponent below -67.
30113 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
30114 Likewise.
30115 * math/auto-libm-test-in: Add more tests of exp.
30116 * math/auto-libm-test-out: Regenerated.
30117
30118 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30119
30120 [BZ #16759]
30121 * inet/getnetgrent_r.c (get_nonempty_val): New function.
30122 (nscd_getnetgrent): Use it.
30123
30124 [BZ #16760]
30125 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
30126 of stpcpy.
30127
30128 2014-03-27 Andi Kleen <ak@linux.intel.com>
30129
30130 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
30131 (lll_robust_lock, lll_cond_lock, lll_timedlock)
30132 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30133 (lll_robust_unlock): Remove out of line section. Use cfi
30134 intrinsics.
30135 (LLL_STUB_UNWIND_INFO*): Remove.
30136 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
30137 (lll_robust_lock, lll_cond_lock, lll_timedlock)
30138 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30139 (lll_robust_unlock): Remove out of line section. Use cfi
30140 intrinsics.
30141 (LLL_STUB_UNWIND_INFO*): Remove.
30142
30143 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30144
30145 [BZ #16758]
30146 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
30147 blank values.
30148
30149 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
30150
30151 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
30152
30153 2014-03-26 Joseph Myers <joseph@codesourcery.com>
30154
30155 [BZ #16198]
30156 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
30157 fnstenv.
30158 * math/test-fenv-preserve.c: New file.
30159 * math/Makefile (tests): Add test-fenv-preserve.
30160
30161 2014-03-26 Will Newton <will.newton@linaro.org>
30162
30163 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
30164
30165 2014-03-25 Roland McGrath <roland@hack.frob.com>
30166
30167 * scripts/versionlist.awk: Partition the version sets and emit all
30168 GLIBC_* (sorted) before all others (sorted).
30169
30170 2014-03-25 Joseph Myers <joseph@codesourcery.com>
30171
30172 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
30173 GLIBC_2.2.5 version.
30174
30175 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30176
30177 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
30178 calls.
30179
30180 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
30181 previous change.
30182
30183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30184
30185 2014-03-25 Andreas Schwab <schwab@suse.de>
30186
30187 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
30188 label to be used after in6ailist is initialized.
30189
30190 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30191
30192 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30193 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30194
30195 2014-03-25 Joseph Myers <joseph@codesourcery.com>
30196
30197 [BZ #16357]
30198 [BZ #16599]
30199 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
30200 min_plus_half.
30201 (fp_formats): Update initializers.
30202 (init_fp_formats): Initialize new field.
30203 (output_for_one_input_case): Allow underflow for results up to
30204 min_plus_half.
30205 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
30206 * math/auto-libm-test-in: Don't mark some underflows from asin and
30207 atanh as spurious.
30208 * math/auto-libm-test-out: Regenerated.
30209 * sysdeps/i386/fpu/libm-test-ulps: Update.
30210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30211
30212 2014-03-25 Andreas Schwab <schwab@suse.de>
30213
30214 * libio/Makefile (tst-ftell-partial-wide-ENV)
30215 (tst-ftell-active-handler-ENV): Define.
30216
30217 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
30218
30219 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
30220
30221 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
30222
30223 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
30224
30225 2014-03-24 Joseph Myers <joseph@codesourcery.com>
30226
30227 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
30228 * sysdeps/x86_64/fpu/multiarch/e_exp.c
30229 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30230
30231 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
30232
30233 [BZ #16634]
30234 * elf/dl-load.c (open_verify): Add mode parameter.
30235 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
30236 (open_path): Change from boolean 'secure' to complete flag 'mode'
30237 (_dl_map_object): Adjust.
30238 * elf/Makefile (tests): Add tst-dlopen-aout.
30239 * elf/tst-dlopen-aout.c: New test.
30240
30241 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
30242
30243 [BZ #16714]
30244 * sysdeps/unix/sysv/linux/s390/bits/stat.h
30245 (struct stat): Rename member pad0 to __glibc_reserved0.
30246
30247 [BZ #16712]
30248 * sysdeps/s390/s390-32/bits/wordsize.h
30249 (__WORDSIZE32_SIZE_ULONG): New define.
30250 * sysdeps/s390/s390-64/bits/wordsize.h
30251 (__WORDSIZE32_SIZE_ULONG): Likewise.
30252 * sysdeps/generic/stdint.h (SIZE_MAX):
30253 Define as UL if __WORDSIZE32_SIZE_ULONG.
30254
30255 [BZ #16713]
30256 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30257 (__glibc_reserved0): New variable.
30258 (sa_flags): Change type to int.
30259
30260 * posix/Makefile (before-compile): Use += before-compile instead
30261 of a :=.
30262
30263 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30264 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30265
30266 2014-03-20 Andreas Schwab <schwab@suse.de>
30267
30268 [BZ #16743]
30269 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
30270 non-matching result from nscd.
30271
30272 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30273
30274 * scripts/bench.py: Moved to ...
30275 * benchtests/scripts/bench.py: ... here.
30276 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
30277
30278 2014-03-24 Andreas Schwab <schwab@suse.de>
30279
30280 [BZ #16002]
30281 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
30282 alloca_account and account alloca use for struct in6ailist.
30283
30284 2014-03-24 Joseph Myers <joseph@codesourcery.com>
30285
30286 [BZ #16284]
30287 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
30288 rounding mode to recompute results that overflow to infinity or
30289 underflow to zero.
30290 * math/auto-libm-test-in: Don't mark tests as expected to fail for
30291 bug 16284.
30292 * math/auto-libm-test-out: Regenerated.
30293 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
30294 (ccosh_test): Likewise.
30295 (csin_test_data): Use plus_oflow.
30296 (csin_test): Use ALL_RM_TEST.
30297 (csinh_test_data): Use plus_oflow.
30298 (csinh_test): Use ALL_RM_TEST.
30299 * sysdeps/i386/fpu/libm-test-ulps: Update.
30300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30301
30302 2014-03-21 Joseph Myers <joseph@codesourcery.com>
30303
30304 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
30305 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
30306 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
30307
30308 [BZ #16731]
30309 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
30310 when x - 1 is zero.
30311 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
30312 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
30313 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30314 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
30315 argument is 1.
30316 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
30317 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
30318 zero.
30319 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
30320 * sysdeps/i386/fpu/libm-test-ulps: Update.
30321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30322
30323 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30324
30325 * scripts/bench.pl: Remove file.
30326 * scripts/bench.py: New benchmark script.
30327 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
30328 * benchtests/README: Mention python dependency.
30329 * scripts/pylintrc: New file.
30330 * scripts/pylint: New file.
30331
30332 * bits/mathdef.h: Use #ifdef instead of #if.
30333 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
30334 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30335 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
30336 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30337 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
30338 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30339
30340 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30341 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
30342
30343 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
30344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
30345 and strpbrk-ppc64 objects.
30346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30347 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
30348 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
30349 multiarch strpbrk for POWER7.
30350 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
30351 multiarch strpbrk for PPC64.
30352 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
30353 ifunc selector.
30354 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
30355 strpbrk for POWER7.
30356
30357 2014-03-20 Joseph Myers <joseph@codesourcery.com>
30358
30359 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
30360 (atan_test): Likewise.
30361 (atanh_test_data): Use NO_TEST_INLINE for two tests.
30362 (atanh_test): Use ALL_RM_TEST.
30363 (atan2_test_data): Likewise.
30364 (cabs_test): Likewise.
30365 (cacosh_test): Likewise.
30366 (carg_test): Likewise.
30367 (casin_test): Likewise.
30368 (casinh_test): Likewise.
30369 (cbrt_test): Likewise.
30370 (csqrt_test): Likewise.
30371 (erf_test): Likewise.
30372 (erfc_test): Likewise.
30373 (pow10_test): Likewise.
30374 (exp2_test): Likewise.
30375 (hypot_test): Likewise.
30376 (j0_test): Likewise.
30377 (j1_test): Likewise.
30378 (lgamma_test): Likewise.
30379 (gamma_test): Likewise.
30380 (sincos_test): Likewise.
30381 (tanh_test): Likewise.
30382 (y0_test): Likewise.
30383 (y1_test): Likewise.
30384 * sysdeps/i386/fpu/libm-test-ulps: Update.
30385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30386
30387 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30388
30389 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
30390 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
30391 and strcspn-ppc64 objects.
30392 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30393 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
30394 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
30395 multiarch strcspn for POWER7.
30396 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
30397 multiarch strcspn for PPC64.
30398 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
30399 ifunc selector.
30400 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
30401 strcspn for POWER7.
30402
30403 2014-03-20 Joseph Myers <joseph@codesourcery.com>
30404
30405 * math/gen-libm-test.pl (generate_testfile): Expect only function
30406 name as argument to AUTO_TESTS_* and pass results for all rounding
30407 modes to parse_args.
30408 (parse_auto_input): Separate inputs of automatic tests from
30409 outputs before storing in %auto_tests.
30410 * math/libm-test.inc (acos_test_data): Update call to
30411 AUTO_TESTS_f_f.
30412 (acos_test): Use ALL_RM_TEST.
30413 (acos_tonearest_test_data): Remove.
30414 (acos_test_tonearest): Likewise.
30415 (acos_towardzero_test_data): Likewise.
30416 (acos_test_towardzero): Likewise.
30417 (acos_downward_test_data): Likewise.
30418 (acos_test_downward): Likewise.
30419 (acos_upward_test_data): Likewise.
30420 (acos_test_upward): Likewise.
30421 (acosh_test_data): Update call to AUTO_TESTS_f_f.
30422 (asin_test_data): Likewise.
30423 (asin_test): Use ALL_RM_TEST.
30424 (asin_tonearest_test_data): Remove.
30425 (asin_test_tonearest): Likewise.
30426 (asin_towardzero_test_data): Likewise.
30427 (asin_test_towardzero): Likewise.
30428 (asin_downward_test_data): Likewise.
30429 (asin_test_downward): Likewise.
30430 (asin_upward_test_data): Likewise.
30431 (asin_test_upward): Likewise.
30432 (asinh_test_data): Update call to AUTO_TESTS_f_f.
30433 (atan_test_data): Likewise.
30434 (atanh_test_data): Likewise.
30435 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
30436 (cabs_test_data): Update call to AUTO_TESTS_c_f.
30437 (carg_test_data): Likewise.
30438 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
30439 (ccos_test_data): Update call to AUTO_TESTS_c_c.
30440 (ccosh_test_data): Likewise.
30441 (cexp_test_data): Likewise.
30442 (clog_test_data): Likewise.
30443 (clog10_test_data): Likewise.
30444 (cos_test_data): Update call to AUTO_TESTS_f_f.
30445 (cos_test): Use ALL_RM_TEST.
30446 (cos_tonearest_test_data): Remove.
30447 (cos_test_tonearest): Likewise.
30448 (cos_towardzero_test_data): Likewise.
30449 (cos_test_towardzero): Likewise.
30450 (cos_downward_test_data): Likewise.
30451 (cos_test_downward): Likewise.
30452 (cos_upward_test_data): Likewise.
30453 (cos_test_upward): Likewise.
30454 (cosh_test_data): Update call to AUTO_TESTS_f_f.
30455 (cosh_test): Use ALL_RM_TEST.
30456 (cosh_tonearest_test_data): Remove.
30457 (cosh_test_tonearest): Likewise.
30458 (cosh_towardzero_test_data): Likewise.
30459 (cosh_test_towardzero): Likewise.
30460 (cosh_downward_test_data): Likewise.
30461 (cosh_test_downward): Likewise.
30462 (cosh_upward_test_data): Likewise.
30463 (cosh_test_upward): Likewise.
30464 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
30465 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
30466 (ctan_test_data): Likewise.
30467 (ctan_test): Use ALL_RM_TEST.
30468 (ctan_tonearest_test_data): Remove.
30469 (ctan_test_tonearest): Likewise.
30470 (ctan_towardzero_test_data): Likewise.
30471 (ctan_test_towardzero): Likewise.
30472 (ctan_downward_test_data): Likewise.
30473 (ctan_test_downward): Likewise.
30474 (ctan_upward_test_data): Likewise.
30475 (ctan_test_upward): Likewise.
30476 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
30477 (ctanh_test): Use ALL_RM_TEST.
30478 (ctanh_tonearest_test_data): Remove.
30479 (ctanh_test_tonearest): Likewise.
30480 (ctanh_towardzero_test_data): Likewise.
30481 (ctanh_test_towardzero): Likewise.
30482 (ctanh_downward_test_data): Likewise.
30483 (ctanh_test_downward): Likewise.
30484 (ctanh_upward_test_data): Likewise.
30485 (ctanh_test_upward): Likewise.
30486 (erf_test_data): Update call to AUTO_TESTS_f_f.
30487 (erfc_test_data): Likewise.
30488 (exp_test_data): Likewise.
30489 (exp_test): Use ALL_RM_TEST.
30490 (exp_tonearest_test_data): Remove.
30491 (exp_test_tonearest): Likewise.
30492 (exp_towardzero_test_data): Likewise.
30493 (exp_test_towardzero): Likewise.
30494 (exp_downward_test_data): Likewise.
30495 (exp_test_downward): Likewise.
30496 (exp_upward_test_data): Likewise.
30497 (exp_test_upward): Likewise.
30498 (exp10_test_data): Update call to AUTO_TESTS_f_f.
30499 (exp10_test): Use ALL_RM_TEST.
30500 (exp10_tonearest_test_data): Remove.
30501 (exp10_test_tonearest): Likewise.
30502 (exp10_towardzero_test_data): Likewise.
30503 (exp10_test_towardzero): Likewise.
30504 (exp10_downward_test_data): Likewise.
30505 (exp10_test_downward): Likewise.
30506 (exp10_upward_test_data): Likewise.
30507 (exp10_test_upward): Likewise.
30508 (exp2_test_data): Update call to AUTO_TESTS_f_f.
30509 (expm1_test_data): Likewise.
30510 (expm1_test): Use ALL_RM_TEST.
30511 (expm1_tonearest_test_data): Remove.
30512 (expm1_test_tonearest): Likewise.
30513 (expm1_towardzero_test_data): Likewise.
30514 (expm1_test_towardzero): Likewise.
30515 (expm1_downward_test_data): Likewise.
30516 (expm1_test_downward): Likewise.
30517 (expm1_upward_test_data): Likewise.
30518 (expm1_test_upward): Likewise.
30519 (fma_test_data): Update call to AUTO_TESTS_fff_f.
30520 (fma_test): Use ALL_RM_TEST.
30521 (fma_towardzero_test_data): Remove.
30522 (fma_test_towardzero): Likewise.
30523 (fma_downward_test_data): Likewise.
30524 (fma_test_downward): Likewise.
30525 (fma_upward_test_data): Likewise.
30526 (fma_test_upward): Likewise.
30527 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
30528 (j0_test_data): Update call to AUTO_TESTS_f_f.
30529 (j1_test_data): Likewise.
30530 (jn_test_data): Update call to AUTO_TESTS_if_f.
30531 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
30532 (log_test_data): Update call to AUTO_TESTS_f_f.
30533 (log10_test_data): Likewise.
30534 (log1p_test_data): Likewise.
30535 (log2_test_data): Likewise.
30536 (pow_test_data): Update call to AUTO_TESTS_ff_f.
30537 (pow_tonearest_test_data): Likewise.
30538 (sin_test_data): Update call to AUTO_TESTS_f_f.
30539 (sin_test): Use ALL_RM_TEST.
30540 (sin_tonearest_test_data): Remove.
30541 (sin_test_tonearest): Likewise.
30542 (sin_towardzero_test_data): Likewise.
30543 (sin_test_towardzero): Likewise.
30544 (sin_downward_test_data): Likewise.
30545 (sin_test_downward): Likewise.
30546 (sin_upward_test_data): Likewise.
30547 (sin_test_upward): Likewise.
30548 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
30549 (sinh_test_data): Update call to AUTO_TESTS_f_f.
30550 (sinh_test): Use ALL_RM_TEST.
30551 (sinh_tonearest_test_data): Remove.
30552 (sinh_test_tonearest): Likewise.
30553 (sinh_towardzero_test_data): Likewise.
30554 (sinh_test_towardzero): Likewise.
30555 (sinh_downward_test_data): Likewise.
30556 (sinh_test_downward): Likewise.
30557 (sinh_upward_test_data): Likewise.
30558 (sinh_test_upward): Likewise.
30559 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
30560 (sqrt_test): Use ALL_RM_TEST.
30561 (sqrt_tonearest_test_data): Remove.
30562 (sqrt_test_tonearest): Likewise.
30563 (sqrt_towardzero_test_data): Likewise.
30564 (sqrt_test_towardzero): Likewise.
30565 (sqrt_downward_test_data): Likewise.
30566 (sqrt_test_downward): Likewise.
30567 (sqrt_upward_test_data): Likewise.
30568 (sqrt_test_upward): Likewise.
30569 (tan_test_data): Update call to AUTO_TESTS_f_f.
30570 (tan_test): Use ALL_RM_TEST.
30571 (tan_tonearest_test_data): Remove.
30572 (tan_test_tonearest): Likewise.
30573 (tan_towardzero_test_data): Likewise.
30574 (tan_test_towardzero): Likewise.
30575 (tan_downward_test_data): Likewise.
30576 (tan_test_downward): Likewise.
30577 (tan_upward_test_data): Likewise.
30578 (tan_test_upward): Likewise.
30579 (tanh_test_data): Update call to AUTO_TESTS_f_f.
30580 (tgamma_test_data): Likewise.
30581 (y0_test_data): Likewise.
30582 (y1_test_data): Likewise.
30583 (yn_test_data): Update call to AUTO_TESTS_if_f.
30584 (main): Do not call removed functions.
30585
30586 2014-03-19 Joseph Myers <joseph@codesourcery.com>
30587
30588 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
30589 (ldexp_test_data): Remove.
30590 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
30591 scalbn_test_data.
30592 (scalb_test): Use ALL_RM_TEST.
30593
30594 2014-03-19 Andreas Schwab <schwab@suse.de>
30595
30596 * nscd/nscd.service: Also invalidate netgroup cache on reload.
30597
30598 2014-03-19 Joseph Myers <joseph@codesourcery.com>
30599
30600 [BZ #16649]
30601 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30602 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
30603 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
30604 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30605 (__ASSUME_PREADV): Undefine.
30606 (__ASSUME_PWRITEV): Likewise.
30607
30608 2014-03-18 Roland McGrath <roland@hack.frob.com>
30609
30610 * bits/mman-linux.h: Add comment about non-Linux use.
30611 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
30612 bits/mman-linux.h resting place.
30613
30614 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
30615 * bits/mman-linux.h: ... here.
30616
30617 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30618
30619 * conform/conformtest.pl: Add standard definition when calling C
30620 preprocessor on data files.
30621 (checknamespace): Remove unused variable.
30622
30623 2014-03-18 Joseph Myers <joseph@codesourcery.com>
30624
30625 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
30626 minus_oflow, plus_uflow and minus_uflow in expected results.
30627 * math/libm-test.inc (scalbn_test_data): Add more tests of
30628 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
30629 minus_uflow.
30630 (scalbn_test): Use ALL_RM_TEST.
30631 (scalbln_test_data): Add more tests of negative arguments. Use
30632 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
30633 (scalbln_test): Use ALL_RM_TEST.
30634
30635 2014-03-18 Roland McGrath <roland@hack.frob.com>
30636
30637 * scripts/abilist.awk: Ignore symbols marked with .hidden.
30638
30639 2014-03-18 Will Newton <will.newton@linaro.org>
30640
30641 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
30642 inaccurate comment.
30643
30644 2014-03-18 Joseph Myers <joseph@codesourcery.com>
30645
30646 * Makerules [!subdir] (check-abi): Exit with error status if a
30647 test failed.
30648
30649 2014-03-17 Joseph Myers <joseph@codesourcery.com>
30650
30651 * math/libm-test.inc (nearbyint_test_data): Include all tests used
30652 for rint. Include results for all rounding modes.
30653 (nearbyint_test): Use ALL_RM_TEST.
30654 (rint_test_data): Include all tests used for nearbyint.
30655
30656 2014-03-17 Will Newton <will.newton@linaro.org>
30657
30658 * nptl/sysdeps/pthread/pthread.h: Revert previous
30659 change.
30660
30661 * sysdeps/generic/ldsodefs.h: Revert previous
30662 change.
30663
30664 * libio/genops.c: Revert previous change.
30665 * libio/libioP.h: Likewise.
30666 * stdio-common/vfprintf.c: Likewise.
30667
30668 * sysdeps/generic/math_private.h: Revert previous
30669 change.
30670
30671 * sysdeps/generic/math_private.h: Check whether
30672 HAVE_RM_CTX is defined with #ifdef rather
30673 than #if.
30674
30675 * argp/argp-fmtstream.h: Check whether
30676 __STRICT_ANSI__ is defined with #ifdef rather
30677 than #if.
30678 * argp/argp.h: Likewise.
30679
30680 * libio/genops.c: Check whether
30681 _IO_JUMPS_OFFSET is defined with #ifdef rather
30682 than #if.
30683 * libio/libioP.h: Likewise.
30684 * stdio-common/vfprintf.c: Likewise.
30685
30686 * sysdeps/generic/ldsodefs.h: Check whether
30687 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
30688 than #if.
30689
30690 * nptl/sysdeps/pthread/pthread.h: Check
30691 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
30692 its value.
30693
30694 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30695
30696 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
30697 setting O_APPEND.
30698 * libio/tst-ftell-active-handler.c (do_append_test): Add a
30699 test case.
30700
30701 [BZ #16680]
30702 * libio/fileops.c (_IO_file_open): Seek to end of file but
30703 don't cache the offset.
30704 (get_file_offset): Remove function.
30705 (do_ftell): Use cached offset when available.
30706 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
30707 don't cache the offset.
30708 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
30709 case.
30710 (do_one_test): Call it.
30711 (do_ftell_test): Fix up expected old offset for a+ mode.
30712 * libio/wfileops.c (do_ftell_wide): Used cached offset when
30713 available.
30714
30715 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
30716 up test status with function return status.
30717 (do_write_test): Likewise.
30718 (do_append_test): Likewise.
30719
30720 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
30721 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
30722 Remove.
30723
30724 2014-03-17 Joseph Myers <joseph@codesourcery.com>
30725
30726 * math/gen-libm-test.pl (parse_args): Handle results specified for
30727 each rounding mode separately.
30728 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
30729 tests and results from lrint_tonearest_test_data,
30730 lrint_towardzero_test_data, lrint_downward_test_data and
30731 lrint_upward_test_data.
30732 (lrint_test): Use ALL_RM_TEST.
30733 (lrint_tonearest_test_data): Remove.
30734 (lrint_test_tonearest): Likewise.
30735 (lrint_towardzero_test_data): Likewise.
30736 (lrint_test_towardzero): Likewise.
30737 (lrint_downward_test_data): Likewise.
30738 (lrint_test_downward): Likewise.
30739 (lrint_upward_test_data): Likewise.
30740 (lrint_test_upward): Likewise.
30741 (llrint_test_data): Merge in per-rounding-mode tests and results
30742 from llrint_tonearest_test_data, llrint_towardzero_test_data,
30743 llrint_downward_test_data and llrint_upward_test_data.
30744 (llrint_test): Use ALL_RM_TEST.
30745 (llrint_tonearest_test_data): Remove.
30746 (llrint_test_tonearest): Likewise.
30747 (llrint_towardzero_test_data): Likewise.
30748 (llrint_test_towardzero): Likewise.
30749 (llrint_downward_test_data): Likewise.
30750 (llrint_test_downward): Likewise.
30751 (llrint_upward_test_data): Likewise.
30752 (llrint_test_upward): Likewise.
30753 (rint_test_data): Merge in per-rounding-mode tests and results
30754 from rint_tonearest_test_data, rint_towardzero_test_data,
30755 rint_downward_test_data and rint_upward_test_data. Add
30756 per-rounding-mode results for tests not in those arrays.
30757 (rint_test): Use ALL_RM_TEST.
30758 (rint_tonearest_test_data): Remove.
30759 (rint_test_tonearest): Likewise.
30760 (rint_towardzero_test_data): Likewise.
30761 (rint_test_towardzero): Likewise.
30762 (rint_downward_test_data): Likewise.
30763 (rint_test_downward): Likewise.
30764 (rint_upward_test_data): Likewise.
30765 (rint_test_upward): Likewise.
30766 (main): Don't call removed functions.
30767
30768 2014-03-14 Roland McGrath <roland@hack.frob.com>
30769
30770 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
30771 "Compiled on ..." crapola. It is anti-useful.
30772
30773 2014-03-14 Joseph Myers <joseph@codesourcery.com>
30774
30775 * scripts/evaluate-test.sh: Handle fourth argument to determine
30776 whether test run should stop on failure.
30777 * Makeconfig (stop-on-test-failure): New variable.
30778 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
30779 $(stop-on-test-failure).
30780 * Makefile (tests): Give a summary of results from testing and
30781 exit with failure status if they include an ERROR or FAIL.
30782 (xtests): Likewise.
30783 * manual/install.texi (Configuring and compiling): Mention
30784 stop-on-test-failure=y.
30785 * INSTALL: Regenerated.
30786
30787 2014-03-14 Roland McGrath <roland@hack.frob.com>
30788
30789 * scripts/versionlist.awk: New file.
30790 * Makerules [$(build-shared) = yes]
30791 (postclean-generated): Add Versions.def, not Versions.def.v and
30792 Versions.def.v.i.
30793 ($(common-objpfx)Versions.def.v.i): Target removed.
30794 ($(common-objpfx)Versions.def): New target.
30795 ($(common-objpfx)Versions.all): Depend on that rather that
30796 $(common-objpfx)Versions.def.v.
30797 * Versions.def: File removed.
30798
30799 * Makeconfig (+gccwarn): Add -Wundef.
30800 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
30801 a dl-sysdep.h breaking its contract.
30802 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
30803 * include/stackinfo.h: New file.
30804 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
30805 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
30806 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
30807 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
30808 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
30809 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
30810 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30811 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30812 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30813 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30814 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30815 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
30816 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30817 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30818 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30819
30820 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30821
30822 [BZ #16707]
30823 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
30824 implementation.
30825 * math/libm-test.inc (round_test_data): Add more tests.
30826
30827 [BZ #16706]
30828 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
30829 implementation.
30830 * math/libm-test.inc (nearbyint_test_data): Add more tests.
30831
30832 [BZ #16701]
30833 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
30834 implementation.
30835 * math/libm-test.inc (ceil_test_data): Add more tests.
30836
30837 * math/libm-test.inc (trunc_test_data): Add more tests related to
30838 BZ#16414.
30839
30840 2014-03-14 Roland McGrath <roland@hack.frob.com>
30841
30842 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
30843 with #if rather than #ifdef.
30844 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
30845
30846 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
30847
30848 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
30849 first. Disable AVX-512 GCC support if assembler doesn't support
30850 it.
30851 * sysdeps/x86_64/configure: Regenerated.
30852
30853 2014-03-13 Carlos O'Donell <carlos@redhat.com>
30854
30855 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
30856 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
30857 (__old_pthread_attr_setstack): Likewise.
30858 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
30859 [!_STACK_GROWS_DOWN]: Likewise.
30860
30861 2014-03-13 Mike Frysinger <vapier@gentoo.org>
30862
30863 * config.make.in (have-bash2): Delete.
30864 * configure.ac (libc_cv_have_bash2): Delete.
30865 * configure: Regenerate.
30866 * elf/Makefile (common-ldd-rewrite): Rename to ...
30867 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
30868 (sh-ldd-rewrite): Delete.
30869 (bash-ldd-rewrite): Delete.
30870 (have-bash2): Delete checks.
30871 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
30872 ldd-rewrite.
30873
30874 * config.make.in (have-ksh): Delete.
30875 (KSH): Delete.
30876 * configure.ac (libc_cv_have_ksh): Delete.
30877 * configure: Regenerate.
30878
30879 * elf/Makefile: Delete $(have-ksh) check.
30880 ($(objpfx)sotruss): Change KSH to BASH.
30881 * elf/sotruss.ksh: Rename to ...
30882 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
30883 function style to match POSIX. Drop ksh vim mode setting.
30884
30885 * manual/time.texi (Specifying the Time Zone with TZ): Change
30886 Tuesday to Thursday.
30887
30888 * debug/tst-longjmp_chk2.c: Update header comment.
30889 (stackoverflow_handler): Add comment. Call assert on pass value.
30890
30891 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
30892
30893 [BZ #16194]
30894 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
30895 (HAVE_AVX512_ASM_SUPPORT): Likewise.
30896 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
30897 (La_x86_64_vector): Add zmm.
30898 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
30899 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
30900 ($(objpfx)tst-audit10): New target.
30901 ($(objpfx)tst-audit10.out): Likewise.
30902 (tst-audit10-ENV): New.
30903 (AVX512-CFLAGS): Likewise.
30904 (CFLAGS-tst-audit10.c): Likewise.
30905 (CFLAGS-tst-auditmod10a.c): Likewise.
30906 (CFLAGS-tst-auditmod10b.c): Likewise.
30907 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
30908 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
30909 * sysdeps/x86_64/configure: Regenerated.
30910 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
30911 AVX-512 zmm register support.
30912 (_dl_x86_64_save_sse): Likewise.
30913 (_dl_x86_64_restore_sse): Likewise.
30914 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
30915 size vector registers.
30916 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
30917 (ZMM_SIZE): Likewise.
30918 * sysdeps/x86_64/tst-audit10.c: New file.
30919 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
30920 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
30921
30922 2014-03-13 Roland McGrath <roland@hack.frob.com>
30923
30924 * configure.ac (HAVE_EHDR_START): New check.
30925 * configure: Regenerated.
30926 * config.h.in (HAVE_EHDR_START): New #undef.
30927 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
30928 assuming the lowest-addressed segment maps the start of the file.
30929
30930 2014-03-13 Joseph Myers <joseph@codesourcery.com>
30931
30932 * INSTALL: Regenerated.
30933
30934 2014-03-13 Will Newton <will.newton@linaro.org>
30935
30936 * manual/setjmp.texi (System V contexts): Improve
30937 clarity and grammar of documentation.
30938
30939 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
30940
30941 [BZ #16381]
30942 * elf/Makefile (tests): Add tst-pie2.
30943 (tests-pie): Add tst-pie2.
30944 * elf/tst-pie2.c: New file.
30945 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
30946 for ET_EXEC.
30947 * elf/rtld.c (map_doit): Load executable as lt_executable.
30948 (dl_main): Likewise.
30949
30950 2014-03-12 Joseph Myers <joseph@codesourcery.com>
30951
30952 [BZ #16642]
30953 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30954 (__ASSUME_PSELECT): Undefine.
30955
30956 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30957
30958 [BZ #16689]
30959 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
30960 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
30961 static build.
30962 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
30963 selector for static builds.
30964
30965 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30966
30967 [BZ #16695]
30968 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
30969 key in the buffer.
30970
30971 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30972
30973 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
30974 IFUNC selector for static builds.
30975
30976 2014-03-11 Joseph Myers <joseph@codesourcery.com>
30977
30978 * sysdeps/mips/math_private.h [__mips_hard_float]
30979 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
30980 libc_feresetround_mips_ctx.
30981 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
30982 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
30983 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
30984
30985 [BZ #16677]
30986 * math/s_nextafter.c (__nextafter): Do not return value from
30987 overflowing computation.
30988 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
30989 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
30990 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
30991 Likewise.
30992 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
30993 Likewise.
30994 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
30995 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
30996
30997 2014-03-11 Roland McGrath <roland@hack.frob.com>
30998
30999 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
31000 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
31001 Move sfi_sp use from the load-multiple (that no longer sets sp) to
31002 the new mov targetting sp.
31003
31004 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31005
31006 [BZ #16683]
31007 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
31008 Define it for static builds as well.
31009 (NO_BZERO_IMPL): Likewise.
31010
31011 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
31012
31013 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
31014 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
31015 multiarch strspn for PPC64.
31016 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
31017 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
31018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31019 (__libc_ifunc_impl_list): Likewise.
31020 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
31021 multiarch optimizations
31022 * string/strspn.c (strspn): Using macro to redefine symbol name.
31023
31024 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
31025 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31026
31027 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
31028 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
31029 multiarch strncat for PPC64.
31030 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
31031 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
31032 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31033 (__libc_ifunc_impl_list): Likewise.
31034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
31035 multiarch optimizations
31036
31037 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31038
31039 [BZ #16639]
31040 * nscd/nscd.service: Make service type forking.
31041
31042 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31043
31044 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
31045 sign in non default rounding modes.
31046 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
31047
31048 2014-03-08 Joseph Myers <joseph@codesourcery.com>
31049
31050 * math/libm-test.inc (ALL_RM_TEST): New macro.
31051 (ceil_test): Use ALL_RM_TEST.
31052 (cimag_test): Likewise.
31053 (conj_test): Likewise.
31054 (copysign_test): Likewise.
31055 (cproj_test): Likewise.
31056 (creal_test): Likewise.
31057 (fabs_test): Likewise.
31058 (floor_test): Likewise.
31059 (fmax_test): Likewise.
31060 (fmin_test): Likewise.
31061 (fmod_test): Likewise.
31062 (fpclassify_test): Likewise.
31063 (frexp_test): Likewise.
31064 (ilogb_test): Likewise.
31065 (isfinite_test): Likewise.
31066 (finite_test): Likewise.
31067 (isgreater_test): Likewise.
31068 (isgreaterequal_test): Likewise.
31069 (isinf_test): Likewise.
31070 (isless_test): Likewise.
31071 (islessequal_test): Likewise.
31072 (islessgreater_test): Likewise.
31073 (isnan_test): Likewise.
31074 (isnormal_test): Likewise.
31075 (issignaling_test): Likewise.
31076 (isunordered_test): Likewise.
31077 (logb_test): Likewise.
31078 (logb_downward_test_data): Remove.
31079 (logb_test_downward): Likewise.
31080 (lround_test): Use ALL_RM_TEST.
31081 (llround_test): Likewise.
31082 (modf_test): Likewise.
31083 (nexttoward_test): Likewise.
31084 (remainder_test): Likewise.
31085 (drem_test): Likewise.
31086 (remainder_tonearest_test_data): Likewise.
31087 (remainder_test_tonearest): Likewise.
31088 (drem_test_tonearest): Likewise.
31089 (remainder_towardzero_test_data): Likewise.
31090 (remainder_test_towardzero): Likewise.
31091 (drem_test_towardzero): Likewise.
31092 (remainder_downward_test_data): Likewise.
31093 (remainder_test_downward): Likewise.
31094 (drem_test_downward): Likewise.
31095 (remainder_upward_test_data): Likewise.
31096 (remainder_test_upward): Likewise.
31097 (drem_test_upward): Likewise.
31098 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
31099 (round_test): Use ALL_RM_TEST.
31100 (signbit_test): Likewise.
31101 (trunc_test): Likewise.
31102 (significand_test): Likewise.
31103 (main): Don't call removed functions.
31104
31105 2014-03-07 Joseph Myers <joseph@codesourcery.com>
31106
31107 [BZ #16674]
31108 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
31109 || __USE_XOPEN2K8].
31110 (ILL_ILLOPN): Likewise.
31111 (ILL_ILLADR): Likewise.
31112 (ILL_ILLTRP): Likewise.
31113 (ILL_PRVOPC): Likewise.
31114 (ILL_PRVREG): Likewise.
31115 (ILL_COPROC): Likewise.
31116 (ILL_BADSTK): Likewise.
31117 (FPE_INTDIV): Likewise.
31118 (FPE_INTOVF): Likewise.
31119 (FPE_FLTDIV): Likewise.
31120 (FPE_FLTOVF): Likewise.
31121 (FPE_FLTUND): Likewise.
31122 (FPE_FLTRES): Likewise.
31123 (FPE_FLTINV): Likewise.
31124 (FPE_FLTSUB): Likewise.
31125 (SEGV_MAPERR): Likewise.
31126 (SEGV_ACCERR): Likewise.
31127 (BUS_ADRALN): Likewise.
31128 (BUS_ADRERR): Likewise.
31129 (BUS_OBJERR): Likewise.
31130 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31131 (TRAP_TRACE): Likewise.
31132 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31133 __USE_XOPEN2K8].
31134 (CLD_KILLED): Likewise.
31135 (CLD_DUMPED): Likewise.
31136 (CLD_TRAPPED): Likewise.
31137 (CLD_STOPPED): Likewise.
31138 (CLD_CONTINUED): Likewise.
31139 (POLL_IN): Likewise.
31140 (POLL_OUT): Likewise.
31141 (POLL_MSG): Likewise.
31142 (POLL_ERR): Likewise.
31143 (POLL_PRI): Likewise.
31144 (POLL_HUP): Likewise.
31145 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
31146 Likewise.
31147 (ILL_ILLOPN): Likewise.
31148 (ILL_ILLADR): Likewise.
31149 (ILL_ILLTRP): Likewise.
31150 (ILL_PRVOPC): Likewise.
31151 (ILL_PRVREG): Likewise.
31152 (ILL_COPROC): Likewise.
31153 (ILL_BADSTK): Likewise.
31154 (FPE_INTDIV): Likewise.
31155 (FPE_INTOVF): Likewise.
31156 (FPE_FLTDIV): Likewise.
31157 (FPE_FLTOVF): Likewise.
31158 (FPE_FLTUND): Likewise.
31159 (FPE_FLTRES): Likewise.
31160 (FPE_FLTINV): Likewise.
31161 (FPE_FLTSUB): Likewise.
31162 (SEGV_MAPERR): Likewise.
31163 (SEGV_ACCERR): Likewise.
31164 (BUS_ADRALN): Likewise.
31165 (BUS_ADRERR): Likewise.
31166 (BUS_OBJERR): Likewise.
31167 (BUS_MCEERR_AR): Likewise.
31168 (BUS_MCEERR_AO): Likewise.
31169 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31170 (TRAP_TRACE): Likewise.
31171 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31172 __USE_XOPEN2K8].
31173 (CLD_KILLED): Likewise.
31174 (CLD_DUMPED): Likewise.
31175 (CLD_TRAPPED): Likewise.
31176 (CLD_STOPPED): Likewise.
31177 (CLD_CONTINUED): Likewise.
31178 (POLL_IN): Likewise.
31179 (POLL_OUT): Likewise.
31180 (POLL_MSG): Likewise.
31181 (POLL_ERR): Likewise.
31182 (POLL_PRI): Likewise.
31183 (POLL_HUP): Likewise.
31184 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): 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/ia64/bits/siginfo.h (ILL_ILLOPC):
31223 Likewise.
31224 (ILL_ILLOPN): Likewise.
31225 (ILL_ILLADR): Likewise.
31226 (ILL_ILLTRP): Likewise.
31227 (ILL_PRVOPC): Likewise.
31228 (ILL_PRVREG): Likewise.
31229 (ILL_COPROC): Likewise.
31230 (ILL_BADSTK): Likewise.
31231 (ILL_BADIADDR): Likewise.
31232 (ILL_BREAK): Likewise.
31233 (FPE_INTDIV): Likewise.
31234 (FPE_INTOVF): Likewise.
31235 (FPE_FLTDIV): Likewise.
31236 (FPE_FLTOVF): Likewise.
31237 (FPE_FLTUND): Likewise.
31238 (FPE_FLTRES): Likewise.
31239 (FPE_FLTINV): Likewise.
31240 (FPE_FLTSUB): Likewise.
31241 (FPE_DECOVF): Likewise.
31242 (FPE_DECDIV): Likewise.
31243 (FPE_DECERR): Likewise.
31244 (FPE_INVASC): Likewise.
31245 (FPE_INVDEC): Likewise.
31246 (SEGV_MAPERR): Likewise.
31247 (SEGV_ACCERR): Likewise.
31248 (SEGV_PSTKOVF): Likewise.
31249 (BUS_ADRALN): Likewise.
31250 (BUS_ADRERR): Likewise.
31251 (BUS_OBJERR): Likewise.
31252 (BUS_MCEERR_AR): Likewise.
31253 (BUS_MCEERR_AO): Likewise.
31254 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31255 (TRAP_TRACE): Likewise.
31256 (TRAP_BRANCH): Likewise.
31257 (TRAP_HWBKPT): Likewise.
31258 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31259 __USE_XOPEN2K8].
31260 (CLD_KILLED): Likewise.
31261 (CLD_DUMPED): Likewise.
31262 (CLD_TRAPPED): Likewise.
31263 (CLD_STOPPED): Likewise.
31264 (CLD_CONTINUED): Likewise.
31265 (POLL_IN): Likewise.
31266 (POLL_OUT): Likewise.
31267 (POLL_MSG): Likewise.
31268 (POLL_ERR): Likewise.
31269 (POLL_PRI): Likewise.
31270 (POLL_HUP): Likewise.
31271 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
31272 (ILL_ILLOPN): Likewise.
31273 (ILL_ILLADR): Likewise.
31274 (ILL_ILLTRP): Likewise.
31275 (ILL_PRVOPC): Likewise.
31276 (ILL_PRVREG): Likewise.
31277 (ILL_COPROC): Likewise.
31278 (ILL_BADSTK): Likewise.
31279 (FPE_INTDIV): Likewise.
31280 (FPE_INTOVF): Likewise.
31281 (FPE_FLTDIV): Likewise.
31282 (FPE_FLTOVF): Likewise.
31283 (FPE_FLTUND): Likewise.
31284 (FPE_FLTRES): Likewise.
31285 (FPE_FLTINV): Likewise.
31286 (FPE_FLTSUB): Likewise.
31287 (SEGV_MAPERR): Likewise.
31288 (SEGV_ACCERR): Likewise.
31289 (BUS_ADRALN): Likewise.
31290 (BUS_ADRERR): Likewise.
31291 (BUS_OBJERR): Likewise.
31292 (BUS_MCEERR_AR): Likewise.
31293 (BUS_MCEERR_AO): Likewise.
31294 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31295 (TRAP_TRACE): 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/s390/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/sparc/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/tile/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 (ILL_DBLFLT): Likewise.
31394 (ILL_HARDWALL): Likewise.
31395 (FPE_INTDIV): Likewise.
31396 (FPE_INTOVF): Likewise.
31397 (FPE_FLTDIV): Likewise.
31398 (FPE_FLTOVF): Likewise.
31399 (FPE_FLTUND): Likewise.
31400 (FPE_FLTRES): Likewise.
31401 (FPE_FLTINV): Likewise.
31402 (FPE_FLTSUB): Likewise.
31403 (SEGV_MAPERR): Likewise.
31404 (SEGV_ACCERR): Likewise.
31405 (BUS_ADRALN): Likewise.
31406 (BUS_ADRERR): Likewise.
31407 (BUS_OBJERR): Likewise.
31408 (BUS_MCEERR_AR): Likewise.
31409 (BUS_MCEERR_AO): Likewise.
31410 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31411 (TRAP_TRACE): Likewise.
31412 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31413 __USE_XOPEN2K8].
31414 (CLD_KILLED): Likewise.
31415 (CLD_DUMPED): Likewise.
31416 (CLD_TRAPPED): Likewise.
31417 (CLD_STOPPED): Likewise.
31418 (CLD_CONTINUED): Likewise.
31419 (POLL_IN): Likewise.
31420 (POLL_OUT): Likewise.
31421 (POLL_MSG): Likewise.
31422 (POLL_ERR): Likewise.
31423 (POLL_PRI): Likewise.
31424 (POLL_HUP): Likewise.
31425 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
31426 (ILL_ILLOPN): Likewise.
31427 (ILL_ILLADR): Likewise.
31428 (ILL_ILLTRP): Likewise.
31429 (ILL_PRVOPC): Likewise.
31430 (ILL_PRVREG): Likewise.
31431 (ILL_COPROC): Likewise.
31432 (ILL_BADSTK): 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 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
31464 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31465
31466 [BZ #16670]
31467 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
31468 before #include of <time.h>.
31469 [!__USE_XOPEN2K] (__need_timespec): Likewise.
31470 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
31471 (test-xfail-UNIX98/sched.h/conform): Likewise.
31472
31473 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
31474
31475 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
31476 error absence of trapping exception support.
31477 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
31478
31479 2014-03-07 Joseph Myers <joseph@codesourcery.com>
31480
31481 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
31482 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
31483 * timezone/Makefile (testdata): Move definition above include of
31484 Rules.
31485 (test-zones): New variable.
31486 (tests-special): Add zone files.
31487 (build-testdata): Use $(evaluate-test).
31488
31489 * elf/Makefile (tests-special): Rename tests to end with .out.
31490 ($(objpfx)noload-mem): Likewise.
31491 ($(objpfx)tst-leaks1-mem): Likewise.
31492 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
31493 * iconv/Makefile (xtests-special): Change test-iconvconfig to
31494 $(objpfx)test-iconvconfig.out.
31495 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
31496 set -e inside subshell and redirect output to file.
31497 * iconvdata/Makefile (generated): Rename tests to end with .out.
31498 Correct type.
31499 (tests-special): Rename tests to end with .out.
31500 ($(objpfx)mtrace-tst-loading): Likewise.
31501 * intl/Makefile (generated): Likewise.
31502 (tests-special): Likewise.
31503 ($(objpfx)mtrace-tst-gettext): Likewise.
31504 * misc/Makefile (generated): Likewise.
31505 (tests-special): Likewise.
31506 ($(objpfx)tst-error1-mem): Likewise.
31507 * nptl/Makefile (tests-special): Likewise.
31508 ($(objpfx)tst-stack3-mem): Likewise.
31509 (generated): Likewise.
31510 * posix/Makefile (generated): Likewise.
31511 (tests-special): Likewise.
31512 (xtests-special): Likewise.
31513 ($(objpfx)tst-fnmatch-mem): Likewise.
31514 ($(objpfx)bug-regex2-mem): Likewise.
31515 ($(objpfx)bug-regex14-mem): Likewise.
31516 ($(objpfx)bug-regex21-mem): Likewise.
31517 ($(objpfx)bug-regex31-mem): Likewise.
31518 ($(objpfx)tst-vfork3-mem): Likewise.
31519 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
31520 ($(objpfx)tst-pcre-mem): Likewise.
31521 ($(objpfx)tst-boost-mem): Likewise.
31522 ($(objpfx)bug-ga2-mem): Likewise.
31523 ($(objpfx)bug-glob2-mem): Likewise.
31524 * resolv/Makefile (generate): Likewise.
31525 (tests-special): Likewise.
31526 (xtests-special): Likewise.
31527 (generated): Likewise.
31528 ($(objpfx)mtrace-tst-leaks): Likewise.
31529 ($(objpfx)mtrace-tst-leaks2): Likewise.
31530
31531 * scripts/merge-test-results.sh: New file.
31532 * Makefile (tests-special-notdir): New variable.
31533 (tests): Run merge-test-results.sh.
31534 (xtests): Likewise.
31535 * Rules (tests-special-notdir): New variable.
31536 (xtests-special-notdir): Likewise.
31537 (tests): Run merge-test-results.sh
31538 (xtests): Likewise.
31539
31540 * Makeconfig (test-xfail-name): New variable.
31541 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
31542 compute variable name for expected failures.
31543 * conform/Makefile (conformtest-headers-data): New variable.
31544 (conformtest-standards): Likewise.
31545 (conformtest-headers-ISO): Likewise.
31546 (conformtest-headers-ISO99): Likewise.
31547 (conformtest-headers-ISO11): Likewise.
31548 (conformtest-headers-POSIX): Likewise.
31549 (conformtest-headers-XPG3): Likewise.
31550 (conformtest-headers-XPG4): Likewise.
31551 (conformtest-headers-UNIX98): Likewise.
31552 (conformtest-headers-XOPEN2K): Likewise.
31553 (conformtest-headers-POSIX2008): Likewise.
31554 (conformtest-headers-XOPEN2K8): Likewise.
31555 (conformtest-header-list-base): Likewise.
31556 (conformtest-header-list-tests): Likewise.
31557 (conformtest-header-base): Likewise.
31558 (conformtest-header-tests): Likewise.
31559 (tests-special): Add $(conformtest-header-list-tests). If
31560 [$(fast-check) && !$(cross-compiling)], add
31561 $(conformtest-header-tests) instead of
31562 $(objpfx)run-conformtest.out.
31563 (generated): Add $(conformtest-header-list-base). If
31564 [$(fast-check) && !$(cross-compiling)], add
31565 $(conformtest-header-base). Remove previous setting.
31566 ($(conformtest-header-list-tests)): New target.
31567 (test-xfail-run-conformtest): Remove variable.
31568 ($(objpfx)run-conformtest.out): Remove target.
31569 (test-xfail-ISO11/complex.h/conform): New variable.
31570 (test-xfail-ISO11/stdalign.h/conform): Likewise.
31571 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
31572 (test-xfail-XPG3/varargs.h/conform): Likewise.
31573 (test-xfail-XPG4/varargs.h/conform): Likewise.
31574 (test-xfail-UNIX98/varargs.h/conform): Likewise.
31575 (test-xfail-XPG4/ndbm.h/conform): Likewise.
31576 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
31577 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
31578 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
31579 (test-xfail-XPG3/fcntl.h/conform): Likewise.
31580 (test-xfail-XPG3/ftw.h/conform): Likewise.
31581 (test-xfail-XPG3/grp.h/conform): Likewise.
31582 (test-xfail-XPG3/langinfo.h/conform): Likewise.
31583 (test-xfail-XPG3/limits.h/conform): Likewise.
31584 (test-xfail-XPG3/pwd.h/conform): Likewise.
31585 (test-xfail-XPG3/search.h/conform): Likewise.
31586 (test-xfail-XPG3/signal.h/conform): Likewise.
31587 (test-xfail-XPG3/stdio.h/conform): Likewise.
31588 (test-xfail-XPG3/stdlib.h/conform): Likewise.
31589 (test-xfail-XPG3/string.h/conform): Likewise.
31590 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
31591 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
31592 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
31593 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
31594 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
31595 (test-xfail-XPG3/sys/types.h/conform): Likewise.
31596 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
31597 (test-xfail-XPG3/termios.h/conform): Likewise.
31598 (test-xfail-XPG3/time.h/conform): Likewise.
31599 (test-xfail-XPG3/unistd.h/conform): Likewise.
31600 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
31601 (test-xfail-XPG4/fcntl.h/conform): Likewise.
31602 (test-xfail-XPG4/langinfo.h/conform): Likewise.
31603 (test-xfail-XPG4/netdb.h/conform): Likewise.
31604 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
31605 (test-xfail-XPG4/signal.h/conform): Likewise.
31606 (test-xfail-XPG4/stdio.h/conform): Likewise.
31607 (test-xfail-XPG4/stdlib.h/conform): Likewise.
31608 (test-xfail-XPG4/stropts.h/conform): Likewise.
31609 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
31610 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
31611 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
31612 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
31613 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
31614 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
31615 (test-xfail-XPG4/sys/time.h/conform): Likewise.
31616 (test-xfail-XPG4/sys/types.h/conform): Likewise.
31617 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
31618 (test-xfail-XPG4/termios.h/conform): Likewise.
31619 (test-xfail-XPG4/ucontext.h/conform): Likewise.
31620 (test-xfail-XPG4/unistd.h/conform): Likewise.
31621 (test-xfail-XPG4/utmpx.h/conform): Likewise.
31622 (test-xfail-POSIX/sched.h/conform): Likewise.
31623 (test-xfail-POSIX/signal.h/conform): Likewise.
31624 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31625 (test-xfail-POSIX/tar.h/conform): Likewise.
31626 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
31627 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
31628 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
31629 (test-xfail-UNIX98/netdb.h/conform): Likewise.
31630 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
31631 (test-xfail-UNIX98/sched.h/conform): Likewise.
31632 (test-xfail-UNIX98/signal.h/conform): Likewise.
31633 (test-xfail-UNIX98/stdio.h/conform): Likewise.
31634 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
31635 (test-xfail-UNIX98/stropts.h/conform): Likewise.
31636 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
31637 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
31638 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
31639 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
31640 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
31641 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
31642 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31643 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31644 (test-xfail-UNIX98/unistd.h/conform): Likewise.
31645 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
31646 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
31647 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
31648 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
31649 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
31650 (test-xfail-XOPEN2K/math.h/conform): Likewise.
31651 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
31652 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
31653 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
31654 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
31655 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31656 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
31657 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
31658 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
31659 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
31660 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
31661 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
31662 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
31663 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
31664 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31665 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
31666 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31667 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31668 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
31669 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
31670 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
31671 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
31672 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
31673 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31674 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
31675 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
31676 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31677 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
31678 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
31679 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
31680 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31681 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
31682 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
31683 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31684 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
31685 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
31686 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
31687 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
31688 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
31689 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
31690 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
31691 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
31692 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
31693 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31694 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
31695 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31696 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
31697 (conformtest-cc-flags): Likewise.
31698 ($(conformtest-header-tests): New target.
31699 * conform/check-header-lists.sh: New file.
31700 * conform/run-conformtest.sh: Remove.
31701
31702 * conform/conformtest.pl: Allow ' and \ in values given for
31703 constants.
31704 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
31705 inclusion.
31706 [POSIX] (sys/types.h): Likewise.
31707 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
31708 inclusion.
31709 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
31710 inclusion.
31711 * conform/data/signal.h-data (SIGIO): Remove expectation.
31712 [XPG3] (SIGBUS): Do not expect.
31713 [POSIX || XPG3] (SIGPOLL): Likewise.
31714 [POSIX || XPG3] (SIGPROF): Likewise.
31715 [POSIX || XPG3] (SIGSYS): Likewise.
31716 [XPG3] (SIGTRAP): Likewise.
31717 [POSIX || XPG3] (SIGURG): Likewise.
31718 [POSIX || XPG3] (SIGVTALRM): Likewise.
31719 [POSIX || XPG3] (SIGXCPU): Likewise.
31720 [POSIX || XPG3] (SIGXFSZ): Likewise.
31721 [POSIX] (SA_SIGINFO): Expect.
31722 [XPG3] (siginfo_t): Do not expect type or contents.
31723 [POSIX] (si_pid): Do not expect element.
31724 [POSIX] (si_uid): Likewise.
31725 [POSIX] (si_addr): Likewise.
31726 [POSIX] (si_status): Likewise.
31727 [POSIX] (si_band): Likewise.
31728 [XPG4] (si_value): Likewise.
31729 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
31730 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
31731 [POSIX || XPG3] (ILL_ILLADR): Likewise.
31732 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
31733 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
31734 [POSIX || XPG3] (ILL_PRVREG): Likewise.
31735 [POSIX || XPG3] (ILL_COPROC): Likewise.
31736 [POSIX || XPG3] (ILL_BADSTK): Likewise.
31737 [POSIX || XPG3] (FPE_INTDIV): Likewise.
31738 [POSIX || XPG3] (FPE_INTOVF): Likewise.
31739 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
31740 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
31741 [POSIX || XPG3] (FPE_FLTUND): Likewise.
31742 [POSIX || XPG3] (FPE_FLTRES): Likewise.
31743 [POSIX || XPG3] (FPE_FLTINV): Likewise.
31744 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
31745 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
31746 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
31747 [POSIX || XPG3] (BUS_ADRALN): Likewise.
31748 [POSIX || XPG3] (BUS_ADRERR): Likewise.
31749 [POSIX || XPG3] (BUS_OBJERR): Likewise.
31750 [POSIX || XPG3] (CLD_EXITED): Likewise.
31751 [POSIX || XPG3] (CLD_KILLED): Likewise.
31752 [POSIX || XPG3] (CLD_DUMPED): Likewise.
31753 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
31754 [POSIX || XPG3] (CLD_STOPPED): Likewise.
31755 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
31756 [POSIX || XPG3] (POLL_IN): Likewise.
31757 [POSIX || XPG3] (POLL_OUT): Likewise.
31758 [POSIX || XPG3] (POLL_MSG): Likewise.
31759 [POSIX || XPG3] (POLL_ERR): Likewise.
31760 [POSIX || XPG3] (POLL_PRI): Likewise.
31761 [POSIX || XPG3] (POLL_HUP): Likewise.
31762 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
31763 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
31764 (SIG*): Do not allow.
31765 [XPG3] (si_*): Likewise.
31766 [XPG3] (SI_*): Likewise.
31767 [XPG3 || XPG4] (sigev_*): Likewise.
31768 [XPG3 || XPG4] (SIGEV_*): Likewise.
31769 [XPG3 || XPG4] (sival_*): Likewise.
31770 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
31771 [POSIX || XPG3] (BUS_*): Likewise.
31772 [POSIX || XPG3] (CLD_*): Likewise.
31773 [POSIX || XPG3] (FPE_*): Likewise.
31774 [POSIX || XPG3] (ILL_*): Likewise.
31775 [POSIX || XPG3] (POLL_*): Likewise.
31776 [POSIX || XPG3] (SEGV_*): Likewise.
31777 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
31778 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
31779 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
31780 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
31781 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
31782 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
31783 Specify type and value.
31784 (TVERSLEN): Likewise.
31785 (REGTYPE): Likewise.
31786 (AREGTYPE): Likewise.
31787 (LNKTYPE): Likewise.
31788 (SYMTYPE): Likewise.
31789 (CHRTYPE): Likewise.
31790 (BLKTYPE): Likewise.
31791 (DIRTYPE): Likewise.
31792 (FIFOTYPE): Likewise.
31793 (CONTTYPE): Likewise.
31794 (TSUID): Likewise.
31795 (TSGID): Likewise.
31796 (TSVTX): Likewise.
31797 (TUREAD): Likewise.
31798 (TUWRITE): Likewise.
31799 (TUEXEC): Likewise.
31800 (TGREAD): Likewise.
31801 (TGWRITE): Likewise.
31802 (TGEXEC): Likewise.
31803 (TOREAD): Likewise.
31804 (TOWRITE): Likewise.
31805 (TOEXEC): Likewise.
31806 [POSIX] (TSVTX): Expect constant.
31807
31808 2014-03-06 Joseph Myers <joseph@codesourcery.com>
31809
31810 * Makefile (tests): Change dependencies to ....
31811 (tests-special): ... additions to this variable.
31812 (tests): Depend on $(tests-special).
31813 * Makerules (check-abi-list): New variable.
31814 (check-abi): Depend on $(check-abi-list).
31815 [$(subdir) = elf] (tests-special): Add
31816 $(objpfx)check-abi-libc.out.
31817 [$(build-shared) = yes && subdir] (tests-special): Add
31818 $(check-abi-list).
31819 [$(build-shared) = yes && subdir] (tests): Do not depend on
31820 check-abi.
31821 * Rules (tests): Depend on $(tests-special).
31822 (xtests): Depend on $(xtests-special).
31823 * catgets/Makefile (tests): Change dependencies to ....
31824 (tests-special): ... additions to this variable.
31825 * conform/Makefile (tests): Change dependencies to ....
31826 (tests-special): ... additions to this variable.
31827 * elf/Makefile (tests): Change dependencies to ....
31828 (tests-special): ... additions to this variable.
31829 * grp/Makefile (tests): Change dependencies to ....
31830 (tests-special): ... additions to this variable.
31831 * iconv/Makefile (xtests): Change dependencies to ....
31832 (xtests-special): ... additions to this variable.
31833 * iconvdata/Makefile (tests): Change dependencies to ....
31834 (tests-special): ... additions to this variable.
31835 * intl/Makefile (tests): Change dependencies to ....
31836 (tests-special): ... additions to this variable. Also add
31837 $(objpfx)tst-gettext.out.
31838 * io/Makefile (tests): Change dependencies to ....
31839 (tests-special): ... additions to this variable.
31840 * libio/Makefile (tests): Change dependencies to ....
31841 (tests-special): ... additions to this variable.
31842 * malloc/Makefile (tests): Change dependencies to ....
31843 (tests-special): ... additions to this variable.
31844 * misc/Makefile (tests): Change dependencies to ....
31845 (tests-special): ... additions to this variable.
31846 * nptl/Makefile (tests): Change dependencies to ....
31847 (tests-special): ... additions to this variable.
31848 * nptl_db/Makefile (tests): Change dependencies to ....
31849 (tests-special): ... additions to this variable.
31850 * posix/Makefile (tests): Change dependencies to ....
31851 (tests-special): ... additions to this variable.
31852 (xtests): Change dependencies to ....
31853 (xtests-special): ... additions to this variable.
31854 * resolv/Makefile (tests): Change dependencies to ....
31855 (tests-special): ... additions to this variable.
31856 (xtests): Change dependencies to ....
31857 (xtests-special): ... additions to this variable.
31858 * stdio-common/Makefile (tests): Change dependencies to ....
31859 (tests-special): ... additions to this variable.
31860 (do-tst-unbputc): Remove target.
31861 (do-tst-printf): Likewise.
31862 * stdlib/Makefile (tests): Change dependencies to ....
31863 (tests-special): ... additions to this variable.
31864 * string/Makefile (tests): Change dependencies to ....
31865 (tests-special): ... additions to this variable.
31866 * sysdeps/x86/Makefile (tests): Change dependencies to ....
31867 (tests-special): ... additions to this variable.
31868
31869 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
31870 whole file.
31871 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
31872 whole file.
31873 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
31874 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
31875
31876 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
31877 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
31878 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
31879 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
31880 * conform/data/libgen.h-data [XPG3]: Likewise.
31881 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
31882 * conform/data/ndbm.h-data [XPG3]: Likewise.
31883 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31884 * conform/data/netdb.h-data [XPG3]: Likewise.
31885 * conform/data/netinet/in.h-data [XPG3]: Likewise.
31886 * conform/data/poll.h-data [XPG3]: Likewise.
31887 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31888 * conform/data/strings.h-data [XPG3]: Likewise.
31889 * conform/data/stropts.h-data [XPG3]: Likewise.
31890 * conform/data/sys/mman.h-data [XPG3]: Likewise.
31891 * conform/data/sys/resource.h-data [XPG3]: Likewise.
31892 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
31893 Likewise.
31894 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
31895 * conform/data/sys/time.h-data [XPG3]: Likewise.
31896 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
31897 * conform/data/sys/uio.h-data [XPG3]: Likewise.
31898 * conform/data/sys/un.h-data [XPG3]: Likewise.
31899 * conform/data/syslog.h-data [XPG3]: Likewise.
31900 * conform/data/ucontext.h-data [XPG3]: Likewise.
31901 * conform/data/utmpx.h-data [XPG3]: Likewise.
31902 * conform/data/varargs.h-data [UNIX98]: Enable file.
31903
31904 * manual/Makefile (INSTALL_INFO): Remove variable setting.
31905
31906 * math/libm-test.inc (struct test_f_f_data): Move expected results
31907 into structure for each rounding mode.
31908 (struct test_ff_f_data): Likewise.
31909 (struct test_ff_f_data_nexttoward): Likewise.
31910 (struct test_fi_f_data): Likewise.
31911 (struct test_fl_f_data): Likewise.
31912 (struct test_if_f_data): Likewise.
31913 (struct test_fff_f_data): Likewise.
31914 (struct test_c_f_data): Likewise.
31915 (struct test_f_f1_data): Likewise.
31916 (struct test_fF_f1_data): Likewise.
31917 (struct test_ffI_f1_data): Likewise.
31918 (struct test_c_c_data): Likewise.
31919 (struct test_cc_c_data): Likewise.
31920 (struct test_f_i_data): Likewise.
31921 (struct test_ff_i_data): Likewise.
31922 (struct test_f_l_data): Likewise.
31923 (struct test_f_L_data): Likewise.
31924 (struct test_fFF_11_data): Likewise.
31925 (RM_): New macro.
31926 (RM_FE_DOWNWARD): Likewise.
31927 (RM_FE_TONEAREST): Likewise.
31928 (RM_FE_TOWARDZERO): Likewise.
31929 (RM_FE_UPWARD): Likewise.
31930 (RUN_TEST_LOOP_f_f): Update references to expected results.
31931 (RUN_TEST_LOOP_2_f): Likewise.
31932 (RUN_TEST_LOOP_fff_f): Likewise.
31933 (RUN_TEST_LOOP_c_f): Likewise.
31934 (RUN_TEST_LOOP_f_f1): Likewise.
31935 (RUN_TEST_LOOP_fF_f1): Likewise.
31936 (RUN_TEST_LOOP_fI_f1): Likewise.
31937 (RUN_TEST_LOOP_ffI_f1): Likewise.
31938 (RUN_TEST_LOOP_c_c): Likewise.
31939 (RUN_TEST_LOOP_cc_c): Likewise.
31940 (RUN_TEST_LOOP_f_i): Likewise.
31941 (RUN_TEST_LOOP_f_i_tg): Likewise.
31942 (RUN_TEST_LOOP_ff_i_tg): Likewise.
31943 (RUN_TEST_LOOP_f_b): Likewise.
31944 (RUN_TEST_LOOP_f_b_tg): Likewise.
31945 (RUN_TEST_LOOP_f_l): Likewise.
31946 (RUN_TEST_LOOP_f_L): Likewise.
31947 (RUN_TEST_LOOP_fFF_11): Likewise.
31948 * math/gen-libm-test.pl (parse_args): Output four copies of
31949 expected results for each test.
31950
31951 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31952 (__ASSUME_UTIMES): Remove.
31953 * sysdeps/unix/sysv/linux/tile/kernel-features.h
31954 (__ASSUME_UTIMES): Likewise.
31955
31956 * math/gen-auto-libm-tests.c: Update comment on output format.
31957 (output_for_one_input_case): Generate before-rounding and
31958 after-rounding information as conditions on output flags not
31959 floating-point format.
31960 * math/auto-libm-test-out: Regenerated.
31961 * math/gen-libm-test.pl (cond_value): New function.
31962 (or_cond_value): Use cond_value.
31963 (generate_testfile): Handle conditional exceptions.
31964
31965 2014-03-05 Joseph Myers <joseph@codesourcery.com>
31966
31967 * math/libm-test.inc (max_valid_error): New variable.
31968 (init_max_error): Take new argument specifying whether function
31969 results are exactly determined. Set max_valid_error and bound
31970 other variables for errors based on this argument.
31971 (set_max_error): Do not record results above max_valid_error.
31972 (check_float_internal): Only accept errors of up to 0.5ulps if
31973 also at most max_valid_error.
31974 (START): Take new argument EXACT and pass it to init_max_error.
31975 (acos_test): Update call to START.
31976 (acos_test_tonearest): Likewise.
31977 (acos_test_towardzero): Likewise.
31978 (acos_test_downward): Likewise.
31979 (acos_test_upward): Likewise.
31980 (acosh_test): Likewise.
31981 (asin_test): Likewise.
31982 (asin_test_tonearest): Likewise.
31983 (asin_test_towardzero): Likewise.
31984 (asin_test_downward): Likewise.
31985 (asin_test_upward): Likewise.
31986 (asinh_test): Likewise.
31987 (atan_test): Likewise.
31988 (atanh_test): Likewise.
31989 (atan2_test): Likewise.
31990 (cabs_test): Likewise.
31991 (cacos_test): Likewise.
31992 (cacosh_test): Likewise.
31993 (carg_test): Likewise.
31994 (casin_test): Likewise.
31995 (casinh_test): Likewise.
31996 (catan_test): Likewise.
31997 (catanh_test): Likewise.
31998 (cbrt_test): Likewise.
31999 (ccos_test): Likewise.
32000 (ccosh_test): Likewise.
32001 (ceil_test): Likewise.
32002 (cexp_test): Likewise.
32003 (cimag_test): Likewise.
32004 (clog_test): Likewise.
32005 (clog10_test): Likewise.
32006 (conj_test): Likewise.
32007 (copysign_test): Likewise.
32008 (cos_test): Likewise.
32009 (cos_test_tonearest): Likewise.
32010 (cos_test_towardzero): Likewise.
32011 (cos_test_downward): Likewise.
32012 (cos_test_upward): Likewise.
32013 (cosh_test): Likewise.
32014 (cosh_test_tonearest): Likewise.
32015 (cosh_test_towardzero): Likewise.
32016 (cosh_test_downward): Likewise.
32017 (cosh_test_upward): Likewise.
32018 (cpow_test): Likewise.
32019 (cproj_test): Likewise.
32020 (creal_test): Likewise.
32021 (csin_test): Likewise.
32022 (csinh_test): Likewise.
32023 (csqrt_test): Likewise.
32024 (ctan_test): Likewise.
32025 (ctan_test_tonearest): Likewise.
32026 (ctan_test_towardzero): Likewise.
32027 (ctan_test_downward): Likewise.
32028 (ctan_test_upward): Likewise.
32029 (ctanh_test): Likewise.
32030 (ctanh_test_tonearest): Likewise.
32031 (ctanh_test_towardzero): Likewise.
32032 (ctanh_test_downward): Likewise.
32033 (ctanh_test_upward): Likewise.
32034 (erf_test): Likewise.
32035 (erfc_test): Likewise.
32036 (exp_test): Likewise.
32037 (exp_test_tonearest): Likewise.
32038 (exp_test_towardzero): Likewise.
32039 (exp_test_downward): Likewise.
32040 (exp_test_upward): Likewise.
32041 (exp10_test): Likewise.
32042 (exp10_test_tonearest): Likewise.
32043 (exp10_test_towardzero): Likewise.
32044 (exp10_test_downward): Likewise.
32045 (exp10_test_upward): Likewise.
32046 (pow10_test): Likewise.
32047 (exp2_test): Likewise.
32048 (expm1_test): Likewise.
32049 (expm1_test_tonearest): Likewise.
32050 (expm1_test_towardzero): Likewise.
32051 (expm1_test_downward): Likewise.
32052 (expm1_test_upward): Likewise.
32053 (fabs_test): Likewise.
32054 (fdim_test): Likewise.
32055 (floor_test): Likewise.
32056 (fma_test): Likewise.
32057 (fma_test_towardzero): Likewise.
32058 (fma_test_downward): Likewise.
32059 (fma_test_upward): Likewise.
32060 (fmax_test): Likewise.
32061 (fmin_test): Likewise.
32062 (fmod_test): Likewise.
32063 (fpclassify_test): Likewise.
32064 (frexp_test): Likewise.
32065 (hypot_test): Likewise.
32066 (ilogb_test): Likewise.
32067 (isfinite_test): Likewise.
32068 (finite_test): Likewise.
32069 (isgreater_test): Likewise.
32070 (isgreaterequal_test): Likewise.
32071 (isinf_test): Likewise.
32072 (isless_test): Likewise.
32073 (islessequal_test): Likewise.
32074 (islessgreater_test): Likewise.
32075 (isnan_test): Likewise.
32076 (isnormal_test): Likewise.
32077 (issignaling_test): Likewise.
32078 (isunordered_test): Likewise.
32079 (j0_test): Likewise.
32080 (j1_test): Likewise.
32081 (jn_test): Likewise.
32082 (ldexp_test): Likewise.
32083 (lgamma_test): Likewise.
32084 (gamma_test): Likewise.
32085 (lrint_test): Likewise.
32086 (lrint_test_tonearest): Likewise.
32087 (lrint_test_towardzero): Likewise.
32088 (lrint_test_downward): Likewise.
32089 (lrint_test_upward): Likewise.
32090 (llrint_test): Likewise.
32091 (llrint_test_tonearest): Likewise.
32092 (llrint_test_towardzero): Likewise.
32093 (llrint_test_downward): Likewise.
32094 (llrint_test_upward): Likewise.
32095 (log_test): Likewise.
32096 (log10_test): Likewise.
32097 (log1p_test): Likewise.
32098 (log2_test): Likewise.
32099 (logb_test): Likewise.
32100 (logb_test_downward): Likewise.
32101 (lround_test): Likewise.
32102 (llround_test): Likewise.
32103 (modf_test): Likewise.
32104 (nearbyint_test): Likewise.
32105 (nextafter_test): Likewise.
32106 (nexttoward_test): Likewise.
32107 (pow_test): Likewise.
32108 (pow_test_tonearest): Likewise.
32109 (pow_test_towardzero): Likewise.
32110 (pow_test_downward): Likewise.
32111 (pow_test_upward): Likewise.
32112 (remainder_test): Likewise.
32113 (drem_test): Likewise.
32114 (remainder_test_tonearest): Likewise.
32115 (drem_test_tonearest): Likewise.
32116 (remainder_test_towardzero): Likewise.
32117 (drem_test_towardzero): Likewise.
32118 (remainder_test_downward): Likewise.
32119 (drem_test_downward): Likewise.
32120 (remainder_test_upward): Likewise.
32121 (drem_test_upward): Likewise.
32122 (remquo_test): Likewise.
32123 (rint_test): Likewise.
32124 (rint_test_tonearest): Likewise.
32125 (rint_test_towardzero): Likewise.
32126 (rint_test_downward): Likewise.
32127 (rint_test_upward): Likewise.
32128 (round_test): Likewise.
32129 (scalb_test): Likewise.
32130 (scalbn_test): Likewise.
32131 (scalbln_test): Likewise.
32132 (signbit_test): Likewise.
32133 (sin_test): Likewise.
32134 (sin_test_tonearest): Likewise.
32135 (sin_test_towardzero): Likewise.
32136 (sin_test_downward): Likewise.
32137 (sin_test_upward): Likewise.
32138 (sincos_test): Likewise.
32139 (sinh_test): Likewise.
32140 (sinh_test_tonearest): Likewise.
32141 (sinh_test_towardzero): Likewise.
32142 (sinh_test_downward): Likewise.
32143 (sinh_test_upward): Likewise.
32144 (sqrt_test): Likewise.
32145 (sqrt_test_tonearest): Likewise.
32146 (sqrt_test_towardzero): Likewise.
32147 (sqrt_test_downward): Likewise.
32148 (sqrt_test_upward): Likewise.
32149 (tan_test): Likewise.
32150 (tan_test_tonearest): Likewise.
32151 (tan_test_towardzero): Likewise.
32152 (tan_test_downward): Likewise.
32153 (tan_test_upward): Likewise.
32154 (tanh_test): Likewise.
32155 (tgamma_test): Likewise.
32156 (trunc_test): Likewise.
32157 (y0_test): Likewise.
32158 (y1_test): Likewise.
32159 (yn_test): Likewise.
32160 (significand_test): Likewise.
32161
32162 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
32163 individual tests in comment.
32164 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
32165 (prev_max_error): New variable.
32166 (prev_real_max_error): Likewise.
32167 (prev_imag_max_error): Likewise.
32168 (compare_ulp_data): Don't refer to test names in comment.
32169 (find_test_ulps): Remove function.
32170 (find_function_ulps): Likewise.
32171 (find_complex_function_ulps): Likewise.
32172 (init_max_error): Take function name as argument. Look up ulps
32173 for that function.
32174 (print_ulps): Remove function.
32175 (print_max_error): Use prev_max_error instead of calling
32176 find_function_ulps.
32177 (print_complex_max_error): Use prev_real_max_error and
32178 prev_imag_max_error instead of calling find_complex_function_ulps.
32179 (check_float_internal): Take max_ulp parameter instead of calling
32180 find_test_ulps. Don't call print_ulps.
32181 (check_float): Update call to check_float_internal.
32182 (check_complex): Update calls to check_float_internal.
32183 (START): Pass argument to init_max_error.
32184 * math/gen-libm-test.pl (%results): Don't include "kind"
32185 information.
32186 (parse_ulps): Don't handle ulps of individual tests.
32187 (print_ulps_file): Likewise.
32188 (output_ulps): Likewise.
32189 * math/README.libm-test: Update.
32190 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
32191 individual tests.
32192 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
32193 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32194 * sysdeps/arm/libm-test-ulps: Likewise.
32195 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32196 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
32197 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
32198 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
32199 * sysdeps/microblaze/libm-test-ulps: Likewise.
32200 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32201 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32202 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32203 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32204 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32205 * sysdeps/sh/libm-test-ulps: Likewise.
32206 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32207 * sysdeps/tile/libm-test-ulps: Likewise.
32208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32209
32210 2014-03-04 Joseph Myers <joseph@codesourcery.com>
32211
32212 * math/libm-test.inc (print_complex_max_error): Check separately
32213 whether real and imaginary errors are within allowed range and
32214 pass 0 to print_complex_function_ulps instead of value within
32215 allowed range.
32216
32217 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32218
32219 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
32220 formatting.
32221 (get_handles_fopen): Likewise.
32222 (do_write_test): Likewise.
32223
32224 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
32225
32226 * libio/fileops.c (do_ftell): Use cached offset when
32227 available.
32228 * libio/iofwide.c (do_ftell_wide): Likewise.
32229 * libio/iofdopen.c (_IO_new_fdopen): Don't use
32230 _IO_file_attach.
32231 * libio/wfileops.c (_IO_fwide): Don't cache offset.
32232
32233 [BZ #16532]
32234 * libio/libioP.h (get_file_offset): New function.
32235 * libio/fileops.c (get_file_offset): Likewise.
32236 (do_ftell): Likewise.
32237 (_IO_new_file_seekoff): Split out ftell logic.
32238 * libio/wfileops.c (do_ftell_wide): Likewise.
32239 (_IO_wfile_seekoff): Split out ftell logic.
32240 * libio/tst-ftell-active-handler.c: New test case.
32241 * libio/Makefile (tests): Add it.
32242
32243 2014-03-03 Roland McGrath <roland@hack.frob.com>
32244
32245 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
32246 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
32247
32248 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
32249
32250 [BZ #16639]
32251 * nscd/connections.c (nscd_init): Call do_exit.
32252 (start_threads): Call do_exit and notify_parent.
32253 (begin_drop_privileges): Call do_exit.
32254 (finish_drop_privileges): Likewise.
32255 * nscd/selinux.c (preserve_capabilities): Likewise.
32256 (install_real_capabilities): Likewise.
32257 (nscd_selinux_enabled): Likewise.
32258 (avc_create_thread): Likewise.
32259 (avc_alloc_lock): Likewise.
32260 (nscd_avc_init): Likewise.
32261 * nscd/nscd.c (parent_fd): New static variable.
32262 (main): Create a pipe between parent and child processes.
32263 Skip closing parent_fd.
32264 (monitor_child): New function.
32265 (do_exit): Likewise.
32266 (notify_parent): Likewise.
32267 * nscd/nscd.h (notify_parent): Likewise.
32268 (do_exit): Likewise.
32269
32270 2014-03-03 Carlos O'Donell <carlos@redhat.com>
32271
32272 * malloc/malloc.c (__libc_calloc): Revert last change.
32273
32274 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32275
32276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32277
32278 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32279
32280 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
32281 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
32282 implementation.
32283 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32284 (__libc_ifunc_impl_list): Likewise.
32285 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
32286 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
32287 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
32288 * string/strrchr.c: Define STRRCHR.
32289
32290 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
32291
32292 * benchtest/bench-strtok.c (simple_strtok): Delete.
32293 (strtok_string): Use as benchmark.
32294 * string/strtok (STRTOK): New macro.
32295
32296 2014-02-28 Carlos O'Donell <carlos@redhat.com>
32297
32298 * manual/threads.texi: Add header and standard comments to all
32299 functions.
32300
32301 * elf/dl-lookup.c (check_match): New function.
32302 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
32303 (do_lookup_x): Remove nested function check_match. Use non-nested
32304 function check_match.
32305
32306 2014-02-28 Roland McGrath <roland@hack.frob.com>
32307
32308 * csu/Makefile (generated, before-compile): Use += rather than =.
32309 * catgets/Makefile (generated, generated-dirs): Likewise.
32310 * debug/Makefile (generated): Likewise.
32311 * dlfcn/Makefile (generated): Likewise.
32312 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
32313 * iconvdata/Makefile (before-compile, generated): Likewise.
32314 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
32315 * libio/Makefile (generated): Likewise.
32316 * malloc/Makefile (generated): Likewise.
32317 * manual/Makefile (generated, generated-dirs): Likewise.
32318 * misc/Makefile (generated): Likewise.
32319 * posix/Makefile (generated): Likewise.
32320 * resolv/Makefile (generated): Likewise.
32321 * sunrpc/Makefile (generated, generated-dirs): Likewise.
32322 * timezone/Makefile (generated, generated-dirs): Likewise.
32323
32324 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
32325
32326 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32327
32328 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
32329 power8 implementation.
32330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
32331 file: POWER8 llround ifunc implementation.
32332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
32333 (__lllround): Add POWER8 implementation.
32334 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
32335 POWER8 llround implementation.
32336
32337 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
32338 power8 implementation.
32339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
32340 file: POWER8 llrint ifunc implementation.
32341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
32342 Add POWER8 implementation.
32343 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
32344 POWER8 llrint implementation.
32345
32346 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
32347 power8 implementation.
32348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
32349 file: POWER8 finite ifunc implementation.
32350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
32351 Add POWER8 implementation.
32352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
32353 Likewise.
32354 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
32355 POWER8 finite implementation.
32356 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
32357
32358 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
32359 power8 implementation.
32360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
32361 file: POWER8 isinf ifunc implementation.
32362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
32363 POWER8 implementation.
32364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
32365 Likewise.
32366 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
32367 isinf implementation.
32368 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
32369
32370 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
32371 (INIT_ARCH): Add hwcap2 initialization.
32372 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
32373 power8 implementation.
32374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
32375 file: POWER8 isnan ifunc implementation.
32376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
32377 POWER8 implementation.
32378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
32379 Likewise.
32380 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
32381 isnan implementation.
32382 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
32383
32384 2014-02-27 Joey Ye <joey.ye@arm.com>
32385
32386 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32387 (_FP_NANFRAC_Q): Set to zero.
32388
32389 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32390
32391 [BZ #16623]
32392 * math/auto-libm-test-in: New test inputs.
32393 * math/auto-libm-test-out: Regenerate.
32394 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
32395 and DA.
32396 (__cos): Likewise.
32397 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32398
32399 2014-02-27 Joseph Myers <joseph@codesourcery.com>
32400
32401 * scripts/evaluate-test.sh: Take new argument indicating whether
32402 failure is expected.
32403 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
32404 indicating whether failure is expected.
32405 * conform/Makefile (test-xfail-run-conformtest): New variable.
32406 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
32407 level.
32408 * posix/Makefile (test-xfail-annexc): New variable.
32409 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
32410
32411 2014-02-26 Joseph Myers <joseph@codesourcery.com>
32412
32413 * argp/Makefile: Include Makeconfig immediately after defining
32414 subdir.
32415 * assert/Makefile: Likewise.
32416 * benchtests/Makefile: Likewise.
32417 * catgets/Makefile: Likewise.
32418 * conform/Makefile: Likewise.
32419 * crypt/Makefile: Likewise.
32420 * csu/Makefile: Likewise.
32421 (all): Remove target.
32422 * ctype/Makefile: Include Makeconfig immediately after defining
32423 subdir.
32424 * debug/Makefile: Likewise.
32425 * dirent/Makefile: Likewise.
32426 * dlfcn/Makefile: Likewise.
32427 * gmon/Makefile: Likewise.
32428 * gnulib/Makefile: Likewise.
32429 * grp/Makefile: Likewise.
32430 * gshadow/Makefile: Likewise.
32431 * hesiod/Makefile: Likewise.
32432 * hurd/Makefile: Likewise.
32433 (all): Remove target.
32434 * iconvdata/Makefile: Include Makeconfig immediately after
32435 defining subdir.
32436 * inet/Makefile: Likewise.
32437 * intl/Makefile: Likewise.
32438 * io/Makefile: Likewise.
32439 * libio/Makefile: Likewise.
32440 (all): Remove target.
32441 * locale/Makefile: Include Makeconfig immediately after defining
32442 subdir.
32443 * login/Makefile: Likewise.
32444 * mach/Makefile: Likewise.
32445 (all): Remove target.
32446 * malloc/Makefile: Include Makeconfig immediately after defining
32447 subdir.
32448 (all): Remove target.
32449 * manual/Makefile: Include Makeconfig immediately after defining
32450 subdir.
32451 * math/Makefile: Likewise.
32452 * misc/Makefile: Likewise.
32453 * nis/Makefile: Likewise.
32454 * nss/Makefile: Likewise.
32455 * po/Makefile: Likewise.
32456 (all): Remove target.
32457 * posix/Makefile: Include Makeconfig immediately after defining
32458 subdir.
32459 * pwd/Makefile: Likewise.
32460 * resolv/Makefile: Likewise.
32461 * resource/Makefile: Likewise.
32462 * rt/Makefile: Likewise.
32463 * setjmp/Makefile: Likewise.
32464 * shadow/Makefile: Likewise.
32465 * signal/Makefile: Likewise.
32466 * socket/Makefile: Likewise.
32467 * soft-fp/Makefile: Likewise.
32468 * stdio-common/Makefile: Likewise.
32469 * stdlib/Makefile: Likewise.
32470 * streams/Makefile: Likewise.
32471 * string/Makefile: Likewise.
32472 * sunrpc/Makefile: Likewise.
32473 (all): Remove target.
32474 * sysvipc/Makefile: Include Makeconfig immediately after defining
32475 subdir.
32476 * termios/Makefile: Likewise.
32477 * time/Makefile: Likewise.
32478 * timezone/Makefile: Likewise.
32479 (all): Remove target.
32480 * wcsmbs/Makefile: Include Makeconfig immediately after defining
32481 subdir.
32482 * wctype/Makefile: Likewise.
32483
32484 2014-02-26 Steve Ellcey <sellcey@mips.com>
32485
32486 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
32487 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
32488 (libc_feholdexcept_setround_mips): Ditto.
32489 (libc_feholdsetround): New.
32490 (libc_feholdsetroundf): New.
32491 (libc_feholdsetroundl): New.
32492 (libc_feupdateenv_test_mips): New.
32493 (libc_feupdateenv_test): New.
32494 (libc_feupdateenv_testf): New.
32495 (libc_feupdateenv_testl): New.
32496 (libc_feresetround): New.
32497 (libc_feresetroundf): New.
32498 (libc_feresetroundl): New.
32499 (libc_fetestexcept_mips): New.
32500 (libc_fetestexcept): New.
32501 (libc_fetestexceptf): New.
32502 (libc_fetestexceptl): New.
32503 (HAVE_RM_CTX): New.
32504 (libc_feholdexcept_setround_mips_ctx): New.
32505 (libc_feholdexcept_setround_ctx): New.
32506 (libc_feholdexcept_setroundf_ctx): New.
32507 (libc_feholdexcept_setroundl_ctx): New.
32508 (libc_fesetenv_mips_ctx): New.
32509 (libc_fesetenv_ctx): New.
32510 (libc_fesetenv_ctxf): New.
32511 (libc_fesetenv_ctxl): New.
32512 (libc_feupdateenv_mips_ctx): New.
32513 (libc_feupdateenv_ctx): New.
32514 (libc_feupdateenvf_ctx): New.
32515 (libc_feupdateenvl_ctx): New.
32516 (libc_feholdsetround_mips_ctx): New.
32517 (libc_feholdsetround_ctx): New.
32518 (libc_feholdsetroundf_ctx): New.
32519 (libc_feholdsetroundl_ctx): New.
32520 (libc_feresetround_mips_ctx): New.
32521 (libc_feresetround_ctx): New.
32522 (libc_feresetroundf_ctx): New.
32523 (libc_feresetroundl_ctx): New.
32524
32525 2014-02-26 Carlos O'Donell <carlos@redhat.com>
32526
32527 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
32528
32529 * manual/ipc.texi: New file.
32530 * manual/Makefile (chapters): Add ipc.
32531 * manual/job.texi: Add "Inter-Process Communication" to next.
32532 * manual/process.texi: Add "Inter-Process Communication" to prev.
32533
32534 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32535
32536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32537
32538 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
32539
32540 * malloc/malloc.c (__libc_calloc): Simplify implementation.
32541
32542 * manual/arith.texi: Fix spaces after sentences.
32543 * manual/charset.texi: Likewise.
32544 * manual/errno.texi: Likewise.
32545 * manual/install.texi: Likewise.
32546 * manual/llio.texi: Likewise.
32547 * manual/locale.texi: Likewise.
32548 * manual/maint.texi: Likewise.
32549 * manual/math.texi: Likewise.
32550 * manual/memory.texi: Likewise.
32551 * manual/message.texi: Likewise.
32552 * manual/probes.texi: Likewise.
32553 * manual/resource.texi: Likewise.
32554 * manual/signal.texi: Likewise.
32555 * manual/socket.texi: Likewise.
32556 * manual/stdio.texi: Likewise.
32557 * manual/string.texi: Likewise.
32558 * manual/time.texi: Likewise.
32559 * manual/users.texi: Likewise.
32560
32561 2014-02-25 Carlos O'Donell <carlos@redhat.com>
32562
32563 [BZ #16632]
32564 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
32565 _DEFAULT_SOURCE is defined.
32566
32567 2014-02-25 Ulrich Drepper <drepper@gmail.com>
32568 Carlos O'Donell <carlos@redhat.com>
32569
32570 [BZ #16613]
32571 * elf/dl-tls.c (_dl_count_modids): New function.
32572 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
32573 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
32574 audit library and increment generation counter.
32575 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
32576 * elf/tst-audit9.c: New file.
32577 * elf/tst-auditmod9a.c: New file.
32578 * elf/tst-auditmod9b.c: New file.
32579 * elf/Makefile: Add rules to build and run tst-audit9.
32580
32581 2014-02-25 Florian Weimer <fweimer@redhat.com>
32582
32583 [BZ #15347]
32584 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
32585
32586 2014-02-25 Will Newton <will.newton@linaro.org>
32587
32588 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
32589 (__longjmp): Restore sp and lr before restoring callee
32590 saved registers. Add longjmp and longjmp_target
32591 SystemTap probe point.
32592 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
32593 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
32594 Define to zero to match jmpbuf layout.
32595 * sysdeps/arm/setjmp.S: Include stap-probe.h.
32596 (__sigsetjmp): Save sp and lr before saving callee
32597 saved registers. Add setjmp SystemTap probe point.
32598
32599 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
32600
32601 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32602
32603 2014-02-24 Andreas Schwab <schwab@suse.de>
32604
32605 [BZ #15804]
32606 * elf/pldd.c (wait_for_ptrace_stop): New function.
32607 (main): Call it after attaching.
32608
32609 2014-02-22 Roland McGrath <roland@hack.frob.com>
32610
32611 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
32612 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
32613 Versions files is now verboten.
32614 * hurd/Versions (libc: GLIBC_2.0):
32615 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
32616 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
32617 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
32618 * mach/Versions: Likewise.
32619
32620 * csu/Versions: Remove unused %include.
32621 * resolv/Versions: Likewise.
32622
32623 2014-02-21 Joseph Myers <joseph@codesourcery.com>
32624
32625 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
32626 ($(objpfx)check-local-headers.out): Likewise.
32627 ($(objpfx)begin-end-check.out): Likewise.
32628 * Makerules (check-abi-%.out): Likewise.
32629 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
32630 ($(objpfx)test2.cat): Likewise.
32631 ($(objpfx)de/libc.cat): Likewise.
32632 ($(objpfx)test-gencat.out): Likewise.
32633 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
32634 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
32635 ($(objpfx)noload-mem): Likewise.
32636 ($(objpfx)tst-pathopt.out): Likewise.
32637 ($(objpfx)tst-rtld-load-self.out): Likewise.
32638 ($(objpfx)tst-array1-cmp.out): Likewise.
32639 ($(objpfx)tst-array1-static-cmp.out): Likewise.
32640 ($(objpfx)tst-array2-cmp.out): Likewise.
32641 ($(objpfx)tst-array3-cmp.out): Likewise.
32642 ($(objpfx)tst-array4-cmp.out): Likewise.
32643 ($(objpfx)tst-array5-cmp.out): Likewise.
32644 ($(objpfx)tst-array5-static-cmp.out): Likewise.
32645 ($(objpfx)check-textrel.out): Likewise.
32646 ($(objpfx)check-execstack.out): Likewise.
32647 ($(objpfx)check-localplt.out): Likewise.
32648 ($(objpfx)order2-cmp.out): Likewise.
32649 ($(objpfx)tst-leaks1-mem): Likewise.
32650 ($(objpfx)tst-leaks1-static-mem): Likewise.
32651 ($(objpfx)tst-initorder-cmp.out): Likewise.
32652 ($(objpfx)tst-initorder2-cmp.out): Likewise.
32653 ($(objpfx)tst-unused-dep.out): Likewise.
32654 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
32655 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32656 * iconv/Makefile (test-iconvconfig): Likewise.
32657 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
32658 ($(objpfx)iconv-test.out): Likewise.
32659 ($(objpfx)tst-tables.out): Likewise.
32660 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
32661 ($(objpfx)tst-gettext.out): Likewise.
32662 ($(objpfx)tst-translit.out): Likewise.
32663 ($(objpfx)tst-gettext2.out): Likewise.
32664 ($(objpfx)tst-gettext4.out): Likewise.
32665 ($(objpfx)tst-gettext6.out): Likewise.
32666 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
32667 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32668 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
32669 ($(objpfx)tst-fopenloc-mem.out): Likewise.
32670 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32671 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
32672 * posix/Makefile ($(objpfx)globtest.out): Likewise.
32673 ($(objpfx)wordexp-tst.out): Likewise.
32674 ($(objpfx)annexc.out): Likewise.
32675 ($(objpfx)tst-fnmatch-mem): Likewise.
32676 ($(objpfx)bug-regex2-mem): Likewise.
32677 ($(objpfx)bug-regex14-mem): Likewise.
32678 ($(objpfx)bug-regex21-mem): Likewise.
32679 ($(objpfx)bug-regex31-mem): Likewise.
32680 ($(objpfx)tst-vfork3-mem): Likewise.
32681 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32682 ($(objpfx)tst-pcre-mem): Likewise.
32683 ($(objpfx)tst-boost-mem): Likewise.
32684 ($(objpfx)tst-getconf.out): Likewise.
32685 ($(objpfx)bug-ga2-mem): Likewise.
32686 ($(objpfx)bug-glob2-mem): Likewise.
32687 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
32688 ($(objpfx)mtrace-tst-leaks2): Likewise.
32689 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
32690 ($(objpfx)tst-printf.out): Likewise.
32691 ($(objpfx)tst-setvbuf1.out): Likewise.
32692 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
32693 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
32694 ($(objpfx)tst-fmtmsg.out): Likewise.
32695 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
32696 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
32697
32698 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
32699 * bits/sigaction.h [__USE_MISC]: Likewise.
32700 * bits/waitstatus.h: Update #endif comments.
32701 * ctype/ctype.h: Likewise.
32702 * dirent/dirent.h: Likewise.
32703 [__USE_MISC]: Remove redundant conditionals.
32704 * grp/grp.h: Update #endif comments.
32705 [__USE_GNU]: Remove redundant conditionals.
32706 [__USE_MISC]: Likewise.
32707 * inet/netinet/in.h [__USE_GNU]: Likewise.
32708 * io/sys/stat.h [__USE_MISC]: Likewise.
32709 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
32710 * libio/bits/stdio.h: Update #endif comments.
32711 [__USE_MISC]: Remove redundant conditionals.
32712 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
32713 * libio/stdio.h: Update #endif comments.
32714 [__USE_MISC]: Remove redundant conditionals.
32715 * math/bits/math-finite.h [__USE_MISC]: Likewise.
32716 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
32717 * math/math.h: Update #else and #endif comments.
32718 [__USE_MISC]: Remove redundant conditionals.
32719 * misc/sys/uio.h: Update #endif comments.
32720 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
32721 * posix/glob.h [__USE_MISC]: Likewise.
32722 * posix/sys/types.h: Update #endif comments.
32723 [__USE_MISC]: Remove redundant conditionals.
32724 * posix/sys/wait.h: Update #endif comments.
32725 [__USE_MISC]: Remove redundant conditionals.
32726 * posix/unistd.h: Update #endif comments.
32727 [__USE_MISC]: Remove redundant conditionals.
32728 * pwd/pwd.h [__USE_GNU]: Likewise.
32729 [__USE_MISC]: Likewise.
32730 * resolv/netdb.h [__USE_GNU]: Likewise.
32731 * signal/signal.h: Update #endif comments.
32732 [__USE_MISC]: Remove redundant conditionals.
32733 * stdlib/stdlib.h: Update #else and #endif comments.
32734 [__USE_MISC]: Remove redundant conditionals.
32735 [__USE_GNU]: Likewise.
32736 * string/bits/string2.h [__USE_MISC]: Likewise.
32737 * string/string.h: Update #endif comments.
32738 [__USE_MISC]: Remove redundant conditionals.
32739 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
32740 Likewise.
32741 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
32742 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
32743 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
32744 Likewise.
32745 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
32746 Likewise.
32747 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
32748 comments.
32749 [__USE_MISC]: Remove redundant conditionals.
32750 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
32751 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
32752 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
32753 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
32754 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
32755 Likewise.
32756 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
32757 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
32758 Likewise.
32759 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
32760 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
32761 Likewise.
32762 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
32763 Likewise.
32764 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
32765 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
32766 Likewise.
32767 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
32768 Likewise.
32769 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
32770 * sysdeps/x86/bits/string.h: Update #endif comments.
32771 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
32772 conditionals.
32773 * time/sys/time.h: Update #endif comments.
32774 * time/time.h: Likewise.
32775 [__USE_MISC]: Remove redundant conditionals.
32776
32777 2014-02-21 Yury Gribov <y.gribov@samsung.com>
32778
32779 [BZ #16600]
32780 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
32781
32782 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
32783
32784 * Versions.def (librt): Add GLIBC_2.17.
32785
32786 2014-02-21 Adam Conrad <adconrad@0c3.net>
32787
32788 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
32789 synonym for _SYS_AUXV_H to allow direct inclusion.
32790 * sysdeps/sparc/bits/hwcap.h: Likewise.
32791 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
32792 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
32793 * sysdeps/sparc/sysdep.h: Likewise.
32794
32795 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32796
32797 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
32798
32799 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32800
32801 * benchtests/bench-strrchr.c: Print length instead of position.
32802
32803 2014-02-20 Joseph Myers <joseph@codesourcery.com>
32804
32805 [BZ #16611]
32806 * sysdeps/unix/sysv/linux/kernel-features.h
32807 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
32808 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
32809 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
32810 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
32811 Likewise.
32812 [__i386__ || __powerpc__ || __sh__ || __sparc__]
32813 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32814 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
32815 (__ASSUME_SENDMMSG): Define instead of using previous
32816 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
32817 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32818 (__ASSUME_SENDMMSG_SYSCALL): Define.
32819 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32820 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
32821 Likewise.
32822 * sysdeps/unix/sysv/linux/arm/kernel-features.h
32823 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32824 Likewise.
32825 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32826 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32827 Likewise.
32828 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
32829 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32830 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32831 [__ASSUME_SENDMMSG]: Change conditionals to
32832 [__ASSUME_SENDMMSG_SOCKETCALL].
32833 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32834 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
32835 Define.
32836 * sysdeps/unix/sysv/linux/mips/kernel-features.h
32837 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
32838 Likewise.
32839 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
32840 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32841 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32842 [!__ASSUME_SENDMMSG]: Change conditional to
32843 [!__ASSUME_SENDMMSG_SOCKETCALL].
32844 * sysdeps/unix/sysv/linux/tile/kernel-features.h
32845 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32846 Define.
32847
32848 [BZ #16610]
32849 * sysdeps/unix/sysv/linux/kernel-features.h
32850 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
32851 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
32852 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
32853 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
32854 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32855 [__i386__ || __sparc__]
32856 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32857 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
32858 (__ASSUME_RECVMMSG): Define instead of using previous
32859 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
32860 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32861 (__ASSUME_RECVMMSG_SYSCALL): Define.
32862 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32863 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32864 Likewise.
32865 * sysdeps/unix/sysv/linux/arm/kernel-features.h
32866 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32867 Likewise.
32868 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32869 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32870 Likewise.
32871 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
32872 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32873 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32874 [__ASSUME_RECVMMSG]: Change condition to
32875 [__ASSUME_RECVMMSG_SOCKETCALL].
32876 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32877 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32878 Define.
32879 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32880 * sysdeps/unix/sysv/linux/mips/kernel-features.h
32881 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32882 Likewise.
32883 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
32884 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32885 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32886 [!__ASSUME_RECVMMSG]: Change condition to
32887 [!__ASSUME_RECVMMSG_SOCKETCALL].
32888 * sysdeps/unix/sysv/linux/tile/kernel-features.h
32889 (__ASSUME_RECVMMSG_SYSCALL): Define.
32890
32891 [BZ #16609]
32892 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
32893 __powerpc__ || __s390__ || __sh__ || __sparc__]
32894 (__ASSUME_SOCKETCALL): Define.
32895 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
32896 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
32897 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
32898 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
32899 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32900 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
32901 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
32902 (__ASSUME_ACCEPT4): Define instead of using previous
32903 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
32904 __powerpc__ || __sparc__ || __s390__)] condition.
32905 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32906 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32907 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
32908 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32909 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32910 [!__ASSUME_ACCEPT4]: Change condition to
32911 [!__ASSUME_ACCEPT4_SOCKETCALL].
32912 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32913 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
32914 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
32915 * sysdeps/unix/sysv/linux/arm/kernel-features.h
32916 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
32917 __ASSUME_ACCEPT4_SYSCALL.
32918 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
32919 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
32920 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32921 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
32922 __ASSUME_ACCEPT4_SYSCALL.
32923 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
32924 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32925 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32926 [__ASSUME_ACCEPT4]: Change condition to
32927 [__ASSUME_ACCEPT4_SOCKETCALL].
32928 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32929 (__ASSUME_SOCKETCALL): Define.
32930 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
32931 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32932 (__ASSUME_SOCKETCALL): Define.
32933 (__ASSUME_ACCEPT4): Remove.
32934 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
32935 Define.
32936 * sysdeps/unix/sysv/linux/mips/kernel-features.h
32937 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
32938 Likewise.
32939 * sysdeps/unix/sysv/linux/tile/kernel-features.h
32940 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32941
32942 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
32943 macro.
32944 (HWCAP_ARM_LPAE): Likewise.
32945 (HWCAP_ARM_EVTSTRM): Likewise.
32946 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
32947 Add vpfd32, lpae and evtstrm.
32948 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
32949 Increase to 22.
32950
32951 2014-02-19 Joseph Myers <joseph@codesourcery.com>
32952
32953 * math/auto-libm-test-in: Add tests of clog10.
32954 * math/auto-libm-test-out: Regenerated.
32955 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
32956 * sysdeps/i386/fpu/libm-test-ulps: Update.
32957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32958
32959 2014-02-18 Andreas Schwab <schwab@suse.de>
32960
32961 [BZ #16574]
32962 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
32963 Store non-zero if the second buffer was newly allocated.
32964 (send_dg): Likewise.
32965 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
32966 to send_vc and send_dg.
32967 (res_nsend): Pass NULL for ansp2_malloced.
32968 * resolv/res_query.c (__libc_res_nquery): Add parameter
32969 answerp2_malloced and pass it down to __libc_res_nsend.
32970 (res_nquery): Pass additional NULL to __libc_res_nquery.
32971 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
32972 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
32973 second answer buffer if answerp2_malloced was set.
32974 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
32975 (__libc_res_nquerydomain): Add parameter
32976 answerp2_malloced and pass it down to __libc_res_nquery.
32977 (res_nquerydomain): Pass additional NULL to
32978 __libc_res_nquerydomain.
32979 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
32980 additional NULL to __libc_res_nsend and __libc_res_nquery.
32981 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
32982 additional NULL to __libc_res_nsearch.
32983 (_nss_dns_gethostbyname4_r): Revert last change. Use new
32984 parameter of __libc_res_nsearch to check for separately allocated
32985 second buffer.
32986 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
32987 __libc_res_nquery.
32988 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
32989 additional NULL to __libc_res_nquery.
32990 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
32991 __libc_res_nsearch.
32992 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
32993 * include/resolv.h: Update prototypes of __libc_res_nquery,
32994 __libc_res_nsearch, __libc_res_nsend.
32995
32996 2014-02-18 Joseph Myers <joseph@codesourcery.com>
32997
32998 * math/auto-libm-test-in: Add tests of fma.
32999 * math/auto-libm-test-out: Regenerated.
33000 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
33001 (fma_towardzero_test_data): Likewise.
33002 (fma_downward_test_data): Likewise.
33003 (fma_upward_test_data): Likewise.
33004 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
33005 mpc_mode.
33006 (rounding_modes): Add values for new field.
33007 (func_calc_method): Add value mpfr_fff_f.
33008 (func_calc_desc): Add mpfr_fff_f union field.
33009 (test_function): Add field exact_args.
33010 (FUNC): Add macro argument EXACT_ARGS.
33011 (FUNC_mpfr_f_f): Update call to FUNC.
33012 (FUNC_mpfr_f_f): Likewise.
33013 (FUNC_mpfr_ff_f): Likewise.
33014 (FUNC_mpfr_if_f): Likewise.
33015 (FUNC_mpc_c_f): Likewise.
33016 (FUNC_mpc_c_c): Likewise.
33017 (test_functions): Add fma. Update calls to FUNC.
33018 (handle_input_arg): Add argument exact_args.
33019 (add_test): Update call to handle_input_arg.
33020 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
33021 (output_for_one_input_case): Update call to calc_generic_results.
33022 Recalculate exact zero results in each rounding mode.
33023
33024 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
33025 non-negative before setting low bit.
33026 * math/auto-libm-test-in: Mark one asin test possibly having
33027 spurious underflow.
33028 * math/auto-libm-test-out: Regenerated.
33029 * sysdeps/i386/fpu/libm-test-ulps: Update.
33030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33031
33032 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
33033
33034 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
33035 * sysdeps/unix/sysv/linux/microblaze: Move directory from
33036 ports/sysdeps/unix/sysv/linux/microblaze.
33037 * README: Add missing listing for microblaze*-*-linux-gnu.
33038
33039 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
33040
33041 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
33042 duplicate code
33043
33044 2014-02-16 Mike Frysinger <vapier@gentoo.org>
33045
33046 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
33047 * sysdeps/unix/sysv/linux/ia64: Move directory from
33048 ports/sysdeps/unix/sysv/linux/ia64.
33049 * README: Update listing for ia64-*-linux-gnu.
33050
33051 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
33052 Joseph Myers <joseph@codesourcery.com>
33053
33054 * Makeconfig (test-name): New variable.
33055 (evaluate-test): Likewise.
33056 * Makerules (do-test-clean): Remove .test-result files.
33057 (common-mostlyclean): Likewise.
33058 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
33059 * scripts/evaluate-test.sh: New file.
33060
33061 2014-02-14 Joseph Myers <joseph@codesourcery.com>
33062
33063 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
33064 separate $(objpfx)tst-fopenloc-cmp.out and
33065 $(objpfx)tst-fopenloc-mem.out targets.
33066 (tests): Update dependencies.
33067 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
33068 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
33069 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
33070 (tst-rxspencer-no-utf8-ARGS): New variable.
33071 (tst-rxspencer-no-utf8-ENV): Likewise.
33072 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
33073 instead of $(objpfx)tst-rxspencer-mem.
33074 ($(objpfx)tst-rxspencer-mem): Change target to
33075 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
33076 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
33077 * posix/tst-rxspencer-no-utf8.c: New file.
33078
33079 * elf/Makefile ($(objpfx)order.out): Remove rule.
33080 [$(run-built-tests) = yes] (tests): Depend on
33081 $(objpfx)order-cmp.out.
33082 ($(objpfx)order-cmp.out): New rule.
33083 [$(run-built-tests) = yes] (tests): Depend on
33084 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
33085 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
33086 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
33087 $(objpfx)tst-array5-static-cmp.out.
33088 ($(objpfx)tst-array1.out): Remove rule.
33089 ($(objpfx)tst-array1-cmp.out): New rule.
33090 ($(objpfx)tst-array1-static.out): Remove rule.
33091 ($(objpfx)tst-array1-static-cmp.out): New rule.
33092 ($(objpfx)tst-array2.out): Remove rule.
33093 ($(objpfx)tst-array2-cmp.out): New rule.
33094 ($(objpfx)tst-array3.out): Remove rule.
33095 ($(objpfx)tst-array3-cmp.out): New rule.
33096 ($(objpfx)tst-array4.out): Remove rule.
33097 ($(objpfx)tst-array4-cmp.out): New rule.
33098 ($(objpfx)tst-array5.out): Remove rule.
33099 ($(objpfx)tst-array5-cmp.out): New rule.
33100 ($(objpfx)tst-array5-static.out): Remove rule.
33101 ($(objpfx)tst-array5-static-cmp.out): New rule.
33102 [$(run-built-tests) = yes] (tests): Depend on
33103 $(objpfx)order2-cmp.out.
33104 ($(objpfx)order2.out): Remove rule.
33105 ($(objpfx)order2-cmp.out): New rule.
33106 ($(objpfx)tst-initorder.out): Remove rule.
33107 [$(run-built-tests) = yes] (tests): Depend on
33108 $(objpfx)tst-initorder-cmp.out.
33109 ($(objpfx)tst-initorder-cmp.out): New rule.
33110 ($(objpfx)tst-initorder2.out): Remove rule.
33111 [$(run-built-tests) = yes] (tests): Depend on
33112 $(objpfx)tst-initorder2-cmp.out.
33113 ($(objpfx)tst-initorder2-cmp.out): New rule.
33114 [$(run-built-tests) = yes] (tests): Depend on
33115 $(objpfx)tst-unused-dep-cmp.out.
33116 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
33117 ($(objpfx)tst-unused-dep-cmp.out): New rule.
33118 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
33119 on $(objpfx)tst-setvbuf1-cmp.out.
33120 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
33121 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
33122 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
33123 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
33124 ($(objpfx)tst-svc.out): Remove rule.
33125 ($(objpfx)tst-svc-cmp.out): New rule.
33126
33127 2014-02-13 Joseph Myers <joseph@codesourcery.com>
33128
33129 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
33130 * ctype/ctype.h [__USE_MISC]: Likewise.
33131 * dirent/dirent.h [__USE_MISC]: Likewise.
33132 * grp/grp.h [__USE_MISC]: Likewise.
33133 * io/fcntl.h [__USE_MISC]: Likewise.
33134 * io/sys/stat.h [__USE_MISC]: Likewise.
33135 * libio/stdio.h [__USE_MISC]: Likewise.
33136 * posix/unistd.h [__USE_MISC]: Likewise.
33137 * pwd/pwd.h [__USE_MISC]: Likewise.
33138 * stdlib.h [__USE_MISC]: Likewise.
33139 * string/bits/string2.h [__USE_MISC]: Likewise.
33140 * string/string.h [__USE_MISC]: Likewise.
33141 * time/time.h [__USE_MISC]: Likewise.
33142
33143 2014-02-13 Andreas Schwab <schwab@suse.de>
33144
33145 [BZ #16574]
33146 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
33147 second answer buffer if it was separately allocated.
33148
33149 2014-02-12 Joseph Myers <joseph@codesourcery.com>
33150
33151 * sysdeps/mips/math-tests.h: Include <features.h>.
33152 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33153 (ROUNDING_TESTS_long_double): Do not define.
33154 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33155 (EXCEPTION_TESTS_long_double): Likewise.
33156 * sysdeps/mips/mips64/libm-test-ulps: Update.
33157
33158 * include/features.h (__USE_BSD): Remove macro definitions.
33159 (__USE_SVID): Likewise.
33160 (_BSD_SOURCE): Likewise.
33161 (_SVID_SOURCE): Likewise.
33162 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
33163 from definition of _DEFAULT_SOURCE.
33164 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
33165 [_DEFAULT_SOURCE].
33166 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
33167 * bits/mman.h [__USE_BSD]: Likewise.
33168 * bits/termios.h [__USE_BSD]: Likewise.
33169 * bits/waitstatus.h [__USE_BSD]: Likewise.
33170 * ctype/ctype.h [__USE_SVID]: Likewise.
33171 * dirent/dirent.h [__USE_BSD]: Likewise.
33172 * grp/grp.h [__USE_SVID]: Likewise.
33173 [__USE_BSD]: Likewise.
33174 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
33175 * io/fcntl.h [__USE_BSD]: Likewise.
33176 * io/ftw.h [__USE_BSD]: Likewise.
33177 * io/sys/stat.h [__USE_BSD]: Likewise.
33178 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
33179 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
33180 * libio/stdio.h [__USE_SVID]: Likewise.
33181 [__USE_BSD]: Likewise.
33182 * math/math.h [__USE_SVID]: Likewise.
33183 [__USE_BSD]: Likewise.
33184 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
33185 * misc/bits/syslog.h [__USE_BSD]: Likewise.
33186 * misc/search.h [__USE_SVID]: Likewise.
33187 * misc/sys/mman.h [__USE_BSD]: Likewise.
33188 * misc/sys/syslog.h [__USE_BSD]: Likewise.
33189 * misc/sys/uio.h [__USE_BSD]: Likewise.
33190 * posix/bits/unistd.h [__USE_BSD]: Likewise.
33191 * posix/glob.h [__USE_BSD]: Likewise.
33192 * posix/regex.h [__USE_BSD]: Likewise.
33193 * posix/sys/types.h [__USE_BSD]: Likewise.
33194 [__USE_SVID]: Likewise.
33195 * posix/sys/utsname.h [__USE_SVID]: Likewise.
33196 * posix/sys/wait.h [__USE_BSD]: Likewise.
33197 [__USE_SVID]: Likewise.
33198 * posix/unistd.h [__USE_BSD]: Likewise.
33199 [__USE_SVID]: Likewise.
33200 * pwd/pwd.h [__USE_SVID]: Likewise.
33201 * resolv/netdb.h [__USE_BSD]: Likewise.
33202 * setjmp/setjmp.h [__USE_BSD]: Likewise.
33203 * signal/signal.h [__USE_BSD]: Likewise.
33204 [__USE_SVID]: Likewise.
33205 * socket/sys/socket.h [__USE_BSD]: Likewise.
33206 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
33207 * stdlib/stdlib.h [__USE_BSD]: Likewise.
33208 [__USE_SVID]: Likewise.
33209 * string/bits/string2.h [__USE_BSD]: Likewise.
33210 [__USE_SVID]: Likewise.
33211 * string/bits/string3.h [__USE_BSD]: Likewise.
33212 * string/endian.h [__USE_BSD]: Likewise.
33213 * string/string.h [__USE_SVID]: Likewise.
33214 [__USE_BSD]: Likewise.
33215 * string/strings.h [__USE_BSD]: Likewise.
33216 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
33217 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
33218 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
33219 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
33220 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
33221 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
33222 Likewise.
33223 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
33224 Likewise.
33225 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
33226 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
33227 Likewise.
33228 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
33229 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
33230 Likewise.
33231 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
33232 Likewise.
33233 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
33234 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
33235 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
33236 Likewise.
33237 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
33238 Likewise.
33239 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
33240 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
33241 * termios/termios.h [__USE_BSD]: Likewise.
33242 * time/sys/time.h [__USE_BSD]: Likewise.
33243 * time/time.h [__USE_BSD]: Likewise.
33244 [__USE_SVID]: Likewise.
33245
33246 * Makefile (subdir_targets): Remove subdir_lint.out.
33247
33248 * stdio-common/Makefile (do-tst-unbputc): Remove target.
33249 (do-tst-printf): Likewise.
33250 (tests): Depend directly on $(objpfx)tst-unbputc.out and
33251 $(objpfx)tst-printf.out.
33252
33253 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
33254
33255 * Makerules (check-abi-%): Change target to
33256 $(objpfx)check-abi-%.out.
33257 (check-abi target): Update dependencies.
33258 (check-abi-pattern variable): Redirect output of diff to $@.
33259 (check-abi variable): Likewise.
33260 * elf/Makefile (check-abi): Update dependencies.
33261
33262 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
33263 unused.
33264 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
33265 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
33266 subnormal range.
33267 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
33268 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
33269 value has largest subnormal exponent.
33270 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
33271 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
33272 * sysdeps/aarch64/soft-fp/sfp-machine.h
33273 (_FP_TININESS_AFTER_ROUNDING): New macro.
33274 * sysdeps/alpha/soft-fp/sfp-machine.h
33275 (_FP_TININESS_AFTER_ROUNDING): Likewise.
33276 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33277 Likewise.
33278 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
33279 (_FP_TININESS_AFTER_ROUNDING): Likewise.
33280 * sysdeps/mips/soft-fp/sfp-machine.h
33281 (_FP_TININESS_AFTER_ROUNDING): Likewise.
33282 * sysdeps/powerpc/soft-fp/sfp-machine.h
33283 (_FP_TININESS_AFTER_ROUNDING): Likewise.
33284 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33285 Likewise.
33286 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33287 (_FP_TININESS_AFTER_ROUNDING): Likewise.
33288 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33289 (_FP_TININESS_AFTER_ROUNDING): Likewise.
33290 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33291 Likewise.
33292
33293 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
33294
33295 [BZ #16545]
33296 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
33297 model 1.
33298
33299 2014-02-12 Richard Henderson <rth@redhat.com>
33300
33301 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
33302 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
33303 * sysdeps/unix/sysv/linux/alpha: Move directory from
33304 ports/sysdeps/unix/sysv/linux/alpha.
33305 * README: Update listing for alpha-*-linux-gnu.
33306
33307 2014-02-11 Joseph Myers <joseph@codesourcery.com>
33308
33309 * include/features.h: Update comment documenting feature test
33310 macros.
33311 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
33312 _DEFAULT_SOURCE.
33313 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
33314 (_SVID_SOURCE): Likewise.
33315 (_DEFAULT_SOURCE): Update description of default features.
33316 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
33317 with _GNU_SOURCE.
33318 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
33319 (S_ISVTX): Likewise.
33320 * manual/math.texi (Mathematical Constants): Likewise.
33321 * manual/signal.texi (Interrupted Primitives): Likewise.
33322 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
33323 * math/test-matherr.c (_SVID_SOURCE): Do not define.
33324 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
33325 Don't refer to _SVID_SOURCE in warning text.
33326
33327 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33328
33329 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
33330 already defined.
33331 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
33332 * sysdeps/mips/dl-lookup.c: Remove.
33333 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
33334
33335 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
33336
33337 [BZ #16447]
33338 * math/auto-libm-test-in: Add testcase for expl.
33339 * math/auto-libm-test-out: Regenerate.
33340 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
33341 calculation of unsafe.
33342 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
33343
33344 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
33345
33346 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
33347 * sysdeps/unix/sysv/linux/aarch64: Move directory from
33348 ports/sysdeps/unix/sysv/linux/aarch64.
33349 * README: Update listing for aarch64*-*-linux-gnu.
33350
33351 2014-02-11 Will Newton <will.newton@linaro.org>
33352
33353 * manual/probes.texi (Mathematical Function Probes): Use
33354 "triggered" instead of "hit".
33355
33356 * manual/probes.texi (Internal Probes): Add documentation
33357 of setjmp, longjmp and longjmp_target probes.
33358
33359 * include/stap-probe.h: Add comment about probe argument
33360 format.
33361
33362 * malloc/mtrace.c (attribute_hidden): Remove unused macro
33363 definition. (tr_where, tr_freehook, tr_mallochook,
33364 tr_reallochook, tr_memalignhook): Use ANSI protoype.
33365
33366 2014-02-11 David S. Miller <davem@davemloft.net>
33367
33368 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
33369 processing int_tests.
33370
33371 2014-02-10 Joseph Myers <joseph@codesourcery.com>
33372
33373 * sysdeps/mips: Move directory from ports/sysdeps/mips.
33374 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
33375 * sysdeps/unix/sysv/linux/mips: Move directory from
33376 ports/sysdeps/unix/sysv/linux/mips.
33377 * README: Update listing for mips-*-linux-gnu and
33378 mips64-*-linux-gnu.
33379
33380 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
33381
33382 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
33383 * sysdeps/unix/sysv/linux/m68k: Move directory from
33384 ports/sysdeps/unix/sysv/linux/m68k.
33385 * README: Update listing for m68k-*-linux-gnu.
33386
33387 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
33388
33389 * sysdeps/tile: Move directory from ports/sysdeps/tile.
33390 * sysdeps/unix/sysv/linux/generic: Move directory from
33391 ports/sysdeps/unix/sysv/linux/generic.
33392 * sysdeps/unix/sysv/linux/tile: Move directory from
33393 ports/sysdeps/unix/sysv/linux/tile.
33394 * README: Update listing for tile*-*-linux-gnu.
33395
33396 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
33397
33398 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
33399 __builtin_expect.
33400 * benchtests/bench-memmem.c (simple_memmem): Likewise.
33401 * catgets/open_catalog.c (__open_catalog): Likewise.
33402 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
33403 * debug/confstr_chk.c: Likewise.
33404 * debug/fread_chk.c (__fread_chk): Likewise.
33405 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
33406 * debug/getgroups_chk.c: Likewise.
33407 * debug/mbsnrtowcs_chk.c: Likewise.
33408 * debug/mbsrtowcs_chk.c: Likewise.
33409 * debug/mbstowcs_chk.c: Likewise.
33410 * debug/memcpy_chk.c: Likewise.
33411 * debug/memmove_chk.c: Likewise.
33412 * debug/mempcpy_chk.c: Likewise.
33413 * debug/memset_chk.c: Likewise.
33414 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33415 * debug/strcat_chk.c (__strcat_chk): Likewise.
33416 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
33417 * debug/strncat_chk.c (__strncat_chk): Likewise.
33418 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
33419 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
33420 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
33421 * debug/wcpncpy_chk.c: Likewise.
33422 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33423 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
33424 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
33425 * debug/wcsncpy_chk.c: Likewise.
33426 * debug/wcsnrtombs_chk.c: Likewise.
33427 * debug/wcsrtombs_chk.c: Likewise.
33428 * debug/wcstombs_chk.c: Likewise.
33429 * debug/wmemcpy_chk.c: Likewise.
33430 * debug/wmemmove_chk.c: Likewise.
33431 * debug/wmempcpy_chk.c: Likewise.
33432 * debug/wmemset_chk.c: Likewise.
33433 * dirent/scandirat.c (SCANDIRAT): Likewise.
33434 * dlfcn/dladdr1.c (dladdr1): Likewise.
33435 * dlfcn/dladdr.c (dladdr): Likewise.
33436 * dlfcn/dlclose.c (dlclose_doit): Likewise.
33437 * dlfcn/dlerror.c (__dlerror): Likewise.
33438 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
33439 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
33440 * dlfcn/dlopen.c (dlopen_doit): Likewise.
33441 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
33442 * dlfcn/dlsym.c (dlsym_doit): Likewise.
33443 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
33444 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
33445 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
33446 Likewise.
33447 * elf/dl-conflict.c: Likewise.
33448 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
33449 * elf/dl-dst.h: Likewise.
33450 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
33451 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
33452 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
33453 * elf/dl-init.c (call_init, _dl_init): Likewise.
33454 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
33455 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
33456 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
33457 Likewise.
33458 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
33459 Likewise.
33460 * elf/dl-minimal.c (__libc_memalign): Likewise.
33461 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
33462 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33463 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
33464 * elf/dl-sym.c (do_sym): Likewise.
33465 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
33466 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
33467 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
33468 * elf/dl-writev.h (_dl_writev): Likewise.
33469 * elf/ldconfig.c (search_dir): Likewise.
33470 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
33471 (dl_main): Likewise.
33472 * elf/setup-vdso.h (setup_vdso): Likewise.
33473 * grp/compat-initgroups.c (compat_call): Likewise.
33474 * grp/fgetgrent.c (fgetgrent): Likewise.
33475 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
33476 * grp/putgrent.c (putgrent): Likewise.
33477 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33478 Likewise.
33479 * hurd/hurdinit.c: Likewise.
33480 * iconvdata/8bit-gap.c (struct): Likewise.
33481 * iconvdata/ansi_x3.110.c : Likewise.
33482 * iconvdata/big5.c : Likewise.
33483 * iconvdata/big5hkscs.c : Likewise.
33484 * iconvdata/cp1255.c: Likewise.
33485 * iconvdata/cp1258.c : Likewise.
33486 * iconvdata/cp932.c : Likewise.
33487 * iconvdata/euc-cn.c: Likewise.
33488 * iconvdata/euc-jisx0213.c : Likewise.
33489 * iconvdata/euc-jp.c: Likewise.
33490 * iconvdata/euc-jp-ms.c : Likewise.
33491 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
33492 * iconvdata/gb18030.c : Likewise.
33493 * iconvdata/gbbig5.c (const): Likewise.
33494 * iconvdata/gbgbk.c: Likewise.
33495 * iconvdata/gbk.c : Likewise.
33496 * iconvdata/ibm1364.c : Likewise.
33497 * iconvdata/ibm930.c : Likewise.
33498 * iconvdata/ibm932.c: Likewise.
33499 * iconvdata/ibm933.c : Likewise.
33500 * iconvdata/ibm935.c : Likewise.
33501 * iconvdata/ibm937.c : Likewise.
33502 * iconvdata/ibm939.c : Likewise.
33503 * iconvdata/ibm943.c: Likewise.
33504 * iconvdata/iso_11548-1.c: Likewise.
33505 * iconvdata/iso-2022-cn.c : Likewise.
33506 * iconvdata/iso-2022-cn-ext.c : Likewise.
33507 * iconvdata/iso-2022-jp-3.c: Likewise.
33508 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
33509 * iconvdata/iso-2022-kr.c : Likewise.
33510 * iconvdata/iso646.c (gconv_end): Likewise.
33511 * iconvdata/iso_6937-2.c : Likewise.
33512 * iconvdata/iso_6937.c : Likewise.
33513 * iconvdata/iso8859-1.c: Likewise.
33514 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
33515 * iconvdata/shift_jisx0213.c : Likewise.
33516 * iconvdata/sjis.c : Likewise.
33517 * iconvdata/t.61.c : Likewise.
33518 * iconvdata/tcvn5712-1.c : Likewise.
33519 * iconvdata/tscii.c: Likewise.
33520 * iconvdata/uhc.c : Likewise.
33521 * iconvdata/unicode.c (gconv_end): Likewise.
33522 * iconvdata/utf-16.c (gconv_end): Likewise.
33523 * iconvdata/utf-32.c (gconv_end): Likewise.
33524 * iconvdata/utf-7.c (base64): Likewise.
33525 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33526 * iconv/gconv_close.c (__gconv_close): Likewise.
33527 * iconv/gconv_open.c (__gconv_open): Likewise.
33528 * iconv/gconv_simple.c (internal_ucs4_loop_single)
33529 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
33530 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
33531 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
33532 (ucs4le_internal_loop_single): Likewise.
33533 * iconv/iconv.c (iconv): Likewise.
33534 * iconv/iconv_close.c: Likewise.
33535 * iconv/loop.c (SINGLE): Likewise.
33536 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
33537 * include/atomic.h: Likewise.
33538 * inet/inet6_option.c (option_alloc): Likewise.
33539 * intl/bindtextdom.c (set_binding_values): Likewise.
33540 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
33541 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
33542 * intl/localealias.c (read_alias_file): Likewise.
33543 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33544 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
33545 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
33546 * libio/fmemopen.c (fmemopen): Likewise.
33547 * libio/iofgets.c (_IO_fgets): Likewise.
33548 * libio/iofgets_u.c (fgets_unlocked): Likewise.
33549 * libio/iofgetws.c (fgetws): Likewise.
33550 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
33551 * libio/iogetdelim.c (_IO_getdelim): Likewise.
33552 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
33553 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
33554 * locale/findlocale.c (_nl_find_locale): Likewise.
33555 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33556 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
33557 Likewise.
33558 * locale/setlocale.c (setlocale): Likewise.
33559 * login/programs/pt_chown.c (main): Likewise.
33560 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
33561 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
33562 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
33563 (mmap, mmap64, mremap, munmap): Likewise.
33564 * math/e_exp2l.c: Likewise.
33565 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
33566 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
33567 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
33568 * math/s_catan.c (__catan): Likewise.
33569 * math/s_catanf.c (__catanf): Likewise.
33570 * math/s_catanh.c (__catanh): Likewise.
33571 * math/s_catanhf.c (__catanhf): Likewise.
33572 * math/s_catanhl.c (__catanhl): Likewise.
33573 * math/s_catanl.c (__catanl): Likewise.
33574 * math/s_ccosh.c (__ccosh): Likewise.
33575 * math/s_ccoshf.c (__ccoshf): Likewise.
33576 * math/s_ccoshl.c (__ccoshl): Likewise.
33577 * math/s_cexp.c (__cexp): Likewise.
33578 * math/s_cexpf.c (__cexpf): Likewise.
33579 * math/s_cexpl.c (__cexpl): Likewise.
33580 * math/s_clog10.c (__clog10): Likewise.
33581 * math/s_clog10f.c (__clog10f): Likewise.
33582 * math/s_clog10l.c (__clog10l): Likewise.
33583 * math/s_clog.c (__clog): Likewise.
33584 * math/s_clogf.c (__clogf): Likewise.
33585 * math/s_clogl.c (__clogl): Likewise.
33586 * math/s_csin.c (__csin): Likewise.
33587 * math/s_csinf.c (__csinf): Likewise.
33588 * math/s_csinh.c (__csinh): Likewise.
33589 * math/s_csinhf.c (__csinhf): Likewise.
33590 * math/s_csinhl.c (__csinhl): Likewise.
33591 * math/s_csinl.c (__csinl): Likewise.
33592 * math/s_csqrt.c (__csqrt): Likewise.
33593 * math/s_csqrtf.c (__csqrtf): Likewise.
33594 * math/s_csqrtl.c (__csqrtl): Likewise.
33595 * math/s_ctan.c (__ctan): Likewise.
33596 * math/s_ctanf.c (__ctanf): Likewise.
33597 * math/s_ctanh.c (__ctanh): Likewise.
33598 * math/s_ctanhf.c (__ctanhf): Likewise.
33599 * math/s_ctanhl.c (__ctanhl): Likewise.
33600 * math/s_ctanl.c (__ctanl): Likewise.
33601 * math/w_pow.c: Likewise.
33602 * math/w_powf.c: Likewise.
33603 * math/w_powl.c: Likewise.
33604 * math/w_scalb.c (sysv_scalb): Likewise.
33605 * math/w_scalbf.c (sysv_scalbf): Likewise.
33606 * math/w_scalbl.c (sysv_scalbl): Likewise.
33607 * misc/error.c (error_tail): Likewise.
33608 * misc/pselect.c (__pselect): Likewise.
33609 * nis/nis_callback.c (__nis_create_callback): Likewise.
33610 * nis/nis_call.c (__nisfind_server): Likewise.
33611 * nis/nis_creategroup.c (nis_creategroup): Likewise.
33612 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
33613 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
33614 * nis/nis_getservlist.c (nis_getservlist): Likewise.
33615 * nis/nis_lookup.c (nis_lookup): Likewise.
33616 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
33617 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
33618 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
33619 * nis/nis_xdr.c (xdr_endpoint): Likewise.
33620 * nis/nss_compat/compat-grp.c (getgrent_next_file)
33621 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
33622 * nis/nss_compat/compat-initgroups.c (add_group)
33623 (internal_getgrent_r): Likewise.
33624 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
33625 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
33626 * nis/nss_compat/compat-spwd.c (getspent_next_file)
33627 (internal_getspnam_r): Likewise.
33628 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
33629 (_nss_nis_getaliasbyname_r): Likewise.
33630 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
33631 (_nss_nis_getntohost_r): Likewise.
33632 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
33633 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
33634 (_nss_nis_getgrgid_r): Likewise.
33635 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
33636 (internal_nis_gethostent_r, internal_gethostbyname2_r)
33637 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
33638 (_nss_nis_gethostbyname4_r): Likewise.
33639 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
33640 (initgroups_netid): Likewise.
33641 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
33642 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
33643 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
33644 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
33645 (_nss_nis_getprotobynumber_r): Likewise.
33646 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
33647 (_nss_nis_getsecretkey): Likewise.
33648 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
33649 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
33650 (_nss_nis_getpwuid_r): Likewise.
33651 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
33652 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
33653 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
33654 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
33655 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
33656 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
33657 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
33658 Likewise.
33659 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
33660 (_nss_nisplus_getntohost_r): Likewise.
33661 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
33662 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
33663 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
33664 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
33665 Likewise.
33666 * nis/nss_nisplus/nisplus-initgroups.c
33667 (_nss_nisplus_initgroups_dyn): Likewise.
33668 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
33669 (_nss_nisplus_getnetbyaddr_r): Likewise.
33670 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
33671 (_nss_nisplus_getprotobynumber_r): Likewise.
33672 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
33673 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
33674 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
33675 Likewise.
33676 * nis/nss_nisplus/nisplus-service.c
33677 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
33678 (_nss_nisplus_getservbyport_r): Likewise.
33679 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
33680 (_nss_nisplus_getspnam_r): Likewise.
33681 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
33682 Likewise.
33683 * nscd/aicache.c (addhstaiX): Likewise.
33684 * nscd/cache.c (cache_search, prune_cache): Likewise.
33685 * nscd/connections.c (register_traced_file, send_ro_fd)
33686 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
33687 (main_loop_epoll): Likewise.
33688 * nscd/grpcache.c (addgrbyX): Likewise.
33689 * nscd/hstcache.c (addhstbyX): Likewise.
33690 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33691 * nscd/mem.c (gc, mempool_alloc): Likewise.
33692 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
33693 (addinnetgrX): Likewise.
33694 * nscd/nscd-client.h (__nscd_acquire_maplock)
33695 (__nscd_drop_map_ref): Likewise.
33696 * nscd/nscd_getai.c (__nscd_getai): Likewise.
33697 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33698 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
33699 Likewise.
33700 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33701 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33702 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
33703 (__nscd_get_map_ref): Likewise.
33704 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33705 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
33706 Likewise.
33707 * nscd/pwdcache.c (addpwbyX): Likewise.
33708 * nscd/selinux.c (preserve_capabilities): Likewise.
33709 * nscd/servicescache.c (addservbyX): Likewise.
33710 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
33711 * posix/fnmatch.c (fnmatch): Likewise.
33712 * posix/getopt.c (_getopt_internal_r): Likewise.
33713 * posix/glob.c (glob, glob_in_dir): Likewise.
33714 * posix/wordexp.c (exec_comm_child): Likewise.
33715 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
33716 (getanswer_r, gaih_getanswer_slice): Likewise.
33717 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
33718 * resolv/res_init.c: Likewise.
33719 * resolv/res_mkquery.c (res_nmkquery): Likewise.
33720 * resolv/res_query.c (__libc_res_nquery): Likewise.
33721 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
33722 Likewise.
33723 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
33724 * stdio-common/perror.c (perror): Likewise.
33725 * stdio-common/printf_fp.c (___printf_fp): Likewise.
33726 * stdio-common/tmpnam.c (tmpnam): Likewise.
33727 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33728 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33729 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33730 Likewise.
33731 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
33732 * stdlib/putenv.c (putenv): Likewise.
33733 * stdlib/setenv.c (__add_to_environ): Likewise.
33734 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33735 * stdlib/strtol_l.c (INTERNAL): Likewise.
33736 * string/memmem.c (memmem): Likewise.
33737 * string/strerror.c (strerror): Likewise.
33738 * string/strnlen.c (__strnlen): Likewise.
33739 * string/test-memmem.c (simple_memmem): Likewise.
33740 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
33741 * sunrpc/pm_getport.c (__get_socket): Likewise.
33742 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
33743 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
33744 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
33745 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
33746 Likewise.
33747 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
33748 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33749 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33750 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
33751 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33752 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
33753 Likewise.
33754 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
33755 Likewise.
33756 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33757 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33758 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33759 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33760 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
33761 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
33762 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33763 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
33764 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33765 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
33766 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33767 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
33768 Likewise.
33769 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
33770 Likewise.
33771 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
33772 Likewise.
33773 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
33774 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33775 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
33776 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
33777 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
33778 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
33779 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33780 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
33781 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
33782 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
33783 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
33784 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33785 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
33786 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
33787 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33788 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33789 Likewise.
33790 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
33791 Likewise.
33792 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
33793 Likewise.
33794 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
33795 Likewise.
33796 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33797 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33798 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
33799 Likewise.
33800 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
33801 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
33802 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33803 * sysdeps/posix/sleep.c: Likewise.
33804 * sysdeps/posix/tempname.c: Likewise.
33805 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
33806 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
33807 Likewise.
33808 * sysdeps/powerpc/powerpc32/dl-machine.h
33809 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
33810 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
33811 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33812 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
33813 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
33814 Likewise.
33815 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
33816 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
33817 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33818 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
33819 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33820 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
33821 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
33822 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
33823 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33824 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
33825 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
33826 (elf_machine_lazy_rel): Likewise.
33827 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33828 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
33829 (elf_machine_lazy_rel): Likewise.
33830 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
33831 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
33832 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
33833 * sysdeps/unix/grantpt.c (grantpt): Likewise.
33834 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
33835 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
33836 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33837 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33838 Likewise.
33839 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
33840 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
33841 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
33842 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
33843 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33844 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33845 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
33846 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
33847 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
33848 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33849 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33850 Likewise.
33851 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
33852 (__posix_fallocate64_l64): Likewise.
33853 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
33854 (posix_fallocate): Likewise.
33855 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
33856 Likewise.
33857 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33858 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
33859 (getifaddrs_internal): Likewise.
33860 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
33861 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
33862 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
33863 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
33864 * sysdeps/unix/sysv/linux/posix_fallocate64.c
33865 (__posix_fallocate64_l64): Likewise.
33866 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
33867 Likewise.
33868 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
33869 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
33870 (__get_clockfreq): Likewise.
33871 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
33872 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
33873 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
33874 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33875 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33876 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
33877 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
33878 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
33879 Likewise.
33880 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
33881 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
33882 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
33883 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
33884 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33885 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
33886 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
33887 Likewise.
33888 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33889 (posix_fallocate): Likewise.
33890 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33891 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
33892 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
33893 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
33894 (elf_machine_rela, elf_machine_rela_relative)
33895 (elf_machine_lazy_rel): Likewise.
33896 * time/asctime.c (asctime_internal): Likewise.
33897 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
33898 * time/tzset.c (__tzset_parse_tz): Likewise.
33899 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33900 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33901 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
33902 * wcsmbs/wcsmbsload.h: Likewise.
33903
33904 [BZ #15894]
33905 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
33906
33907 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
33908 (arena_get2): Remove THREAD_STATS conditionals.
33909 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
33910 (__malloc_stats, int): Likewise.
33911
33912 2014-02-08 Mike Frysinger <vapier@gentoo.org>
33913
33914 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
33915 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
33916
33917 * manual/setjmp.texi: Fix typos/grammar errors.
33918
33919 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
33920 Only return early when n is <= 0. Delete unused return statement.
33921
33922 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
33923 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
33924 * debug/tst-longjmp_chk3.c: New file.
33925
33926 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
33927 (test_main): Replace code with set_fortify_handler call.
33928 * debug/test-strcpy_chk.c: Likewise.
33929 * debug/tst-chk1.c: Likewise.
33930 * debug/tst-longjmp_chk.c: Likewise.
33931 * test-skeleton.c: Include fcntl.h & paths.h
33932 (set_fortify_handler): Define.
33933
33934 * debug/tst-longjmp_chk.c: Add header comment and include
33935 ../test-skeleton.c.
33936 (do_test): Mark static.
33937 (TEST_FUNCTION): Define.
33938
33939 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
33940 (IP_PMTUDISC_INTERFACE): Likewise.
33941 (IP_MULTICAST_IF): Likewise.
33942 (IP_MULTICAST_TTL): Likewise.
33943 (IP_MULTICAST_LOOP): Likewise.
33944 (IP_ADD_MEMBERSHIP): Likewise.
33945 (IP_DROP_MEMBERSHIP): Likewise.
33946 (IP_UNBLOCK_SOURCE): Likewise.
33947 (IP_BLOCK_SOURCE): Likewise.
33948 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
33949 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
33950 (IP_MSFILTER): Likewise.
33951 (MCAST_JOIN_GROUP): Likewise.
33952 (MCAST_BLOCK_SOURCE): Likewise.
33953 (MCAST_UNBLOCK_SOURCE): Likewise.
33954 (MCAST_LEAVE_GROUP): Likewise.
33955 (MCAST_JOIN_SOURCE_GROUP): Likewise.
33956 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
33957 (MCAST_MSFILTER): Likewise.
33958 (IP_MULTICAST_ALL): Likewise.
33959 (IP_UNICAST_IF): Likewise.
33960
33961 * timezone/Makefile: Delete $(have-ksh) check.
33962 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
33963 * timezone/tzselect.ksh: Add +x mode bits.
33964
33965 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
33966 (ANON_INODE_FS_MAGIC): Likewise.
33967 (BDEVFS_MAGIC): Likewise.
33968 (BINFMTFS_MAGIC): Likewise.
33969 (BTRFS_TEST_MAGIC): Likewise.
33970 (CRAMFS_MAGIC_WEND): Likewise.
33971 (DEBUGFS_MAGIC): Likewise.
33972 (ECRYPTFS_SUPER_MAGIC): Likewise.
33973 (EXT3_SUPER_MAGIC): Likewise.
33974 (EXT4_SUPER_MAGIC): Likewise.
33975 (FUTEXFS_SUPER_MAGIC): Likewise.
33976 (HOSTFS_SUPER_MAGIC): Likewise.
33977 (HUGETLBFS_MAGIC): Likewise.
33978 (MINIX3_SUPER_MAGIC): Likewise.
33979 (MTD_INODE_FS_MAGIC): Likewise.
33980 (NILFS_SUPER_MAGIC): Likewise.
33981 (OPENPROM_SUPER_MAGIC): Likewise.
33982 (PIPEFS_MAGIC): Likewise.
33983 (PSTOREFS_MAGIC): Likewise.
33984 (QNX6_SUPER_MAGIC): Likewise.
33985 (RAMFS_MAGIC): Likewise.
33986 (REISERFS_SUPER_MAGIC_STRING): Likewise.
33987 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
33988 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
33989 (SECURITYFS_MAGIC): Likewise.
33990 (SELINUX_MAGIC): Likewise.
33991 (SMACK_MAGIC): Likewise.
33992 (SOCKFS_MAGIC): Likewise.
33993 (SQUASHFS_MAGIC): Likewise.
33994 (STACK_END_MAGIC): Likewise.
33995 (TMPFS_MAGIC): Likewise.
33996 (USBDEVICE_SUPER_MAGIC): Likewise.
33997 (V9FS_MAGIC): Likewise.
33998 (XENFS_SUPER_MAGIC): Likewise.
33999 (CRAMFS_MAGIC): Fix typo in comment.
34000 (EXT2_SUPER_MAGIC): Update comment.
34001 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
34002
34003 2014-02-08 Joseph Myers <joseph@codesourcery.com>
34004
34005 * sysdeps/arm: Move directory from ports/sysdeps/arm.
34006 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
34007 * sysdeps/unix/sysv/linux/arm: Move directory from
34008 ports/sysdeps/unix/sysv/linux/arm.
34009 * README: Update listing for arm-*-linux-gnueabi.
34010
34011 * README: Remove mention of am33.
34012
34013 2014-02-07 Roland McGrath <roland@hack.frob.com>
34014
34015 * bits/sigset.h (__sigemptyset): Use a statement expression rather
34016 than the comma operator, to avoid "rhs of comma has no effect"
34017 compiler warnings.
34018 (__sigfillset, __sigandset, __sigorset): Likewise.
34019 * include/signal.h (__sigemptyset): Likewise.
34020 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
34021
34022 2014-02-07 Allan McRae <allan@archlinux.org>
34023
34024 * version.h (RELEASE): Set to "development".
34025 (VERSION): Set to "2.19.90"
34026 * NEWS: Add 2.20 section.
34027
34028 2014-02-06 Carlos O'Donell <carlos@redhat.com>
34029
34030 [BZ #16529]
34031 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
34032
34033 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34034
34035 * manual/contrib.texi: Update entry for Carlos O'Donell,
34036 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
34037
34038 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
34039
34040 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
34041
34042 * sysdeps/unix/sysv/linux/kernel-features.h
34043 [__LINUX_KERNEL_VERSION >= 0x020621]
34044 (__ASSUME_PROC_PID_TASK_COMM): Define.
34045
34046 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34047
34048 [BZ #16398]
34049 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
34050 conversion when destination buffer does not have enough space.
34051 * libio/tst-ftell-partial-wide.c: New test case.
34052 * libio/Makefile (tests): Add tst-ftell-partial-wide.
34053
34054 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
34055 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
34056 Leonard and Allan McRae.
34057
34058 2014-02-04 David S. Miller <davem@davemloft.net>
34059
34060 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
34061 32-bit.
34062
34063 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34064
34065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34066 New file
34067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34068 New file
34069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34070 New file.
34071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34072 New file.
34073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34074 New file.
34075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34076 New file.
34077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34078 New file.
34079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34080 New file.
34081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34082 New file.
34083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34084 New file.
34085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34086 New file.
34087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34088 New file.
34089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34090 New file.
34091
34092 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34093
34094 * nptl/shlib-versions: Change powerpc*le start to 2.17.
34095 * shlib-versions: Likewise.
34096
34097 2014-02-04 Roland McGrath <roland@hack.frob.com>
34098 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34099
34100 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
34101 (abilist-pattern): New variable, set to %-le.abilist.
34102
34103 * Makerules (abilist-pattern): New variable.
34104 (vpath): Use $(abilist-pattern) in place of %.abilist.
34105 (check-abi-% pattern rule): Likewise.
34106 (check-abi, update-abi): Likewise.
34107
34108 2014-02-04 Eric Wong <normalperson@yhbt.net>
34109
34110 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34111
34112 2014-02-03 Carlos O'Donell <carlos@redhat.com>
34113
34114 * manual/startup.texi: Add next, previous, and top entries for
34115 the `Program Arguments' and `Environment Variables' nodes.
34116
34117 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
34118
34119 * manual/macros.texi: Add comments before MTASC-safety macros.
34120
34121 * manual/users.texi: Document MTASC-safety properties.
34122
34123 * manual/threads.texi (pthread_key_create, pthread_key_delete)
34124 (pthread_getspecific, pthread_setspecific): Format with
34125 @deftypefun, and add @safety note.
34126 * manual/signal.texi: Move comments that analyze the above
34127 functions to their home place.
34128
34129 2014-02-03 Allan McRae <allan@archlinux.org>
34130
34131 * po/sl.po: Update Slovenian translation from translation project.
34132
34133 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
34134
34135 * manual/time.texi (timegm): Add missing blank after @c.
34136 Reported by Joseph Myers <joseph@codesourcery.com>.
34137
34138 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
34139
34140 * manual/check-safety.sh: New.
34141 * manual/Makefile ($(objpfx)stamp-summary): Run it.
34142
34143 * manual/terminal.texi: Document MTASC-safety properties.
34144
34145 * manual/filesys.texi: Document MTASC-safety properties.
34146
34147 * manual/errno.texi: Document MTASC-safety properties.
34148
34149 * manual/intro.texi: Document safety identifiers and
34150 conditionals.
34151
34152 * manual/string.texi (wcstok): Fix prototype.
34153 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
34154
34155 * manual/time.texi: Document MTASC-safety properties.
34156
34157 * manual/string.texi: Document MTASC-safety properties.
34158
34159 * manual/threads.texi: Document MTASC-safety properties.
34160
34161 * manual/stdio.texi: Document MTASC-safety properties.
34162
34163 * manual/syslog.texi: Document MTASC-safety properties.
34164
34165 * manual/sysinfo.texi: Document MTASC-safety properties.
34166
34167 * manual/startup.texi: Document MTASC-safety properties.
34168
34169 * manual/socket.texi: Document MTASC-safety properties.
34170
34171 * manual/signal.texi: Document MTASC-safety properties.
34172
34173 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
34174
34175 * manual/setjmp.texi: Document MTASC-safety properties.
34176
34177 * manual/search.texi: Document MTASC-safety properties.
34178
34179 * manual/resource.texi: Document MTASC-safety properties.
34180
34181 * manual/process.texi: Document MTASC-safety properties.
34182
34183 * manual/platform.texi: Document MTASC-safety properties.
34184
34185 * manual/pipe.texi: Document MTASC-safety properties.
34186
34187 * manual/pattern.texi: Document MTASC-safety properties.
34188
34189 * manual/message.texi: Document MTASC-safety properties.
34190
34191 [BZ #12751]
34192 * manual/memory.texi: Document MTASC-safety properties.
34193
34194 * manual/math.texi: Document MTASC-safety properties.
34195
34196 * manual/locale.texi: Document MTASC-safety properties.
34197
34198 * manual/llio.texi: Document MTASC-safety properties.
34199
34200 * manual/libdl.texi: New.
34201
34202 * manual/lang.texi: Document MTASC-safety properties.
34203
34204 * manual/job.texi: Document MTASC-safety properties.
34205
34206 * manual/getopt.texi: Document MTASC-safety properties.
34207
34208 * manual/ctype.texi: Document MTASC-safety properties.
34209
34210 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
34211
34212 [BZ #16046]
34213 * csu/libc-tls.c (static_map): Remove variable.
34214 (__libc_setup_tls): Use main executable's link map for TLS data.
34215 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
34216 casing for LM_ID_BASE and GL(dl_nns).
34217 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
34218 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
34219 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
34220 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
34221 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
34222 member.
34223 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
34224 l_phnum members.
34225
34226 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
34227
34228 * manual/debug.texi: Document MTASC-safety properties.
34229
34230 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
34231
34232 [BZ #16510]
34233 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
34234 of __x86_64__ when disabling x87 inline functions.
34235
34236 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
34237
34238 * manual/charset.texi: Document MTASC-safety properties.
34239
34240 * manual/crypt.texi: Document MTASC-safety properties.
34241
34242 * manual/conf.texi: Document MTASC-safety properties.
34243
34244 * manual/arith.texi: Document MTASC-safety properties.
34245
34246 * manual/argp.texi: Document MTASC-safety properties.
34247
34248 * manual/macros.texi: Introduce macros to document multi
34249 thread, asynchronous signal and asynchronous cancellation
34250 safety properties.
34251 * manual/intro.texi: Introduce the properties themselves.
34252
34253 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34254
34255 * sysdeps/sh/sh4/Makefile: New file.
34256
34257 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
34258
34259 * math/gen-libm-test.pl ($srcdir): New variable.
34260 ($auto_input): Use it.
34261
34262 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34263
34264 [BZ #16506]
34265 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
34266 access beyond array bounds when parsing netgroups file.
34267
34268 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
34269 the old buffer before realloc.
34270
34271 2014-01-27 Allan McRae <allan@archlinux.org>
34272
34273 * po/fr.po: Update French translation from translation project.
34274
34275 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34276
34277 * sysdeps/sh/libm-test-ulps: Regenerate.
34278
34279 2014-01-24 David S. Miller <davem@davemloft.net>
34280
34281 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
34282
34283 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34284
34285 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
34286 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
34287
34288 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34289
34290 [BZ #16474]
34291 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
34292 string pointers after reallocation.
34293
34294 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34295
34296 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
34297 __SH4A__ instead of __SH_FPU_ANY__.
34298
34299 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34300
34301 * sysdeps/sh/fpu_control.h: New file.
34302 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
34303 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
34304 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
34305 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
34306 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
34307 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
34308 * sysdeps/sh/sys/ucontext.h: Remove.
34309 * sysdeps/sh/sys: Remove directory.
34310
34311 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34312
34313 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
34314 s390/sys/ucontext.h.
34315 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
34316 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
34317
34318 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
34319
34320 [BZ #15605]
34321 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
34322
34323 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34324
34325 [BZ#16431]
34326 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34327 Adjust the vDSO correctly for internal calls.
34328 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
34329
34330 2014-01-20 Allan McRae <allan@archlinux.org>
34331
34332 * po/ca.po: Update Catalan translation from translation project.
34333
34334 2014-01-16 Mike Frysinger <vapier@gentoo.org>
34335
34336 * sysdeps/s390/sotruss-lib.c: New file.
34337
34338 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34339
34340 [BZ#16430]
34341 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
34342 (__GI___gettimeofday): Alias for a different internal symbol to avoid
34343 local calls issues by not having a PLT stub required for IFUNC calls.
34344 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
34345
34346 2014-01-16 Joseph Myers <joseph@codesourcery.com>
34347
34348 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
34349 * math/test-fpucw-static.c: Likewise.
34350
34351 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34352
34353 [BZ #16453]
34354 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
34355
34356 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34357
34358 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
34359 implementation for powerpc.
34360
34361 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
34362
34363 [BZ #14782]
34364 * sysdeps/posix/system.c (__libc_system): Do not enable
34365 asynchronous cancellation.
34366
34367 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34368
34369 [BZ #16427]
34370 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
34371 handling only for numbers special also in the IEEE case.
34372
34373 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34374
34375 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34376
34377 2014-01-11 Allan McRae <allan@archlinux.org>
34378
34379 * po/bg.po: Update Bulgarian translation from translation project.
34380
34381 * po/de.po: Update German translation from translation project.
34382
34383 2014-01-10 Roland McGrath <roland@hack.frob.com>
34384
34385 * sysdeps/generic/gcc-compat.h: New file.
34386
34387 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34388
34389 * benchtests/asin-inputs: Correct slow inputs.
34390 * benchtests/acos-inputs: Likewise.
34391
34392 2014-01-10 Allan McRae <allan@archlinux.org>
34393
34394 * po:sv.po: Update Swedish translation from translation project.
34395
34396 * po/vi.po: Update Vietnamese translation from translation project.
34397
34398 * po/eo.po: Update Esperanto translation from translation project.
34399
34400 * po/cs.po: Update Czech translation from translation project.
34401
34402 * po/nl.po: Update Dutch translation from translation project.
34403
34404 * po/pl.po: Update Polish translation from translation project.
34405
34406 * po/ru.po: Update Russian translation from translation project.
34407
34408 * po/uk.po: Update Ukrainian translation from translation project.
34409
34410 2014-01-08 Brooks Moses <bmoses@google.com>
34411
34412 * elf/dl-load.c: Fix comment typo.
34413
34414 2014-01-08 Carlos O'Donell <carlos@redhat.com>
34415
34416 * po/header.pot: Rename to...
34417 * po/pot.header: ... this.
34418 * po/Makefile: Use pot.header.
34419
34420 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
34421 Maxim Kuvyrkov <maxim@kugelworks.com>
34422
34423 [BZ #16394]
34424 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
34425 SRC and DEST against LEN.
34426
34427 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34428
34429 [BZ #16414]
34430 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
34431 implementation.
34432 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
34433
34434 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34435
34436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34437
34438 2014-01-08 Joseph Myers <joseph@codesourcery.com>
34439
34440 [BZ #16408]
34441 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
34442 for large positive arguments.
34443
34444 2014-01-07 Joseph Myers <joseph@codesourcery.com>
34445
34446 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34447
34448 * math/auto-libm-test-in: Mark various tests with
34449 xfail-rounding:ldbl-128ibm.
34450 * math/auto-libm-test-out: Regenerated.
34451
34452 [BZ #16407]
34453 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
34454 Increase overflow threshold.
34455
34456 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
34457
34458 [BZ #14286]
34459 * stdio-common/vfprintf.c: Check for integer overflow.
34460
34461 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34462
34463 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
34464 the first argument and return value of __tls_get_addr_internal.
34465
34466 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34467
34468 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
34469 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
34470
34471 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34472
34473 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
34474 * sysdeps/s390/rtld-global-offsets.sym: New file.
34475 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
34476 GLIBC_2.19 symbol.
34477 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
34478 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
34479 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
34480 ... this.
34481 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
34482 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
34483 ... this.
34484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34485 Regenerate.
34486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34487 Regenerate.
34488 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
34489 halfs of GPRs for high_gprs contexts.
34490 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
34491 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
34492 field.
34493 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
34494 uc_flags field.
34495 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
34496 64 bit versions:
34497 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
34498 for high GPRs (uc_high_gprs) and for future extensions
34499 (__reserved).
34500 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
34501 for future extensions (__reserved).
34502 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
34503 64 bit versions:
34504 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
34505 SC_HIGHGPRS offset definition.
34506 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
34507 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
34508
34509 * Versions.def: Add GLIBC_2.19 for libpthread.
34510 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
34511 siglongjmp for libpthread with GLIBC_2.19 symver.
34512 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
34513 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
34514 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
34515 * sysdeps/s390/__longjmp.c: New file.
34516 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
34517 * sysdeps/s390/longjmp.c: New file.
34518 * sysdeps/s390/setjmp.S: New file.
34519 * sysdeps/s390/sigjmp.S: New file.
34520 * sysdeps/s390/v1-longjmp.c: New file.
34521 * sysdeps/s390/v1-setjmp.h: New file.
34522 * sysdeps/s390/v1-sigjmp.c: New file.
34523 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
34524 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
34525 GLIBC_2.19 version.
34526 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
34527 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
34528 versioned symbols for ____longjmp_chk.
34529 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
34530 Likewise.
34531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34532 Regenerate.
34533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34534 Regenerate.
34535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34536 Regenerate.
34537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34538 Regenerate.
34539 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
34540 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
34541 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
34542 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
34543 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
34544 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
34545 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
34546 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
34547 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
34548 * sysdeps/s390/rtld-__longjmp.c: New file.
34549 * sysdeps/s390/rtld-setjmp.S: New file.
34550
34551 2014-01-06 Joseph Myers <joseph@codesourcery.com>
34552
34553 [BZ #16400]
34554 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34555 Return -__logl (x) for small positive arguments without evaluating
34556 a polynomial.
34557
34558 2014-01-06 Mike Frysinger <vapier@gentoo.org>
34559
34560 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
34561 Rename to ...
34562 (__ptrace_peeksiginfo_args): ... this.
34563 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34564 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34565 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34566
34567 2014-01-06 Allan McRae <allan@archlinux.org>
34568
34569 * inet/netinet/in.h: Fix typo in comment.
34570
34571 2014-01-05 Andreas Jaeger <aj@suse.de>
34572
34573 * sysdeps/i386/fpu/libm-test-ulps: Update.
34574
34575 2014-01-05 Allan McRae <allan@archlinux.org>
34576
34577 * po/libc.pot: Regenerated.
34578
34579 * malloc/memusagestat.c: Fix gettext call formatting.
34580
34581 2014-01-04 Sami Kerola <kerolasa@iki.fi>
34582
34583 * nscd/nscd.c: Improve usage() output.
34584
34585 2014-01-04 Mike Frysinger <vapier@gentoo.org>
34586
34587 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
34588 * sysdeps/unix/sysv/linux/configure: Regenerated.
34589 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
34590 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
34591
34592 2014-01-03 Joseph Myers <joseph@codesourcery.com>
34593
34594 [BZ #16390]
34595 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
34596 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
34597
34598 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34599
34600 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
34601 extra tokens at end of #undef directive.
34602 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
34603 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
34604 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
34605
34606 2014-01-03 Joseph Myers <joseph@codesourcery.com>
34607
34608 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34609
34610 * math/auto-libm-test-in: Mark various tests with
34611 xfail-rounding:ldbl-128ibm.
34612 * math/auto-libm-test-out: Regenerated.
34613
34614 2014-01-02 Joseph Myers <joseph@codesourcery.com>
34615
34616 [BZ #16386]
34617 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
34618 numbers with subnormal high part when calculating exponent.
34619
34620 [BZ #16385]
34621 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
34622 fabs.
34623
34624 [BZ #16384]
34625 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
34626 M_LN2l.
34627 (__ieee754_acoshl): Use __log1pl not __log1p.
34628
34629 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
34630
34631 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
34632 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
34633 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
34634 (grow_heap, heap_trim, _int_new_arena, get_free_list)
34635 (reused_arena, arena_get2): Convert to GNU style.
34636 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
34637 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
34638 (memalign_check, __malloc_set_state): Likewise.
34639 * malloc/mallocbug.c (main): Likewise.
34640 * malloc/malloc.c (__malloc_assert, malloc_init_state)
34641 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
34642 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
34643 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
34644 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
34645 (__posix_memalign, malloc_info): Likewise.
34646 * malloc/malloc.h: Likewise.
34647 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
34648 (mallochook, memalignhook, reallochook, mabort): Likewise.
34649 * malloc/mcheck.h: Likewise.
34650 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
34651 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
34652 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
34653 * malloc/morecore.c (__default_morecore): Likewise.
34654 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
34655 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
34656 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
34657 (print_and_abort): Likewise.
34658 * malloc/obstack.h: Likewise.
34659 * malloc/set-freeres.c (__libc_freeres): Likewise.
34660 * malloc/tst-mallocstate.c (main): Likewise.
34661 * malloc/tst-mtrace.c (main): Likewise.
34662 * malloc/tst-realloc.c (do_test): Likewise.
34663
34664 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34665
34666 [BZ #16366]
34667 * nscd/netgroupcache.c (do_notfound): New function.
34668 (addgetnetgrentX): Use it.
34669
34670 [BZ # 16365]
34671 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
34672 NSS_STATUS_NOTFOUND.
34673
34674 2014-01-01 Joseph Myers <joseph@codesourcery.com>
34675
34676 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34678
34679 2014-01-01 Allan McRae <allan@archlinux.org>
34680
34681 * scripts/update-copyrights: Update configure input file suffix.
34682
34683 * NEWS: Update copyright year.
34684 * catgets/gencat.c: Likewise.
34685 * csu/version.c: Likewise.
34686 * debug/catchsegv.sh: Likewise.
34687 * debug/pcprofiledump.c: Likewise.
34688 * debug/xtrace.sh: Likewise.
34689 * elf/ldconfig.c: Likewise.
34690 * elf/ldd.bash.in: Likewise.
34691 * elf/pldd.c: Likewise.
34692 * elf/sotruss.ksh: Likewise.
34693 * elf/sprof.c: Likewise.
34694 * iconv/iconv_prog.c: Likewise.
34695 * iconv/iconvconfig.c: Likewise.
34696 * locale/programs/locale.c: Likewise.
34697 * locale/programs/localedef.c: Likewise.
34698 * login/programs/pt_chown.c: Likewise.
34699 * malloc/memusage.sh: Likewise.
34700 * malloc/memusagestat.c: Likewise.
34701 * malloc/mtrace.pl: Likewise.
34702 * manual/libc.texinfo: Likewise.
34703 * nscd/nscd.c: Likewise.
34704 * nss/getent.c: Likewise.
34705 * nss/makedb.c: Likewise.
34706 * posix/getconf.c: Likewise.
34707 * scripts/test-installation.pl: Likewise.
34708
34709 * All files with FSF copyright notices: Update copyright dates
34710 using scripts/update-copyrights.
34711 * intl/plural.c: Regenerated.
34712 * locale/programs/charmap-kw.h: Likewise.
34713 * locale/programs/locfile-kw.h: Likewise.
34714
34715 2013-12-31 Mike Frysinger <vapier@gentoo.org>
34716
34717 * sysdeps/unix/sysv/linux/configure: Regenerated.
34718 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
34719 the linux/fanotify.h header.
34720 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
34721 HAVE_LINUX_FANOTIFY_H is defined.
34722
34723 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34724
34725 * benchtests/cos-inputs: New inputs.
34726 * benchtests/sin-inputs: Likewise.
34727
34728 * benchtests/atan-inputs: New inputs. Fix name of multiple
34729 precision fallback inputs.
34730
34731 * benchtests/atanh-inputs: New inputs.
34732 * benchtests/tanh-inputs: Likewise.
34733
34734 * benchtests/acosh-inputs: New inputs.
34735 * benchtests/asinh-inputs: Likewise.
34736
34737 * benchtests/cosh-inputs: New inputs.
34738 * benchtests/sinh-inputs: Likewise.
34739
34740 * benchtests/acos-inputs: Add more inputs.
34741 * benchtests/asin-inputs: Likewise.
34742
34743 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
34744
34745 [BZ #16375]
34746 * manual/arith.texi: Fix spelling.
34747 * manual/charset.texi: Likewise.
34748 * manual/errno.texi: Likewise.
34749 * manual/filesys.texi: Likewise.
34750 * manual/lang.texi: Likewise.
34751 * manual/llio.texi: Likewise.
34752 * manual/locale.texi: Likewise.
34753 * manual/message.texi: Likewise.
34754 * manual/resource.texi: Likewise.
34755 * manual/search.texi: Likewise.
34756 * manual/setjmp.texi: Likewise.
34757 * manual/stdio.texi: Likewise.
34758 * manual/string.texi: Likewise.
34759 * manual/sysinfo.texi: Likewise.
34760 * manual/time.texi: Likewise.
34761
34762 2013-12-27 Carlos O'Donell <carlos@redhat.com>
34763
34764 * po/sl.po: New file.
34765
34766 2013-12-27 Mike Frysinger <vapier@gentoo.org>
34767
34768 * .gitignore: Add core/.gdbinit/.gdb_history.
34769
34770 2013-12-27 Allan McRae <allan@archlinux.org>
34771
34772 [BZ #16369]
34773 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
34774 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
34775
34776 2013-12-24 Brooks Moses <bmoses@google.com>
34777
34778 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
34779 all compilers that claim C++98 compliance, not just GCC.
34780 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
34781 Likewise.
34782
34783 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
34784
34785 * NEWS: Restore accidentally deleted bug-fix entries.
34786
34787 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
34788 Ondřej Bílka <neleai@seznam.cz>
34789
34790 [BZ #15073]
34791 * malloc/malloc.c (_int_free): Perform sanity check only if we
34792 have_lock.
34793
34794 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
34795
34796 [BZ #12986]
34797 * manual/stdio.texi (String Input Conversions): Clarify that character
34798 classes are not supported.
34799
34800 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34801
34802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34803
34804 2013-12-22 Joseph Myers <joseph@codesourcery.com>
34805
34806 [BZ #16337]
34807 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34808 Calculate results for small negative arguments directly rather
34809 than using reflection formula with special underflow handling.
34810
34811 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
34812 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
34813 sysdeps/unix/bsd/bsd4.4/syscalls.list.
34814 (fchflags): Likewise.
34815 (revoke): Likewise.
34816 (setlogin): Likewise.
34817 (sigaltstack): Likewise.
34818 (wait4): Likewise.
34819 (sigblock): Remove.
34820 (sigsetmask): Likewise.
34821 (wait3): Likewise.
34822 (waitpid): Likewise.
34823 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
34824 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
34825 file.
34826 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
34827 * sysdeps/unix/bsd/Makefile: ... here.
34828 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
34829 * sysdeps/unix/bsd/Versions: ... here.
34830 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
34831 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
34832 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
34833 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
34834 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
34835 * sysdeps/unix/bsd/sigblock.c: ... here.
34836 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
34837 * sysdeps/unix/bsd/sigsetmask.c: ... here.
34838 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
34839 * sysdeps/unix/bsd/sigvec.c: ... here.
34840 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
34841 * sysdeps/unix/bsd/tcdrain.c: ... here.
34842 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
34843 * sysdeps/unix/bsd/tcgetattr.c: ... here.
34844 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
34845 * sysdeps/unix/bsd/tcsetattr.c: ... here.
34846 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
34847 * sysdeps/unix/bsd/wait.c: ... here.
34848 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
34849 * sysdeps/unix/bsd/wait3.c: ... here.
34850 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
34851 * sysdeps/unix/bsd/waitpid.c: ... here.
34852
34853 2013-12-21 Joseph Myers <joseph@codesourcery.com>
34854
34855 [BZ #16356]
34856 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
34857 round-to-nearest for [!USE_AS_EXPM1L].
34858 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
34859 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
34860 more tests of exp and exp10. Expect some exp10 tests to miss
34861 exceptions or fail in directed rounding modes.
34862 * math/auto-libm-test-out: Regenerated.
34863 * math/libm-test.inc (exp10_tonearest_test_data): New array.
34864 (exp10_test_tonearest): New function.
34865 (exp10_towardzero_test_data): New array.
34866 (exp10_test_towardzero): New function.
34867 (exp10_downward_test_data): New array.
34868 (exp10_test_downward): New function.
34869 (exp10_upward_test_data): New array.
34870 (exp10_test_upward): New function.
34871 (main): Call the new functions.
34872 * sysdeps/i386/fpu/libm-test-ulps: Update.
34873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34874
34875 2013-12-20 Joseph Myers <joseph@codesourcery.com>
34876
34877 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
34878 asinh, atan, atan2, atanh, cbrt, cos and cosh.
34879 * math/auto-libm-test-out: Regenerated.
34880 * math/libm-test.inc (acosh_test_data): Add more tests.
34881 (atanh_test_data): Likewise.
34882 (ceil_test_data): Likewise.
34883 (copysign_test_data): Likewise.
34884 * sysdeps/i386/fpu/libm-test-ulps: Update.
34885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34886
34887 * timezone/checktab.awk: Update from tzcode 2013i.
34888 * timezone/private.h: Likewise.
34889 * timezone/scheck.c: Likewise.
34890 * timezone/tzfile.h: Likewise.
34891 * timezone/tzselect.ksh: Likewise.
34892 * timezone/zdump.c: Likewise.
34893 * timezone/zic.c: Likewise.
34894
34895 * math/auto-libm-test-in: Add tests of cpow.
34896 * math/auto-libm-test-out: Regenerated.
34897 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
34898 * math/gen-auto-libm-tests.c (func_calc_method): Add value
34899 mpc_cc_c.
34900 (func_calc_desc): Add mpc_cc_c union field.
34901 (test_functions): Add cpow.
34902 (special_fill_2pi): New function.
34903 (special_real_inputs): Add 2pi.
34904 (calc_generic_results): Handle mpc_cc_c.
34905 * sysdeps/i386/fpu/libm-test-ulps: Update.
34906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34907
34908 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
34909 csqrt, ctan and ctanh.
34910 * math/auto-libm-test-out: Regenerated.
34911 * math/libm-test.inc (TEST_COND_x86_64): New macro.
34912 (TEST_COND_x86): Likewise.
34913 (ccos_test_data): Use AUTO_TESTS_c_c.
34914 (ccosh_test_data): Likewise.
34915 (cexp_test_data): Likewise.
34916 (clog_test_data): Likewise.
34917 (csqrt_test_data): Likewise.
34918 (ctan_test_data): Likewise.
34919 (ctan_tonearest_test_data): Likewise.
34920 (ctan_towardzero_test_data): Likewise.
34921 (ctan_downward_test_data): Likewise.
34922 (ctan_upward_test_data): Likewise.
34923 (ctanh_test_data): Likewise.
34924 (ctanh_tonearest_test_data): Likewise.
34925 (ctanh_towardzero_test_data): Likewise.
34926 (ctanh_downward_test_data): Likewise.
34927 (ctanh_upward_test_data): Likewise.
34928 * math/gen-auto-libm-tests.c (func_calc_method): Add value
34929 mpc_c_c.
34930 (func_calc_desc): Add mpc_c_c union field.
34931 (FUNC_mpc_c_c): New macro.
34932 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
34933 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
34934 ctanh.
34935 (special_fill_min_subnorm_p120): New function.
34936 (special_real_inputs): Add min_subnorm_p120.
34937 (calc_generic_results): Handle mpc_c_c.
34938 * sysdeps/i386/fpu/libm-test-ulps: Update.
34939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34940
34941 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34942
34943 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
34944 (do_sin_slow): New functions.
34945 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
34946 (cslow2, csloww1, csloww2): Use the new functions.
34947
34948 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
34949 Use M to change sign of result instead of X. Assume X is
34950 positive.
34951 (csloww1): Likewise.
34952 (__sin): Adjust.
34953 (__cos): Adjust.
34954
34955 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
34956 arguments A and DA.
34957 (__sin): Adjust.
34958 (__cos): Likewise.
34959
34960 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
34961 (__cos): Likewise.
34962 (sloww1): Don't adjust sign of DX.
34963 (csloww1): Likewise.
34964 (sloww2): Use X directly and don't adjust sign of DX.
34965 (csloww2): Likewise.
34966
34967 2013-12-19 Joseph Myers <joseph@codesourcery.com>
34968
34969 * math/auto-libm-test-in: Add tests of cabs and carg.
34970 * math/auto-libm-test-out: Regenerated.
34971 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
34972 (carg_test_data): Likewise.
34973 * math/gen-auto-libm-tests.c (func_calc_method): Add value
34974 mpc_c_f.
34975 (func_calc_desc): Add mpc_c_f union field.
34976 (test_functions): Add cabs and carg.
34977 (calc_generic_results): Handle mpc_c_f.
34978
34979 * sysdeps/powerpc/powerpc32/libgcc-compat.S
34980 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
34981 as a macro and a compat symbol.
34982 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34983 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34984 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34985 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34986 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
34987 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
34988 not use .hidden.
34989 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
34990 Likewise.
34991 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
34992 Likewise.
34993 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
34994 Likewise.
34995 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
34996 Likewise.
34997 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
34998 Likewise.
34999 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
35000 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
35001 from GLIBC_2.3.2.
35002
35003 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35004
35005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35006
35007 2013-12-19 Joseph Myers <joseph@codesourcery.com>
35008
35009 * manual/texinfo.tex: Update to version 2013-11-26.10 with
35010 trailing whitespace removed.
35011 * scripts/config.guess: Update to version 2013-11-29.
35012 * scripts/config.sub: Update to version 2013-10-01.
35013
35014 * math/auto-libm-test-in: Add tests of sincos.
35015 * math/auto-libm-test-out: Regenerated.
35016 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
35017 * math/gen-auto-libm-tests.c (func_calc_method): Add value
35018 mpfr_f_11.
35019 (func_calc_desc): Add mpfr_f_11 union field.
35020 (test_functions): Add sincos.
35021 (calc_generic_results): Handle mpfr_f_11.
35022 * sysdeps/i386/fpu/libm-test-ulps: Update.
35023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35024
35025 2013-12-19 Andreas Schwab <schwab@suse.de>
35026
35027 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
35028 CALL_MCOUNT.
35029 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35030 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
35031 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
35032
35033 2013-12-19 Joseph Myers <joseph@codesourcery.com>
35034
35035 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
35036 * sysdeps/i386/fpu/libm-test-ulps: Update.
35037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35038
35039 [BZ #16293]
35040 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
35041 round-to-nearest mode when using frndint.
35042 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
35043 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35044 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35045 Likewise.
35046 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
35047 sinh test to fail.
35048 * math/auto-libm-test-out: Regenerated.
35049 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
35050 (TEST_COND_x86): Likewise.
35051 (expm1_tonearest_test_data): New array.
35052 (expm1_test_tonearest): New function.
35053 (expm1_towardzero_test_data): New array.
35054 (expm1_test_towardzero): New function.
35055 (expm1_downward_test_data): New array.
35056 (expm1_test_downward): New function.
35057 (expm1_upward_test_data): New array.
35058 (expm1_test_upward): New function.
35059 (main): Run the new test functions.
35060 * sysdeps/i386/fpu/libm-test-ulps: Update.
35061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35062
35063 * include/features.h: Update comment documenting feature test
35064 macros. Mention _DEFAULT_SOURCE in comment.
35065 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
35066 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
35067 _BSD_SOURCE and _SVID_SOURCE.
35068 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
35069 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
35070 !_SVID_SOURCE]: Likewise.
35071 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35072 (__USE_POSIX_IMPLICITLY): Define.
35073 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35074 (_POSIX_SOURCE): Undefine and redefine.
35075 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35076 (_POSIX_C_SOURCE): Likewise.
35077 * manual/creature.texi (_DEFAULT_SOURCE): Document.
35078 (Feature Test Macros): Update documentation of default features.
35079
35080 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35081
35082 * benchtests/Makefile: Add bench-strtok.
35083 * benchtests/bench-strtok.c: New file: strtok benchtest.
35084
35085 2013-12-19 Allan McRae <allan@archlinux.org>
35086
35087 * manual/install.texi: Suppress menu for plain text output.
35088 * INSTALL: Regenerated.
35089
35090 2013-12-18 Brooks Moses <bmoses@google.com>
35091
35092 [BZ #15846]
35093 * misc/getauxval.c: Include errno.h.
35094 (__getauxval): Set errno to ENOENT if the requested type is not
35095 found.
35096 * misc/sys/auxv.h (getauxval): Document that it may set errno;
35097 don't declare with __attribute_const__.
35098 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
35099 * manual/startup.texi: Document that getauxval sets errno.
35100
35101 2013-12-18 Joseph Myers <joseph@codesourcery.com>
35102
35103 * math/auto-libm-test-in: Add tests of jn and yn.
35104 * math/auto-libm-test-out: Regenerated.
35105 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
35106 (yn_test_data): Likewise.
35107 * math/gen-auto-libm-tests.c (func_calc_method): Add value
35108 mpfr_if_f.
35109 (func_calc_desc): Add mpfr_if_f union field.
35110 (FUNC_mpfr_if_f): New macro.
35111 (test_functions): Add jn and yn.
35112 (calc_generic_results): Assert type of second input for
35113 mpfr_ff_f. Handle mpfr_if_f.
35114 (output_for_one_input_case): Disable all checking for arguments
35115 fitting floating-point types in case of an integer argument.
35116 * sysdeps/i386/fpu/libm-test-ulps: Update.
35117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35118
35119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35120 Don't expect fegetround reference in libm.so.
35121
35122 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35123
35124 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
35125 $(config-cflags-nofma).
35126
35127 2013-12-18 Joseph Myers <joseph@codesourcery.com>
35128
35129 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
35130 * math/auto-libm-test-out: Regenerated.
35131
35132 [BZ #16338]
35133 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
35134 to determine exponent and adjust argument to have exponent of -1.
35135 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
35136 log2.
35137 * math/auto-libm-test-out: Regenerated.
35138 * sysdeps/i386/fpu/libm-test-ulps: Update.
35139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35140
35141 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
35142
35143 * manual/probes.texi: Remove cases when per-thread arenas are
35144 disabled.
35145
35146 2013-12-18 Andreas Schwab <schwab@suse.de>
35147
35148 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
35149 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
35150 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
35151 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
35152 * sysdeps/i386/i686/multiarch/Makefile: Update.
35153 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
35154
35155 2013-12-17 Joseph Myers <joseph@codesourcery.com>
35156
35157 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
35158 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
35159
35160 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
35161
35162 [BZ #15968]
35163 Support TZ transition times < 00:00:00.
35164 This is needed for version-3 tz-format files; it supports time
35165 stamps past 2037 for America/Godthab (the only entry in the tz
35166 database for which this change is relevant).
35167 * manual/time.texi (TZ Variable): Document transition times
35168 from -167:59:59 through -00:00:01.
35169 * time/tzset.c (tz_rule): Time of day is now signed.
35170 (__tzset_parse_tz): Parse negative time of day.
35171
35172 Document TZ transition times >= 25:00:00.
35173 * manual/time.texi (TZ Variable): Document transition times from
35174 25:00:00 through 167:59:59. These are already supported, and this
35175 support will help with version-3 tz-format files.
35176
35177 * manual/time.texi (TZ Variable): Modernize North America example
35178 to reflect current (i.e., 2007-and-later) daylight saving rules.
35179
35180 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
35181
35182 2013-12-17 Joseph Myers <joseph@codesourcery.com>
35183
35184 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
35185 * sysdeps/unix/bsd/bits/stat.h: Likewise.
35186 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
35187 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35188 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
35189 * sysdeps/unix/bsd/bsdstat.h: Likewise.
35190 * sysdeps/unix/bsd/clock.c: Likewise.
35191 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
35192 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
35193 * sysdeps/unix/bsd/init-posix.c: Likewise.
35194 * sysdeps/unix/bsd/poll.c: Likewise.
35195 * sysdeps/unix/bsd/ptsname.c: Likewise.
35196 * sysdeps/unix/bsd/seekdir.c: Likewise.
35197 * sysdeps/unix/bsd/setegid.c: Likewise.
35198 * sysdeps/unix/bsd/seteuid.c: Likewise.
35199 * sysdeps/unix/bsd/setgid.c: Likewise.
35200 * sysdeps/unix/bsd/setrgid.c: Likewise.
35201 * sysdeps/unix/bsd/setruid.c: Likewise.
35202 * sysdeps/unix/bsd/setsid.c: Likewise.
35203 * sysdeps/unix/bsd/setuid.c: Likewise.
35204 * sysdeps/unix/bsd/sigaction.c: Likewise.
35205 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
35206 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
35207 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
35208 * sysdeps/unix/bsd/telldir.c: Likewise.
35209 * sysdeps/unix/bsd/times.c: Likewise.
35210 * sysdeps/unix/bsd/usleep.c: Likewise.
35211
35212 * misc/Makefile (install-lib): Remove libbsd-compat.a.
35213 ($(objpfx)libbsd-compat.a): Remove rule.
35214
35215 * include/features.h (__FAVOR_BSD): Do not define.
35216 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
35217 features conflicting with POSIX.
35218 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
35219 (_BSD_SOURCE): Remove description of not being a subset of other
35220 feature test macros.
35221 * manual/job.texi (getpgrp): Do not document BSD version.
35222 (getpgid): Do not document by reference to BSD getpgrp.
35223 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
35224 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
35225 * signal/signal.h [__FAVOR_BSD]: Likewise.
35226 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
35227 instead of making contents conditional on [__FAVOR_BSD].
35228 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
35229
35230 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35231
35232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35233
35234 2013-12-17 Joseph Myers <joseph@codesourcery.com>
35235
35236 [BZ #16314]
35237 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
35238 values below 2**-450, not 2**-500.
35239 * math/auto-libm-test-in: Don't allow spurious underflow from
35240 hypot.
35241 * math/auto-libm-test-out: Regenerated.
35242
35243 [BZ #16316]
35244 [BZ #16330]
35245 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
35246 values of ha and hb and sort them after adjusting subnormal
35247 arguments.
35248 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35249 Likewise.
35250 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
35251 values of ea and eb and sort them after adjusting subnormal
35252 arguments.
35253 * math/auto-libm-test-in: Do not expect some hypot tests of
35254 subnormals to fail. Add more hypot tests.
35255 * math/auto-libm-test-out: Regenerated.
35256
35257 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35258
35259 [BZ #13304]
35260 * sysdeps/sh/s_fma.c: New file.
35261 * sysdeps/sh/s_fmaf.c: New file.
35262 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
35263 version.
35264 * sysdeps/sh/Implies: Add sh/soft-fp.
35265
35266 2013-12-16 Roland McGrath <roland@hack.frob.com>
35267
35268 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
35269 level of indirection to members `objname', `errstring', `malloced'.
35270 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
35271 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
35272 it as the __longjmp argument (just pass 1 instead).
35273 (_dl_catch_error): Initialize C with argument pointers and address of
35274 volatile local ERRCODE rather than copying values out of C at return.
35275
35276 2013-12-16 Joseph Myers <joseph@codesourcery.com>
35277
35278 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
35279 * math/auto-libm-test-out: Regenerated.
35280 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
35281 (hypot_test_data): Likewise.
35282 (pow_test_data): Likewise.
35283 (pow_tonearest_test_data): Likewise.
35284 * math/gen-auto-libm-tests.c (func_calc_method): Add value
35285 mpfr_ff_f.
35286 (func_calc_desc): Add mpfr_ff_f union field.
35287 (FUNC_mpfr_ff_f): New macro.
35288 (test_functions): Add atan2, hypot and pow.
35289 (special_fill_min): New function.
35290 (special_fill_minus_min): Likewise.
35291 (special_fill_min_subnorm): Likewise.
35292 (special_fill_minus_min_subnorm): Likewise.
35293 (special_real_inputs): Add min, -min, min_subnorm and
35294 -min_subnorm.
35295 (calc_generic_results): Handle mpfr_ff_f.
35296 * sysdeps/i386/fpu/libm-test-ulps: Update.
35297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35298
35299 2013-12-16 Will Newton <will.newton@linaro.org>
35300
35301 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
35302 (Aligned Memory Blocks): Add documentation for aligned_alloc
35303 and suggest it as an alternative to posix_memalign.
35304 (Hooks for Malloc): Document __memalign_hook is also called
35305 for aligned_alloc. (Summary of Malloc): Add summary for
35306 aligned alloc. Document __memalign_hook is also called
35307 for aligned_alloc.
35308
35309 2013-12-16 Will Newton <will.newton@linaro.org>
35310
35311 * manual/memory.texi (Malloc Examples): Clarify default
35312 alignment documentation. Suggest posix_memalign rather
35313 than memalign or valloc.
35314 (Aligned Memory Blocks): Remove suggestion to use memalign
35315 or valloc. Remove obsolete comment about BSD.
35316 Document memalign errno values and mark the function obsolete.
35317 Document posix_memalign returned error codes. Mark valloc
35318 as obsolete. (Hooks for Malloc): __memalign_hook is also
35319 called for posix_memalign and valloc.
35320 (Summary of Malloc): Add posix_memalign to function summary.
35321 __memalign_hook is also called for posix_memalign and valloc.
35322
35323 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35324
35325 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
35326 TAYLOR_SIN.
35327 (__sin): Adjust.
35328 (__cos): Likewise.
35329 (sloww): Use mynumber union. Expand ternary operator into
35330 if-else statements.
35331 (cslow): use mynumber union.
35332
35333 2013-12-16 Allan McRae <allan@archlinux.org>
35334
35335 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
35336 * configure: Regenerated.
35337
35338 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
35339
35340 [BZ #14120]
35341 * configure.ac: Added --enable-maintainer-mode. Check for
35342 autoconf when enabled.
35343 * configure: Regenerated.
35344
35345 * nscd/nscd.service: New file.
35346 * nscd/nscd.tmpfiles: New file.
35347
35348 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
35349
35350 [BZ #12100]
35351 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
35352 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
35353 * sysdeps/x86_64/multiarch/strstr.c: ... here.
35354 (strstr): Add __strstr_sse2_unaligned ifunc.
35355 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
35356 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
35357 (strcasestr): Remove __strcasestr_sse42 ifunc.
35358 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
35359 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35360 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
35361
35362 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35363
35364 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
35365 * sysdeps/sh/bits/fenv.h: ... here.
35366 * sysdeps/sh/sh4/fpu/bits: Remove directory.
35367
35368 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35369
35370 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
35371
35372 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
35373 hypotf multiarch implementations.
35374 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
35375 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
35376 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
35377 multiarch hypot for PPC64.
35378 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
35379 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
35380 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
35381 multiarch hypotf for PPC64.
35382
35383 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
35384 modff multiarch implementations.
35385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
35386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
35387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
35388 multiarch modf for PPC64.
35389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
35390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
35391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
35392 multiarch modff for PPC64.
35393
35394 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
35395 and logl multiarch implementations.
35396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
35397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
35398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
35399 multiarch logb for PPC64.
35400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
35401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
35402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
35403 multiarch logb for PPC64.
35404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
35405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
35406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
35407 multiarch logb for PPC64.
35408
35409 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
35410 isinff multiarch implementation.
35411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
35412 file.
35413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
35414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
35415 multiarch isinf for PPC64.
35416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
35417 file.
35418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
35419 multiarch isinff for PPC64.
35420
35421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
35422 finitef multiarch implementation.
35423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
35424 file.
35425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
35426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
35427 multiarch finite for PPC64.
35428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
35429 file.
35430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
35431 multiarch finitef for PPC64.
35432
35433 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
35434 lrint multiarch implementation.
35435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
35436 file.
35437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
35438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
35439 multiarch llrint for PPC64.
35440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
35441 multiarch lrint for PPC64.
35442
35443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
35444 copysignf multiarch implementation.
35445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
35446 file.
35447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
35448 file.
35449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
35450 multiarch copysign for PPC64.
35451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
35452 multiarch copysignf for PPC64.
35453
35454 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
35455 multiarch implementation.
35456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
35457 file.
35458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
35459 file.
35460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
35461 file.
35462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
35463 file.
35464 multiarch llround for PPC64.
35465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
35466 multiarch trunc for PPC64.
35467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
35468 multiarch truncf for PPC64.
35469
35470 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
35471 multiarch implementation.
35472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
35473 file.
35474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
35475 file.
35476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
35477 file.
35478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
35479 file.
35480 multiarch llround for PPC64.
35481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
35482 multiarch round for PPC64.
35483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
35484 multiarch roundf for PPC64.
35485
35486 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
35487 multiarch implementation.
35488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
35489 file.
35490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
35491 file.
35492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
35493 file.
35494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
35495 file.
35496 multiarch llround for PPC64.
35497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
35498 multiarch floor for PPC64.
35499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
35500 multiarch floorf for PPC64.
35501
35502 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
35503 multiarch implementation.
35504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
35505 file.
35506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
35507 file.
35508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
35509 file.
35510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
35511 file.
35512 multiarch llround for PPC64.
35513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
35514 multiarch ceil for PPC64.
35515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
35516 multiarch ceilf for PPC64.
35517
35518 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
35519 multiarch implementation.
35520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
35521 file.
35522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
35523 file.
35524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
35525 file.
35526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
35527 multiarch llround for PPC64.
35528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
35529 multiarch lround for PPC64.
35530
35531 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
35532 multiarch implementation.
35533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
35534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
35535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
35536 file.
35537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
35538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
35539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
35540 multiarch isnan for PPC64.
35541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
35542 multiarch isnanf for PPC64.
35543
35544 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
35545 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
35546 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
35547 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
35548 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
35549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
35550
35551 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
35552 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35553 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35554 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35555
35556 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
35557 multiarch implementations.
35558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35559 (__libc_ifunc_impl_list): Likewise.
35560 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
35561 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
35562 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
35563 multiarch stpcpy for PPC64.
35564
35565 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
35566 multiarch implementations.
35567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35568 (__libc_ifunc_impl_list): Likewise.
35569 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
35570 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
35571 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
35572 multiarch strcpy for PPC64.
35573
35574 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
35575 redefine function name.
35576 (_wordcopy_fwd_dest_aligned): Likewise.
35577 (_wordcopy_bwd_aligned): Likewise.
35578 (_wordcopy_bwd_dest_aligned): Likewise.
35579 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
35580 multiarch implementations.
35581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35582 (__libc_ifunc_impl_list): Likewise.
35583 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
35584 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
35585 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
35586 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
35587 multiarch wcscpy for PPC64.
35588
35589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
35590 multiarch implementations.
35591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35592 (__libc_ifunc_impl_list): Likewise.
35593 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
35594 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
35595 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
35596 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
35597 multiarch wcscpy for PPC64.
35598
35599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
35600 multiarch implementations.
35601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35602 (__libc_ifunc_impl_list): Likewise.
35603 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
35604 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
35605 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
35606 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
35607 multiarch wcsrchr for PPC64.
35608
35609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
35610 multiarch implementations.
35611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35612 (__libc_ifunc_impl_list): Likewise.
35613 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
35614 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
35615 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
35616 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
35617 multiarch wcschr for PPC64.
35618
35619 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
35620 multiarch implementations.
35621 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35622 (__libc_ifunc_impl_list): Likewise.
35623 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
35624 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
35625 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
35626 multiarch strchrnul for PPC64.
35627
35628 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
35629 implementations.
35630 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35631 (__libc_ifunc_impl_list): Likewise.
35632 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
35633 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
35634 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
35635 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
35636 strchr for PPC64.
35637
35638 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
35639 implementations.
35640 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35641 (__libc_ifunc_impl_list): Likewise.
35642 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
35643 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
35644 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
35645 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
35646 strncmp for PPC64.
35647
35648 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
35649 multiarch implementations.
35650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35651 (__libc_ifunc_impl_list): Likewise.
35652 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
35653 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
35654 strncasecmp for PPC64.
35655 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
35656 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
35657 multiarch strncasecmp_l for PPC64.
35658
35659 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
35660 multiarch implementations.
35661 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35662 (__libc_ifunc_impl_list): Likewise.
35663 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
35664 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
35665 multiarch strcasecmp for PPC64.
35666 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
35667 file.
35668 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
35669 multiarch strcasecmp_l for PPC64.
35670
35671 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
35672 implementations.
35673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35674 (__libc_ifunc_impl_list): Likewise.
35675 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
35676 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
35677 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
35678 strnlen for PPC64.
35679
35680 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
35681 implementations.
35682 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35683 (__libc_ifunc_impl_list): Likewise.
35684 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
35685 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
35686 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
35687 strlen for PPC64.
35688
35689 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
35690 implementations.
35691 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35692 (__libc_ifunc_impl_list): Likewise.
35693 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
35694 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
35695 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
35696 rawmemrchr for PPC64.
35697
35698 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
35699 implementation.
35700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35701 (__libc_ifunc_impl_list): Likewise.
35702 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
35703 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
35704 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
35705 memrchr for PPC64.
35706
35707 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
35708 implementation.
35709 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35710 (__libc_ifunc_impl_list): Likewise.
35711 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
35712 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
35713 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
35714 memchr for PPC64.
35715
35716 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
35717 implementation.
35718 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35719 (__libc_ifunc_impl_list): Likewise.
35720 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
35721 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
35722 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
35723 mempcpy for PPC64.
35724
35725 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
35726 avoid cretion of __bzero symbol.
35727 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
35728 Likewise.
35729 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
35730 Likewise.
35731 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
35732 Likewise.
35733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
35734 multiarch implementations.
35735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35736 (__libc_ifunc_impl_list): Likewise.
35737 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
35738 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
35739 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
35740 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
35741 bzero for PPC32.
35742 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
35743 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
35744 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
35745 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
35746 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
35747 memset for PPC64.
35748 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
35749
35750 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
35751 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
35752 implementations.
35753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35754 (__libc_ifunc_impl_list): Likewise.
35755 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
35756 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
35757 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
35758 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
35759 memcmp for PPC64.
35760
35761 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
35762 multiarch for POWER/PPC64.
35763 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
35764 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
35765 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
35766 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
35767 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
35768 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
35769 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
35770 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
35771 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
35772 memcpy for PPC64.
35773
35774 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
35775 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
35776 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
35777 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
35778 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
35779 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
35780 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
35781 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
35782 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
35783 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
35784 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
35785 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
35786 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
35787 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
35788 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
35789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
35790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
35791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
35792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
35793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
35794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
35795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
35796
35797 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35798
35799 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
35800
35801 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35802
35803 * benchtests/Makefile (bench): Add exp2 and log2.
35804 (LDLIBS-bench-exp2): Add -lm.
35805 (LDLIBS-bench-log2): Likewise.
35806 * benchtests/exp2-inputs: New inputs file.
35807 * benchtests/log2-inputs: New inputs file.
35808 * benchtests/log-inputs: Add new inputs.
35809 * benchtests/tan-inputs: Likewise.
35810
35811 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35812
35813 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
35814 definition...
35815 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
35816 (csloww2): ... from here.
35817
35818 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
35819 instead of structures.
35820 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
35821 (POLYNOMIAL): Likewise.
35822 (TAYLOR_SLOW): Likewise.
35823 (__sin): Likewise.
35824 (__cos): Likewise.
35825 (slow1): Likewise.
35826 (slow2): Likewise.
35827 (sloww): Likewise.
35828 (sloww1); Likewise.
35829 (sloww2): Likewise.
35830 (bsloww1): Likewise.
35831 (bsloww2): Likewise.
35832 (cslow2): Likewise.
35833 (csloww): Likewise.
35834 (csloww1): Likewise.
35835 (csloww2): Likewise.
35836
35837 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
35838
35839 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
35840 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
35841 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
35842 * malloc/hooks.c (realloc_check): Likewise.
35843
35844 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
35845 * malloc/arena.c: Remove PER_THREAD conditional.
35846 [!PER_THREAD]: Remove code.
35847 (ptmalloc_unlock_all2): Likewise.
35848 (ptmalloc_init): Likewise.
35849 (_int_new_arena): Likewise.
35850 (arena_get2): Likewise.
35851 * malloc/hooks.c (__malloc_get_state): Likewise.
35852 (__malloc_set_state): Likewise.
35853 * malloc/malloc.c: Likewise.
35854 (struct malloc_state): Likewise.
35855 (struct malloc_par): Likewise.
35856 (__libc_realloc): Likewise.
35857 (__libc_mallopt): Likewise.
35858
35859 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35860
35861 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
35862
35863 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
35864
35865 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
35866 macro to a function. Check for zero perturb_byte.
35867 (_int_malloc, _int_free): Remove zero perturb_byte checks.
35868
35869 * malloc/malloc.c: (force_reg): Remove.
35870 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
35871 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
35872 force_reg by atomic_forced_read.
35873 * malloc/arena.c (ptmalloc_init): Likewise.
35874 * malloc/hooks.c (top_check): Likewise.
35875
35876 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35877
35878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35879
35880 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
35881
35882 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35883
35884 2013-12-08 Joseph Myers <joseph@codesourcery.com>
35885
35886 * math/auto-libm-test-in: Add tests of lgamma.
35887 * math/auto-libm-test-out: Regenerated.
35888 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
35889 (M_LOG_2_SQRT_PIl): Likewise.
35890 (lgamma_test_data): Use AUTO_TESTS_f_f1.
35891 * math/gen-auto-libm-tests.c (func_calc_method): Add value
35892 mpfr_f_f1.
35893 (func_calc_desc): Add mpfr_f_f1 union field.
35894 (ARGS1): New macro.
35895 (ARGS2): Likewise.
35896 (ARGS3): Likewise.
35897 (ARGS4): Likewise.
35898 (RET1): Likewise.
35899 (RET2): Likewise.
35900 (CALC): Likewise.
35901 (FUNC): Likewise.
35902 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
35903 (test_functions): Add lgamma.
35904 (calc_generic_results): Handle mpfr_f_f1.
35905 * sysdeps/i386/fpu/libm-test-ulps: Update.
35906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35907
35908 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35909
35910 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
35911 __mpn_add_n for PowerPC64/POWER7.
35912 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
35913 __mpn_sub_n for PowerPC64/POWER7.
35914
35915 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
35916 __mpn_addmul_1 for PowerPC64.
35917 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
35918 __mpn_submul_1 for PowerPC64.
35919 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
35920 for PowerPC64.
35921 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
35922 for PowerPC64.
35923
35924 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
35925
35926 [BZ #15089]
35927 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
35928
35929 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35930
35931 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
35932
35933 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
35934 add multiarch folders.
35935 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
35936 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
35937 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
35938 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
35939 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
35940 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
35941 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
35942 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
35943 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
35944 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
35945 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
35946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
35947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
35948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
35949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
35950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
35951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
35952
35953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35954 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
35955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
35956 New file.
35957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
35958 New file.
35959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
35960 multiarch __ieee754_hypot for PowerPC32.
35961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
35962 New file.
35963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
35964 New file.
35965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
35966 multiarch __ieee754_hypotf for PowerPC32.
35967
35968 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
35969 long_double_symbol only if __logbl is defined.
35970 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
35971 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
35972 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
35973 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
35974 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
35975 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
35976 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
35977 path for implementation.
35978 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
35979 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
35980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
35981 logb, and logbl multiarch implementations for PowerPC32.
35982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
35983 file.
35984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
35985 file.
35986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
35987 multiarch logb for PowerPC32.
35988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
35989 file.
35990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
35991 file.
35992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
35993 multiarch logbf for PowerPC32.
35994 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
35995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
35996 file.
35997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
35998 multiarch logbl implementation for PowerPC32.
35999
36000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
36001 and modff multiarch implementations.
36002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
36003 New file.
36004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
36005 New file.
36006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
36007 multiarch modf for PowerPC32.
36008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
36009 New file.
36010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
36011 New file.
36012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
36013 multiarch modff for PowerPC32.
36014
36015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
36016 and lrintf multiarch implementations.
36017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
36018 New file.
36019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
36020 New file.
36021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
36022 multiarch lrint for PowerPC32.
36023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
36024 file: multiarch lrintf for PowerPC32.
36025
36026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
36027 and lroundf multiarch implementations.
36028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
36029 New file.
36030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
36031 New file.
36032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
36033 New file.
36034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
36035 multiarch lround for PowerPC32.
36036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
36037 file: multiarch lroundf for PowerPC32.
36038
36039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36040 copysign and copysignf multiarch implementations.
36041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
36042 New file.
36043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
36044 New file.
36045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
36046 file: multiarch copysign for PowerPC32.
36047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
36048 file: multiarch copysignf for PowerPC32.
36049
36050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
36051 and truncf multiarch implementations.
36052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
36053 New file.
36054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
36055 file.
36056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
36057 multiarch trunc for PowerPC32.
36058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
36059 New file.
36060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
36061 New file.
36062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
36063 multiarch truncf for PowerPC32.
36064
36065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
36066 and roundf multiarch implementations.
36067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
36068 New file.
36069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
36070 file.
36071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
36072 multiarch round for PowerPC32.
36073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
36074 New file.
36075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
36076 New file.
36077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
36078 multiarch roundf for PowerPC32.
36079
36080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
36081 and floorf multiarch implementations.
36082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
36083 New file.
36084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
36085 file.
36086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
36087 multiarch floor for PowerPC32.
36088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
36089 New file.
36090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
36091 New file.
36092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
36093 multiarch floorf for PowerPC32.
36094
36095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
36096 and ceilf multiarch implementations.
36097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
36098 New file.
36099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
36100 file.
36101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
36102 multiarch ceil for PowerPC32.
36103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
36104 New file.
36105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
36106 file.
36107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
36108 multiarch ceilf for PowerPC32.
36109
36110 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
36111 is defined.
36112 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
36113 FINITEF is defined.
36114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
36115 and finitef multiarch implementations.
36116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
36117 New file.
36118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
36119 file.
36120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
36121 multiarch finite for PowerPC32.
36122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
36123 New file.
36124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
36125 file: multiarch finitef for PowerPC32.
36126
36127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
36128 and isinff multiarch implementations.
36129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
36130 file.
36131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
36132 file.
36133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
36134 multiarch isinf for PowerPC32.
36135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
36136 New file.
36137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
36138 multiarch isinff for PowerPC32.
36139
36140 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
36141 alias when __isnan is defined.
36142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
36143 and isnanf multiarch implementations.
36144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
36145 file.
36146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
36147 file.
36148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
36149 file.
36150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
36151 file.
36152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
36153 multiarch isnan for PowerPC32.
36154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
36155 New file.
36156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
36157 New file.
36158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
36159 multiarch isnanf for PowerPC32.
36160
36161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
36162 and sqrtf multiarch implementations.
36163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
36164 file.
36165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
36166 file.
36167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
36168 multiarch sqrt for PowerPC32.
36169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
36170 file.
36171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
36172 file.
36173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
36174 multiarch sqrtf for PowerPC32.
36175
36176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
36177 and llroundf multiarch implementations.
36178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
36179 New file.
36180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
36181 New file.
36182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
36183 New file.
36184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
36185 file: multiarch llround for PowerPC32.
36186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
36187 file: multiarch llroundf for PowerPC32.
36188
36189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
36190 multiarch PowerPC32 fpu implementations.
36191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
36192 New file.
36193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
36194 New file.
36195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
36196 multiarch llrint for PowerPC32.
36197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
36198 New file.
36199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
36200 New file.
36201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
36202 file.
36203
36204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
36205
36206 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
36207 file.
36208 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
36209 file.
36210 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
36211 file.
36212 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
36213 multiarch wordcopy for PPC32.
36214 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36215 wordcopy objects.
36216 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36217 (__libc_ifunc_impl_list): Likewise.
36218 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
36219 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
36220 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
36221 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
36222 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
36223 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
36224
36225 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
36226 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
36227 file.
36228 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
36229 file.
36230 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
36231 file.
36232 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
36233 multiarch wcscpy for PPC32.
36234 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36235 multiarch objects.
36236 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36237 (__libc_ifunc_impl_list): Likewise.
36238 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
36239 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
36240 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
36241 sysdeps/powerpc/power6/wcscpy.c.
36242
36243 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
36244 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
36245 file.
36246 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
36247 file.
36248 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
36249 file.
36250 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
36251 multiarch wcsrchr for PPC32.
36252 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
36253 multiarch objects.
36254 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36255 (__libc_ifunc_impl_list): Likewise.
36256 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
36257 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
36258 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
36259 sysdeps/powerpc/power6/wcsrchr.c.
36260
36261 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
36262 file.
36263 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
36264 file.
36265 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
36266 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
36267 multiarch wcschr for PPc32.
36268 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
36269 multiarch objects.
36270 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36271 (__libc_ifunc_impl_list): Likewise.
36272 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
36273 * sysdeps/powerpc/power6/wcschr.c: ... to here.
36274 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
36275 sysdeps/powerpc/power6/wcschr.c.
36276
36277 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
36278 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
36279 file.
36280 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
36281 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
36282 file: multiarch strchr for PPC32.
36283 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
36284 multiarch objects.
36285 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36286 (__libc_ifunc_impl_list): Likewise.
36287
36288 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
36289 name.
36290 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
36291 file.
36292 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
36293 file.
36294 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
36295 multiarch strchrnul for PPC32.
36296 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
36297 multiarch objects.
36298 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36299 (__libc_ifunc_impl_list): Likewise.
36300
36301 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
36302 file.
36303 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
36304 multiarch strncasecmp for PPC32.
36305 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
36306 file.
36307 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
36308 multiarch strncasecmp_l for PPC32.
36309 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
36310 strncasecmp multiarch objects.
36311 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36312 (__libc_ifunc_impl_list): Likewise.
36313
36314 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
36315 file.
36316 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
36317 multiarch strncasecmp for PPC32.
36318 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36319 New file.
36320 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
36321 multiarch strcasecmp_l for PPC32.
36322 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
36323 multiarch objects.
36324 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36325 (__libc_ifunc_impl_list): Likewise.
36326
36327 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
36328 file.
36329 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
36330 file.
36331 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
36332 multiarch strncmp for PPC32.
36333 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
36334 multiarch objects.
36335 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36336 (__libc_ifunc_impl_list): Likewise.
36337
36338 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
36339 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
36340 file.
36341 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
36342 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
36343 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
36344 multiarch objects.
36345 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36346 (__libc_ifunc_impl_list): Likewise.
36347
36348 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
36349 file.
36350 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
36351 file.
36352 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
36353 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
36354 multiarch objects.
36355 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36356 (__libc_ifunc_impl_list): Likewise.
36357
36358 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
36359 file.
36360 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
36361 file.
36362 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
36363 multiarch rawmemchr for PPC32.
36364 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
36365 multiarch objects.
36366 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36367 (__libc_ifunc_impl_list): Likewise.
36368
36369 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
36370 file.
36371 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
36372 file.
36373 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
36374 file: memrchr multiarch for PPC32.
36375 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
36376 multiarch objects.
36377 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36378 (__libc_ifunc_impl_list): Likewise.
36379
36380 * string/memchr.c (__memchr): Using macro to redefine symbol name.
36381 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
36382 file.
36383 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
36384 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
36385 multiarch memchr for PPC32.
36386 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
36387 multiarch objects.
36388 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36389 (__libc_ifunc_impl_list): Likewise.
36390
36391 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
36392 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
36393 file.
36394 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
36395 file.
36396 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
36397 file: multiarch mempcpy for PPC32.
36398 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
36399 multiarch objects.
36400 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36401 (__libc_ifunc_impl_list): Likewise.
36402
36403 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
36404 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
36405 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
36406 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
36407 multiarch bzero for PPC32.
36408 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
36409 file.
36410 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
36411 file.
36412 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
36413 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
36414 file: multiarch memset for PPC32.
36415 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
36416 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
36417 memset multiarch objects.
36418 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36419 (__libc_ifunc_impl_list): Likewise.
36420
36421 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
36422 file.
36423 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
36424 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
36425 memcmp for PPC32.
36426 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
36427 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
36428 multiarch objects.
36429 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36430 (__libc_ifunc_impl_list): Likewise.
36431
36432 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
36433 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
36434 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
36435 file.
36436 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
36437 file.
36438 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
36439 file.
36440 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
36441 multiarch memcpy for PPC32.
36442 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
36443 multiarch objects.
36444 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36445 (__libc_ifunc_impl_list): Likewise.
36446
36447 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
36448 support multiarch for POWER/PPC32.
36449 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
36450 Likewise.
36451 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
36452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
36453 Implies file to make multiarch folder appers before the fpu and
36454 default folder for power4 configuration.
36455
36456 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36457
36458 * scripts/bench.pl: Append volatile keyword to type.
36459
36460 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36461
36462 * sysdeps/sh/sotruss-lib.c: New file.
36463 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
36464
36465 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36466
36467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36468
36469 2013-12-05 Joseph Myers <joseph@codesourcery.com>
36470
36471 [BZ #6810]
36472 * math/w_tgamma.c: Include <errno.h>.
36473 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
36474 * math/w_tgammaf.c: Include <errno.h>.
36475 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
36476 * math/w_tgammal.c: Include <errno.h>.
36477 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
36478 * math/auto-libm-test-in: Do not allow missing errno on tgamma
36479 underflow. Add more tgamma tests.
36480 * math/auto-libm-test-out: Regenerated.
36481 * sysdeps/i386/fpu/libm-test-ulps: Update.
36482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36483
36484 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
36485 sin, sinh, tan, tanh, tgamma, y0 and y1.
36486 * math/auto-libm-test-out: Regenerated.
36487 * math/libm-test.inc (TEST_COND_x86_64): New macro.
36488 (TEST_COND_x86): Likewise.
36489 (M_E2l): Remove macro.
36490 (M_E3l): Likewise.
36491 (M_2_SQRT_PIl): Likewise.
36492 (M_SQRT_PIl): Likewise.
36493 (M_1_DIV_El): Likewise.
36494 (log_test_data): Use AUTO_TESTS_f_f.
36495 (log10_test_data): Likewise.
36496 (log1p_test_data): Likewise.
36497 (log2_test_data): Likewise.
36498 (sin_test_data): Likewise.
36499 (sin_tonearest_test_data): Likewise.
36500 (sin_towardzero_test_data): Likewise.
36501 (sin_downward_test_data): Likewise.
36502 (sin_upward_test_data): Likewise.
36503 (sinh_test_data): Likewise.
36504 (sinh_tonearest_test_data): Likewise.
36505 (sinh_towardzero_test_data): Likewise.
36506 (sinh_downward_test_data): Likewise.
36507 (sinh_upward_test_data): Likewise.
36508 (tan_test_data): Likewise.
36509 (tan_tonearest_test_data): Likewise.
36510 (tan_towardzero_test_data): Likewise.
36511 (tan_downward_test_data): Likewise.
36512 (tan_upward_test_data): Likewise.
36513 (tanh_test_data): Likewise.
36514 (tgamma_test_data): Likewise.
36515 (y0_test_data): Likewise.
36516 (y1_test_data): Likewise.
36517 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
36518 (special_real_inputs): Add pi/4.
36519 * sysdeps/i386/fpu/libm-test-ulps: Update.
36520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36521
36522 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36523
36524 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
36525 "longjmp_target" static probes.
36526 (__longjmp): Rename to __longjmp_symbol.
36527 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36528 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
36529 on which longjmp to generate.
36530 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36531 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
36532 probe.
36533 (__sigsetjmp): Rename to __sigsetjmp_symbol.
36534 (__sigjmp_save): Rename to __sigjmp_save_symbol.
36535 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36536 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
36537 and __sigjmp_save_symbol based on which sigsetjmp to generated.
36538 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
36540 __longjmp_symbol based on which __longjmp to generate.
36541 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
36542 probe.
36543 (setjmp): Rename to setjmp_symbol.
36544 (__sigsetjmp): Rename to __sigsetjmp_symbol.
36545 (_setjmp): Rename to _setjmp_symbol.
36546 (__sigsetjmp): Rename to __sigsetjmp_symbol.
36547 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
36548 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
36549 which setjmp to generate.
36550 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
36551 "longjmp_target" static probes.
36552
36553 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36554
36555 * benchtests/README: Add note about output arguments.
36556 * benchtests/bench-sincos.c: Remove file.
36557 * benchtests/sincos-inputs: New file.
36558 * scripts/bench.pl: Identify output arguments and define
36559 static variables for them.
36560
36561 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
36562
36563 [BZ #15941]
36564 * Makefile (INSTALL): Add install-plain.texi as the primary
36565 dependency.
36566 * manual/install-plain.texi: New file.
36567 * manual/install.texi: Include node directive only for
36568 non-plaintext output.
36569
36570 2013-12-04 Joseph Myers <joseph@codesourcery.com>
36571
36572 * stdlib/longlong.h: Update from GCC.
36573
36574 [BZ #6807]
36575 [BZ #15901]
36576 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
36577 * math/w_j0f.c (y0f): Likewise.
36578 * math/w_j0l.c (__y0l): Likewise.
36579 * math/w_j1.c (y1): Likewise.
36580 * math/w_j1f.c (y1f): Likewise.
36581 * math/w_j1l.c (__y1l): Likewise.
36582 * math/w_jn.c (yn): Likewise.
36583 * math/w_jnf.c (ynf): Likewise.
36584 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
36585 Bessel function pole errors in _POSIX_ mode. Use NAN as return
36586 value for Bessel function domain errors outside _SVID_ mode.
36587 Adjust sign of return value for yn (negative integer, 0).
36588 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
36589 by zero in return for negative x and set sign appropriately for
36590 negative n.
36591 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
36592 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36593 * math/libm-test.inc (y0_test_data): Add more tests and adjust
36594 expectations in error cases.
36595 (y1_test_data): Likewise.
36596 (yn_test_data): Likewise.
36597 * sysdeps/i386/fpu/libm-test-ulps: Update.
36598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36599
36600 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
36601
36602 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
36603 "64" to "64-v1". Add "64-v2".
36604 (abi-64-options): Rename to ...
36605 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
36606 (abi-64-condition): Rename to ...
36607 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
36608 (abi-64-ld-soname): Rename to ...
36609 (abi-64-v1-ld-soname): ... this.
36610 (abi-64-v2-options): Define.
36611 (abi-64-v2-condition): Likewise.
36612 (abi-64-v2-ld-soname): Likewise.
36613 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
36614 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
36615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
36616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
36617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
36618
36619 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
36620 Alan Modra <amodra@gmail.com>
36621
36622 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
36623 New versions for use with the ELFv2 ABI.
36624 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
36625 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
36626 declaration.
36627 (struct La_ppc64v2_retval): Likewise.
36628 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
36629 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
36630 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
36631 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
36632 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
36633 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36634 Do not save or restore CR.
36635 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
36636 (_dl_profile_resolve): Do no save or restore CR. Support extended
36637 return values for ELFv2 ABI. Fix location of FPR return registers.
36638 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
36639 updated values for _CALL_ELF == 2.
36640 (La_regs, La_retval, int_retval): Likewise.
36641
36642 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
36643
36644 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
36645 (FRAME_MIN_SIZE_PARM): Likewise.
36646 (FRAME_BACKCHAIN): Likewise.
36647 (FRAME_CR_SAVE): Likewise.
36648 (FRAME_LR_SAVE): Likewise.
36649 (FRAME_TOC_SAVE): Likewise.
36650 (FRAME_PARM_SAVE): Likewise.
36651 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
36652 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
36653 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36654 (call_mcount_parm_offset): New macro.
36655 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
36656 (PROF): Use symbolic stack frame offsets.
36657 (TAIL_CALL_SYSCALL_ERROR): Likewise.
36658 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
36659 Redefine in terms of FRAME_MIN_SIZE.
36660 (_dl_runtime_resolve): Use symbolic stack frame offsets.
36661 (_dl_profile_resolve): Likewise. Update comment.
36662 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
36663 symbols stack frame offsets.
36664 (__sigsetjmp): Likewise.
36665 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
36666 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
36667 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
36668 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
36669
36670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
36671 (FRAME_BACKCHAIN): Remove.
36672 (FRAME_CR_SAVE): Likewise.
36673 (FRAME_LR_SAVE): Likewise.
36674 (FRAME_COMPILER_DW): Likewise.
36675 (FRAME_LINKER_DW): Likewise.
36676 (FRAME_TOC_SAVE): Likewise.
36677 (FRAME_PARM_SAVE): Likewise.
36678 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
36679 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
36680 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
36682 (CHECK_SP): Use symbolic stack frame offsets.
36683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
36684 zone" instead of caller's parameter save area for temp storage.
36685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36686 Likewise. Also, use symbolic stack frame offsets.
36687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
36688 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
36689 our own stack frame instead of the caller's.
36690 (__socket): Use symbolic stack frame offsets.
36691
36692 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
36693 Alan Modra <amodra@gmail.com>
36694
36695 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
36696 Define.
36697 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
36698 (PPC64_LOCAL_ENTRY_OFFSET): Define.
36699 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
36700 New function.
36701 (elf_machine_fixup_plt): Call it.
36702 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
36703 reloc arguments.
36704 (elf_machine_rela): Update call to elf_machine_plt_conflict.
36705 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36706 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
36707 r2 before calling target.
36708
36709 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
36710 Alan Modra <amodra@gmail.com>
36711
36712 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
36713 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
36714 versions of macros to support ELFv2 ABI.
36715 (LOCALENTRY): New macro.
36716 (ENTRY, EALIGN): Use it.
36717 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
36718 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
36719 fall through into ENTRY entry point.
36720 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
36721 Only define if _CALL_ELF != 2.
36722
36723 (elf_machine_matches_host): Verify ABI version matches.
36724 (RTLD_START): Use LOCALENTRY.
36725 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
36726 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
36727 (PLT_ENTRY_WORDS): New macro.
36728 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
36729 (elf_machine_runtime_setup): Support ELFv2 ABI.
36730 (elf_machine_fixup_plt): Likewise.
36731 (elf_machine_plt_conflict): Likewise.
36732 (resolve_ifunc): Likewise.
36733 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36734 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36735 Likewise.
36736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
36737 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
36738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36739 (makecontext): Support ELFv2 ABI.
36740 * elf/elf.h (EF_PPC64_ABI): Define.
36741
36742 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
36743
36744 * sysdeps/powerpc/powerpc64/sysdep.h
36745 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
36746 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
36747 (ENTRY) [ASSEMBLER]: ... but instead here ...
36748 (EALIGN) [ASSEMBLER]: ... and here.
36749 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
36750 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
36751 (ENTRY_2) [!ASSEMBLER]: Use it.
36752 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
36753 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
36754 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36755 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
36756 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
36757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
36758 Use PPC64_LOAD_FUNCPTR.
36759
36760 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
36761
36762 2013-12-04 Alan Modra <amodra@gmail.com>
36763
36764 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
36765 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
36766 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
36767 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
36768
36769 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
36770 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
36771 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
36772 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
36773 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
36774 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
36775
36776 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
36777
36778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36779 (__makecontext): Fix incorrect CFI when backtracing out of
36780 context created via makecontext.
36781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
36782 (__setcontext): Fix incorrect CFI during switch to new context.
36783 (__novec_setcontext): Likewise.
36784
36785 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
36786
36787 [BZ #4772]
36788 * time/strptime_l.c (__strptime_internal): Allow modifiers
36789 in strptime.
36790 * time/tst-strptime.c (day_tests): Add testcase.
36791
36792 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36793
36794 * scripts/bench.pl: Skip over blank lines.
36795
36796 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
36797
36798 [BZ #926]
36799 * manual/time.texi (Calendar Time): Clarify what timezone functions
36800 use.
36801
36802 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36803
36804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36805
36806 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
36807
36808 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
36809 implementation.
36810 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
36811 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
36812 * debug/memset_chk.c (__memset_chk): Likewise.
36813 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
36814 * debug/strncpy_chk.c: Likewise.
36815
36816 2013-12-03 Joseph Myers <joseph@codesourcery.com>
36817
36818 [BZ #15268]
36819 [BZ #15425]
36820 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
36821 (__ieee754_exp): For possibly underflowing results, check size of
36822 result and force underflow exception if required.
36823 * math/auto-libm-test-in: Add more tests of exp.
36824 * math/auto-libm-test-out: Regenerated.
36825 * sysdeps/i386/fpu/libm-test-ulps: Update.
36826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36827
36828 [BZ #16283]
36829 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
36830 * math/w_exp2f.c (__exp2f): Likewise.
36831 * math/w_exp2l.c (__exp2l): Likewise.
36832 * math/auto-libm-test-in: Do not allow missing errno on exp2
36833 underflow.
36834 * math/auto-libm-test-out: Regenerated.
36835
36836 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
36837
36838 [BZ #16274]
36839 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
36840 handle filename validation.
36841 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
36842 (do_open): Delete.
36843
36844 2013-12-03 Joseph Myers <joseph@codesourcery.com>
36845
36846 [BZ #6786]
36847 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
36848 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
36849 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
36850 <float.h>.
36851 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
36852 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
36853 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36854 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
36855 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36856 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
36857 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36858 * math/auto-libm-test-in: Don't allow missing errno from erfc.
36859 Add more erfc tests.
36860 * math/auto-libm-test-out: Regenerated.
36861 * sysdeps/i386/fpu/libm-test-ulps: Update.
36862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36863
36864 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
36865 exp2, expm1, j0 and j1.
36866 * math/auto-libm-test-out: Regenerated.
36867 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
36868 (erfc_test_data): Likewise.
36869 (exp_test_data): Likewise.
36870 (exp_tonearest_test_data): Likewise.
36871 (exp_towardzero_test_data): Likewise.
36872 (exp_downward_test_data): Likewise.
36873 (exp_upward_test_data): Likewise.
36874 (exp10_test_data): Likewise.
36875 (exp2_test_data): Likewise.
36876 (expm1_test_data): Likewise.
36877 (j0_test_data): Likewise.
36878 (j1_test_data): Likewise.
36879 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
36880 (input_flag_type): Add flag_xfail_rounding.
36881 (input_flags): Add xfail-rounding.
36882 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
36883 (output_for_one_input_case): Handle flag_xfail_rounding.
36884 * sysdeps/i386/fpu/libm-test-ulps: Update.
36885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36886
36887 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
36888
36889 [BZ #16289]
36890 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
36891 division by 0.
36892
36893 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
36894
36895 [BZ #16195]
36896 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
36897 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
36898 (STAP_PROBE0): New macro.
36899 (STAP_PROBE1): Likewise.
36900 (STAP_PROBE2): Likewise.
36901 (STAP_PROBE3): Likewise.
36902 (STAP_PROBE4): Likewise.
36903
36904 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
36905
36906 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
36907
36908 2013-12-02 Steve Ellcey <sellcey@mips.com>
36909
36910 * benchtests/Makefile (bench): Add sqrt.
36911 (LDLIBS-bench-sqrt): New.
36912 * benchtests/sqrt-input: New.
36913
36914 2013-12-02 Pavel Simerda <psimerda@redhat.com>
36915
36916 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
36917 (GAIH_EAI): Likewise.
36918 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
36919 (gaih_inet): Likewise.
36920 (getaddrinfo): Don't use GAIH_EAI.
36921
36922 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
36923 (struct gaih): Remove definition.
36924
36925 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36926
36927 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
36928 Use HERRNOP directly.
36929
36930 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36931
36932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36933
36934 2013-11-30 Joseph Myers <joseph@codesourcery.com>
36935
36936 * math/gen-auto-libm-tests.c (test_functions): Add more
36937 single-argument functions.
36938 (special_fill_pi_2): New function.
36939 (special_fill_minus_pi_2): Likewise.
36940 (special_fill_pi_6): Likewise.
36941 (special_fill_minus_pi_6): Likewise.
36942 (special_fill_pi_3): Likewise.
36943 (special_fill_2pi_3): Likewise.
36944 (special_fill_e): Likewise.
36945 (special_fill_1_e): Likewise.
36946 (special_fill_e_minus_1): Likewise.
36947 (special_real_inputs): Add more special inputs.
36948 (output_for_one_input_case): Do not require ERANGE on underflow to
36949 zero if round-to-nearest result does not underflow to zero, unless
36950 exact results required.
36951 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
36952 atan, atanh, cbrt, cos and cosh.
36953 * math/auto-libm-test-out: Regenerated.
36954 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
36955 (acos_tonearest_test_data): Likewise.
36956 (acos_towardzero_test_data): Likewise.
36957 (acos_downward_test_data): Likewise.
36958 (acos_upward_test_data): Likewise.
36959 (acosh_test_data): Likewise.
36960 (asin_test_data): Likewise.
36961 (asin_tonearest_test_data): Likewise.
36962 (asin_towardzero_test_data): Likewise.
36963 (asin_upward_test_data): Likewise.
36964 (asinh_test_data): Likewise.
36965 (atan_test_data): Likewise.
36966 (atanh_test_data): Likewise.
36967 (cbrt_test_data): Likewise.
36968 (cos_test_data): Likewise.
36969 (cos_tonearest_test_data): Likewise.
36970 (cos_towardzero_test_data): Likewise.
36971 (cos_downward_test_data): Likewise.
36972 (cos_upward_test_data): Likewise.
36973 (cosh_test_data): Likewise.
36974 (cosh_tonearest_test_data): Likewise.
36975 (cosh_towardzero_test_data): Likewise.
36976 (cosh_downward_test_data): Likewise.
36977 (cosh_upward_test_data): Likewise.
36978 * sysdeps/i386/fpu/libm-test-ulps: Update.
36979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36980
36981 2013-11-29 Joseph Myers <joseph@codesourcery.com>
36982
36983 [BZ #6787]
36984 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
36985 * math/w_exp10f.c (__exp10f): Likewise.
36986 * math/w_exp10l.c (__exp10l): Likewise.
36987 * math/libm-test.inc (exp10_test_data): Add more tests and expect
36988 errno settings in existing tests.
36989
36990 [BZ #14032]
36991 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
36992 precision control set to double precision.
36993 * sysdeps/i386/fpu/w_sqrt.c: New file.
36994 * math/auto-libm-test-in: Add more tests.
36995 * math/auto-libm-test-out: Update.
36996
36997 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
36998 (sqrt_test_tonearest): New function.
36999 (sqrt_towardzero_test_data): New variable.
37000 (sqrt_test_towardzero): New function.
37001 (sqrt_downward_test_data): New variable.
37002 (sqrt_test_downward): New function.
37003 (sqrt_upward_test_data): New variable.
37004 (sqrt_test_upward): New function.
37005 (main): Call the new functions.
37006
37007 * math/gen-auto-libm-tests.c: New file.
37008 * math/auto-libm-test-in: Likewise.
37009 * math/auto-libm-test-out: New generated file.
37010 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
37011 variables.
37012 (%beautify): Add generated representations of zero.
37013 (top level): Set $auto_input and call parse_auto_input.
37014 (beautify): Remove trailing "f" from hex float constants.
37015 (parse_args): Handle XFAIL_TEST.
37016 (convert_condition): New function.
37017 (or_value): Likewise.
37018 (or_cond_value): Likewise.
37019 (generate_testfile): Handle AUTO_TESTS_* lines.
37020 (parse_auto_input): New function.
37021 * math/libm-test.inc (XFAIL_TEST): New macro.
37022 (ERRNO_UNCHANGED): Update value.
37023 (ERRNO_EDOM): Likewise.
37024 (ERRNO_ERANGE): Likewise.
37025 (IGNORE_RESULT): Likewise.
37026 (TEST_COND_flt_32): New macro.
37027 (TEST_COND_dbl_64): Likewise.
37028 (TEST_COND_ldbl_96_intel): Likewise.
37029 (TEST_COND_ldbl_96_m68k): Likewise.
37030 (TEST_COND_ldbl_128): Likewise.
37031 (TEST_COND_ldbl_128ibm): Likewise.
37032 (TEST_COND_long32): Likewise.
37033 (TEST_COND_long64): Likewise.
37034 (TEST_COND_before_rounding): Likewise.
37035 (TEST_COND_after_rounding): Likewise.
37036 (enable_test): Handle XFAIL_TEST flag.
37037 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
37038 with finite results.
37039 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
37040 auto-libm-test-out.
37041
37042 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37043 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37044
37045 [BZ #16214]
37046 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
37047 __tls_get_addr_internal instead of __tls_get_offset in order to
37048 avoid GOT pointer dependency. Make rtld export
37049 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
37050 __tls_get_addr since we are a __tls_get_offset platform.
37051 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
37052 GOT pointer being set up before.
37053 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
37054
37055 2013-11-28 Joseph Myers <joseph@codesourcery.com>
37056
37057 * manual/math.texi (Errors in Math Functions): Document accuracy
37058 goals.
37059
37060 [BZ #15004]
37061 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
37062 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
37063 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37064 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37065 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37066 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37067 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37068 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37069 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37070 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37071 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37072 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37073 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37074 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37075 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37076 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37077
37078 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
37079 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
37080 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
37081 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
37082 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
37083 Likewise.
37084 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
37085 Likewise.
37086 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
37087 Likewise.
37088 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
37089 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
37090 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
37091 atomic-feupdateenv and flt-rounds.
37092 * sysdeps/powerpc/nofpu/Versions (libc): Add
37093 __atomic_feholdexcept, __atomic_feclearexcept,
37094 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
37095 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
37096 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
37097 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
37098 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
37099 here.
37100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
37101 Update.
37102
37103 * manual/arith.texi (FP Exceptions): Document that exceptions may
37104 not be raised when matherr is used.
37105 (Math Error Reporting): Document overflow in directed rounding
37106 modes. Document that errno may not be set when finite values are
37107 returned on overflow. Document intent to set errno on underflow
37108 only for underflow to zero.
37109
37110 [BZ #16271]
37111 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
37112 round-to-nearest then adjust result for other rounding modes.
37113 * include/fenv.h (fegetround): Use libm_hidden_proto.
37114 * math/fegetround.c (fegetround): Use libm_hidden_def.
37115 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
37116 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
37117 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37118 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
37119 Likewise.
37120 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
37121 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37122 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
37123 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
37124
37125 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37126
37127 [BZ #16077]
37128 * nss/Versions (libnss_files): Add
37129 _nss_files_gethostbyname3_r.
37130 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
37131 New function.
37132 (HOST_DB_LOOKUP): Remove macro.
37133 (_nss_files_gethostbyname_r): Implement function without the
37134 HOST_DB_LOOKUP macro.
37135 (_nss_files_gethostbyname2_r): Likewise.
37136
37137 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
37138
37139 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
37140
37141 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
37142
37143 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
37144 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
37145 warning.
37146
37147 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37148
37149 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
37150 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
37151 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37152 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37153 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
37154 __fe_nomask_env_priv and attribute_hidden.
37155 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
37156 (libc_feupdateenv_test_ppc): Likewise.
37157 (libc_feresetround_ppc): Likewise.
37158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37159 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
37160 compat_symbol macro.
37161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37162 (__fe_nomask_env): Likewise.
37163 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
37164
37165 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
37166
37167 * string/Makefile: Remove ifunc tests.
37168 * string/test-string.h: Define TEST_IFUNC.
37169 * string/test-bcopy-ifunc.c: Remove.
37170 * string/test-bzero-ifunc.c: Likewise.
37171 * string/test-memccpy-ifunc.c: Likewise.
37172 * string/test-memchr-ifunc.c: Likewise.
37173 * string/test-memcmp-ifunc.c: Likewise.
37174 * string/test-memcpy-ifunc.c: Likewise.
37175 * string/test-memmem-ifunc.c: Likewise.
37176 * string/test-memmove-ifunc.c: Likewise.
37177 * string/test-mempcpy-ifunc.c: Likewise.
37178 * string/test-memrchr-ifunc.c: Likewise.
37179 * string/test-memset-ifunc.c: Likewise.
37180 * string/test-rawmemchr-ifunc.c: Likewise.
37181 * string/test-stpcpy-ifunc.c: Likewise.
37182 * string/test-stpncpy-ifunc.c: Likewise.
37183 * string/test-strcasecmp-ifunc.c: Likewise.
37184 * string/test-strcasestr-ifunc.c: Likewise.
37185 * string/test-strcat-ifunc.c: Likewise.
37186 * string/test-strchr-ifunc.c: Likewise.
37187 * string/test-strchrnul-ifunc.c: Likewise.
37188 * string/test-strcmp-ifunc.c: Likewise.
37189 * string/test-strcpy-ifunc.c: Likewise.
37190 * string/test-strcspn-ifunc.c: Likewise.
37191 * string/test-strlen-ifunc.c: Likewise.
37192 * string/test-strncasecmp-ifunc.c: Likewise.
37193 * string/test-strncat-ifunc.c: Likewise.
37194 * string/test-strncmp-ifunc.c: Likewise.
37195 * string/test-strncpy-ifunc.c: Likewise.
37196 * string/test-strnlen-ifunc.c: Likewise.
37197 * string/test-strpbrk-ifunc.c: Likewise.
37198 * string/test-strrchr-ifunc.c: Likewise.
37199 * string/test-strspn-ifunc.c: Likewise.
37200 * string/test-strstr-ifunc.c: Likewise.
37201
37202 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
37203
37204 * benchtests/Makefile: Remove ifunc tests.
37205 * benchtests/bench-string.h: Define TEST_IFUNC.
37206 * benchtests/bench-bcopy-ifunc.c: Remove.
37207 * benchtests/bench-bzero-ifunc.c: Likewise.
37208 * benchtests/bench-memccpy-ifunc.c: Likewise.
37209 * benchtests/bench-memchr-ifunc.c: Likewise.
37210 * benchtests/bench-memcmp-ifunc.c: Likewise.
37211 * benchtests/bench-memcpy-ifunc.c: Likewise.
37212 * benchtests/bench-memmem-ifunc.c: Likewise.
37213 * benchtests/bench-memmove-ifunc.c: Likewise.
37214 * benchtests/bench-mempcpy-ifunc.c: Likewise.
37215 * benchtests/bench-memrchr-ifunc.c: Likewise.
37216 * benchtests/bench-memset-ifunc.c: Likewise.
37217 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
37218 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
37219 * benchtests/bench-stpcpy-ifunc.c: Likewise.
37220 * benchtests/bench-stpncpy-ifunc.c: Likewise.
37221 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
37222 * benchtests/bench-strcasestr-ifunc.c: Likewise.
37223 * benchtests/bench-strcat-ifunc.c: Likewise.
37224 * benchtests/bench-strchr-ifunc.c: Likewise.
37225 * benchtests/bench-strchrnul-ifunc.c: Likewise.
37226 * benchtests/bench-strcmp-ifunc.c: Likewise.
37227 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
37228 * benchtests/bench-strcpy-ifunc.c: Likewise.
37229 * benchtests/bench-strcspn-ifunc.c: Likewise.
37230 * benchtests/bench-strlen-ifunc.c: Likewise.
37231 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
37232 * benchtests/bench-strncat-ifunc.c: Likewise.
37233 * benchtests/bench-strncmp-ifunc.c: Likewise.
37234 * benchtests/bench-strncpy-ifunc.c: Likewise.
37235 * benchtests/bench-strnlen-ifunc.c: Likewise.
37236 * benchtests/bench-strpbrk-ifunc.c: Likewise.
37237 * benchtests/bench-strrchr-ifunc.c: Likewise.
37238 * benchtests/bench-strsep-ifunc.c: Likewise.
37239 * benchtests/bench-strspn-ifunc.c: Likewise.
37240 * benchtests/bench-strstr-ifunc.c: Likewise.
37241
37242 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
37243
37244 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
37245
37246 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
37247
37248 * resolv/netdb.h: Use __glibc_reserved instead __unused.
37249 * rt/aio.h: Likewise.
37250 * sysdeps/gnu/bits/utmp.h: Likewise.
37251 * sysdeps/gnu/bits/utmpx.h: Likewise.
37252 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37253 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
37254 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
37255 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
37256 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
37257 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
37258 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
37259 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
37260 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
37261 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
37262 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
37263 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
37264 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
37265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
37266 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
37267 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
37268 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
37269 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
37270 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
37271 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
37272 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
37273 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
37274 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
37275 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37276 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
37277 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37278 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
37279 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
37280 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
37281 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
37282 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
37283 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
37284 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
37285 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
37286 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
37287 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
37288 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
37289 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
37290 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
37291 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
37292 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
37293 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
37294
37295 2013-11-25 Carlos O'Donell <carlos@redhat.com>
37296
37297 [BZ #16245]
37298 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
37299 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
37300
37301 2013-11-25 Joseph Myers <joseph@codesourcery.com>
37302
37303 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
37304 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
37305 Likewise.
37306
37307 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37308
37309 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
37310 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
37311 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
37312 (__fesetround): Remove define.
37313 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
37314 rounding and exceptions handling.
37315 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
37316 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
37317 (__fe_nomask_env): Likewise.
37318 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
37319 __fegetround instead of fegetround.
37320 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
37321 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
37322
37323 2013-11-21 Roland McGrath <roland@hack.frob.com>
37324
37325 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
37326 it's there.
37327
37328 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
37329
37330 2013-11-21 Meador Inge <meadori@codesourcery.com>
37331
37332 [BZ #11157]
37333 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
37334 (encrypt_r): Likewise.
37335 * malloc/obstack.h (obstack_free): Likewise.
37336 * posix/unistd.h (encrypt): Likewise.
37337
37338 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
37339
37340 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
37341 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
37342 DL_CALL_DT_FINI() that call the functions directly.
37343 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
37344 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
37345 * elf/dl-fini.c: Likewise.
37346
37347 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
37348
37349 * malloc/hooks.c (memalign_check): Add alignment rounding.
37350 * malloc/malloc.c (_mid_memalign): New function.
37351 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
37352 Implement by calling _mid_memalign.
37353 * manual/probes.texi (Memory Allocation Probes): Remove
37354 memory_valloc_retry and memory_pvalloc_retry.
37355
37356 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37357
37358 * locale/programs/locarchive.c (open_archive): Add const
37359 qualifier to ARCHIVEFNAME and copy default fname to
37360 DEFAULT_FNAME.
37361
37362 [BZ #15601]
37363 * libio/tst-widetext.input: Rename Oriya to Odia.
37364 * locale/iso-639.def: Likewise.
37365
37366 * manual/probes.texi (Mathematical Function Probes): Add
37367 documentation for sin, cos, asin and acos probes.
37368 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
37369 (__sin32): Add slowasin probe.
37370 (__cos32): Add slowacos probe.
37371 (__mpsin): Add slowsin probe.
37372 (__mpcos): Add slowcos probe.
37373
37374 2013-11-19 Joseph Myers <joseph@codesourcery.com>
37375
37376 [BZ #15483]
37377 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
37378 thread-local __sim_exceptions_thread and global
37379 __sim_exceptions_global.
37380 (__sim_disabled_exceptions): Change to thread-local
37381 __sim_disabled_exceptions_thread and global
37382 __sim_disabled_exceptions_global.
37383 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
37384 and global __sim_round_mode_global.
37385 (__simulate_exceptions): Use thread-local floating-point state and
37386 set global state from it as needed.
37387 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
37388 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
37389 __sim_round_mode_thread.
37390 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
37391 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
37392 and global __sim_exceptions_global.
37393 (__sim_disabled_exceptions): Change to thread-local
37394 __sim_disabled_exceptions_thread and global
37395 __sim_disabled_exceptions_global.
37396 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
37397 and global __sim_round_mode_global.
37398 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
37399 (SIM_SET_GLOBAL): Likewise.
37400 * sysdeps/powerpc/soft-fp/sfp-machine.h
37401 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
37402 __sim_round_mode_thread.
37403 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
37404 __sim_disabled_exceptions_thread.
37405 (__sim_exceptions): Change to __sim_exceptions_thread.
37406 (__sim_disabled_exceptions): Change to
37407 __sim_disabled_exceptions_thread.
37408 (__sim_round_mode): Change to __sim_round_mode_thread.
37409 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
37410 thread-local floating-point state and set global state from it as
37411 needed.
37412 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
37413 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
37414 (__sim_disabled_exceptions): Remove extern declaration.
37415 (feenableexcept): Use thread-local floating-point state and set
37416 global state from it as needed.
37417 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
37418 extern declaration.
37419 (__sim_disabled_exceptions): Likewise.
37420 (__sim_round_mode): Likewise.
37421 (__fegetenv): Use thread-local floating-point state.
37422 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
37423 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37424 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
37425 floating-point state and set global state from it as needed.
37426 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
37427 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37428 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
37429 Likewise.
37430 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
37431 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
37432 Likewise.
37433 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
37434 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
37435 Use __sim_round_mode_thread.
37436 * math/test-fenv-tls.c: New file.
37437 * math/Makefile (tests): Add test-fenv-tls.
37438 ($(objpfx)test-fenv-tls): Depend on
37439 $(common-objpfx)nptl/libpthread.so.
37440
37441 2013-11-19 Andreas Schwab <schwab@suse.de>
37442
37443 * locale/programs/locale.c (show_info): Decode wordarray elements.
37444 * locale/categories.def (LC_MONETARY): Add element for
37445 _NL_MONETARY_CRNCYSTR.
37446 * locale/C-monetary.c (conversion_rate): New variable.
37447 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
37448 element.
37449
37450 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
37451
37452 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
37453 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
37454
37455 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
37456
37457 * elf/Makefile (tst-auxv): New test.
37458 * elf/tst-auxv.c: New
37459 * elf/rtld.c (dl_main): Adjust AT_EXECFN
37460
37461 2013-11-18 Joseph Myers <joseph@codesourcery.com>
37462
37463 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
37464 (hidden_proto): Caller changed.
37465 (hidden_tls_proto): New macro.
37466 (libc_hidden_tls_proto): Likewise.
37467 (rtld_hidden_tls_proto): Likewise.
37468 (libm_hidden_tls_proto): Likewise.
37469 (libresolv_hidden_tls_proto): Likewise.
37470 (librt_hidden_tls_proto): Likewise.
37471 (libdl_hidden_tls_proto): Likewise.
37472 (libnss_files_hidden_tls_proto): Likewise.
37473 (libnsl_hidden_tls_proto): Likewise.
37474 (libnss_nisplus_hidden_tls_proto): Likewise.
37475 (libutil_hidden_tls_proto): Likewise.
37476
37477 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
37478
37479 [BZ #10253]
37480 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
37481 (decompose_rpath): Defer expansion to fillin_rpath.
37482 (_dl_init_paths): Pass linkmap to fillin_rpath.
37483
37484 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37485
37486 * benchtests/Makefile: Add strsep.
37487 * benchtests/bench-strsep.c: New file: strsep benchtest.
37488 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
37489
37490 2013-11-18 Andreas Schwab <schwab@suse.de>
37491
37492 * locale/programs/locale.c (show_info) [case byte]: Check for
37493 '\377' instead of '\177'.
37494 * locale/C-monetary.c (not_available): Always use "\377".
37495 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
37496 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
37497 detect unavailable sign_posn locale elements.
37498 * locale/localeconv.c (__localeconv): For grouping and
37499 mon_grouping handle "\177" and "\377" like no grouping.
37500 (INT_ELEM): New macro. Use it to set all numeric members.
37501 * locale/programs/ld-monetary.c (monetary_read)
37502 <tok_mon_grouping>: Normalize single -1 to the empty string.
37503 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
37504 Likewise.
37505
37506 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
37507
37508 [BZ #16055]
37509 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
37510 when we match (nil).
37511 * stdio-common/tst-sscanf.c (struct test): Add testcase.
37512
37513 2013-11-16 Joseph Myers <joseph@codesourcery.com>
37514
37515 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
37516 (NO_TEST_INLINE): Update value.
37517 (ERRNO_UNCHANGED): Likewise.
37518 (ERRNO_EDOM): Likewise.
37519 (ERRNO_ERANGE): Likewise.
37520 (IGNORE_RESULT): Likewise.
37521 (check_float_internal): Check signs of NaN results if
37522 TEST_NAN_SIGN used.
37523 (check_complex): Pass TEST_NAN_SIGN flag through to second
37524 check_float_internal call.
37525 (copysign_test_data): Add tests with quiet NaNs as second
37526 argument. Use TEST_NAN_SIGN.
37527 (fabs_test_data): Add test of negative quiet NaN argument. Use
37528 TEST_NAN_SIGN.
37529 (signbit_test_data): Add tests of quiet NaN argument.
37530 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
37531
37532 * math/gen-libm-test.pl (show_exceptions): Take extra argument
37533 $ignore_result.
37534 (parse_args): Handle function results specified as IGNORE.
37535 * math/libm-test.inc (IGNORE_RESULT): New macro.
37536 (check_float_internal): Do not check numerical result if flag
37537 IGNORE_RESULT set.
37538 (check_complex): Pass through IGNORE_RESULT to second
37539 check_float_internal call.
37540 (check_int): Do not check numerical result if flag IGNORE_RESULT
37541 set.
37542 (check_long): Likewise.
37543 (check_bool): Likewise.
37544 (check_longlong): Likewise.
37545 (lrint_test_data): Add tests of infinite and NaN arguments.
37546 (lrint_tonearest_test_data): Likewise.
37547 (lrint_towardzero_test_data): Likewise.
37548 (lrint_downward_test_data): Likewise.
37549 (lrint_upward_test_data): Likewise.
37550 (llrint_test_data): Likewise.
37551 (llrint_tonearest_test_data): Likewise.
37552 (llrint_towardzero_test_data): Likewise.
37553 (llrint_downward_test_data): Likewise.
37554 (llrint_upward_test_data): Likewise.
37555 (lround_test_data): Likewise.
37556 (llround_test_data): Likewise.
37557
37558 * math/libm-test.inc (NO_TEST_INLINE): New macro.
37559 (ERRNO_UNCHANGED): Update value.
37560 (ERRNO_EDOM): Likewise.
37561 (ERRNO_ERANGE): Likewise.
37562 (NO_TEST_INLINE_FLOAT): New macro.
37563 (NO_TEST_INLINE_DOUBLE): Likewise.
37564 (enable_test): New function.
37565 (RUN_TEST_f_f): Check enable_test before running test.
37566 (RUN_TEST_2_f): Likewise.
37567 (RUN_TEST_fff_f): Likewise.
37568 (RUN_TEST_c_f): Likewise.
37569 (RUN_TEST_f_f1): Likewise.
37570 (RUN_TEST_fF_f1): Likewise.
37571 (RUN_TEST_fI_f1): Likewise.
37572 (RUN_TEST_ffI_f1): Likewise.
37573 (RUN_TEST_c_c): Likewise.
37574 (RUN_TEST_cc_c): Likewise.
37575 (RUN_TEST_f_i): Likewise.
37576 (RUN_TEST_f_i_tg): Likewise.
37577 (RUN_TEST_ff_i_tg): Likewise.
37578 (RUN_TEST_f_b): Likewise.
37579 (RUN_TEST_f_b_tg): Likewise.
37580 (RUN_TEST_f_l): Likewise.
37581 (RUN_TEST_f_L): Likewise.
37582 (RUN_TEST_fFF_11): Likewise.
37583 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
37584 conditionals.
37585 (cosh_test_data): Likewise.
37586 (exp_test_data): Likewise.
37587 (expm1_test_data): Likewise.
37588 (hypot_test_data): Likewise.
37589 (pow_test_data): Likewise.
37590 (sinh_test_data): Likewise.
37591 (tanh_test_data): Likewise.
37592 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
37593 flags argument.
37594
37595 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
37596 tests with quiet NaN input and output.
37597 (acosh_test_data): Likewise.
37598 (asin_test_data): Likewise.
37599 (asinh_test_data): Likewise.
37600 (atan_test_data): Likewise.
37601 (atanh_test_data): Likewise.
37602 (atan2_test_data): Likewise.
37603 (cbrt_test_data): Likewise.
37604 (cos_test_data): Likewise.
37605 (cosh_test_data): Likewise.
37606 (erf_test_data): Likewise.
37607 (erfc_test_data): Likewise.
37608 (exp_test_data): Likewise.
37609 (exp10_test_data): Likewise.
37610 (exp2_test_data): Likewise.
37611 (expm1_test_data): Likewise.
37612 (hypot_test_data): Likewise.
37613 (j0_test_data): Likewise.
37614 (j1_test_data): Likewise.
37615 (jn_test_data): Likewise.
37616 (lgamma_test_data): Likewise.
37617 (log_test_data): Likewise.
37618 (log10_test_data): Likewise.
37619 (log1p_test_data): Likewise.
37620 (log2_test_data): Likewise.
37621 (pow_test_data): Likewise.
37622 (scalb_test_data): Likewise.
37623 (sin_test_data): Likewise.
37624 (sincos_test_data): Likewise.
37625 (sinh_test_data): Likewise.
37626 (tan_test_data): Likewise.
37627 (tanh_test_data): Likewise.
37628 (tgamma_test_data): Likewise.
37629 (y0_test_data): Likewise.
37630 (y1_test_data): Likewise.
37631 (yn_test_data): Likewise.
37632
37633 [BZ #16167]
37634 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
37635 argument being NaN and avoid computations with second argument in
37636 that case.
37637 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37638 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
37639 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37640
37641 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
37642
37643 * locale/iso-639.def: Add Chitwani Tharu (the).
37644
37645 2013-11-14 Andreas Schwab <schwab@suse.de>
37646
37647 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
37648 word instead of empty string.
37649
37650 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37651
37652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37653 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
37654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37655 (__fe_nomask_env): Likewise.
37656
37657 2013-11-13 Steve Ellcey <sellcey@mips.com>
37658
37659 * benchtests/bench-timing.h: Include time.h.
37660
37661 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
37662
37663 [BZ #15997]
37664 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
37665 to 3.4.0 for x32.
37666 * sysdeps/unix/sysv/linux/configure: Regenerated.
37667
37668 2013-11-13 Joseph Myers <joseph@codesourcery.com>
37669
37670 [BZ #16151]
37671 * stdlib/strtod_l.c (round_and_return): Do not consider
37672 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
37673 exponent one less than half the least subnormal exponent.
37674 * stdlib/test-strtod-round-data: Add more tests.
37675 * stdlib/tst-strtod-round.c (tests): Regenerated.
37676
37677 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37678
37679 [BZ #14143]
37680 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
37681 (__fe_mask_env): Likewise.
37682 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
37683 libm_hidden_proto and add function prototype.
37684 (__fe_mask_env): Add function prototype.
37685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37686 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
37687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37688 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
37689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37690 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
37691
37692 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37693
37694 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
37695 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
37696
37697 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37698
37699 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
37700 of htab_find_slot().
37701
37702 2013-11-11 David S. Miller <davem@davemloft.net>
37703
37704 [BZ #16150]
37705 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
37706 symbol in the non-vis3 case in static builds.
37707 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
37708 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
37709 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
37710 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
37711
37712 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
37713
37714 [BZ #387]
37715 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
37716 it is empty.
37717
37718 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37719
37720 * benchtests/Makefile: Add bench-strtod.
37721 * benchtests/bench-strtod.c: New file: strtod benchtest
37722
37723 2013-11-11 Andreas Schwab <schwab@suse.de>
37724
37725 [BZ #16153]
37726 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
37727 terminating NUL in key length.
37728
37729 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37730
37731 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37732 Add artificial ODP entry for vDSO symbol for PPC64.
37733 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
37734 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
37735
37736 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
37737
37738 [BZ #15374]
37739 * nss/getent.c (services_keys): Recognize services starting with digit.
37740
37741 2013-11-06 David S. Miller <davem@davemloft.net>
37742
37743 [BZ #15985]
37744 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
37745 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
37746
37747 2013-11-06 Will Newton <will.newton@linaro.org>
37748
37749 * manual/memory.texi (Malloc Examples): Remove register
37750 keyword from examples.
37751
37752 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
37753
37754 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
37755
37756 2013-11-04 Joseph Myers <joseph@codesourcery.com>
37757
37758 [BZ #6981]
37759 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
37760 depending on [__GCC_IEC_559 > 0].
37761 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
37762 depending on [__GCC_IEC_559_COMPLEX > 0].
37763
37764 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
37765
37766 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
37767 to iso-639.def.
37768
37769 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
37770
37771 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
37772
37773 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
37774
37775 [BZ #16112]
37776 * malloc/malloc (malloc_info): Do not handle first bin as
37777 special case.
37778
37779 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
37780
37781 * locale/iso-639.def: Add Central Nahuatl (nhn).
37782
37783 2013-11-01 Bruno Haible <bruno@clisp.org>
37784
37785 [BZ #7003]
37786 * manual/math.texi (BSD Random): Specify range upper bound as
37787 in POSIX.
37788
37789 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
37790
37791 * locale/iso-639.def: Add Meadow Mari (mhr).
37792
37793 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
37794
37795 [BZ #14752], [BZ #15763]
37796 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
37797 Validate name.
37798 * rt/tst_shm.c: Add test for escaping directory.
37799
37800 2013-10-31 Andreas Schwab <schwab@suse.de>
37801
37802 [BZ #15917]
37803 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
37804 followed by 'x' as part of digit sequence.
37805 * stdio-common/tst-sscanf.c (double_tests2): New tests.
37806
37807 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
37808
37809 [BZ #16037]
37810 * configure.ac: allow GNU Make 4.0 and greater.
37811 * configure: Regenerated.
37812
37813 2013-10-30 Will Newton <will.newton@linaro.org>
37814
37815 [BZ #16038]
37816 * malloc/hooks.c (memalign_check): Limit alignment to the
37817 maximum representable power of two.
37818 * malloc/malloc.c (__libc_memalign): Likewise.
37819 * malloc/tst-memalign.c (do_test): Add test for very
37820 large alignment values.
37821 * malloc/tst-posix_memalign.c (do_test): Likewise.
37822
37823 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
37824
37825 [BZ #11087]
37826 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
37827 (munmap_chunk): Likewise.
37828 (mremap_chunk): Likewise.
37829
37830 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
37831
37832 [BZ #15799]
37833 * stdlib/div.c (div): Remove obsolete code.
37834 * stdlib/ldiv.c (ldiv): Likewise.
37835 * stdlib/lldiv.c (lldiv): Likewise.
37836
37837 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37838
37839 [BZ #16071]
37840 * nss/nss_files/files-XXX.c (get_contents_ret): New
37841 enumerator.
37842 (get_contents): New function.
37843 (internal_getent): Use it. Expand size of LINEBUFLEN.
37844
37845 2013-10-30 Mike Frysinger <vapier@gentoo.org>
37846
37847 * configure.in: Moved to ...
37848 * configure.ac: ... here. Change reference to configure.in
37849 to configure.ac.
37850 * sysdeps/arm/preconfigure.ac: ... here.
37851 configure.in to configure.ac.
37852 * sysdeps/gnu/configure.in: Moved to ...
37853 * sysdeps/gnu/configure.ac: ... here.
37854 * sysdeps/i386/configure.in: Moved to ...
37855 * sysdeps/i386/configure.ac: ... here.
37856 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
37857 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
37858 * sysdeps/mach/configure.in: Moved to ...
37859 * sysdeps/mach/configure.ac: ... here.
37860 * sysdeps/mach/hurd/configure.in: Moved to ...
37861 * sysdeps/mach/hurd/configure.ac: ... here.
37862 * sysdeps/powerpc/configure.in: Moved to ...
37863 * sysdeps/powerpc/configure.ac: ... here.
37864 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
37865 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
37866 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
37867 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
37868 * sysdeps/s390/s390-32/configure.in: Moved to ...
37869 * sysdeps/s390/s390-32/configure.ac: ... here.
37870 * sysdeps/s390/s390-64/configure.in: Moved to ...
37871 * sysdeps/s390/s390-64/configure.ac: ... here.
37872 * sysdeps/sh/configure.in: Moved to ...
37873 * sysdeps/sh/configure.ac: ... here.
37874 * sysdeps/sparc/configure.in: Moved to ...
37875 * sysdeps/sparc/configure.ac: ... here.
37876 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
37877 * sysdeps/unix/sysv/linux/configure.ac: ... here.
37878 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
37879 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
37880 * sysdeps/x86_64/configure.in: Moved to ...
37881 * sysdeps/x86_64/configure.ac: ... here.
37882 * sysdeps/x86_64/preconfigure.in: Moved to ...
37883 * sysdeps/x86_64/preconfigure.ac: ... here.
37884 * aclocal.m4: Change reference to configure.in to configure.ac.
37885 * config.h.in: Likewise.
37886 * manual/install.texi: Likewise.
37887 * manual/maint.texi: Likewise.
37888 * Makefile: Likewise.
37889 * malloc/Makefile: Likewise.
37890 * nscd/Makefile: Likewise.
37891 * Makeconfig: Change reference to configure.in and
37892 preconfigure.in to configure.ac and preconfigure.ac
37893 respectively.
37894 * INSTALL: Regenerated.
37895 * configure: Likewise.
37896 * sysdeps/gnu/configure: Likewise.
37897 * sysdeps/i386/configure: Likewise.
37898 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
37899 * sysdeps/mach/configure: Likewise.
37900 * sysdeps/mach/hurd/configure: Likewise.
37901 * sysdeps/powerpc/configure: Likewise.
37902 * sysdeps/powerpc/powerpc32/configure: Likewise.
37903 * sysdeps/powerpc/powerpc64/configure: Likewise.
37904 * sysdeps/s390/s390-32/configure: Likewise.
37905 * sysdeps/s390/s390-64/configure: Likewise.
37906 * sysdeps/sh/configure: Likewise.
37907 * sysdeps/sparc/configure: Likewise.
37908 * sysdeps/unix/sysv/linux/configure: Likewise.
37909 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
37910 * sysdeps/x86_64/configure: Likewise.
37911 * sysdeps/x86_64/preconfigure: Likewise.
37912
37913 2013-10-29 Andreas Schwab <schwab@suse.de>
37914
37915 * stdio-common/Makefile (tst-swscanf-ENV): Define.
37916
37917 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37918
37919 * benchtests/pow-inputs: Add new inputs.
37920
37921 * benchtests/exp-inputs: Add new inputs.
37922
37923 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
37924 conditional check for return value.
37925 (__cos32): Likewise.
37926
37927 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37928
37929 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
37930 to provide a boost for large inputs with word alignment.
37931 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
37932 implementation based on optimized PPC64 strcpy.
37933 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
37934 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
37935 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
37936 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
37937
37938 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
37939
37940 [BZ #2801]
37941 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
37942
37943 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
37944
37945 [BZ #14876]
37946 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
37947 * time/tst-strptime.c (day_tests): Add testcase.
37948
37949 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
37950
37951 [BZ #14029]
37952 * manual/pattern.texi: Acknowledge that fnmatch can fail.
37953
37954 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
37955
37956 [BZ #16074]
37957 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
37958 MAP_FAILED on error.
37959
37960 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37961
37962 [BZ #16072]
37963 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
37964 heap for large requests.
37965
37966 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
37967
37968 [BZ #9954]
37969 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
37970 result if the result has no associated interface.
37971 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
37972 interface for all 127.X.Y.Z addresses.
37973
37974 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
37975
37976 * locale/iso-639.def: Add Ligurian (lij)
37977
37978 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
37979
37980 [BZ #15825]
37981 * sunrpc/rpc_main.c: Document rpcgen -5.
37982
37983 2013-10-19 Michael Stahl <mstahl@redhat.com>
37984
37985 * elf/rtld.c (do_preload): Print the reason why preloading failed.
37986
37987 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
37988
37989 [BZ #10278]
37990 * posix/glob.c: Match only directories when trailing slash is present.
37991 * posix/tst-gnuglob.c (my_opendir): Do not open files.
37992 (main): Add testcase.
37993
37994 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
37995
37996 [BZ #15670]
37997 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
37998
37999 2013-10-18 Carlos O'Donell <carlos@redhat.com>
38000
38001 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
38002 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
38003 AUTH_DES and cindex for FIPS 140-2.
38004 (DES Encryption): Add cindex FIPS 46-3.
38005
38006 * locale/locarchive.h (struct locarhandle): Add fname.
38007 * locale/programs/localedef.c (main): Pass ARGV[remaining]
38008 if an optional argument was specified to --list-archive,
38009 otherwise NULL.
38010 * locale/programs/locarchive.c (show_archive_content): Take new
38011 argument fname and pass it via ah.fname to open_archive.
38012 * locale/programs/localedef.h: Update decl.
38013 (open_archive): If AH->fname is non-null, open that file
38014 rather than the default file name, and don't ignore ENOENT.
38015 (create_archive): Set AH.fname to NULL.
38016 (delete_locales_from_archive): Likewise.
38017 (add_locales_to_archive): Likewise.
38018 * locale/programs/locfile.c (write_all_categories): Likewise.
38019
38020 2013-10-18 Joseph Myers <joseph@codesourcery.com>
38021 Aldy Hernandez <aldyh@redhat.com>
38022
38023 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
38024 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
38025 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
38026 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
38027 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
38028 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
38029 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
38030 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
38031 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
38032 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
38033 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
38034 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
38035 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
38036 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
38037 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
38038 Likewise.
38039 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
38040 Likewise.
38041 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
38042 Likewise.
38043 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
38044 Likewise.
38045 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
38046 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
38047 Likewise.
38048 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
38049 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
38050 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
38051 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
38052 Likewise.
38053 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
38054 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
38055 * sysdeps/powerpc/preconfigure: Likewise.
38056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
38057 Likewise.
38058 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
38059 Replace contents of file by #include of <fenv_libc.h>.
38060 * sysdeps/powerpc/soft-fp/sfp-machine.h
38061 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
38062 and <sys/prctl.h>.
38063 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
38064 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
38065 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
38066 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
38067 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
38068 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
38069 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
38070 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
38071 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
38072 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
38073 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
38074 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
38075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38076 Allow copysignl PLT reference to be missing.
38077
38078 2013-10-18 Richard Sandiford <richard@codesourcery.com>
38079 Joseph Myers <joseph@codesourcery.com
38080
38081 [BZ #15948]
38082 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
38083 single character.
38084 (add_to_tablewc): Assert sequence of wide characters is nonempty.
38085
38086 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38087
38088 * elf/tst-tls-dlinfo.c: Don't include tls.h.
38089 * elf/tst-tls1.c: Likewise.
38090 * elf/tst-tls10.h: Likewise.
38091 * elf/tst-tls14.c: Likewise.
38092 * elf/tst-tls2.c: Likewise.
38093 * elf/tst-tls3.c: Likewise.
38094 * elf/tst-tls4.c: Likewise.
38095 * elf/tst-tls5.c: Likewise.
38096 * elf/tst-tls6.c: Likewise.
38097 * elf/tst-tls7.c: Likewise.
38098 * elf/tst-tls8.c: Likewise.
38099 * elf/tst-tls9.c: Likewise.
38100 * elf/tst-tlsmod1.c: Likewise.
38101 * elf/tst-tlsmod13.c: Likewise.
38102 * elf/tst-tlsmod13a.c: Likewise.
38103 * elf/tst-tlsmod14a.c: Likewise.
38104 * elf/tst-tlsmod16a.c: Likewise.
38105 * elf/tst-tlsmod16b.c: Likewise.
38106 * elf/tst-tlsmod2.c: Likewise.
38107 * elf/tst-tlsmod3.c: Likewise.
38108 * elf/tst-tlsmod4.c: Likewise.
38109 * elf/tst-tlsmod5.c: Likewise.
38110 * elf/tst-tlsmod6.c: Likewise.
38111
38112 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
38113
38114 [BZ #12486]
38115 * malloc/malloc.c: remove checks for statistics.
38116
38117 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
38118
38119 [BZ #15277]
38120 * inet/inet_net.c (inet_network): Detect additional invalid strings.
38121 * inet/tst-network.c: Add testcase.
38122
38123 2013-10-17 Andreas Schwab <schwab@suse.de>
38124
38125 [BZ #15218]
38126 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
38127 to determine canonical name.
38128
38129 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
38130
38131 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
38132 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
38133 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38134 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38135 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38136 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38137 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38138 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38139 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38140 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38141 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38142 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38143 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38144 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38145 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38146 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38147 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38148 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38149 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38150 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38151 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38152 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38153 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38154 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
38155 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
38156 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38157 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38158 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
38159 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38160 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
38161 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38162 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38163 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38164 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38165 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38166 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38167 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38168 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38169 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38170 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38171 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38172 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38173 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38174 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38175 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38176 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38177 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38178 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38179 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38180 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38181 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38182 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38183 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38184 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38185 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38186 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38187 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38188 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38189
38190 2013-10-17 Joseph Myers <joseph@codesourcery.com>
38191
38192 [BZ #16041]
38193 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
38194 make result into a quiet NaN.
38195
38196 2013-10-16 Joseph Myers <joseph@codesourcery.com>
38197
38198 * soft-fp/adddf3.c: Fix horizontal whitespace.
38199 * soft-fp/addsf3.c: Likewise.
38200 * soft-fp/addtf3.c: Likewise.
38201 * soft-fp/divdf3.c: Likewise.
38202 * soft-fp/divsf3.c: Likewise.
38203 * soft-fp/divtf3.c: Likewise.
38204 * soft-fp/double.h: Likewise.
38205 * soft-fp/eqdf2.c: Likewise.
38206 * soft-fp/eqsf2.c: Likewise.
38207 * soft-fp/eqtf2.c: Likewise.
38208 * soft-fp/extenddftf2.c: Likewise.
38209 * soft-fp/extended.h: Likewise.
38210 * soft-fp/extendsfdf2.c: Likewise.
38211 * soft-fp/extendsftf2.c: Likewise.
38212 * soft-fp/extendxftf2.c: Likewise.
38213 * soft-fp/fixdfdi.c: Likewise.
38214 * soft-fp/fixdfsi.c: Likewise.
38215 * soft-fp/fixdfti.c: Likewise.
38216 * soft-fp/fixsfdi.c: Likewise.
38217 * soft-fp/fixsfsi.c: Likewise.
38218 * soft-fp/fixsfti.c: Likewise.
38219 * soft-fp/fixtfdi.c: Likewise.
38220 * soft-fp/fixtfsi.c: Likewise.
38221 * soft-fp/fixtfti.c: Likewise.
38222 * soft-fp/fixunsdfdi.c: Likewise.
38223 * soft-fp/fixunsdfsi.c: Likewise.
38224 * soft-fp/fixunsdfti.c: Likewise.
38225 * soft-fp/fixunssfdi.c: Likewise.
38226 * soft-fp/fixunssfsi.c: Likewise.
38227 * soft-fp/fixunssfti.c: Likewise.
38228 * soft-fp/fixunstfdi.c: Likewise.
38229 * soft-fp/fixunstfsi.c: Likewise.
38230 * soft-fp/fixunstfti.c: Likewise.
38231 * soft-fp/floatdidf.c: Likewise.
38232 * soft-fp/floatdisf.c: Likewise.
38233 * soft-fp/floatditf.c: Likewise.
38234 * soft-fp/floatsidf.c: Likewise.
38235 * soft-fp/floatsisf.c: Likewise.
38236 * soft-fp/floatsitf.c: Likewise.
38237 * soft-fp/floattidf.c: Likewise.
38238 * soft-fp/floattisf.c: Likewise.
38239 * soft-fp/floattitf.c: Likewise.
38240 * soft-fp/floatundidf.c: Likewise.
38241 * soft-fp/floatundisf.c: Likewise.
38242 * soft-fp/floatunditf.c: Likewise.
38243 * soft-fp/floatunsidf.c: Likewise.
38244 * soft-fp/floatunsisf.c: Likewise.
38245 * soft-fp/floatunsitf.c: Likewise.
38246 * soft-fp/floatuntidf.c: Likewise.
38247 * soft-fp/floatuntisf.c: Likewise.
38248 * soft-fp/floatuntitf.c: Likewise.
38249 * soft-fp/fmadf4.c: Likewise.
38250 * soft-fp/fmasf4.c: Likewise.
38251 * soft-fp/fmatf4.c: Likewise.
38252 * soft-fp/gedf2.c: Likewise.
38253 * soft-fp/gesf2.c: Likewise.
38254 * soft-fp/getf2.c: Likewise.
38255 * soft-fp/ledf2.c: Likewise.
38256 * soft-fp/lesf2.c: Likewise.
38257 * soft-fp/letf2.c: Likewise.
38258 * soft-fp/muldf3.c: Likewise.
38259 * soft-fp/mulsf3.c: Likewise.
38260 * soft-fp/multf3.c: Likewise.
38261 * soft-fp/negdf2.c: Likewise.
38262 * soft-fp/negsf2.c: Likewise.
38263 * soft-fp/negtf2.c: Likewise.
38264 * soft-fp/op-1.h: Likewise.
38265 * soft-fp/op-2.h: Likewise.
38266 * soft-fp/op-4.h: Likewise.
38267 * soft-fp/op-8.h: Likewise.
38268 * soft-fp/op-common.h: Likewise.
38269 * soft-fp/quad.h: Likewise.
38270 * soft-fp/single.h: Likewise.
38271 * soft-fp/soft-fp.h: Likewise.
38272 * soft-fp/sqrtdf2.c: Likewise.
38273 * soft-fp/sqrtsf2.c: Likewise.
38274 * soft-fp/sqrttf2.c: Likewise.
38275 * soft-fp/subdf3.c: Likewise.
38276 * soft-fp/subsf3.c: Likewise.
38277 * soft-fp/subtf3.c: Likewise.
38278 * soft-fp/truncdfsf2.c: Likewise.
38279 * soft-fp/trunctfdf2.c: Likewise.
38280 * soft-fp/trunctfsf2.c: Likewise.
38281 * soft-fp/trunctfxf2.c: Likewise.
38282 * soft-fp/unorddf2.c: Likewise.
38283 * soft-fp/unordsf2.c: Likewise.
38284 * soft-fp/unordtf2.c: Likewise.
38285
38286 2013-10-15 Joseph Myers <joseph@codesourcery.com>
38287
38288 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
38289 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
38290
38291 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
38292
38293 * elf/dl-libc.c: Clear initfini list after freeing.
38294
38295 2013-10-14 Joseph Myers <joseph@codesourcery.com>
38296
38297 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
38298 * soft-fp/addsf3.c: Likewise.
38299 * soft-fp/addtf3.c: Likewise.
38300 * soft-fp/divdf3.c: Likewise.
38301 * soft-fp/divsf3.c: Likewise.
38302 * soft-fp/divtf3.c: Likewise.
38303 * soft-fp/double.h: Likewise.
38304 * soft-fp/eqdf2.c: Likewise.
38305 * soft-fp/eqsf2.c: Likewise.
38306 * soft-fp/eqtf2.c: Likewise.
38307 * soft-fp/extenddftf2.c: Likewise.
38308 * soft-fp/extended.h: Likewise.
38309 * soft-fp/extendsfdf2.c: Likewise.
38310 * soft-fp/extendsftf2.c: Likewise.
38311 * soft-fp/extendxftf2.c: Likewise.
38312 * soft-fp/fixdfdi.c: Likewise.
38313 * soft-fp/fixdfsi.c: Likewise.
38314 * soft-fp/fixdfti.c: Likewise.
38315 * soft-fp/fixsfdi.c: Likewise.
38316 * soft-fp/fixsfsi.c: Likewise.
38317 * soft-fp/fixsfti.c: Likewise.
38318 * soft-fp/fixtfdi.c: Likewise.
38319 * soft-fp/fixtfsi.c: Likewise.
38320 * soft-fp/fixtfti.c: Likewise.
38321 * soft-fp/fixunsdfdi.c: Likewise.
38322 * soft-fp/fixunsdfsi.c: Likewise.
38323 * soft-fp/fixunsdfti.c: Likewise.
38324 * soft-fp/fixunssfdi.c: Likewise.
38325 * soft-fp/fixunssfsi.c: Likewise.
38326 * soft-fp/fixunssfti.c: Likewise.
38327 * soft-fp/fixunstfdi.c: Likewise.
38328 * soft-fp/fixunstfsi.c: Likewise.
38329 * soft-fp/fixunstfti.c: Likewise.
38330 * soft-fp/floatdidf.c: Likewise.
38331 * soft-fp/floatdisf.c: Likewise.
38332 * soft-fp/floatditf.c: Likewise.
38333 * soft-fp/floatsidf.c: Likewise.
38334 * soft-fp/floatsisf.c: Likewise.
38335 * soft-fp/floatsitf.c: Likewise.
38336 * soft-fp/floattidf.c: Likewise.
38337 * soft-fp/floattisf.c: Likewise.
38338 * soft-fp/floattitf.c: Likewise.
38339 * soft-fp/floatundidf.c: Likewise.
38340 * soft-fp/floatundisf.c: Likewise.
38341 * soft-fp/floatunsidf.c: Likewise.
38342 * soft-fp/floatunsisf.c: Likewise.
38343 * soft-fp/floatuntidf.c: Likewise.
38344 * soft-fp/floatuntisf.c: Likewise.
38345 * soft-fp/floatuntitf.c: Likewise.
38346 * soft-fp/fmadf4.c: Likewise.
38347 * soft-fp/fmasf4.c: Likewise.
38348 * soft-fp/fmatf4.c: Likewise.
38349 * soft-fp/gedf2.c: Likewise.
38350 * soft-fp/gesf2.c: Likewise.
38351 * soft-fp/getf2.c: Likewise.
38352 * soft-fp/ledf2.c: Likewise.
38353 * soft-fp/lesf2.c: Likewise.
38354 * soft-fp/letf2.c: Likewise.
38355 * soft-fp/muldf3.c: Likewise.
38356 * soft-fp/mulsf3.c: Likewise.
38357 * soft-fp/multf3.c: Likewise.
38358 * soft-fp/negdf2.c: Likewise.
38359 * soft-fp/negsf2.c: Likewise.
38360 * soft-fp/negtf2.c: Likewise.
38361 * soft-fp/op-1.h: Likewise.
38362 * soft-fp/op-2.h: Likewise.
38363 * soft-fp/op-4.h: Likewise.
38364 * soft-fp/op-8.h: Likewise.
38365 * soft-fp/op-common.h: Likewise.
38366 * soft-fp/quad.h: Likewise.
38367 * soft-fp/single.h: Likewise.
38368 * soft-fp/soft-fp.h: Likewise.
38369 * soft-fp/sqrtdf2.c: Likewise.
38370 * soft-fp/sqrtsf2.c: Likewise.
38371 * soft-fp/sqrttf2.c: Likewise.
38372 * soft-fp/subdf3.c: Likewise.
38373 * soft-fp/subsf3.c: Likewise.
38374 * soft-fp/subtf3.c: Likewise.
38375 * soft-fp/truncdfsf2.c: Likewise.
38376 * soft-fp/trunctfdf2.c: Likewise.
38377 * soft-fp/trunctfsf2.c: Likewise.
38378 * soft-fp/trunctfxf2.c: Likewise.
38379 * soft-fp/unorddf2.c: Likewise.
38380 * soft-fp/unordsf2.c: Likewise.
38381 * soft-fp/unordtf2.c: Likewise.
38382
38383 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
38384
38385 [BZ #15672]
38386 * misc/error.c (error_tail): Fix possible buffer overflow.
38387
38388 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
38389
38390 [BZ #13028]
38391 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
38392 address.
38393
38394 2013-10-14 P. J. McDermott <pj@pehjota.net>
38395
38396 [BZ #832]
38397 * elf/ldd.bash.in (try_trace): New function. Delete previous code
38398 testing pipefail option.
38399
38400 2013-10-12 Joseph Myers <joseph@codesourcery.com>
38401
38402 * soft-fp/double.h: Indent preprocessor directives inside #if.
38403 * soft-fp/extended.h: Likewise.
38404 * soft-fp/op-2.h: Likewise.
38405 * soft-fp/op-4.h: Likewise.
38406 * soft-fp/op-common.h: Likewise.
38407 * soft-fp/quad.h: Likewise.
38408 * soft-fp/single.h: Likewise.
38409 * soft-fp/soft-fp.h: Likewise.
38410
38411 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
38412
38413 * iconv/iconv_prog.c: Fix typos.
38414 * stdio-common/psiginfo-data.h: Likewise.
38415
38416 2013-10-12 Reuben Thomas <rrt@sc3d.org>
38417
38418 [BZ #15764]
38419 * locale/setlocale.c: Fix typo.
38420
38421 2013-10-12 Joseph Myers <joseph@codesourcery.com>
38422
38423 [BZ #16036]
38424 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
38425 signaling NaN arguments.
38426 * soft-fp/unordsf2.c (__unordsf2): Likewise.
38427 * soft-fp/unordtf2.c (__unordtf2): Likewise.
38428
38429 [BZ #14910]
38430 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
38431 unordered operands.
38432 * soft-fp/gesf2.c (__gesf2): Likewise.
38433 * soft-fp/getf2.c (__getf2): Likewise.
38434 * soft-fp/ledf2.c (__ledf2): Likewise.
38435 * soft-fp/lesf2.c (__lesf2): Likewise.
38436 * soft-fp/letf2.c (__letf2): Likewise.
38437
38438 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
38439 * soft-fp/eqsf2.c (__eqsf2): Likewise.
38440 * soft-fp/eqtf2.c (__eqtf2): Likewise.
38441 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
38442 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
38443 * soft-fp/fixdfti.c (__fixdfti): Likewise.
38444 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
38445 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
38446 * soft-fp/fixsfti.c (__fixsfti): Likewise.
38447 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
38448 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
38449 * soft-fp/fixtfti.c (__fixtfti): Likewise.
38450 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
38451 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
38452 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
38453 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
38454 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
38455 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
38456 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
38457 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
38458 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
38459 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
38460 * soft-fp/floatdisf.c (__floatdisf): Likewise.
38461 * soft-fp/floatsisf.c (__floatsisf): Likewise.
38462 * soft-fp/floattidf.c (__floattidf): Likewise.
38463 * soft-fp/floattisf.c (__floattisf): Likewise.
38464 * soft-fp/floattitf.c (__floattitf): Likewise.
38465 * soft-fp/floatundidf.c (__floatundidf): Likewise.
38466 * soft-fp/floatundisf.c (__floatundisf): Likewise.
38467 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
38468 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
38469 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
38470 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
38471 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
38472 * soft-fp/gesf2.c (__gesf2): Likewise.
38473 * soft-fp/getf2.c (__getf2): Likewise.
38474 * soft-fp/ledf2.c (__ledf2): Likewise.
38475 * soft-fp/lesf2.c (__lesf2): Likewise.
38476 * soft-fp/letf2.c (__letf2): Likewise.
38477
38478 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
38479 Undefine and redefine.
38480 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
38481 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
38482 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
38483 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
38484 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38485 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
38486 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38487 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
38488 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38489 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
38490 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38491 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
38492 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38493 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
38494 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38495
38496 [BZ #16032]
38497 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
38498 without decrementing exponent if mantissa >= that for the
38499 denominator, not >.
38500 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
38501 denominator, not >. Decrement exponent in < case instead of
38502 incrementing in >= case.
38503 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
38504 without decrementing exponent if mantissa >= that for the
38505 denominator, not >.
38506
38507 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
38508 computing saturated result for unsigned overflow.
38509
38510 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38511 Jeff Law <law@redhat.com>
38512
38513 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
38514 (atan2Mp): Add systemtap probe marker.
38515 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
38516 (__ieee754_log): Add systemtap probe marker.
38517 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
38518 (atanMp): Add systemtap probe marker.
38519 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
38520 (tanMp): Add systemtap probe marker.
38521 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
38522 (__slowexp): Add systemtap probe marker.
38523 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
38524 (__slowpow): Add systemtap probe marker.
38525 * manual/probes.texi: Document probes.
38526
38527 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
38528
38529 [BZ #15362]
38530 * libio/fileops.c (_IO_new_file_write): Return count of bytes
38531 written.
38532 (_IO_new_file_xsputn): Don't return EOF if nothing has been
38533 written.
38534 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
38535 written to buffer but not flushed.
38536 * libio/iofwrite_u.c: Likewise.
38537 * libio/iopadn.c: Return bytes returned even if EOF was
38538 encountered.
38539 * libio/iowpadn.c: Likewise.
38540 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
38541 if _IO_padn does not write the whole buffer.
38542 [!COMPILE_WPRINTF] (PAD): Likewise.
38543
38544 2013-10-10 David S. Miller <davem@davemloft.net>
38545
38546 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
38547 directory block.
38548
38549 2013-10-10 Joseph Myers <joseph@codesourcery.com>
38550
38551 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
38552 instead of FSF address.
38553 * soft-fp/fixdfti.c: Likewise.
38554 * soft-fp/fixsfti.c: Likewise.
38555 * soft-fp/fixtfti.c: Likewise.
38556 * soft-fp/fixunsdfti.c: Likewise.
38557 * soft-fp/fixunssfti.c: Likewise.
38558 * soft-fp/fixunstfti.c: Likewise.
38559 * soft-fp/floattidf.c: Likewise.
38560 * soft-fp/floattisf.c: Likewise.
38561 * soft-fp/floattitf.c: Likewise.
38562 * soft-fp/floatuntidf.c: Likewise.
38563 * soft-fp/floatuntisf.c: Likewise.
38564 * soft-fp/floatuntitf.c: Likewise.
38565 * soft-fp/trunctfxf2.c: Likewise.
38566
38567 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
38568 * soft-fp/fixdfti.c: Likewise.
38569 * soft-fp/fixsfti.c: Likewise.
38570 * soft-fp/fixtfti.c: Likewise.
38571 * soft-fp/fixunsdfti.c: Likewise.
38572 * soft-fp/fixunssfti.c: Likewise.
38573 * soft-fp/fixunstfti.c: Likewise.
38574 * soft-fp/floattidf.c: Likewise.
38575 * soft-fp/floattisf.c: Likewise.
38576 * soft-fp/floattitf.c: Likewise.
38577 * soft-fp/floatuntidf.c: Likewise.
38578 * soft-fp/floatuntisf.c: Likewise.
38579 * soft-fp/floatuntitf.c: Likewise.
38580 * soft-fp/trunctfxf2.c: Likewise.
38581
38582 2013-10-10 David S. Miller <davem@davemloft.net>
38583
38584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38585
38586 2013-10-10 Joseph Myers <joseph@codsourcery.com>
38587
38588 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
38589 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
38590 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
38591 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
38592 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
38593 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
38594 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
38595
38596 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
38597 for NaNs before doing comparisons on argument.
38598 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
38599 Likewise.
38600
38601 2013-10-10 Will Newton <will.newton@linaro.org>
38602
38603 * malloc/hooks.c (memalign_check): Ensure the value of bytes
38604 passed to _int_memalign does not overflow.
38605
38606 2013-10-10 Torvald Riegel <triegel@redhat.com>
38607
38608 * scripts/bench.pl: Add include-sources directive.
38609 * benchtests/README: Update documentation.
38610
38611 2013-10-10 Joseph Myers <joseph@codesourcery.com>
38612
38613 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
38614 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
38615 instead of FP_INIT_ROUNDMODE.
38616 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
38617 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
38618
38619 [BZ #16034]
38620 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
38621 copy class of input value.
38622 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
38623 not handle exceptions.
38624 * soft-fp/negsf2.c (__negsf2): Likewise.
38625 * soft-fp/negtf2.c (__negtf2): Likewise.
38626 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
38627
38628 2013-10-09 Joseph Myers <joseph@codesourcery.com>
38629
38630 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
38631 semicolon. From Linux kernel.
38632
38633 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
38634
38635 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
38636
38637 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
38638
38639 [BZ #156]
38640 * manual/socket.texi: Added statement about buffer
38641 for gethostbyname2_r.
38642
38643 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
38644
38645 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
38646 Use .p2align directive instead, throughout.
38647 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38648 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
38649 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
38650 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38651 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38652 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
38653 * sysdeps/x86_64/strchr.S: Likewise.
38654 * sysdeps/x86_64/strrchr.S: Likewise.
38655
38656 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38657
38658 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
38659
38660 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
38661
38662 * sysdeps/generic/math_private.h (__mpsin1): Remove
38663 declaration.
38664 (__mpcos1): Likewise.
38665 (__mpsin): New argument __range_reduce.
38666 (__mpcos): Likewise.
38667 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38668 (slow): Use __mpsin and __mpcos.
38669 (slow1): Likewise.
38670 (slow2): Likewise.
38671 (sloww): Likewise.
38672 (sloww1): Likewise.
38673 (sloww2): Likewise.
38674 (bsloww): Likewise.
38675 (bsloww1): Likewise.
38676 (bsloww2): Likewise.
38677 (cslow2): Likewise.
38678 (csloww): Likewise.
38679 (csloww1): Likewise.
38680 (csloww2): Likewise.
38681 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
38682 range_reduce. Merge in __mpsin1.
38683 (__mpcos): Likewise.
38684 (__mpsin1): Remove.
38685 (__mpcos1): Likewise.
38686
38687 2013-10-07 Joseph Myers <joseph@codesourcery.com>
38688
38689 * locale/loadlocale.c (_nl_intern_locale_data): Use
38690 LOCFILE_ALIGNED_P.
38691 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
38692 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
38693 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
38694 obstack data is appropriately aligned.
38695 (obstack_int32_grow_fast): Likewise.
38696 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
38697 * locale/programs/locfile.c (add_locale_uint32): Likewise.
38698 (add_locale_uint32_array): Likewise.
38699
38700 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38701
38702 * benchtests/Makefile: Remove ARGLIST and RET variables.
38703 ($(objpfx)bench-%.c): Pass only function name to the script.
38704 * benchtests/README: Update documentation.
38705 * benchtests/acos-inputs: Add new directives.
38706 * benchtests/acosh-inputs: Likewise.
38707 * benchtests/asin-inputs: Likewise.
38708 * benchtests/asinh-inputs: Likewise.
38709 * benchtests/atan-inputs: Likewise.
38710 * benchtests/atanh-inputs: Likewise.
38711 * benchtests/cos-inputs: Likewise.
38712 * benchtests/cosh-inputs: Likewise.
38713 * benchtests/exp-inputs: Likewise.
38714 * benchtests/log-inputs: Likewise.
38715 * benchtests/pow-inputs: Likewise.
38716 * benchtests/rint-inputs: Likewise.
38717 * benchtests/sin-inputs: Likewise.
38718 * benchtests/sinh-inputs: Likewise.
38719 * benchtests/tan-inputs: Likewise.
38720 * benchtests/tanh-inputs: Likewise.
38721 * scripts/bench.pl: Add support for new directives.
38722
38723 2013-10-07 Alan Modra <amodra@gmail.com>
38724
38725 * README: Fix careless merge.
38726
38727 2013-10-05 Alan Modra <amodra@gmail.com>
38728
38729 * NEWS: Mention powerpc64le support and bugs fixed.
38730 * README: Both big-endian and little-endian powerpc64 supported.
38731
38732 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
38733
38734 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
38735 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
38736 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
38737 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
38738
38739 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
38740
38741 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
38742 match prototype.
38743
38744 2013-10-04 Joseph Myers <joseph@codesourcery.com>
38745
38746 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
38747 Move -mhard-float appending from
38748 ports/sysdeps/powerpc/powerpc32/Makefile.
38749 [$(with-fp) = yes] (ASFLAGS): Likewise.
38750 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
38751 * sysdeps/powerpc/nofpu: Move directory from
38752 ports/sysdeps/powerpc/nofpu.
38753 * sysdeps/powerpc/soft-fp: Move directory from
38754 ports/sysdeps/powerpc/soft-fp.
38755 * sysdeps/powerpc/powerpc32/405: Move directory from
38756 ports/sysdeps/powerpc/powerpc32/405.
38757 * sysdeps/powerpc/powerpc32/440: Move directory from
38758 ports/sysdeps/powerpc/powerpc32/440.
38759 * sysdeps/powerpc/powerpc32/464: Move directory from
38760 ports/sysdeps/powerpc/powerpc32/464.
38761 * sysdeps/powerpc/powerpc32/476: Move directory from
38762 ports/sysdeps/powerpc/powerpc32/476.
38763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
38764 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
38765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
38766 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
38767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
38768 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
38769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
38770 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
38771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
38772 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
38773 * README: Update for powerpc-*-linux-gnu software floating point
38774 support in libc.
38775
38776 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
38777 case to powerpc/powerpc32*.
38778 * sysdeps/unix/sysv/linux/configure: Regenerated.
38779
38780 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
38781 (_FPU_MASK_OM): Define as 0x04.
38782 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
38783 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
38784 0x00c10080.
38785 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
38786 0x0000003c.
38787 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
38788
38789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
38790 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38791 getcontext_e500.
38792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
38793 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38794 setcontext_e500.
38795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
38796 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
38797 and setcontext_e500.
38798
38799 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
38800
38801 * locale/iso-3166.def: Update iso-1366.def and related occurrences
38802
38803 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38804
38805 * manual/threads.texi (Default Thread Attributes): Fix typo.
38806
38807 2013-10-04 Will Newton <will.newton@linaro.org>
38808
38809 * malloc/Makefile: Add tst-memalign.
38810 * malloc/tst-memalign.c: New file.
38811
38812 * malloc/tst-posix_memalign.c: Add comments.
38813 (do_test): Add comments and call free on all potentially
38814 allocated pointers. Add space after cast.
38815
38816 * malloc/tst-pvalloc.c: Add comments.
38817 (do_test): Add comments and call free on all potentially
38818 allocated pointers. Remove duplicate check for NULL pointer.
38819 Add space after cast.
38820
38821 * malloc/tst-valloc.c: Add comments.
38822 (do_test): Add comments and call free on all potentially
38823 allocated pointers. Remove duplicate check for NULL pointer.
38824 Add space after cast.
38825
38826 2013-10-04 Alan Modra <amodra@gmail.com>
38827
38828 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38829 Use stdint types in rather than __attribute__((mode())).
38830 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38831
38832 2013-10-04 Alan Modra <amodra@gmail.com>
38833
38834 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38835 Correct handling of unaligned relocs for little-endian.
38836 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38837
38838 2013-10-04 Alan Modra <amodra@gmail.com>
38839
38840 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
38841 * configure: Regenerate.
38842 * nptl/shlib-versions: Powerpc*le starts at 2.18.
38843 * shlib-versions: Likewise.
38844
38845 2013-10-04 Alan Modra <amodra@gmail.com>
38846
38847 * string/tester.c (test_memrchr): Increment reported test cycle.
38848
38849 2013-10-04 Alan Modra <amodra@gmail.com>
38850
38851 * string/test-memcpy.c (do_one_test): When reporting errors, print
38852 string address and don't overrun end of string.
38853
38854 2013-10-04 Alan Modra <amodra@gmail.com>
38855
38856 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
38857 insrdi. Make better use of reg selection to speed exit slightly.
38858 Schedule entry path a little better. Remove useless "are we done"
38859 checks on entry to main loop. Handle wrapping around zero address.
38860 Correct main loop count. Handle single left-over word from main
38861 loop inline rather than by using loop_small. Remove extra word
38862 case in loop_small caused by wrong loop count. Add little-endian
38863 support.
38864 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38865 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
38866 cache hint.
38867 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38868 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
38869 support. Avoid rlwimi.
38870 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
38871
38872 2013-10-04 Alan Modra <amodra@gmail.com>
38873
38874 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
38875 insrdi. Formatting.
38876 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
38877 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38878 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
38879 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
38880 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38881 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
38882
38883 2013-10-04 Alan Modra <amodra@gmail.com>
38884
38885 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
38886 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38887 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
38888 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
38889 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38890 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38891 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38892 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38893 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
38894 use of regs. Use power7 mtocrf. Tidy function tails.
38895
38896 2013-10-04 Alan Modra <amodra@gmail.com>
38897
38898 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
38899 Formatting. Consistently use rXXX register defines or rN defines.
38900 Use early exit labels that avoid restoring unused non-volatile regs.
38901 Make cr field use more consistent with rWORDn compares. Rename
38902 regs used as shift registers for unaligned loop, using rN defines
38903 for short lifetime/multiple use regs.
38904 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38905 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
38906 addi 1,1,64 to pop stack frame. Simplify return value code.
38907 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38908
38909 2013-10-04 Alan Modra <amodra@gmail.com>
38910
38911 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
38912 support. Correct typos, formatting. Optimize tail. Use insrdi
38913 rather than rlwimi.
38914 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
38915 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
38916 little-endian support. Correct typos.
38917 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
38918 rather than rlwimi.
38919 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
38920 in loop and entry code to keep "and." results.
38921 (strchr): Add little-endian support. Comment. Move cntlzd
38922 earlier in tail.
38923 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
38924
38925 2013-10-04 Alan Modra <amodra@gmail.com>
38926
38927 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
38928 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
38929 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
38930 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
38931
38932 2013-10-04 Alan Modra <amodra@gmail.com>
38933
38934 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
38935 (rTMP): Define as r11.
38936 (strcmp): Add little-endian support. Optimise tail.
38937 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
38938 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38939 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38940 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38941 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38942 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38943 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38944
38945 2013-10-04 Alan Modra <amodra@gmail.com>
38946
38947 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
38948 little-endian support. Remove unnecessary "are we done" tests.
38949 Handle "s" wrapping around zero and extremely large "size".
38950 Correct main loop count. Handle single left-over word from main
38951 loop inline rather than by using small_loop. Correct comments.
38952 Delete "zero" tail, use "end_max" instead.
38953 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
38954
38955 2013-10-04 Alan Modra <amodra@gmail.com>
38956
38957 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
38958 support. Don't branch over align.
38959 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
38960 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
38961 support. Rearrange tmp reg use to suit. Comment.
38962 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
38963
38964 2013-10-04 Alan Modra <amodra@gmail.com>
38965
38966 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
38967
38968 2013-10-04 Alan Modra <amodra@gmail.com>
38969
38970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
38971 conditional form of branch and link when obtaining pc.
38972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38973
38974 2013-10-04 Alan Modra <amodra@gmail.com>
38975
38976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
38977 HIWORD/LOWORD.
38978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
38979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
38980
38981 2013-10-04 Alan Modra <amodra@gmail.com>
38982
38983 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
38984 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
38985 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
38986 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
38987 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
38988 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38989 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
38990 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38991 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
38992 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
38993
38994 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
38995 Alistair Popple <alistair@ozlabs.au.ibm.com>
38996 Alan Modra <amodra@gmail.com>
38997
38998 [BZ #15723]
38999 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
39000 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
39001 _dl_hwcap access for little-endian.
39002 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
39003 destroy vmx regs when saving unaligned.
39004 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
39005 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
39006 destroy vmx regs when saving unaligned.
39007
39008 2013-10-04 Alan Modra <amodra@gmail.com>
39009
39010 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
39011 Don't use a union to pack hi/low value.
39012
39013 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
39014
39015 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
39016 for little-endian.
39017 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39018 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
39019 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
39020 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39021 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39022
39023 2013-10-04 Alan Modra <amodra@gmail.com>
39024
39025 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
39026 constants to usual value for .cst8 section, and remove redundant
39027 high address load.
39028 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
39029 constant for 0x1p52. Load little-endian words of double from
39030 correct stack offsets.
39031
39032 2013-10-04 Alan Modra <amodra@gmail.com>
39033
39034 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
39035 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
39036 words of double from correct stack offsets.
39037 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
39038 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
39039 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39040 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39041 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39042 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39043 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39044 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
39045 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
39046 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39047 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39048 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39049 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39050 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39051 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39052 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
39053 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
39054
39055 2013-10-04 Alan Modra <amodra@gmail.com>
39056
39057 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
39058 64-bit int/double union.
39059 (_FPU_SETCW): Likewise.
39060 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
39061 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
39062
39063 2013-10-04 Alan Modra <amodra@gmail.com>
39064
39065 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
39066 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
39067
39068 2013-10-04 Alan Modra <amodra@gmail.com>
39069
39070 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
39071 use vector int constants.
39072 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
39073
39074 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
39075
39076 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
39077 array with long long.
39078 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
39079 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
39080 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
39081 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
39082 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
39083 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
39084 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
39085 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
39086 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
39087 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
39088 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
39089 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
39090 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
39091
39092 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
39093
39094 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
39095 (__signbit): Likewise. Correct for little-endian.
39096 (__signbitl): Call __signbit.
39097 (lrint): Correct for little-endian.
39098 (lrintf): Call lrint.
39099
39100 2013-10-04 Alan Modra <amodra@gmail.com>
39101
39102 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
39103 union 32-bit int array member with 64-bit int array.
39104 (t515, tm256): Double rather than long double.
39105 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
39106
39107 2013-10-04 Alan Modra <amodra@gmail.com>
39108
39109 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
39110 Delete.
39111 (IEEE854_LONG_DOUBLE_BIAS): Delete.
39112 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
39113 version of math_ldbl.h.
39114
39115 2013-10-04 Alan Modra <amodra@gmail.com>
39116
39117 [BZ #15734], [BZ #15735]
39118 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
39119 all uses of ieee875 long double macros and unions. Simplify test
39120 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
39121 ldbl_extract_mantissa value for ix,iy exponents. Properly
39122 normalize after ldbl_extract_mantissa, and don't add hidden bit
39123 already handled. Don't treat low word of ieee854 mantissa like
39124 low word of IBM long double and mask off bit when testing for
39125 zero.
39126 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
39127 all uses of ieee875 long double macros and unions. Simplify tests
39128 for 0.0L and inf. Correct double adjustment of k. Delete dead code
39129 adjusting ha,hb. Simplify code setting kld. Delete two600 and
39130 two1022, instead use their values. Recognise that tests for large
39131 "a" and small "b" are mutually exclusive. Rename vars. Comment.
39132 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
39133 Rewrite all uses of ieee875 long double macros and unions. Simplify
39134 test for 0.0L and nan. Correct negation.
39135 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
39136 ieee875 long double macros and unions. Correct output for large
39137 magnitude x. Correct absolute value calculation.
39138 (__erfcl): Likewise.
39139 * math/libm-test.inc: Add tests for errors discovered in IBM long
39140 double versions of fmodl, remainderl, erfl and erfcl.
39141
39142 2013-10-04 Alan Modra <amodra@gmail.com>
39143
39144 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
39145 all uses of ieee854 long double macros and unions. Simplify tests
39146 for long doubles that are fully specified by the high double.
39147 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
39148 Likewise.
39149 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
39150 Remove dead code too.
39151 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
39152 (__ieee754_ynl): Likewise.
39153 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
39154 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
39155 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
39156 Remove dead code too.
39157 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
39158 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
39159 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
39160 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
39161 Simplify.
39162 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
39163 Simplify.
39164 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
39165 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
39166 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
39167 Comment on variable precision.
39168 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
39169 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39170 Likewise.
39171 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39172 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39173 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39174 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
39175 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
39176
39177 2013-10-04 Alan Modra <amodra@gmail.com>
39178
39179 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
39180 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
39181 all uses of ieee854 long double macros and unions.
39182 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
39183 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39184 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
39185 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
39186 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
39187 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39188 Likewise.
39189 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
39190 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39191 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
39192 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39193 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
39194 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
39195 Simplify sign and nan test too.
39196 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
39197 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
39198 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
39199 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
39200 Likewise.
39201 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39202 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
39203 Likewise.
39204 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39205 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
39206 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
39207 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
39208 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
39209 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
39210
39211 2013-10-04 Alan Modra <amodra@gmail.com>
39212
39213 * stdio-common/printf_size.c (__printf_size): Don't use
39214 union ieee854_long_double in fpnum union.
39215 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
39216 signbit macro to retrieve sign from long double.
39217 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
39218 retrieve sign from long double.
39219 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
39220 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
39221 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
39222 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39223 * math/test-misc.c (main): Don't use union ieee854_long_double.
39224
39225 2013-10-04 Alan Modra <amodra@gmail.com>
39226
39227 [BZ #15680]
39228 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
39229 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
39230 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
39231 calculation. Remove unnecessary test for denormal exponent.
39232 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
39233 Correct handling of denormals. Avoid undefined shift behaviour.
39234 Correct normalisation of low mantissa when low double is denormal.
39235 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
39236 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
39237 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
39238 Correct normalisation of low mantissa. Test for overflow of high
39239 mantissa and normalise.
39240 (ldbl_nearbyint): Use more readable constant for two52.
39241 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
39242 (__mpn_construct_long_double): Fix test for overflow of high
39243 mantissa and correct normalisation. Avoid undefined shift.
39244
39245 2013-10-04 Alan Modra <amodra@gmail.com>
39246
39247 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39248 (union ibm_extended_long_double): Define as an array of ieee754_double.
39249 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
39250 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
39251 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
39252 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39253 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39254 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
39255 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39256 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39257 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39258 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
39259 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
39260
39261 2013-10-03 Joseph Myers <joseph@codesourcery.com>
39262
39263 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
39264 page size instead of calling getpagesize.
39265
39266 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
39267 (LOCFILE_ALIGN_MASK): Likewise.
39268 (LOCFILE_ALIGN_UP): Likewise.
39269 (LOCFILE_ALIGNED_P): Likewise.
39270 * locale/programs/ld-collate.c (collate_output): Use the new
39271 macros instead of __alignof__ (int32_t).
39272 * locale/weight.h (findidx): Likewise.
39273
39274 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
39275
39276 [BZ #431]
39277 * manual/string.texi: Fix strncat and wcsncat.
39278
39279 2013-10-03 Brooks Moses <bmoses@google.com>
39280
39281 [BZ #15915]
39282 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
39283 * Makerules: ...here, and adjust associated comments.
39284
39285 2013-10-02 Will Newton <will.newton@linaro.org>
39286
39287 * malloc/Makefile: Add tst-pvalloc.
39288 * malloc/tst-pvalloc.c: New file.
39289
39290 2013-10-02 Will Newton <will.newton@linaro.org>
39291
39292 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
39293 improve test coverage.
39294
39295 2013-10-02 Will Newton <will.newton@linaro.org>
39296
39297 * malloc/Makefile: Add tst-posix_memalign.
39298 * malloc/tst-posix_memalign.c: New file.
39299
39300 2013-10-01 Eric Blake <eblake@redhat.com>
39301
39302 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
39303 Use __THROWNL rather than __THROW on static functions.
39304
39305 2013-09-30 Petr Machata <pmachata@redhat.com>
39306
39307 * elf/elf.h (R_AARCH64_ABS16): New macro.
39308 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
39309 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
39310 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
39311 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
39312 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
39313 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
39314 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
39315 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
39316 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
39317 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
39318 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
39319 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
39320 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
39321 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
39322 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
39323 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
39324 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
39325 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
39326 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
39327 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
39328 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
39329 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
39330 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
39331 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
39332 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
39333 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
39334 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
39335 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
39336 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
39337 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
39338 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
39339 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
39340 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
39341 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
39342 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
39343 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
39344 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
39345 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
39346 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
39347 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
39348 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
39349 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
39350 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
39351 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
39352 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
39353 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
39354 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
39355 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
39356 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
39357 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
39358 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
39359 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
39360 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
39361 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
39362 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
39363 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
39364 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
39365 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
39366 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
39367 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
39368 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
39369 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
39370 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
39371 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
39372 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
39373 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
39374 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
39375 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
39376 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
39377 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
39378 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
39379 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
39380 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
39381 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
39382 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
39383 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
39384 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
39385 (R_AARCH64_TLSDESC_LDR): Likewise.
39386 (R_AARCH64_TLSDESC_ADD): Likewise.
39387 (R_AARCH64_TLSDESC_CALL): Likewise.
39388
39389 2013-09-30 Andreas Schwab <schwab@suse.de>
39390
39391 [BZ #15048]
39392 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
39393 the nss database lookup.
39394 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39395 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39396
39397 2013-09-28 Mike Frysinger <vapier@gentoo.org>
39398
39399 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
39400
39401 2013-09-28 P. J. McDermott <pj@pehjota.net>
39402
39403 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
39404 ${Bash-specific parameter/pattern/string} parameter expansion.
39405 * sysdeps/unix/make-syscalls.sh: Likewise.
39406
39407 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39408
39409 * sysdeps/sh/stackguard-macros.h: New file.
39410
39411 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
39412
39413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
39414 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
39415 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
39416 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
39417 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39418 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
39419
39420 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39421
39422 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
39423 Fix thread ID register.
39424
39425 2013-09-25 Joseph Myers <joseph@codesourcery.com>
39426
39427 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
39428 [POSIX || UNIX98]: Require rather than permitting all symbols from
39429 <time.h>.
39430 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
39431 element of struct sched_param.
39432 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
39433 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
39434 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
39435 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
39436 constant.
39437
39438 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
39439
39440 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
39441 argument calculation.
39442
39443 2013-09-24 Joseph Myers <joseph@codesourcery.com>
39444
39445 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
39446 Expect macro.
39447 [POSIX] (pthread_attr_t): Do not require type.
39448 [POSIX] (pthread_cond_t): Likewise.
39449 [POSIX] (pthread_condattr_t): Likewise.
39450 [POSIX] (pthread_key_t): Likewise.
39451 [POSIX] (pthread_mutex_t): Likewise.
39452 [POSIX] (pthread_mutexattr_t): Likewise.
39453 [POSIX] (pthread_once_t): Likewise.
39454 [POSIX] (pthread_t): Likewise.
39455 [POSIX-based standards] (pthread_atfork): Expect function.
39456
39457 2013-09-24 Joseph Myers <joseph@codesourcery.com>
39458 Richard Sandiford <richard@codesourcery.com>
39459
39460 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
39461 (swap_endianness_p): New extern variable.
39462 (set_big_endian): New inline function.
39463 (maybe_swap_uint32): Likewise.
39464 (maybe_swap_uint32_array): Likewise.
39465 (maybe_swap_uint32_obstack): Likewise.
39466 * locale/programs/locfile.c: Include <stdbool.h>.
39467 (swap_endianness_p): New variable.
39468 (add_locale_uint32): Call maybe_swap_uint32.
39469 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
39470 (write_locale_data): Call maybe_swap_uint32_array.
39471 * locale/programs/ld-collate.c (obstack_int32_grow): Call
39472 maybe_swap_uint32.
39473 (obstack_int32_grow_fast): Likewise.
39474 (output_weightwc): Call maybe_swap_uint32_obstack.
39475 (collate_output): Likewise.
39476 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
39477 (OPT_LITTLE_ENDIAN): Likewise.
39478 (options): Add --little-endian and --big-endian options.
39479 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
39480 * locale/programs/locarchive.c: Include "locfile.h".
39481 (GET): New macro.
39482 (SET): Likewise.
39483 (INC): Likewise.
39484 (create_archive): Use the new macros to access fields of
39485 structures directly mapped from or written to locale archives.
39486 (oldlocrecentcmp): Likewise.
39487 (enlarge_archive): Likewise.
39488 (insert_name): Likewise.
39489 (add_alias): Likewise.
39490 (add_locale): Likewise.
39491 (delete_locales_from_archive): Likewise.
39492 (show_archive_content): Likewise.
39493 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
39494 locale data.
39495
39496 2013-09-24 Roland McGrath <roland@hack.frob.com>
39497
39498 * manual/freemanuals.texi: Updated from (newly) canonical copy at
39499 http://www.gnu.org/doc/freemanuals.texi.
39500 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
39501
39502 2013-09-24 Will Newton <will.newton@linaro.org>
39503
39504 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
39505 macro.
39506
39507 2013-09-23 Joseph Myers <joseph@codesourcery.com>
39508
39509 * locale/hashval.h (compute_hashval): Interpret bytes of key as
39510 unsigned char.
39511
39512 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
39513
39514 * manual/threads.texi (POSIX Threads): Fix a typo.
39515
39516 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
39517
39518 [BZ #14547]
39519 * string/tst-strcoll-overflow.c: New test case.
39520 * string/Makefile (xtests): Add tst-strcoll-overflow.
39521 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
39522 cache if string sizes may cause integer overflow.
39523
39524 [BZ #14547]
39525 * string/strcoll_l.c (coll_seq): New members rule, idx,
39526 save_idx and back_us.
39527 (get_next_seq_nocache): New function.
39528 (do_compare_nocache): New function.
39529 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
39530 when malloc fails.
39531
39532 2013-09-23 Carlos O'Donell <carlos@redhat.com>
39533
39534 [BZ #15754]
39535 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
39536 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
39537 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
39538
39539 [BZ #15754]
39540 * elf/Makefile (tests): Add tst-ptrguard1.
39541 (tests-static): Add tst-ptrguard1-static.
39542 (tst-ptrguard1-ARGS): Define.
39543 (tst-ptrguard1-static-ARGS): Define.
39544 * elf/tst-ptrguard1.c: New file.
39545 * elf/tst-ptrguard1-static.c: New file.
39546 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
39547 * sysdeps/i386/stackguard-macros.h: Likewise.
39548 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39549 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39550 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39551 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39552 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39553 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39554
39555 2013-09-23 Hector Marco <hecmargi@upv.es>
39556 Ismael Ripoll <iripoll@disca.upv.es>
39557 Carlos O'Donell <carlos@redhat.com>
39558
39559 [BZ #15754]
39560 * sysdeps/generic/stackguard-macros.h: Define
39561 __pointer_chk_guard_local and POINTER_CHK_GUARD.
39562 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
39563 Define __pointer_chk_guard_local.
39564 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
39565 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
39566
39567 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
39568
39569 [BZ #15859]
39570 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
39571
39572 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
39573
39574 * include/string.h (__ffs): Declare as hidden.
39575 * string/ffs.c (__ffs): Define as hidden.
39576 * sysdeps/i386/ffs.c (__ffs): Likewise.
39577 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
39578 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
39579 * sysdeps/s390/ffs.c (__ffs): Likewise.
39580 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
39581
39582 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
39583
39584 * NEWS: Mention malloc probes.
39585
39586 * malloc/arena.c (new_heap): New memory_heap_new probe.
39587 (grow_heap): New memory_heap_more probe.
39588 (shrink_heap): New memory_heap_less probe.
39589 (heap_trim): New memory_heap_free probe.
39590 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
39591 (systrim): New memory_sbrk_less probe.
39592 * manual/probes.texi: Document them.
39593
39594 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
39595 * manual/probes.texi: Document it.
39596
39597 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
39598 (__libc_realloc): Add memory_realloc_retry probe.
39599 (__libc_memalign): Add memory_memalign_retry probe.
39600 (__libc_valloc): Add memory_valloc_retry probe.
39601 (__libc_pvalloc): Add memory_pvalloc_retry probe.
39602 (__libc_calloc): Add memory_calloc_retry probe.
39603 * manual/probes.texi: Document them.
39604
39605 * malloc/arena.c (get_free_list): Add probe
39606 memory_arena_reuse_free_list.
39607 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
39608 and memory_arena_reuse.
39609 (arena_get2) [!PER_THREAD]: Likewise.
39610 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
39611 memory_arena_reuse_realloc.
39612 * manual/probes.texi: Document them.
39613
39614 * malloc/malloc.c (__libc_free): Add
39615 memory_mallopt_free_dyn_thresholds probe.
39616 (__libc_mallopt): Add multiple memory_mallopt probes.
39617 * manual/probes.texi: Document them.
39618
39619 * malloc/malloc.c: Include stap-probe.h.
39620 (__libc_mallopt): Add memory_mallopt probe.
39621 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
39622 * manual/probes.texi: New.
39623 * manual/Makefile (chapters): Add probes.
39624 * manual/threads.texi: Set next node.
39625
39626 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
39627
39628 [BZ #15963, #13985]
39629 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
39630 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
39631 Add `Chinese' to `nan' entry name.
39632
39633 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39634
39635 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
39636 (POLYNOMIAL): Likewise.
39637 (TAYLOR_SINCOS): Likewise.
39638 (TAYLOR_SLOW): Likewise.
39639 (__sin): Use TAYLOR_SINCOS.
39640 (__cos): Likewise.
39641 (slow): Use TAYLOR_SLOW.
39642 (sloww): Likewise.
39643 (bsloww): Likewise.
39644 (csloww): Likewise.
39645
39646 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39647
39648 * stdlib/strtod_l.c: Fix buffer overrun.
39649
39650 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39651
39652 * benchtests/Makefile (bench): Add sincos.
39653 * benchtests/bench-sincos.c: New file.
39654
39655 * math/libm-test.inc (cos_test_data): New test inputs.
39656 (sin_test_data): Likewise.
39657
39658 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
39659 macro.
39660 (__sin): Use it.
39661 (__cos): Likewise.
39662 (slow1): Likewise.
39663 (slow2): Likewise.
39664 (sloww1): Likewise.
39665 (sloww2): Likewise.
39666 (bsloww1): Likewise.
39667 (bsloww2): Likewise.
39668 (cslow2): Likewise.
39669 (csloww1): Likewise.
39670 (csloww2): Likewise.
39671
39672 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
39673 function.
39674 (__sin): Use it.
39675 (__cos): Likewise.
39676
39677 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
39678 gotos.
39679 (__cos): Likewise.
39680
39681 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
39682
39683 * config.h.in (HAVE_MIPS_NAN2008): New macro.
39684 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
39685 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
39686 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
39687 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
39688 * elf/cache.c (print_entry): Handle the new cache flags.
39689
39690 2013-09-18 Joseph Myers <joseph@codesourcery.com>
39691 Aldy Hernandez <aldyh@redhat.com>
39692
39693 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
39694 Change condition to [_SOFT_FLOAT].
39695 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
39696 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
39697 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
39698 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
39699 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
39700 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
39701 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
39702 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
39703 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
39704 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
39705 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
39706 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
39707 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
39708 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
39709 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
39710 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
39711 declaration.
39712
39713 2013-09-18 Joseph Myers <joseph@codesourcery.com>
39714
39715 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
39716 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39717 (__longjmp): Use LOAD_GP to load saved GPRs.
39718 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
39719 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39720 (__sigsetjmp): Use SAVE_GP to save GPRs.
39721
39722 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
39723 Do not append -msoft-float.
39724 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
39725
39726 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39727
39728 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
39729
39730 2013-09-17 Joseph Myers <joseph@codesourcery.com>
39731
39732 [BZ #15966]
39733 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
39734 (_FPU_GETCW): Use initial "__" on variable and field names but not
39735 on macro parameter name.
39736 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
39737 parentheses around reference to macro parameter.
39738
39739 2013-09-13 Richard Sandiford <richard@codesourcery.com>
39740
39741 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
39742 prototype.
39743 (ctype_startup): Use uint32_t in cast and sizeof for
39744 ctype->charnames.
39745
39746 2013-09-11 Jia Liu <proljc@gmail.com>
39747
39748 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
39749 __daddr_t_defined.
39750 [__FreeBSD__]: Likewise.
39751
39752 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
39753
39754 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
39755 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
39756 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
39757 (strchr): Remove __strchr_sse42 ifunc selection.
39758 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
39759 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
39760
39761 2013-09-11 Will Newton <will.newton@linaro.org>
39762
39763 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
39764 parameter to RES. Remove hardcoded 1000 value.
39765 * benchtests/bench-skeleton.c (main): Pass RES parameter
39766 to TIMING_INIT and multiply result by 1000.
39767
39768 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39769
39770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39771
39772 2013-09-11 Andreas Schwab <schwab@suse.de>
39773
39774 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39775 if not defined.
39776 (O_TMPFILE) [__USE_GNU]: Define.
39777 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
39778 Define.
39779
39780 2013-09-11 Will Newton <will.newton@linaro.org>
39781
39782 [BZ #15857]
39783 * malloc/malloc.c (__libc_memalign): Check the value of bytes
39784 does not overflow.
39785
39786 2013-09-11 Will Newton <will.newton@linaro.org>
39787
39788 [BZ #15856]
39789 * malloc/malloc.c (__libc_valloc): Check the value of bytes
39790 does not overflow.
39791
39792 2013-09-11 Will Newton <will.newton@linaro.org>
39793
39794 [BZ #15855]
39795 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
39796 does not overflow.
39797
39798 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
39799
39800 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
39801 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39802 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39803 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39804 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39805
39806 2013-09-10 Allan McRae <allan@archlinux.org>
39807
39808 [BZ #15748]
39809 * manual/arith.texi (Parsing of Floats): Clarify
39810 cross-reference.
39811
39812 [BZ #15849]
39813 * manual/install.texi (Running make install): Mention
39814 --enable-pt-chown.
39815 * INSTALL: Regenerated.
39816
39817 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
39818
39819 * csu/init-first.c (_init): Remove the !SHARED condition around
39820 FPU control word initialization.
39821 * elf/dl-support.c (_dl_fpu_control): New variable.
39822 (_dl_aux_init) <AT_FPUCW>: Initialize it.
39823 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
39824 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
39825 * math/test-fpucw-static.c: New file.
39826 * math/test-fpucw-ieee.c: New file.
39827 * math/test-fpucw-ieee-static.c: New file.
39828 * math/Makefile (tests): Add `test-fpucw-ieee' and
39829 `$(tests-static)'.
39830 (tests-static): New variable.
39831 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
39832 dependency to...
39833 [($(build-shared),yes)]
39834 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
39835 ... this.
39836 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
39837 New dependency.
39838
39839 2013-09-09 Allan McRae <allan@archlinux.org>
39840
39841 [BZ #15939]
39842 * manual/string.texi (Collation Functions): Fix typo in
39843 strcoll example.
39844 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
39845
39846 [BZ #15893]
39847 * stdlib/isomac.c (get_null_defines): Fix memory leak.
39848
39849 [BZ #15892]
39850 * libio/memstream.c (open_memstream): Fix memory leak.
39851 * libio/wmemstream.c (open_wmemstream): Likewise.
39852
39853 [BZ #15895]
39854 * nscd/netgroupcache.c: Fix nesting of ifdefs.
39855
39856 2013-09-09 Will Newton <will.newton@linaro.org>
39857
39858 * malloc/Makefile: Add tst-realloc to tests.
39859 * malloc/tst-realloc.c: New file.
39860
39861 2013-09-09 Allan McRae <allan@archlinux.org>
39862
39863 [BZ #15844]
39864 * COPYING: Update from GNU website to fix FSF address.
39865 * COPYING.LIB: Likewise.
39866
39867 2013-09-06 David S. Miller <davem@davemloft.net>
39868
39869 * po/zh_TW.po: Update Chinese (traditional) translation from
39870 translation project.
39871
39872 2013-09-06 Richard Sandiford <richard@codesourcery.com>
39873 Joseph Myers <joseph@codesourcery.com>
39874
39875 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
39876 "localeinfo.h".
39877 (obstack_chunk_alloc): New macro.
39878 (obstack_chunk_free): Likewise.
39879 (record_offset): New function.
39880 (init_locale_data): Likewise.
39881 (align_locale_data): Likewise.
39882 (add_locale_empty): Likewise.
39883 (add_locale_raw_data): Likewise.
39884 (add_locale_raw_obstack): Likewise.
39885 (add_locale_string): Likewise.
39886 (add_locale_wstring): Likewise.
39887 (add_locale_uint32): Likewise.
39888 (add_locale_uint32_array): Likewise.
39889 (add_locale_char): Likewise.
39890 (start_locale_structure): Likewise.
39891 (end_locale_structure): Likewise.
39892 (start_locale_prelude): Likewise.
39893 (end_locale_prelude): Likewise.
39894 (write_locale_data): Take locale_file structure rather than an
39895 iovec.
39896 * locale/programs/locfile.h: Include "obstack.h".
39897 (struct locale_file): Change to store locale file contents instead
39898 of header.
39899 (init_locale_data): New prototype.
39900 (align_locale_data): Likewise.
39901 (add_locale_empty): Likewise.
39902 (add_locale_raw_data): Likewise.
39903 (add_locale_raw_obstack): Likewise.
39904 (add_locale_string): Likewise.
39905 (add_locale_wstring): Likewise.
39906 (add_locale_uint32): Likewise.
39907 (add_locale_uint32_array): Likewise.
39908 (add_locale_char): Likewise.
39909 (start_locale_structure): Likewise.
39910 (end_locale_structure): Likewise.
39911 (start_locale_prelude): Likewise.
39912 (end_locale_prelude): Likewise.
39913 (write_locale_data): Update prototype.
39914 * locale/programs/3level.h (struct TABLE): Remove result field.
39915 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
39916 Use new locale_file interface.
39917 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
39918 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
39919 * locale/programs/ld-address.c (address_output): Use new
39920 locale_file interface.
39921 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
39922 NO_ADD_LOCALE.
39923 (collate_finish): Don't call collseq_table_finalize.
39924 (collate_output): Use new locale_file interface.
39925 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
39926 in file.
39927 (NO_FINALIZE): Change to NO_ADD_LOCALE.
39928 (TABLE): Move defines earlier in file.
39929 (ELEMENT): Likewise.
39930 (DEFAULT): Likewise.
39931 (wctrans_table_add): Move macro and inline function earlier in
39932 file.
39933 (struct wctype_table): Move type earlier in file.
39934 (add_locale_wctype_table): New static prototype.
39935 (struct locale_ctype_t): Use logical types instead of struct iovec
39936 pointers for members.
39937 (ctype_output): Use new locale_file interface.
39938 (wctype_table_finalize): Change to add_locale_wctype_table. Use
39939 new locale_file interface.
39940 (allocate_arrays): Update for use of new locale_file interface.
39941 * locale/programs/ld-identification.c (identification_output): Use
39942 new locale_file interface.
39943 * locale/programs/ld-measurement.c (measurement_output): Likewise.
39944 * locale/programs/ld-messages.c (messages_output): Likewise.
39945 * locale/programs/ld-monetary.c (monetary_output): Likewise.
39946 * locale/programs/ld-name.c (name_output): Likewise.
39947 * locale/programs/ld-numeric.c (numeric_output): Likewise.
39948 * locale/programs/ld-paper.c (paper_output): Likewise.
39949 * locale/programs/ld-telephone.c (telephone_output): Likewise.
39950 * locale/programs/ld-time.c (time_output): Likewise.
39951
39952 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39953
39954 * benchtests/Makefile: Add memrchr benchmark.
39955 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
39956 benchmark as memrchr.
39957 * benchtests/bench-memrchr-ifunc.c: New file.
39958 * benchtests/bench-memrchr.c: New file.
39959
39960 2013-09-06 Will Newton <will.newton@linaro.org>
39961
39962 * benchtests/Makefile (string-bench): Add memcpy.
39963
39964 2013-09-05 Carlos O'Donell <carlos@redhat.com>
39965 Cong Wang <amwang@redhat.com>
39966
39967 [BZ #15850]
39968 * sysdeps/unix/sysv/linux/bits/in.h
39969 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
39970 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
39971 before __USE_KERNEL_IPV6_DEFS uses.
39972 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
39973 IPPROTO_BEETPH.
39974 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
39975 sockaddr_in6, or ipv6_mreq.
39976
39977 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39978
39979 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
39980 memory access for final bytes in some large inputs.
39981 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
39982
39983 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39984
39985 * string/test-memrchr.c: New file.
39986 * string/test-memrchr-ifunc.c: New file.
39987 * string/Makefile: Add new memrchr testcase.
39988
39989 2013-09-05 Mike Frysinger <vapier@gentoo.org>
39990
39991 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
39992 fanotify_init returns EPERM.
39993
39994 2013-09-04 Joseph Myers <joseph@codesourcery.com>
39995
39996 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
39997 errors.
39998 (top level): Treat second token from macro or constant entries for
39999 allowed headers as allowed.
40000 * include/complex.h: Condition internal declarations on
40001 [!_ISOMAC].
40002 * include/fenv.h: Condition include of <stdbool.h> and internal
40003 declarations on [!_ISOMAC].
40004
40005 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
40006
40007 [BZ #15923]
40008 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
40009
40010 2013-09-04 Joseph Myers <joseph@codesourcery.com>
40011
40012 * configure.in (--enable-versioning): Remove configure option.
40013 (libc_cv_asm_symver_directive): Remove configure test.
40014 (libc_cv_ld_version_script_option): Likewise.
40015 (VERSIONING): Remove variable and AC_SUBST.
40016 (DO_VERSIONING): Remove AC_DEFINE.
40017 * configure: Regenerated.
40018 * config.h.in (DO_VERSIONING): Remove macro.
40019 * Makerules [$(versioning) = yes]: Change conditionals to
40020 [$(build-shared) = yes].
40021 * config.make.in (versioning): Remove variable.
40022 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
40023 [$(build-shared) = yes].
40024 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
40025 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
40026 * elf/Makefile [$(versioning) = yes]: Change conditionals to
40027 [$(build-shared) = yes].
40028 * extra-lib.mk [$(versioning) = yes]: Likewise.
40029 * hurd/Makefile [$(versioning) = yes]: Likewise.
40030 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
40031 [SHARED].
40032 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
40033 [SHARED].
40034 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40035 [SHARED && !NO_HIDDEN].
40036 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
40037 [SHARED].
40038 [SHARED && DO_VERSIONING]: Likewise..
40039 * libio/Makefile [$(versioning) = yes]: Change conditionals to
40040 [$(build-shared) = yes].
40041 * manual/install.texi (--disable-versioning): Remove
40042 documentation.
40043 * INSTALL: Regenerated.
40044 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
40045 to [SHARED].
40046 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
40047 [$(build-shared) = yes].
40048 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
40049 * sysdeps/i386/i686/multiarch/strstr-c.c
40050 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40051 [SHARED && !NO_HIDDEN].
40052 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
40053 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
40054 * sysdeps/powerpc/powerpc32/dl-machine.c
40055 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
40056 * sysdeps/powerpc/powerpc32/sysdep.h
40057 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
40058 to [SHARED && PIC && !NO_HIDDEN].
40059 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
40060 conditional to [SHARED].
40061
40062 2013-09-04 Will Newton <will.newton@linaro.org>
40063
40064 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
40065 * benchtests/bench-string.h: Include bench-timing.h instead
40066 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
40067 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
40068 call to HP_TIMING_DIFF_INIT.
40069 * benchtests/bench-memccpy.c: Use bench-timing.h macros
40070 instead of hp-timing.h macros.
40071 * benchtests/bench-memchr.c: Likewise.
40072 * benchtests/bench-memcmp.c: Likewise.
40073 * benchtests/bench-memcpy.c: Likewise.
40074 * benchtests/bench-memmem.c: Likewise.
40075 * benchtests/bench-memmove.c: Likewise.
40076 * benchtests/bench-memset.c: Likewise.
40077 * benchtests/bench-rawmemchr.c: Likewise.
40078 * benchtests/bench-strcasecmp.c: Likewise.
40079 * benchtests/bench-strcasestr.c: Likewise.
40080 * benchtests/bench-strcat.c: Likewise.
40081 * benchtests/bench-strchr.c: Likewise.
40082 * benchtests/bench-strcmp.c: Likewise.
40083 * benchtests/bench-strcpy.c: Likewise.
40084 * benchtests/bench-strcpy_chk.c: Likewise.
40085 * benchtests/bench-strlen.c: Likewise.
40086 * benchtests/bench-strncasecmp.c: Likewise.
40087 * benchtests/bench-strncat.c: Likewise.
40088 * benchtests/bench-strncmp.c: Likewise.
40089 * benchtests/bench-strncpy.c: Likewise.
40090 * benchtests/bench-strnlen.c: Likewise.
40091 * benchtests/bench-strpbrk.c: Likewise.
40092 * benchtests/bench-strrchr.c: Likewise.
40093 * benchtests/bench-strspn.c: Likewise.
40094 * benchtests/bench-strstr.c: Likewise.
40095
40096 2013-09-04 Will Newton <will.newton@linaro.org>
40097
40098 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
40099
40100 2013-09-03 Joseph Myers <joseph@codesourcery.com>
40101
40102 [BZ #15427]
40103 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
40104 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
40105 * math/libm-test.inc (lgamma_test_data): Add more tests.
40106 * sysdeps/i386/fpu/libm-test-ulps: Update.
40107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40108
40109 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
40110
40111 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
40112 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40113 Add ifunc.
40114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40115 Add strcmp-sse2-unaligned
40116 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
40117
40118 2013-09-02 Mike Frysinger <vapier@gentoo.org>
40119
40120 * Versions.def (libc): Add GLIBC_2.19.
40121
40122 2013-09-02 Mike Frysinger <vapier@gentoo.org>
40123
40124 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
40125 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
40126
40127 2013-09-02 Joseph Myers <joseph@codesourcery.com>
40128
40129 [BZ #14155]
40130 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
40131 intermediate calculations in recurrence.
40132 (__ieee754_ynf): Likewise.
40133 * math/libm-test.inc (jn_test_data): Do not allow spurious
40134 underflow exception. Add more tests.
40135 (yn_test_data): Add more tests.
40136 * sysdeps/i386/fpu/libm-test-ulps: Update.
40137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40138
40139 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
40140
40141 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
40142
40143 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
40144
40145 * csu/init-first.c: Fix then/than typos.
40146 * locale/programs/ld-collate.c: Likewise.
40147 * locale/programs/linereader.h: Likewise.
40148 * manual/charset.texi: Likewise.
40149 * manual/filesys.texi: Likewise.
40150 * manual/stdio.texi: Likewise.
40151 * manual/string.texi: Likewise.
40152 * stdlib/fmtmsg.c: Likewise.
40153 * sysdeps/i386/stpncpy.S: Likewise.
40154 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40155 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40156 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40157 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40158
40159 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
40160
40161 * elf/dl-open.c: Fix typos.
40162 * iconvdata/gbbig5.c: Likewise.
40163 * iconvdata/iso-2022-jp.c: Likewise.
40164 * iconv/gconv_int.h: Likewise.
40165 * iconv/loop.c: Likewise.
40166 * nis/rpcsvc/nis.h: Likewise.
40167 * resolv/ns_name.c: Likewise.
40168 * stdio-common/vfscanf.c: Likewise.
40169 * streams/stropts.h: Likewise.
40170 * sunrpc/rpc_thread.c: Likewise.
40171 * sysdeps/i386/strpbrk.S: Likewise.
40172 * sysdeps/ieee754/k_standard.c: Likewise.
40173 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40174 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40175 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
40176 * sysdeps/mach/hurd/profil.c: Likewise.
40177 * sysdeps/s390/dl-procinfo.h: Likewise.
40178 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
40179 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
40180 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
40181 * sysdeps/x86_64/dl-trampoline.S: Likewise.
40182 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40183
40184 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
40185
40186 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
40187 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
40188
40189 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
40190
40191 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
40192 aix specific files.
40193 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
40194 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
40195 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
40196 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
40197 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
40198 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
40199 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
40200 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
40201
40202 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
40203 Roland McGrath <roland@hack.frob.com>
40204
40205 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
40206 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
40207
40208 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
40209
40210 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
40211 __executable_start symbol instead of _start.
40212
40213 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
40214
40215 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
40216 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
40217 Move macros to...
40218 * sysdeps/gnu/ldsodefs.h: ... this new file.
40219
40220 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
40221 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
40222 instead of ELFOSABI_LINUX.
40223
40224 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
40225 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
40226 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
40227 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
40228 Likewise.
40229 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
40230 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
40231 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
40232 Likewise.
40233 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
40234 (ibm_extended_long_double): Add ieee_nan member.
40235 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
40236 (do_test): New function.
40237
40238 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
40239 TEST_TRUNC.
40240 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
40241 functions, renamed from truncdfsf_test, trunctfsf_test,
40242 trunctfdf_test.
40243 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
40244 functions.
40245 (do_test): Run all these.
40246
40247 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
40248
40249 * argp/argp-help.c: Fix typos.
40250 * argp/argp-parse.c: Likewise.
40251 * debug/backtracesyms.c: Likewise.
40252 * elf/elf.h: Likewise.
40253 * malloc/malloc.c: Likewise.
40254 * nis/nis_print.c: Likewise.
40255 * resolv/res_comp.c: Likewise.
40256 * stdlib/stdlib.h: Likewise.
40257 * sunrpc/clnt_tcp.c: Likewise.
40258 * sunrpc/clnt_udp.c: Likewise.
40259 * sunrpc/clnt_unix.c: Likewise.
40260 * sysdeps/unix/bsd/ptsname.c: Likewise.
40261 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
40262 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
40263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
40264 Likewise.
40265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
40266 Likewise.
40267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
40268 Likewise.
40269 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40270
40271 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40272
40273 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
40274 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40275
40276 2013-08-27 Mike Frysinger <vapier@gentoo.org>
40277
40278 [BZ #15897]
40279 * dlfcn/Makefile (tests): Add bug-dl-leaf.
40280 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
40281 ($(objpfx)bug-dl-leaf): New rule.
40282 ($(objpfx)bug-dl-leaf.so): Likewise.
40283 ($(objpfx)bug-dl-leaf.out): Likewise.
40284 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
40285 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
40286 * dlfcn/bug-dl-leaf.c: New test.
40287 * dlfcn/bug-dl-leaf-lib.c: Likewise.
40288 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
40289 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
40290 (dlclose): Likewise.
40291 (dlmopen): Likewise.
40292
40293 2013-08-27 Roland McGrath <roland@hack.frob.com>
40294
40295 * include/netdb.h [!_ISOMAC]:
40296 Don't include <tls.h>.
40297 (h_errno, __libc_h_errno): Move declaration and macros out of
40298 [_LIBC_REENTRANT].
40299
40300 * include/resolv.h [_RESOLV_H_]:
40301 Don't include <tls.h>.
40302 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
40303 * resolv/res_libc.c: Don't include <tls.h>.
40304 (_res): Use __attribute__ ((nocommon)) in place of
40305 __attribute__ ((section (".bss"))).
40306
40307 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
40308 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
40309
40310 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
40311
40312 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
40313 only under [SIOCGIFCONF && SIOCGIFNETMASK].
40314
40315 * resolv/res_mkquery.c: Include <sys/time.h>.
40316
40317 * inet/ifreq.c: Moved to ...
40318 * sysdeps/unix/ifreq.c: ... here.
40319 * inet/ifreq.c: New file, true stub version.
40320
40321 * socket/sa_len.c: New file.
40322 * socket/Makefile (aux): Add it.
40323 * sysdeps/unix/sysv/linux/Makefile
40324 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
40325 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
40326 and #include <socket/sa_len.c>.
40327 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
40328 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
40329
40330 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
40331 * bits/socket.h: ... here.
40332
40333 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
40334 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
40335 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
40336
40337 2013-08-27 Andreas Schwab <schwab@suse.de>
40338
40339 [BZ #15736]
40340 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
40341 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
40342 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
40343 * string/test-strcasecmp.c (test_main): Run tests in several
40344 locales.
40345 * string/test-strncasecmp.c (test_main): Likewise.
40346
40347 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
40348 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
40349 to __strcasecmp_nonascii and __strncasecmp_nonascii.
40350 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
40351 (__strncasecmp_ssse3) [PIC]: Likewise.
40352
40353 2013-08-26 Roland McGrath <roland@hack.frob.com>
40354
40355 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
40356
40357 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
40358 instead of explicitly declaring xdecrypt.
40359 * nis/nss_nis/nis-publickey.c: Likewise.
40360
40361 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40362
40363 [BZ #15890]
40364 * nscd/aicache.c: Include res_hconf.h.
40365 (addhstaiX): Initialize res_hconf.
40366
40367 2013-08-26 Andreas Schwab <schwab@suse.de>
40368
40369 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
40370 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
40371
40372 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40373
40374 * nscd/aicache.c (addhstaiX): Fix indentation.
40375
40376 2013-08-25 Mike Frysinger <vapier@gentoo.org>
40377
40378 * configure.ac: Quote $build_pt_chown test.
40379 * configure: Regenerated.
40380
40381 2013-08-23 Joseph Myers <joseph@codesourcery.com>
40382
40383 [BZ #15532]
40384 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
40385 * math/s_cexpf.c (__cexpf): Likewise.
40386 * math/s_cexpl.c (__cexpl): Likewise.
40387 * math/libm-test.inc (cexp_test_data): Correct expected return
40388 value for NaN + i0. Add another test.
40389
40390 2013-08-22 David S. Miller <davem@davemloft.net>
40391
40392 * po/ca.po: Update Catalan translation from translation project.
40393 * po/uk.po: Add Ukrainian translations from translation project.
40394
40395 2013-08-21 Joseph Myers <joseph@codesourcery.com>
40396
40397 [BZ #15797]
40398 * math/s_fdim.c (__fdim): Check for infinite arguments if result
40399 is infinite, not alongside NaN test.
40400 * math/s_fdimf.c (__fdimf): Likewise.
40401 * math/s_fdiml.c (__fdiml): Likewise.
40402 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
40403 errno is unchanged.
40404
40405 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
40406
40407 * argp/argp-help.c: Fix typos.
40408 * crypt/speeds.c: Likewise.
40409 * csu/check_fds.c: Likewise.
40410 * elf/dl-load.c: Likewise.
40411 * elf/dl-open.c: Likewise.
40412 * elf/reldep3.c: Likewise.
40413 * elf/reldep.c: Likewise.
40414 * elf/sprof.c: Likewise.
40415 * iconv/iconv_charmap.c: Likewise.
40416 * iconv/skeleton.c: Likewise.
40417 * iconv/strtab.c: Likewise.
40418 * io/lockf64.c: Likewise.
40419 * libio/libioP.h: Likewise.
40420 * resolv/gai_notify.c: Likewise.
40421 * resolv/ns_name.c: Likewise.
40422 * resolv/ns_samedomain.c: Likewise.
40423 * resolv/res_send.c: Likewise.
40424 * stdlib/random.c: Likewise.
40425 * sunrpc/rpc/xdr.h: Likewise.
40426 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
40427 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40428 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40429 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40430 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40431 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40432 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40433 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40434 * sysdeps/mach/hurd/check_fds.c: Likewise.
40435 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40436 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40437 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40438 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40439 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40440 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40441 * sysdeps/pthread/aio_notify.c: Likewise.
40442 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
40443 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
40444 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
40445 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40446 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
40447
40448 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40449
40450 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
40451 version if bit_Slow_SSE4_2 is set.
40452 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40453 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40454
40455 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40456
40457 [BZ #15867]
40458 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
40459 trampoline stack frame information.
40460 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
40461 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
40462 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
40463 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
40464 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
40465 * sysdeps/unix/sysv/linux/powerpc/init-first.c
40466 (_libc_vdso_platform_setup): Initialize the signal trampolines.
40467 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
40468 sa_flags value.
40469 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
40470 interrupting a syscall and set with option SA_SIGINFO.
40471
40472 2013-08-20 Joseph Myers <joseph@codesourcery.com>
40473
40474 [BZ #15531]
40475 * math/s_cproj.c (__cproj): Only return an infinity if one part of
40476 argument is infinite.
40477 * math/s_cprojf.c (__cprojf): Likewise.
40478 * math/s_cprojl.c (__cprojl): Likewise.
40479 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
40480 * math/libm-test.inc (cproj_test_data): Add more tests.
40481
40482 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
40483
40484 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
40485 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
40486 size. Use __ffs to determine corresponding shift.
40487
40488 2013-08-20 Joseph Myers <joseph@codesourcery.com>
40489 Roland McGrath <roland@hack.frob.com>
40490
40491 * Makefile (INSTALL): Remove trailing blank lines from output of
40492 makeinfo.
40493
40494 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40495
40496 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
40497 Align 32 bit compat elf_greg to 8 bytes.
40498
40499 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
40500
40501 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
40502
40503 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40504
40505 * string/strcoll_l.c (coll_seq): New structure.
40506 (get_next_seq_cached): New function.
40507 (get_next_seq): New function.
40508 (do_compare): New function.
40509 (STRCOLL): Use GNU style definition. Simplify implementation
40510 by using get_next_seq, get_next_seq_cached and do_compare.
40511
40512 2013-08-16 Florian Weimer <fweimer@redhat.com>
40513
40514 [BZ #14699]
40515 CVE-2013-4237
40516 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
40517 member.
40518 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
40519 member.
40520 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
40521 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
40522 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
40523 conditional.
40524 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
40525 GETDENTS_64BIT_ALIGNED.
40526 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40527 * manual/filesys.texi (Reading/Closing Directory): Document
40528 ENAMETOOLONG return value of readdir_r. Recommend readdir more
40529 strongly.
40530 * manual/conf.texi (Limits for Files): Add portability note to
40531 NAME_MAX, PATH_MAX.
40532 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
40533
40534 2013-08-13 Andreas Schwab <schwab@suse.de>
40535
40536 [BZ #15749]
40537 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
40538 of fabs.
40539 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
40540 LDBL_MAX_EXP >= 16384]: Add tests for it.
40541
40542 2013-08-12 David S. Miller <davem@davemloft.net>
40543
40544 * version.h (RELEASE): Set to "development".
40545 (VERSION): Set to "2.18.90".
40546 * NEWS: Add 2.19 section.
40547
40548 2013-08-03 David S. Miller <davem@davemloft.net>
40549
40550 * po/ko.po: Update Korean translation from translation project.
40551
40552 2013-08-01 David S. Miller <davem@davemloft.net>
40553
40554 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
40555 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
40556 Bilka.
40557
40558 2013-07-30 David S. Miller <davem@davemloft.net>
40559
40560 * po/fr.po: Update French translation from translation project.
40561
40562 2013-07-28 David S. Miller <davem@davemloft.net>
40563
40564 * po/cs.po: Update Czech translation from translation project.
40565
40566 * po/sv.po: Update Swedish translation from translation project.
40567
40568 2013-07-27 David S. Miller <davem@davemloft.net>
40569
40570 * po/eo.po: Update Esperanto translation from translation project.
40571
40572 * po/vi.po: Update Vietnamese translation from translation project.
40573
40574 * po/de.po: Update German translation from translation project.
40575
40576 2013-07-26 David S. Miller <davem@davemloft.net>
40577
40578 * po/bg.po: Update Bulgarian translation from translation project.
40579
40580 * po/nl.po: Update Dutch translation from translation project.
40581 * po/pl.po: Update Polish translation from translation project.
40582 * po/ru.po: Update Russian translation from translation project.
40583
40584 2013-07-24 David S. Miller <davem@davemloft.net>
40585
40586 * po/libc.pot: Update.
40587
40588 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40589
40590 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
40591 variable page size.
40592 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
40593 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
40594 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
40595
40596 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40597
40598 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
40599
40600 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40601 Andreas Schwab <schwab@suse.de>
40602 Roland McGrath <roland@hack.frob.com>
40603 Joseph Myers <joseph@codesourcery.com>
40604 Carlos O'Donell <carlos@redhat.com>
40605
40606 [BZ #15755]
40607 * config.h.in: Define HAVE_PT_CHOWN.
40608 * config.make.in (build-pt-chown): New variable.
40609 * configure.in (--enable-pt_chown): New configure option.
40610 * configure: Regenerate.
40611 * login/Makefile: Include Makeconfig. Build pt_chown only if
40612 build-pt-chown is enabled.
40613 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
40614 pt_chown to fix pty ownership.
40615 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
40616 CLOSE_ALL_FDS.
40617 * manual/install.texi (Configuring and compiling): Mention
40618 --enable-pt_chown. Add @findex for grantpt.
40619 * INSTALL: Regenerate.
40620
40621 2013-07-20 David S. Miller <davem@davemloft.net>
40622
40623 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
40624 difference between 32-bit and 64-bit.
40625
40626 2013-07-15 Carlos O'Donell <carlos@redhat.com>
40627
40628 [BZ #15711]
40629 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
40630 Avoid system header dependency with -ffreestanding.
40631 ($(objpfx)bits/syscall%d): Likewise.
40632
40633 2013-07-13 David S. Miller <davem@davemloft.net>
40634
40635 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
40636 underflows from atanl/atan2l due to bug 15319.
40637 (casinh_test_data): Likewise.
40638
40639 2013-07-07 David S. Miller <davem@davemloft.net>
40640
40641 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
40642
40643 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
40644
40645 * sysdeps/i386/fpu/libm-test-ulps: Update.
40646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40647
40648 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40649
40650 * configure.in (--enable-lock-elision): Fix message text.
40651 * INSTALL: Regenerate.
40652 * configure: Regenerate.
40653
40654 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40655
40656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40657
40658 2013-07-03 Andreas Jaeger <aj@suse.de>
40659
40660 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
40661 define.
40662 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
40663 (ptrace_peeksiginfo_args): Add.
40664 (__ptrace_peeksiginfo_flags): Add.
40665 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40666 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40667 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40668
40669 2013-07-03 Allan McRae <allan@archlinux.org>
40670
40671 * sysdeps/i386/fpu/libm-test-ulps: Update.
40672
40673 2013-07-02 David S. Miller <davem@davemloft.net>
40674
40675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40676
40677 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
40678
40679 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40680
40681 2013-07-02 Joseph Myers <joseph@codesourcery.com>
40682
40683 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40685
40686 2013-07-02 Andi Kleen <ak@linux.intel.com>
40687
40688 * config.h.in (ENABLE_LOCK_ELISION): Add.
40689 * configure.in (--enable-lock-elision): Add option.
40690 * manual/install.texi: Document --enable lock elision.
40691 * configure: Regenerate
40692 * INSTALL: Regenerate.
40693
40694 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
40695
40696 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
40697 SSE4.2 strcasecmp for libc.a.
40698 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
40699
40700 2013-07-02 Joseph Myers <joseph@codesourcery.com>
40701
40702 [BZ #13304]
40703 * soft-fp/op-common.h (_FP_FMA): New macro.
40704 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
40705 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
40706 (_FP_MUL_MEAT_1_imm): ... here.
40707 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
40708 (_FP_MUL_MEAT_1_wide): ... here.
40709 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
40710 (_FP_MUL_MEAT_1_hard): ... here.
40711 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
40712 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
40713 (_FP_MUL_MEAT_2_wide): ... here.
40714 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
40715 (_FP_MUL_MEAT_2_wide_3mul): ... here.
40716 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
40717 (_FP_MUL_MEAT_2_gmp): ... here.
40718 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
40719 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
40720 (_FP_MUL_MEAT_4_wide): ... here.
40721 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
40722 (_FP_MUL_MEAT_4_gmp): ... here.
40723 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
40724 (_FP_WFRACBITS_DW_S): Likewise.
40725 (_FP_WFRACXBITS_DW_S): Likewise.
40726 (_FP_HIGHBIT_DW_S): Likewise.
40727 (FP_FMA_S): Likewise.
40728 (_FP_FRAC_HIGH_DW_S): Likewise.
40729 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
40730 (_FP_WFRACBITS_DW_D): Likewise.
40731 (_FP_WFRACXBITS_DW_D): Likewise.
40732 (_FP_HIGHBIT_DW_D): Likewise.
40733 (FP_FMA_D): Likewise.
40734 (_FP_FRAC_HIGH_DW_D): Likewise.
40735 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
40736 (_FP_WFRACBITS_DW_E): Likewise.
40737 (_FP_WFRACXBITS_DW_E): Likewise.
40738 (_FP_HIGHBIT_DW_E): Likewise.
40739 (FP_FMA_E): Likewise.
40740 (_FP_FRAC_HIGH_DW_E): Likewise.
40741 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
40742 (_FP_WFRACBITS_DW_Q): Likewise.
40743 (_FP_WFRACXBITS_DW_Q): Likewise.
40744 (_FP_HIGHBIT_DW_Q): Likewise.
40745 (FP_FMA_Q): Likewise.
40746 (_FP_FRAC_HIGH_DW_Q): Likewise.
40747 * soft-fp/fmasf4.c: New file.
40748 * soft-fp/fmadf4.c: Likewise.
40749 * soft-fp/fmatf4.c: Likewise.
40750
40751 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40752
40753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
40754 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
40755 Silvermont.
40756 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
40757 macro.
40758 (index_Slow_SSE4_2): Likewise.
40759 (index_Prefer_PMINUB_for_stringop): Likewise.
40760 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
40761 bit_Slow_SSE4_2 is set.
40762 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40763 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40764
40765 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40766
40767 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
40768 rtld_global._dl_hwcap2.
40769 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
40770 POWER8.
40771 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
40772 POWER8 feature descriptions defined in _dl_hwcap2.
40773 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
40774 string handling for POWER8 feature bits.
40775 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
40776 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
40777 _dl_powerpc_cap_flags.
40778 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
40779 * sysdeps/powerpc/rtld-global-offsets.sym
40780 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
40781 _dl_hwcap2 in the rtld_global_ro structure.
40782
40783 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40784
40785 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
40786 hardware capabilities in support of AT_HWCAP2.
40787 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
40788 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
40789 GLRO(dl_hwcap2).
40790 (_dl_show_auxv): Add support for calling _dl_procinfo to display
40791 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
40792 explicitly the unknown a_type display mechanism is used.
40793 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
40794 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
40795 struct member.
40796 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
40797 to macro prototype for AT_HWCAP2 support.
40798 * sysdeps/i386/dl-procinfo.h: Likewise.
40799 * sysdeps/s390/dl-procinfo.h: Likewise.
40800 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
40801 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
40802 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
40803 return -1 for unknown a_type display fallback.
40804 * sysdeps/sparc/dl-procinfo.h: Likewise.
40805 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
40806 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
40807
40808 2013-06-28 Joseph Myers <joseph@codesourcery.com>
40809
40810 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
40811 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
40812
40813 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
40814
40815 [BZ #12492]
40816 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
40817 mprotect making __stack_prot writable.
40818
40819 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
40820 Joseph Myers <joseph@codesourcery.com>
40821
40822 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
40823 as being properly aligned.
40824
40825 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
40826
40827 * dlfcn/modstatic5.c: New file.
40828 * dlfcn/tststatic5.c: New file.
40829 * dlfcn/Makefile (tests): Add tststatic5.
40830 (tests-static): Likewise.
40831 (modules-names): Add modstatic5.
40832 (tststatic5-ENV): New variable.
40833 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
40834
40835 [BZ #15022]
40836 * elf/dl-support.c (_dl_main_map): New variable.
40837 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
40838 (_dl_nns, _dl_load_adds): Set to 1.
40839 (_dl_initial_searchlist): Refer to _dl_main_map.
40840 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
40841 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
40842 call to _dl_get_origin.
40843 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
40844 around call_map.
40845 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
40846 * dlfcn/modstatic3.c: New file.
40847 * dlfcn/tststatic3.c: New file.
40848 * dlfcn/tststatic4.c: New file.
40849 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
40850 (tests-static): Likewise.
40851 (modules-names): Add modstatic3.
40852 (tststatic3-ENV, tststatic4-ENV): New variables.
40853 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
40854 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
40855
40856 2013-06-26 Joseph Myers <joseph@codesourcery.com>
40857
40858 * configure.in (CC): Require GCC version 4.4 or later.
40859 * configure: Regenerated.
40860 * manual/install.texi (Tools for Compilation): Update GCC version
40861 requirement.
40862 * INSTALL: Regenerated.
40863
40864 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40865
40866 [BZ #15674]
40867 * string/test-memcmp.c (check2): New.
40868 (main): Call check2.
40869
40870 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
40871
40872 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
40873
40874 [BZ #15022]
40875 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
40876 over to...
40877 (dl_open_worker) [!SHARED]: ... here.
40878
40879 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40880
40881 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
40882
40883 2013-06-25 Richard Henderson <rth@redhat.com>
40884
40885 * locale/programs/locarchive.c: Include <libc-internal.h>
40886
40887 2013-06-25 Joseph Myers <joseph@codesourcery.com>
40888
40889 * manual/texinfo.tex: Update to version 2013-06-21.17, with
40890 trailing whitespace removed.
40891
40892 2013-06-24 Mike Frysinger <vapier@gentoo.org>
40893
40894 [BZ #10283]
40895 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
40896 * locale/programs/locarchive.c: Include libc-mmap.h.
40897 (prepare_address_space): Take two new outputs (the mmap base and len).
40898 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
40899 values.
40900 (create_archive): Declare new mmap base and len values for
40901 prepare_address_space, and store the result in ah.
40902 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
40903 (enlarge_archive): If ah->mmap_base is not NULL, use that and
40904 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40905 Declare new mmap base and len values for
40906 prepare_address_space, and store the result in new_ah.
40907 (open_archive): Declare new mmap base and len values for
40908 prepare_address_space, and store the result in ah.
40909 (close_archive): If ah->mmap_base is not NULL, use that and
40910 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40911 * sysdeps/generic/libc-mmap.h: New file.
40912
40913 2013-06-24 Mike Frysinger <vapier@gentoo.org>
40914
40915 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
40916 (ALIGN_UP): Likewise.
40917 (PTR_ALIGN_DOWN): Likewise.
40918 (PTR_ALIGN_UP): Likewise.
40919
40920 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40921
40922 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
40923 entry mapped to PPC_PLATFORM_POWER8.
40924 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
40925 POWER8.
40926 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
40927 (_dl_string_platform): Add case for exporting platform position for
40928 POWER8.
40929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
40930 search path to sysdeps/powerpc/powerpc32/power8 directory.
40931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
40932 search path to sysdeps/powerpc/powerpc64/power8 directory.
40933 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
40934 power7 directories.
40935 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
40936 power7 directories.
40937
40938 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
40939
40940 * INSTALL: Regenerate.
40941
40942 * nscd/connections.c (nscd_init): Fix comment.
40943
40944 2013-06-22 Joseph Myers <joseph@codesourcery.com>
40945
40946 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
40947
40948 [BZ #15667]
40949 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
40950 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
40951
40952 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
40953
40954 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
40955 DL_DST_REQ_STATIC.
40956 (DL_DST_REQ_STATIC): Remove macro.
40957
40958 2013-06-21 Joseph Myers <joseph@codesourcery.com>
40959
40960 [BZ #7006]
40961 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
40962 with a shift of 0 bits.
40963
40964 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
40965
40966 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
40967 $(tststatic-ENV).
40968
40969 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40970
40971 [BZ #15655]
40972 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
40973
40974 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40975
40976 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
40977 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
40978 accepts -fno-tree-loop-distribute-patterns.
40979 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
40980 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
40981 recursive call.
40982 * string/memset.c (memset): Likewise.
40983 * string/test-memmove.c (simple_memmove): Disable loop transformation
40984 to library calls.
40985 * string/test-memset.c (simple_memset): Likewise.
40986 * benchtests/bench-memmove.c (simple_memmove): Likewise.
40987 * benchtests/bench-memset.c (simple_memset): Likewise.
40988 * configure: Regenerated.
40989
40990 2013-06-20 Joseph Myers <joseph@codesourcery.com>
40991
40992 * math/test-misc.c (main): Ignore fesetround failure when failures
40993 of subsequent rounding tests would be ignored.
40994
40995 [BZ #15654]
40996 * math/fedisblxcpt.c (fedisableexcept): Return 0.
40997 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
40998 * math/fegetenv.c (__fegetenv): Return 0.
40999 * math/fegetexcept.c (fegetexcept): Return 0.
41000 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
41001 FE_TONEAREST.
41002 * math/feholdexcpt.c (feholdexcept): Return 0.
41003 * math/fesetenv.c (__fesetenv): Return 0.
41004 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
41005 argument FE_TONEAREST.
41006 * math/feupdateenv.c (__feupdateenv): Return 0.
41007 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
41008
41009 2013-06-18 Roland McGrath <roland@hack.frob.com>
41010
41011 * elf/rtld-Rules (rtld-compile-command.S): New variable.
41012 (rtld-compile-command.s, rtld-compile-command.c): New variables.
41013 ($(objpfx)rtld-%.os rules): Use them.
41014
41015 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41016
41017 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
41018 fields.
41019
41020 2013-06-17 Roland McGrath <roland@hack.frob.com>
41021
41022 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
41023 length of target pattern, then descending length of dependency pattern.
41024 * configure.in (AWK): Require gawk 3.1.2 or newer.
41025 * manual/install.texi (Tools for Compilation): Say that we do.
41026 * configure: Regenerated.
41027
41028 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
41029 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
41030 * scripts/sysd-rules.awk: ... this new script.
41031 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
41032 than a glob-style pattern.
41033
41034 2013-06-17 Joseph Myers <joseph@codesourcery.com>
41035
41036 * math/test-misc.c (main): Do not treat incorrectly rounded
41037 conversions as failure unless ROUNDING_TESTS passes.
41038
41039 2013-06-15 Joseph Myers <joseph@codesourcery.com>
41040
41041 [BZ #15631]
41042 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
41043 restore exception state around main square root computation, then
41044 check for inexactness explicitly.
41045
41046 * math/libm-test.inc (fma_test_data): Add another test.
41047
41048 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
41049
41050 * manual/threads.texi (Non-POSIX Extensions): New document
41051 node. Document pthread_getattr_default_np and
41052 pthread_setattr_default_np.
41053
41054 * Versions.def (libpthread): Add GLIBC_2.18.
41055 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
41056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41057 Likewise.
41058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41059 Likewise.
41060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41061 Likewise.
41062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41063 Likewise.
41064 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
41065 Likewise.
41066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41067 Likewise.
41068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41069 Likewise.
41070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41071 Likewise.
41072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41073 Likewise.
41074
41075 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41076
41077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41078 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
41079
41080 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
41081 H.J. Lu <hjl.tools@gmail.com>
41082
41083 [BZ #15627]
41084 * sysdeps/x86_64/rtld-memset.c: Remove file.
41085 * sysdeps/x86_64/rtld-memset.S: New file.
41086
41087 2013-06-14 Joseph Myers <joseph@codesourcery.com>
41088
41089 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
41090 (test_in_one_mode): Take arguments for whether the rounding mode
41091 is supported for each floating-point type.
41092 (do_test): Pass new arguments to test_in_one_mode using
41093 ROUNDING_TESTS.
41094
41095 2013-06-13 Roland McGrath <roland@hack.frob.com>
41096
41097 * posix/tst-waitid.c (do_test): Distinguish different instances of
41098 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
41099 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
41100 before entering the kernel for waitpid.
41101
41102 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
41103
41104 * NEWS: Fix note on clock function precision. Text by Roland
41105 McGrath.
41106
41107 2013-06-13 Roland McGrath <roland@hack.frob.com>
41108
41109 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
41110 it into place only when and if the sanity check passes.
41111
41112 2013-06-13 Joseph Myers <joseph@codesourcery.com>
41113
41114 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
41115 output for whether conversion result is exact. Take argument
41116 indicating whether type is IBM long double.
41117 (round_for_all): Change need_exact field to ibm_ld.
41118 * stdlib/tst-strtod-round.c (struct exactness): New type.
41119 (struct test): Change bool ld_ok field to struct exactness exact.
41120 (TEST): Update all definitions for change to field.
41121 (tests): Regenerate array contents.
41122 (test_in_one_mode): Take pointer to new field instead of old ld_ok
41123 field value. Check for IBM long double here.
41124 (do_test): Update calls to test_in_one_mode.
41125
41126 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
41127
41128 [BZ #12515]
41129 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
41130 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
41131
41132 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41133
41134 [BZ #15605]
41135 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
41136 generated by the compiler on loop optimizations.
41137 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
41138 general definitions.
41139
41140 2013-06-12 Joseph Myers <joseph@codesourcery.com>
41141
41142 * math/bug-nextafter.c: Include <math-tests.h>.
41143 (main): Only test for exceptions if EXCEPTION_TESTS is true for
41144 the relevant type.
41145 * math/bug-nexttoward.c: Include <math-tests.h>.
41146 (main): Only test for exceptions if EXCEPTION_TESTS is true for
41147 the relevant type.
41148 * math/test-misc.c: Include <math-tests.h>.
41149 (main): Only test for exceptions if EXCEPTION_TESTS is true for
41150 the relevant type.
41151
41152 2013-06-12 Andreas Jaeger <aj@suse.de>
41153
41154 * po/ia.po: Update Interlingua translation from translation
41155 project.
41156
41157 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
41158
41159 * include/fenv.h: Include stdbool.h.
41160 (struct rm_ctx): New structure.
41161 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
41162 Define macro.
41163 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
41164 (SET_RESTORE_ROUNDF): Likewise.
41165 (SET_RESTORE_ROUNDL): Likewise.
41166 (SET_RESTORE_ROUND_NOEX): Likewise.
41167 (SET_RESTORE_ROUND_NOEXF): Likewise.
41168 (SET_RESTORE_ROUND_NOEXL): Likewise.
41169 (SET_RESTORE_ROUND_53BIT): Likewise.
41170 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
41171 (libc_feresetround_noexf_ctx): Likewise.
41172 (libc_feresetround_noexl_ctx): Likewise.
41173 (libc_feholdsetround_53bit_ctx): Likewise.
41174 (libc_feresetround_53bit_ctx): Likewise.
41175 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
41176 (libc_feholdexcept_setround_sse_ctx): New function.
41177 (libc_fesetenv_sse_ctx): Likewise.
41178 (libc_feupdateenv_sse_ctx): Likewise.
41179 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
41180 (libc_feholdexcept_setround_387_ctx): Likewise.
41181 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
41182 (libc_feholdsetround_387_prec_ctx): Likewise.
41183 (libc_feholdsetround_387_ctx): Likewise.
41184 (libc_feholdsetround_387_53bit_ctx): Likewise.
41185 (libc_feholdsetround_sse_ctx): Likewise.
41186 (libc_feresetround_sse_ctx): Likewise.
41187 (libc_feresetround_387_ctx): Likewise.
41188 (libc_feupdateenv_387_ctx): Likewise.
41189 (libc_feholdexcept_setroundf_ctx): Define macro.
41190 (libc_fesetenvf_ctx): Likewise.
41191 (libc_feupdateenvf_ctx): Likewise.
41192 (libc_feholdsetroundf_ctx): Likewise.
41193 (libc_feresetroundf_ctx): Likewise.
41194 (libc_feholdexcept_setround_ctx): Likewise.
41195 (libc_fesetenv_ctx): Likewise.
41196 (libc_feupdateenv_ctx): Likewise.
41197 (libc_feholdsetround_ctx): Likewise.
41198 (libc_feresetround_ctx): Likewise.
41199 (libc_feholdexcept_setroundl_ctx): Likewise.
41200 (libc_feupdateenvl_ctx): Likewise.
41201 (libc_feholdsetroundl_ctx): Likewise.
41202 (libc_feresetroundl_ctx): Likewise.
41203 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
41204 (libc_feresetround_53bit_ctx): Likewise.
41205
41206 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
41207
41208 * locale/iso-639.def: Convert to UTF-8.
41209
41210 2013-06-11 Joseph Myers <joseph@codesourcery.com>
41211
41212 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
41213 (EXCEPTION_TESTS_double): Likewise.
41214 (EXCEPTION_TESTS_long_double): Likewise.
41215 (EXCEPTION_TESTS): Likewise.
41216 * math/libm-test.inc (test_exceptions): Only test exceptions if
41217 EXCEPTION_TESTS (FLOAT).
41218
41219 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
41220
41221 * benchtests/Makefile (string-bench): Add strcpy_chk and
41222 stpcpy_chk.
41223 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
41224 * benchtests/bench-stpcpy_chk.c: New file.
41225 * benchtests/bench-strcpy_chk-ifunc.c: New file.
41226 * benchtests/bench-strcpy_chk.c: New file.
41227 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
41228 code.
41229 (do_test): Likewise.
41230
41231 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41232
41233 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
41234 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
41235 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
41236 with tabs where appropriate.
41237 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
41238 dl-procinfo.h.
41239 [PPC_PLATFORM_PPC440]: Likewise.
41240 [PPC_PLATFORM_PPC464]: Likewise.
41241 [PPC_PLATFORM_PPC476]: Likewise.
41242 (_dl_string_platform): Add support for detecting ppc405, ppc440,
41243 ppc464, and ppc476 platform strings merging from ports/
41244 dl-procinfo.h.
41245
41246 2013-06-11 Andreas Schwab <schwab@suse.de>
41247
41248 [BZ #14991]
41249 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
41250 (from_ucs4_idx): Regenerate.
41251 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
41252 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
41253 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
41254 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
41255 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
41256 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
41257 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
41258 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
41259 from FROM_LOOP and TO_LOOP specific macros.
41260 (BODY): Handle combining characters.
41261 * iconvdata/BIG5HKSCS.irreversible: Update.
41262 * iconvdata/BIG5HKSCS.precomposed: New file.
41263 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
41264 characters.
41265 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
41266
41267 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
41268
41269 * include/sys/time.h: Fix indentation and add copyright header.
41270
41271 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
41272 (do_test): Likewise.
41273 * string/test-memchr.c (do_one_test): Likewise.
41274 (do_test): Likewise.
41275 * string/test-memcmp.c (do_one_test): Likewise.
41276 (do_test): Likewise.
41277 * string/test-memcpy.c (do_one_test): Likewise.
41278 (do_test): Likewise.
41279 * string/test-memmem.c (do_one_test): Likewise.
41280 (do_test): Likewise.
41281 (do_random_tests): Likewise.
41282 * string/test-memmove.c (do_one_test): Likewise.
41283 (do_test): Likewise.
41284 * string/test-memset.c (do_one_test): Likewise.
41285 (do_test): Likewise.
41286 * string/test-rawmemchr.c (do_one_test): Likewise.
41287 (do_test): Likewise.
41288 * string/test-strcasecmp.c (do_one_test): Likewise.
41289 (do_test): Likewise.
41290 * string/test-strcasestr.c (do_one_test): Likewise.
41291 (do_test): Likewise.
41292 * string/test-strcat.c (do_one_test): Likewise.
41293 (do_test): Likewise.
41294 * string/test-strchr.c (do_one_test): Likewise.
41295 (do_test): Likewise.
41296 * string/test-strcmp.c (do_one_test): Likewise.
41297 (do_test): Likewise.
41298 * string/test-strcpy.c (do_one_test): Likewise.
41299 (do_test): Likewise.
41300 * string/test-string.h: Likewise.
41301 (test_init): Likewise.
41302 * string/test-strlen.c (do_one_test): Likewise.
41303 (do_test): Likewise.
41304 * string/test-strncasecmp.c (do_one_test): Likewise.
41305 (do_test): Likewise.
41306 * string/test-strncat.c (do_one_test): Likewise.
41307 (do_test): Likewise.
41308 * string/test-strncmp.c (do_one_test): Likewise.
41309 (do_test_limit): Likewise.
41310 (do_test): Likewise.
41311 * string/test-strncpy.c (do_one_test): Likewise.
41312 (do_test): Likewise.
41313 * string/test-strnlen.c (do_one_test): Likewise.
41314 (do_test): Likewise.
41315 * string/test-strpbrk.c (do_one_test): Likewise.
41316 (do_test): Likewise.
41317 * string/test-strrchr.c (do_one_test): Likewise.
41318 (do_test): Likewise.
41319 * string/test-strspn.c (do_one_test): Likewise.
41320 (do_test): Likewise.
41321 * string/test-strstr.c (do_one_test): Likewise.
41322 (do_test): Likewise.
41323
41324 * benchtests/Makefile (string-bench): Add string benchmarks.
41325 * benchtests/bench-bcopy-ifunc.c: New file.
41326 * benchtests/bench-bcopy.c: New file.
41327 * benchtests/bench-bzero-ifunc.c: New file.
41328 * benchtests/bench-bzero.c: New file.
41329 * benchtests/bench-memccpy-ifunc.c: New file.
41330 * benchtests/bench-memccpy.c: New file.
41331 * benchtests/bench-memchr-ifunc.c: New file.
41332 * benchtests/bench-memchr.c: New file.
41333 * benchtests/bench-memcmp-ifunc.c: New file.
41334 * benchtests/bench-memcmp.c: New file.
41335 * benchtests/bench-memmem-ifunc.c: New file.
41336 * benchtests/bench-memmem.c: New file.
41337 * benchtests/bench-memmove-ifunc.c: New file.
41338 * benchtests/bench-memmove.c: New file.
41339 * benchtests/bench-mempcpy-ifunc.c: New file.
41340 * benchtests/bench-mempcpy.c: New file.
41341 * benchtests/bench-memset-ifunc.c: New file.
41342 * benchtests/bench-memset.c: New file.
41343 * benchtests/bench-rawmemchr-ifunc.c: New file.
41344 * benchtests/bench-rawmemchr.c: New file.
41345 * benchtests/bench-stpcpy-ifunc.c: New file.
41346 * benchtests/bench-stpcpy.c: New file.
41347 * benchtests/bench-stpncpy-ifunc.c: New file.
41348 * benchtests/bench-stpncpy.c: New file.
41349 * benchtests/bench-strcasecmp-ifunc.c: New file.
41350 * benchtests/bench-strcasecmp.c: New file.
41351 * benchtests/bench-strcasestr-ifunc.c: New file.
41352 * benchtests/bench-strcasestr.c: New file.
41353 * benchtests/bench-strcat-ifunc.c: New file.
41354 * benchtests/bench-strcat.c: New file.
41355 * benchtests/bench-strchr-ifunc.c: New file.
41356 * benchtests/bench-strchr.c: New file.
41357 * benchtests/bench-strchrnul-ifunc.c: New file.
41358 * benchtests/bench-strchrnul.c: New file.
41359 * benchtests/bench-strcmp-ifunc.c: New file.
41360 * benchtests/bench-strcmp.c: New file.
41361 * benchtests/bench-strcpy-ifunc.c: New file.
41362 * benchtests/bench-strcpy.c: New file.
41363 * benchtests/bench-strcspn-ifunc.c: New file.
41364 * benchtests/bench-strcspn.c: New file.
41365 * benchtests/bench-strlen-ifunc.c: New file.
41366 * benchtests/bench-strlen.c: New file.
41367 * benchtests/bench-strncasecmp-ifunc.c: New file.
41368 * benchtests/bench-strncasecmp.c: New file.
41369 * benchtests/bench-strncat-ifunc.c: New file.
41370 * benchtests/bench-strncat.c: New file.
41371 * benchtests/bench-strncmp-ifunc.c: New file.
41372 * benchtests/bench-strncmp.c: New file.
41373 * benchtests/bench-strncpy-ifunc.c: New file.
41374 * benchtests/bench-strncpy.c: New file.
41375 * benchtests/bench-strnlen-ifunc.c: New file.
41376 * benchtests/bench-strnlen.c: New file.
41377 * benchtests/bench-strpbrk-ifunc.c: New file.
41378 * benchtests/bench-strpbrk.c: New file.
41379 * benchtests/bench-strrchr-ifunc.c: New file.
41380 * benchtests/bench-strrchr.c: New file.
41381 * benchtests/bench-strspn-ifunc.c: New file.
41382 * benchtests/bench-strspn.c: New file.
41383 * benchtests/bench-strstr-ifunc.c: New file.
41384 * benchtests/bench-strstr.c: New file.
41385
41386 * benchtests/Makefile: Disable parallel execution of targets.
41387 (string-bench): Add memcpy.
41388 (benchset): New variable to store a list of benchmark sets.
41389 (bench-func): Renamed from bench.
41390 (bench-set): New target.
41391 (bench): Depend on bench-func and bench-set.
41392 * benchtests/README: Add section on benchmark sets.
41393 * benchtests/bench-memcpy-ifunc.c: New file.
41394 * benchtests/bench-memcpy.c: New file.
41395 * benchtests/bench-string.h: New file.
41396
41397 2013-06-11 Andreas Schwab <schwab@suse.de>
41398
41399 [BZ #15577]
41400 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
41401 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
41402 values in the triple.
41403 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
41404 terminator in the group key.
41405
41406 2013-06-11 Andreas Jaeger <aj@suse.de>
41407
41408 * po/zh_TW.po: Update Chinese (traditional) translation from
41409 translation project.
41410
41411 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
41412
41413 * include/time.h (__clock_gettime): Add libc_hidden_proto.
41414 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
41415 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
41416 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41417 (clock_getcpuclockid): Likewise.
41418 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
41419 Add weak_alias and libc_hidden_def.
41420 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
41421 * rt/clock_gettime.c (clock_gettime): Rename to
41422 __clock_gettime. Add weak_alias and libc_hidden_def.
41423 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
41424 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
41425 __clock_nanosleep. Add weak_alias and libc_hidden_def.
41426 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
41427 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
41428 Likewise.
41429 * rt/clock_settime.c (clock_settime): Rename to
41430 __clock_settime. Add weak_alias and libc_hidden_def.
41431 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
41432
41433 2013-06-10 Joseph Myers <joseph@codesourcery.com>
41434
41435 * mach/err_boot.sub: Remove trailing whitespace.
41436 * mach/err_ipc.sub: Likewise.
41437 * mach/err_mach.sub: Likewise.
41438
41439 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
41440 (ROUNDING_TESTS_double): Likewise.
41441 (ROUNDING_TESTS_long_double): Likewise.
41442 (ROUNDING_TESTS): Likewise.
41443 * math/libm-test.inc: Include <math-tests.h>.
41444 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
41445 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41446 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
41447 (IF_ROUND_INIT_FE_UPWARD): Likewise.
41448
41449 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41450
41451 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
41452 of assigning.
41453
41454 2013-06-08 Joseph Myers <joseph@codesourcery.com>
41455
41456 * sysdeps/gnu/errlist.awk: Do not generate space at end of
41457 otherwise empty TRANS lines.
41458 * sysdeps/gnu/errlist.c: Regenerated.
41459
41460 * catgets/gencat.c (error_print): Use (void) in function
41461 definition.
41462 * crypt/crypt_util.c (__init_des): Likewise.
41463 * crypt/speeds.c (Stop): Likewise.
41464 (main): Likewise.
41465 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
41466 * inet/ruserpass.c (token): Likewise.
41467 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
41468 * intl/localealias.c (extend_alias_table): Likewise.
41469 * intl/plural-exp.c (init_germanic_plural): Likewise.
41470 * libio/fcloseall.c (__fcloseall): Likewise.
41471 * libio/genops.c (_IO_flush_all): Likewise.
41472 (_IO_flush_all_linebuffered): Likewise.
41473 (_IO_cleanup): Likewise.
41474 (_IO_iter_begin): Likewise.
41475 (_IO_iter_end): Likewise.
41476 (_IO_list_lock): Likewise.
41477 (_IO_list_unlock): Likewise.
41478 (_IO_list_resetlock): Likewise.
41479 * libio/getchar.c (getchar): Likewise.
41480 * libio/getchar_u.c (getchar_unlocked): Likewise.
41481 * libio/getwchar.c (getwchar): Likewise.
41482 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
41483 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
41484 * login/getpt.c (__getpt): Likewise.
41485 * login/tst-utmp.c (main): Likewise.
41486 * malloc/hooks.c (__malloc_check_init): Likewise.
41487 * malloc/malloc.c (__malloc_stats): Likewise.
41488 * malloc/mtrace.c (tr_break): Likewise.
41489 (mtrace): Likewise.
41490 (muntrace): Likewise.
41491 * misc/fstab.c (endfsent): Likewise.
41492 * misc/getclktck.c (__getclktck): Likewise.
41493 * misc/getdtsz.c (__getdtablesize): Likewise.
41494 * misc/gethostid.c (gethostid): Likewise.
41495 * misc/getpagesize.c (__getpagesize): Likewise.
41496 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
41497 (__get_nprocs): Likewise.
41498 (__get_phys_pages): Likewise.
41499 (__get_avphys_pages): Likewise.
41500 * misc/getttyent.c (getttyent): Likewise.
41501 (setttyent): Likewise.
41502 (endttyent): Likewise.
41503 * misc/getusershell.c (getusershell): Likewise.
41504 (endusershell): Likewise.
41505 (setusershell): Likewise.
41506 (initshells): Likewise.
41507 * misc/hsearch.c (__hdestroy): Likewise.
41508 * misc/sync.c (sync): Likewise.
41509 * misc/syslog.c (closelog_internal): Likewise.
41510 (closelog): Likewise.
41511 * misc/ttyslot.c (ttyslot): Likewise.
41512 * misc/vhangup.c (vhangup): Likewise.
41513 * posix/fork.c (__fork): Likewise.
41514 * posix/getegid.c (__getegid): Likewise.
41515 * posix/geteuid.c (__geteuid): Likewise.
41516 * posix/getgid.c (__getgid): Likewise.
41517 * posix/getpid.c (__getpid): Likewise.
41518 * posix/getppid.c (__getppid): Likewise.
41519 * posix/getuid.c (__getuid): Likewise.
41520 * posix/pause.c (pause): Likewise.
41521 * posix/setpgrp.c (setpgrp): Likewise.
41522 * posix/setsid.c (__setsid): Likewise.
41523 * posix/test-vfork.c (noop): Likewise.
41524 * resolv/gethnamaddr.c (_endhtent): Likewise.
41525 (_gethtent): Likewise.
41526 (ht_endhostent): Likewise.
41527 (gethostent): Likewise.
41528 (dns_service): Likewise.
41529 * stdlib/drand48.c (drand48): Likewise.
41530 * stdlib/lrand48.c (lrand48): Likewise.
41531 * stdlib/mrand48.c (mrand48): Likewise.
41532 * stdlib/rand.c (rand): Likewise.
41533 * stdlib/random.c (__random): Likewise.
41534 * stdlib/setenv.c (clearenv): Likewise.
41535 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
41536 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
41537 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
41538 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
41539 (__get_nprocs): Likewise.
41540 (__get_phys_pages): Likewise.
41541 (__get_avphys_pages): Likewise.
41542 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
41543 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
41544 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
41545 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
41546 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
41547 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
41548 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
41549 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
41550 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
41551 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
41552 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
41553 * sysdeps/mach/hurd/sync.c (sync): Likewise.
41554 * sysdeps/posix/clock.c (clock): Likewise.
41555 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
41556 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
41557 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
41558 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
41559 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
41560 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
41561 (__get_nprocs_conf): Likewise.
41562 (__get_phys_pages): Likewise.
41563 (__get_avphys_pages): Likewise.
41564 * time/clock.c (clock): Likewise.
41565 * time/tzset.c (__tzname_max): Likewise.
41566
41567 2013-06-07 Joseph Myers <joseph@codesourcery.com>
41568
41569 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
41570 (__bswap_32): Do not use "register".
41571 * crypt/crypt.c (_ufc_doit_r): Likewise.
41572 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41573 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41574 * gmon/gmon.c (__monstartup): Likewise.
41575 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
41576 * hurd/hurdmalloc.c (more_memory): Likewise.
41577 (malloc): Likewise.
41578 (free): Likewise.
41579 (realloc): Likewise.
41580 (malloc_fork_prepare): Likewise.
41581 (malloc_fork_parent): Likewise.
41582 (malloc_fork_child): Likewise.
41583 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
41584 (_svcauth_des): Likewise.
41585 * inet/inet_lnaof.c (inet_lnaof): Likewise.
41586 * inet/inet_net.c (inet_network): Likewise.
41587 * inet/inet_netof.c (inet_netof): Likewise.
41588 * inet/rcmd.c (__validuser2_sa): Likewise.
41589 * io/fts.c (fts_open): Likewise.
41590 (fts_load): Likewise.
41591 (fts_close): Likewise.
41592 (fts_read): Likewise.
41593 (fts_children): Likewise.
41594 (fts_build): Likewise.
41595 (fts_stat): Likewise.
41596 (fts_sort): Likewise.
41597 (fts_alloc): Likewise.
41598 (fts_lfree): Likewise.
41599 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
41600 (_IO_file_xsgetn): Likewise.
41601 (_IO_file_xsgetn_mmap): Likewise.
41602 * libio/iofopncook.c (_IO_cookie_read): Likewise.
41603 (_IO_cookie_write): Likewise.
41604 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
41605 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
41606 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
41607 * malloc/obstack.c (_obstack_begin): Likewise.
41608 (_obstack_begin_1): Likewise.
41609 (_obstack_newchunk): Likewise.
41610 (_obstack_allocated_p): Likewise.
41611 (obstack_free): Likewise.
41612 (_obstack_memory_used): Likewise.
41613 * misc/getttyent.c (getttynam): Likewise.
41614 (getttyent): Likewise.
41615 (skip): Likewise.
41616 (value): Likewise.
41617 * misc/getusershell.c (initshells): Likewise.
41618 * misc/syslog.c (__vsyslog_chk): Likewise.
41619 * misc/ttyslot.c (ttyslot): Likewise.
41620 * nis/nis_hash.c (__nis_hash): Likewise.
41621 * posix/fnmatch_loop.c (FCT): Likewise.
41622 * posix/getconf.c (print_all): Likewise.
41623 (main): Likewise.
41624 * posix/getopt.c (exchange): Likewise.
41625 * posix/glob.c (globfree): Likewise.
41626 (prefix_array): Likewise.
41627 (__glob_pattern_type): Likewise.
41628 * resolv/arpa/nameser.h (NS_GET16): Likewise.
41629 (NS_GET32): Likewise.
41630 (NS_PUT16): Likewise.
41631 (NS_PUT32): Likewise.
41632 * resolv/gethnamaddr.c (getanswer): Likewise.
41633 (gethostbyname2): Likewise.
41634 (gethostbyaddr): Likewise.
41635 (_gethtent): Likewise.
41636 (_gethtbyname2): Likewise.
41637 (_gethtbyaddr): Likewise.
41638 * resolv/ns_print.c (dst_s_get_int16): Likewise.
41639 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
41640 * resolv/res_init.c (__res_vinit): Likewise.
41641 (net_mask): Likewise.
41642 * resolv/res_mkquery.c (outchar): Likewise.
41643 (PRINT): Likewise.
41644 * stdio-common/printf_fp.c (outchar): Likewise.
41645 (PRINT): Likewise.
41646 * stdio-common/printf_fphex.c (outchar): Likewise.
41647 (PRINT): Likewise.
41648 * stdio-common/printf_size.c (outchar): Likewise.
41649 (PRINT): Likewise.
41650 * stdio-common/test_rdwr.c (main): Likewise.
41651 * stdio-common/tfformat.c (matches): Likewise.
41652 * stdio-common/vfprintf.c (outchar): Likewise.
41653 (printf_unknown): Likewise.
41654 (buffered_vfprintf): Likewise.
41655 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41656 * stdio-common/xbug.c (AppendToBuffer): Likewise.
41657 (ReadFile): Likewise.
41658 * stdlib/qsort.c (SWAP): Likewise.
41659 (_quicksort): Likewise.
41660 * stdlib/setenv.c (__add_to_environ): Likewise.
41661 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41662 * stdlib/strtol_l.c (__strtol_l): Likewise.
41663 * stdlib/tst-strtod.c (main): Likewise.
41664 * stdlib/tst-strtol.c (main): Likewise.
41665 * stdlib/tst-strtoll.c (main): Likewise.
41666 * string/bits/string2.h (__strcmp_cc): Likewise.
41667 (__strcmp_cg): Likewise.
41668 (__strcspn_c1): Likewise.
41669 (__strcspn_c2): Likewise.
41670 (__strcspn_c3): Likewise.
41671 (__strspn_c1): Likewise.
41672 (__strspn_c2): Likewise.
41673 (__strspn_c3): Likewise.
41674 (__strsep_1c): Likewise.
41675 (__strsep_2c): Likewise.
41676 (__strsep_3c): Likewise.
41677 * string/memccpy.c (__memccpy): Likewise.
41678 * string/stpcpy.c (__stpcpy): Likewise.
41679 * string/strcmp.c (strcmp): Likewise.
41680 * string/strrchr.c (strrchr): Likewise.
41681 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
41682 Likewise.
41683 * sysdeps/mach/hurd/getcwd.c
41684 (_hurd_canonicalize_directory_name_internal): Likewise.
41685 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
41686 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
41687 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
41688 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
41689 Likewise, in both definitions.
41690 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
41691 definitions.
41692 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
41693 64] (__bswap_64): Likewise.
41694 * time/test_time.c (main): Likewise.
41695 * time/tzfile.c (__tzfile_read): Likewise.
41696 (__tzfile_compute): Likewise.
41697 * time/tzset.c (__tzset_parse_tz): Likewise.
41698 (tzset_internal): Likewise.
41699 (compute_change): Likewise.
41700 * wcsmbs/wcscat.c (__wcscat): Likewise.
41701 * wcsmbs/wcschr.c (wcschr): Likewise.
41702 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
41703 * wcsmbs/wcscspn.c (wcscspn): Likewise.
41704 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
41705 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
41706 * wcsmbs/wcsspn.c (wcsspn): Likewise.
41707 * wcsmbs/wcsstr.c (wcsstr): Likewise.
41708 * wcsmbs/wmemchr.c (wmemchr): Likewise.
41709 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41710 * wcsmbs/wmemset.c (wmemset): Likewise.
41711
41712 2013-06-06 Joseph Myers <joseph@codesourcery.com>
41713
41714 * scripts/config.guess: Update to version 2013-05-16.
41715 * scripts/config.sub: Update to version 2013-04-24.
41716 * scripts/install-sh: Update to version 2011-11-20.07.
41717 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
41718 * scripts/move-if-change: Update to version 2012-01-06 07:23.
41719
41720 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
41721
41722 * debug/fgetws_u_chk.c: Fix leading whitespaces.
41723 * elf/sln.c: Likewise.
41724 * hurd/hurd/ioctl.h: Likewise.
41725 * hurd/hurdmalloc.c: Likewise.
41726 * hurd/xattr.c: Likewise.
41727 * include/shlib-compat.h: Likewise.
41728 * inet/ruserpass.c: Likewise.
41729 * libio/iofgets_u.c: Likewise.
41730 * libio/iofgetws_u.c: Likewise.
41731 * locale/programs/ld-identification.c: Likewise.
41732 * locale/programs/ld-time.c: Likewise.
41733 * mach/msg-destroy.c: Likewise.
41734 * nss/nss_files/files-netgrp.c: Likewise.
41735 * resolv/res_data.c: Likewise.
41736 * soft-fp/op-1.h: Likewise.
41737 * soft-fp/op-2.h: Likewise.
41738 * soft-fp/op-4.h: Likewise.
41739 * soft-fp/op-common.h: Likewise.
41740 * stdio-common/printf_fphex.c: Likewise.
41741 * stdlib/strtod_l.c: Likewise.
41742 * sunrpc/rpc/clnt.h: Likewise.
41743 * sysdeps/generic/framestate.c: Likewise.
41744 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41745 * sysdeps/i386/bsd-setjmp.S: Likewise.
41746 * sysdeps/i386/__longjmp.S: Likewise.
41747 * sysdeps/i386/setjmp.S: Likewise.
41748 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41749 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41750 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41751 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41752 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41753 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41754 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41755 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41756 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41757 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41758 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41759 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41760 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41761 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41762 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41763 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41764 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41765 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
41766 * sysdeps/ieee754/support.c: Likewise.
41767 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41768 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
41769 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
41770 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
41771 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
41772 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
41773 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
41774 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
41775 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
41776 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
41777 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
41778 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
41779 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
41780 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
41781 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
41782 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
41783 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
41785
41786 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
41787
41788 * posix/transbug.c: Remove executable mode.
41789
41790 2013-06-05 Joseph Myers <joseph@codesourcery.com>
41791
41792 * crypt/speeds.c: Remove trailing whitespace.
41793 * dlfcn/default.c: Likewise.
41794 * elf/ifuncdep2.c: Likewise.
41795 * elf/ifuncmain1.c: Likewise.
41796 * elf/ifuncmain1vis.c: Likewise.
41797 * elf/testobj.h: Likewise.
41798 * elf/tst-stackguard1.c: Likewise.
41799 * gmon/sys/gmon.h: Likewise.
41800 * hurd/hurdmsg.c: Likewise.
41801 * hurd/new-fd.c: Likewise.
41802 * hurd/ports-get.c: Likewise.
41803 * iconvdata/ibm1008_420.c: Likewise.
41804 * inet/tst-getni1.c: Likewise.
41805 * inet/tst-getni2.c: Likewise.
41806 * libio/ioungetc.c: Likewise.
41807 * libio/wfiledoalloc.c: Likewise.
41808 * manual/libm-err-tab.pl: Likewise.
41809 * math/w_dremf.c: Likewise.
41810 * misc/ftruncate.c: Likewise.
41811 * posix/bug-glob2.c: Likewise.
41812 * posix/tst-pcre.c: Likewise.
41813 * posix/wait4.c: Likewise.
41814 * resolv/README: Likewise.
41815 * resolv/res_debug.h: Likewise.
41816 * resolv/tst-inet_ntop.c: Likewise.
41817 * setjmp/bug269-setjmp.c: Likewise.
41818 * soft-fp/extended.h: Likewise.
41819 * soft-fp/op-1.h: Likewise.
41820 * soft-fp/op-2.h: Likewise.
41821 * soft-fp/op-4.h: Likewise.
41822 * soft-fp/op-8.h: Likewise.
41823 * soft-fp/testit.c: Likewise.
41824 * stdio-common/bug16.c: Likewise.
41825 * stdlib/random.c: Likewise.
41826 * sunrpc/rpcsvc/rquota.x: Likewise.
41827 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
41828 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41829 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41830 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41831 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41832 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41833 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41834 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41835 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41836 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41837 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41838 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41839 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41840 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41841 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41842 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41843 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41844 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41845 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41846 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41847 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41848 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41849 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
41850 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41851 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41852 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41853 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41854 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41855 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41856 * sysdeps/ieee754/s_lib_version.c: Likewise.
41857 * sysdeps/mach/hurd/check_fds.c: Likewise.
41858 * sysdeps/mach/hurd/getsockname.c: Likewise.
41859 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
41860 * sysdeps/mach/hurd/recvfrom.c: Likewise.
41861 * sysdeps/powerpc/bits/link.h: Likewise.
41862 * sysdeps/powerpc/dl-procinfo.c: Likewise.
41863 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
41864 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
41865 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
41866 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41867 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41868 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
41869 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41870 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
41871 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41872 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
41873 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
41874 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
41875 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41876 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41877 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41878 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
41879 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
41880 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41881 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41882 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41883 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
41884 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41885 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41886 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
41887 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
41888 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
41889 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41890 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41891 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
41892 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
41893 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
41894 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41895 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41896 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
41897 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41898 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
41899 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41900 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
41901 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
41902 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
41903 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
41904 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
41905 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
41906 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41907 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
41908 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
41909 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41910 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
41911 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
41912 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41913 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41914 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41915 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41916 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
41917 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
41918 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
41919 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41920 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
41921 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
41922 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
41923 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
41924 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
41925 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41926 * sysdeps/powerpc/sysdep.h: Likewise.
41927 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41928 * sysdeps/s390/s390-64/sub_n.S: Likewise.
41929 * sysdeps/sh/dl-trampoline.S: Likewise.
41930 * sysdeps/sh/memset.S: Likewise.
41931 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
41932 * sysdeps/sh/strlen.S: Likewise.
41933 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
41934 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
41935 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
41936 * sysdeps/sparc/sparc32/rem.S: Likewise.
41937 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
41938 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
41939 * sysdeps/sparc/sparc32/strchr.S: Likewise.
41940 * sysdeps/sparc/sparc32/udiv.S: Likewise.
41941 * sysdeps/sparc/sparc32/urem.S: Likewise.
41942 * sysdeps/sparc/sparc64/add_n.S: Likewise.
41943 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41944 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
41945 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
41946 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
41947 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
41948 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
41949 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
41950 * sysdeps/unix/bsd/times.c: Likewise.
41951 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
41952 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
41953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
41954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
41955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
41956 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
41957 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41958 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
41959 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
41960 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
41961 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
41962 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
41963 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
41964 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41965 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
41966 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
41967 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
41968 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
41969 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
41970 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
41971 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
41972 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
41973 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41974 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
41975 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
41976 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
41977 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
41978 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41979 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
41980 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
41981 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
41982 * sysdeps/x86_64/strcspn.S: Likewise.
41983
41984 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41985
41986 * locale/C-translit.h: Revert #include <stdint.h> because this is a
41987 generated file. Regenerate properly from gen-translit.pl.
41988 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
41989 locale/C-translit.h.
41990
41991 2013-06-05 Andreas Schwab <schwab@suse.de>
41992
41993 [BZ #15100]
41994 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
41995 week as 6 instead of -1.
41996 * time/tst-strptime.c (day_tests): Add test case.
41997
41998 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41999
42000 * sysdeps/generic/math_private.h
42001 (libc_feholdexcept_setround_53bit): Replace with
42002 libc_feholdsetround_53bit.
42003 (libc_feupdateenv_53bit): Replace with
42004 libc_feresetround_53bit.
42005 (SET_RESTORE_ROUND_53BIT): Adjust.
42006
42007 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
42008
42009 * string/test-strchrnul.c: Add copyright header.
42010
42011 * posix/tst-getaddrinfo4.c: Increase test timeout.
42012
42013 2013-06-03 Carlos O'Donell <carlos@redhat.com>
42014
42015 [BZ #15536]
42016 * math/libm-test.inc (MAX_EXP): Remove
42017 (MIN_EXP): Define.
42018 (ulp): Use MIN_EXP - MANT_DIG.
42019 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
42020
42021 2013-05-31 Carlos O'Donell <carlos@redhat.com>
42022
42023 * po/be.po: Revert last change.
42024 * po/zh_CN.po: Likewise.
42025 * po/header.pot: Likewise.
42026
42027 2013-05-31 Joseph Myers <joseph@codesourcery.com>
42028
42029 * Makefile ($(common-objpfx)linkobj/libc.so): Define
42030 link-libc-deps to empty as target-specific variable.
42031 * Makerules (link-libc-args): New variable.
42032 (libc-for-link): Likewise.
42033 (link-libc-deps): Likewise.
42034 (lib%.so): Depend on $(link-libc-deps). Link with
42035 $(link-libc-args).
42036 (build-module): Link with $(link-libc-args).
42037 (build-module-asneeded): Likewise.
42038 (build-module-helper-objlist): Filter out $(link-libc-deps) from
42039 list of objects.
42040 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
42041 target-specific variable.
42042 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
42043 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
42044 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
42045 libc.
42046 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
42047 libc and ld.so.
42048 ($(objpfx)libpcprofile.so): Likewise.
42049 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
42050 libc_nonshared.a.
42051 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
42052 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
42053 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
42054 $(link-libc-deps).
42055 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
42056 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
42057 * login/Makefile ($(objpfx)libutil.so): Likewise.
42058 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
42059 * math/Makefile ($(objpfx)libm.so): Likewise.
42060 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
42061 $(objpfx)libnsl.so): Define libc-for-link as target-specific
42062 variable instead of depending directly on libc.
42063 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
42064 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
42065 $(link-libc-deps).
42066 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
42067 libc.
42068 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
42069 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
42070 ($(objpfx)libanl.so): Likewise.
42071 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
42072 ld.so.
42073 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
42074 $(link-libc-deps).
42075 * sysdeps/i386/fpu/Makefile: Remove file.
42076 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
42077 ($(objpfx)libm.so): Remove dependency on ld.so.
42078
42079 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
42080
42081 [BZ # 15553]
42082 * nis/yp_xdr.c (XDRMAXNAME): Define.
42083 (XDRMAXRECORD): Define.
42084 (xdr_domainname): Use XDRMAXNAME.
42085 (xdr_mapname): Likewise.
42086 (xdr_peername): Likewise.
42087 (xdr_keydat): Use XDRMAXRECORD.
42088 (xdr_valdat): Likewise.
42089
42090 2013-05-30 Jeff Law <law@redhat.com>
42091
42092 [BZ #14256]
42093 * manual/errno.texi (ESTALE): Update to account for more than
42094 just NFS file systems.
42095 * sysdeps/gnu/errlist.c: Regenerated.
42096
42097 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42098
42099 [BZ #15465]
42100 * elf/Makefile (tests): Add tst-null-argv.
42101 (modules-names): Add tst-null-argv-lib.
42102 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
42103 (tst-null-argv-ENV): Set environment for tst-null-argv.
42104 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
42105 (RTLD_PROGNAME): New macro.
42106 * elf/tst-null-argv.c: New test case.
42107 * elf/tst-null-argv-lib.c: Library for test case.
42108 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
42109 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
42110 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
42111 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
42112 * elf/dl-init.c (call_init): Likewise.
42113 (_dl_init): Likewise.
42114 * elf/dl-load.c (print_search_path): Likewise.
42115 (_dl_map_object): Likewise.
42116 * elf/dl-lookup.c (do_lookup_x): Likewise.
42117 (add_dependency): Likewise.
42118 (_dl_lookup_symbol_x): Likewise.
42119 (_dl_debug_bindings): Likewise.
42120 * elf/dl-open.c (_dl_show_scope): Likewise.
42121 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42122 * elf/dl-version.c (match_symbol): Likewise.
42123 (_dl_check_map_versions): Likewise.
42124 * elf/rtld.c (dl_main): Likewise.
42125 (print_unresolved): Use RTLD_PROGNAME.
42126 (print_missing_version): Likewise.
42127 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
42128 (elf_machine_rela): Likewise.
42129 * sysdeps/powerpc/powerpc32/dl-machine.c
42130 (__process_machine_rela): Likewise.
42131 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42132 Likewise.
42133 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42134 Likewise.
42135 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42136 Likewise.
42137 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42138 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
42139 Likewise.
42140 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
42141 Likewise.
42142 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42143
42144 2013-05-28 Carlos O'Donell <carlos@redhat.com>
42145
42146 * po/be.po: Add descriptive title.
42147 * po/zh_CN.po: Likewise.
42148 * po/header.pot: Likewise.
42149
42150 2013-05-28 Mike Frysinger <vapier@gentoo.org>
42151
42152 * locale/programs/locarchive.c (create_archive): Inlucde fname in
42153 error message.
42154 (enlarge_archive): Likewise.
42155
42156 2013-05-28 Ben North <ben@redfrontdoor.org>
42157
42158 * manual/arith.texi (frexp): It is the magnitude of the return
42159 value which lies in [0.5, 1), not the return value itself.
42160
42161 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42162
42163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42164
42165 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
42166
42167 * stdio-common/bug26.c (main): Correct fscanf template.
42168
42169 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
42170 declare _dl_skip_args.
42171
42172 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
42173 Don't declare.
42174
42175 * manual/platform.texi: Add missing @end deftypefun.
42176
42177 2013-05-24 Joseph Myers <joseph@codesourcery.com>
42178
42179 [BZ #15529]
42180 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
42181 bit of mantissa of 2^16382.
42182 * math/libm-test.inc (hypot_test_data): Add more tests.
42183
42184 * math/libm-test.inc: Add drem and pow10 to list of tested
42185 functions.
42186 (pow10_test): New function.
42187 (drem_test): Likewise.
42188 (drem_test_tonearest): Likewise.
42189 (drem_test_towardzero): Likewise.
42190 (drem_test_downward): Likewise.
42191 (drem_test_upward): Likewise.
42192 (main): Call the new functions.
42193
42194 * math/libm-test.inc (finite_test_data): Remove.
42195 (finite_test): Run tests from isfinite_test_data.
42196 (gamma_test_data): Remove.
42197 (gamma_test): Run tests from lgamma_test_data.
42198 * sysdeps/i386/fpu/libm-test-ulps: Update.
42199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42200
42201 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42202
42203 * manual/platform.texi: Add PowerPC PPR function set documentation.
42204 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
42205 implementation.
42206
42207 2013-05-24 Carlos O'Donell <carlos@redhat.com>
42208
42209 * math/libm-test.inc (MAX_EXP): Define.
42210 (ULPDIFF): Define.
42211 (ulp): New function.
42212 (check_float_internal): Use ULPDIFF.
42213 (cpow_test): Disable failing test.
42214 (check_ulp): Test ulp() implemetnation.
42215 (main): Call check_ulp before starting tests.
42216
42217 2013-05-24 Joseph Myers <joseph@codesourcery.com>
42218
42219 * math/gen-libm-test.pl (generate_testfile): Do not handle
42220 START_DATA and END_DATA.
42221 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
42222 END_DATA.
42223 (acos_tonearest_test_data): Likewise.
42224 (acos_towardzero_test_data): Likewise.
42225 (acos_downward_test_data): Likewise.
42226 (acos_upward_test_data): Likewise.
42227 (acosh_test_data): Likewise.
42228 (asin_test_data): Likewise.
42229 (asin_tonearest_test_data): Likewise.
42230 (asin_towardzero_test_data): Likewise.
42231 (asin_downward_test_data): Likewise.
42232 (asin_upward_test_data): Likewise.
42233 (asinh_test_data): Likewise.
42234 (atan_test_data): Likewise.
42235 (atanh_test_data): Likewise.
42236 (atan2_test_data): Likewise.
42237 (cabs_test_data): Likewise.
42238 (cacos_test_data): Likewise.
42239 (cacosh_test_data): Likewise.
42240 (carg_test_data): Likewise.
42241 (casin_test_data): Likewise.
42242 (casinh_test_data): Likewise.
42243 (catan_test_data): Likewise.
42244 (catanh_test_data): Likewise.
42245 (cbrt_test_data): Likewise.
42246 (ccos_test_data): Likewise.
42247 (ccosh_test_data): Likewise.
42248 (ceil_test_data): Likewise.
42249 (cexp_test_data): Likewise.
42250 (cimag_test_data): Likewise.
42251 (clog_test_data): Likewise.
42252 (clog10_test_data): Likewise.
42253 (conj_test_data): Likewise.
42254 (copysign_test_data): Likewise.
42255 (cos_test_data): Likewise.
42256 (cos_tonearest_test_data): Likewise.
42257 (cos_towardzero_test_data): Likewise.
42258 (cos_downward_test_data): Likewise.
42259 (cos_upward_test_data): Likewise.
42260 (cosh_test_data): Likewise.
42261 (cosh_tonearest_test_data): Likewise.
42262 (cosh_towardzero_test_data): Likewise.
42263 (cosh_downward_test_data): Likewise.
42264 (cosh_upward_test_data): Likewise.
42265 (cpow_test_data): Likewise.
42266 (cproj_test_data): Likewise.
42267 (creal_test_data): Likewise.
42268 (csin_test_data): Likewise.
42269 (csinh_test_data): Likewise.
42270 (csqrt_test_data): Likewise.
42271 (ctan_test_data): Likewise.
42272 (ctan_tonearest_test_data): Likewise.
42273 (ctan_towardzero_test_data): Likewise.
42274 (ctan_downward_test_data): Likewise.
42275 (ctan_upward_test_data): Likewise.
42276 (ctanh_test_data): Likewise.
42277 (ctanh_tonearest_test_data): Likewise.
42278 (ctanh_towardzero_test_data): Likewise.
42279 (ctanh_downward_test_data): Likewise.
42280 (ctanh_upward_test_data): Likewise.
42281 (erf_test_data): Likewise.
42282 (erfc_test_data): Likewise.
42283 (exp_test_data): Likewise.
42284 (exp_tonearest_test_data): Likewise.
42285 (exp_towardzero_test_data): Likewise.
42286 (exp_downward_test_data): Likewise.
42287 (exp_upward_test_data): Likewise.
42288 (exp10_test_data): Likewise.
42289 (exp2_test_data): Likewise.
42290 (expm1_test_data): Likewise.
42291 (fabs_test_data): Likewise.
42292 (fdim_test_data): Likewise.
42293 (finite_test_data): Likewise.
42294 (floor_test_data): Likewise.
42295 (fma_test_data): Likewise.
42296 (fma_towardzero_test_data): Likewise.
42297 (fma_downward_test_data): Likewise.
42298 (fma_upward_test_data): Likewise.
42299 (fmax_test_data): Likewise.
42300 (fmin_test_data): Likewise.
42301 (fmod_test_data): Likewise.
42302 (fpclassify_test_data): Likewise.
42303 (frexp_test_data): Likewise.
42304 (gamma_test_data): Likewise.
42305 (hypot_test_data): Likewise.
42306 (ilogb_test_data): Likewise.
42307 (isfinite_test_data): Likewise.
42308 (isgreater_test_data): Likewise.
42309 (isgreaterequal_test_data): Likewise.
42310 (isinf_test_data): Likewise.
42311 (isless_test_data): Likewise.
42312 (islessequal_test_data): Likewise.
42313 (islessgreater_test_data): Likewise.
42314 (isnan_test_data): Likewise.
42315 (isnormal_test_data): Likewise.
42316 (issignaling_test_data): Likewise.
42317 (isunordered_test_data): Likewise.
42318 (j0_test_data): Likewise.
42319 (j1_test_data): Likewise.
42320 (jn_test_data): Likewise.
42321 (ldexp_test_data): Likewise.
42322 (lgamma_test_data): Likewise.
42323 (lrint_test_data): Likewise.
42324 (lrint_tonearest_test_data): Likewise.
42325 (lrint_towardzero_test_data): Likewise.
42326 (lrint_downward_test_data): Likewise.
42327 (lrint_upward_test_data): Likewise.
42328 (llrint_test_data): Likewise.
42329 (llrint_tonearest_test_data): Likewise.
42330 (llrint_towardzero_test_data): Likewise.
42331 (llrint_downward_test_data): Likewise.
42332 (llrint_upward_test_data): Likewise.
42333 (log_test_data): Likewise.
42334 (log10_test_data): Likewise.
42335 (log1p_test_data): Likewise.
42336 (log2_test_data): Likewise.
42337 (logb_test_data): Likewise.
42338 (logb_downward_test_data): Likewise.
42339 (lround_test_data): Likewise.
42340 (llround_test_data): Likewise.
42341 (modf_test_data): Likewise.
42342 (nearbyint_test_data): Likewise.
42343 (nextafter_test_data): Likewise.
42344 (nexttoward_test_data): Likewise.
42345 (pow_test_data): Likewise.
42346 (pow_tonearest_test_data): Likewise.
42347 (pow_towardzero_test_data): Likewise.
42348 (pow_downward_test_data): Likewise.
42349 (pow_upward_test_data): Likewise.
42350 (remainder_test_data): Likewise.
42351 (remainder_tonearest_test_data): Likewise.
42352 (remainder_towardzero_test_data): Likewise.
42353 (remainder_downward_test_data): Likewise.
42354 (remainder_upward_test_data): Likewise.
42355 (remquo_test_data): Likewise.
42356 (rint_test_data): Likewise.
42357 (rint_tonearest_test_data): Likewise.
42358 (rint_towardzero_test_data): Likewise.
42359 (rint_downward_test_data): Likewise.
42360 (rint_upward_test_data): Likewise.
42361 (round_test_data): Likewise.
42362 (scalb_test_data): Likewise.
42363 (scalbn_test_data): Likewise.
42364 (scalbln_test_data): Likewise.
42365 (signbit_test_data): Likewise.
42366 (sin_test_data): Likewise.
42367 (sin_tonearest_test_data): Likewise.
42368 (sin_towardzero_test_data): Likewise.
42369 (sin_downward_test_data): Likewise.
42370 (sin_upward_test_data): Likewise.
42371 (sincos_test_data): Likewise.
42372 (sinh_test_data): Likewise.
42373 (sinh_tonearest_test_data): Likewise.
42374 (sinh_towardzero_test_data): Likewise.
42375 (sinh_downward_test_data): Likewise.
42376 (sinh_upward_test_data): Likewise.
42377 (sqrt_test_data): Likewise.
42378 (tan_test_data): Likewise.
42379 (tan_tonearest_test_data): Likewise.
42380 (tan_towardzero_test_data): Likewise.
42381 (tan_downward_test_data): Likewise.
42382 (tan_upward_test_data): Likewise.
42383 (tanh_test_data): Likewise.
42384 (tgamma_test_data): Likewise.
42385 (trunc_test_data): Likewise.
42386 (y0_test_data): Likewise.
42387 (y1_test_data): Likewise.
42388 (yn_test_data): Likewise.
42389 (significand_test_data): Likewise.
42390
42391 * math/gen-libm-test.pl (@functions): Remove variable.
42392 (generate_testfile): Don't handle START and END lines.
42393 * math/libm-test.inc (START): New macro.
42394 (END): Likewise.
42395 (END_COMPLEX): Likewise.
42396 (acos_test): Use END macro without arguments.
42397 (acos_test_tonearest): Likewise.
42398 (acos_test_towardzero): Likewise.
42399 (acos_test_downward): Likewise.
42400 (acos_test_upward): Likewise.
42401 (acosh_test): Likewise.
42402 (asin_test): Likewise.
42403 (asin_test_tonearest): Likewise.
42404 (asin_test_towardzero): Likewise.
42405 (asin_test_downward): Likewise.
42406 (asin_test_upward): Likewise.
42407 (asinh_test): Likewise.
42408 (atan_test): Likewise.
42409 (atanh_test): Likewise.
42410 (atan2_test): Likewise.
42411 (cabs_test): Likewise.
42412 (cacos_test): Use END_COMPLEX macro without arguments.
42413 (cacosh_test): Likewise.
42414 (carg_test): Use END macro without arguments.
42415 (casin_test): Use END_COMPLEX macro without arguments.
42416 (casinh_test): Likewise.
42417 (catan_test): Likewise.
42418 (catanh_test): Likewise.
42419 (cbrt_test): Use END macro without arguments.
42420 (ccos_test): Use END_COMPLEX macro without arguments.
42421 (ccosh_test): Likewise.
42422 (ceil_test): Use END macro without arguments.
42423 (cexp_test): Use END_COMPLEX macro without arguments.
42424 (cimag_test): Use END macro without arguments.
42425 (clog_test): Use END_COMPLEX macro without arguments.
42426 (clog10_test): Likewise.
42427 (conj_test): Likewise.
42428 (copysign_test): Use END macro without arguments.
42429 (cos_test): Likewise.
42430 (cos_test_tonearest): Likewise.
42431 (cos_test_towardzero): Likewise.
42432 (cos_test_downward): Likewise.
42433 (cos_test_upward): Likewise.
42434 (cosh_test): Likewise.
42435 (cosh_test_tonearest): Likewise.
42436 (cosh_test_towardzero): Likewise.
42437 (cosh_test_downward): Likewise.
42438 (cosh_test_upward): Likewise.
42439 (cpow_test): Use END_COMPLEX macro without arguments.
42440 (cproj_test): Likewise.
42441 (creal_test): Use END macro without arguments.
42442 (csin_test): Use END_COMPLEX macro without arguments.
42443 (csinh_test): Likewise.
42444 (csqrt_test): Likewise.
42445 (ctan_test): Likewise.
42446 (ctan_test_tonearest): Likewise.
42447 (ctan_test_towardzero): Likewise.
42448 (ctan_test_downward): Likewise.
42449 (ctan_test_upward): Likewise.
42450 (ctanh_test): Likewise.
42451 (ctanh_test_tonearest): Likewise.
42452 (ctanh_test_towardzero): Likewise.
42453 (ctanh_test_downward): Likewise.
42454 (ctanh_test_upward): Likewise.
42455 (erf_test): Use END macro without arguments.
42456 (erfc_test): Likewise.
42457 (exp_test): Likewise.
42458 (exp_test_tonearest): Likewise.
42459 (exp_test_towardzero): Likewise.
42460 (exp_test_downward): Likewise.
42461 (exp_test_upward): Likewise.
42462 (exp10_test): Likewise.
42463 (exp2_test): Likewise.
42464 (expm1_test): Likewise.
42465 (fabs_test): Likewise.
42466 (fdim_test): Likewise.
42467 (finite_test): Likewise.
42468 (floor_test): Likewise.
42469 (fma_test): Likewise.
42470 (fma_test_towardzero): Likewise.
42471 (fma_test_downward): Likewise.
42472 (fma_test_upward): Likewise.
42473 (fmax_test): Likewise.
42474 (fmin_test): Likewise.
42475 (fmod_test): Likewise.
42476 (fpclassify_test): Likewise.
42477 (frexp_test): Likewise.
42478 (gamma_test): Likewise.
42479 (hypot_test): Likewise.
42480 (ilogb_test): Likewise.
42481 (isfinite_test): Likewise.
42482 (isgreater_test): Likewise.
42483 (isgreaterequal_test): Likewise.
42484 (isinf_test): Likewise.
42485 (isless_test): Likewise.
42486 (islessequal_test): Likewise.
42487 (islessgreater_test): Likewise.
42488 (isnan_test): Likewise.
42489 (isnormal_test): Likewise.
42490 (issignaling_test): Likewise.
42491 (isunordered_test): Likewise.
42492 (j0_test): Likewise.
42493 (j1_test): Likewise.
42494 (jn_test): Likewise.
42495 (ldexp_test): Likewise.
42496 (lgamma_test): Likewise.
42497 (lrint_test): Likewise.
42498 (lrint_test_tonearest): Likewise.
42499 (lrint_test_towardzero): Likewise.
42500 (lrint_test_downward): Likewise.
42501 (lrint_test_upward): Likewise.
42502 (llrint_test): Likewise.
42503 (llrint_test_tonearest): Likewise.
42504 (llrint_test_towardzero): Likewise.
42505 (llrint_test_downward): Likewise.
42506 (llrint_test_upward): Likewise.
42507 (log_test): Likewise.
42508 (log10_test): Likewise.
42509 (log1p_test): Likewise.
42510 (log2_test): Likewise.
42511 (logb_test): Likewise.
42512 (logb_test_downward): Likewise.
42513 (lround_test): Likewise.
42514 (llround_test): Likewise.
42515 (modf_test): Likewise.
42516 (nearbyint_test): Likewise.
42517 (nextafter_test): Likewise.
42518 (nexttoward_test): Likewise.
42519 (pow_test): Likewise.
42520 (pow_test_tonearest): Likewise.
42521 (pow_test_towardzero): Likewise.
42522 (pow_test_downward): Likewise.
42523 (pow_test_upward): Likewise.
42524 (remainder_test): Likewise.
42525 (remainder_test_tonearest): Likewise.
42526 (remainder_test_towardzero): Likewise.
42527 (remainder_test_downward): Likewise.
42528 (remainder_test_upward): Likewise.
42529 (remquo_test): Likewise.
42530 (rint_test): Likewise.
42531 (rint_test_tonearest): Likewise.
42532 (rint_test_towardzero): Likewise.
42533 (rint_test_downward): Likewise.
42534 (rint_test_upward): Likewise.
42535 (round_test): Likewise.
42536 (scalb_test): Likewise.
42537 (scalbn_test): Likewise.
42538 (scalbln_test): Likewise.
42539 (signbit_test): Likewise.
42540 (sin_test): Likewise.
42541 (sin_test_tonearest): Likewise.
42542 (sin_test_towardzero): Likewise.
42543 (sin_test_downward): Likewise.
42544 (sin_test_upward): Likewise.
42545 (sincos_test): Likewise.
42546 (sinh_test): Likewise.
42547 (sinh_test_tonearest): Likewise.
42548 (sinh_test_towardzero): Likewise.
42549 (sinh_test_downward): Likewise.
42550 (sinh_test_upward): Likewise.
42551 (sqrt_test): Likewise.
42552 (tan_test): Likewise.
42553 (tan_test_tonearest): Likewise.
42554 (tan_test_towardzero): Likewise.
42555 (tan_test_downward): Likewise.
42556 (tan_test_upward): Likewise.
42557 (tanh_test): Likewise.
42558 (tgamma_test): Likewise.
42559 (trunc_test): Likewise.
42560 (y0_test): Likewise.
42561 (y1_test): Likewise.
42562 (yn_test): Likewise.
42563 (significand_test): Likewise.
42564
42565 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
42566
42567 [BZ #15381]
42568 * libio/genops.c (_IO_no_init): Initialize wide struct info.
42569
42570 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
42571
42572 [BZ #14894]
42573 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
42574 __ppc_mdoio and __ppc_mdoom.
42575 * manual/platform.texi: Document new functions __ppc_yield,
42576 __ppc_mdoio and __ppc_mdoom.
42577
42578 2013-05-22 Carlos O'Donell <carlos@redhat.com>
42579
42580 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
42581 (main): Mention "tls" pseudo-hwcap is legacy.
42582 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
42583
42584 2013-05-22 Joseph Myers <joseph@codesourcery.com>
42585
42586 * math/gen-libm-test.pl (parse_args): Output only string of
42587 arguments as text for test name, not full call or descriptions of
42588 tests for extra outputs.
42589 (generate_testfile): Do not pass function name to parse_args.
42590 Generate this_func variable from START.
42591 * math/libm-test.inc (struct test_f_f_data): Rename test_name
42592 field to arg_str.
42593 (struct test_ff_f_data): Likewise.
42594 (test_ff_f_data_nexttoward): Likewise.
42595 (struct test_fi_f_data): Likewise.
42596 (struct test_fl_f_data): Likewise.
42597 (struct test_if_f_data): Likewise.
42598 (struct test_fff_f_data): Likewise.
42599 (struct test_c_f_data): Likewise.
42600 (struct test_f_f1_data): Likewise. Remove field extra_name.
42601 (struct test_fF_f1_data): Likewise.
42602 (struct test_ffI_f1_data): Likewise.
42603 (struct test_c_c_data): Rename test_name field to arg_str.
42604 (struct test_cc_c_data): Likewise.
42605 (struct test_f_i_data): Likewise.
42606 (struct test_ff_i_data): Likewise.
42607 (struct test_f_l_data): Likewise.
42608 (struct test_f_L_data): Likewise.
42609 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
42610 and extra2_name.
42611 (COMMON_TEST_SETUP): New macro.
42612 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
42613 (COMMON_TEST_CLEANUP): Likewise.
42614 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
42615 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
42616 macros.
42617 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
42618 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
42619 macros.
42620 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
42621 (RUN_TEST_fff_f): Take argument string. Call new setup and
42622 cleanup macros.
42623 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
42624 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
42625 macros.
42626 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
42627 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
42628 macros.
42629 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42630 (RUN_TEST_fF_f1): Take argument string. Call new setup and
42631 cleanup macros.
42632 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42633 (RUN_TEST_fI_f1): Take argument string. Call new setup and
42634 cleanup macros.
42635 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42636 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
42637 cleanup macros.
42638 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42639 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
42640 macros.
42641 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
42642 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
42643 macros.
42644 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
42645 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
42646 macros.
42647 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
42648 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
42649 cleanup macros.
42650 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
42651 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
42652 cleanup macros.
42653 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
42654 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
42655 macros.
42656 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
42657 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
42658 cleanup macros.
42659 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
42660 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
42661 macros.
42662 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
42663 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
42664 macros.
42665 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
42666 (RUN_TEST_fFF_11): Take argument string. Call new setup and
42667 cleanup macros.
42668 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
42669
42670 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
42671
42672 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
42673 to _sifields.sigfault.
42674 (si_addr_lsb): Define new macro.
42675 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42676 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42677 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
42678
42679 2013-05-03 Carlos O'Donell <carlos at redhat.com>
42680
42681 [BZ #15441]
42682 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
42683 returns -1.
42684 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
42685 null return -1.
42686 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
42687 loading the domain.
42688
42689 2013-05-22 Joseph Myers <joseph@codesourcery.com>
42690
42691 * math/gen-libm-test.pl (parse_args): Do not include expected
42692 result in test name.
42693 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
42694 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42695 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42696 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42697 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42699
42700 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42701
42702 * benchtests/Makefile: Sort function entries.
42703
42704 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
42705 tanh, asinh, acosh, atanh.
42706 * benchtests/acos-inputs: New file.
42707 * benchtests/acosh-inputs: New file.
42708 * benchtests/asin-inputs: New file.
42709 * benchtests/asinh-inputs: New file.
42710 * benchtests/atanh-inputs: New file.
42711 * benchtests/cosh-inputs: New file.
42712 * benchtests/log-inputs: New file.
42713 * benchtests/sinh-inputs: New file.
42714 * benchtests/tanh-inputs: New file.
42715
42716 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
42717
42718 [BZ #15339]
42719 * posix/tst-getaddrinfo4.c: New test.
42720 * posix/Makefile (tests): Add it.
42721
42722 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
42723
42724 [BZ #15339]
42725 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
42726 when no services were used.
42727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
42728 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
42729
42730 2013-05-21 Andreas Schwab <schwab@suse.de>
42731
42732 [BZ #15014]
42733 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
42734 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
42735 successful.
42736 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
42737 redundant variable declarations and reallocation of buffer when
42738 parsing as IPv6 address. Always set NSS status when called from
42739 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
42740 buffer too small. Correct computation of needed size.
42741 * nss/Makefile (tests): Add test-digits-dots.
42742 * nss/test-digits-dots.c: New test.
42743
42744 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
42745
42746 * benchtests/Makefile: Remove instructions for adding
42747 benchmark tests.
42748 * benchtests/README: New file to explain how to execute and
42749 enhance the benchmark tests.
42750
42751 2013-05-21 Andreas Schwab <schwab@suse.de>
42752
42753 [BZ #15493]
42754 * setjmp/Makefile (tests): Add tst-sigsetjmp.
42755 * setjmp/tst-sigsetjmp.c: New test.
42756
42757 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
42758
42759 * sysdeps/x86_64/memset.S (memset): New implementation.
42760 (__bzero): Likewise.
42761 (__memset_tail): New function.
42762
42763 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
42764
42765 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
42766 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
42767 __memcpy_sse2_unaligned ifunc selection.
42768 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42769 Add memcpy-sse2-unaligned.S.
42770 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42771 Add: __memcpy_sse2_unaligned.
42772
42773 2013-05-19 Joseph Myers <joseph@codesourcery.com>
42774
42775 [BZ #15490]
42776 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42777 math_force_eval before restoring floating-point envrionment.
42778 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
42779 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
42780 Likewise.
42781 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
42782 <math_private.h>.
42783 (__nearbyintl): Use math_force_eval before restoring
42784 floating-point environment.
42785 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
42786
42787 * math/gen-libm-test.pl (special_functions): Remove.
42788 (parse_args): Don't handle TEST_extra. Handle functions with no
42789 return value.
42790 * math/libm-test.inc (struct test_sincos_data): Replace with
42791 struct test_fFF_11_data.
42792 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
42793 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
42794 (sincos_test_data): Change element type to struct
42795 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
42796 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
42797 RUN_TEST_LOOP_sincos.
42798 * math/README.libm-test: Don't mention special handling of
42799 individual functions.
42800 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
42801 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42802 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42803 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42804 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42806
42807 * math/gen-libm-test.pl (get_variable): Remove function.
42808 (parse_args): Don't show pointer parameters to call in test
42809 names. Use "extra output N" in test names for extra outputs
42810 rather than naming variables.
42811
42812 2013-05-18 Joseph Myers <joseph@codesourcery.com>
42813
42814 [BZ #15488]
42815 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
42816 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
42817 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
42818 double tests.
42819 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
42820 disable.
42821 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
42822 check_long_double.
42823
42824 * math/gen-libm-test.pl (@tests): Remove variable.
42825 ($count): Likewise.
42826 (new_test): Remove function.
42827 (show_exceptions): New function.
42828 (special_functions): Use show_exceptions instead of new_test.
42829 (parse_args): Likewise.
42830 (generate_testfile): Pass only function name in generated call to
42831 print_max_error or print_complex_max_error.
42832 (get_ulps): Do not handle complex tests specially.
42833 (output_test): Rename to ...
42834 (get_all_ulps_for_test): ... this. Return a string rather than
42835 printing to a file. Require ulps to be present.
42836 (output_ulps): Generate arrays rather than #defines.
42837 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
42838 (struct ulp_data): New type.
42839 (BUILD_COMPLEX_ULP): Remove macro.
42840 (compare_ulp_data): New function.
42841 (find_ulps): Likewise.
42842 (find_test_ulps): Likewise.
42843 (find_function_ulps): Likewise.
42844 (find_complex_function_ulps): Likewise.
42845 (print_max_error): Determine allowed ulps using
42846 find_function_ulps.
42847 (print_complex_max_error): Determine allowed ulps using
42848 find_complex_function_ulps.
42849 (check_float_internal): Determine max ulps using find_test_ulps.
42850 (check_float): Do not take max_ulp parameter. Update call to
42851 check_float_internal.
42852 (check_complex): Likewise.
42853 (check_int): Do not take max_ulp parameter.
42854 (check_long): Likewise.
42855 (check_bool): Likewise.
42856 (check_longlong): Likewise.
42857 (struct test_f_f_data): Remove max_ulp field.
42858 (struct test_ff_f_data): Likewise.
42859 (struct test_ff_f_data_nexttoward): Likewise.
42860 (struct test_fi_f_data): Likewise.
42861 (struct test_fl_f_data): Likewise.
42862 (struct test_if_f_data): Likewise.
42863 (struct test_fff_f_data): Likewise.
42864 (struct test_c_f_data): Likewise.
42865 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
42866 (struct test_fF_f1_data): Likewise.
42867 (struct test_ffI_f1_data): Likewise.
42868 (struct test_c_c_data): Remove max_ulp field.
42869 (struct test_cc_c_data): Likewise.
42870 (struct test_f_i_data): Likewise.
42871 (struct test_ff_i_data): Likewise.
42872 (struct test_f_l_data): Likewise.
42873 (struct test_f_L_data): Likewise.
42874 (struct test_sincos_data): Likewise.
42875 (RUN_TEST_f_f): Do not handle ulps.
42876 (RUN_TEST_LOOP_f_f): Likewise.
42877 (RUN_TEST_2_f): Likewise.
42878 (RUN_TEST_LOOP_2_f): Likewise.
42879 (RUN_TEST_fff_f): Likewise.
42880 (RUN_TEST_LOOP_fff_f): Likewise.
42881 (RUN_TEST_c_f): Likewise.
42882 (RUN_TEST_LOOP_c_f): Likewise.
42883 (RUN_TEST_f_f1): Likewise.
42884 (RUN_TEST_LOOP_f_f1): Likewise.
42885 (RUN_TEST_fF_f1): Likewise.
42886 (RUN_TEST_LOOP_fF_f1): Likewise.
42887 (RUN_TEST_fI_f1): Likewise.
42888 (RUN_TEST_LOOP_fI_f1): Likewise.
42889 (RUN_TEST_ffI_f1): Likewise.
42890 (RUN_TEST_LOOP_ffI_f1): Likewise.
42891 (RUN_TEST_c_c): Likewise.
42892 (RUN_TEST_LOOP_c_c): Likewise.
42893 (RUN_TEST_cc_c): Likewise.
42894 (RUN_TEST_LOOP_cc_c): Likewise.
42895 (RUN_TEST_f_i): Likewise.
42896 (RUN_TEST_LOOP_f_i): Likewise.
42897 (RUN_TEST_f_i_tg): Likewise.
42898 (RUN_TEST_LOOP_f_i_tg): Likewise.
42899 (RUN_TEST_ff_i_tg): Likewise.
42900 (RUN_TEST_LOOP_ff_i_tg): Likewise.
42901 (RUN_TEST_f_b): Likewise.
42902 (RUN_TEST_LOOP_f_b): Likewise.
42903 (RUN_TEST_f_b_tg): Likewise.
42904 (RUN_TEST_LOOP_f_b_tg): Likewise.
42905 (RUN_TEST_f_l): Likewise.
42906 (RUN_TEST_LOOP_f_l): Likewise.
42907 (RUN_TEST_f_L): Likewise.
42908 (RUN_TEST_LOOP_f_L): Likewise.
42909 (RUN_TEST_sincos): Likewise.
42910 (RUN_TEST_LOOP_sincos): Likewise.
42911
42912 2013-05-17 Joseph Myers <joseph@codesourcery.com>
42913
42914 [BZ #15480]
42915 [BZ #15485]
42916 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
42917 main case of finite arguments, set rounding mode to FE_TONEAREST
42918 and discard exceptions.
42919 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
42920 exceptions.
42921 (remainder_tonearest_test_data): New variable.
42922 (remainder_test_tonearest): New function.
42923 (remainder_towardzero_test_data): New variable.
42924 (remainder_test_towardzero): New function.
42925 (remainder_downward_test_data): New variable.
42926 (remainder_test_downward): New function.
42927 (remainder_upward_test_data): New variable.
42928 (remainder_test_upward): New function.
42929 (main): Call the new test functions.
42930
42931 * math/libm-test.inc (struct test_f_f1_data): Remove field
42932 extra_init.
42933 (struct test_fF_f1_data): Likewise.
42934 (struct test_ffI_f1_data): Likewise.
42935 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
42936 based on value of EXTRA_EXPECTED.
42937 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42938 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
42939 EXTRA_VAR based on value of EXTRA_EXPECTED.
42940 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42941 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
42942 EXTRA_VAR based on value of EXTRA_EXPECTED.
42943 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42944 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
42945 EXTRA_VAR based on value of EXTRA_EXPECTED.
42946 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42947 * math/gen-libm-test.pl (parse_args): Don't output initializers
42948 for extra output values.
42949
42950 * math/libm-test.inc (check_int): Expect result to be exactly
42951 equal to expected value and do not handle ulps.
42952 (check_long): Likewise.
42953 (check_longlong): Likewise.
42954
42955 * math/libm-test.inc (ceil_test_data): Test for "inexact"
42956 exceptions.
42957 (cimag_test_data): Likewise.
42958 (conj_test_data): Likewise.
42959 (copysign_test_data): Likewise.
42960 (cproj_test_data): Likewise.
42961 (creal_test_data): Likewise.
42962 (fabs_test_data): Likewise.
42963 (fdim_test_data): Likewise.
42964 (finite_test_data): Likewise.
42965 (floor_test_data): Likewise.
42966 (fmax_test_data): Likewise.
42967 (fmin_test_data): Likewise.
42968 (fmod_test_data): Likewise.
42969 (fpclassify_test_data): Likewise.
42970 (frexp_test_data): Likewise.
42971 (ilogb_test_data): Likewise.
42972 (isfinite_test_data): Likewise.
42973 (isgreater_test_data): Likewise.
42974 (isgreaterequal_test_data): Likewise.
42975 (isinf_test_data): Likewise.
42976 (isless_test_data): Likewise.
42977 (islessequal_test_data): Likewise.
42978 (islessgreater_test_data): Likewise.
42979 (isnan_test_data): Likewise.
42980 (isnormal_test_data): Likewise.
42981 (issignaling_test_data): Likewise.
42982 (isunordered_test_data): Likewise.
42983 (ldexp_test_data): Likewise.
42984 (lrint_test_data): Likewise.
42985 (lrint_test_data) [TEST_FLOAT]: Disable one test.
42986 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
42987 (lrint_tonearest_test_data): Test for "inexact" exceptions.
42988 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
42989 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
42990 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
42991 test input.
42992 (lrint_towardzero_test_data): Test for "inexact" exceptions.
42993 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
42994 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
42995 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
42996 that test input.
42997 (lrint_downward_test_data): Test for "inexact" exceptions.
42998 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
42999 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
43000 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43001 test input.
43002 (lrint_upward_test_data): Test for "inexact" exceptions.
43003 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
43004 test input.
43005 (llrint_test_data): Test for "inexact" exceptions.
43006 (llrint_test_data) [TEST_FLOAT]: Disable one test.
43007 (llrint_tonearest_test_data): Test for "inexact" exceptions.
43008 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43009 (llrint_towardzero_test_data): Test for "inexact" exceptions.
43010 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43011 (llrint_downward_test_data): Test for "inexact" exceptions.
43012 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43013 (llrint_upward_test_data): Test for "inexact" exceptions.
43014 (logb_test_data): Likewise.
43015 (logb_downward_test_data): Likewise.
43016 (nextafter_test_data): Likewise.
43017 (nexttoward_test_data): Likewise.
43018 (remainder_test_data): Likewise.
43019 (remquo_test_data): Likewise.
43020 (scalbn_test_data): Likewise.
43021 (scalbln_test_data): Likewise.
43022 (signbit_test_data): Likewise.
43023 (sqrt_test_data): Likewise.
43024 (significand_test_data): Likewise.
43025
43026 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
43027
43028 [BZ #15424]
43029 * benchtests/bench-modf.c (struct args): Mark arg0 as
43030 volatile.
43031 * scripts/bench.pl: Mark members of struct args as volatile.
43032
43033 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43034
43035 [BZ # 15497]
43036 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
43037 negative infinity on POWER6 or lower.
43038 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
43039
43040 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
43041
43042 [BZ #15442]
43043 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
43044 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
43045 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
43046 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
43047 (_FP_SETQNAN): New macro.
43048 (_FP_SETQNAN_SEMIRAW): Likewise.
43049 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
43050 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
43051 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
43052 (FP_EXTEND): Use _FP_FRAC_SNANP.
43053 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
43054 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
43055 into account.
43056 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43057 New macro.
43058 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43059 Likewise.
43060
43061 2013-05-16 Joseph Myers <joseph@codesourcery.com>
43062
43063 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
43064 with DIVIDE_BY_ZERO_EXCEPTION.
43065 (gamma_test_data): Likewise.
43066 (lgamma_test_data): Likewise.
43067 (log_test_data): Likewise.
43068 (log10_test_data): Likewise.
43069 (log2_test_data): Likewise.
43070 (tgamma_test_data): Likewise.
43071
43072 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
43073 (acos_test_tonearest): Likewise.
43074 (acos_test_towardzero): Likewise.
43075 (acos_test_downward): Likewise.
43076 (acos_test_upward): Likewise.
43077 (acosh_test): Likewise.
43078 (asin_test): Likewise.
43079 (asin_test_tonearest): Likewise.
43080 (asin_test_towardzero): Likewise.
43081 (asin_test_downward): Likewise.
43082 (asin_test_upward): Likewise.
43083 (asinh_test): Likewise.
43084 (atan_test): Likewise.
43085 (atanh_test): Likewise.
43086 (atan2_test): Likewise.
43087 (cabs_test): Likewise.
43088 (cacos_test): Likewise.
43089 (cacosh_test): Likewise.
43090 (casin_test): Likewise.
43091 (casinh_test): Likewise.
43092 (catan_test): Likewise.
43093 (catanh_test): Likewise.
43094 (cbrt_test): Likewise.
43095 (ccos_test): Likewise.
43096 (ccosh_test): Likewise.
43097 (cexp_test): Likewise.
43098 (clog_test): Likewise.
43099 (clog10_test): Likewise.
43100 (cos_test): Likewise.
43101 (cos_test_tonearest): Likewise.
43102 (cos_test_towardzero): Likewise.
43103 (cos_test_downward): Likewise.
43104 (cos_test_upward): Likewise.
43105 (cosh_test): Likewise.
43106 (cosh_test_tonearest): Likewise.
43107 (cosh_test_towardzero): Likewise.
43108 (cosh_test_downward): Likewise.
43109 (cosh_test_upward): Likewise.
43110 (cpow_test): Likewise.
43111 (csin_test): Likewise.
43112 (csinh_test): Likewise.
43113 (csqrt_test): Likewise.
43114 (ctan_test): Likewise.
43115 (ctan_test_tonearest): Likewise.
43116 (ctan_test_towardzero): Likewise.
43117 (ctan_test_downward): Likewise.
43118 (ctan_test_upward): Likewise.
43119 (ctanh_test): Likewise.
43120 (ctanh_test_tonearest): Likewise.
43121 (ctanh_test_towardzero): Likewise.
43122 (ctanh_test_downward): Likewise.
43123 (ctanh_test_upward): Likewise.
43124 (erf_test): Likewise.
43125 (erfc_test): Likewise.
43126 (exp_test): Likewise.
43127 (exp_test_tonearest): Likewise.
43128 (exp_test_towardzero): Likewise.
43129 (exp_test_downward): Likewise.
43130 (exp_test_upward): Likewise.
43131 (exp10_test): Likewise.
43132 (exp2_test): Likewise.
43133 (expm1_test): Likewise.
43134 (fmod_test): Likewise.
43135 (gamma_test): Likewise.
43136 (hypot_test): Likewise.
43137 (j0_test): Likewise.
43138 (j1_test): Likewise.
43139 (jn_test): Likewise.
43140 (lgamma_test): Likewise.
43141 (log_test): Likewise.
43142 (log10_test): Likewise.
43143 (log1p_test): Likewise.
43144 (log2_test): Likewise.
43145 (logb_test_downward): Likewise.
43146 (pow_test): Likewise.
43147 (pow_test_tonearest): Likewise.
43148 (pow_test_towardzero): Likewise.
43149 (pow_test_downward): Likewise.
43150 (pow_test_upward): Likewise.
43151 (remainder_test): Likewise.
43152 (remquo_test): Likewise.
43153 (sin_test): Likewise.
43154 (sin_test_tonearest): Likewise.
43155 (sin_test_towardzero): Likewise.
43156 (sin_test_downward): Likewise.
43157 (sin_test_upward): Likewise.
43158 (sincos_test): Likewise.
43159 (sinh_test): Likewise.
43160 (sinh_test_tonearest): Likewise.
43161 (sinh_test_towardzero): Likewise.
43162 (sinh_test_downward): Likewise.
43163 (sinh_test_upward): Likewise.
43164 (sqrt_test): Likewise.
43165 (tan_test): Likewise.
43166 (tan_test_tonearest): Likewise.
43167 (tan_test_towardzero): Likewise.
43168 (tan_test_downward): Likewise.
43169 (tan_test_upward): Likewise.
43170 (tanh_test): Likewise.
43171 (tgamma_test): Likewise.
43172 (y0_test): Likewise.
43173 (y1_test): Likewise.
43174 (yn_test): Likewise.
43175
43176 * math/gen-libm-test.pl (adjust_arg): Remove function.
43177 (special_function): Remove argument $in_func. Only handle
43178 generating output for tables of tests, not inside functions.
43179 (parse_args): Likewise.
43180 (generate_testfile): Remove variable $in_func. Update call to
43181 parse_args.
43182 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
43183 (MINUS_ZERO_INIT): Rename macro to minus_zero.
43184 (PLUS_INFTY_INIT): Rename macro to plus_infty.
43185 (MINUS_INFTY_INIT): Rename macro to minus_infty.
43186 (QNAN_VALUE_INIT): Rename macro to qnan_value.
43187 (MAX_VALUE_INIT): Rename macro to max_value.
43188 (MIN_VALUE_INIT): Rename macro to min_value.
43189 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
43190 (plus_zero): Remove variable.
43191 (minus_zero): Likewise.
43192 (plus_infty): Likewise.
43193 (minus_infty): Likewise.
43194 (qnan_value): Likewise.
43195 (max_value): Likewise.
43196 (min_value): Likewise.
43197 (min_subnorm_value): Likewise.
43198
43199 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43200
43201 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
43202 uint64_t or uint32_t usage.
43203 * crypt/sha256-block.c: Likewise.
43204 * crypt/sha256-crypt.c: Likewise.
43205 * crypt/sha256.c: Likewise.
43206 * crypt/sha512-block.c: Likewise.
43207 * crypt/sha512-crypt.c: Likewise.
43208 * crypt/sha512.c: Likewise.
43209 * debug/backtrace-tst.c: Likewise.
43210 * debug/pcprofiledump.c: Likewise.
43211 * elf/cache.c: Likewise.
43212 * elf/dl-cache.c: Likewise.
43213 * elf/dl-misc.c: Likewise.
43214 * elf/dl-profile.c: Likewise.
43215 * elf/dl-support.c: Likewise.
43216 * elf/ldconfig.c: Likewise.
43217 * elf/sprof.c: Likewise.
43218 * iconv/dummy-repertoire.c: Likewise.
43219 * iconv/iconv_charmap.c: Likewise.
43220 * iconv/skeleton.c: Likewise.
43221 * iconvdata/8bit-generic.c: Likewise.
43222 * iconvdata/cp737.h: Likewise.
43223 * iconvdata/cp775.h: Likewise.
43224 * iconvdata/ibm1008.h: Likewise.
43225 * iconvdata/ibm1025.h: Likewise.
43226 * iconvdata/ibm1046.h: Likewise.
43227 * iconvdata/ibm1097.h: Likewise.
43228 * iconvdata/ibm1112.h: Likewise.
43229 * iconvdata/ibm1122.h: Likewise.
43230 * iconvdata/ibm1123.h: Likewise.
43231 * iconvdata/ibm1124.h: Likewise.
43232 * iconvdata/ibm1129.h: Likewise.
43233 * iconvdata/ibm1130.h: Likewise.
43234 * iconvdata/ibm1132.h: Likewise.
43235 * iconvdata/ibm1133.h: Likewise.
43236 * iconvdata/ibm1137.h: Likewise.
43237 * iconvdata/ibm1140.h: Likewise.
43238 * iconvdata/ibm1141.h: Likewise.
43239 * iconvdata/ibm1142.h: Likewise.
43240 * iconvdata/ibm1143.h: Likewise.
43241 * iconvdata/ibm1144.h: Likewise.
43242 * iconvdata/ibm1145.h: Likewise.
43243 * iconvdata/ibm1146.h: Likewise.
43244 * iconvdata/ibm1147.h: Likewise.
43245 * iconvdata/ibm1148.h: Likewise.
43246 * iconvdata/ibm1149.h: Likewise.
43247 * iconvdata/ibm1153.h: Likewise.
43248 * iconvdata/ibm1154.h: Likewise.
43249 * iconvdata/ibm1155.h: Likewise.
43250 * iconvdata/ibm1156.h: Likewise.
43251 * iconvdata/ibm1157.h: Likewise.
43252 * iconvdata/ibm1158.h: Likewise.
43253 * iconvdata/ibm1160.h: Likewise.
43254 * iconvdata/ibm1161.h: Likewise.
43255 * iconvdata/ibm1162.h: Likewise.
43256 * iconvdata/ibm1163.h: Likewise.
43257 * iconvdata/ibm1164.h: Likewise.
43258 * iconvdata/ibm1166.h: Likewise.
43259 * iconvdata/ibm1167.h: Likewise.
43260 * iconvdata/ibm12712.h: Likewise.
43261 * iconvdata/ibm1390.h: Likewise.
43262 * iconvdata/ibm1399.h: Likewise.
43263 * iconvdata/ibm16804.h: Likewise.
43264 * iconvdata/ibm4517.h: Likewise.
43265 * iconvdata/ibm4899.h: Likewise.
43266 * iconvdata/ibm4909.h: Likewise.
43267 * iconvdata/ibm4971.h: Likewise.
43268 * iconvdata/ibm5347.h: Likewise.
43269 * iconvdata/ibm803.h: Likewise.
43270 * iconvdata/ibm856.h: Likewise.
43271 * iconvdata/ibm901.h: Likewise.
43272 * iconvdata/ibm902.h: Likewise.
43273 * iconvdata/ibm9030.h: Likewise.
43274 * iconvdata/ibm9066.h: Likewise.
43275 * iconvdata/ibm921.h: Likewise.
43276 * iconvdata/ibm922.h: Likewise.
43277 * iconvdata/ibm9448.h: Likewise.
43278 * iconvdata/isiri-3342.h: Likewise.
43279 * iconvdata/jis0201.h: Likewise.
43280 * include/link.h: Likewise.
43281 * include/netdb.h: Likewise.
43282 * inet/check_native.c: Likewise.
43283 * inet/check_pf.c: Likewise.
43284 * inet/getipv4sourcefilter.c: Likewise.
43285 * inet/getnameinfo.c: Likewise.
43286 * inet/getsourcefilter.c: Likewise.
43287 * inet/htonl.c: Likewise.
43288 * inet/setipv4sourcefilter.c: Likewise.
43289 * inet/setsourcefilter.c: Likewise.
43290 * inet/test-inet6_opt.c: Likewise.
43291 * inet/tst-network.c: Likewise.
43292 * locale/C-collate.c: Likewise.
43293 * locale/C-ctype.c: Likewise.
43294 * locale/C-time.c: Likewise.
43295 * locale/C-translit.h: Likewise.
43296 * locale/loadarchive.c: Likewise.
43297 * locale/programs/3level.h: Likewise.
43298 * locale/programs/charmap.c: Likewise.
43299 * locale/programs/charmap.h: Likewise.
43300 * locale/programs/ld-address.c: Likewise.
43301 * locale/programs/ld-collate.c: Likewise.
43302 * locale/programs/ld-ctype.c: Likewise.
43303 * locale/programs/ld-identification.c: Likewise.
43304 * locale/programs/ld-measurement.c: Likewise.
43305 * locale/programs/ld-messages.c: Likewise.
43306 * locale/programs/ld-monetary.c: Likewise.
43307 * locale/programs/ld-name.c: Likewise.
43308 * locale/programs/ld-numeric.c: Likewise.
43309 * locale/programs/ld-paper.c: Likewise.
43310 * locale/programs/ld-telephone.c: Likewise.
43311 * locale/programs/ld-time.c: Likewise.
43312 * locale/programs/linereader.c: Likewise.
43313 * locale/programs/locale.c: Likewise.
43314 * locale/programs/locarchive.c: Likewise.
43315 * locale/programs/locfile.h: Likewise.
43316 * locale/programs/repertoire.c: Likewise.
43317 * locale/programs/simple-hash.c: Likewise.
43318 * locale/programs/simple-hash.h: Likewise.
43319 * malloc/memusage.c: Likewise.
43320 * malloc/memusagestat.c: Likewise.
43321 * nis/nis_defaults.c: Likewise.
43322 * nis/nis_hash.c: Likewise.
43323 * nis/nis_print.c: Likewise.
43324 * nis/nis_xdr.c: Likewise.
43325 * nscd/connections.c: Likewise.
43326 * nscd/hstcache.c: Likewise.
43327 * nscd/nscd_gethst_r.c: Likewise.
43328 * nscd/nscd_getserv_r.c: Likewise.
43329 * nscd/nscd_helper.c: Likewise.
43330 * nscd/servicescache.c: Likewise.
43331 * nss/makedb.c: Likewise.
43332 * nss/nss_db/db-XXX.c: Likewise.
43333 * nss/nss_db/db-initgroups.c: Likewise.
43334 * nss/nss_db/db-netgrp.c: Likewise.
43335 * nss/nss_files/files-network.c: Likewise.
43336 * nss/nss_files/files-parse.c: Likewise.
43337 * posix/bug-regex5.c: Likewise.
43338 * posix/fnmatch_loop.c: Likewise.
43339 * posix/regcomp.c: Likewise.
43340 * posix/regexec.c: Likewise.
43341 * posix/tst-rfc3484-2.c: Likewise.
43342 * posix/tst-rfc3484-3.c: Likewise.
43343 * posix/tst-rfc3484.c: Likewise.
43344 * resolv/nss_dns/dns-canon.c: Likewise.
43345 * resolv/nss_dns/dns-network.c: Likewise.
43346 * resolv/res_init.c: Likewise.
43347 * resolv/res_mkquery.c: Likewise.
43348 * resolv/tst-aton.c: Likewise.
43349 * stdlib/cxa_atexit.c: Likewise.
43350 * stdlib/cxa_finalize.c: Likewise.
43351 * stdlib/gen-fpioconst.c: Likewise.
43352 * stdlib/strtol_l.c: Likewise.
43353 * string/tst-endian.c: Likewise.
43354 * sunrpc/auth_des.c: Likewise.
43355 * sunrpc/clnt_udp.c: Likewise.
43356 * sunrpc/rtime.c: Likewise.
43357 * sunrpc/svcauth_des.c: Likewise.
43358 * sunrpc/xdr.c: Likewise.
43359 * sunrpc/xdr_intXX_t.c: Likewise.
43360 * sunrpc/xdr_rec.c: Likewise.
43361 * sysdeps/generic/ldconfig.h: Likewise.
43362 * sysdeps/generic/ldsodefs.h: Likewise.
43363 * sysdeps/generic/memusage.h: Likewise.
43364 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43365 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
43366 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
43367 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43368 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43369 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43370 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43371 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43372 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43373 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43374 * sysdeps/posix/getaddrinfo.c: Likewise.
43375 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43376 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43377 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43378 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43379 * sysdeps/powerpc/test-gettimebase.c: Likewise.
43380 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43381 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
43382 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
43383 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
43384 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
43385 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43386 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43387 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
43388 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
43389 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
43390 * sysdeps/x86_64/dl-tls.h: Likewise.
43391 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
43392 * time/alt_digit.c: Likewise.
43393 * time/era.c: Likewise.
43394 * wcsmbs/tst-c16c32-1.c: Likewise.
43395
43396 2013-05-16 Joseph Myers <joseph@codesourcery.com>
43397
43398 * math/libm-test.inc (struct test_sincos_data): New type.
43399 (RUN_TEST_LOOP_sincos): New macro.
43400 (sincos_test_data): New variable.
43401 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
43402
43403 2013-05-16 Richard Henderson <rth@redhat.com>
43404
43405 * math/atest-exp2.c (LIMB64): New macro.
43406 (CONSTSZ): New macro.
43407 (mp_exp1, mp_exp_m1, mp_log2): New variables.
43408 (hexdig): Move ...
43409 (print_mpn_fp): ... to function scope.
43410 (read_mpn_hex): Remove.
43411 (get_log2): Remove.
43412 (exp2_mpn): Use mp_log2.
43413 (main): Use mp_exp1.
43414
43415 2013-05-16 Joseph Myers <joseph@codesourcery.com>
43416
43417 * math/libm-test.inc: Remove comment about not testing "inexact"
43418 exceptions.
43419 (INEXACT_EXCEPTION): New macro.
43420 (NO_INEXACT_EXCEPTION): Likewise.
43421 (INVALID_EXCEPTION_OK): Update value.
43422 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43423 (OVERFLOW_EXCEPTION_OK): Likewise.
43424 (UNDERFLOW_EXCEPTION_OK): Likewise.
43425 (IGNORE_ZERO_INF_SIGN): Likewise.
43426 (ERRNO_UNCHANGED): Likewise.
43427 (ERRNO_EDOM): Likewise.
43428 (ERRNO_ERANGE): Likewise.
43429 (test_exceptions): Handle testing "inexact" exceptions.
43430 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
43431 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
43432 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
43433 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
43434 INEXACT_EXCEPTION.
43435 (rint_towardzero_test_data): Likewise.
43436 (rint_downward_test_data): Likewise.
43437 (rint_upward_test_data): Likewise.
43438
43439 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
43440 with OVERFLOW_EXCEPTION.
43441 (exp10_test_data): Likewise.
43442 (exp2_test_data): Likewise.
43443 (expm1_test_data): Likewise.
43444 (lgamma_test_data): Likewise.
43445 (pow_test_data): Likewise.
43446 (tgamma_test_data): Likewise.
43447 (yn_test_data): Remove duplicate test of overflow.
43448
43449 * math/libm-test.inc (struct test_cc_c_data): New type.
43450 (RUN_TEST_LOOP_cc_c): New macro.
43451 (cpow_test_data): New variable.
43452 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
43453
43454 * math/libm-test.inc (struct test_f_L_data): New type.
43455 (RUN_TEST_LOOP_f_L): New macro.
43456 (llrint_test_data): New variable.
43457 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
43458 (llrint_tonearest_test_data): New variable.
43459 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
43460 (llrint_towardzero_test_data): New variable.
43461 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
43462 (llrint_downward_test_data): New variable.
43463 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
43464 (llrint_upward_test_data): New variable.
43465 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
43466 (llround_test_data): New variable.
43467 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
43468
43469 2013-05-13 Peter Collingbourne <pcc@google.com>
43470
43471 * math/atest-exp2.c (get_log2): Remove const attribute.
43472
43473 2013-05-15 Joseph Myers <joseph@codesourcery.com>
43474
43475 * math/libm-test.inc (struct test_f_l_data): New type.
43476 (RUN_TEST_LOOP_f_l): New macro.
43477 (lrint_test_data): New variable.
43478 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
43479 (lrint_tonearest_test_data): New variable.
43480 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
43481 (lrint_towardzero_test_data): New variable.
43482 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
43483 (lrint_downward_test_data): New variable.
43484 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
43485 (lrint_upward_test_data): New variable.
43486 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
43487 (lround_test_data): New variable.
43488 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
43489
43490 2013-05-15 Peter Collingbourne <pcc@google.com>
43491
43492 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
43493 (EXTRACT_WORDS64) Use where appropriate.
43494 (INSERT_WORDS64) Likewise.
43495
43496 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
43497 constraints with x constraints.
43498 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
43499
43500 * malloc/obstack.c (_obstack_compat): Add initializer.
43501
43502 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
43503
43504 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
43505 si_trapno and add si_addr_lsb to _sifields.sigfault.
43506 (si_trapno): Remove macro.
43507 (si_addr_lsb): Define new macro.
43508 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43509
43510 2013-05-15 Joseph Myers <joseph@codesourcery.com>
43511
43512 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
43513 instead of TEST_f_l.
43514 (llrint_test_tonearest): Likewise.
43515 (llrint_test_towardzero): Likewise.
43516 (llrint_test_downward): Likewise.
43517 (llrint_test_upward): Likewise.
43518 (llround_test): Likewise.
43519
43520 * math/libm-test.inc (struct test_f_i_data): Add comment.
43521 (RUN_TEST_LOOP_f_b): New macro.
43522 (RUN_TEST_LOOP_f_b_tg): Likewise.
43523 (finite_test_data): New variable.
43524 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
43525 (isfinite_test_data): New variable.
43526 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43527 (isinf_test_data): New variable.
43528 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43529 (isnan_test_data): New variable.
43530 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43531 (isnormal_test_data): New variable.
43532 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43533 (issignaling_test_data): New variable.
43534 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43535 (signbit_test_data): New variable.
43536 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
43537
43538 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
43539 with INVALID_EXCEPTION.
43540 (acosh_test_data): Likewise.
43541 (asin_test_data): Likewise.
43542 (atanh_test_data): Likewise.
43543 (fmod_test_data): Likewise.
43544 (log_test_data): Likewise.
43545 (log10_test_data): Likewise.
43546 (log2_test_data): Likewise.
43547 (pow_test_data): Likewise.
43548 (sqrt_test_data): Likewise.
43549 (y0_test_data): Likewise.
43550 (y1_test_data): Likewise.
43551 (yn_test_data): Likewise.
43552
43553 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
43554 function contents.
43555
43556 * math/libm-test.inc (struct test_ff_i_data): New type.
43557 (RUN_TEST_LOOP_ff_i_tg): New macro.
43558 (isgreater_test_data): New variable.
43559 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43560 (isgreaterequal_test_data): New variable.
43561 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43562 (isless_test_data): New variable.
43563 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43564 (islessequal_test_data): New variable.
43565 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43566 (islessgreater_test_data): New variable.
43567 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43568 (isunordered_test_data): New variable.
43569 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43570
43571 2013-05-14 David S. Miller <davem@davemloft.net>
43572
43573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43574
43575 2013-05-14 Joseph Myers <joseph@codesourcery.com>
43576
43577 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
43578
43579 * math/libm-test.inc (struct test_fF_f1_data): Change type of
43580 extra_test to int.
43581 (struct test_f_i_data): Change type of max_ulp to int.
43582
43583 * math/libm-test.inc (test_ffI_f1_data): New type.
43584 (RUN_TEST_LOOP_ffI_f1): New macro.
43585 (remquo_test_data): New variable.
43586 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
43587
43588 * setjmp/tst-setjmp-fp.c: New file.
43589 * setjmp/Makefile (tests): Add tst-setjmp-fp.
43590 (link-libm): New variable.
43591 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
43592
43593 * math/libm-test.inc (struct test_f_i_data): New type.
43594 (RUN_TEST_LOOP_f_i): New macro.
43595 (RUN_TEST_LOOP_f_i_tg): Likewise.
43596 (fpclassify_test_data): New variable.
43597 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
43598 (ilogb_test_data): New variable.
43599 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
43600
43601 * math/libm-test.inc (scalbln_test): Correct function name in END
43602 call.
43603
43604 * math/libm-test.inc (struct test_f_f1_data): Add comment.
43605 (RUN_TEST_LOOP_fI_f1): New macro.
43606 (frexp_test_data): New variable.
43607 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
43608
43609 * math/libm-test.inc (struct test_fF_f1_data): New type.
43610 (RUN_TEST_LOOP_fF_f1): New macro.
43611 (modf_test_data): New variable.
43612 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
43613
43614 * math/libm-test.inc (struct test_f_f1_data): New type.
43615 (RUN_TEST_LOOP_f_f1): New macro.
43616 (gamma_test_data): New variable.
43617 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43618 (lgamma_test_data): New variable.
43619 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
43620
43621 2013-05-13 Carlos O'Donell <carlos@redhat.com>
43622
43623 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
43624 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
43625 (main): Comment "tls" pseudo-hwcap.
43626
43627 2013-05-13 Joseph Myers <joseph@codesourcery.com>
43628
43629 * math/libm-test.inc (struct test_fl_f_data): New type.
43630 (RUN_TEST_LOOP_fl_f): New variable.
43631 (scalbln_test_data): New variable.
43632 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
43633
43634 * math/libm-test.inc (struct test_fi_f_data): New type.
43635 (RUN_TEST_LOOP_fi_f): New macro.
43636 (ldexp_test_data): New variable.
43637 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
43638 (scalbn_test_data): New variable.
43639 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
43640
43641 * math/libm-test.inc (struct test_c_f_data): New type.
43642 (RUN_TEST_LOOP_c_f): New macro.
43643 (cabs_test_data): New variable.
43644 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
43645 (carg_test_data): New variable.
43646 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
43647 (cimag_test_data): New variable.
43648 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
43649 (creal_test_data): New variable.
43650 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
43651
43652 * math/libm-test.inc (struct test_if_f_data): New type.
43653 (RUN_TEST_LOOP_if_f): New macro.
43654 (jn_test_data): New variable.
43655 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
43656 (yn_test_data): New variable.
43657 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
43658
43659 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
43660
43661 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43662
43663 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
43664 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
43665
43666 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
43667
43668 * benchtests/Makefile (CPPFLAGS-nonlib): Add
43669 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
43670 (bench-deps): Add bench-timing.h.
43671 * benchtests-bench-skeleton.c: Include bench-timing.h.
43672 (main): Use TIMING_* macros instead of clock_gettime.
43673 * benchtests/bench-timing.h: New file.
43674
43675 [BZ #14582]
43676 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
43677 Renamed from _LIB_VERSION.
43678 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
43679
43680 2013-05-12 Joseph Myers <joseph@codesourcery.com>
43681
43682 * math/libm-test.inc (struct test_fff_f_data): New type.
43683 (RUN_TEST_LOOP_fff_f): New macro.
43684 (fma_test_data): New variable.
43685 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
43686 (fma_towardzero_test_data): New variable.
43687 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
43688 (fma_downward_test_data): New variable.
43689 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
43690 (fma_upward_test_data): New variable.
43691 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
43692
43693 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
43694 (struct test_c_c_data): New type.
43695 (RUN_TEST_LOOP_c_c): New macro.
43696 (cacos_test_data): New variable.
43697 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
43698 (cacosh_test_data): New variable.
43699 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
43700 (casin_test_data): New variable.
43701 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
43702 (casinh_test_data): New variable.
43703 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
43704 (catan_test_data): New variable.
43705 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
43706 (catanh_test_data): New variable.
43707 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
43708 (ccos_test_data): New variable.
43709 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
43710 (ccosh_test_data): New variable.
43711 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
43712 (cexp_test_data): New variable.
43713 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
43714 (clog_test_data): New variable.
43715 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
43716 (clog10_test_data): New variable.
43717 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
43718 (conj_test_data): New variable.
43719 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
43720 (cproj_test_data): New variable.
43721 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
43722 (csin_test_data): New variable.
43723 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
43724 (csinh_test_data): New variable.
43725 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
43726 (csqrt_test_data): New variable.
43727 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
43728 (ctan_test_data): New variable.
43729 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
43730 (ctan_tonearest_test_data): New variable.
43731 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43732 (ctan_towardzero_test_data): New variable.
43733 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43734 (ctan_downward_test_data): New variable.
43735 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43736 (ctan_upward_test_data): New variable.
43737 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43738 (ctanh_test_data): New variable.
43739 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
43740 (ctanh_tonearest_test_data): New variable.
43741 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43742 (ctanh_towardzero_test_data): New variable.
43743 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43744 (ctanh_downward_test_data): New variable.
43745 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43746 (ctanh_upward_test_data): New variable.
43747 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43748 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
43749 of BUILD_COMPLEX.
43750
43751 * math/libm-test.inc (struct test_ff_f_data): New type.
43752 (struct test_ff_f_data_nexttoward): Likewise.
43753 (RUN_TEST_LOOP_2_f): New macro.
43754 (RUN_TEST_LOOP_ff_f): Likewise.
43755 (atan2_test_data): New variable.
43756 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
43757 (copysign_test_data): New variable.
43758 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
43759 (fdim_test_data): New variable.
43760 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
43761 (fmax_test_data): New variable.
43762 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
43763 (fmin_test_data): New variable.
43764 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
43765 (fmod_test_data): New variable.
43766 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
43767 (hypot_test_data): New variable.
43768 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
43769 (nextafter_test_data): New variable.
43770 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
43771 (nexttoward_test_data): New variable.
43772 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
43773 (pow_test_data): New variable.
43774 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
43775 (pow_tonearest_test_data): New variable.
43776 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
43777 (pow_towardzero_test_data): New variable.
43778 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
43779 (pow_downward_test_data): New variable.
43780 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
43781 (pow_upward_test_data): New variable.
43782 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
43783 (remainder_test_data): New variable.
43784 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
43785 (scalb_test_data): New variable.
43786 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
43787 * sysdeps/i386/fpu/libm-test-ulps: Update.
43788
43789 2013-05-11 Joseph Myers <joseph@codesourcery.com>
43790
43791 * math/libm-test.inc (fma_test): Use max_value instead of local
43792 variable fltmax.
43793 (nextafter_test): Likewise.
43794
43795 * math/libm-test.inc (acos_towardzero_test_data): New variable.
43796 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43797 (acos_downward_test_data): New variable.
43798 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43799 (acos_upward_test_data): New variable.
43800 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43801 (acosh_test_data): New variable.
43802 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
43803 (asin_test_data): New variable.
43804 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
43805 (asin_tonearest_test_data): New variable.
43806 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43807 (asin_towardzero_test_data): New variable.
43808 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43809 (asin_downward_test_data): New variable.
43810 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43811 (asin_upward_test_data): New variable.
43812 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43813 (asinh_test_data): New variable.
43814 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
43815 (atan_test_data): New variable.
43816 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
43817 (atanh_test_data): New variable.
43818 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
43819 (cbrt_test_data): New variable.
43820 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
43821 (ceil_test_data): New variable.
43822 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
43823 (cos_test_data): New variable.
43824 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
43825 (cos_tonearest_test_data): New variable.
43826 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43827 (cos_towardzero_test_data): New variable.
43828 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43829 (cos_downward_test_data): New variable.
43830 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43831 (cos_upward_test_data): New variable.
43832 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43833 (cosh_test_data): New variable.
43834 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
43835 (cosh_tonearest_test_data): New variable.
43836 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43837 (cosh_towardzero_test_data): New variable.
43838 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43839 (cosh_downward_test_data): New variable.
43840 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43841 (cosh_upward_test_data): New variable.
43842 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43843 (erf_test_data): New variable.
43844 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
43845 (erfc_test_data): New variable.
43846 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
43847 (exp_test_data): New variable.
43848 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
43849 (exp_tonearest_test_data): New variable.
43850 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43851 (exp_towardzero_test_data): New variable.
43852 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43853 (exp_downward_test_data): New variable.
43854 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43855 (exp_upward_test_data): New variable.
43856 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43857 (exp10_test_data): New variable.
43858 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
43859 (exp2_test_data): New variable.
43860 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
43861 (expm1_test_data): New variable.
43862 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
43863 (fabs_test_data): New variable.
43864 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
43865 (floor_test_data): New variable.
43866 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
43867 (j0_test_data): New variable.
43868 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
43869 (j1_test_data): New variable.
43870 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
43871 (log_test_data): New variable.
43872 (log_test): Run tests with RUN_TEST_LOOP_f_f.
43873 (log10_test_data): New variable.
43874 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
43875 (log1p_test_data): New variable.
43876 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
43877 (log2_test_data): New variable.
43878 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
43879 (logb_test_data): New variable.
43880 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
43881 (logb_downward_test_data): New variable.
43882 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43883 (nearbyint_test_data): New variable.
43884 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
43885 (rint_test_data): New variable.
43886 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
43887 (rint_tonearest_test_data): New variable.
43888 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43889 (rint_towardzero_test_data): New variable.
43890 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43891 (rint_downward_test_data): New variable.
43892 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43893 (rint_upward_test_data): New variable.
43894 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43895 (round_test_data): New variable.
43896 (round_test): Run tests with RUN_TEST_LOOP_f_f.
43897 (sin_test_data): New variable.
43898 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
43899 (sin_tonearest_test_data): New variable.
43900 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43901 (sin_towardzero_test_data): New variable.
43902 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43903 (sin_downward_test_data): New variable.
43904 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43905 (sin_upward_test_data): New variable.
43906 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43907 (sinh_test_data): New variable.
43908 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
43909 (sinh_tonearest_test_data): New variable.
43910 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43911 (sinh_towardzero_test_data): New variable.
43912 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43913 (sinh_downward_test_data): New variable.
43914 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43915 (sinh_upward_test_data): New variable.
43916 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43917 (sqrt_test_data): New variable.
43918 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
43919 (tan_test_data): New variable.
43920 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
43921 (tan_tonearest_test_data): New variable.
43922 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43923 (tan_towardzero_test_data): New variable.
43924 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43925 (tan_downward_test_data): New variable.
43926 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43927 (tan_upward_test_data): New variable.
43928 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43929 (tanh_test_data): New variable.
43930 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
43931 (tgamma_test_data): New variable.
43932 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
43933 (trunc_test_data): New variable.
43934 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
43935 (y0_test_data): New variable.
43936 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
43937 (y1_test_data): New variable.
43938 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
43939 (significand_test_data): New variable.
43940 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
43941
43942 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
43943
43944 [BZ #12387]
43945 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
43946
43947 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
43948
43949 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
43950
43951 2013-05-10 Andreas Jaeger <aj@suse.de>
43952
43953 [BZ #15448]
43954 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
43955 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
43956
43957 2013-05-10 Joseph Myers <joseph@codesourcery.com>
43958
43959 * math/gen-libm-test.pl (adjust_arg): New function.
43960 (special_functions): Handle generating output in both functions
43961 and arrays.
43962 (parse_args): Likewise.
43963 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
43964 $in_func argument to parse_args.
43965 * math/libm-test.inc (struct test_f_f_data): New type.
43966 (IF_ROUND_INIT_): New macro.
43967 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
43968 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
43969 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
43970 (IF_ROUND_INIT_FE_UPWARD): Likewise.
43971 (ROUND_RESTORE_): Likewise.
43972 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
43973 (ROUND_RESTORE_FE_TONEAREST): Likewise.
43974 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
43975 (ROUND_RESTORE_FE_UPWARD): Likewise.
43976 (RUN_TEST_LOOP_f_f): New macro.
43977 (acos_test_data): New variable.
43978 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
43979 (acos_tonearest_test_data): New variable.
43980 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43981
43982 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43983
43984 * benchtests/bench-skeleton.c (startup): Fix coding style.
43985
43986 2013-05-10 Joseph Myers <joseph@codesourcery.com>
43987
43988 [BZ #6809]
43989 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
43990 negative infinity argument.
43991 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
43992 negative infinity argument.
43993 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
43994 negative infinity argument.
43995 * math/libm-test.inc (tgamma_test): Expect errno to be set for
43996 domain errors.
43997
43998 2013-05-10 Florian Weimer <fweimer@redhat.com>
43999
44000 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
44001 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
44002 * iconv/iconv_prog.c (main): Likewise.
44003 * locale/programs/charmap-dir.c (charmap_readdir)
44004 (fopen_uncompressed): Likewise.
44005 * locale/programs/locfile.c (siblings_uncached)
44006 (write_locale_data): Use lstat64 instead of lstat.
44007 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
44008 stat.
44009
44010 2013-05-10 Andreas Jaeger <aj@suse.de>
44011
44012 [BZ #15395]
44013 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
44014 localization.
44015 Include <locale.h>.
44016
44017 2013-05-09 Carlos O'Donell <carlos@redhat.com>
44018
44019 * elf/dl-close.c (_dl_close_worker): Add comments.
44020
44021 2013-05-09 Joseph Myers <joseph@codesourcery.com>
44022
44023 [BZ #15359]
44024 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
44025 high part of pi/2.
44026 (__ieee754_rem_pio2l): Update comments.
44027
44028 [BZ #15429]
44029 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
44030 high part of pi/2.
44031 (__ieee754_rem_pio2l): Update comments.
44032
44033 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
44034 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
44035
44036 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
44037 M_PI_4l.
44038
44039 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
44040 (M_PI_34_LOG10El): Likewise.
44041 (M_PI2_LOG10El): Likewise.
44042 (M_PI4_LOG10El): Likewise.
44043 (M_PI_LOG10El): Likewise.
44044
44045 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44046
44047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44048
44049 2013-05-08 Joseph Myers <joseph@codesourcery.com>
44050
44051 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
44052 (MINUS_ZERO_INIT): Likewise.
44053 (PLUS_INFTY_INIT): Likewise.
44054 (MINUS_INFTY_INIT): Likewise.
44055 (QNAN_VALUE_INIT): Likewise.
44056 (MAX_VALUE_INIT): Likewise.
44057 (MIN_VALUE_INIT): Likewise.
44058 (MIN_SUBNORM_VALUE_INIT): Likewise.
44059 (plus_zero): Initialize with PLUS_ZERO_INIT.
44060 (minus_zero): Initialize with MINUS_ZERO_INIT.
44061 (plus_infty): Initialize with PLUS_INFTY_INIT.
44062 (minus_infty): Initialize with MINUS_INFTY_INIT.
44063 (qnan_value): Initialize with QNAN_VALUE_INIT.
44064 (max_value): Initialize with MAX_VALUE_INIT.
44065 (min_value): Initialize with MIN_VALUE_INIT.
44066 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
44067
44068 * math/libm-test.inc (RUN_TEST_if_f): New macro.
44069 (jn_test): Use TEST_if_f instead of TEST_ff_f.
44070 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
44071 (yn_test): Use TEST_if_f instead of TEST_ff_f.
44072
44073 * math/libm-test.inc (RUN_TEST_f_f): New macro.
44074 (RUN_TEST_2_f): Likewise.
44075 (RUN_TEST_ff_f): Likewise.
44076 (RUN_TEST_fi_f): Likewise.
44077 (RUN_TEST_fl_f): Likewise.
44078 (RUN_TEST_fff_f): Likewise.
44079 (RUN_TEST_c_f): Likewise.
44080 (RUN_TEST_f_f1): Likewise.
44081 (RUN_TEST_fF_f1): Likewise.
44082 (RUN_TEST_fI_f1): Likewise.
44083 (RUN_TEST_ffI_f1): Likewise.
44084 (RUN_TEST_c_c): Likewise.
44085 (RUN_TEST_cc_c): Likewise.
44086 (RUN_TEST_f_i): Likewise.
44087 (RUN_TEST_f_i_tg): Likewise.
44088 (RUN_TEST_ff_i_tg): Likewise.
44089 (RUN_TEST_f_b): Likewise.
44090 (RUN_TEST_f_b_tg): Likewise.
44091 (RUN_TEST_f_l): Likewise.
44092 (RUN_TEST_f_L): Likewise.
44093 (RUN_TEST_sincos): Likewise.
44094 * math/gen-libm-test.pl (new_test): Take new argument to indicate
44095 whether to show exceptions. Do not include ");\n" in return
44096 value.
44097 (special_functions): Output call to RUN_TEST_sincos instead of
44098 check_float calls. Update calls to new_test.
44099 (parse_args): Output call to single RUN_TEST_* macro instead of
44100 check_* calls and other assignments. Update calls to new_test.
44101
44102 [BZ #2546]
44103 [BZ #2560]
44104 [BZ #5159]
44105 [BZ #15426]
44106 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
44107 input to result for tgamma overflow.
44108 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
44109 (gamma_coeff): New variable.
44110 (NCOEFF): New macro.
44111 (gamma_positive): New function.
44112 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
44113 underflow here. Use gamma_positive instead of exp (lgamma) for
44114 other arguments.
44115 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
44116 (gamma_coeff): New variable.
44117 (NCOEFF): New macro.
44118 (gammaf_positive): New function.
44119 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
44120 underflow here. Use gamma_positive instead of exp (lgamma) for
44121 other arguments.
44122 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
44123 (gamma_coeff): New variable.
44124 (NCOEFF): New macro.
44125 (gammal_positive): New function.
44126 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
44127 underflow here. Use gamma_positive instead of exp (lgamma) for
44128 other arguments.
44129 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
44130 (gamma_coeff): New variable.
44131 (NCOEFF): New macro.
44132 (gammal_positive): New function.
44133 (__ieee754_gammal_r): Handle positive infinity, overflow and
44134 underflow here. Handle NaN the same as positive infinity. Remove
44135 check x < 0xffffffff for negative integers. Use gamma_positive
44136 instead of exp (lgamma) for other arguments.
44137 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
44138 (gamma_coeff): New variable.
44139 (NCOEFF): New macro.
44140 (gammal_positive): New function.
44141 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
44142 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
44143 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
44144 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
44145 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
44146 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
44147 * sysdeps/generic/math_private.h (__gamma_productf): New
44148 prototype.
44149 (__gamma_product): Likewise.
44150 (__gamma_productl): Likewise.
44151 * math/Makefile (libm-calls): Add gamma_product.
44152 * math/libm-test.inc (tgamma_test): Add more tests.
44153 * sysdeps/i386/fpu/libm-test-ulps: Update.
44154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44155
44156 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
44157
44158 * benchtests/bench-skeleton.c (main): Preheat CPU.
44159
44160 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
44161
44162 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
44163
44164 2013-05-07 Roland McGrath <roland@hack.frob.com>
44165
44166 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
44167 and _dl_skip_args_internal.
44168
44169 2013-05-07 Carlos O'Donell <carlos@redhat.com>
44170
44171 * manual/message.texi (Message Translation): Talk about users.
44172 Message to key mapping impacts design.
44173
44174 2013-05-06 Roland McGrath <roland@hack.frob.com>
44175
44176 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
44177
44178 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
44179
44180 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
44181 * sysdeps/wordsize-64/glob64.c: ... here.
44182
44183 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
44184 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
44185 New macros.
44186
44187 * debug/getlogin_r_chk.c: Moved to ...
44188 * login/getlogin_r_chk.c: ... here.
44189 * debug/Makefile (routines): Move getlogin_r_chk to ...
44190 * login/Makefile (routines): ... here.
44191 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
44192 * login/Versions (libc: GLIBC_2.4): ... here.
44193
44194 * io/poll.c (__poll): Renamed from poll.
44195 Add libc_hidden_def.
44196 (poll): Define as weak alias.
44197
44198 * debug/ptsname_r_chk.c: Moved to ...
44199 * login/ptsname_r_chk.c: ... here.
44200 * debug/Makefile (routines): Move ptsname_r_chk to ...
44201 * login/Makefile (routines): ... here.
44202 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
44203 * login/Versions (libc: GLIBC_2.4): ... here.
44204
44205 * posix/getlogin.c: Moved to ...
44206 * login/getlogin.c: ... here.
44207 * posix/getlogin_r.c: Moved to ...
44208 * login/getlogin_r.c: ... here.
44209 * posix/getlogin_r.c: Moved to ...
44210 * login/getlogin_r.c: ... here.
44211 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
44212 * login/Makefile (routines): ... here.
44213 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
44214 * login/Versions (libc: GLIBC_2.0): ... here.
44215
44216 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
44217 (setrlimit): Define as weak alias.
44218
44219 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
44220 Call __ names for open, ftruncate, and close.
44221 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
44222 (truncate): Define as weak alias.
44223
44224 2013-05-06 Joseph Myers <joseph@codesourcery.com>
44225
44226 * math/gen-libm-test.pl (parse_args): Initialize x before each
44227 test of frexp, modf and remquo.
44228
44229 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
44230 test signgam value.
44231
44232 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44233
44234 [BZ #15418]
44235 [BZ #15419]
44236 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
44237 internal tests.
44238 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44239
44240 2013-05-06 Roland McGrath <roland@hack.frob.com>
44241
44242 * elf/dl-writev.h: New file.
44243 * elf/dl-misc.c: Include it.
44244 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
44245 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
44246
44247 2013-05-04 Joseph Myers <joseph@codesourcery.com>
44248
44249 * math/libm-test.inc (noXFails): Remove variable.
44250 (noXPasses): Likewise.
44251 (BUILD_COMPLEX_INT): Remove macro.
44252 (print_screen): Remove xfail argument.
44253 (print_screen_max_error): Likewise.
44254 (update_stats): Likewise.
44255 (print_max_error): Likewise. Update calls to other affected
44256 functions.
44257 (print_complex_max_error): Likewise.
44258 (test_single_exception): Update calls to print_screen.
44259 (test_single_errno): Likewise.
44260 (check_float_internal): Remove xfail argument. Update calls to
44261 other affected functions.
44262 (check_float): Likewise.
44263 (check_complex): Likewise.
44264 (check_int): Likewise.
44265 (check_long): Likewise.
44266 (check_bool): Likewise.
44267 (check_longlong): Likewise.
44268 (main): Don't print noXFails and noXPasses.
44269 * math/gen-libm-test.pl (top level): Don't mention expected
44270 failure handling in comment.
44271 (new_test): Don't handle expected failures.
44272 (parse_args): Don't mention expected failure handling in comment.
44273 (generate_testfile): Don't handle expected failures.
44274 (parse_ulps): Likewise.
44275 (print_ulps_file): Likewise.
44276 (get_failure): Remove function.
44277 (output_test): Don't handle expected failures.
44278 * make/README.libm-test: Don't mention expected failure handling.
44279
44280 * math/libm-test.inc (plus_zero): Make const. Add initializer.
44281 (minus_zero): Likewise.
44282 (plus_infty): Likewise.
44283 (minus_infty): Likewise.
44284 (qnan_value): Likewise.
44285 (max_value): Likewise.
44286 (min_value): Likewise.
44287 (min_subnorm_value): Likewise.
44288 (initialize): Do not initialize those variables dynamically.
44289
44290 2013-05-03 Roland McGrath <roland@hack.frob.com>
44291
44292 * io/open.c (__open_2): Moved to ...
44293 * io/open_2.c: ... this new file.
44294 * io/open64.c (__open64_2): Moved to ...
44295 * io/open64_2.c: ... this new file.
44296 * io/openat.c (__openat_2): Moved to ...
44297 * io/openat_2.c: ... this new file.
44298 * io/openat64.c (__openat64_2): Moved to ...
44299 * io/openat64_2.c: ... this new file.
44300 * io/Makefile (routines): Add them.
44301 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
44302 * sysdeps/unix/sysv/linux/open_2.c: File removed.
44303 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
44304 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
44305 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
44306 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
44307 (__openat64): Add hidden_ver.
44308 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
44309 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
44310
44311 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
44312 Separately conditionalize setting of GLRO(dl_sysinfo) so
44313 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
44314 as well, but the actual setting is only under [NEED_DL_SYSINFO].
44315
44316 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44317
44318 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
44319 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
44320 definition.
44321 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
44322 * sysdeps/unix/sysv/linux/powerpc/init-first.c
44323 (_libc_vdso_platform_setup): Add __vdso_time initialization.
44324 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
44325 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
44326
44327 2013-05-03 Joseph Myers <joseph@codesourcery.com>
44328
44329 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
44330 test signgam value.
44331
44332 * math/libm-test.inc (hypot_test): Do not use
44333 IGNORE_ZERO_INF_SIGN.
44334
44335 2013-05-03 Andreas Jaeger <aj@suse.de>
44336
44337 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
44338 Linux 3.9.
44339 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
44340 (PF_MAX): Adjust for VSOCK change.
44341
44342 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44343
44344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44345
44346 2013-05-02 Carlos O'Donell <carlos@redhat.com>
44347
44348 [BZ #15264]
44349 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
44350 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
44351 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
44352
44353 2013-05-02 David S. Miller <davem@davemloft.net>
44354
44355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44356
44357 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
44358
44359 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
44360
44361 2013-05-01 Roland McGrath <roland@hack.frob.com>
44362
44363 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
44364
44365 2013-05-01 Richard Smith <richard@metafoo.co.uk>
44366
44367 [BZ #14952]
44368 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
44369 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
44370 Use __attribute__ ((__gnu_inline__)).
44371 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
44372 Don't use __attribute__ ((__gnu_inline__)).
44373
44374 2013-05-01 Joseph Myers <joseph@codesourcery.com>
44375
44376 [BZ #15423]
44377 * math/s_catan.c (__catan): Handle small real or imaginary part of
44378 input specially to avoid spurious underflow.
44379 * math/s_catanf.c (__catanf): Likewise.
44380 * math/s_catanh.c (__catanh): Likewise.
44381 * math/s_catanhf.c (__catanhf): Likewise.
44382 * math/s_catanhl.c (__catanhl): Likewise.
44383 * math/s_catanl.c (__catanl): Likewise.
44384 * math/libm-test.inc (catan_test): Add more tests.
44385 (catanh_test): Likewise.
44386 * sysdeps/i386/fpu/libm-test-ulps: Update.
44387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44388
44389 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44390
44391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44392
44393 2013-04-30 Joseph Myers <joseph@codesourcery.com>
44394
44395 [BZ #15416]
44396 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
44397 accurately for denominator in atan2.
44398 * math/s_catanf.c (__catanf): Likewise.
44399 * math/s_catanh.c (__catanh): Likewise.
44400 * math/s_catanhf.c (__catanhf): Likewise.
44401 * math/s_catanhl.c (__catanhl): Likewise.
44402 * math/s_catanl.c (__catanl): Likewise.
44403 * math/libm-test.inc (catan_test): Add more tests.
44404 (catanh_test): Likewise.
44405 * sysdeps/i386/fpu/libm-test-ulps: Update.
44406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44407
44408 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44409
44410 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
44411
44412 * benchtests/Makefile (bench): Remove slow benchmarks.
44413 * benchtests/atan-inputs: Add slow benchmark inputs.
44414 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
44415 (BENCH_FUNC): Accept variant offset.
44416 (VARIANT): Define.
44417 * benchtests/bench-skeleton.c (main): Run benchmark for each
44418 variant.
44419 * benchtests/cos-inputs: Add slow benchmark inputs.
44420 * benchtests/exp-inputs: Likewise.
44421 * benchtests/pow-inputs: Likewise.
44422 * benchtests/sin-inputs: Likewise.
44423 * benchtests/slowatan-inputs: Remove.
44424 * benchtests/slowatan.c: Remove.
44425 * benchtests/slowcos-inputs: Remove.
44426 * benchtests/slowcos.c: Remove.
44427 * benchtests/slowexp-inputs: Remove.
44428 * benchtests/slowexp.c: Remove.
44429 * benchtests/slowpow-inputs: Remove.
44430 * benchtests/slowpow.c: Remove.
44431 * benchtests/slowsin-inputs: Remove.
44432 * benchtests/slowsin.c: Remove.
44433 * benchtests/slowtan-inputs: Remove.
44434 * benchtests/slowtan.c: Remove.
44435 * benchtests/tan-inputs: Add slow benchmark inputs.
44436 * scripts/bench.pl: Parse comments and directives.
44437
44438 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
44439 in CPPFLAGS.
44440 ($(objpfx)bench-%.c): Remove *-ITER.
44441 * benchtests/bench-modf.c: Remove definition of ITER.
44442 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
44443 (main): Loop for DURATION seconds instead of fixed number of
44444 iterations.
44445 * scripts/bench.pl: Don't expect iterations in parameters.
44446
44447 2013-04-29 Roland McGrath <roland@hack.frob.com>
44448
44449 * io/fchdir.c (__fchdir): Renamed from fchdir.
44450 (fchdir): Define as weak alias.
44451
44452 2013-04-29 Joseph Myers <joseph@codesourcery.com>
44453
44454 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
44455 (ERRNO_EDOM): Likewise.
44456 (ERRNO_ERANGE): Likewise.
44457 (noErrnoTests): New variable.
44458 (init_max_error): Set errno to 0.
44459 (test_single_errno): New function.
44460 (test_errno): Likewise.
44461 (check_float_internal): Call test_errno. Set errno to 0.
44462 (check_complex): Refer to errno tests in comment.
44463 (check_int): Call test_errno. Set errno to 0.
44464 (check_long): Likewise.
44465 (check_bool): Likewise.
44466 (check_longlong): Likewise.
44467 (cos_test): Use ERRNO_* flags for errno tests instead of
44468 check_int.
44469 (expm1_test): Likewise.
44470 (fmod_test): Likewise.
44471 (ilogb_test): Likewise.
44472 (lgamma_test): Likewise.
44473 (pow_test): Likewise.
44474 (remainder_test): Likewise.
44475 (sin_test): Likewise.
44476 (tan_test): Likewise.
44477 (yn_test): Likewise.
44478 (initialize): Set errno to 0.
44479 (main): Print number of errno tests.
44480 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
44481
44482 2013-04-29 Andreas Jaeger <aj@suse.de>
44483
44484 [BZ #15084]
44485 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
44486 and RES_USEVC.
44487
44488 [BZ #15085]
44489 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
44490 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
44491 unimplemented.
44492
44493 [BZ #15380]
44494 * stdlib/random.c (__initstate): Return NULL if
44495 __initstate fails.
44496
44497 [BZ #15086]
44498 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
44499 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
44500 RES_SNGLKUPREOP.
44501
44502 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44503
44504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44505
44506 2013-04-29 Joseph Myers <joseph@codesourcery.com>
44507
44508 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
44509 of individual tests.
44510 (casin_test): Likewise.
44511 (casinh_test): Likewise.
44512
44513 2013-04-27 Joseph Myers <joseph@codesourcery.com>
44514
44515 [BZ #15409]
44516 * math/s_catan.c (__catan): Handle arguments with large real or
44517 imaginary part separately without squaring.
44518 * math/s_catanf.c (__catanf): Likewise.
44519 * math/s_catanh.c (__catanh): Likewise.
44520 * math/s_catanhf.c (__catanhf): Likewise.
44521 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
44522 and redefine.
44523 (__catanhl): Handle arguments with large real or imaginary part
44524 separately without squaring.
44525 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
44526 and redefine.
44527 (__catanl): Handle arguments with large real or imaginary part
44528 separately without squaring.
44529 * math/libm-test.inc (catan_test): Add more tests.
44530 (catanh_test): Likewise.
44531 * sysdeps/i386/fpu/libm-test-ulps: Update.
44532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44533
44534 2013-04-27 Andreas Jaeger <aj@suse.de>
44535
44536 [BZ #15007]
44537 * stdlib/stdlib.h: Update guards for qecvt.
44538 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
44539 <stdlib.h>.
44540
44541 2013-04-27 Allan McRae <allan@archlinux.org>
44542
44543 * sysdeps/i386/fpu/libm-test-ulps: Update.
44544
44545 2013-04-26 Joseph Myers <joseph@codesourcery.com>
44546
44547 [BZ #15406]
44548 * math/s_catan.c: Include <float.h>.
44549 (__catan): Ensure underflow exception occurs for underflowed
44550 result.
44551 * math/s_catanf.c: Include <float.h>.
44552 (__catanf): Ensure underflow exception occurs for underflowed
44553 result.
44554 * math/s_catanh.c: Include <float.h>.
44555 (__catanh): Ensure underflow exception occurs for underflowed
44556 result.
44557 * math/s_catanhf.c: Include <float.h>.
44558 (__catanhf): Ensure underflow exception occurs for underflowed
44559 result.
44560 * math/s_catanhl.c: Include <float.h>.
44561 (__catanhl): Ensure underflow exception occurs for underflowed
44562 result.
44563 * math/s_catanl.c: Include <float.h>.
44564 (__catanl): Ensure underflow exception occurs for underflowed
44565 result.
44566 * math/libm-test.inc (catan_test): Add more tests.
44567 (catanh_test): Likewise.
44568
44569 [BZ #15405]
44570 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
44571 underflowed result.
44572 * math/s_ccoshf.c (__ccoshf): Likewise.
44573 * math/s_ccoshl.c (__ccoshl): Likewise.
44574 * math/s_csin.c (__csin): Likewise.
44575 * math/s_csinf.c (__csinf): Likewise.
44576 * math/s_csinh.c (__csinh): Likewise.
44577 * math/s_csinhf.c (__csinhf): Likewise.
44578 * math/s_csinhl.c (__csinhl): Likewise.
44579 * math/s_csinl.c (__csinl): Likewise.
44580 * math/libm-test.inc (ccos_test): Add more tests.
44581 (ccosh_test): Likewise.
44582 (csin_test): Likewise.
44583 (csinh_test): Likewise.
44584
44585 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44586
44587 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
44588 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
44589 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
44590 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
44591 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
44592 powerpc/power5+/fpu folders.
44593 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
44594
44595
44596 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
44597
44598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44599
44600 2013-04-25 Joseph Myers <joseph@codesourcery.com>
44601
44602 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
44603 additions to variable.
44604 [$(config-machine) = x86_64] (modules-names): Likewise.
44605 ($(objpfx)tst-audit3): Remove dependency.
44606 ($(objpfx)tst-audit3.out): Likewise.
44607 ($(objpfx)tst-audit4): Likewise.
44608 ($(objpfx)tst-audit4.out): Likewise.
44609 ($(objpfx)tst-audit5): Likewise.
44610 ($(objpfx)tst-audit5.out): Likewise.
44611 ($(objpfx)tst-audit6): Likewise.
44612 ($(objpfx)tst-audit6.out): Likewise.
44613 ($(objpfx)tst-audit7): Likewise.
44614 ($(objpfx)tst-audit7.out): Likewise.
44615 (tst-audit3-ENV): Remove variable.
44616 (tst-audit4-ENV): Likewise.
44617 (tst-audit5-ENV): Likewise.
44618 (tst-audit6-ENV): Likewise.
44619 (tst-audit7-ENV): Likewise.
44620 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
44621 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
44622 addition to variable.
44623 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
44624 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
44625 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
44626 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
44627 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
44628 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
44629 tst-audit3, tst-audit4 and tst-audit5.
44630 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
44631 tst-audit6 and tst-audit7.
44632 [$(subdir) = elf] (modules-names): Add audit modules for those
44633 tests.
44634 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
44635 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
44636 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
44637 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
44638 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
44639 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
44640 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
44641 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
44642 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
44643 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
44644 [$(subdir) = elf] (tst-audit3-ENV): New variable.
44645 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
44646 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
44647 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
44648 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
44649 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
44650 Likewise.
44651 [$(subdir) = elf && $(config-cflags-avx) = yes]
44652 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
44653 [$(subdir) = elf && $(config-cflags-avx) = yes]
44654 (CFLAGS-tst-auditmod4a.c): Likewise.
44655 [$(subdir) = elf && $(config-cflags-avx) = yes]
44656 (CFLAGS-tst-auditmod4b.c): Likewise.
44657 [$(subdir) = elf && $(config-cflags-avx) = yes]
44658 (CFLAGS-tst-auditmod6b.c): Likewise.
44659 [$(subdir) = elf && $(config-cflags-avx) = yes]
44660 (CFLAGS-tst-auditmod6c.c): Likewise.
44661 [$(subdir) = elf && $(config-cflags-avx) = yes]
44662 (CFLAGS-tst-auditmod7b.c): Likewise.
44663 * elf/tst-audit3.c: Move to ...
44664 * sysdeps/x86_64/tst-audit3.c: ... here.
44665 * elf/tst-audit4.c: Move to ...
44666 * sysdeps/x86_64/tst-audit4.c: ... here.
44667 * elf/tst-audit5.c: Move to ...
44668 * sysdeps/x86_64/tst-audit5.c: ... here.
44669 * elf/tst-audit6.c: Move to ...
44670 * sysdeps/x86_64/tst-audit6.c: ... here.
44671 * elf/tst-audit7.c: Move to ...
44672 * sysdeps/x86_64/tst-audit7.c: ... here.
44673 * elf/tst-auditmod3a.c: Move to ...
44674 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
44675 * elf/tst-auditmod3b.c: Move to ...
44676 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
44677 * elf/tst-auditmod4a.c: Move to ...
44678 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
44679 * elf/tst-auditmod4b.c: Move to ...
44680 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
44681 * elf/tst-auditmod5a.c: Move to ...
44682 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
44683 * elf/tst-auditmod5b.c: Move to ...
44684 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
44685 * elf/tst-auditmod6a.c: Move to ...
44686 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
44687 * elf/tst-auditmod6b.c: Move to ...
44688 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
44689 * elf/tst-auditmod6c.c: Move to ...
44690 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
44691 * elf/tst-auditmod7a.c: Move to ...
44692 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
44693 * elf/tst-auditmod7b.c: Move to ...
44694 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
44695
44696 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
44697
44698 [BZ #15366]
44699 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
44700 define unconditionally.
44701 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
44702 define unconditionally.
44703 (INT8_C, INT16_C, etc.): Likewise.
44704
44705 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
44706
44707 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
44708 __ehdr_start with hidden visibility.
44709
44710 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
44711
44712 2013-04-24 Carlos O'Donell <carlos@redhat.com>
44713
44714 * math/libm-test.inc (cos_test): Use accurate hex constants.
44715 (sincost_test): Likewise.
44716
44717 2013-04-24 Joseph Myers <joseph@codesourcery.com>
44718
44719 * math/libm-test.inc (catan_test): Add more tests.
44720 (catanh_test): Likewise.
44721
44722 * math/s_catanf.c (__catanf): Use suffixed floating-point
44723 constants.
44724 * math/s_catanhf.c (__catanhf): Likewise.
44725 * math/s_catanhl.c (__catanhl): Likewise.
44726 * math/s_catanl.c (__catanl): Likewise.
44727
44728 [BZ #15394]
44729 * math/s_catan.c (__catan): Calculate imaginary part of result
44730 with log1p not log unless computing log of number close to 0.
44731 * math/s_catanf.c (__catanf): Likewise.
44732 * math/s_catanl.c (__catanl): Likewise.
44733 * math/s_catanh.c (__catanh): Calculate real part of result with
44734 log1p not log unless computing log of number close to 0.
44735 * math/s_catanhf.c (__catanhf): Likewise.
44736 * math/s_catanhl.c (__catanhl): Likewise.
44737 * math/libm-test.inc (catan_test): Add more tests.
44738 (catanh_test): Likewise.
44739 * sysdeps/i386/fpu/libm-test-ulps: Update.
44740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44741
44742 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
44743
44744 * benchtests/Makefile: Mention files in which fast and slow
44745 paths of math functions are implemented.
44746
44747 2013-04-23 Roland McGrath <roland@hack.frob.com>
44748
44749 * sysdeps/posix/timespec_get.c: New file.
44750
44751 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44752
44753 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
44754 POWER.
44755 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
44756 for POWER.
44757 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
44758 powerpc/power5/fpu folders.
44759 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
44760 * benchtests/Makefile: Add modf testcase.
44761 * benchtests/bench-modf.c: New file: Benchmark test for mo
44762
44763 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
44764
44765 [BZ #14888]
44766 * time/Makefile (tests): Add tst-strptime-whitespace.
44767 * time/strptime_l.c (get_number): Use ISSPACE.
44768 (__strptime_internal): Likewise.
44769 * time/tst-strptime-whitespace.c: New test case.
44770
44771 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
44772
44773 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
44774 member.
44775 (_nss_files_init): Set it here.
44776
44777 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
44778
44779 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
44780 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
44781 unsigned.
44782
44783 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
44784
44785 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
44786
44787 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44788
44789 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
44790 size just once.
44791
44792 2013-04-21 David S. Miller <davem@davemloft.net>
44793
44794 * po/ru.po: Update Russion translation from translation project.
44795
44796 2013-04-17 Adam Conrad <adconrad@0c3.net>
44797
44798 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
44799 and setfsgid.
44800
44801 2013-04-17 Carlos O'Donell <carlos@redhat.com>
44802
44803 * configure.in: Remove i386 configure warning. Remove i386 case.
44804 * configure: Regenerate.
44805 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
44806 Add example to error message.
44807 * sysdeps/i386/configure: Regenerate.
44808
44809 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
44810
44811 * benchtests/Makefile (bench): Add cos, tan, slowcos and
44812 slowtan.
44813 * benchtests/cos-inputs: New file.
44814 * benchtests/slowcos-inputs: New file.
44815 * benchtests/slowcos.c: New file.
44816 * benchtests/slowtan-inputs: New file.
44817 * benchtests/slowtan.c: New file.
44818 * benchtests/tan-inputs: New file.
44819
44820 2013-04-16 Roland McGrath <roland@hack.frob.com>
44821
44822 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
44823 considered kosher.
44824
44825 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
44826
44827 * benchtests/Makefile: Include cppflags-iterator.mk to add
44828 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
44829
44830 * Makefile.in (bench-clean): New target.
44831 * benchtests/Makefile (bench-clean): Likewise.
44832
44833 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
44834
44835 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
44836
44837 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
44838
44839 * stdio-common/tstdiomisc.c: Fix coding-style violation.
44840
44841 2013-04-15 Andreas Schwab <schwab@suse.de>
44842
44843 * nscd/grpcache.c (cache_addgr): Properly check for short write.
44844 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44845 * nscd/pwdcache.c (cache_addpw): Likewise.
44846 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
44847 more than recsize.
44848
44849 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
44850
44851 * benchtests/Makefile (bench): Write all output to
44852 bench-out.tmp together.
44853
44854 2013-04-15 Andreas Schwab <schwab@suse.de>
44855
44856 * nscd/nscd.c (main): Don't fork again after closing files.
44857
44858 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
44859
44860 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
44861
44862 * benchtests/Rules (bench-deps): Collect dependencies into a
44863 single variable. Add Makefile to dependencies.
44864 ($(objpfx)bench-%.c): Depend on bench-deps.
44865
44866 2013-04-12 Roland McGrath <roland@hack.frob.com>
44867 Xavier Roche <roche+kml2@exalead.com>
44868
44869 [BZ #15361]
44870 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
44871 just that it's a file descriptor.
44872 * manual/llio.texi (Synchronizing AIO Operations): Update description
44873 for EBADF error from aio_fsync.
44874
44875 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44876
44877 * Rules (bench): Move target definition...
44878 * benchtests/Makefile: ... here.
44879
44880 2013-04-11 Carlos O'Donell <carlos@redhat.com>
44881
44882 * math/libm-test.inc (cos_test): Fix PI/2 test.
44883 (sincos_test): Likewise.
44884 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44885 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
44886
44887 2013-04-11 Andreas Schwab <schwab@suse.de>
44888
44889 [BZ #13988]
44890 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
44891 accept exponent character only when digits were seen.
44892 * stdio-common/Makefile (tests): Add bug26.
44893 * stdio-common/bug26.c: New file.
44894
44895 [BZ #14293]
44896 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
44897 non-freeable.
44898
44899 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
44900
44901 * Makeconfig (rtld-prefix): Define built linker prefix.
44902 * Rules (run-bench): Use it.
44903 * math/Makefile (run-regen-ulps): Likewise.
44904
44905 * Rules (bench): Remove eval.
44906
44907 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44908 Roland McGrath <roland@hack.frob.com>
44909 Ondrej Bilka <neleai@seznam.cz>
44910
44911 [BZ #15346]
44912 * time/getdate.c: Include ctype.h and alloca.h.
44913 (__getdate_r): Trim leading and trailing spaces of input.
44914 * time/tst-getdate.c (tests): Add tests with leading and
44915 trailing spaces.
44916
44917 2013-04-08 Roland McGrath <roland@hack.frob.com>
44918
44919 [BZ #14280]
44920 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
44921 when computing value.
44922
44923 2013-04-06 Carlos O'Donell <carlos@redhat.com>
44924
44925 * math/README.libm-test (How can I generate "libm-test-ulps"?):
44926 Use testrun.sh to run libm tests.
44927
44928 [BZ #15309]
44929 * elf/dl-open.c (dl_open_worker): memset all of seen array.
44930
44931 2013-04-06 Marko Myllynen <myllynen@redhat.com>
44932
44933 [BZ #15264]
44934 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
44935
44936 2013-04-06 Carlos O'Donell <carlos@redhat.com>
44937
44938 * Makefile.in (regen-ulps): New target.
44939 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
44940 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
44941 [ifneq (no,$(PERL)] (regen-ulps): New target.
44942 [ifeq (no,$(PERL)] (regen-ulps): New target.
44943 * math/libm-test.inc (ulps_file_name): Define.
44944 (output_dir): New variable.
44945 (options): Add "output-dir" option.
44946 (parse_opt): Handle 'o' case.
44947 (main): If output_dir is non-NULL use it as a prefix
44948 otherwise use "".
44949 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
44950
44951 2013-04-06 Carlos O'Donell <carlos@redhat.com>
44952
44953 [BZ #10060, #10062]
44954 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
44955 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
44956 fail configure if __sync_val_compare_and_swap is not inlined.
44957 * sysdeps/i386/configure: Regenerate.
44958 * configure.in: Build for i686 when configured for i386.
44959 * configure: Regenerate.
44960 * README: Remove i386 reference.
44961
44962 2013-04-06 Carlos O'Donell <carlos@redhat.com>
44963
44964 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
44965 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44966
44967 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
44968
44969 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
44970 (lmsnanval): New variables.
44971 (F): Add conversion tests.
44972 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
44973 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
44974
44975 * stdio-common/tstdiomisc.c (F): Properly collect individual
44976 tests' results.
44977
44978 [BZ #14686, #15336]
44979 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
44980 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
44981 Instead, use input NaN values or generate a qNaN by arithmetic
44982 operation. Also fix bugs to comply with the standard.
44983 * math/libm-test.inc (remainder_test): Add more tests.
44984
44985 [BZ #15335, #15342]
44986 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
44987 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
44988 input NaN values or generate a qNaN by arithmetic operation.
44989
44990 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
44991 unreachable code.
44992
44993 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
44994 definitions.
44995
44996 2013-04-03 Joseph Myers <joseph@codesourcery.com>
44997
44998 [BZ #14478]
44999 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
45000 underflowed result.
45001 * math/s_cexpf.c (__cexpf): Likewise.
45002 * math/s_cexpl.c (__cexpl): Likewise.
45003 * math/libm-test.inc (cexp_test): Add more tests.
45004
45005 2013-04-03 Andreas Schwab <schwab@suse.de>
45006
45007 [BZ #15330]
45008 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
45009 order arrays from heap if bigger than alloca cutoff.
45010
45011 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
45012
45013 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
45014 (SNAN_TESTS_double): Refer to GCC PR56831.
45015 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
45016 GCC PR56828.
45017
45018 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
45019
45020 * Rules (bench): Move bench.out after the run is complete.
45021
45022 * Rules (bench): Echo currently running benchmark.
45023
45024 * benchtests/Makefile (bench): Add atan and slowatan.
45025 * benchtests/atan-inputs: New file.
45026 * benchtests/slowatan-inputs: New file.
45027 * benchtests/slowatan.c: New file.
45028
45029 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
45030 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
45031 its value.
45032
45033 [BZ #15305]
45034 * sysdeps/unix/sysv/linux/kernel-features.h
45035 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
45036 __ASSUME_XFS_RESTRICTED_CHOWN.
45037 * sysdeps/unix/sysv/linux/pathconf.c
45038 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
45039 Save and restore errno.
45040
45041 2013-04-02 Joseph Myers <joseph@codesourcery.com>
45042
45043 [BZ #15327]
45044 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
45045 arguments using __kernel_casinh.
45046 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
45047 arguments using __kernel_casinhf.
45048 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
45049 arguments using __kernel_casinhl.
45050 * math/libm-test.inc (cacosh_test): Add more tests.
45051 * sysdeps/i386/fpu/libm-test-ulps: Update.
45052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45053
45054 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
45055
45056 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
45057 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
45058
45059 * bench/Makefile (bench): Add sin and slowsin.
45060 * benchtests/sin-inputs: New file.
45061 * benchtests/slowsin-inputs: New file.
45062 * benchtests/slowsin.c: New file.
45063
45064 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
45065 (bench): Add slowexp and slowpow.
45066 (exp-ITER): Increase iterations.
45067 (pow-ITER): Likewise.
45068 * benchtests/exp-inputs: Change input.
45069 * benchtests/pow-inputs: Likewise.
45070 * benchtests/slowexp-inputs: New file.
45071 * benchtests/slowexp.c: New file.
45072 * benchtests/slowpow-inputs: New file.
45073 * benchtests/slowpow.c: New file.
45074
45075 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45076
45077 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
45078 instructions.
45079 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45080 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
45081 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45082 * benchtests/Makefile: Add rint benchtest.
45083 * benchtests/rint-inputs: Input for rint benchtest.
45084
45085 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
45086
45087 * Versions.def (libm): Add GLIBC_2.18.
45088 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
45089 hidden libm prototypes.
45090 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
45091 * math/Makefile (libm-calls): Add s_issignaling.
45092 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
45093 __issignalingf, __issignalingl. Adjust all libm.abilist files.
45094 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
45095 declaration.
45096 * math/math.h [__USE_GNU] (issignaling): New macro.
45097 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
45098 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
45099 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
45100 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
45101 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
45102 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
45103 * manual/arith.texi (issignaling): New section.
45104 * manual/libm-err-tab.pl (@all_functions): Update comment.
45105 * math/gen-libm-test.pl (parse_args): Apply special handling for
45106 issignaling.
45107 * math/libm-test.inc (print_float, issignaling_test): New
45108 functions.
45109 (check_float_internal): Add issignaling checks.
45110 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
45111 default definition.
45112 * sysdeps/powerpc/math-tests.h: New file.
45113 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
45114 tests.
45115 * math/test-snan.c (TEST_FUNC): Likewise.
45116
45117 2013-03-30 David S. Miller <davem@davemloft.net>
45118
45119 * po/de.po: Update from translation team.
45120
45121 2013-03-30 Joseph Myers <joseph@codesourcery.com>
45122
45123 [BZ #10357]
45124 * math/k_casinh.c (__kernel_casinh): Handle arguments with
45125 imaginary part less than 1.0 and real part less than 0.5
45126 specially.
45127 * math/k_casinhf.c (__kernel_casinhf): Likewise.
45128 * math/k_casinhl.c (__kernel_casinhl): Likewise.
45129 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
45130 (cacos_test): Add more tests.
45131 (casin_test): Likewise.
45132 (casinh_test): Likewise.
45133 * sysdeps/i386/fpu/libm-test-ulps: Update.
45134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45135
45136 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
45137
45138 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
45139 ONE with its value.
45140
45141 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
45142 (__pow_mp): Replace ONE and MONE with their values.
45143 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45144 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
45145 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45146 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
45147 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45148 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45149
45150 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
45151
45152 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
45153 (__pow_mp): Replace ZERO and MZERO with their values.
45154 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45155 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45156 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45157 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
45158 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45159 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
45160 (__sqr): Likewise.
45161
45162 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
45163
45164 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
45165
45166 2013-03-28 Roland McGrath <roland@hack.frob.com>
45167
45168 * include/stdlib.h [!SHARED] (__call_tls_dtors):
45169 Declare with __attribute__ ((weak)).
45170 * stdlib/exit.c (__libc_atexit) [!SHARED]:
45171 Call __call_tls_dtors only if it's not NULL.
45172
45173 2013-03-28 Roland McGrath <roland@hack.frob.com>
45174
45175 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
45176 didn't do it already, then set _dl_phdr and _dl_phnum based on the
45177 magic __ehdr_start linker symbol if it's defined.
45178 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
45179 them up here if it was already done.
45180
45181 * elf/dl-support.c (_dl_phdr): Make pointer to const.
45182 (_dl_aux_init): Use const in cast when setting it.
45183 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
45184 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
45185 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
45186
45187 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
45188 Declare them here.
45189 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
45190 * csu/libc-tls.c: Nor here.
45191 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
45192
45193 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
45194 (__libc_message): Never call vsyslog.
45195
45196 2013-03-28 Alan Modra <amodra@gmail.com>
45197
45198 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
45199 Define as empty.
45200 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
45201 Likewise.
45202
45203 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45204
45205 [BZ #15214]
45206 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
45207 underflow.
45208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45209
45210 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45211
45212 [BZ #15304]
45213 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
45214 Don't add gid passed as argument.
45215
45216 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
45217
45218 2013-03-27 Joseph Myers <joseph@codesourcery.com>
45219
45220 [BZ #15307]
45221 * math/k_casinh.c (__kernel_casinh): Handle arguments with
45222 imaginary part between 1.0 and 1.5 and real part less than 0.5
45223 specially.
45224 * math/k_casinhf.c (__kernel_casinhf): Likewise.
45225 * math/k_casinhl.c (__kernel_casinhl): Likewise.
45226 * math/libm-test.inc (cacos_test): Add more tests.
45227 (casin_test): Likewise.
45228 (casinh_test): Likewise.
45229 * sysdeps/i386/fpu/libm-test-ulps: Update.
45230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45231
45232 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45233
45234 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
45235 constants.
45236 (norm): Likewise.
45237 (denorm): Likewise.
45238 (__dbl_mp): Likewise.
45239 (add_magnitudes): Likewise.
45240 (sub_magnitudes): Likewise.
45241 (__add): Likewise.
45242 (__sub): Likewise.
45243 (__mul): Likewise.
45244 (__sqr): Likewise.
45245 (__inv): Likewise.
45246 (__dvd): Likewise.
45247
45248 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
45249 commented code.
45250 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
45251 (__dubcos): Likewise.
45252 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
45253 (__ieee754_acos): Likewise.
45254 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45255 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
45256 (__exp1): Likewise.
45257 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45258 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45259 (log1): Likewise.
45260 (my_log2): Likewise.
45261 (checkint): Likewise.
45262 * sysdeps/ieee754/dbl-64/e_remainder.c
45263 (__ieee754_remainder): Likewise.
45264 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45265 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
45266 (bsloww): Likewise.
45267 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45268
45269 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45270 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
45271 MANTISSA_STORE_T to store computations on mantissa. Use
45272 macros for rounding and division.
45273 (denorm): Likewise.
45274 (__dbl_mp): Likewise.
45275 (add_magnitudes): Likewise.
45276 (sub_magnitudes): Likewise.
45277 (__mul): Likewise.
45278 (__sqr): Likewise.
45279 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
45280 powers of two in terms of TWOPOW macro.
45281 (mp_no): Make type of mantissa as MANTISSA_T.
45282 [!RADIXI]: Define RADIXI.
45283 [!TWO52]: Define TWO52.
45284 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45285
45286 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45287
45288 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
45289 llroundl symbol when building for PPC32.
45290
45291 2013-03-24 Mark H Weaver <mhw@netris.org>
45292
45293 * manual/arith.texi (Normalization Functions): Fix prototypes for
45294 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
45295
45296 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45297
45298 [BZ #13889]
45299 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
45300 high value to check if expl overflow.
45301 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
45302 to check for underflow and overflow.
45303 * math/libm-test.inc: Add exp test.
45304
45305 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
45306
45307 [BZ #11120]
45308 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
45309 with NOT_IN_libc.
45310
45311 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45312
45313 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
45314 symbol.
45315
45316 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
45317
45318 * math/gen-libm-test.pl (parse_args, special_functions): Properly
45319 wrap blocks consisting of several statements.
45320
45321 * sysdeps/generic/math-tests.h: New file.
45322 * sysdeps/i386/fpu/math-tests.h: Likewise.
45323 * math/test-snan.c: Include it.
45324 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
45325
45326 2013-03-21 Joseph Myers <joseph@codesourcery.com>
45327
45328 [BZ #15285]
45329 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
45330 (__ieee754_j0l): Do not improve calculations using cos of twice
45331 input for inputs above LDBL_MAX / 2.0L.
45332 (__ieee754_y0l): Likewise.
45333 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
45334 (__ieee754_j1l): Do not improve calculations using cos of twice
45335 input for inputs above LDBL_MAX / 2.0L.
45336 (__ieee754_y1l): Likewise.
45337 * math/libm-test.inc (j0_test): Add another test.
45338 (j1_test): Likewise.
45339 (y0_test): Likewise.
45340 (y1_test): Likewise.
45341 * sysdeps/i386/fpu/libm-test-ulps: Update.
45342
45343 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
45344
45345 * Rules ($(objpfx)bench-%.c): Include code from a C source
45346 file.
45347
45348 2013-03-21 Joseph Myers <joseph@codesourcery.com>
45349
45350 [BZ #15287]
45351 * math/k_casinh.c (__kernel_casinh): Handle arguments with
45352 imaginary part 1.0 and real part less than 0.5 specially.
45353 * math/k_casinhf.c (__kernel_casinhf): Likewise.
45354 * math/k_casinhl.c (__kernel_casinhl): Likewise.
45355 * math/libm-test.inc (cacos_test): Add more tests.
45356 (casin_test): Likewise.
45357 (casinh_test): Likewise.
45358 * sysdeps/i386/fpu/libm-test-ulps: Update.
45359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45360
45361 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
45362
45363 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
45364 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
45365
45366 2013-03-20 Joseph Myers <joseph@codesourcery.com>
45367
45368 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
45369 * config.make.in (config-cflags-sse4): Remove variable.
45370 (config-cflags-avx): Likewise.
45371 (config-cflags-sse2avx): Likewise.
45372 (config-cflags-novzeroupper): Likewise.
45373 (config-asflags-i686): Likewise.
45374 (have-mfma4): Likewise.
45375 (have-as-vis3): Likewise.
45376 (MIG): Likewise.
45377 * configure.in (MIG): Do not AC_SUBST.
45378 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
45379 (libc_cv_cc_sse4): Do not AC_SUBST.
45380 (libc_cv_cc_avx): Likewise.
45381 (libc_cv_cc_sse2avx): Likewise.
45382 (libc_cv_cc_novzeroupper): Likewise.
45383 (libc_cv_cc_fma4): Likewise.
45384 (libc_cv_as_i686): Likewise.
45385 (libc_cv_sparc_as_vis3): Likewise.
45386 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
45387 LIBC_CONFIG_VAR.
45388 (config-asflags-i686): Likewise.
45389 (config-cflags-avx): Likewise.
45390 (config-cflags-sse2avx): Likewise.
45391 (have-mfma4): Likewise.
45392 (config-cflags-novzeroupper): Likewise.
45393 * sysdeps/mach/configure.in (MIG): Likewise.
45394 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
45395 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
45396 LIBC_CONFIG_VAR.
45397 (config-cflags-avx): Likewise.
45398 (config-cflags-sse2avx): Likewise.
45399 (have-mfma4): Likewise.
45400 (config-cflags-novzeroupper): Likewise.
45401 * configure: Regenerated.
45402 * sysdeps/i386/configure: Likewise.
45403 * sysdeps/mach/configure: Likewise.
45404 * sysdeps/sparc/configure: Likewise.
45405 * sysdeps/x86_64/configure: Likewise.
45406
45407 2013-03-20 Roland McGrath <roland@hack.frob.com>
45408
45409 [BZ #14812]
45410 * locale/programs/localedef.c (options): Put N_ translation marker
45411 on argument names, not just descriptions.
45412
45413 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
45414
45415 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
45416
45417 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
45418
45419 [BZ #14176]
45420 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
45421
45422 2013-03-19 Roland McGrath <roland@hack.frob.com>
45423
45424 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
45425 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
45426 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
45427 [!BEFORE_ABORT] (before_abort): New function.
45428 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
45429 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
45430 (writev_for_fatal): New function.
45431 (WRITEV_FOR_FATAL): New macro; call that.
45432 (backtrace_and_maps): New function.
45433 (BEFORE_ABORT): New macro; call that.
45434 (struct str_list): Type removed.
45435 (__libc_message, __libc_fatal): Functions removed.
45436 Include <sysdeps/posix/libc_fatal.c> instead.
45437
45438 2013-03-19 Joseph Myers <joseph@codesourcery.com>
45439
45440 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
45441 constants.
45442 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
45443 double constants.
45444
45445 2013-03-19 Andreas Schwab <schwab@suse.de>
45446
45447 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
45448 * sysdeps/gnu/configure: Regenerate.
45449
45450 * configure.in: Substitute libc_cv_rtlddir.
45451 * configure: Regenerate.
45452 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
45453 * Makeconfig (rtlddir, inst_rtlddir): New variables.
45454 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
45455 * elf/Makefile (install-others, CFLAGS-interp.c)
45456 (ldso_install, common-ldd-rewrite): Likewise.
45457 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
45458 $(inst_slibdir)/$(rtld-installed-name).
45459 * scripts/rellns-sh: Add -p option.
45460 * Makerules (make-shlib-link): Use rellns-sh to get relative name
45461 for source.
45462
45463 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
45464
45465 * manual/nptl.texi: Renamed to ...
45466 * manual/threads.texi: ... this.
45467 * manual/Makefile (chapters): Update.
45468
45469 2013-03-18 Roland McGrath <roland@hack.frob.com>
45470
45471 [BZ #14812]
45472 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
45473 on argument names, not just descriptions.
45474 * malloc/memusagestat.c (options): Likewise.
45475 * nss/getent.c (options): Likewise.
45476
45477 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
45478
45479 [BZ #14812]
45480 * iconv/iconv_prog.c (options): Put N_ translation marker
45481 on argument names, not just descriptions.
45482 * iconv/iconvconfig.c (options): Likewise.
45483
45484 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
45485
45486 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
45487 implementation which is faster on all x86_64 architectures.
45488 Tested on AMD, Intel Nehalem, SNB, IVB.
45489 * sysdeps/x86_64/strnlen.S: Likewise.
45490
45491 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45492 Remove all multiarch strlen and strnlen versions.
45493 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
45494 Remove strlen and strnlen related parts.
45495
45496 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
45497 Inline strlen part.
45498 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
45499
45500 * sysdeps/x86_64/multiarch/strlen.S: Remove.
45501 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
45502 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
45503 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
45504 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45505 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
45506
45507 2013-03-17 Carlos O'Donell <carlos@redhat.com>
45508
45509 * manual/memory.texi (Malloc Tunable Parameters):
45510 Sort parameters alphabetically. Add comments for missing entries.
45511
45512 2013-03-17 David S. Miller <davem@davemloft.net>
45513
45514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45515
45516 2013-03-16 Joseph Myers <joseph@codesourcery.com>
45517
45518 [BZ #15283]
45519 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
45520 for arguments at most half maximum finite value.
45521 * math/libm-test.inc (j0_test): Add more tests.
45522 (j1_test): Likewise.
45523 (y0_test): Likewise.
45524 (y1_test): Likewise.
45525 * sysdeps/i386/fpu/libm-test-ulps: Update.
45526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45527
45528 [BZ #14155]
45529 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
45530 1 / x and functions P and Q for arguments above 0x1p256L.
45531 (__ieee754_y0l): Likewise.
45532 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
45533 (__ieee754_y1l): Likewise.
45534 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
45535 (j1_test): Likewise.
45536 (y0_test): Likewise.
45537 (y1_test): Likewise.
45538
45539 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
45540
45541 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
45542 variable.
45543
45544 2013-03-15 Roland McGrath <roland@hack.frob.com>
45545
45546 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
45547 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
45548 zero since it's initialized to EXEC_PAGESIZE.
45549
45550 * sysdeps/unix/sysv/linux/ldsodefs.h
45551 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
45552 * sysdeps/generic/ldsodefs.h: ... here.
45553
45554 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
45555
45556 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
45557
45558 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
45559 math/test-snan.c.
45560 * math/test-snan.c: Renamed from
45561 sysdeps/powerpc/fpu/test-powerpc-snan.c.
45562 * math/Makefile (tests): Add test-snan.
45563 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
45564 test-powerpc-snan.
45565
45566 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
45567 SUFFIX. Initialize qNaN_var with __builtin_nan family of
45568 functions.
45569 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
45570 __builtin_nan family of functions.
45571 * math/libm-test.inc (initialize): Initialize qnan_value with
45572 __builtin_nan family of functions.
45573 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
45574 Remove variables.
45575 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
45576 Remove functions.
45577 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
45578 storage class. Initialize qNaN_var and sNaN_var with
45579 __builtin_nan and __builtin_nans families of functions,
45580 respectively.
45581
45582 * math/libm-test.inc (acosh_test): Also test with qNaN input.
45583 (sqrt_test): Remove duplicate test with qNaN input.
45584 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
45585 (round_test, signbit_test, significand_test): Note missing +/-Inf
45586 as well as qNaN tests.
45587
45588 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
45589 qNaN_var. Fix a few strings, too.
45590 * math/libm-test.inc (nan_value): Rename to qnan_value.
45591 * math/gen-libm-test.pl (%beautify): Adjust to that.
45592 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
45593 * math/test-misc.c (main): Likewise.
45594 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
45595 to __qnan_bytes, and __qnan_union, respectively.
45596 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
45597 Likewise.
45598 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
45599 and lqnanval, respectively.
45600 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
45601 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
45602 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
45603 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
45604
45605 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
45606 * math/test-misc.c (main) [__x86_64__]: Enable test for long
45607 doubles.
45608
45609 * math/test-misc.c (main): Fix copy'n'pastos.
45610 * misc/tst-efgcvt.c (special): Likewise.
45611
45612 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
45613 Remove declarations.
45614
45615 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
45616
45617 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
45618 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
45619 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
45620 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
45621
45622 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45623
45624 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
45625 macro to return vdso values correctly in IFUNC implementations.
45626 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
45627 Optimization by using IFUNC.
45628
45629 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
45630 Richard Henderson <rth@redhat.com>
45631 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45632
45633 * Makefile.in (bench): New target.
45634 * NEWS: Mention the benchmark framework.
45635 * Rules (bench): Likewise.
45636 (binaries-bench): Generate binaries for functions to
45637 benchmark.
45638 * benchtests/Makefile: New makefile for benchmark tests.
45639 * benchtests/bench-skeleton.c: New skeleton file for benchmark
45640 programs.
45641 * benchtests/exp-inputs: New input file for EXP function.
45642 * benchtests/pow-inputs: New input file for POW function.
45643 * scripts/bench.pl: New script to generate source files for
45644 benchmark programs.
45645
45646 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
45647
45648 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45649 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
45650 computations on mantissa. Use macros for rounding and
45651 division.
45652 (denorm): Likewise.
45653 (__dbl_mp): Likewise.
45654 (add_magnitudes): Likewise.
45655 (sub_magnitudes): Likewise.
45656 (__mul): Likewise.
45657 (__sqr): Likewise.
45658 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
45659 powers of two in terms of TWOPOW macro.
45660 (mp_no): Make type of mantissa as MANTISSA_T.
45661 [!RADIXI]: Define RADIXI.
45662 [!TWO52]: Define TWO52.
45663 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45664
45665 * manual/nptl.texi (cindex): Modify threads to pthreads.
45666
45667 2013-03-15 Joseph Myers <joseph@codesourcery.com>
45668
45669 * sysdeps/x86_64/preconfigure: Regenerated.
45670
45671 2013-03-14 Joseph Myers <joseph@codesourcery.com>
45672
45673 [BZ #14155]
45674 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
45675 0x1p28 and above.
45676 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
45677 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
45678 0x1p28 and above.
45679 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
45680 * math/libm-test.inc (j0_test): Do not allow one spurious
45681 underflow exception.
45682 (y1_test): Likewise.
45683
45684 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
45685
45686 * manual/Makefile (chapters): Add nptl.
45687 * manual/debug.texi (Debugging Support): Add link to Threads
45688 chapter.
45689 * manual/nptl.texi: New file.
45690
45691 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
45692
45693 2013-03-14 Petr Baudis <pasky@ucw.cz>
45694
45695 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
45696 for non-NULL pointer before the memory validity test. Pointed
45697 out by Holger Brunck <holger.brunck@keymile.com>.
45698
45699 2013-03-13 Andreas Schwab <schwab@suse.de>
45700
45701 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
45702 instead of .os.
45703
45704 2013-03-13 Joseph Myers <joseph@codesourcery.com>
45705
45706 * timezone/zic.c: Update from tzcode 2013b.
45707
45708 2013-03-12 Carlos O'Donell <carlos@redhat.com>
45709
45710 * manual/install.texi (Configuring and compiling):
45711 Mention i686 and i586.
45712 * INSTALL: Regenerate.
45713
45714 2013-03-12 Roland McGrath <roland@hack.frob.com>
45715
45716 * sysdeps/init_array/elf-init.c: New file.
45717 * csu/elf-init.c
45718 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
45719 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
45720
45721 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
45722 __gmon_start__ as global, but as static with a .preinit_array pointer.
45723 * sysdeps/init_array/gmon-start.c: New file. Use that.
45724 * sysdeps/init_array/crti.S: New file, empty except for comments.
45725 * sysdeps/init_array/crtn.S: Likewise.
45726
45727 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
45728
45729 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
45730 definining bcopy.
45731 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45732 Remove Prefer_SSE_for_memop.
45733 * sysdeps/x86_64/multiarch/init-arch.h: Remove
45734 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
45735 HAS_PREFER_SSE_FOR_MEMOP.
45736 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
45737 memset-x86-64.
45738 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45739 Remove bzero, memset ifunc support.
45740 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
45741 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
45742 * sysdeps/x86_64/multiarch/memset.S: Likewise.
45743 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45744
45745 2013-03-11 Andreas Schwab <schwab@suse.de>
45746
45747 [BZ #15234]
45748 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
45749 by SHLIB_COMPAT.
45750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
45751 (GLIBC_2.16): Remove pthread_atfork.
45752
45753 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
45754
45755 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
45756 (ptestcases.h): Likewise.
45757
45758 2013-03-08 Roland McGrath <roland@hack.frob.com>
45759
45760 * Makeconfig ($(common-objpfx)config.status): Depend on
45761 sysdeps/*/preconfigure{,.in} too.
45762
45763 2013-03-08 Joseph Myers <joseph@codesourcery.com>
45764
45765 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
45766 (__free_hook): Use void * instead of __malloc_ptr_t.
45767 (__malloc_hook): Likewise.
45768 (__realloc_hook): Likewise.
45769 (__memalign_hook): Likewise.
45770 (__after_morecore_hook): Likewise.
45771 * malloc/arena.c (save_malloc_hook): Likewise.
45772 (save_free_hook): Likewise.
45773 * malloc/hooks.c (malloc_hook_ini): Likewise.
45774 (realloc_hook_ini): Likewise.
45775 (memalign_hook_ini): Likewise.
45776 * malloc/malloc.c (malloc_hook_ini): Likewise.
45777 (realloc_hook_ini): Likewise.
45778 (memalign_hook_ini): Likewise.
45779 (__free_hook): Likewise.
45780 (__malloc_hook): Likewise.
45781 (__realloc_hook): Likewise.
45782 (__memalign_hook): Likewise.
45783 (__libc_malloc): Likewise.
45784 (__libc_free): Likewise.
45785 (__libc_realloc): Likewise.
45786 (__libc_memalign): Likewise.
45787 (__libc_valloc): Likewise.
45788 (__libc_pvalloc): Likewise.
45789 (__libc_calloc): Likewise.
45790 (__posix_memalign): Likewise.
45791 * malloc/morecore.c (__sbrk): Likewise.
45792 (__default_morecore): Likewise.
45793
45794 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
45795
45796 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
45797 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
45798 __malloc_ptrdiff_t.
45799
45800 * malloc/malloc.h (__malloc_size_t): Remove macro.
45801 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
45802 __malloc_size_t.
45803 (old_memalign_hook): Likewise.
45804 (old_realloc_hook): Likewise.
45805 (struct hdr): Likewise.
45806 (flood): Likewise.
45807 (mallochook): Likewise.
45808 (memalignhook): Likewise.
45809 (reallochook): Likewise.
45810 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
45811 (tr_old_realloc_hook): Likewise.
45812 (tr_old_memalign_hook): Likewise.
45813 (tr_mallochook): Likewise.
45814 (tr_reallochook): Likewise.
45815 (tr_memalignhook): Likewise.
45816
45817 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45818
45819 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
45820 default_ldbl_pack and using as default implementation.
45821 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
45822 implementation.
45823 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
45824 redundant definition.
45825 (ldbl_insert_mantissa): Likewise.
45826 (ldbl_canonicalize): Likewise.
45827 (ldbl_nearbyint): Likewise.
45828 (ldbl_pack): Rename to ldbl_pack_ppc.
45829 (ldbl_unpack): Rename to ldbl_unpack_ppc.
45830 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
45831 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
45832
45833 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
45834
45835 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
45836 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
45837 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
45838 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
45839 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
45840 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
45841 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
45842 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
45843
45844 2013-03-07 Andreas Jaeger <aj@suse.de>
45845
45846 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45847 bits/mman-linux.h.
45848
45849 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
45850
45851 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
45852 Include mpa.h and declare __MPEXP.
45853 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
45854 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45855 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45856 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
45857 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45858 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45859 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
45860
45861 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
45862 (__slowpow): Use long double EXPL and LOGL functions to
45863 compute POW.
45864 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45865 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45866 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
45867 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45868 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45869 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
45870
45871 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
45872 intermediate variable to calculate exponent.
45873 (__sqr): Likewise.
45874 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
45875 Likewise.
45876 (__sqr): Likewise.
45877
45878 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
45879 [!NO__SQR]: Define __sqr.
45880 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
45881 and NO__SQR. Remove all code except __mul and __sqr. Include
45882 sysdeps/ieee754/dbl-64/mpa.c.
45883 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45884
45885 [BZ #12723]
45886 * posix/Makefile (tests): Add tst-pathconf.
45887 * posix/tst-pathconf.c: New test case.
45888 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
45889 _PC_PIPE_BUF.
45890 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
45891
45892 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
45893
45894 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
45895
45896 2013-03-06 Andreas Jaeger <aj@suse.de>
45897
45898 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
45899 definition via __MAP_ANONYMOUS.
45900
45901 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
45902 it's not part of Linux headers.
45903
45904 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
45905 (MAP_HUGE_MASK): Define.
45906
45907 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45908 Define.
45909 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45910 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45911 Define.
45912 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45913 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45914 Define.
45915 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45916 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
45917 Define.
45918 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45919
45920 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
45921 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
45922 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
45923 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
45924 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
45925 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
45926
45927 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45928 Handle f2fs.
45929
45930 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45931 Handle f2fs and efivarfs.
45932
45933 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
45934 f2fs.
45935
45936 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
45937 (EFIVARFS_MAGIC): Add.
45938 (F2FS_LINK_MAX): Add.
45939
45940 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45941
45942 * stdio-common/vfprintf.c: Replace __builtin_expect with
45943 __glibc_unlikely.
45944
45945 2013-03-06 Joseph Myers <joseph@codesourcery.com>
45946
45947 [BZ #13550]
45948 * sysdeps/generic/bp-sym.h: Remove file.
45949 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
45950 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
45951 <bp-sym.h> and <bp-asm.h>.
45952 (__longjmp): Don't use BP_SYM.
45953 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
45954 and <bp-asm.h>.
45955 (memcpy): Don't use BP_SYM.
45956 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
45957 <bp-sym.h> and <bp-asm.h>.
45958 (memcpy): Don't use BP_SYM.
45959 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
45960 <bp-asm.h>.
45961 (memcpy): Don't use BP_SYM.
45962 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
45963 <bp-asm.h>.
45964 (memset): Don't use BP_SYM.
45965 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45966 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45967 (__bzero): Don't use BP_SYM.
45968 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45969 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45970 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
45971 <bp-sym.h> and <bp-asm.h>.
45972 (memcmp): Don't use BP_SYM. Remove comment about bounded
45973 pointers.
45974 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
45975 <bp-sym.h> and <bp-asm.h>.
45976 (memcpy): Don't use BP_SYM.
45977 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
45978 <bp-sym.h> and <bp-asm.h>.
45979 (memset): Don't use BP_SYM.
45980 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45981 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45982 (__bzero): Don't use BP_SYM.
45983 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45984 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45985 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
45986 <bp-sym.h> and <bp-asm.h>.
45987 (strncmp): Don't use BP_SYM. Remove comment about bounded
45988 pointers.
45989 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
45990 <bp-sym.h> and <bp-asm.h>.
45991 (memcpy): Don't use BP_SYM.
45992 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
45993 <bp-sym.h> and <bp-asm.h>.
45994 (memset): Don't use BP_SYM.
45995 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45996 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45997 (__bzero): Don't use BP_SYM.
45998 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45999 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46000 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
46001 <bp-sym.h> and <bp-asm.h>.
46002 (__memchr): Don't use BP_SYM.
46003 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
46004 <bp-sym.h> and <bp-asm.h>.
46005 (memcmp): Don't use BP_SYM. Remove comment about bounded
46006 pointers.
46007 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
46008 <bp-sym.h> and <bp-asm.h>.
46009 (memcpy): Don't use BP_SYM.
46010 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
46011 <bp-sym.h> and <bp-asm.h>.
46012 (__mempcpy): Don't use BP_SYM.
46013 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
46014 <bp-sym.h> and <bp-asm.h>.
46015 (__memrchr): Don't use BP_SYM.
46016 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
46017 <bp-sym.h> and <bp-asm.h>.
46018 (memset): Don't use BP_SYM.
46019 (__bzero): Likewise.
46020 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
46021 <bp-sym.h> and <bp-asm.h>.
46022 (__rawmemchr): Don't use BP_SYM.
46023 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
46024 <bp-sym.h> and <bp-asm.h>.
46025 (__STRCMP): Don't use BP_SYM.
46026 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
46027 <bp-sym.h> and <bp-asm.h>.
46028 (strchr): Don't use BP_SYM.
46029 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
46030 <bp-sym.h> and <bp-asm.h>.
46031 (__strchrnul): Don't use BP_SYM.
46032 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
46033 <bp-sym.h> and <bp-asm.h>.
46034 (strlen): Don't use BP_SYM.
46035 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
46036 <bp-sym.h> and <bp-asm.h>.
46037 (strncmp): Don't use BP_SYM. Remove comment about bounded
46038 pointers.
46039 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
46040 <bp-sym.h> and <bp-asm.h>.
46041 (__strnlen): Don't use BP_SYM.
46042 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
46043 <bp-sym.h> and <bp-asm.h>.
46044 (__GI__setjmp): Don't use BP_SYM.
46045 (_setjmp): Likewise.
46046 (__sigsetjmp): Likewise.
46047 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
46048 (L(start_addresses)): Don't use BP_SYM.
46049 (_start): Likewise.
46050 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
46051 <bp-asm.h>.
46052 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
46053 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
46054 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46055 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46056 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
46057 <bp-asm.h>.
46058 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
46059 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
46060 about bounded pointers.
46061 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46062 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46063 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
46064 <bp-asm.h>.
46065 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
46066 about bounded pointers. Remove GKM FIXME comments.
46067 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46068 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
46069 <bp-asm.h>.
46070 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
46071 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
46072 Remove GKM FIXME comments.
46073 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46074 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46075 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
46076 <bp-asm.h>.
46077 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
46078 about bounded pointers. Remove GKM FIXME comment.
46079 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
46080 and <bp-asm.h>.
46081 (strncmp): Don't use BP_SYM. Remove comment about bounded
46082 pointers.
46083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
46084 <bp-sym.h> and <bp-asm.h>.
46085 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
46087 <bp-sym.h> and <bp-asm.h>.
46088 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
46089 comment.
46090
46091 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46092
46093 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
46094 call free(NULL).
46095
46096 2013-03-05 David S. Miller <davem@davemloft.net>
46097
46098 * po/es.po: Update from translation team.
46099
46100 2013-03-05 Andreas Jaeger <aj@suse.de>
46101
46102 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
46103 <bits/mman-linux.h>.
46104 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46105 is fine.
46106 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
46107 <bits/mman-linux.h> to end of file.
46108 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46109 is fine.
46110 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
46111 <bits/mman-linux.h> to end of file.
46112 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46113 is fine.
46114 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
46115 <bits/mman-linux.h> to end of file.
46116
46117 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
46118 (MCL_CURRENT, MCL_FUTURE): Define here.
46119
46120 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46121
46122 [BZ #15232]
46123 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
46124 attribute_hidden.
46125 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46126
46127 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46128
46129 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
46130 fourth parameter needed for rt_sigprocmask syscall.
46131 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46132 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46133 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
46134 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46135 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46136 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
46137
46138 2013-03-04 Joseph Myers <joseph@codesourcery.com>
46139
46140 [BZ #13550]
46141 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
46142 comment about bounded pointers.
46143 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
46144 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
46145
46146 2013-03-04 Andreas Jaeger <aj@suse.de>
46147
46148 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
46149 common definitions.
46150
46151 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
46152 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
46153 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
46154 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46155 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46156 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46157
46158 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46159
46160 [BZ #15055]
46161 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
46162 __ieee754_sqrl instead of __sqrl.
46163
46164 2013-03-01 Joseph Myers <joseph@codesourcery.com>
46165
46166 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
46167 * sysdeps/powerpc/fpu_control.h: ... here.
46168 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
46169 * sysdeps/powerpc/bits/fenvinline.h: ... here.
46170 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
46171 * sysdeps/powerpc/bits/mathinline.h: ... here.
46172
46173 2013-03-01 Roland McGrath <roland@hack.frob.com>
46174
46175 * elf/dl-hwcaps.c (_dl_important_hwcaps):
46176 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
46177 to just [NEED_DL_SYSINFO_DSO].
46178 * elf/dl-support.c: Likewise.
46179 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
46180 * elf/rtld.c (dl_main): Likewise.
46181 * elf/setup-vdso.h (setup_vdso): Likewise.
46182 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
46183 * sysdeps/unix/sysv/linux/dl-sysdep.c
46184 (_dl_discover_osversion): Likewise.
46185
46186 2013-03-01 Carlos O'Donell <carlos@redhat.com>
46187
46188 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
46189 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46190
46191 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
46192
46193 * NEWS: Mention libm performance improvements and non-x86 PI
46194 futex support.
46195
46196 * csu/libc-start.c (__pthread_initialize_minimal): Change
46197 function arguments.
46198 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46199
46200 2013-02-28 Joseph Myers <joseph@codesourcery.com>
46201
46202 [BZ #13550]
46203 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
46204 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
46205 <bp-sym.h> and <bp-asm.h>.
46206 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46207 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
46208 and <bp-asm.h>.
46209 (memcpy): Don't use BP_SYM.
46210 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
46211 <bp-asm.h>.
46212 (__mpn_add_n): Don't use BP_SYM.
46213 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
46214 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
46215 and <bp-asm.h>.
46216 (__mpn_addmul_1): Don't use BP_SYM.
46217 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46218 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
46219 <bp-sym.h>.
46220 (_setjmp): Don't use BP_SYM.
46221 (__novmx_setjmp): Likewise.
46222 (__GI__setjmp): Likewise.
46223 (__vmx_setjmp): Likewise.
46224 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
46225 <bp-sym.h>.
46226 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
46227 (__bzero): Don't use BP_SYM.
46228 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46229 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46230 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
46231 <bp-sym.h> and <bp-asm.h>.
46232 (memcpy): Don't use BP_SYM.
46233 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
46234 <bp-sym.h> and <bp-asm.h>.
46235 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46236 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
46237 <bp-sym.h> and <bp-asm.h>.
46238 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46239 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
46240 <bp-asm.h>.
46241 (__mpn_lshift): Don't use BP_SYM.
46242 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46243 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
46244 <bp-asm.h>.
46245 (memset): Don't use BP_SYM.
46246 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46247 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46248 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
46249 <bp-asm.h>.
46250 (__mpn_mul_1): Don't use BP_SYM.
46251 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46252 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
46253 <bp-sym.h> and <bp-asm.h>.
46254 (memcmp): Don't use BP_SYM.
46255 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
46256 <bp-sym.h> and <bp-asm.h>.
46257 (memcpy): Don't use BP_SYM.
46258 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
46259 <bp-sym.h> and <bp-asm.h>.
46260 (memset): Don't use BP_SYM.
46261 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
46262 <bp-sym.h> and <bp-asm.h>.
46263 (strncmp): Don't use BP_SYM.
46264 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
46265 <bp-sym.h> and <bp-asm.h>.
46266 (memcpy): Don't use BP_SYM.
46267 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
46268 <bp-sym.h> and <bp-asm.h>.
46269 (memset): Don't use BP_SYM.
46270 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
46271 <bp-sym.h> and <bp-asm.h>.
46272 (__memchr): Don't use BP_SYM.
46273 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
46274 <bp-sym.h> and <bp-asm.h>.
46275 (memcmp): Don't use BP_SYM.
46276 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
46277 <bp-sym.h> and <bp-asm.h>.
46278 (memcpy): Don't use BP_SYM.
46279 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
46280 <bp-sym.h> and <bp-asm.h>.
46281 (__mempcpy): Don't use BP_SYM.
46282 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
46283 <bp-sym.h> and <bp-asm.h>.
46284 (__memrchr): Don't use BP_SYM.
46285 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
46286 <bp-sym.h> and <bp-asm.h>.
46287 (memset): Don't use BP_SYM.
46288 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
46289 <bp-sym.h> and <bp-asm.h>.
46290 (__rawmemchr): Don't use BP_SYM.
46291 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
46292 <bp-sym.h> and <bp-asm.h>.
46293 (__STRCMP): Don't use BP_SYM.
46294 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
46295 <bp-sym.h> and <bp-asm.h>.
46296 (strchr): Don't use BP_SYM.
46297 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
46298 <bp-sym.h> and <bp-asm.h>.
46299 (__strchrnul): Don't use BP_SYM.
46300 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
46301 <bp-sym.h> and <bp-asm.h>.
46302 (strlen): Don't use BP_SYM.
46303 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
46304 <bp-sym.h> and <bp-asm.h>.
46305 (strncmp): Don't use BP_SYM.
46306 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
46307 <bp-sym.h> and <bp-asm.h>.
46308 (__strnlen): Don't use BP_SYM.
46309 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
46310 <bp-asm.h>.
46311 (__mpn_rshift): Don't use BP_SYM.
46312 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46313 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
46314 <bp-sym.h> and <bp-asm.h>.
46315 (__sigsetjmp): Don't use BP_SYM.
46316 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
46317 (L(start_addresses)): Don't use BP_SYM.
46318 (_start): Likewise.
46319 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
46320 <bp-asm.h>.
46321 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
46322 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46323 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46324 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
46325 <bp-asm.h>.
46326 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
46327 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46328 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46329 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
46330 <bp-asm.h>.
46331 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
46332 comments.
46333 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46334 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
46335 <bp-asm.h>.
46336 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
46337 FIXME comments.
46338 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46339 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46340 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
46341 <bp-asm.h>.
46342 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
46343 comment.
46344 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
46345 and <bp-asm.h>.
46346 (strncmp): Don't use BP_SYM,
46347 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
46348 <bp-asm.h>.
46349 (__mpn_sub_n): Don't use BP_SYM.
46350 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46351 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
46352 and <bp-asm.h>.
46353 (__mpn_submul_1): Don't use BP_SYM.
46354 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
46356 <bp-sym.h> and <bp-asm.h>.
46357 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
46359 <bp-sym.h> and <bp-asm.h>.
46360 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
46361 comment.
46362
46363 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46364
46365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
46366 Use ZK to minimize writes to Z.
46367 (sub_magnitudes): Simplify code a bit.
46368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
46369 Use ZK to minimize writes to Z.
46370 (sub_magnitudes): Simplify code a bit.
46371
46372 2013-02-27 Roland McGrath <roland@hack.frob.com>
46373
46374 * csu/gmon-start.c: Add special exception to license text.
46375
46376 2013-02-27 Richard Henderson <rth@redhat.com>
46377
46378 * scripts/config.guess: Update from config.git.
46379 * scripts/config.sub: Likewise.
46380
46381 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
46382
46383 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
46384
46385 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
46386
46387 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
46388
46389 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
46390
46391 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
46392
46393 2013-02-26 Roland McGrath <roland@hack.frob.com>
46394
46395 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
46396 [$(build-shared = yes].
46397
46398 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46399
46400 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
46401 (__mul): Reduce iterations for calculating mantissa.
46402
46403 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
46404 MPTWO.
46405 (__mpranred): Likewise.
46406
46407 [BZ #15160]
46408 * malloc/memusagestat.c (main): Draw graphs for heap and stack
46409 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
46410
46411 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
46412
46413 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
46414 Define __attribute__.
46415
46416 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46417
46418 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
46419 unused.
46420 * posix/regex_internal.h (__attribute): Remove.
46421 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
46422 (re_string_context_at): Likewise.
46423 (bitset_not): Use __attribute__ and mark function as possibly
46424 unused.
46425 (bitset_merge): Likewise.
46426 (bitset_mask): Likewise.
46427 (re_string_char_size_at): Likewise.
46428 (re_string_wchar_at): Likewise.
46429 (re_string_elem_size_at): Likewise.
46430
46431 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46432
46433 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
46434 code.
46435 (cc32): Likewise.
46436
46437 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
46438 (__acr): Likewise.
46439 (__cpy): Likewise.
46440 (norm): Likewise.
46441 (denorm): Likewise.
46442 (__dbl_mp): Likewise.
46443 (add_magnitudes): Likewise.
46444 (sub_magnitudes): Likewise.
46445 (__mul): Likewise.
46446 (__inv): Likewise.
46447
46448 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
46449 style.
46450
46451 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
46452 style.
46453
46454 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
46455 code.
46456
46457 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
46458 up changes with default code.
46459 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
46460 Likewise.
46461
46462 2013-02-24 Allan McRae <allan@archlinux.org>
46463
46464 * manual/socket.texi (The Internet Namespace): Order menu items
46465 to match that in the file.
46466
46467 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
46468 node listing of the info page menu.
46469
46470 2013-02-21 Joseph Myers <joseph@codesourcery.com>
46471
46472 [BZ #13550]
46473 * sysdeps/i386/bp-asm.h: Remove file.
46474 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46475 (PARMS): Do not use macros from bp-asm.h.
46476 (S1): Likewise.
46477 (S2): Likewise.
46478 (SIZE): Likewise.
46479 (__mpn_add_n): Do not use BP_SYM
46480 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
46481 "bp-asm.h".
46482 (PARMS): Do not use macros from bp-asm.h.
46483 (S1): Likewise.
46484 (SIZE): Likewise.
46485 (__mpn_addmul_1): Do not use BP_SYM
46486 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
46487 "bp-asm.h".
46488 (PARMS): Do not use macros from bp-asm.h.
46489 (SIGMSK): Likewise.
46490 (_setjmp): Likewise. Do not use BP_SYM.
46491 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
46492 "bp-asm.h".
46493 (PARMS): Do not use macros from bp-asm.h.
46494 (SIGMSK): Likewise.
46495 (setjmp): Likewise. Do not use BP_SYM.
46496 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
46497 "bp-asm.h".
46498 (PARMS): Do not use macros from bp-asm.h.
46499 (__frexp): Do not use BP_SYM.
46500 (frexp): Likewise.
46501 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
46502 "bp-asm.h".
46503 (PARMS): Do not use macros from bp-asm.h.
46504 (__frexpf): Do not use BP_SYM.
46505 (frexpf): Likewise.
46506 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
46507 "bp-asm.h".
46508 (PARMS): Do not use macros from bp-asm.h.
46509 (__frexpl): Do not use BP_SYM.
46510 (frexpl): Likewise.
46511 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
46512 "bp-asm.h".
46513 (PARMS): Do not use macros from bp-asm.h.
46514 (__remquo): Do not use BP_SYM.
46515 (remquo): Likewise.
46516 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
46517 "bp-asm.h".
46518 (PARMS): Do not use macros from bp-asm.h.
46519 (__remquof): Do not use BP_SYM.
46520 (remquof): Likewise.
46521 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
46522 "bp-asm.h".
46523 (PARMS): Do not use macros from bp-asm.h.
46524 (__remquol): Do not use BP_SYM.
46525 (remquol): Likewise.
46526 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
46527 "bp-asm.h".
46528 (PARMS): Do not use macros from bp-asm.h.
46529 (DEST): Likewise.
46530 (SRC): Likewise.
46531 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
46532 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
46533 "bp-asm.h".
46534 (PARMS): Do not use macros from bp-asm.h.
46535 (strlen): Do not use BP_SYM.
46536 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
46537 "bp-asm.h".
46538 (PARMS): Do not use macros from bp-asm.h.
46539 (S1): Likewise.
46540 (S2): Likewise.
46541 (SIZE): Likewise.
46542 (__mpn_add_n): Do not use BP_SYM.
46543 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
46544 "bp-asm.h".
46545 (PARMS): Do not use macros from bp-asm.h.
46546 (S1): Likewise.
46547 (SIZE): Likewise.
46548 (__mpn_addmul_1): Do not use BP_SYM.
46549 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
46550 weak_alias.
46551 (bzero): Likewise.
46552 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
46553 "bp-asm.h".
46554 (PARMS): Do not use macros from bp-asm.h.
46555 (S): Likewise.
46556 (SIZE): Likewise.
46557 (__mpn_lshift): Do not use BP_SYM.
46558 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
46559 "bp-asm.h".
46560 (PARMS): Do not use macros from bp-asm.h.
46561 (DEST): Likewise.
46562 (SRC): Likewise.
46563 (LEN): Likewise.
46564 (memcpy): Likewise. Do not use BP_SYM.
46565 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
46566 libc_hidden_def and weak_alias.
46567 (mempcpy): Do not use BP_SYM in weak_alias.
46568 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
46569 "bp-asm.h".
46570 (PARMS): Do not use macros from bp-asm.h.
46571 (DEST): Likewise.
46572 (LEN): Likewise.
46573 [!BZERO_P] (CHR): Likewise.
46574 (memset): Likewise. Do not use BP_SYM.
46575 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
46576 "bp-asm.h".
46577 (PARMS): Do not use macros from bp-asm.h.
46578 (S1): Likewise.
46579 (SIZE): Likewise.
46580 (__mpn_mul_1): Do not use BP_SYM.
46581 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
46582 "bp-asm.h".
46583 (PARMS): Do not use macros from bp-asm.h.
46584 (S): Likewise.
46585 (SIZE): Likewise.
46586 (__mpn_rshift): Do not use BP_SYM.
46587 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
46588 "bp-asm.h".
46589 (PARMS): Do not use macros from bp-asm.h.
46590 (STR): Likewise.
46591 (CHR): Likewise.
46592 (strchr): Likewise. Do not use BP_SYM.
46593 (index): Do not use BP_SYM in weak_alias.
46594 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
46595 "bp-asm.h".
46596 (PARMS): Do not use macros from bp-asm.h.
46597 (DEST): Likewise.
46598 (SRC): Likewise.
46599 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
46600 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
46601 "bp-asm.h".
46602 (PARMS): Do not use macros from bp-asm.h.
46603 (strlen): Do not use BP_SYM.
46604 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
46605 "bp-asm.h".
46606 (PARMS): Do not use macros from bp-asm.h.
46607 (S1): Likewise.
46608 (S2): Likewise.
46609 (SIZE): Likewise.
46610 (__mpn_sub_n): Do not use BP_SYM.
46611 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
46612 "bp-asm.h".
46613 (PARMS): Do not use macros from bp-asm.h.
46614 (S1): Likewise.
46615 (SIZE): Likewise.
46616 (__mpn_submul_1): Do not use BP_SYM.
46617 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
46618 "bp-asm.h".
46619 (PARMS): Do not use macros from bp-asm.h.
46620 (S1): Likewise.
46621 (S2): Likewise.
46622 (SIZE): Likewise.
46623 (__mpn_add_n): Do not use BP_SYM.
46624 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
46625 weak_alias.
46626 (bzero): Likewise.
46627 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
46628 "bp-asm.h".
46629 (PARMS): Do not use macros from bp-asm.h.
46630 (BLK2): Likewise.
46631 (LEN): Likewise.
46632 (memcmp): Do not use BP_SYM.
46633 (bcmp): Do not use BP_SYM in weak_alias.
46634 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
46635 "bp-asm.h".
46636 (PARMS): Do not use macros from bp-asm.h.
46637 (DEST): Likewise.
46638 (SRC): Likewise.
46639 (LEN): Likewise.
46640 (memcpy): Likewise. Do not use BP_SYM.
46641 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
46642 "bp-asm.h".
46643 (PARMS): Do not use macros from bp-asm.h.
46644 (DEST): Likewise.
46645 (SRC): Likewise.
46646 (LEN): Likewise.
46647 (memmove): Likewise. Do not use BP_SYM.
46648 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
46649 "bp-asm.h".
46650 (PARMS): Do not use macros from bp-asm.h.
46651 (DEST): Likewise.
46652 (SRC): Likewise.
46653 (LEN): Likewise.
46654 (__mempcpy): Likewise. Do not use BP_SYM.
46655 (mempcpy): Do not use BP_SYM in weak_alias.
46656 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
46657 "bp-asm.h".
46658 (PARMS): Do not use macros from bp-asm.h.
46659 (DEST): Likewise.
46660 (LEN): Likewise.
46661 [!BZERO_P] (CHR): Likewise.
46662 (memset): Likewise. Do not use BP_SYM.
46663 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
46664 "bp-asm.h".
46665 (PARMS): Do not use macros from bp-asm.h.
46666 (STR2): Likewise.
46667 (strcmp): Do not use BP_SYM.
46668 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
46669 "bp-asm.h".
46670 (PARMS): Do not use macros from bp-asm.h.
46671 (STR): Likewise.
46672 (DELIM): Likewise.
46673 [USE_AS_STRTOK_R] (SAVE): Likewise.
46674 (FUNCTION): Likewise. Do not use BP_SYM.
46675 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
46676 aliases.
46677 (strtok_r): Likewise.
46678 (__GI___strtok_r): Likewise.
46679 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46680 (PARMS): Do not use macros from bp-asm.h.
46681 (S): Likewise.
46682 (SIZE): Likewise.
46683 (__mpn_lshift): Do not use BP_SYM.
46684 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46685 (PARMS): Do not use macros from bp-asm.h.
46686 (STR): Likewise.
46687 (CHR): Likewise.
46688 (__memchr): Do not use BP_SYM.
46689 (memchr): Do not use BP_SYM in weak_alias.
46690 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46691 (PARMS): Do not use macros from bp-asm.h.
46692 (BLK2): Likewise.
46693 (LEN): Likewise.
46694 (memcmp): Do not use BP_SYM.
46695 (bcmp): Do not use BP_SYM in weak_alias.
46696 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
46697 (PARMS): Do not use macros from bp-asm.h.
46698 (S1): Likewise.
46699 (SIZE): Likewise.
46700 (__mpn_mul_1): Do not use BP_SYM.
46701 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
46702 "bp-asm.h".
46703 (PARMS): Do not use macros from bp-asm.h.
46704 (STR): Likewise.
46705 (CHR): Likewise.
46706 (__rawmemchr): Do not use BP_SYM.
46707 (rawmemchr): Do not use BP_SYM in weak_alias.
46708 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46709 (PARMS): Do not use macros from bp-asm.h.
46710 (S): Likewise.
46711 (SIZE): Likewise.
46712 (__mpn_rshift): Do not use BP_SYM.
46713 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46714 (PARMS): Do not use macros from bp-asm.h.
46715 (SIGMSK): Likewise.
46716 (__sigsetjmp): Likewise. Do not use BP_SYM.
46717 * sysdeps/i386/start.S: Do not include "bp-sym.h".
46718 (_start): Do not use BP_SYM.
46719 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
46720 (PARMS): Do not use macros from bp-asm.h.
46721 (DEST): Likewise.
46722 (SRC): Likewise.
46723 (__stpcpy): Likewise. Do not use BP_SYM.
46724 (stpcpy): Do not use BP_SYM in weak_alias.
46725 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
46726 "bp-asm.h".
46727 (PARMS): Do not use macros from bp-asm.h.
46728 (DEST): Likewise.
46729 (SRC): Likewise.
46730 (LEN): Likewise.
46731 (__stpncpy): Likewise. Do not use BP_SYM.
46732 (stpncpy): Do not use BP_SYM in weak_alias.
46733 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46734 (PARMS): Do not use macros from bp-asm.h.
46735 (STR): Likewise.
46736 (CHR): Likewise.
46737 (strchr): Likewise. Do not use BP_SYM.
46738 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
46739 "bp-asm.h".
46740 (PARMS): Do not use macros from bp-asm.h.
46741 (STR): Likewise.
46742 (CHR): Likewise.
46743 (__strchrnul): Likewise. Do not use BP_SYM.
46744 (strchrnul): Do not use BP_SYM in weak_alias.
46745 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
46746 "bp-asm.h".
46747 (PARMS): Do not use macros from bp-asm.h.
46748 (STOP): Likewise.
46749 (strcspn): Do not use BP_SYM.
46750 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
46751 "bp-asm.h".
46752 (PARMS): Do not use macros from bp-asm.h.
46753 (STR): Likewise.
46754 (STOP): Likewise.
46755 (strpbrk): Likewise. Do not use BP_SYM.
46756 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
46757 "bp-asm.h".
46758 (PARMS): Do not use macros from bp-asm.h.
46759 (STR): Likewise.
46760 (CHR): Likewise.
46761 (strrchr): Likewise. Do not use BP_SYM.
46762 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
46763 (PARMS): Do not use macros from bp-asm.h.
46764 (SKIP): Likewise.
46765 (strspn): Do not use BP_SYM.
46766 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
46767 (PARMS): Do not use macros from bp-asm.h.
46768 (STR): Likewise.
46769 (DELIM): Likewise.
46770 (SAVE): Likewise.
46771 (FUNCTION): Likewise. Do not use BP_SYM.
46772 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
46773 aliases.
46774 (strtok_r): Likewise.
46775 (__GI___strtok_r): Likewise.
46776 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46777 (PARMS): Do not use macros from bp-asm.h.
46778 (S1): Likewise.
46779 (S2): Likewise.
46780 (SIZE): Likewise.
46781 (__mpn_sub_n): Do not use BP_SYM.
46782 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
46783 "bp-asm.h".
46784 (PARMS): Do not use macros from bp-asm.h.
46785 (S1): Likewise.
46786 (SIZE): Likewise.
46787 (__mpn_submul_1): Do not use BP_SYM.
46788 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
46789 <bp-sym.h>.
46790 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
46791 and <bp-asm.h>.
46792 (PARMS): Do not use macros from bp-asm.h.
46793 (FLAGS): Likewise.
46794 (PTID): Likewise.
46795 (TLS): Likewise.
46796 (CTID): Likewise.
46797 (__clone): Do not use BP_SYM.
46798 (clone): Do not use BP_SYM in weak_alias.
46799 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
46800 and <bp-asm.h>.
46801 (PARMS): Do not use macros from bp-asm.h.
46802 (LEN): Likewise.
46803 (__mmap64): Do not use BP_SYM.
46804 (mmap64): Do not use BP_SYM in weak_alias.
46805 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46806 <bp-sym.h> and <bp-asm.h>.
46807 (PARMS): Do not use macros from bp-asm.h.
46808 (__posix_fadvise64_l64): Do not use BP_SYM.
46809 * sysdeps/unix/sysv/linux/i386/semtimedop.S
46810 (PARMS): Do not use macros from bp-asm.h.
46811 (NSOPS): Likewise.
46812 (semtimedop): Do not use BP_SYM.
46813 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
46814 and <bp-asm.h>.
46815
46816 2013-02-21 Allan McRae <allan@archlinux.org>
46817
46818 * manual/message.texi (Charset conversion in gettext):
46819 Move @end statement to beginning of line.
46820
46821 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46822
46823 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
46824 static.
46825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46826 Likewise.
46827
46828 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
46829 (denorm): Likewise.
46830 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
46831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
46832
46833 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46834
46835 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
46836 tail-call to the resolved function if pltexit isn't needed.
46837
46838 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46839
46840 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
46841 or Y being zero as being unlikely.
46842 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46843 Likewise.
46844
46845 2013-02-20 Carlos O'Donell <carlos@redhat.com>
46846
46847 * manual/nss.texi (System Databases and Name Service Switch):
46848 Remove frobnicate @pxref.
46849
46850 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
46851
46852 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46853 __attribute__ ((unused)) to __attribute__ ((__unused__)).
46854
46855 2013-02-20 Petr Machata <pmachata@redhat.com>
46856
46857 * elf/elf.h (R_ARM_TARGET1): New macro.
46858 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
46859 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
46860 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
46861 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
46862 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
46863 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
46864 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
46865 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
46866 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
46867 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
46868 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
46869 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
46870 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
46871 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
46872 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
46873 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
46874 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
46875 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
46876 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
46877 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
46878 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
46879 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
46880 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
46881 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
46882 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
46883 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
46884 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
46885 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
46886 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
46887 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
46888 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
46889 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
46890 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
46891 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
46892 (R_ARM_THM_GOT_BREL12): Likewise.
46893 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
46894 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
46895 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
46896 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
46897 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
46898 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
46899 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
46900 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
46901 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
46902
46903 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
46904
46905 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46906 __attribute_used__ to __attribute__ ((unused)).
46907
46908 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
46909
46910 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
46911 powerpc mpa.c.
46912 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
46913 comment formatting.
46914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
46915
46916 2013-02-19 Joseph Myers <joseph@codesourcery.com>
46917
46918 [BZ #13550]
46919 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
46920 Remove macro.
46921 (ENTER): Remove both macro definitions.
46922 (LEAVE): Likewise.
46923 (CHECK_BOUNDS_LOW): Likewise.
46924 (CHECK_BOUNDS_HIGH): Likewise.
46925 (CHECK_BOUNDS_BOTH): Likewise.
46926 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
46927 (RETURN_BOUNDED_POINTER): Likewise.
46928 (RETURN_NULL_BOUNDED_POINTER): Likewise.
46929 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
46930 (POP_ERRNO_LOCATION_RETURN): Likewise.
46931 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
46932 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46933 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
46934 macros.
46935 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46936 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
46937 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
46938 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
46939 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
46940 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
46941 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
46942 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
46943 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
46944 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
46945 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
46946 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
46947 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46948 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
46949 removed macros.
46950 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46951 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
46952 macros.
46953 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46954 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
46955 * sysdeps/i386/i586/memset.S (memset): Likewise.
46956 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
46957 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46958 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
46959 macros.
46960 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46961 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
46962 Change uses of L(2) to L(out).
46963 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
46964 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
46965 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
46966 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46967 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
46968 removed macros.
46969 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46970 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
46971 macros.
46972 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46973 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
46974 (RETURN): Do not use macro LEAVE.
46975 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
46976 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
46977 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
46978 * sysdeps/i386/i686/memset.S (memset): Likewise.
46979 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
46980 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
46981 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46982 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
46983 Likewise.
46984 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46985 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
46986 L(1_2) and L(1_3) into L(1).
46987 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
46988 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
46989 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46990 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
46991 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46992 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
46993 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
46994 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46995 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
46996 macros.
46997 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
46998 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46999 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
47000 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
47001 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
47002 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47003 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
47004 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
47005 * sysdeps/i386/strcspn.S (strcspn): Likewise.
47006 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
47007 * sysdeps/i386/strrchr.S (strrchr): Likewise.
47008 * sysdeps/i386/strspn.S (strspn): Likewise.
47009 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
47010 conditional code.
47011 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47012 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
47013 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47014 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
47015 L(1_3) into L(1_1).
47016 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
47017 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47018 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
47019 macros.
47020 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47021
47022 2013-02-19 Jakub Jelinek <jakub@redhat.com>
47023
47024 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
47025 macro.
47026
47027 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
47028
47029 * math/atest-exp.c (exp_mpn): Remove ROUND.
47030 * math/atest-exp2.c (exp_mpn): Likewise.
47031 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
47032
47033 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
47034 * stdlib/tst-tls-atexit-lib.c: Likewise.
47035 * stdlib/tst-tls-atexit.c: Likewise.
47036
47037 2013-02-18 Mike Frysinger <vapier@gentoo.org>
47038
47039 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
47040 and __attribute_alloc_size__.
47041
47042 2013-02-18 Mike Frysinger <vapier@gentoo.org>
47043
47044 * include/programs/xmalloc.h: Change __attribute_alloc_size to
47045 __attribute_alloc_size__.
47046 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
47047 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
47048
47049 2013-02-18 Mike Frysinger <vapier@gentoo.org>
47050
47051 * include/programs/xmalloc.h: New file.
47052 * catgets/gencat.c: Include it.
47053 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
47054 * elf/pldd.c: Likewise.
47055 * iconv/iconv_charmap.c: Likewise.
47056 * iconv/iconvconfig.c: Likewise.
47057 * iconv/strtab.c: Likewise.
47058 * locale/programs/locale.c: Likewise.
47059 * locale/programs/localedef.h: Likewise.
47060 * locale/programs/simple-hash.c: Likewise.
47061 * nscd/nscd.h: Likewise.
47062 * nss/makedb.c: Likewise.
47063 * sysdeps/generic/ldconfig.h: Likewise.
47064
47065 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
47066
47067 * Versions.def: Add GLIBC_2.18.
47068 * include/link.h (struct link_map): New member l_tls_dtor_count.
47069 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
47070 (__call_tls_dtors): Likewise.
47071 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
47072 __cxa_thread_atexit_impl.
47073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47074 Likewise.
47075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47076 Likewise.
47077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47078 Likewise.
47079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47080 Likewise.
47081 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
47083 Likewise.
47084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
47085 Likewise.
47086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47088 Likewise.
47089 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
47090 (tests): Add test case tst-tls-atexit.
47091 (modules-names): Add shared library for tst-tls-atexit.
47092 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
47093 (GLIBC_PRIVATE): Add __call_tls_dtors.
47094 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
47095 for libstdc++.
47096 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
47097 * stdlib/tst-tls-atexit.c: New test case.
47098 * stdlib/tst-tls-atexit-lib.c: New test case.
47099
47100 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
47101
47102 * elf/Versions (ld): Add _dl_find_dso_for_object.
47103 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
47104 * elf/dl-open.c (_dl_find_dso_for_object): New function.
47105 (dl_open_worker): Use _dl_find_dso_for_object.
47106 * elf/dl-sym.c (do_sym): Likewise.
47107 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
47108
47109 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47110
47111 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
47112 Syntactic changes only.
47113 (_dl_runtime_profile): Do a tail-call to the resolved function.
47114
47115 2013-02-17 Joseph Myers <joseph@codesourcery.com>
47116
47117 [BZ #13550]
47118 * sysdeps/x86_64/bp-asm.h: Remove file.
47119 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
47120 <bp-sym.h> and <bp-asm.h>.
47121 (__clone): Do not use BP_SYM.
47122 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
47123 <bp-sym.h> and <bp-asm.h>.
47124 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47125 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
47126 "bp-asm.h".
47127 (_setjmp): Do not use BP_SYM.
47128 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
47129 "bp-asm.h".
47130 (setjmp): Do not use BP_SYM.
47131 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
47132 libc_hidden_def.
47133 (mempcpy): Do not use BP_SYM in weak_alias.
47134 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
47135 "bp-asm.h".
47136 (strchr): Do not use BP_SYM.
47137 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
47138 "bp-asm.h".
47139 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
47140 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
47141 (_start): Do not use BP_SYM.
47142 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
47143 "bp-asm.h".
47144 (strcat): Do not use BP_SYM.
47145 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
47146 "bp-asm.h".
47147 (STRCMP): Do not use BP_SYM.
47148 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
47149 "bp-asm.h".
47150 (STRCPY): Do not use BP_SYM.
47151 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
47152 "bp-asm.h".
47153 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
47154 "bp-asm.h".
47155 (FUNCTION): Do not use BP_SYM.
47156 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
47157 weak_alias.
47158 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
47159
47160 2013-02-17 Andreas Jaeger <aj@suse.de>
47161
47162 * time/Versions: Sort entries.
47163 * string/Versions: Likewise.
47164 * resolv/Versions: Likewise.
47165 * posix/Versions: Likewise.
47166 * iconv/Versions: Likewise.
47167 * elf/Versions: Likewise.
47168 * wcsmbs/Versions: Likewise.
47169
47170 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
47171
47172 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
47173 loop termination condition.
47174
47175 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
47176 variable to calculate EZ.
47177 (__sqr): Likewise.
47178
47179 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
47180 the lower precision input.
47181
47182 2013-02-15 Joseph Myers <joseph@codesourcery.com>
47183
47184 [BZ #13550]
47185 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
47186 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
47187 (run-via-rtld-prefix): Do not handle %-bp tests.
47188 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
47189 (all-object-suffixes): Remove .ob.
47190 (bppfx): Remove variable.
47191 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
47192 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
47193 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
47194 [$(build-bounded) = yes] (libtype.ob): Likewise.
47195 * Makerules (elide-routines.ob): Remove variable.
47196 (do-tests-clean): Do not handle *-bp.out.
47197 (common-mostlyclean): Do not handle *-bp and *-bp.out.
47198 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
47199 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
47200 (tests): Do not include $(tests-bp.out).
47201 (xtests): Do not include $(xtests-bp.out).
47202 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
47203 [$(build-bounded) = yes] ($(addprefix
47204 $(objpfx),$(binaries-bounded))): Remove rule.
47205 ($(objpfx)%-bp.out): Remove rule.
47206 * config.make.in (build-bounded): Remove variable.
47207 * crypt/Makefile [$(build-bounded) = yes]
47208 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
47209 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
47210 append to variable.
47211 [$(build-bounded) = yes] (install-lib): Likewise.
47212 [$(build-bounded) = yes] (generated): Likewise.
47213 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
47214 Remove rule.
47215 * intl/Makefile [$(build-bounded) = yes]
47216 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
47217 * math/Makefile [$(build-bounded) = yes]
47218 ($(tests:%=$(objpfx)%-bp): Likewise.
47219 * misc/Makefile [$(build-bounded) = yes]
47220 ($(objpfx)tst-tsearch-bp): Likewise.
47221 * nptl/Makeconfig (bounded-thread-library): Remove variable.
47222 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
47223 Remove dependency.
47224 * string/Makefile (o-objects.ob): Remove variable.
47225 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
47226 (CFLAGS-.ob): Remove variable.
47227 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
47228 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
47229 both definitions of variable.
47230 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
47231 (ASFLAGS-.ob): Remove variable.
47232
47233 2013-02-14 Joseph Myers <joseph@codesourcery.com>
47234
47235 [BZ #13550]
47236 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
47237 Remove __BOUNDED_POINTERS__ from condition.
47238 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
47239 * string/bits/string2.h [!__NO_STRING_INLINES &&
47240 !__BOUNDED_POINTERS__]: Likewise.
47241 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
47242 Likewise.
47243 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
47244 Remove conditional code.
47245 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
47246 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
47247 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
47248 condition.
47249
47250 [BZ #13550]
47251 * csu/libc-start.c: Do not include <bp-sym.h>.
47252 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
47253 * elf/dl-open.c: Do not include <bp-sym.h>.
47254 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
47255 * math/fegetenv.c: Do not include <bp-sym.h>.
47256 (fegetenv): Do not use BP_SYM in versioned symbols.
47257 * nptl/sysdeps/pthread/bits/libc-lockP.h
47258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
47259 <bp-sym.h>.
47260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47261 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
47262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47263 (__pthread_mutex_destroy): Likewise.
47264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47265 (__pthread_mutex_lock): Likewise.
47266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47267 (__pthread_mutex_trylock): Likewise.
47268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47269 (__pthread_mutex_unlock): Likewise.
47270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47271 (__pthread_mutexattr_init): Likewise.
47272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47273 (__pthread_mutexattr_destroy): Likewise.
47274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47275 (__pthread_mutexattr_settype): Likewise.
47276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47277 (__pthread_rwlock_init): Likewise.
47278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47279 (__pthread_rwlock_destroy): Likewise.
47280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47281 (__pthread_rwlock_rdlock): Likewise.
47282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47283 (__pthread_rwlock_tryrdlock): Likewise.
47284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47285 (__pthread_rwlock_wrlock): Likewise.
47286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47287 (__pthread_rwlock_trywrlock): Likewise.
47288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47289 (__pthread_rwlock_unlock): Likewise.
47290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47291 (__pthread_key_create): Likewise.
47292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47293 (__pthread_setspecific): Likewise.
47294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47295 (__pthread_getspecific): Likewise.
47296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
47297 Likewise.
47298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47299 (_pthread_cleanup_push_defer): Likewise.
47300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47301 (_pthread_cleanup_pop_restore): Likewise.
47302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47303 (pthread_setcancelstate): Likewise.
47304 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
47305 <bp-sym.h>.
47306 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
47307 (memchr): Do not use BP_SYM in weak_alias.
47308 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
47309 (fegetenv): Do not use BP_SYM in versioned symbols.
47310 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
47311 (fesetenv): Do not use BP_SYM in versioned symbols.
47312 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47313 (feupdateenv): Do not use BP_SYM in versioned symbols.
47314 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47315 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47316 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
47317 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
47318 (open64): Do not use BP_SYM in weak_alias.
47319 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
47320 (fegetenv): Do not use BP_SYM in versioned symbols.
47321 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
47322 (fesetenv): Do not use BP_SYM in versioned symbols.
47323 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47324 (feupdateenv): Do not use BP_SYM in versioned symbols.
47325 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
47326 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
47327 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
47328 (feraiseexcept): Do not use BP_SYM in versioned symbols.
47329 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47330 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47331 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
47332 <bp-sym.h>.
47333 (__libc_start_main): Do not use BP_SYM.
47334
47335 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
47336
47337 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
47338 redundant return line.
47339 (norm): Likewise.
47340 (denorm): Likewise.
47341 (dbl_mp): Likewise.
47342 (sub_magnitudes): Likewise.
47343 (__add): Likewise.
47344 (__sub): Likewise.
47345 (__mul): Likewise.
47346 (__inv): Likewise.
47347 (__dvd): Likewise.
47348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
47349 (norm): Likewise.
47350 (denorm): Likewise.
47351 (dbl_mp): Likewise.
47352 (sub_magnitudes): Likewise.
47353 (__add): Likewise.
47354 (__sub): Likewise.
47355 (__mul): Likewise.
47356 (__inv): Likewise.
47357 (__dvd): Likewise.
47358
47359 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
47360 instead of __mul.
47361 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47362 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
47363 (cc32): Likewise.
47364
47365 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
47366 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
47367 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
47368 of __mul for squares.
47369 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
47370 function
47371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
47372 Likewise.
47373 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
47374 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47375
47376 2013-02-13 Joseph Myers <joseph@codesourcery.com>
47377
47378 [BZ #13550]
47379 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
47380 code.
47381 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
47382 prototype or function definition. Rename ubp_* variables and
47383 parameters. Remove argv definitions conditional on
47384 [__BOUNDED_POINTERS__].
47385 * debug/backtrace.c (__backtrace): Do not use __unbounded.
47386 * elf/dl-runtime.c (_dl_fixup): Likewise.
47387 * include/set-hooks.h (RUN_HOOK): Likewise.
47388 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
47389 definition.
47390 * string/strcpy.c (strcpy): Do not use __unbounded.
47391 * sysdeps/generic/frame.h (struct layout): Likewise.
47392 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
47393 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
47394 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
47395 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
47396 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
47397 (__backtrace): Likewise.
47398 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
47399 use __ptrvalue.
47400 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
47401 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
47402 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
47403 Likewise.
47404 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
47405 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
47406 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
47407 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47408 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
47409 Do not use __unbounded.
47410 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
47411 Rename __unboundedrlimits parameter to rlimits in prototype.
47412 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
47413 Do not use __unbounded.
47414 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
47415 not use __ptrvalue.
47416 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47417 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
47418 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47419 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
47420 __ptrvalue or __unbounded.
47421 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
47422 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
47423 use __unbounded.
47424 (__new_msgctl): Do not use __ptrvalue.
47425 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
47426 __unbounded.
47427 (__libc_msgrcv): Do not use __ptrvalue.
47428 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
47429 startup_info): Do not use __unbounded.
47430 (__libc_start_main): Likewise. Rename ubp_* variables and
47431 parameters. Remove argv definitions conditional on
47432 [__BOUNDED_POINTERS__].
47433 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
47434 __ptrvalue.
47435 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
47436 use __unbounded.
47437 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
47438 or __ptrvalue.
47439 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
47440 use __unbounded.
47441 (__new_shmctl): Do not use __ptrvalue.
47442 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
47443 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
47444 Likewise.
47445 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
47446 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
47447 (__libc_sigaction): Likewise.
47448 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
47449 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
47450 Likewise.
47451 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47452
47453 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
47454
47455 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
47456
47457 * string/mempcpy.c: Implement by calling memcpy.
47458
47459 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
47460
47461 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
47462
47463 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
47464 evaluation.
47465
47466 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
47467 values in the mantissa.
47468
47469 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
47470 minimize writes to Z.
47471 (sub_magnitudes): Simplify code a bit.
47472
47473 2013-02-12 Roland McGrath <roland@hack.frob.com>
47474
47475 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
47476 from the message. The linker prefixes all warnings with that already.
47477
47478 2013-02-12 Andreas Schwab <schwab@suse.de>
47479
47480 [BZ #15078]
47481 * posix/regexec.c (extend_buffers): Add parameter min_len.
47482 (check_matching): Pass minimum needed length.
47483 (clean_state_log_if_needed): Likewise.
47484 (get_subexp): Likewise.
47485 * posix/Makefile (tests): Add bug-regex34.
47486 (bug-regex34-ENV): Define.
47487 * posix/bug-regex34.c: New file.
47488
47489 [BZ #11561]
47490 * posix/regcomp.c (parse_bracket_exp): When looking up collating
47491 elements compare against the byte sequence of it, not its name.
47492 * posix/Makefile (tests): Add bug-regex35.
47493 (bug-regex35-ENV): Define.
47494 * posix/bug-regex35.c: New file.
47495
47496 2013-02-11 Tom de Vries <tom@codesourcery.com>
47497
47498 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
47499 comment.
47500 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
47501 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
47502 (CHECK_EOL): Add undef.
47503
47504 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
47505
47506 * bits/stdlib-bsearch.h: New file.
47507 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
47508 * stdlib/stdlib.h: Likewise.
47509
47510 2013-02-11 Roland McGrath <roland@hack.frob.com>
47511
47512 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
47513 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
47514 declaration.
47515 * manual/search.texi (Array Search Function): Add missing const in
47516 lfind prototype.
47517 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
47518 declaration to use rlim_t.
47519 (Basic Scheduling Functions): Remove erroneous const from
47520 sched_getparam prototype. Remove erroneous * from
47521 sched_get_priority_max and sched_get_priority_min prototypes.
47522 (Resource Usage): Fix summary @comment on vtimes to refer to
47523 sys/vtimes.h rather than vtimes.h.
47524 Add missing *s in vtimes prototype.
47525 (Limits on Resources): Fix ulimit prototype to return long int.
47526 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
47527 prototypes to use long int rather than double.
47528 (BSD Random): Fix initstate and setstate to use char *, not void *.
47529 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
47530 prototype to make second argument 'struct aiocb64 *const[]'.
47531 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
47532 (Status of AIO Operations): Remove erroneous const in aio_return and
47533 aio_return64 prototypes.
47534 (Synchronizing I/O): Fix sync prototype to return void.
47535 * manual/startup.texi (Suboptions): Remove an erroneous const in
47536 getsubopt prototype.
47537 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
47538 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
47539 use size_t rather than int.
47540 (Scanning All Users): Likewise for getpwent_r.
47541 (Setting Groups): Add missing const to setgroups prototype.
47542 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
47543 * manual/socket.texi (Host Names): Fix gethostbyaddr and
47544 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
47545 'const void *' rather than 'const char *'.
47546 (Host Address Functions): Likewise for inet_ntop.
47547 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
47548 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
47549 ssize_t for return value.
47550 (Sending Data): Likewise for send, sendto, sendmsg.
47551 (Socket Option Functions): Add a missing const in setsockopt prototype.
47552 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
47553 use wchar_t for the argument.
47554 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
47555 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
47556 take no arguments.
47557 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
47558 double/float/long double for second argument.
47559 Fix return types of significand, significandf, significandl.
47560 * manual/filesys.texi (Setting Permissions): Use mode_t for second
47561 argument in fchmod prototype.
47562 (File Owner): Use uid_t and gid_t in fchown prototype.
47563 (File Times): Add const to utimes, futimes, and lutimes prototypes.
47564 (Making Special Files): Use mode_t and dev_t in mknod prototype.
47565 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
47566 use 'const struct dirent **' as argument types to CMP function pointer
47567 argument.
47568 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
47569 (File Times): Fix summary magic @comment for struct utimbuf and utime
47570 to refer to utime.h, not time.h.
47571 * manual/string.texi (Argz Functions): Add missing const in
47572 argz_extract and argz_next prototypes.
47573 (Finding Tokens in a String): Likewise for basename.
47574 (String/Array Comparison): Fix typo in wcscasecmp prototype.
47575 (Copying and Concatenation): Fix typo in wmemmove prototype.
47576 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
47577 (Signal Stack): Remove erroneous const in sigstack prototype.
47578 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
47579 prototype.
47580 (Simple Calendar Time): Likewise for stime.
47581 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
47582 prototype.
47583 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
47584 say sys/sysctl.h instead.
47585 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
47586 and vsyslog prototypes.
47587
47588 2013-02-11 Tom de Vries <tom@codesourcery.com>
47589
47590 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
47591 Remove.
47592
47593 2013-02-11 Roland McGrath <roland@hack.frob.com>
47594
47595 * misc/sys/mman.h: Fix typo in mremap comment.
47596
47597 2013-02-08 Roland McGrath <roland@hack.frob.com>
47598
47599 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
47600 the '\0' terminator.
47601
47602 2013-02-08 Joseph Myers <joseph@codesourcery.com>
47603
47604 [BZ #13550]
47605 * debug/segfault.c: Don't include <bp-checks.h>.
47606 * sysdeps/generic/bp-checks.h: Remove file.
47607 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
47608 (__GETDENTS): Don't use CHECK_N.
47609 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
47610 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
47611 (__getgroups): Don't use CHECK_N.
47612 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
47613 (setgroups): Don't use CHECK_N.
47614 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
47615 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
47616 (__libc_msgrcv): Don't use CHECK_N.
47617 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
47618 (__libc_msgsnd): Don't use CHECK_N.
47619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
47620 <bp-checks.h>.
47621 (__libc_pread): Don't use CHECK_N.
47622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
47623 include <bp-checks.h>.
47624 (__libc_pread64): Don't use CHECK_N.
47625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
47626 include <bp-checks.h>.
47627 (__libc_pwrite): Don't use CHECK_N.
47628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
47629 include <bp-checks.h>.
47630 (__libc_pwrite64): Don't use CHECK_N.
47631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
47632 <bp-checks.h>.
47633 (__libc_pread): Don't use CHECK_N.
47634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
47635 include <bp-checks.h>.
47636 (__libc_pread64): Don't use CHECK_N.
47637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
47638 include <bp-checks.h>.
47639 (__libc_pwrite): Don't use CHECK_N.
47640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
47641 include <bp-checks.h>.
47642 (__libc_pwrite64): Don't use CHECK_N.
47643 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
47644 (do_pread): Don't use CHECK_N.
47645 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
47646 (do_pread64): Don't use CHECK_N.
47647 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
47648 (do_pwrite): Don't use CHECK_N.
47649 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
47650 (do_pwrite64): Don't use CHECK_N.
47651 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
47652 (__libc_readv): Don't use CHECK_N.
47653 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
47654 (semop): Don't use CHECK_N.
47655 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
47656 <bp-checks.h>.
47657 (semtimedop): Don't use CHECK_N.
47658 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
47659 (__libc_pread): Don't use CHECK_N.
47660 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
47661 <bp-checks.h>.
47662 (__libc_pread64): Don't use CHECK_N.
47663 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
47664 <bp-checks.h>.
47665 (__libc_pwrite): Don't use CHECK_N.
47666 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
47667 <bp-checks.h>.
47668 (__libc_pwrite64): Don't use CHECK_N.
47669 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
47670 <bp-checks.h>.
47671 (__libc_msgrcv): Don't use CHECK_N.
47672 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
47673 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
47674 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
47675 (__libc_writev): Don't use CHECK_N.
47676
47677 2013-02-08 Roland McGrath <roland@hack.frob.com>
47678
47679 * string/strcpy.c: Removed unused variable.
47680
47681 * Makeconfig (+sysdep-includes): Define with := rather than =.
47682 Use an existing include/ subdir of each sysdeps dir before it.
47683
47684 2013-02-08 Carlos O'Donell <carlos@redhat.com>
47685
47686 * nscd/connection.c (register_traced_file): Comment function.
47687 [HAVE_INOTIFY] (union __inev): Define.
47688 [HAVE_INOTIFY] (inotify_check_files): New function.
47689 [HAVE_INOTIFY] (clear_db_cache): Likewise.
47690 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
47691 clear_db_cache.
47692 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
47693
47694 2013-02-08 Carlos O'Donell <carlos@redhat.com>
47695
47696 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
47697 loaded if not already and that a failure is permanent.
47698
47699 2013-02-08 Carlos O'Donell <carlos@redhat.com>
47700
47701 [BZ #15006]
47702 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
47703 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
47704
47705 2013-02-08 Joseph Myers <joseph@codesourcery.com>
47706
47707 [BZ #13550]
47708 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
47709 (CHECK_1_NULL_OK): Likewise.
47710 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
47711 (__fxstat): Do not use CHECK_1.
47712 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
47713 <bp-checks.h>.
47714 (___fxstat64): Do not use CHECK_1.
47715 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
47716 <bp-checks.h>.
47717 (__fxstatat): Do not use CHECK_1.
47718 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
47719 <bp-checks.h>.
47720 (__fxstatat64): Do not use CHECK_1.
47721 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
47722 <bp-checks.h>.
47723 (__fxstat): Do not use CHECK_1.
47724 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
47725 <bp-checks.h>.
47726 (__fxstatat): Do not use CHECK_1.
47727 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47728 <bp-checks.h>.
47729 (__getresgid): Do not use CHECK_1.
47730 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47731 <bp-checks.h>.
47732 (__getresuid): Do not use CHECK_1.
47733 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
47734 <bp-checks.h>.
47735 (__lxstat): Do not use CHECK_1.
47736 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47737 <bp-checks.h>.
47738 (__old_msgctl): Do not use CHECK_1.
47739 (__new_msgctl): Likewise.
47740 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
47741 <bp-checks.h>.
47742 (__new_setrlimit): Do not use CHECK_1.
47743 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47744 <bp-checks.h>.
47745 (__old_shmctl): Do not use CHECK_1.
47746 (__new_shmctl): Likewise.
47747 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
47748 <bp-checks.h>.
47749 (__xstat): Do not use CHECK_1.
47750 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
47751 (__lxstat): Do not use CHECK_1.
47752 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
47753 <bp-checks.h>.
47754 (___lxstat64): Do not use CHECK_1.
47755 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
47756 (__old_msgctl): Do not use CHECK_1.
47757 (__new_msgctl): Likewise.
47758 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
47759 <bp-checks.h>.
47760 (__gettimeofday): Do not use CHECK_1.
47761 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
47762 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
47763 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
47764 <bp-checks.h>.
47765 (__gettimeofday): Do not use CHECK_1.
47766 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
47767 (__old_shmctl): Do not use CHECK_1_NULL_OK.
47768 (__new_shmctl): Do not use CHECK_1.
47769 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
47770 <bp-checks.h>.
47771 (do_sigtimedwait): Do not use CHECK_1.
47772 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
47773 <bp-checks.h>.
47774 (do_sigwaitinfo): Do not use CHECK_1.
47775 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
47776 <bp-checks.h>.
47777 (msgctl): Do not use CHECK_1.
47778 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
47779 <bp-checks.h>.
47780 (shmctl): Do not use CHECK_1.
47781 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
47782 (ustat): Do not use CHECK_1.
47783 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
47784 <bp-checks.h>.
47785 (__fxstat): Do not use CHECK_1.
47786 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
47787 <bp-checks.h>.
47788 (__fxstatat): Do not use CHECK_1.
47789 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
47790 <bp-checks.h>.
47791 (__lxstat): Do not use CHECK_1.
47792 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
47793 <bp-checks.h>.
47794 (__xstat): Do not use CHECK_1.
47795 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
47796 (__xstat): Do not use CHECK_1.
47797 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
47798 (___xstat64): Do not use CHECK_1.
47799
47800 [BZ #13550]
47801 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
47802 definitions.
47803 (CHECK_BOUNDS_HIGH): Likewise.
47804 * string/strcpy.c: Do not include <bp-checks.h>.
47805 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
47806
47807 2013-02-07 Roland McGrath <roland@hack.frob.com>
47808
47809 * nscd/nscd-client.h (__nscd_drop_map_ref):
47810 Add __attribute__ ((unused)).
47811 * nis/nss-nisplus.h (niserr2nss): Likewise.
47812
47813 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
47814 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
47815
47816 * csu/libc-tls.c (init_static_tls, init_slotinfo):
47817 Remove inline keyword.
47818 * include/rounding-mode.h (round_away): Likewise.
47819 * libio/wfileops.c (adjust_wide_data): Likewise.
47820 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
47821 (__m128i_strloadu_tolower): Likewise.
47822 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
47823 (__m128i_strloadu_tolower): Likewise.
47824 * time/mktime.c (ydhms_diff): Likewise.
47825 * locale/elem-hash.h (elem_hash): Likewise.
47826 * locale/setlocale.c (setdata): Likewise.
47827 * posix/regex_internal.h (re_string_char_size_at): Likewise.
47828 (re_string_wchar_at): Likewise.
47829 (bitset_not, bitset_merge, bitset_mask): Likewise.
47830 [!(__GNUC__ > 3)] (inline): Remove macro.
47831 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
47832 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
47833 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
47834 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
47835 * string/memcmp.c (memcmp_bytes): Likewise.
47836 * locale/programs/locarchive.c (compute_hashval): Likewise.
47837 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
47838 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
47839 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
47840 * nss/getent.c (print_rpc, print_protocols): Likewise.
47841 (print_passwd, print_group, print_aliases): Likewise.
47842 * nis/nss-nisplus.h (niserr2nss): Likewise.
47843 * nscd/connections.c (restart_p): Likewise.
47844 Change return type to bool.
47845
47846 2013-02-05 Roland McGrath <roland@hack.frob.com>
47847
47848 * Makeconfig (all-Depend-files): Add existing
47849 $(sorted-subdirs:=/Depend) files.
47850 (all-subdirs): Remove nss.
47851 * sysdeps/unix/inet/Subdirs: Add it here instead.
47852 * hesiod/Depend: New file.
47853
47854 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
47855 instead of calling alloca.
47856
47857 * io/lseek.c (__lseek): Rename to __libc_lseek.
47858 Define __lseek as an alias.
47859
47860 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
47861
47862 2013-02-04 Carlos O'Donell <carlos@redhat.com>
47863
47864 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
47865 else clause and remove check for non-standard endianness.
47866
47867 2013-02-04 David S. Miller <davem@davemloft.net>
47868
47869 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47870
47871 2013-02-04 Joseph Myers <joseph@codesourcery.com>
47872
47873 [BZ #13550]
47874 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
47875 (__ubp_memchr): Remove prototype.
47876 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
47877 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47878 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
47879 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47880 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
47881 Remove alias.
47882 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
47883 (__ubp_memchr): Likewise.
47884 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
47885 (__ubp_memchr): Likewise.
47886 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
47887 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
47888 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
47889 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
47890 CHECK_STRING.
47891 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47892 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
47893 (__getcwd): Do not use CHECK_STRING.
47894 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47895 <bp-checks.h>.
47896 (__real_chown): Do not use CHECK_STRING.
47897 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
47898 <bp-checks.h>.
47899 (fchownat): Do not use CHECK_STRING.
47900 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
47901 CHECK_STRING.
47902 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47903 <bp-checks.h>.
47904 (__lchown): Do not use CHECK_STRING.
47905 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47906 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47907 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47908 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
47909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47910 include <bp-checks.h>.
47911 (truncate64): Do not use CHECK_STRING.
47912 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47913 <bp-checks.h>.
47914 (__real_chown): Do not use CHECK_STRING.
47915 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47916 <bp-checks.h>.
47917 (__lchown): Do not use CHECK_STRING.
47918 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47919 <bp-checks.h>.
47920 (__chown): Do not use CHECK_STRING.
47921 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
47922 <bp-checks.h>.
47923 (truncate64): Do not use CHECK_STRING.
47924 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
47925 Likewise.
47926 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
47927 (__xmknod): Do not use CHECK_STRING.
47928 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
47929 <bp-checks.h>.
47930 (__xmknodat): Do not use CHECK_STRING.
47931 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47932 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
47933
47934 2013-02-04 Andreas Schwab <schwab@suse.de>
47935
47936 [BZ #14142]
47937 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
47938 * include/netdb.h: Likewise for h_errno.
47939 * elf/tst-stackguard1.c: Include <tls.h>.
47940
47941 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
47942
47943 * elf/link.h (struct link_map): Extend the l_addr comment.
47944 * include/link.h (struct link_map): Likewise.
47945
47946 2013-02-01 Joseph Myers <joseph@codesourcery.com>
47947
47948 [BZ #13550]
47949 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
47950 (BOUNDED_1): Remove macro.
47951 * debug/backtrace.c: Don't include <bp-checks.h>.
47952 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
47953 (__backtrace): Likewise.
47954 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
47955 <bp-checks.h>.
47956 (__backtrace): Don't use BOUNDED_1.
47957 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
47958 <bp-checks.h>.
47959 (__backtrace): Don't use BOUNDED_1.
47960 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
47961 (__backtrace): Don't use BOUNDED_1.
47962 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
47963 (shmat): Don't use BOUNDED_N.
47964
47965 2013-01-31 Joseph Myers <joseph@codesourcery.com>
47966
47967 [BZ #13550]
47968 * sysdeps/generic/bp-start.h: Remove file.
47969 * csu/libc-start.c: Don't include <bp-start.h>.
47970 (LIBC_START_MAIN): Set up __environ directly instead of using
47971 INIT_ARGV_and_ENVIRON.
47972 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
47973 <bp-start.h>.
47974
47975 [BZ #13550]
47976 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
47977 definitions.
47978 (CHECK_FCNTL): Likewise.
47979 (CHECK_N_PAGES): Likewise.
47980
47981 [BZ #13550]
47982 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
47983 definitions.
47984 (CHECK_SIGSET_NULL_OK): Likewise.
47985 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
47986 <bp-checks.h>.
47987 (sigpending): Don't use CHECK_SIGSET.
47988 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
47989 <bp-checks.h>.
47990 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47991 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
47992 <bp-checks.h>.
47993 (do_sigsuspend): Don't use CHECK_SIGSET.
47994 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
47995 use CHECK_SIGSET.
47996 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
47997 (do_sigwait): Don't use CHECK_SIGSET.
47998 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
47999 use CHECK_SIGSET.
48000 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
48001 include <bp-checks.h>.
48002 (sigpending): Don't use CHECK_SIGSET.
48003 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
48004 include <bp-checks.h>.
48005 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48006 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
48007 <bp-checks.h>.
48008 (sigpending): Don't use CHECK_SIGSET.
48009 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
48010 <bp-checks.h>.
48011 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48012
48013 [BZ #13550]
48014 * sysdeps/generic/bp-semctl.h: Remove file.
48015 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
48016 <bp-checks.h> and <bp-semctl.h>.
48017 (__old_semctl): Don't use CHECK_SEMCTL.
48018 (__new_semctl): Likewise.
48019 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
48020 and <bp-semctl.h>.
48021 (__old_semctl): Don't use CHECK_SEMCTL.
48022 (__new_semctl): Likewise.
48023 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
48024 <bp-checks.h> and <bp-semctl.h>.
48025 (__old_semctl): Don't use CHECK_SEMCTL.
48026 (__new_semctl): Likewise.
48027 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
48028 <bp-checks.h> and <bp-semctl.h>.
48029 (semctl): Don't use CHECK_SEMCTL.
48030
48031 [BZ #13550]
48032 * Makerules (elide-bp-thunks): Remove variable.
48033 (elide-routines.oS): Don't use $(elide-bp-thunks).
48034 (elide-routines.os): Likewise.
48035 (elide-routines.o): Likewise.
48036 (elide-routines.op): Likewise.
48037 (elide-routines.og): Likewise.
48038 (objects): Don't use $(bp-thunks).
48039 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
48040 include.
48041 (common-generated): Do not add s-proto-bp.d.
48042 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
48043 (int): Likewise.
48044 (typ): Likewise.
48045 Do not generate makefile rules for bounded-pointer thunks.
48046 * sysdeps/generic/bp-thunks.h: Remove file.
48047 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
48048 * sysdeps/unix/s-proto-bp.S: Likewise.
48049
48050 [BZ #15062]
48051 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
48052 parts of result separately when argument is not close to line from
48053 -i to i and one part of argument is small.
48054 * math/k_casinhf.c (__kernel_casinhf): Likewise.
48055 * math/k_casinhl.c (__kernel_casinhl): Likewise.
48056 * math/libm-test.inc (cacos_test): Add more tests.
48057 (casin_test): Likewise.
48058 (casinh_test): Likewise.
48059 * sysdeps/i386/fpu/libm-test-ulps: Update.
48060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48061
48062 2013-01-31 David S. Miller <davem@davemloft.net>
48063
48064 * po/de.po: Update from translation team.
48065
48066 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
48067
48068 * time/tzfile.c: Include stdint.h for SIZE_MAX.
48069
48070 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
48071
48072 * configure.in (_AC_PROG_CC_C89): New definition.
48073 * configure: Regenerate.
48074
48075 * configure.in (AC_PROG_CPP): New definition.
48076 * configure: Regenerate.
48077
48078 2013-01-23 Joseph Myers <joseph@codesourcery.com>
48079
48080 * debug/tst-backtrace.h: New file.
48081 * debug/tst-backtrace2.c: Include tst-backtrace.h.
48082 (ret): Remove variable.
48083 (x): Likewise.
48084 (FAIL): Remove macro.
48085 (NO_INLINE): Likewise.
48086 (fn1): Use match function instead of strstr.
48087 * debug/tst-backtrace3.c: Include tst-backtrace.h.
48088 (ret): Remove variable.
48089 (x): Likewise.
48090 (FAIL): Remove macro.
48091 (NO_INLINE): Likewise.
48092 (fn): Use match function instead of strstr.
48093 * debug/tst-backtrace4.c: Include tst-backtrace.h.
48094 (ret): Remove variable.
48095 (x): Likewise.
48096 (FAIL): Remove macro.
48097 (NO_INLINE): Likewise.
48098 (handle_signal): Use match function instead of strstr.
48099 * debug/tst-backtrace5.c: Include tst-backtrace.h.
48100 (ret): Remove variable.
48101 (x): Likewise.
48102 (FAIL): Remove macro.
48103 (NO_INLINE): Likewise.
48104 (handle_signal): Use match function instead of strstr.
48105
48106 2013-01-23 Roland McGrath <roland@hack.frob.com>
48107
48108 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
48109
48110 2013-01-23 David S. Miller <davem@davemloft.net>
48111
48112 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
48113 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
48114 argument of CAS if possible.
48115 * sysdeps/sparc/sparc64/bits/atomic.h
48116 (__arch_compare_and_exchange_val_32_acq): Likewise.
48117 (__arch_compare_and_exchange_val_64_acq): Likewise.
48118
48119 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
48120
48121 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
48122 * sysdeps/posix/ulimit.c: ... this.
48123 Include <limits.h>.
48124 * sysdeps/unix/bsd/ulimit.c: Remove file.
48125
48126 2013-01-23 Adam Conrad <adconrad@0c3.net>
48127
48128 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
48129 (LDFLAGS-tst-array5): Likewise.
48130
48131 2013-01-23 Joseph Myers <joseph@codesourcery.com>
48132
48133 [BZ #15036]
48134 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
48135 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
48136 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
48137 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
48138
48139 2013-01-21 David S. Miller <davem@davemloft.net>
48140
48141 * sysdeps/sparc/backtrace.c: New file.
48142 * sysdeps/sparc/sparc32/backtrace.h: New file.
48143 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
48144 * sysdeps/sparc/sparc64/backtrace.h: New file.
48145 * sysdeps/sparc/sparc64/backtrace.c: Delete.
48146 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
48147 -funwind-tables.
48148
48149 2013-01-21 Andreas Schwab <schwab@suse.de>
48150
48151 [BZ #15020]
48152 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
48153 closed its stdout.
48154
48155 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
48156
48157 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
48158 "mpa2.h".
48159 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48160
48161 2013-01-18 Joseph Myers <joseph@codesourcery.com>
48162 Mark Mitchell <mark@codesourcery.com>
48163 Tom de Vries <tom@codesourcery.com>
48164 Paul Pluzhnikov <ppluzhnikov@google.com>
48165
48166 * debug/tst-backtrace2.c: New file.
48167 * debug/tst-backtrace3.c: Likewise.
48168 * debug/tst-backtrace4.c: Likewise.
48169 * debug/tst-backtrace5.c: Likewise.
48170 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
48171 (CFLAGS-tst-backtrace3.c): Likewise.
48172 (CFLAGS-tst-backtrace4.c): Likewise.
48173 (CFLAGS-tst-backtrace5.c): Likewise.
48174 (LDFLAGS-tst-backtrace2): Likewise.
48175 (LDFLAGS-tst-backtrace3): Likewise.
48176 (LDFLAGS-tst-backtrace4): Likewise.
48177 (LDFLAGS-tst-backtrace5): Likewise.
48178 (tests): Add new tests tst-backtrace2, tst-backtrace3,
48179 tst-backtrace4 and tst-backtrace5.
48180
48181 2013-01-18 Anton Blanchard <anton@samba.org>
48182 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
48183
48184 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
48185 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
48186 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
48187 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
48188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48189 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
48190 "+r" and remove output regs list as redundant. Add explicit inline
48191 asm to specify register of return val to work around compiler codegen
48192 bug. Remove (int) cast on return value. Add return type parameter to
48193 use in macro so that this macro does not truncate return value for
48194 64-bit values.
48195 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
48196 pass to INTERNAL_VSYSCALL_NCS.
48197 (INLINE_VSYSCALL): Add 'long int' as return type to
48198 INTERNAL_VSYSCALL_NCS macro invocation.
48199 (INTERNAL_VSYSCALL): Add 'long int' as return type to
48200 INTERNAL_VSYSCALL_NCS macro invocation.
48201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48202
48203 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
48204
48205 [BZ #14496]
48206 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
48207 Fix application of SIMD FP exception mask.
48208
48209 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
48210 mp_no from a power of two.
48211 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
48212 __mpexp_twomm1. Use __pow_mp.
48213
48214 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
48215 multiplication.
48216
48217 2013-01-17 David S. Miller <davem@davemloft.net>
48218
48219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48220
48221 2013-01-17 Joseph Myers <joseph@codesourcery.com>
48222
48223 [BZ #15023]
48224 * include/complex.h: Condition contents on [!_COMPLEX_H].
48225 (__kernel_casinhf): New prototype.
48226 (__kernel_casinh): Likewise.
48227 (__kernel_casinhl): Likewise.
48228 * math/Makefile (libm_calls): Add k_casinh.
48229 * math/k_casinh.c: New file.
48230 * math/k_casinhf.c: Likewise.
48231 * math/k_casinhl.c: Likewise.
48232 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
48233 finite nonzero arguments.
48234 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
48235 finite nonzero arguments.
48236 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
48237 finite nonzero arguments.
48238 * math/s_casinh.c: Do not include <float.h>.
48239 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
48240 * math/s_casinhf.c: Do not include <float.h>.
48241 (__casinhf): Move code for finite nonzero arguments to
48242 k_casinhf.c.
48243 * math/s_casinhl.c: Do not include <float.h>.
48244 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
48245 redefine.
48246 (__casinhl): Move code for finite nonzero arguments to
48247 k_casinhl.c.
48248 * math/libm-test.inc (cacos_test): Add more tests.
48249 * sysdeps/i386/fpu/libm-test-ulps: Update.
48250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48251
48252 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
48253
48254 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
48255 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
48256 [!HAVE_MREMAP]: Remove [defined linux] case.
48257 * malloc/arena.c: Do not include <malloc-sysdep.h>.
48258
48259 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
48260
48261 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
48262
48263 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
48264
48265 * elf/elf.h (R_386_SIZE32): New relocation.
48266 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
48267 R_386_SIZE32.
48268 (elf_machine_rela): Likewise.
48269 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48270 R_X86_64_SIZE64 and R_X86_64_SIZE32.
48271
48272 2013-01-17 Joseph Myers <joseph@codesourcery.com>
48273
48274 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
48275 (FP_FAST_FMA): Do not define.
48276 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
48277 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
48278 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
48279 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
48280 !_SOFT_FLOAT]: Likewise.
48281 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
48282 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
48283 value.
48284 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
48285 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
48286 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
48287 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
48288 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
48289 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
48290 file.
48291
48292 2013-01-16 Andreas Schwab <schwab@suse.de>
48293
48294 [BZ #14327]
48295 * include/stdlib.h (__mktemp): Add declaration.
48296 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
48297 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
48298
48299 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
48300
48301 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
48302 definitions.
48303 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48304 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
48305 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
48306 definitions here.
48307 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
48308 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
48309 definitions.
48310 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
48311 and ONE.
48312 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
48313 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
48314 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
48315 definitions.
48316 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
48317 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
48318 definitions.
48319 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48320
48321 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
48322
48323 2013-01-15 David S. Miller <davem@davemloft.net>
48324
48325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48326 trunc{,f} to libm-sysdep_routes.
48327 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
48329 file.
48330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
48331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
48332 file.
48333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
48334 file.
48335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
48336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
48337 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
48338 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
48339 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
48340 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
48341 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
48342 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
48343
48344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48345 nearbyint{,f} to libm-sysdep_routes.
48346 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
48348 New file.
48349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
48350 file.
48351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
48352 New file.
48353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
48354 file.
48355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
48356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
48357 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
48358 file.
48359 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
48360 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
48361 file.
48362 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
48363 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
48364 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
48365
48366 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
48367 libc_feholdexcept and libc_fesetenv.
48368
48369 2013-01-15 Mike Frysinger <vapier@gentoo.org>
48370
48371 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
48372
48373 2013-01-14 David S. Miller <davem@davemloft.net>
48374
48375 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
48376 (SPARC_ASM_VIS2_IFUNC): Likewise.
48377 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
48378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
48379 use of 'siam' instruction.
48380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
48381 Likewise.
48382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
48383 Likewise.
48384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
48385 Likewise.
48386 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
48387 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
48388 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
48389 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
48390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
48391 file.
48392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
48393 file.
48394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
48395 file.
48396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
48397 file.
48398 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
48399 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
48400 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
48401 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
48402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
48403 new VIS2 routines.
48404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
48405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48407 Likewise.
48408 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48409 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48410 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48411 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
48413 routines to libm-sysdep_routines.
48414 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48415
48416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48417 fdim/fdimf to libm-sysdep_routines.
48418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
48419 file.
48420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
48421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
48422 file.
48423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
48424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
48425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
48426 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
48427 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
48428 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
48429 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
48430
48431 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
48432
48433 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
48434 to optimize copies.
48435
48436 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
48437 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48438 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48439
48440 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
48441 local variable MPTWO.
48442 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
48443 Likewise.
48444
48445 2013-01-13 Mike Frysinger <vapier@gentoo.org>
48446
48447 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
48448 GLOB_NOESCAPE.
48449
48450 2013-01-13 Mike Frysinger <vapier@gentoo.org>
48451
48452 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
48453
48454 2013-01-13 Mike Frysinger <vapier@gentoo.org>
48455
48456 * manual/pattern.texi (glob_t): Document gl_flags.
48457 (glob64_t): Likewise.
48458
48459 2013-01-11 David S. Miller <davem@davemloft.net>
48460
48461 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
48462 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
48463 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
48464 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
48465 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
48466 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
48467 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
48468 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
48469 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
48470 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
48471 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
48472 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
48473 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
48474
48475 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48476 sparc V9 rather than using V8 code.
48477 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48478 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48479
48480 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48481 Move to...
48482 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
48483 Here.
48484
48485 2013-01-11 Roland McGrath <roland@hack.frob.com>
48486
48487 [BZ #14941]
48488 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
48489 not in the main loop.
48490 * configure: Regenerated.
48491
48492 2013-01-11 Joseph Myers <joseph@codesourcery.com>
48493
48494 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
48495 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
48496 to just #else.
48497 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
48498 [!__GLIBC_HAVE_LONG_LONG] case.
48499 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
48500 condition to just #else.
48501 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
48502 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
48503 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
48504 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
48505 unconditional.
48506 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
48507 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
48508 #elif condition to just #else.
48509 * sysdeps/unix/sysv/linux/sys/sysmacros.h
48510 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
48511 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
48512 #elif condition to just #else.
48513
48514 2013-01-11 Steve Ellcey <sellcey@mips.com>
48515
48516 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
48517 (EF_MIPS_ARCH_64): Fix value.
48518 (EF_MIPS_ARCH_32R2): New.
48519 (EF_MIPS_ARCH_64R2): New.
48520
48521 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
48522
48523 * Makeconfig (+link-pie-before-libc): New.
48524 (+link-pie-after-libc): Likewise.
48525 (+link-pie-tests): Likewise.
48526 (+link-pie): Rewritten.
48527 (link-before-libc): Remove $(config-LDFLAGS).
48528 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
48529 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
48530 (config-LDFLAGS): Renamed to ...
48531 (rtld-LDFLAGS): This.
48532 (rtld-tests-LDFLAGS): New macro.
48533 (link-libc-rpath-link): Likewise.
48534 (link-libc-tests-rpath-link): Likewise.
48535 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
48536 (link-libc): Prepand $(link-libc-rpath-link).
48537 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
48538 (test-program-prefix): New macro.
48539 (test-via-rtld-prefix): Likewise.
48540 (test-program-cmd): Likewise.
48541 (host-test-program-cmd): Likewise.
48542 * Makefile ($(common-objpfx)testrun.sh): Replace
48543 $(run-program-prefix) with $(test-program-prefix).
48544 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
48545 $(rtld-LDFLAGS).
48546 ($(common-objpfx)shlib.lds): Likewise.
48547 (build-module-helper): Likewise.
48548 ($(common-objpfx)format.lds): Likewise.
48549 * Rules (binaries-pie-tests): New.
48550 (binaries-pie-notests): Likewise.
48551 (binaries-pie): Rewritten.
48552 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
48553 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
48554 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
48555 (make-test-out): Replace $(host-built-program-cmd) with
48556 $(host-test-program-cmd).
48557 * config.make.in (build-hardcoded-path-in-tests): New variable.
48558 * configure.in (--enable-hardcoded-path-in-tests): New configure
48559 option.
48560 (hardcoded_path_in_tests): New AC_SUBST.
48561 * configure: Regenerated.
48562 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
48563 $(built-program-cmd) with $(test-program-cmd).
48564 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
48565 (test_program_cmd): This.
48566 * elf/Makefile ($(objpfx)order.out): Run test with
48567 $(test-program-prefix).
48568 ($(objpfx)order2.out): Likewise.
48569 ($(objpfx)tst-initorder.out): Likewise.
48570 ($(objpfx)tst-initorder2.out): Likewise.
48571 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
48572 $(test-program-cmd).
48573 ($(objpfx)tst-array1-static.out): Likewise.
48574 ($(objpfx)tst-array2.out): Likewise.
48575 ($(objpfx)tst-array3.out): Likewise.
48576 ($(objpfx)tst-array4.out): Likewise.
48577 ($(objpfx)tst-array5.out): Likewise.
48578 ($(objpfx)tst-array5-static.out): Likewise.
48579 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
48580 $(test-program-cmd).
48581 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
48582 $(run-program-prefix) with $(test-program-prefix).
48583 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
48584 (test_program_prefix): This.
48585 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
48586 $(run-program-prefix) with $(test-program-prefix).
48587 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
48588 (test_program_prefix): This.
48589 * iconvdata/tst-tables.sh: Likewise.
48590 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
48591 $(run-program-prefix) with $(test-program-prefix).
48592 ($(objpfx)tst-translit.out): Likewise.
48593 ($(objpfx)tst-gettext2.out): Likewise.
48594 ($(objpfx)tst-gettext4.out): Likewise.
48595 ($(objpfx)tst-gettext6.out): Likewise.
48596 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
48597 (test_program_prefix): This.
48598 * intl/tst-gettext2.sh: Likewise.
48599 * intl/tst-gettext4.sh Likewise.
48600 * intl/tst-gettext6.sh: Likewise.
48601 * intl/tst-translit.sh: Likewise.
48602 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
48603 with $(test-program-cmd).
48604 * libio/Makefile ($(objpfx)test-freopen.out): Replace
48605 $(run-program-prefix) with $(test-program-prefix).
48606 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
48607 (test_program_prefix): This.
48608 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
48609 $(run-program-prefix) with $(test-program-prefix).
48610 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
48611 (test_program_prefix): This.
48612 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
48613 * posix/Makefile ($(objpfx)globtest.out): Replace
48614 $(run-via-rtld-prefix) and $(test-wrapper) with
48615 $(test-program-prefix) and $(test-via-rtld-prefix).
48616 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
48617 $(test-program-prefix).
48618 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
48619 $(host-test-program-cmd).
48620 (tst-spawn-ARGS): Likewise.
48621 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
48622 $(test-program-prefix).
48623 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
48624 (test_via_rtld_prefix): This.
48625 (test_wrapper): Renamed to ...
48626 (test_program_prefix): This.
48627 (run_program_prefix): Replaced by test_program_prefix.
48628 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
48629 (test_program_prefix): This.
48630 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
48631 with $(host-test-program-cmd).
48632 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
48633 $(run-program-prefix) with $(test-program-prefix).
48634 ($(objpfx)tst-printf.out): Likewise.
48635 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
48636 $(test-program-cmd).
48637 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
48638 (test_program_prefix): This.
48639 * stdio-common/tst-unbputc.sh: Likewise.
48640 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
48641 $(run-program-prefix) with $(test-program-prefix).
48642 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
48643 (test_program_prefix): This.
48644 * string/Makefile ($(objpfx)tst-svc.out): Replace
48645 $(built-program-cmd) with $(test-program-cmd).
48646
48647 2013-01-11 Andreas Jaeger <aj@suse.de>
48648
48649 [BZ #15003]
48650 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
48651 value. Sync with Linux 3.7.
48652
48653 2013-01-10 David S. Miller <davem@davemloft.net>
48654
48655 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
48656 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48657 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48658
48659 2013-01-10 Roland McGrath <roland@hack.frob.com>
48660
48661 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
48662 never set.
48663 * configure: Regenerated.
48664
48665 2013-01-10 David S. Miller <davem@davemloft.net>
48666
48667 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48668 sparc V9 rather than using V8 code.
48669 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48670 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48671
48672 2013-01-10 Roland McGrath <roland@hack.frob.com>
48673
48674 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
48675 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
48676 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
48677 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
48678 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
48679 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
48680 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
48681 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
48682 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
48683 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
48684 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
48685 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
48686 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
48687 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
48688 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
48689 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
48690 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
48691 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
48692 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
48693 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
48694 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
48695 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
48696 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
48697 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
48698 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
48699 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
48700 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
48701
48702 2013-01-10 David S. Miller <davem@davemloft.net>
48703
48704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48705
48706 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
48707
48708 * posix/Makefile (tests-static): New variable.
48709 (tests): Add $(tests-static).
48710 (tst-exec-static-ARGS): New variable.
48711 (tst-spawn-static-ARGS): Likewise.
48712 * posix/tst-exec-static.c: New file.
48713 * posix/tst-spawn-static.c: Likewise.
48714 * posix/tst-exec.c: Support run directly.
48715 * posix/tst-spawn.c: Likewise.
48716
48717 2013-01-10 Joseph Myers <joseph@codesourcery.com>
48718
48719 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
48720 long.
48721 * math/bits/mathcalls.h (llrint): Likewise.
48722 (llround): Likewise.
48723 * stdlib/stdlib.h (struct drand48_data): Likewise.
48724 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
48725 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
48726 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
48727 Likewise.
48728 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
48729 Likewise.
48730 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
48731 (elf_greg_t): Likewise.
48732 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
48733 (__jmp_buf): Likewise.
48734 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
48735 definitions.
48736 (llrint): Likewise, for all definitions.
48737 (llrintl): Likewise.
48738
48739 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
48740 Remove [__GNUC__] condition.
48741 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
48742 condition to just [__USE_ISOC99].
48743 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
48744
48745 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
48746
48747 [BZ #14200]
48748 * sysdeps/unix/sysv/linux/x86/bits/environments.h
48749 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
48750 defined.
48751 (_POSIX_V6_ILP32_OFF32): Likewise.
48752 (_XBS5_ILP32_OFF32): Likewise.
48753 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
48754 (__ILP32_OFFBIG_LDFLAGS): Likewise.
48755
48756 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
48757
48758 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
48759
48760 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
48761 doubles __mpexp_twomm1. Adjust usage.
48762 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
48763 Remove.
48764
48765 2013-01-10 Andreas Schwab <schwab@suse.de>
48766
48767 [BZ #14964]
48768 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
48769 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
48770
48771 2013-01-09 David S. Miller <davem@davemloft.net>
48772
48773 [BZ #15003]
48774 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
48775 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
48776 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
48777 (TCP_FASTOPEN): Define.
48778 (tcp_repair_opt): New structure.
48779 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
48780 enum values.
48781 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
48782 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
48783 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
48784 (tcp_cookie_transactions): New structure.
48785
48786 2013-01-09 Anton Blanchard <anton@samba.org>
48787
48788 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
48789 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
48790 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
48791 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
48792
48793 2013-01-09 Joseph Myers <joseph@codesourcery.com>
48794
48795 * include/features.h (__USE_ANSI): Remove.
48796
48797 2013-01-09 Roland McGrath <roland@hack.frob.com>
48798
48799 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
48800
48801 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
48802
48803 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
48804
48805 * sysdeps/s390/fpu/libm-test-ulps: Update.
48806
48807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48808
48809 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
48810 (__acr): Likewise.
48811 (__cpy): Likewise.
48812 (norm): Likewise.
48813 (denorm): Likewise.
48814 (__mp_dbl): Likewise.
48815 (__dbl_mp): Likewise.
48816 (add_magnitudes): Likewise.
48817 (sub_magnitudes): Likewise.
48818 (__add): Likewise.
48819 (__sub): Likewise.
48820 (__mul): Likewise.
48821 (__inv): Likewise.
48822 (__dvd): Likewise.
48823 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
48824 (__acr): Likewise.
48825 (__cpy): Likewise.
48826 (norm): Likewise.
48827 (denorm): Likewise.
48828 (__mp_dbl): Likewise.
48829 (__dbl_mp): Likewise.
48830 (add_magnitudes): Likewise.
48831 (sub_magnitudes): Likewise.
48832 (__add): Likewise.
48833 (__sub): Likewise.
48834 (__mul): Likewise.
48835 (__inv): Likewise.
48836 (__dvd): Likewise.
48837 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
48838 (__acr): Likewise.
48839 (__cpy): Likewise.
48840 (norm): Likewise.
48841 (denorm): Likewise.
48842 (__mp_dbl): Likewise.
48843 (__dbl_mp): Likewise.
48844 (add_magnitudes): Likewise.
48845 (sub_magnitudes): Likewise.
48846 (__add): Likewise.
48847 (__sub): Likewise.
48848 (__mul): Likewise.
48849 (__inv): Likewise.
48850 (__dvd): Likewise.
48851
48852 2013-01-08 Joseph Myers <joseph@codesourcery.com>
48853
48854 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
48855 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
48856 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
48857 2 && __USE_EXTERN_INLINES]: Likewise.
48858
48859 2013-01-08 Andreas Jaeger <aj@suse.de>
48860
48861 [BZ# 14985]
48862 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
48863 Remove.
48864 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48865 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48866
48867 2013-01-07 Anton Blanchard <anton@samba.org>
48868
48869 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
48870 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48871 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
48872 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48873 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48874 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48875 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
48876 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48877 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48878 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48879 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48880 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48881 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48882 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48883 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
48884 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48885 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48886 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48887 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
48888 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48889 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
48890 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
48891 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48892 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
48893 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
48894 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48895 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48896 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48897 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
48898 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48899 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
48900 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48901 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48902 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48903 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48904 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48905 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48906 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
48907 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
48908 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48909 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
48910 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48911 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48912
48913 2013-01-07 Joseph Myers <joseph@codesourcery.com>
48914
48915 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
48916 (__MALLOC_PMT): Likewise.
48917 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
48918 [__GNUC__], only on [_LIBC].
48919 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48920 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
48921 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48922 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
48923 forward declaration.
48924 (realloc_hook_ini): Likewise.
48925 (memalign_hook_ini): Likewise.
48926 (__libc_memalign): Do not use __MALLOC_PMT in variable
48927 declaration.
48928 (__libc_valloc): Likewise.
48929 (__libc_pvalloc): Likewise.
48930 (__libc_calloc): Likewise.
48931 (__posix_memalign): Likewise.
48932
48933 [BZ #14996]
48934 * math/s_casinh.c: Include <float.h>.
48935 (__casinh): Do not do computation with squaring and square root
48936 for large arguments.
48937 * math/s_casinhf.c: Include <float.h>.
48938 (__casinhf): Do not do computation with squaring and square root
48939 for large arguments.
48940 * math/s_casinhl.c: Include <float.h>.
48941 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
48942 (__casinhl): Do not do computation with squaring and square root
48943 for large arguments.
48944 * math/libm-test.inc (casin_test): Add more tests.
48945 (casinh_test): Likewise.
48946 * sysdeps/i386/fpu/libm-test-ulps: Update.
48947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48948
48949 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
48950
48951 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
48952 (__x86_64_raw_data_cache_size): Likewise.
48953 (__x86_64_data_cache_size_half): Likewise.
48954 (__x86_64_raw_data_cache_size_half): Likewise.
48955 (__x86_64_shared_cache_size): Likewise.
48956 (__x86_64_raw_shared_cache_size): Likewise.
48957 (__x86_64_shared_cache_size_half): Likewise.
48958 (__x86_64_raw_shared_cache_size_half): Likewise.
48959 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
48960 to ...
48961 (__x86_data_cache_size): This.
48962 (__x86_64_raw_data_cache_size): Renamed to ...
48963 (__x86_raw_data_cache_size): This.
48964 (__x86_64_data_cache_size_half): Renamed to ...
48965 (__x86_data_cache_size_half): This.
48966 (__x86_64_raw_data_cache_size_half): Renamed to ...
48967 (__x86_raw_data_cache_size_half): This.
48968 (__x86_64_shared_cache_size): Renamed to ...
48969 (__x86_shared_cache_size): This.
48970 (__x86_64_raw_shared_cache_size): Renamed to ...
48971 (__x86_raw_shared_cache_size): This.
48972 (__x86_64_shared_cache_size_half): Renamed to ...
48973 (__x86_shared_cache_size_half): This.
48974 (__x86_64_raw_shared_cache_size_half): Renamed to ...
48975 (__x86_raw_shared_cache_size_half): This.
48976 * sysdeps/x86_64/memcpy.S: Updated.
48977 * sysdeps/x86_64/memset.S: Likewise.
48978 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
48979 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48980 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48981
48982 2013-01-04 David S. Miller <davem@davemloft.net>
48983
48984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48985
48986 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
48987
48988 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
48989 1 to avoid redefinition warning.
48990 (__USE_GNU): Don't define.
48991 (init_signaling_nan): Protoize.
48992
48993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48994
48995 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
48996
48997 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
48998 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
48999 (__cpymn): Likewise.
49000 (norm): Remove commented code.
49001 (denorm): Likewise.
49002 (__mp_dbl): Likewise.
49003 (__inv): Likewise.
49004 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
49005 (__cpymn): Likewise.
49006 (norm): Remove commented code.
49007 (denorm): Likewise.
49008 (__mp_dbl): Likewise.
49009 (__inv): Likewise.
49010
49011 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
49012 mp_no value for 1.0 and 2.0.
49013 (norm): Use RADIXI instead of radixi.d.
49014 (denorm): Likewise.
49015 (__mul): Use 0.0 instead of zero.d.
49016 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
49017 mp_no value for 1.0 and 2.0.
49018 (norm): Use RADIXI instead of radixi.d.
49019 (denorm): Likewise.
49020 (__mul): Use 0.0 instead of zero.d.
49021
49022 2013-01-04 Joseph Myers <joseph@codesourcery.com>
49023
49024 [BZ #14994]
49025 * math/s_casinh.c (__casinh): Reduce finite argument to first
49026 quadrant then set signs of results at the end.
49027 * math/s_casinhf.c (__casinhf): Likewise.
49028 * math/s_casinhl.c (__casinhl): Likewise.
49029 * math/libm-test.inc (casin_test): Add more tests.
49030 (casinh_test): Likewise.
49031 * sysdeps/i386/fpu/libm-test-ulps: Update.
49032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49033
49034 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49035
49036 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
49037
49038 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
49039
49040 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
49041 declarations.
49042 (denorm): Likewise.
49043 (__mp_dbl): Likewise.
49044 (__inv): Likewise.
49045
49046 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
49047 and adjust the header comment.
49048
49049 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
49050 variable name from declaration.
49051
49052 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
49053
49054 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49055 Initialize COMMON_CPUID_INDEX_7 element.
49056 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
49057 (CPUID_RTM): Likewise.
49058 (HAS_RTM): Likewise.
49059 (COMMON_CPUID_INDEX_7): New enum.
49060
49061 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
49062
49063 [BZ #14981]
49064 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
49065 size is zero, record memory as freed.
49066
49067 2013-01-03 Andreas Jaeger <aj@suse.de>
49068
49069 * po/ia.po: Add new Interlingua translation.
49070
49071 2012-01-03 Allan McRae <allan@archlinux.org>
49072
49073 * locale/programs/localedef.c: Fix description of '--posix' flag.
49074
49075 2013-01-02 Joseph Myers <joseph@codesourcery.com>
49076
49077 * NEWS: Update dates in second copyright notice.
49078 * README: Update copyright dates in example.
49079 * manual/libc.texinfo: Update copyright dates.
49080 * scripts/test-installation.pl: Update copyright date in --version
49081 output.
49082
49083 * hurd/ctty-input.c: Fix copyright notice formatting.
49084 * hurd/ctty-output.c: Likewise.
49085 * hurd/dtable.c: Likewise.
49086 * hurd/hurd-raise.c: Likewise.
49087 * hurd/hurdprio.c: Likewise.
49088 * hurd/msgportdemux.c: Likewise.
49089 * misc/sys/file.h: Likewise.
49090 * misc/sys/ioctl.h: Likewise.
49091 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49092 * sysdeps/mach/hurd/chdir.c: Likewise.
49093 * sysdeps/mach/hurd/fchdir.c: Likewise.
49094 * sysdeps/mach/hurd/rename.c: Likewise.
49095 * sysdeps/mach/hurd/rmdir.c: Likewise.
49096 * sysdeps/mach/hurd/seekdir.c: Likewise.
49097 * sysdeps/mach/hurd/setsid.c: Likewise.
49098 * sysdeps/posix/wait3.c: Likewise.
49099
49100 * All files with FSF copyright notices: Update copyright dates
49101 using scripts/update-copyrights.
49102 * intl/plural.c: Regenerated.
49103 * locale/programs/charmap-kw.h: Likewise.
49104 * locale/programs/locfile-kw.h: Likewise.
49105
49106 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
49107
49108 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
49109 four values.
49110
49111 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
49112 calculation loop and add branch prediction.
49113
49114 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
49115 check access beyond bounds of m1np.
49116
49117 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49118 MPTWO.
49119 (__inv): Remove local variable MPTWO to use the global
49120 constant.
49121 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
49122 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49123 variable MPTWO.
49124 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
49125 MP3HALFS static const.
49126
49127 2013-01-01 David S. Miller <davem@davemloft.net>
49128
49129 * po/ca.po: Update from translation team.
49130
49131 2013-01-01 Joseph Myers <joseph@codesourcery.com>
49132
49133 * scripts/update-copyrights: New file.
49134 * Makeconfig: Reformat copyright notice.
49135 * ctype/ctype.h: Likewise.
49136 * debug/swprintf_chk.c: Likewise.
49137 * elf/dl-cache.c: Likewise.
49138 * elf/dl-debug.c: Likewise.
49139 * elf/dl-object.c: Likewise.
49140 * grp/initgroups.c: Likewise.
49141 * hurd/Makefile: Likewise.
49142 * hurd/hurd/signal.h: Likewise.
49143 * hurd/hurdfault.c: Likewise.
49144 * hurd/hurdioctl.c: Likewise.
49145 * hurd/hurdlookup.c: Likewise.
49146 * hurd/intr-msg.c: Likewise.
49147 * iconv/gconv_open.c: Likewise.
49148 * libio/swprintf.c: Likewise.
49149 * locale/lc-ctype.c: Likewise.
49150 * locale/nl_langinfo.c: Likewise.
49151 * mach/Machrules: Likewise.
49152 * mach/Makefile: Likewise.
49153 * malloc/obstack.h: Likewise.
49154 * manual/Makefile: Likewise.
49155 * manual/tsort.awk: Likewise.
49156 * misc/bits/stab.def: Likewise.
49157 * nis/nis_print_group_entry.c: Likewise.
49158 * nis/nis_table.c: Likewise.
49159 * nis/nss_compat/compat-pwd.c: Likewise.
49160 * nis/nss_compat/compat-spwd.c: Likewise.
49161 * po/Makefile: Likewise.
49162 * posix/fnmatch.c: Likewise.
49163 * posix/regex.h: Likewise.
49164 * resolv/Makefile: Likewise.
49165 * resolv/nss_dns/dns-network.c: Likewise.
49166 * resolv/res_hconf.c: Likewise.
49167 * scripts/gen-sorted.awk: Likewise.
49168 * soft-fp/soft-fp.h: Likewise.
49169 * stdio-common/printf.h: Likewise.
49170 * stdlib/monetary.h: Likewise.
49171 * stdlib/random.c: Likewise.
49172 * stdlib/random_r.c: Likewise.
49173 * sysdeps/generic/Makefile: Likewise.
49174 * sysdeps/gnu/Makefile: Likewise.
49175 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49176 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49177 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49178 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49179 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49180 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49181 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49182 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49183 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49184 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49185 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49186 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49187 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49188 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49189 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
49190 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49191 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49192 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49193 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49194 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49195 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49196 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49197 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49198 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49199 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
49200 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49201 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
49202 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
49203 * sysdeps/mach/hurd/errnos.awk: Likewise.
49204 * sysdeps/mach/hurd/fork.c: Likewise.
49205 * sysdeps/mach/hurd/getcwd.c: Likewise.
49206 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
49207 * sysdeps/mach/hurd/mmap.c: Likewise.
49208 * sysdeps/mach/hurd/utimes.c: Likewise.
49209 * sysdeps/mach/hurd/xmknod.c: Likewise.
49210 * sysdeps/posix/profil.c: Likewise.
49211 * sysdeps/posix/readdir_r.c: Likewise.
49212 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49213 * sysdeps/powerpc/bits/setjmp.h: Likewise.
49214 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
49215 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49216 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49217 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49218 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49219 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49220 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49221 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49222 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49223 * sysdeps/pthread/lio_listio.c: Likewise.
49224 * sysdeps/sparc/dl-procinfo.h: Likewise.
49225 * sysdeps/unix/i386/sysdep.S: Likewise.
49226 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
49227 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
49228 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
49229 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
49230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49231 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
49232 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
49233 * sysdeps/unix/sysv/linux/speed.c: Likewise.
49234 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
49235 * sysdeps/wordsize-32/divdi3.c: Likewise.
49236 * time/sys/time.h: Likewise.
49237 * wcsmbs/Makefile: Likewise.
49238
49239 2013-01-01 David S. Miller <davem@davemloft.net>
49240
49241 * po/fr.po: Update from translation team.
49242
49243 * catgets/gencat.c: Update copyright year.
49244 * csu/version.c: Likewise.
49245 * debug/catchsegv.sh: Likewise.
49246 * debug/pcprofiledump.c: Likewise.
49247 * debug/xtrace.sh: Likewise.
49248 * elf/ldconfig.c: Likewise.
49249 * elf/ldd.bash.in: Likewise.
49250 * elf/pldd.c: Likewise.
49251 * elf/sotruss.ksh: Likewise.
49252 * elf/sprof.c: Likewise.
49253 * iconv/iconv_prog.c: Likewise.
49254 * iconv/iconvconfig.c: Likewise.
49255 * locale/programs/locale.c: Likewise.
49256 * locale/programs/localedef.c: Likewise.
49257 * login/programs/pt_chown.c: Likewise.
49258 * malloc/memusage.sh: Likewise.
49259 * malloc/memusagestat.c: Likewise.
49260 * malloc/mtrace.pl: Likewise.
49261 * nscd/nscd.c: Likewise.
49262 * nss/getent.c: Likewise.
49263 * nss/makedb.c: Likewise.
49264 * posix/getconf.c: Likewise.
49265
49266 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
49267
49268 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
49269 numbers.
49270
49271 2012-12-30 Mike Frysinger <vapier@gentoo.org>
49272
49273 * math/bits/mathcalls.h (modf): Use __nonnull.
49274
49275 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
49276
49277 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
49278 (split): Use macro CN instead of the bare value.
49279 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
49280 could be used.
49281 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
49282 instead of the bare value.
49283 (power1): Likewise.
49284
49285 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49286
49287 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
49288 __ATAN_TWOM.
49289 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49290
49291 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
49292 their values.
49293 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
49294 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49295 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
49296 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49297
49298 2012-12-28 Andreas Jaeger <aj@suse.de>
49299
49300 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
49301 values are from Linux 3.7.
49302
49303 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
49304 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
49305
49306 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49307
49308 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
49309 TRUE case.
49310
49311 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
49312 (norm): Likewise.
49313 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
49314 variables with preprocessor constants.
49315 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49316 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49317 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49318
49319 2012-12-27 Bruno Haible <bruno@clisp.org>
49320
49321 [BZ #14317]
49322 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
49323 only if needed.
49324
49325 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
49326
49327 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
49328 and use variable directly.
49329 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
49330
49331 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49332 MPONE.
49333 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
49334 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49335 variable MPONE.
49336 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49337 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49338 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
49339 include directive. Remove local variable MPONE.
49340 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
49341 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
49342 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49343
49344 2012-12-25 David S. Miller <davem@davemloft.net>
49345
49346 * version.h (RELEASE): Set to "development".
49347 (VERSION): Set to "2.17.90".
49348 * NEWS: Add 2.18 section.
49349
49350 2012-12-21 David S. Miller <davem@davemloft.net>
49351
49352 * po/hr.po: Update from translation team.
49353
49354 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49355
49356 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
49357
49358 2012-12-19 Steve Ellcey <sellcey@mips.com>
49359
49360 * NEWS: Mention new memcpy for MIPS.
49361
49362 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
49363
49364 * manual/contrib.texi (Contributors): Spelling correction.
49365
49366 2012-12-15 David S. Miller <davem@davemloft.net>
49367
49368 * po/ru.po: Update from translation team.
49369
49370 2012-12-13 David S. Miller <davem@davemloft.net>
49371
49372 * NEWS: Mention IFUNC testsuite enhancements.
49373
49374 * po/pl.po: Update from translation team.
49375 * po/bg.po: Likewise.
49376
49377 * manual/contrib.texi (Contributors): Update entries for Hongjiu
49378 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
49379
49380 2012-12-11 David S. Miller <davem@davemloft.net>
49381
49382 * po/sv.po: Update from translation team.
49383
49384 * po/vi.po: Update from translation team.
49385
49386 * po/cs.po: Update from translation team.
49387
49388 * po/de.po: Update from translation team.
49389 * po/eo.po: Likewise.
49390 * po/nl.po: Likewise.
49391
49392 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
49393
49394 [BZ #14246]
49395 * manual/argp.texi (Argp Helper Functions): Move node to follow
49396 Argp Parsing State.
49397
49398 [BZ #14872]
49399 * manual/conf.texi (Limits on File System Capacity): Mention if
49400 terminating null is included in the max size.
49401
49402 2012-12-10 Andreas Jaeger <aj@suse.de>
49403
49404 * po/cs.po: Update from translation team.
49405
49406 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
49407
49408 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
49409 void pointer and cast to uintptr_t.
49410 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
49411 path.
49412 * sysdeps/s390/s390-64/memcpy.S: Likewise.
49413 * sysdeps/s390/s390-64/memset.S: Likewise.
49414
49415 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
49416
49417 [BZ #14833]
49418 * menual/message.texi (Message Translation): Fix typos.
49419 (Helper programs for gettext): Likewise.
49420
49421 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
49422
49423 [BZ #14898]
49424 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
49425 Change to -1.
49426
49427 2012-12-07 David S. Miller <davem@davemloft.net>
49428
49429 * po/libc.pot: Update.
49430
49431 2012-12-07 Richard Henderson <rth@redhat.com>
49432
49433 [BZ #10114]
49434 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
49435 normal/normal case to before the switch.
49436 (_FP_DIV): Likewise.
49437
49438 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
49439 Mike Frysinger <vapier@gentoo.org>
49440
49441 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
49442 check for __NR_fadvise64_64.
49443
49444 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
49445
49446 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
49447 0, not just to plain "0" as a statement.
49448 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
49449 with cw.
49450
49451 2012-12-06 Joseph Myers <joseph@codesourcery.com>
49452
49453 * NEWS: Use sourceware.org in Bugzilla URL.
49454
49455 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
49456
49457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
49458 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
49459
49460 * stdio-common/tst-put-error.c (do_test): Add newline to the
49461 padded test to ensure flush.
49462
49463 2012-12-05 Jeff Law <law@redhat.com>
49464
49465 * sunrpc/etc.rpc (fedfs_admin): Add entry.
49466
49467 2012-12-05 Joseph Myers <joseph@codesourcery.com>
49468
49469 * README: Don't refer to ports add-on as distributed separately.
49470 Mention AArch64 in list of systems supported in the ports add-on.
49471
49472 * LICENSES: Add more non-FSF copyright and license notices.
49473
49474 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
49475 ((unused)).
49476
49477 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
49478
49479 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
49480 10000 as width of padded output.
49481
49482 2012-12-04 Joseph Myers <joseph@codesourcery.com>
49483
49484 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
49485
49486 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
49487 variable LX with __attribute__ ((unused)).
49488 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
49489 Likewise.
49490 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
49491 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49492 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
49493 with __attribute__ ((unused)).
49494
49495 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
49496
49497 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
49498
49499 2012-12-04 Joseph Myers <joseph@codesourcery.com>
49500
49501 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
49502 (CFLAGS-nldbl-acos.c): New variable.
49503 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
49504 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
49505 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
49506 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
49507 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
49508 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
49509 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
49510 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
49511 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
49512 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
49513 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
49514 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
49515 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
49516 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
49517 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
49518 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
49519 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
49520 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
49521 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
49522 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
49523 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
49524 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
49525 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
49526 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
49527 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
49528 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
49529 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
49530 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
49531 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
49532 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
49533 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
49534 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
49535 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
49536 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
49537 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
49538 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
49539 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
49540 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
49541 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
49542 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
49543 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
49544 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
49545 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
49546 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
49547 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
49548 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
49549 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
49550 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
49551 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
49552 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
49553 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
49554 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
49555 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
49556 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
49557 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
49558 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
49559 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
49560 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
49561 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
49562 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
49563 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
49564 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
49565 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
49566 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
49567 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
49568 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
49569 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
49570 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
49571 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
49572 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
49573 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
49574 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
49575 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
49576 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
49577 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
49578 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
49579 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
49580 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
49581 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
49582 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
49583 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
49584 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
49585 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
49586 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
49587 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
49588 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
49589 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
49590 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
49591 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
49592 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
49593 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
49594 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
49595 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
49596 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
49597 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
49598 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
49599 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
49600
49601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
49602 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
49603
49604 [BZ #14914]
49605 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
49606 whole low double instead of just low 47 bits when splitting values
49607 into two parts.
49608
49609 2012-12-03 Allan McRae <allan@archlinux.org>
49610
49611 * manual/stdio.texi (Predefined Printf Handlers): Remove
49612 @hsep and @vsep usage.
49613
49614 2012-12-03 Mike Frysinger <vapier@gentoo.org>
49615
49616 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
49617 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
49618
49619 2012-12-03 Jeff Law <law@redhat.com>
49620
49621 * time/sys/time.h (settimeofday): Do not mark TV argument
49622 as __nonnull.
49623
49624 2012-12-01 Mike Frysinger <vapier@gentoo.org>
49625
49626 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
49627 when currently writing and seek to current position when not.
49628 * libio/Makefile (tests): Remove bug-fclose1.
49629 * libio/bug-fclose1.c: Delete.
49630
49631 2012-12-01 Joseph Myers <joseph@codesourcery.com>
49632
49633 * manual/arith.texi (feenableexcept): Fix typo.
49634 (fedisableexcept): Likewise.
49635
49636 2012-11-30 Roland McGrath <roland@hack.frob.com>
49637
49638 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
49639 second, differently-typed declaration, rather than a cast.
49640
49641 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
49642
49643 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
49644 * include/rpc/svc.h: ... here.
49645
49646 2012-11-30 Aurelien Jarno <aurel32@debian.org>
49647
49648 [BZ #13013]
49649 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
49650 depending n and resplen2 to catch cases where answer
49651 equals answerp2.
49652
49653 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
49654
49655 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
49656 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
49657
49658 2012-11-29 Mike Frysinger <vapier@gentoo.org>
49659
49660 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
49661
49662 2012-11-29 Roland McGrath <roland@hack.frob.com>
49663
49664 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
49665
49666 2012-11-28 Jeff Law <law@redhat.com>
49667
49668 [BZ #13761]
49669 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
49670 dataset_temporary. Track alloca usage into alloca_used.
49671 If dataset is large allocate and release it via malloc/free.
49672
49673 2012-06-04 Florian Weimer <fweimer@redhat.com>
49674
49675 [BZ #14197]
49676 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
49677
49678 2012-11-28 David S. Miller <davem@davemloft.net>
49679
49680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49681
49682 2012-11-28 Joseph Myers <joseph@codesourcery.com>
49683
49684 [BZ #14803]
49685 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
49686 of pi/2 rounded to nearest to 64 bits.
49687 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
49688 nearest to 64 bits.
49689 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
49690 bits.
49691
49692 2012-11-28 Jeff Law <law@redhat.com>
49693 Martin Osvald <mosvald@redhat.com>
49694
49695 [BZ #14889]
49696 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
49697 * sunrpc/svc.c: Include time.h.
49698 (__svc_accept_failed): New function.
49699 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
49700 any reason other than EINTR, call __svc_accept_failed.
49701 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
49702 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
49703
49704 2012-11-28 Andreas Schwab <schwab@suse.de>
49705
49706 * scripts/abilist.awk: Also handle indirect functions in .opd
49707 section.
49708
49709 2012-11-28 Joseph Myers <joseph@codesourcery.com>
49710
49711 [BZ #13881]
49712 * sysdeps/x86/fpu/powl_helper.c: New file.
49713 * sysdeps/x86/fpu/Makefile: Likewise.
49714 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
49715 (p3): New object.
49716 (__ieee754_powl): Use __powl_helper for finite arguments except
49717 integer exponents below 8.
49718 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
49719 (p3): New object.
49720 (__ieee754_powl): Use __powl_helper for finite arguments except
49721 integer exponents below 8.
49722 * math/libm-test.inc (pow_test): Add more tests and enable some
49723 previously disabled tests.
49724 * sysdeps/i386/fpu/libm-test-ulps: Update.
49725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49726
49727 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49728 Carlos O'Donell <carlos_odonell@mentor.com>
49729
49730 * nss/makedb.c (is_prime): Assert that input is odd and greater
49731 than 4. Note that fact in a comment too.
49732 (next_prime): Add 4 to input.
49733
49734 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
49735
49736 [BZ #11741]
49737 * libio/Makefile (tests): Add test case tst-fwrite-error.
49738 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
49739 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
49740 * libio/tst-fwrite-error.c: New test case.
49741
49742 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
49743
49744 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
49745 before casting to void *.
49746 * include/libc-internal.h (__pointer_type): New macro.
49747 (__integer_if_pointer_type_sub): Likewise.
49748 (__integer_if_pointer_type): Likewise.
49749 (cast_to_integer): Likewise.
49750 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
49751 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
49752 before casting to atomic64_t.
49753 (atomic_exchange_acq): Likewise.
49754 (__arch_exchange_and_add_body): Likewise.
49755 (__arch_add_body): Likewise.
49756 (atomic_add_negative): Likewise.
49757 (atomic_add_zero): Likewise.
49758
49759 2012-11-26 Joseph Myers <joseph@codesourcery.com>
49760
49761 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
49762 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
49763 (add_fdes): Likewise.
49764 (linear_search_fdes): Likewise.
49765 (binary_search_unencoded_fdes): Likewise.
49766
49767 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
49768
49769 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
49770
49771 2012-11-24 Adam Conrad <adconrad@0c3.net>
49772
49773 * configure.in: Autodetect C++ header directories.
49774 * configure: Regenerated.
49775
49776 2012-11-23 Mike Frysinger <vapier@gentoo.org>
49777
49778 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
49779
49780 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
49781
49782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49783
49784 2012-11-22 Joseph Myers <joseph@codesourcery.com>
49785
49786 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
49787 LDBL_MANT_DIG == 106]: Disable some tests.
49788 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49789 Likewise.
49790 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49791 Likewise.
49792
49793 [BZ #14871]
49794 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
49795 input for small inputs. Return +/- pi/2 for large inputs.
49796 * math/libm-test.inc (atan_test): Add more tests.
49797
49798 * sysdeps/generic/unwind-dw2-fde-glibc.c
49799 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
49800 __attribute__ ((unused)).
49801
49802 [BZ #14645]
49803 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
49804 x * y if x and y are nonzero and z is zero.
49805
49806 [BZ #14811]
49807 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
49808 nonzero exponents with absolute value below 0x1p-117 to +/-
49809 0x1p-117.
49810
49811 [BZ #14869]
49812 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
49813 up arguments below 2**-450, not just those below 2**-500.
49814 * math/libm-test.inc (hypot_test): Add another test.
49815
49816 [BZ #14868]
49817 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
49818 Return a+b for ratio over 2**120, not 2**60.
49819 * math/libm-test.inc (hypot_test): Add another test.
49820
49821 * math/libm-test.inc (clog_test): Use
49822 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
49823 (clog10_test): Likewise.
49824
49825 [BZ #6778]
49826 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
49827
49828 2012-11-22 Andreas Schwab <schwab@suse.de>
49829
49830 * sysdeps/i386/fpu/libm-test-ulps: Update.
49831
49832 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
49833
49834 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
49835 printf output with newline.
49836
49837 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
49838
49839 [BZ #14865]
49840 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
49841 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
49842 -z nodlopen, -z initfirst and -z execstack support.
49843 * configure: Regenerated.
49844
49845 * elf/elf.h (DF_1_NODIRECT): New macro.
49846 (DF_1_IGNMULDEF): Likewise.
49847 (DF_1_NOKSYMS): Likewise.
49848 (DF_1_NOHDR): Likewise.
49849 (DF_1_EDITED): Likewise.
49850 (DF_1_NORELOC): Likewise.
49851 (DF_1_SYMINTPOSE): Likewise.
49852 (DF_1_GLOBAUDIT): Likewise.
49853 (DF_1_SINGLETON): Likewise.
49854 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
49855 DT_1_SUPPORTED_MASK bits.
49856 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
49857
49858 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
49859
49860 * sysdeps/unix/make-syscalls.sh: Document prefixes.
49861
49862 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
49863
49864 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
49865 macro.
49866
49867 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
49868 (sendmmsg): Move declarations...
49869 * socket/sys/socket.h: ... here.
49870 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
49871 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
49872 include it from...
49873 * socket/recvmmsg.c: ... this new file.
49874 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
49875 (sendmmsg): Rename to __sendmmsg, create weak alias and make
49876 definition of __sendmmsg hidden.
49877 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
49878 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
49879 Move ENOSYS stub into and include it from...
49880 * socket/sendmmsg.c: ... this new file.
49881 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
49882 (sysdep_routines): Move recvmmsg and sendmmsg...
49883 * socket/Makefile (routines): ... here.
49884 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
49885 (GLIBC_PRIVATE): Add __sendmmsg.
49886 * include/sys/socket.h (__sendmmsg): Add declarations.
49887 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
49888 sendmmsg.
49889
49890 2012-11-20 Joseph Myers <joseph@codesourcery.com>
49891
49892 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
49893 variable I1 with __attribute__ ((unused)).
49894 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49895
49896 2012-11-19 Joseph Myers <joseph@codesourcery.com>
49897
49898 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
49899 DUMMY variables with __attribute__ ((unused)).
49900
49901 * bits/byteswap.h: Include <bits/types.h>.
49902 (__bswap_64): Use __uint64_t instead of unsigned long long int.
49903
49904 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
49905
49906 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
49907 string_t. Do not manually set errno.
49908 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
49909 length with __strnlen. Make sure to both set errno and return it on
49910 failure.
49911
49912 2012-11-19 David S. Miller <davem@davemloft.net>
49913
49914 With help from Joseph Myers.
49915 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
49916 very large arguments properly.
49917 * math/libm-test.inc (atan_test): New tests.
49918 (atan2_test): New tests.
49919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49920 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49921
49922 2012-11-19 Joseph Myers <joseph@codesourcery.com>
49923
49924 [BZ #14856]
49925 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
49926 Define to 3.
49927
49928 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
49929 [POSIX] (EADDRNOTAVAIL): Likewise.
49930 [POSIX] (EAFNOSUPPORT): Likewise.
49931 [POSIX] (EALREADY): Likewise.
49932 [POSIX] (ECONNABORTED): Likewise.
49933 [POSIX] (ECONNREFUSED): Likewise.
49934 [POSIX] (ECONNRESET): Likewise.
49935 [POSIX] (EDESTADDRREQ): Likewise.
49936 [POSIX] (EDQUOT): Likewise.
49937 [POSIX] (EHOSTUNREACH): Likewise.
49938 [POSIX] (EIDRM): Likewise.
49939 [POSIX] (EISCONN): Likewise.
49940 [POSIX] (ELOOP): Likewise.
49941 [POSIX] (EMULTIHOP): Likewise.
49942 [POSIX] (ENETDOWN): Likewise.
49943 [POSIX] (ENETUNREACH): Likewise.
49944 [POSIX] (ENOBUFS): Likewise.
49945 [POSIX] (ENODATA): Likewise.
49946 [POSIX] (ENOLINK): Likewise.
49947 [POSIX] (ENOMSG): Likewise.
49948 [POSIX] (ENOPROTOOPT): Likewise.
49949 [POSIX] (ENOSR): Likewise.
49950 [POSIX] (ENOSTR): Likewise.
49951 [POSIX] (ENOTCONN): Likewise.
49952 [POSIX] (ENOTSOCK): Likewise.
49953 [POSIX] (EOPNOTSUPP): Likewise.
49954 [POSIX] (EOVERFLOW): Likewise.
49955 [POSIX] (EPROTO): Likewise.
49956 [POSIX] (EPROTONOSUPPORT): Likewise.
49957 [POSIX] (EPROTOTYPE): Likewise.
49958 [POSIX] (ESTALE): Likewise.
49959 [POSIX] (ETIME): Likewise.
49960 [POSIX] (ETXTBSY): Likewise.
49961 [POSIX] (EWOULDBLOCK): Likewise.
49962 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
49963 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
49964 [POSIX] (SEEK_CUR): Likewise.
49965 [POSIX] (SEEK_END): Likewise.
49966 [POSIX || UNIX98] (mode_t): Do not require.
49967 [POSIX] (off_t): Likewise.
49968 [POSIX] (pid_t): Likewise.
49969 [POSIX] (sys/stat.h): Do not allow header.
49970 [POSIX] (unistd.h): Likewise.
49971 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
49972 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
49973 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
49974 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
49975 require.
49976 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
49977 sigevent): Specify elements.
49978 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
49979 entry.
49980 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
49981 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
49982
49983 * conform/data/cpio.h-data [POSIX]: Disable whole file.
49984 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
49985 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
49986 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
49987 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
49988 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
49989 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
49990 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
49991 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
49992 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
49993 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
49994 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
49995 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
49996 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
49997 Likewise.
49998 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
49999 Likewise.
50000 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
50001 Likewise.
50002 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
50003 Likewise.
50004 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
50005 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
50006 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
50007 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
50008 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
50009 Specify lower bound on value.
50010 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
50011 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
50012 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
50013 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
50014 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
50015 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
50016 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
50017 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
50018 value.
50019 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
50020 as optional.
50021 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
50022 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
50023 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
50024 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
50025 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
50026 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
50027 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
50028 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
50029 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
50030 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
50031 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
50032 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
50033 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
50034 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
50035 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
50036 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
50037 entry.
50038 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
50039 optional.
50040 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
50041 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
50042 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
50043 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
50044 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
50045 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
50046 Likewise.
50047 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
50048 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
50049 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
50050 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
50051 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
50052 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
50053 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
50054 as optional.
50055 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
50056 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
50057 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
50058 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
50059 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
50060 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
50061 specify as optional.
50062 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
50063 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
50064 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
50065 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
50066 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
50067 [XPG3] (NL_LANGMAX): Likewise.
50068 [POSIX || XPG3] (NL_MSGMAX): Likewise.
50069 [POSIX || XPG3] (NL_NMAX): Likewise.
50070 [POSIX || XPG3] (NL_SETMAX): Likewise.
50071 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
50072 [XPG3] (NZERO): Likewise.
50073 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
50074 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
50075 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
50076 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
50077 (REG_ERANGE): Expect.
50078 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
50079 optional-constant.
50080 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
50081 Use (void) in prototype.
50082 [POSIX] (*_t): Allow.
50083 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
50084 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
50085 (WRDE_BADVAL): Expect.
50086
50087 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
50088 expect.
50089 [XPG3 || XPG4] (O_RSYNC): Likewise.
50090 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
50091 Likewise.
50092 [XPG3 || XPG4] (pthread_sigmask): Likewise.
50093 [XPG3 || XPG4] (sigqueue): Likewise.
50094 [XPG3 || XPG4] (sigtimedwait): Likewise.
50095 [XPG3 || XPG4] (sigwaitinfo): Likewise.
50096 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
50097 [XPG3 || XPG4] (vsnprintf): Likewise.
50098 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
50099 Likewise.
50100 [XPG3 || XPG4] (blksize_t): Likewise.
50101 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
50102 Likewise.
50103 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
50104 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50105 [XPG3 || XPG4] (struct itimerspec): Likewise.
50106 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
50107 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
50108 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
50109 [XPG3 || XPG4] (clockid_t): Likewise.
50110 [XPG3 || XPG4] (timer_t): Likewise.
50111 [XPG3 || XPG4] (clock_getres): Likewise.
50112 [XPG3 || XPG4] (clock_gettime): Likewise.
50113 [XPG3 || XPG4] (clock_settime): Likewise.
50114 [XPG3 || XPG4] (nanosleep): Likewise.
50115 [XPG3 || XPG4] (timer_create): Likewise.
50116 [XPG3 || XPG4] (timer_delete): Likewise.
50117 [XPG3 || XPG4] (timer_gettime): Likewise.
50118 [XPG3 || XPG4] (timer_getoverrun): Likewise.
50119 [XPG3 || XPG4] (timer_settime): Likewise.
50120 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
50121 [XPG3 || XPG4] (getlogin_r): Likewise.
50122 [XPG3 || XPG4] (pread): Likewise.
50123 [XPG3 || XPG4] (pthread_atfork): Likewise.
50124 [XPG3 || XPG4] (pwrite): Likewise.
50125
50126 [BZ #14835]
50127 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
50128 <bits/siginfo.h>.
50129
50130 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
50131
50132 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
50133 finalizing MALLSTREAM.
50134
50135 * sysdeps/mach/hurd/syncfs.c: New file.
50136
50137 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
50138
50139 [BZ #14719]
50140 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
50141 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
50142 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
50143 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
50144 (_nss_dns_gethostbyname4_r): Likewise.
50145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
50146 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
50147
50148 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
50149
50150 [BZ #13763]
50151 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
50152
50153 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
50154
50155 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
50156 * elf/cache.c (print_entry): Print ",AArch64" for
50157 FLAG_AARCH64_LIB64
50158
50159 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
50160 * elf/cache.c (print_entry): Print ",hard-float" for
50161 FLAG_ARM_LIBHF.
50162
50163 2012-11-18 David S. Miller <davem@davemloft.net>
50164
50165 With help from Joseph Myers.
50166 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
50167 cutoff to 2**-13.
50168 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
50169 cutoff to 2**-25.
50170 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
50171 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
50172 small.
50173 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
50174 * math/libm-test.inc (y0_test): New tests.
50175 (y1_test): New tests.
50176 * sysdeps/i386/fpu/libm-test-ulps: Update.
50177 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50179
50180 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
50181
50182 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
50183 64-bit targets.
50184 * configure: Regenerated.
50185
50186 2012-11-17 David S. Miller <davem@davemloft.net>
50187
50188 [BZ #14811]
50189 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
50190 nonzero exponents with absolute value below 0x1p-128 to +/-
50191 0x1p-128.
50192
50193 2012-11-17 Joseph Myers <joseph@codesourcery.com>
50194
50195 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
50196
50197 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
50198
50199 * posix/getconf-speclist.c: New file.
50200 * posix/posix-envs.def: Likewise.
50201 * posix/confstr.c (START_ENV_GROUP): New macro.
50202 (END_ENV_GROUP): Likewise.
50203 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50204 (KNOWN_PRESENT_ENV_STRING): Likewise.
50205 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50206 (UNKNOWN_ENVIRONMENT): Likewise.
50207 (confstr): Include posix-envs.def instead of handling
50208 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
50209 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
50210 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
50211 (END_ENV_GROUP): Likewise.
50212 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50213 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50214 (UNKNOWN_ENVIRONMENT): Likewise.
50215 (__sysconf): Include posix-envs.def instead of handling associated
50216 cases directly here.
50217 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
50218 preprocessing getconf-speclist.c rather than running getconf or
50219 generating empty file.
50220
50221 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
50222
50223 * scripts/check-local-headers.sh: Ignore 'mach' headers.
50224
50225 2012-11-16 Andrej Lajovic <natrij@gmail.com>
50226
50227 [BZ #14672]
50228 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
50229
50230 2012-11-16 David S. Miller <davem@davemloft.net>
50231
50232 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
50233 smaller than LDBL_EPSILON/2.0L, just return xm1.
50234
50235 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
50236
50237 * elf/tst-array1.c (init): Set constructor priority to 1000.
50238 (fini): Set destructor priority to 1000.
50239 * elf/tst-array2dep.c: Likewise.
50240
50241 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
50242
50243 [BZ #11741]
50244 * libio/fileops.c (_IO_new_file_write): Correctly return error.
50245 (_IO_new_file_xsputn): Also return EOF if none of the input
50246 data was written when overflow failed.
50247 * libio/iopadn.c (_IO_padn): Likewise.
50248 * libio/iowpadn.c (_IO_wpadn): Likewise.
50249 * stdio-common/tst-put-error.c: Add copyright notice.
50250 (do_test): Add case for printing padded string.
50251 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
50252 _IO_padn returned error.
50253 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
50254 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
50255 return EOF.
50256
50257 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
50258
50259 * libio/libioP.h: Add comment note that the references to C++
50260 bits are now obsolete.
50261
50262 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50263
50264 * math/libm-test.inc (check_complex): Use asprintf.
50265
50266 2012-11-14 Joseph Myers <joseph@codesourcery.com>
50267
50268 * debug/pcprofiledump.c (print_version): Update copyright year.
50269 * malloc/memusagestat.c (print_version): Likewise.
50270
50271 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
50272
50273 [BZ #14831]
50274 * elf/Makefile (tests): Add tst-audit8.
50275 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
50276 ($(objpfx)tst-audit8.out): New target.
50277 (tst-audit8-ENV): New variable.
50278 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
50279 audit if l_reloc_result is NULL.
50280 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
50281 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
50282 * elf/tst-audit8.c: New file.
50283
50284 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50285
50286 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
50287 * misc/Makefile (CFLAGS-select.c): Define.
50288 * posix/Makefile (CFLAGS-pause.c): Define.
50289
50290 2012-11-13 David S. Miller <davem@davemloft.net>
50291
50292 * crypt/Makefile: Move test targets after toplevel Rules
50293 inclusion. Grab any necessary sysdep routines when linking.
50294 * crypt/md5.c (md5_process_block): Remove define, we will always
50295 name it __md5_process_block.
50296 (md5_finish_ctx): Update md5_process_block call.
50297 (md5_stream): Likewise.
50298 (md5_process_bytes): Likewise.
50299 (md5_process_block): Rename to __md5_process_block and move to ...
50300 * crypt/md5-block.c: ... here.
50301 * crypt/sha256.c (sha256_process_block): Move to ...
50302 * crypt/sha256-block.c: ... here.
50303 * crypt/sha512.c (sha512_process_block): Move to ...
50304 * crypt/sha512-block.c: ... here.
50305 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
50306 path.
50307 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
50308 * sysdeps/sparc/sparc64/multiarch/Makefile
50309 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
50310 crypt subdir.
50311 (localedef-aux): Add md5 crypto assembler when in locale subdir.
50312 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
50313 multiarch changes.
50314 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
50315 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
50316 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
50317 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
50318 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
50319 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
50320 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
50321 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
50322 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
50323 file.
50324 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
50325 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
50326 file.
50327 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
50328
50329 2012-11-13 Joseph Myers <joseph@codesourcery.com>
50330
50331 * timezone/tzselect.ksh: Update from tzcode git revision
50332 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
50333 * timezone/zdump.c: Likewise.
50334 * timezone/zic.c: Likewise.
50335 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
50336 in TZVERSION setting, not $(PKGVERSION).
50337 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
50338 REPORT_BUGS_TO settings.
50339
50340 [BZ #14838]
50341 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
50342 macro.
50343
50344 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50345
50346 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
50347 detection to immediately after _FP_ROUND().
50348 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
50349 bits are 0.
50350
50351 2012-11-11 David S. Miller <davem@davemloft.net>
50352
50353 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
50354 inttypes.h
50355 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
50356 __close rather than their public counterparts.
50357
50358 2012-11-10 Joseph Myers <joseph@codesourcery.com>
50359
50360 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
50361 file.
50362 [UNIX98] (sem_timedwait): Do not expect.
50363 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
50364 [XPG4 || UNIX98] (sockatmark): Do not expect.
50365 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
50366 (clock_getcpuclockid): Do not expect.
50367 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
50368 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
50369 Do not expect.
50370 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
50371 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
50372 [UNIX98] (vwscanf): Likewise.
50373 [UNIX98] (vswscanf): Likewise.
50374
50375 2012-11-09 Joseph Myers <joseph@codesourcery.com>
50376
50377 * timezone/version.h: Remove file.
50378 * timezone/README: Do not refer to version.h.
50379 * timezone/Makefile ($(objpfx)zic.o): New dependency on
50380 $(objpfx)version.h.
50381 ($(objpfx)zdump.o): Likewise.
50382 ($(objpfx)version.h): New target.
50383
50384 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
50385 2012i.
50386 * timezone/README: Don't mention modification to tzselect.ksh.
50387 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
50388 work on unmodified tzselect.ksh. Substitute version numbers in
50389 tzselect.ksh.
50390
50391 * Makefile (format-me): Remove.
50392 (INSTALL): Adjust indentation. Use commands directly instead of
50393 using $(format-me).
50394
50395 * aclocal.m4 (ACX_PKGVERSION): New macro.
50396 (ACX_BUGURL): Likewise.
50397 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
50398 (PKGVERSION): New AC_DEFINE_UNQUOTED.
50399 (REPORT_BUGS_TO): Likewise.
50400 * configure: Regenerated.
50401 * config.h.in (PKGVERSION): New macro.
50402 (REPORT_BUGS_TO): Likewise.
50403 * config.make.in (PKGVERSION): New variable.
50404 (PKGVERSION_TEXI): Likewise.
50405 (REPORT_BUGS_TO): Likewise.
50406 (REPORT_BUGS_TEXI): Likewise.
50407 * Makefile (format-me): Use -I$(common-objpfx)manual.
50408 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
50409 ($(common-objpfx)manual/%): New target.
50410 (manual/%): Remove target.
50411 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
50412 (print_version): Use PKGVERSION.
50413 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
50414 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
50415 and REPORT_BUGS_TO.
50416 ($(objpfx)xtrace): Likewise.
50417 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
50418 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
50419 (print_version): Use PKGVERSION.
50420 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
50421 (do_version): Use PKGVERSION.
50422 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
50423 REPORT_BUGS_TO.
50424 (common-ldd-rewrite): Likewise.
50425 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
50426 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
50427 (print_version): Use PKGVERSION.
50428 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
50429 * elf/pldd.c (argp_program_bug_address): Remove variable.
50430 (more_help): New function.
50431 (argp): Use more_help.
50432 (print_version): Use PKGVERSION.
50433 * elf/sln.c (main): Use PKGVERSION.
50434 (usage): Use REPORT_BUGS_TO.
50435 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
50436 (top level): Use PKGVERSION.
50437 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
50438 (print_version): Use PKGVERSION.
50439 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
50440 (print_version): Use PKGVERSION.
50441 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
50442 (print_version): Use PKGVERSION.
50443 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
50444 (print_version): Use PKGVERSION.
50445 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
50446 (print_version): Use PKGVERSION.
50447 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
50448 (print_version): Use PKGVERSION.
50449 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
50450 and BUGURL.
50451 ($(objpfx)memusage): Likewise.
50452 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
50453 (do_version): Use PKGVERSION.
50454 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
50455 (print_version): Use PKGVERSION.
50456 * malloc/mtrace.pl ($PACKAGE): Remove variable.
50457 ($PKGVERSION): New variable.
50458 ($REPORT_BUGS_TO): Likewise.
50459 (usage): Use $REPORT_BUGS_TO.
50460 (top level): Use $PKGVERSION.
50461 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
50462 ($(objpfx)pkgvers.texi): New rule.
50463 ($(objpfx)stamp-pkgvers): Likewise.
50464 * manual/install.texi: Include pkgvers.texi.
50465 (--with-pkgversion): Document new configure option.
50466 (--with-bugurl): Likewise.
50467 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
50468 than necessarily for this particular distribution. Use
50469 REPORT_BUGS_TO for where to report bugs.
50470 * INSTALL: Regenerated.
50471 * manual/libc.texinfo: Include pkgvers.texi.
50472 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
50473 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
50474 (print_version): Use PKGVERSION.
50475 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
50476 (print_version): Use PKGVERSION.
50477 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
50478 (print_version): Use PKGVERSION.
50479 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
50480 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
50481 macro.
50482 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
50483 (print_version): Use PKGVERSION.
50484 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
50485 (print_version): Use PKGVERSION.
50486 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
50487 and PKGVERSION.
50488
50489 * timezone/checktab.awk: Update from tzcode 2012i.
50490 * timezone/ialloc.c: Likewise.
50491 * timezone/private.h: Likewise.
50492 * timezone/scheck.c: Likewise.
50493 * timezone/tzfile.h: Likewise.
50494 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
50495 (TZVERSION): Hardcode tzcode version number.
50496 * timezone/zdump.c: Update from tzcode 2012i.
50497 * timezone/zic.c: Likewise.
50498 * timezone/version.h: New file.
50499 * timezone/README: Describe version.h. Update upstream location.
50500
50501 [BZ #14824]
50502 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
50503 (mktemp): Enable declaration.
50504 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
50505 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
50506 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
50507 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
50508 Likewise.
50509 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
50510 Likewise.
50511 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
50512 Likewise.
50513 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
50514 Likewise.
50515 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
50516 Likewise.
50517 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
50518 Likewise.
50519
50520 [BZ #14821]
50521 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
50522 offset in buffer as u_int32_t not u_long. Consistently use memcpy
50523 for copies of such integer values.
50524 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50525 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50526
50527 2012-11-09 Andreas Jaeger <aj@suse.de>
50528
50529 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
50530 definitions and declarations that are provided by
50531 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
50532
50533 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50534
50535 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
50536 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
50537 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
50538 definition.
50539
50540 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50541
50542 * elf/elf.h: Update comment before AArch64 relocations.
50543
50544 2012-11-07 David S. Miller <davem@davemloft.net>
50545
50546 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
50547 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50548 (__start_context): Declare.
50549 (__makecontext_ret): Delete.
50550 (__makecontext): Hook up __start_context instead of
50551 __makecontext_ret.
50552 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
50553 (sysdep_routines): Add __start_context when in stdlib.
50554
50555 2012-11-07 Joseph Myers <joseph@codesourcery.com>
50556
50557 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
50558 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
50559 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
50560 hardcoded "nm".
50561 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
50562 (READELF): New variable. Use it instead of hardcoded "readelf".
50563
50564 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
50565
50566 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
50567 * sysdeps/x86/Makefile: Here.
50568 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
50569 * sysdeps/x86/tst-xmmymm.sh: This.
50570
50571 2012-11-07 Joseph Myers <joseph@codesourcery.com>
50572
50573 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
50574 expectations.
50575 [UNIX98] (pthread_barrier_t): Do not expect.
50576 [UNIX98] (pthread_barrierattr_t): Likewise.
50577 [UNIX98] (pthread_spinlock_t): Likewise.
50578 [UNIX98] (pthread_barrier_destroy): Likewise.
50579 [UNIX98] (pthread_barrier_init): Likewise.
50580 [UNIX98] (pthread_barrier_wait): Likewise.
50581 [UNIX98] (pthread_barrierattr_destroy): Likewise.
50582 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
50583 [UNIX98] (pthread_barrierattr_init): Likewise.
50584 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
50585 [UNIX98] (pthread_getcpuclockid): Likewise.
50586 [UNIX98] (pthread_mutex_timedlock): Likewise.
50587 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
50588 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
50589 [UNIX98] (pthread_sigmask): Likewise.
50590 [UNIX98] (pthread_spin_destroy): Likewise.
50591 [UNIX98] (pthread_spin_init): Likewise.
50592 [UNIX98] (pthread_spin_lock): Likewise.
50593 [UNIX98] (pthread_spin_trylock): Likewise.
50594 [UNIX98] (pthread_spin_unlock): Likewise.
50595 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
50596 Do not expect.
50597 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
50598 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
50599 [XPG3 || XPG4] (pthread_cond_t): Likewise.
50600 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
50601 [XPG3 || XPG4] (pthread_key_t): Likewise.
50602 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
50603 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
50604 [XPG3 || XPG4] (pthread_once_t): Likewise.
50605 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
50606 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
50607 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
50608 [XPG3 || XPG4] (pthread_t): Likewise.
50609
50610 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
50611 not expect.
50612 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
50613
50614 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
50615 Change function return type to int.
50616
50617 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
50618 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
50619 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
50620 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
50621 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
50622 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
50623 [!POSIX] (posix_madvise): Likewise.
50624 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
50625 && !UNIX98].
50626 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
50627 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
50628 (mode_t): Likewise.
50629 (posix_mem_offset): Likewise.
50630 (posix_typed_mem_get_info): Likewise.
50631 (posix_typed_mem_open): Likewise.
50632
50633 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
50634 Change condition to [XOPEN2K8].
50635
50636 * conform/conformtest.pl: Preprocess allow-header data with -x c
50637 instead of from stdin.
50638 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
50639 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
50640 [C99-based standards] (cerfc): Likewise.
50641 [C99-based standards] (cexp2): Likewise.
50642 [C99-based standards] (cexpm1): Likewise.
50643 [C99-based standards] (clog10): Likewise.
50644 [C99-based standards] (clog1p): Likewise.
50645 [C99-based standards] (clog2): Likewise.
50646 [C99-based standards] (clgamma): Likewise.
50647 [C99-based standards] (ctgamma): Likewise.
50648 [C99-based standards] (cerff): Likewise.
50649 [C99-based standards] (cerfcf): Likewise.
50650 [C99-based standards] (cexp2f): Likewise.
50651 [C99-based standards] (cexpm1f): Likewise.
50652 [C99-based standards] (clog10f): Likewise.
50653 [C99-based standards] (clog1pf): Likewise.
50654 [C99-based standards] (clog2f): Likewise.
50655 [C99-based standards] (clgammaf): Likewise.
50656 [C99-based standards] (ctgammaf): Likewise.
50657 [C99-based standards] (cerfl): Likewise.
50658 [C99-based standards] (cerfcl): Likewise.
50659 [C99-based standards] (cexp2l): Likewise.
50660 [C99-based standards] (cexpm1l): Likewise.
50661 [C99-based standards] (clog10l): Likewise.
50662 [C99-based standards] (clog1pl): Likewise.
50663 [C99-based standards] (clog2l): Likewise.
50664 [C99-based standards] (clgammal): Likewise.
50665 [C99-based standards] (ctgammal): Likewise.
50666 * conform/data/inttypes.h-data [C99-based standards]: Include
50667 stdint.h-data. Remove all expectations for stdint.h contents.
50668 [C99-based standards] (PRI*): Do not allow.
50669 [C99-based standards] (SCN*): Likewise.
50670 [C99-based standards] (*_t): Likewise.
50671 [C99-based-standards] (PRId8): Expect macro.
50672 [C99-based-standards] (PRIi8): Likewise.
50673 [C99-based-standards] (PRIo8): Likewise.
50674 [C99-based-standards] (PRIu8): Likewise.
50675 [C99-based-standards] (PRIx8): Likewise.
50676 [C99-based-standards] (PRIX8): Likewise.
50677 [C99-based-standards] (SCNd8): Likewise.
50678 [C99-based-standards] (SCNi8): Likewise.
50679 [C99-based-standards] (SCNo8): Likewise.
50680 [C99-based-standards] (SCNu8): Likewise.
50681 [C99-based-standards] (SCNx8): Likewise.
50682 [C99-based-standards] (PRIdLEAST8): Likewise.
50683 [C99-based-standards] (PRIiLEAST8): Likewise.
50684 [C99-based-standards] (PRIoLEAST8): Likewise.
50685 [C99-based-standards] (PRIuLEAST8): Likewise.
50686 [C99-based-standards] (PRIxLEAST8): Likewise.
50687 [C99-based-standards] (PRIXLEAST8): Likewise.
50688 [C99-based-standards] (SCNdLEAST8): Likewise.
50689 [C99-based-standards] (SCNiLEAST8): Likewise.
50690 [C99-based-standards] (SCNoLEAST8): Likewise.
50691 [C99-based-standards] (SCNuLEAST8): Likewise.
50692 [C99-based-standards] (SCNxLEAST8): Likewise.
50693 [C99-based-standards] (PRIdFAST8): Likewise.
50694 [C99-based-standards] (PRIiFAST8): Likewise.
50695 [C99-based-standards] (PRIoFAST8): Likewise.
50696 [C99-based-standards] (PRIuFAST8): Likewise.
50697 [C99-based-standards] (PRIxFAST8): Likewise.
50698 [C99-based-standards] (PRIXFAST8): Likewise.
50699 [C99-based-standards] (SCNdFAST8): Likewise.
50700 [C99-based-standards] (SCNiFAST8): Likewise.
50701 [C99-based-standards] (SCNoFAST8): Likewise.
50702 [C99-based-standards] (SCNuFAST8): Likewise.
50703 [C99-based-standards] (SCNxFAST8): Likewise.
50704 [C99-based-standards] (PRId16): Likewise.
50705 [C99-based-standards] (PRIi16): Likewise.
50706 [C99-based-standards] (PRIo16): Likewise.
50707 [C99-based-standards] (PRIu16): Likewise.
50708 [C99-based-standards] (PRIx16): Likewise.
50709 [C99-based-standards] (PRIX16): Likewise.
50710 [C99-based-standards] (SCNd16): Likewise.
50711 [C99-based-standards] (SCNi16): Likewise.
50712 [C99-based-standards] (SCNo16): Likewise.
50713 [C99-based-standards] (SCNu16): Likewise.
50714 [C99-based-standards] (SCNx16): Likewise.
50715 [C99-based-standards] (PRIdLEAST16): Likewise.
50716 [C99-based-standards] (PRIiLEAST16): Likewise.
50717 [C99-based-standards] (PRIoLEAST16): Likewise.
50718 [C99-based-standards] (PRIuLEAST16): Likewise.
50719 [C99-based-standards] (PRIxLEAST16): Likewise.
50720 [C99-based-standards] (PRIXLEAST16): Likewise.
50721 [C99-based-standards] (SCNdLEAST16): Likewise.
50722 [C99-based-standards] (SCNiLEAST16): Likewise.
50723 [C99-based-standards] (SCNoLEAST16): Likewise.
50724 [C99-based-standards] (SCNuLEAST16): Likewise.
50725 [C99-based-standards] (SCNxLEAST16): Likewise.
50726 [C99-based-standards] (PRIdFAST16): Likewise.
50727 [C99-based-standards] (PRIiFAST16): Likewise.
50728 [C99-based-standards] (PRIoFAST16): Likewise.
50729 [C99-based-standards] (PRIuFAST16): Likewise.
50730 [C99-based-standards] (PRIxFAST16): Likewise.
50731 [C99-based-standards] (PRIXFAST16): Likewise.
50732 [C99-based-standards] (SCNdFAST16): Likewise.
50733 [C99-based-standards] (SCNiFAST16): Likewise.
50734 [C99-based-standards] (SCNoFAST16): Likewise.
50735 [C99-based-standards] (SCNuFAST16): Likewise.
50736 [C99-based-standards] (SCNxFAST16): Likewise.
50737 [C99-based-standards] (PRId32): Likewise.
50738 [C99-based-standards] (PRIi32): Likewise.
50739 [C99-based-standards] (PRIo32): Likewise.
50740 [C99-based-standards] (PRIu32): Likewise.
50741 [C99-based-standards] (PRIx32): Likewise.
50742 [C99-based-standards] (PRIX32): Likewise.
50743 [C99-based-standards] (SCNd32): Likewise.
50744 [C99-based-standards] (SCNi32): Likewise.
50745 [C99-based-standards] (SCNo32): Likewise.
50746 [C99-based-standards] (SCNu32): Likewise.
50747 [C99-based-standards] (SCNx32): Likewise.
50748 [C99-based-standards] (PRIdLEAST32): Likewise.
50749 [C99-based-standards] (PRIiLEAST32): Likewise.
50750 [C99-based-standards] (PRIoLEAST32): Likewise.
50751 [C99-based-standards] (PRIuLEAST32): Likewise.
50752 [C99-based-standards] (PRIxLEAST32): Likewise.
50753 [C99-based-standards] (PRIXLEAST32): Likewise.
50754 [C99-based-standards] (SCNdLEAST32): Likewise.
50755 [C99-based-standards] (SCNiLEAST32): Likewise.
50756 [C99-based-standards] (SCNoLEAST32): Likewise.
50757 [C99-based-standards] (SCNuLEAST32): Likewise.
50758 [C99-based-standards] (SCNxLEAST32): Likewise.
50759 [C99-based-standards] (PRIdFAST32): Likewise.
50760 [C99-based-standards] (PRIiFAST32): Likewise.
50761 [C99-based-standards] (PRIoFAST32): Likewise.
50762 [C99-based-standards] (PRIuFAST32): Likewise.
50763 [C99-based-standards] (PRIxFAST32): Likewise.
50764 [C99-based-standards] (PRIXFAST32): Likewise.
50765 [C99-based-standards] (SCNdFAST32): Likewise.
50766 [C99-based-standards] (SCNiFAST32): Likewise.
50767 [C99-based-standards] (SCNoFAST32): Likewise.
50768 [C99-based-standards] (SCNuFAST32): Likewise.
50769 [C99-based-standards] (SCNxFAST32): Likewise.
50770 [C99-based-standards] (PRId64): Likewise.
50771 [C99-based-standards] (PRIi64): Likewise.
50772 [C99-based-standards] (PRIo64): Likewise.
50773 [C99-based-standards] (PRIu64): Likewise.
50774 [C99-based-standards] (PRIx64): Likewise.
50775 [C99-based-standards] (PRIX64): Likewise.
50776 [C99-based-standards] (SCNd64): Likewise.
50777 [C99-based-standards] (SCNi64): Likewise.
50778 [C99-based-standards] (SCNo64): Likewise.
50779 [C99-based-standards] (SCNu64): Likewise.
50780 [C99-based-standards] (SCNx64): Likewise.
50781 [C99-based-standards] (PRIdLEAST64): Likewise.
50782 [C99-based-standards] (PRIiLEAST64): Likewise.
50783 [C99-based-standards] (PRIoLEAST64): Likewise.
50784 [C99-based-standards] (PRIuLEAST64): Likewise.
50785 [C99-based-standards] (PRIxLEAST64): Likewise.
50786 [C99-based-standards] (PRIXLEAST64): Likewise.
50787 [C99-based-standards] (SCNdLEAST64): Likewise.
50788 [C99-based-standards] (SCNiLEAST64): Likewise.
50789 [C99-based-standards] (SCNoLEAST64): Likewise.
50790 [C99-based-standards] (SCNuLEAST64): Likewise.
50791 [C99-based-standards] (SCNxLEAST64): Likewise.
50792 [C99-based-standards] (PRIdFAST64): Likewise.
50793 [C99-based-standards] (PRIiFAST64): Likewise.
50794 [C99-based-standards] (PRIoFAST64): Likewise.
50795 [C99-based-standards] (PRIuFAST64): Likewise.
50796 [C99-based-standards] (PRIxFAST64): Likewise.
50797 [C99-based-standards] (PRIXFAST64): Likewise.
50798 [C99-based-standards] (SCNdFAST64): Likewise.
50799 [C99-based-standards] (SCNiFAST64): Likewise.
50800 [C99-based-standards] (SCNoFAST64): Likewise.
50801 [C99-based-standards] (SCNuFAST64): Likewise.
50802 [C99-based-standards] (SCNxFAST64): Likewise.
50803 [C99-based-standards] (PRIdMAX): Likewise.
50804 [C99-based-standards] (PRIiMAX): Likewise.
50805 [C99-based-standards] (PRIoMAX): Likewise.
50806 [C99-based-standards] (PRIuMAX): Likewise.
50807 [C99-based-standards] (PRIxMAX): Likewise.
50808 [C99-based-standards] (PRIXMAX): Likewise.
50809 [C99-based-standards] (SCNdMAX): Likewise.
50810 [C99-based-standards] (SCNiMAX): Likewise.
50811 [C99-based-standards] (SCNoMAX): Likewise.
50812 [C99-based-standards] (SCNuMAX): Likewise.
50813 [C99-based-standards] (SCNxMAX): Likewise.
50814 [C99-based-standards] (PRIdPTR): Likewise.
50815 [C99-based-standards] (PRIiPTR): Likewise.
50816 [C99-based-standards] (PRIoPTR): Likewise.
50817 [C99-based-standards] (PRIuPTR): Likewise.
50818 [C99-based-standards] (PRIxPTR): Likewise.
50819 [C99-based-standards] (PRIXPTR): Likewise.
50820 [C99-based-standards] (SCNdPTR): Likewise.
50821 [C99-based-standards] (SCNiPTR): Likewise.
50822 [C99-based-standards] (SCNoPTR): Likewise.
50823 [C99-based-standards] (SCNuPTR): Likewise.
50824 [C99-based-standards] (SCNxPTR): Likewise.
50825 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
50826 allow.
50827 * conform/data/stdint.h-data: Update comments to clarify
50828 requirements.
50829 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
50830 type.
50831 [C99-based standards] (INT8_MAX): Likewise.
50832 [C99-based standards] (INT16_MIN): Likewise.
50833 [C99-based standards] (INT16_MAX): Likewise.
50834 [C99-based standards] (INT32_MIN): Likewise.
50835 [C99-based standards] (INT32_MAX): Likewise.
50836 [C99-based standards] (INT64_MIN): Likewise.
50837 [C99-based standards] (INT64_MAX): Likewise.
50838 [C99-based standards] (UINT8_MAX): Likewise.
50839 [C99-based standards] (UINT16_MAX): Likewise.
50840 [C99-based standards] (UINT32_MAX): Likewise.
50841 [C99-based standards] (UINT64_MAX): Likewise.
50842 [C99-based standards] (INT_LEAST8_MIN): Likewise.
50843 [C99-based standards] (INT_LEAST8_MAX): Likewise.
50844 [C99-based standards] (INT_LEAST16_MIN): Likewise.
50845 [C99-based standards] (INT_LEAST16_MAX): Likewise.
50846 [C99-based standards] (INT_LEAST32_MIN): Likewise.
50847 [C99-based standards] (INT_LEAST32_MAX): Likewise.
50848 [C99-based standards] (INT_LEAST64_MIN): Likewise.
50849 [C99-based standards] (INT_LEAST64_MAX): Likewise.
50850 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
50851 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
50852 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
50853 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
50854 [C99-based standards] (INT_FAST8_MIN): Likewise.
50855 [C99-based standards] (INT_FAST8_MAX): Likewise.
50856 [C99-based standards] (INT_FAST16_MIN): Likewise.
50857 [C99-based standards] (INT_FAST16_MAX): Likewise.
50858 [C99-based standards] (INT_FAST32_MIN): Likewise.
50859 [C99-based standards] (INT_FAST32_MAX): Likewise.
50860 [C99-based standards] (INT_FAST64_MIN): Likewise.
50861 [C99-based standards] (INT_FAST64_MAX): Likewise.
50862 [C99-based standards] (UINT_FAST8_MAX): Likewise.
50863 [C99-based standards] (UINT_FAST16_MAX): Likewise.
50864 [C99-based standards] (UINT_FAST32_MAX): Likewise.
50865 [C99-based standards] (UINT_FAST64_MAX): Likewise.
50866 [C99-based standards] (INTPTR_MIN): Likewise.
50867 [C99-based standards] (INTPTR_MAX): Likewise.
50868 [C99-based standards] (UINTPTR_MAX): Likewise.
50869 [C99-based standards] (INTMAX_MIN): Likewise.
50870 [C99-based standards] (INTMAX_MAX): Likewise.
50871 [C99-based standards] (UINTMAX_MAX): Likewise.
50872 [C99-based standards] (PTRDIFF_MIN): Likewise.
50873 [C99-based standards] (PTRDIFF_MAX): Likewise.
50874 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
50875 [C99-based standards] (SIZE_MAX): Likewise.
50876 [C99-based standards] (WCHAR_MAX): Likewise.
50877 [C99-based standards] (WINT_MAX): Likewise.
50878 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
50879 constraint on value.
50880 [C99-based standards] (WCHAR_MIN): Likewise.
50881 [C99-based standards] (WINT_MIN): Likewise.
50882 [C99-based standards] (*_t): Allow.
50883 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
50884 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
50885 Include math.h-data and complex.h-data. Remove all expectations
50886 of math.h and complex.h contents.
50887 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
50888 at end of line.
50889 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
50890 (struct tm): Expect tag.
50891 [C99-based-standards] (wcstof): Expect function.
50892 [C99-based-standards] (wcstold): Likewise.
50893 [C99-based-standards] (wcstoll): Likewise.
50894 [C99-based-standards] (wcstoull): Likewise.
50895 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
50896 macro-int-constant. Specify type.
50897 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
50898 constraint on value.
50899 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50900 Specify type.
50901 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
50902 Specify value.
50903 [ISO C standards]: Do not allow headers.
50904 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
50905 wcs[abcdefghijklmnopqrstuvwxyz]*.
50906 [ISO C standards] (*_t): Do not allow.
50907 * conform/data/wctype.h-data [C99-based standards] (iswblank):
50908 Expect function.
50909 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
50910 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50911 Specify type.
50912 [ISO C standards]: Do not allow headers.
50913 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
50914 is[abcdefghijklmnopqrstuvwxyz]*.
50915 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
50916 to[abcdefghijklmnopqrstuvwxyz]*.
50917 [ISO C standards] (*_t): Do not allow.
50918 * conform/data/stdalign.h-data: New file.
50919 * conform/data/stdbool.h-data: Likewise.
50920 * conform/data/stdnoreturn.h-data: Likewise.
50921
50922 2012-11-07 Roland McGrath <roland@hack.frob.com>
50923
50924 [BZ #14815]
50925 * manual/filesys.texi (Directory Entries): Typo fix.
50926 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
50927
50928 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50929
50930 * elf/elf.h (EM_AARCH64): New macro.
50931 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
50932 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
50933 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
50934 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
50935 (R_AARCH64_TLSDESC): Likewise.
50936 (NT_ARM_TLS): Likewise.
50937 (NT_ARM_HW_BREAK): Likewise.
50938 (NT_ARM_HW_WATCH): Likewise.
50939
50940 2012-11-07 Joseph Myers <joseph@codesourcery.com>
50941
50942 [BZ #14811]
50943 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
50944 (__ieee754_powl): Saturate nonzero exponents with absolute value
50945 below 0x1p-79 to +/- 0x1p-79.
50946 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
50947 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
50948 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
50949 nonzero exponents with absolute value below 0x1p-32 to +/-
50950 0x1p-32.
50951 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
50952 (__ieee754_powl): Saturate nonzero exponents with absolute value
50953 below 0x1p-79 to +/- 0x1p-79.
50954 * math/libm-test.inc (pow_test): Add more tests.
50955
50956 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50957
50958 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
50959 _dl_s390_cap_flags with kernel. Increase string length.
50960 (_dl_s390_platforms): Add z196 and zEC12.
50961
50962 2012-11-07 Joseph Myers <joseph@codesourcery.com>
50963
50964 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
50965 Change XOPEN21K to XOPEN2K.
50966
50967 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
50968
50969 * string/memmove.c: Use memcpy when possible.
50970
50971 2012-11-06 Andreas Jaeger <aj@suse.de>
50972
50973 * po/eo.po: Update from translation team.
50974
50975 2012-11-06 Joseph Myers <joseph@codesourcery.com>
50976
50977 [BZ #14793]
50978 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
50979 exponent and small x and y exponents, scale x or y up. Increase
50980 by 2 the exponent used in scaling up.
50981 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50982 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50983 * math/libm-test.inc (fma_test): Add more tests.
50984 (fma_test_towardzero): Likewise.
50985 (fma_test_downward): Likewise.
50986 (fma_test_upward): Likewise.
50987
50988 2012-11-05 Joseph Myers <joseph@codesourcery.com>
50989
50990 [BZ #14805]
50991 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
50992 fenv_t *.
50993
50994 [BZ #14801]
50995 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
50996 namespace for names of struct fields.
50997 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
50998 fenv_t fields.
50999 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
51000 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
51001
51002 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
51003
51004 [BZ #3665]
51005 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
51006
51007 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
51008
51009 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
51010 PTR_DEMANGLE.
51011
51012 [BZ #5246]
51013 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
51014 PTR_DEMANGLE.
51015
51016 2012-11-04 Joseph Myers <joseph@codesourcery.com>
51017
51018 [BZ #14797]
51019 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
51020 definitely overflow as x * y not x * y + z.
51021 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51022 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51023 * math/libm-test.inc (fma_test): Add more tests.
51024 (fma_test_towardzero): Likewise.
51025 (fma_test_downward): Likewise.
51026 (fma_test_upward): Likewise.
51027
51028 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
51029
51030 [BZ #157]
51031
51032 * include/stub-tag.h: Remove file.
51033 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
51034 '#include' of it.
51035 * manual/maint.texi (Porting): Don't reference it.
51036 * Makerules ($(objpfx)stubs): Likewise.
51037 * dirent/closedir.c: Don't include <stub-tag.h>.
51038 * dirent/dirfd.c: Likewise.
51039 * dirent/fdopendir.c: Likewise.
51040 * dirent/getdents.c: Likewise.
51041 * dirent/getdents64.c: Likewise.
51042 * dirent/opendir.c: Likewise.
51043 * dirent/readdir.c: Likewise.
51044 * dirent/readdir64.c: Likewise.
51045 * dirent/readdir64_r.c: Likewise.
51046 * dirent/readdir_r.c: Likewise.
51047 * dirent/rewinddir.c: Likewise.
51048 * dirent/seekdir.c: Likewise.
51049 * dirent/telldir.c: Likewise.
51050 * gmon/profil.c: Likewise.
51051 * grp/setgroups.c: Likewise.
51052 * inet/if_index.c: Likewise.
51053 * io/access.c: Likewise.
51054 * io/chdir.c: Likewise.
51055 * io/chmod.c: Likewise.
51056 * io/chown.c: Likewise.
51057 * io/close.c: Likewise.
51058 * io/dup.c: Likewise.
51059 * io/dup2.c: Likewise.
51060 * io/dup3.c: Likewise.
51061 * io/euidaccess.c: Likewise.
51062 * io/faccessat.c: Likewise.
51063 * io/fchdir.c: Likewise.
51064 * io/fchmod.c: Likewise.
51065 * io/fchmodat.c: Likewise.
51066 * io/fchown.c: Likewise.
51067 * io/fchownat.c: Likewise.
51068 * io/fcntl.c: Likewise.
51069 * io/flock.c: Likewise.
51070 * io/fstatfs.c: Likewise.
51071 * io/fstatfs64.c: Likewise.
51072 * io/fstatvfs.c: Likewise.
51073 * io/fstatvfs64.c: Likewise.
51074 * io/futimens.c: Likewise.
51075 * io/fxstat.c: Likewise.
51076 * io/fxstat64.c: Likewise.
51077 * io/fxstatat.c: Likewise.
51078 * io/fxstatat64.c: Likewise.
51079 * io/getcwd.c: Likewise.
51080 * io/isatty.c: Likewise.
51081 * io/lchmod.c: Likewise.
51082 * io/lchown.c: Likewise.
51083 * io/link.c: Likewise.
51084 * io/linkat.c: Likewise.
51085 * io/lseek.c: Likewise.
51086 * io/lseek64.c: Likewise.
51087 * io/lxstat64.c: Likewise.
51088 * io/mkdir.c: Likewise.
51089 * io/mkdirat.c: Likewise.
51090 * io/mkfifo.c: Likewise.
51091 * io/mkfifoat.c: Likewise.
51092 * io/open.c: Likewise.
51093 * io/open64.c: Likewise.
51094 * io/openat.c: Likewise.
51095 * io/openat64.c: Likewise.
51096 * io/pipe.c: Likewise.
51097 * io/pipe2.c: Likewise.
51098 * io/poll.c: Likewise.
51099 * io/posix_fadvise.c: Likewise.
51100 * io/posix_fadvise64.c: Likewise.
51101 * io/posix_fallocate.c: Likewise.
51102 * io/posix_fallocate64.c: Likewise.
51103 * io/read.c: Likewise.
51104 * io/readlink.c: Likewise.
51105 * io/readlinkat.c: Likewise.
51106 * io/rmdir.c: Likewise.
51107 * io/sendfile.c: Likewise.
51108 * io/sendfile64.c: Likewise.
51109 * io/statfs.c: Likewise.
51110 * io/statfs64.c: Likewise.
51111 * io/statvfs.c: Likewise.
51112 * io/statvfs64.c: Likewise.
51113 * io/symlink.c: Likewise.
51114 * io/symlinkat.c: Likewise.
51115 * io/ttyname.c: Likewise.
51116 * io/ttyname_r.c: Likewise.
51117 * io/umask.c: Likewise.
51118 * io/unlink.c: Likewise.
51119 * io/unlinkat.c: Likewise.
51120 * io/utime.c: Likewise.
51121 * io/utimensat.c: Likewise.
51122 * io/write.c: Likewise.
51123 * io/xmknod.c: Likewise.
51124 * io/xmknodat.c: Likewise.
51125 * io/xstat.c: Likewise.
51126 * io/xstat64.c: Likewise.
51127 * login/getpt.c: Likewise.
51128 * login/grantpt.c: Likewise.
51129 * login/unlockpt.c: Likewise.
51130 * math/e_acoshl.c: Likewise.
51131 * math/e_acosl.c: Likewise.
51132 * math/e_asinl.c: Likewise.
51133 * math/e_atan2l.c: Likewise.
51134 * math/e_atanhl.c: Likewise.
51135 * math/e_coshl.c: Likewise.
51136 * math/e_expl.c: Likewise.
51137 * math/e_fmodl.c: Likewise.
51138 * math/e_gammal_r.c: Likewise.
51139 * math/e_hypotl.c: Likewise.
51140 * math/e_j0l.c: Likewise.
51141 * math/e_j1l.c: Likewise.
51142 * math/e_jnl.c: Likewise.
51143 * math/e_lgammal_r.c: Likewise.
51144 * math/e_log10l.c: Likewise.
51145 * math/e_log2l.c: Likewise.
51146 * math/e_logl.c: Likewise.
51147 * math/e_powl.c: Likewise.
51148 * math/e_rem_pio2l.c: Likewise.
51149 * math/e_sinhl.c: Likewise.
51150 * math/e_sqrtl.c: Likewise.
51151 * math/fclrexcpt.c: Likewise.
51152 * math/fedisblxcpt.c: Likewise.
51153 * math/feenablxcpt.c: Likewise.
51154 * math/fegetenv.c: Likewise.
51155 * math/fegetexcept.c: Likewise.
51156 * math/fegetround.c: Likewise.
51157 * math/feholdexcpt.c: Likewise.
51158 * math/fesetenv.c: Likewise.
51159 * math/fesetround.c: Likewise.
51160 * math/feupdateenv.c: Likewise.
51161 * math/fgetexcptflg.c: Likewise.
51162 * math/fraiseexcpt.c: Likewise.
51163 * math/fsetexcptflg.c: Likewise.
51164 * math/ftestexcept.c: Likewise.
51165 * math/k_cosl.c: Likewise.
51166 * math/k_rem_pio2l.c: Likewise.
51167 * math/k_sinl.c: Likewise.
51168 * math/k_tanl.c: Likewise.
51169 * math/s_asinhl.c: Likewise.
51170 * math/s_atanl.c: Likewise.
51171 * math/s_cbrtl.c: Likewise.
51172 * math/s_erfl.c: Likewise.
51173 * math/s_expm1l.c: Likewise.
51174 * math/s_log1pl.c: Likewise.
51175 * math/s_tanhl.c: Likewise.
51176 * misc/acct.c: Likewise.
51177 * misc/brk.c: Likewise.
51178 * misc/chflags.c: Likewise.
51179 * misc/chroot.c: Likewise.
51180 * misc/fchflags.c: Likewise.
51181 * misc/fgetxattr.c: Likewise.
51182 * misc/flistxattr.c: Likewise.
51183 * misc/fremovexattr.c: Likewise.
51184 * misc/fsetxattr.c: Likewise.
51185 * misc/fsync.c: Likewise.
51186 * misc/ftruncate.c: Likewise.
51187 * misc/futimes.c: Likewise.
51188 * misc/futimesat.c: Likewise.
51189 * misc/getdomain.c: Likewise.
51190 * misc/getdtsz.c: Likewise.
51191 * misc/gethostid.c: Likewise.
51192 * misc/gethostname.c: Likewise.
51193 * misc/getloadavg.c: Likewise.
51194 * misc/getpagesize.c: Likewise.
51195 * misc/getsysstats.c: Likewise.
51196 * misc/getxattr.c: Likewise.
51197 * misc/gtty.c: Likewise.
51198 * misc/ioctl.c: Likewise.
51199 * misc/lgetxattr.c: Likewise.
51200 * misc/listxattr.c: Likewise.
51201 * misc/llistxattr.c: Likewise.
51202 * misc/lremovexattr.c: Likewise.
51203 * misc/lsetxattr.c: Likewise.
51204 * misc/lutimes.c: Likewise.
51205 * misc/madvise.c: Likewise.
51206 * misc/mincore.c: Likewise.
51207 * misc/mlock.c: Likewise.
51208 * misc/mlockall.c: Likewise.
51209 * misc/mmap.c: Likewise.
51210 * misc/mprotect.c: Likewise.
51211 * misc/msync.c: Likewise.
51212 * misc/munlock.c: Likewise.
51213 * misc/munlockall.c: Likewise.
51214 * misc/munmap.c: Likewise.
51215 * misc/preadv.c: Likewise.
51216 * misc/preadv64.c: Likewise.
51217 * misc/ptrace.c: Likewise.
51218 * misc/pwritev.c: Likewise.
51219 * misc/pwritev64.c: Likewise.
51220 * misc/readv.c: Likewise.
51221 * misc/reboot.c: Likewise.
51222 * misc/remap_file_pages.c: Likewise.
51223 * misc/removexattr.c: Likewise.
51224 * misc/revoke.c: Likewise.
51225 * misc/select.c: Likewise.
51226 * misc/setdomain.c: Likewise.
51227 * misc/setegid.c: Likewise.
51228 * misc/seteuid.c: Likewise.
51229 * misc/sethostid.c: Likewise.
51230 * misc/sethostname.c: Likewise.
51231 * misc/setregid.c: Likewise.
51232 * misc/setreuid.c: Likewise.
51233 * misc/setxattr.c: Likewise.
51234 * misc/sstk.c: Likewise.
51235 * misc/stty.c: Likewise.
51236 * misc/swapoff.c: Likewise.
51237 * misc/swapon.c: Likewise.
51238 * misc/sync.c: Likewise.
51239 * misc/syncfs.c: Likewise.
51240 * misc/syscall.c: Likewise.
51241 * misc/truncate.c: Likewise.
51242 * misc/ualarm.c: Likewise.
51243 * misc/usleep.c: Likewise.
51244 * misc/ustat.c: Likewise.
51245 * misc/utimes.c: Likewise.
51246 * misc/vhangup.c: Likewise.
51247 * misc/writev.c: Likewise.
51248 * posix/_exit.c: Likewise.
51249 * posix/alarm.c: Likewise.
51250 * posix/execve.c: Likewise.
51251 * posix/fexecve.c: Likewise.
51252 * posix/fork.c: Likewise.
51253 * posix/fpathconf.c: Likewise.
51254 * posix/getaddrinfo.c: Likewise.
51255 * posix/getegid.c: Likewise.
51256 * posix/geteuid.c: Likewise.
51257 * posix/getgid.c: Likewise.
51258 * posix/getgroups.c: Likewise.
51259 * posix/getlogin.c: Likewise.
51260 * posix/getlogin_r.c: Likewise.
51261 * posix/getpgid.c: Likewise.
51262 * posix/getpid.c: Likewise.
51263 * posix/getppid.c: Likewise.
51264 * posix/getresgid.c: Likewise.
51265 * posix/getresuid.c: Likewise.
51266 * posix/getsid.c: Likewise.
51267 * posix/getuid.c: Likewise.
51268 * posix/glob64.c: Likewise.
51269 * posix/nanosleep.c: Likewise.
51270 * posix/pathconf.c: Likewise.
51271 * posix/pause.c: Likewise.
51272 * posix/posix_madvise.c: Likewise.
51273 * posix/pread.c: Likewise.
51274 * posix/pread64.c: Likewise.
51275 * posix/pwrite.c: Likewise.
51276 * posix/pwrite64.c: Likewise.
51277 * posix/sched_getaffinity.c: Likewise.
51278 * posix/sched_getp.c: Likewise.
51279 * posix/sched_gets.c: Likewise.
51280 * posix/sched_primax.c: Likewise.
51281 * posix/sched_primin.c: Likewise.
51282 * posix/sched_rr_gi.c: Likewise.
51283 * posix/sched_setaffinity.c: Likewise.
51284 * posix/sched_setp.c: Likewise.
51285 * posix/sched_sets.c: Likewise.
51286 * posix/sched_yield.c: Likewise.
51287 * posix/setgid.c: Likewise.
51288 * posix/setlogin.c: Likewise.
51289 * posix/setpgid.c: Likewise.
51290 * posix/setresgid.c: Likewise.
51291 * posix/setresuid.c: Likewise.
51292 * posix/setsid.c: Likewise.
51293 * posix/setuid.c: Likewise.
51294 * posix/sleep.c: Likewise.
51295 * posix/spawni.c: Likewise.
51296 * posix/sysconf.c: Likewise.
51297 * posix/times.c: Likewise.
51298 * posix/wait.c: Likewise.
51299 * posix/wait3.c: Likewise.
51300 * posix/wait4.c: Likewise.
51301 * posix/waitpid.c: Likewise.
51302 * resolv/gai_sigqueue.c: Likewise.
51303 * resource/getpriority.c: Likewise.
51304 * resource/getrlimit.c: Likewise.
51305 * resource/getrusage.c: Likewise.
51306 * resource/nice.c: Likewise.
51307 * resource/setpriority.c: Likewise.
51308 * resource/setrlimit.c: Likewise.
51309 * resource/ulimit.c: Likewise.
51310 * rt/aio_cancel.c: Likewise.
51311 * rt/aio_fsync.c: Likewise.
51312 * rt/aio_read.c: Likewise.
51313 * rt/aio_sigqueue.c: Likewise.
51314 * rt/aio_suspend.c: Likewise.
51315 * rt/aio_write.c: Likewise.
51316 * rt/clock_getres.c: Likewise.
51317 * rt/clock_gettime.c: Likewise.
51318 * rt/clock_nanosleep.c: Likewise.
51319 * rt/clock_settime.c: Likewise.
51320 * rt/lio_listio.c: Likewise.
51321 * rt/mq_close.c: Likewise.
51322 * rt/mq_getattr.c: Likewise.
51323 * rt/mq_notify.c: Likewise.
51324 * rt/mq_open.c: Likewise.
51325 * rt/mq_receive.c: Likewise.
51326 * rt/mq_send.c: Likewise.
51327 * rt/mq_setattr.c: Likewise.
51328 * rt/mq_timedreceive.c: Likewise.
51329 * rt/mq_timedsend.c: Likewise.
51330 * rt/mq_unlink.c: Likewise.
51331 * rt/shm_open.c: Likewise.
51332 * rt/shm_unlink.c: Likewise.
51333 * rt/timer_create.c: Likewise.
51334 * rt/timer_delete.c: Likewise.
51335 * rt/timer_getoverr.c: Likewise.
51336 * rt/timer_gettime.c: Likewise.
51337 * rt/timer_settime.c: Likewise.
51338 * setjmp/__longjmp.c: Likewise.
51339 * setjmp/setjmp.c: Likewise.
51340 * signal/kill.c: Likewise.
51341 * signal/killpg.c: Likewise.
51342 * signal/raise.c: Likewise.
51343 * signal/sigaction.c: Likewise.
51344 * signal/sigaltstack.c: Likewise.
51345 * signal/sigblock.c: Likewise.
51346 * signal/sigignore.c: Likewise.
51347 * signal/sigintr.c: Likewise.
51348 * signal/signal.c: Likewise.
51349 * signal/sigpause.c: Likewise.
51350 * signal/sigpending.c: Likewise.
51351 * signal/sigqueue.c: Likewise.
51352 * signal/sigreturn.c: Likewise.
51353 * signal/sigset.c: Likewise.
51354 * signal/sigsetmask.c: Likewise.
51355 * signal/sigstack.c: Likewise.
51356 * signal/sigsuspend.c: Likewise.
51357 * signal/sigtimedwait.c: Likewise.
51358 * signal/sigvec.c: Likewise.
51359 * signal/sigwait.c: Likewise.
51360 * signal/sigwaitinfo.c: Likewise.
51361 * signal/sysv_signal.c: Likewise.
51362 * socket/accept.c: Likewise.
51363 * socket/accept4.c: Likewise.
51364 * socket/bind.c: Likewise.
51365 * socket/connect.c: Likewise.
51366 * socket/getpeername.c: Likewise.
51367 * socket/getsockname.c: Likewise.
51368 * socket/getsockopt.c: Likewise.
51369 * socket/isfdtype.c: Likewise.
51370 * socket/listen.c: Likewise.
51371 * socket/recv.c: Likewise.
51372 * socket/recvfrom.c: Likewise.
51373 * socket/recvmsg.c: Likewise.
51374 * socket/send.c: Likewise.
51375 * socket/sendmsg.c: Likewise.
51376 * socket/sendto.c: Likewise.
51377 * socket/setsockopt.c: Likewise.
51378 * socket/shutdown.c: Likewise.
51379 * socket/sockatmark.c: Likewise.
51380 * socket/socket.c: Likewise.
51381 * socket/socketpair.c: Likewise.
51382 * stdio-common/ctermid.c: Likewise.
51383 * stdio-common/cuserid.c: Likewise.
51384 * stdio-common/remove.c: Likewise.
51385 * stdio-common/rename.c: Likewise.
51386 * stdio-common/renameat.c: Likewise.
51387 * stdio-common/tempname.c: Likewise.
51388 * stdlib/getcontext.c: Likewise.
51389 * stdlib/makecontext.c: Likewise.
51390 * stdlib/setcontext.c: Likewise.
51391 * stdlib/swapcontext.c: Likewise.
51392 * stdlib/system.c: Likewise.
51393 * streams/fattach.c: Likewise.
51394 * streams/fdetach.c: Likewise.
51395 * streams/getmsg.c: Likewise.
51396 * streams/getpmsg.c: Likewise.
51397 * streams/putmsg.c: Likewise.
51398 * streams/putpmsg.c: Likewise.
51399 * sysdeps/unix/bsd/getpt.c: Likewise.
51400 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
51401 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
51402 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
51403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51404 Likewise.
51405 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
51406 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51407 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
51408 * sysvipc/msgctl.c: Likewise.
51409 * sysvipc/msgget.c: Likewise.
51410 * sysvipc/msgrcv.c: Likewise.
51411 * sysvipc/msgsnd.c: Likewise.
51412 * sysvipc/semctl.c: Likewise.
51413 * sysvipc/semget.c: Likewise.
51414 * sysvipc/semop.c: Likewise.
51415 * sysvipc/semtimedop.c: Likewise.
51416 * sysvipc/shmat.c: Likewise.
51417 * sysvipc/shmctl.c: Likewise.
51418 * sysvipc/shmdt.c: Likewise.
51419 * sysvipc/shmget.c: Likewise.
51420 * termios/tcdrain.c: Likewise.
51421 * termios/tcflow.c: Likewise.
51422 * termios/tcflush.c: Likewise.
51423 * termios/tcgetattr.c: Likewise.
51424 * termios/tcgetpgrp.c: Likewise.
51425 * termios/tcsendbrk.c: Likewise.
51426 * termios/tcsetattr.c: Likewise.
51427 * termios/tcsetpgrp.c: Likewise.
51428 * time/adjtime.c: Likewise.
51429 * time/clock.c: Likewise.
51430 * time/getitimer.c: Likewise.
51431 * time/gettimeofday.c: Likewise.
51432 * time/setitimer.c: Likewise.
51433 * time/settimeofday.c: Likewise.
51434 * time/stime.c: Likewise.
51435 * time/time.c: Likewise.
51436
51437 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
51438
51439 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
51440 /usr/old/bin.
51441
51442 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
51443 instead of spaces.
51444 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
51445
51446 2012-11-03 Joseph Myers <joseph@codesourcery.com>
51447
51448 [BZ #14796]
51449 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
51450 FE_TONEAREST before applying Dekker multiplication and Knuth
51451 addition. Clear inexact exceptions and check for exact zero
51452 results afterwards.
51453 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51454 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51455 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51456 * math/libm-test.inc (fma_test): Add more tests.
51457 (fma_test_towardzero): Likewise.
51458 (fma_test_downward): Likewise.
51459 (fma_test_upward): Likewise.
51460 * sysdeps/generic/math_private.h (default_libc_fesetround): New
51461 function.
51462 (libc_fesetround): New macro.
51463 (libc_fesetroundf): Likewise.
51464 (libc_fesetroundl): Likewise.
51465 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
51466 function.
51467 (libc_fesetround_387): Likewise.
51468 (libc_fesetroundf): New macro.
51469 (libc_fesetround): Likewise.
51470 (libc_fesetroundl): Likewise.
51471 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
51472 function.
51473 (libc_fesetroundf): New macro.
51474 (libc_fesetround): Likewise.
51475 (libc_fesetroundl): Likewise.
51476 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
51477 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
51478 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
51479 libm_hidden_ver.
51480 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
51481 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
51482 libm_hidden_def.
51483 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
51484 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
51485 libm_hidden_ver.
51486 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
51487 libm_hidden_def.
51488
51489 [BZ #3439]
51490 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
51491 integer constant usable in #if and use that to give value to enum
51492 constant.
51493 (FE_DIVBYZERO): Likewise.
51494 (FE_UNDERFLOW): Likewise.
51495 (FE_OVERFLOW): Likewise.
51496 (FE_INVALID): Likewise.
51497 (FE_INVALID_SNAN): Likewise.
51498 (FE_INVALID_ISI): Likewise.
51499 (FE_INVALID_IDI): Likewise.
51500 (FE_INVALID_ZDZ): Likewise.
51501 (FE_INVALID_IMZ): Likewise.
51502 (FE_INVALID_COMPARE): Likewise.
51503 (FE_INVALID_SOFTWARE): Likewise.
51504 (FE_INVALID_SQRT): Likewise.
51505 (FE_INVALID_INTEGER_CONVERSION): Likewise.
51506 (FE_TONEAREST): Likewise.
51507 (FE_TOWARDZERO): Likewise.
51508 (FE_UPWARD): Likewise.
51509 (FE_DOWNWARD): Likewise.
51510 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
51511 (FE_DIVBYZERO): Likewise.
51512 (FE_OVERFLOW): Likewise.
51513 (FE_UNDERFLOW): Likewise.
51514 (FE_INEXACT): Likewise.
51515 (FE_TONEAREST): Likewise.
51516 (FE_DOWNWARD): Likewise.
51517 (FE_UPWARD): Likewise.
51518 (FE_TOWARDZERO): Likewise.
51519 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
51520 (FE_UNDERFLOW): Likewise.
51521 (FE_OVERFLOW): Likewise.
51522 (FE_DIVBYZERO): Likewise.
51523 (FE_INVALID): Likewise.
51524 (FE_TONEAREST): Likewise.
51525 (FE_TOWARDZERO): Likewise.
51526 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
51527 (FE_OVERFLOW): Likewise.
51528 (FE_UNDERFLOW): Likewise.
51529 (FE_DIVBYZERO): Likewise.
51530 (FE_INEXACT): Likewise.
51531 (FE_TONEAREST): Likewise.
51532 (FE_TOWARDZERO): Likewise.
51533 (FE_UPWARD): Likewise.
51534 (FE_DOWNWARD): Likewise.
51535 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
51536 (FE_DIVBYZERO): Likewise.
51537 (FE_OVERFLOW): Likewise.
51538 (FE_UNDERFLOW): Likewise.
51539 (FE_INEXACT): Likewise.
51540 (FE_TONEAREST): Likewise.
51541 (FE_DOWNWARD): Likewise.
51542 (FE_UPWARD): Likewise.
51543 (FE_TOWARDZERO): Likewise.
51544
51545 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
51546
51547 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
51548
51549 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
51550
51551 * scripts/cross-test-ssh.sh (command): Use newlines to separate
51552 commands. Quote $PWD.
51553 (blacklist_exports): Don't use remove_newlines. Replace "declare
51554 -x" by "export".
51555 (remove_newlines): Remove.
51556
51557 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
51558
51559 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
51560 * stdlib/stdlib.h (atof): Moved to ...
51561 * include/bits/stdlib-float.h: Here. New file.
51562 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
51563 * stdlib/bits/stdlib-float.h: New file.
51564 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
51565 -mno-sse -mno-mmx.
51566 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
51567 <xmmintrin.h>.
51568
51569 2012-11-02 Joseph Myers <joseph@codesourcery.com>
51570
51571 * conform/conformtest.pl (@headers): Add fenv.h.
51572 * conform/data/fenv.h-data: New file.
51573 * include/fenv.h [_ISOMAC]: Disable all contents of file except
51574 include of <math/fenv.h>.
51575
51576 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
51577 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
51578 && !UNIX98]. Enables tests for XOPEN2K8.
51579 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
51580 POSIX2008]: Likewise.
51581
51582 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
51583 (struct rusage): Do not expect type or its members.
51584
51585 [BZ #3439]
51586 * math/math.h (FP_NAN): Define macro to integer constant usable in
51587 #if and use that to give value to enum constant.
51588 (FP_INFINITE): Likewise.
51589 (FP_ZERO): Likewise.
51590 (FP_SUBNORMAL): Likewise.
51591 (FP_NORMAL): Likewise.
51592
51593 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
51594
51595 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
51596 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
51597 arguments.
51598
51599 2012-11-02 Roland McGrath <roland@hack.frob.com>
51600
51601 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
51602 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
51603 autoconf-time if not.
51604 * configure.in: Remove AC_PREREQ.
51605
51606 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51607
51608 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
51609 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
51610 of the internal implementation.
51611
51612 2012-11-02 Joseph Myers <joseph@codesourcery.com>
51613
51614 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
51615 except include of <misc/sys/syslog.h>.
51616
51617 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
51618
51619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
51620 function returns with a NULL context exit with zero.
51621
51622 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51623
51624 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
51625
51626 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
51627
51628 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
51629 (run_program_cmd): This.
51630 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
51631 (tst_langinfo): New variable. Use it.
51632
51633 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
51634
51635 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
51636 floating point opcodes.
51637
51638 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
51639
51640 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
51641 variable.
51642
51643 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
51644
51645 * sysdeps/mach/hurd/powerpc: Remove directory.
51646 * sysdeps/mach/powerpc: Likewise.
51647
51648 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
51649
51650 * scripts/check-local-headers.sh: Ignore c++ headers.
51651
51652 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
51653
51654 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
51655 __libc_cleanup_region_start argument.
51656
51657 2012-11-01 Joseph Myers <joseph@codesourcery.com>
51658
51659 [BZ #14784]
51660 [BZ #14785]
51661 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
51662 x * y using scaling, not as x * y + z.
51663 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51664 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51665 * math/libm-test.inc (fma_test): Add more tests.
51666 (fma_test_towardzero): Likewise.
51667 (fma_test_downward): Likewise.
51668 (fma_test_upward): Likewise.
51669
51670 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
51671
51672 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
51673
51674 2012-10-31 Joseph Myers <joseph@codesourcery.com>
51675
51676 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
51677 New variable.
51678
51679 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
51680
51681 * rt/tst-shm.c (worker): Correct checking for mmap failure.
51682
51683 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
51684
51685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51686 Fix sort order.
51687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51688 Likewise.
51689
51690 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51691
51692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51693 Fix the order of the list for glibc 2.17.
51694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51695 Likewise.
51696
51697 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
51698
51699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51700
51701 2012-10-31 Joseph Myers <joseph@codesourcery.com>
51702
51703 [BZ #14610]
51704 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
51705 for low part of x being zero before using __atanl (y).
51706 * math/libm-test.inc (atan2_test): Add another test.
51707
51708 * manual/install.texi (Configuring and compiling): Document
51709 general use of test-wrapper and test-wrapper-env.
51710 * INSTALL: Regenerated.
51711
51712 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
51713 (__fma): Do not extract and scale down low bits on after-rounding
51714 systems when result rounded to normal precision would have normal
51715 exponent.
51716 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
51717 (__fmal): Do not extract and scale down low bits on after-rounding
51718 systems when result rounded to normal precision would have normal
51719 exponent.
51720 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
51721 (__fmal): Do not extract and scale down low bits on after-rounding
51722 systems when result rounded to normal precision would have normal
51723 exponent.
51724 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
51725 macro.
51726 (fma_test): Add more tests.
51727 (fma_test_towardzero): Likewise.
51728 (fma_test_downward): Likewise.
51729 (fma_test_upward): Likewise.
51730
51731 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
51732
51733 * sysdeps/i386/tininess.h: Renamed to ...
51734 * sysdeps/x86/tininess.h: This.
51735 * sysdeps/x86_64/tininess.h: Removed.
51736
51737 2012-10-30 Joseph Myers <joseph@codesourcery.com>
51738
51739 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
51740 input. Use $(build-program-cmd).
51741 ($(objpfx)tst-array1-static.out): Likewise.
51742 ($(objpfx)tst-array2.out): Likewise.
51743 ($(objpfx)tst-array3.out): Likewise.
51744 ($(objpfx)tst-array4.out): Likewise.
51745 ($(objpfx)tst-array5.out): Likewise.
51746 ($(objpfx)tst-array5-static.out): Likewise.
51747
51748 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
51749
51750 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
51751 if defined.
51752
51753 * nss/nsswitch.h (nss_interface_function): Provide new
51754 macro for use with NSS functions.
51755 * grp/initgroups.c: Use new macro.
51756 * nss/getXXbyYY.c: Likewise.
51757 * nss/getXXbyYY_r.c: Likewise.
51758 * nss/getXXent.c: Likewise.
51759 * nss/getXXent_r.c: Likewise.
51760 * sysdeps/posix/getaddrinfo.c: Likewise.
51761
51762 2012-10-30 Andreas Jaeger <aj@suse.de>
51763
51764 * po/ru.po: Update Russion translation from translation project.
51765
51766 2012-10-30 Joseph Myers <joseph@codesourcery.com>
51767
51768 [BZ #14152]
51769 [BZ #14783]
51770 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
51771 result and shift together with sticky bit instead of replicating
51772 round-to-nearest rounding.
51773 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51774 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51775 * math/libm-test.inc (fma_test): Add more tests. Do not permit
51776 missing underflow exceptions.
51777 (fma_test_towardzero): Add more tests.
51778 (fma_test_downward): Likewise.
51779 (fma_test_upward): Likewise.
51780
51781 [BZ #14047]
51782 * sysdeps/generic/tininess.h: New file.
51783 * sysdeps/i386/tininess.h: Likewise.
51784 * sysdeps/sh/tininess.h: Likewise.
51785 * sysdeps/x86_64/tininess.h: Likewise.
51786 * stdlib/tst-strtod-underflow.c: Likewise.
51787 * stdlib/tst-tininess.c: Likewise.
51788 * stdlib/strtod_l.c: Include <tininess.h>.
51789 (round_and_return): Do not set errno for exact underflow cases.
51790 Force an underflow exception when setting errno for underflow.
51791 Determine underflow based on rounding to normal precision if
51792 TININESS_AFTER_ROUNDING.
51793 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
51794 ERANGE for exact underflow cases.
51795 * stdlib/Makefile (tests): Add tst-tininess and
51796 tst-strtod-underflow.
51797 ($(objpfx)tst-tininess): Use $(link-libm).
51798 ($(objpfx)tst-strtod-underflow): Likewise.
51799
51800 2012-10-30 Andreas Jaeger <aj@suse.de>
51801
51802 [BZ#14767]
51803 * elf/Makefile (tests): Remove conditional for have-initfini-array
51804 since this is now always required and the variable does not exist
51805 anymore.
51806 (tests-static): Likewise.
51807 (modules-names): Likewise.
51808
51809 * po/eo.po: Add Esperanto translation from translation project.
51810
51811 * elf/tst-array1.c (fini_array): Make writeable so that it can be
51812 merged with constructor/destructor.
51813 (init_array): Likewise.
51814 * elf/tst-array2dep.c (fini_array): Likewise.
51815 (init_array): Likewise.
51816
51817 2012-10-29 Mike Frysinger <vapier@gentoo.org>
51818
51819 * manual/message.texi: Delete @cartouche tags.
51820
51821 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
51822
51823 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
51824 EOPNOTSUPP.
51825 * sysdeps/mach/hurd/fsync.c: Likewise.
51826
51827 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
51828 [_POSIX_REALTIME_SIGNALS]: Change condition to
51829 [_POSIX_REALTIME_SIGNALS > 0].
51830
51831 2012-10-27 Andreas Jaeger <aj@suse.de>
51832
51833 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
51834 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
51835 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
51836 [__WORDSIZE != 64]: Likewise.
51837
51838 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
51839
51840 * iconvdata/tst-table.sh: Remove ${SHELL}.
51841 * iconvdata/tst-tables.sh: Likewise.
51842
51843 2012-10-25 David S. Miller <davem@davemloft.net>
51844
51845 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51846 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
51847 of strtoull.
51848
51849 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
51850 ifunc-impl-list.c
51851 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51852 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
51853 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
51854 file.
51855
51856 2012-10-25 Roland McGrath <roland@hack.frob.com>
51857
51858 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51859 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
51860 __getdirentries.
51861
51862 2012-10-25 Joseph Myers <joseph@codesourcery.com>
51863 Jim Blandy <jimb@codesourcery.com>
51864
51865 * scripts/cross-test-ssh.sh: New file.
51866 * manual/install.texi (Configuring and compiling): Document use of
51867 cross-test-ssh.sh.
51868 * INSTALL: Regenerated.
51869
51870 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
51871
51872 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
51873 EOPNOTSUPP.
51874
51875 2012-10-25 Joseph Myers <joseph@codesourcery.com>
51876
51877 * Makeconfig (run-program-prefix): Fix comment.
51878
51879 2012-10-24 Joseph Myers <joseph@codesourcery.com>
51880 Jim Blandy <jimb@codesourcery.com>
51881
51882 * Makeconfig (test-wrapper): New variable,
51883 (test-wrapper-env): Likewise.
51884 [$(cross-compiling) = yes && $(test-wrapper) != ""]
51885 (run-built-tests): Define to yes.
51886 (run-program-prefix): Use $(test-wrapper).
51887 (built-program-cmd): Likewise.
51888 * Rules (make-test-out): Use $(test-wrapper-env) and
51889 $(host-built-program-cmd).
51890 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
51891 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
51892 tst-pathopt.sh.
51893 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
51894 $(test-wrapper-env) to tst-rtld-load-self.sh.
51895 ($(objpfx)order2.out): Use $(test-wrapper).
51896 ($(objpfx)tst-initorder.out): Likewise.
51897 ($(objpfx)tst-initorder2.out): Likewise.
51898 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
51899 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
51900 (test_wrapper_env): New variable. Use it to run ld.so.
51901 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
51902 Use it to run ld.so.
51903 (test_wrapper_env): Likewise.
51904 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
51905 $(test-wrapper) to run-iconv-test.sh.
51906 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
51907 (ICONV): Use $test_wrapper.
51908 * posix/Makefile ($(objpfx)globtest.out): Pass
51909 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
51910 globtest.sh, not $(run-program-prefix).
51911 * posix/globtest.sh (run_via_rtld_prefix): New variable.
51912 (test_wrapper): Likewise.
51913 (test_wrapper_env): Likewise. Use it to run globtest with HOME
51914 set together with run_via_rtld_prefix.
51915 (run_program_prefix): Define in terms of test_wrapper and
51916 run_via_rtld_prefix.
51917
51918 2012-10-24 Roland McGrath <roland@hack.frob.com>
51919
51920 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
51921 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
51922 Targets removed.
51923
51924 [BZ #14743]
51925 * include/time.h: Remove librt_hidden_proto (clock_gettime).
51926 Declare __clock_getres, __clock_gettime, __clock_settime,
51927 __clock_nanosleep, and __clock_getcpuclockid.
51928 * rt/clock_gettime.c: Define __clock_gettime as an alias.
51929 Remove librt_hidden_def (clock_gettime).
51930 * sysdeps/unix/clock_gettime.c: Likewise.
51931 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
51932 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
51933 * rt/clock_getres.c: Define __clock_getres as an alias.
51934 * sysdeps/posix/clock_getres.c: Likewise.
51935 * rt/clock_settime.c: Define __clock_settime as an alias.
51936 * sysdeps/unix/clock_settime.c: Likewise.
51937 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
51938 * sysdeps/unix/clock_nanosleep.c: Likewise.
51939 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
51940 * rt/clock-compat.c: New file.
51941 * rt/Makefile (librt-routines): Add clock-compat and move
51942 $(clock-routines) to ...
51943 (routines): ... here, new variable.
51944 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
51945 Don't add get_clockfreq here.
51946 * rt/Versions (libc: GLIBC_2.17): New version set.
51947 Add clock_* symbols here.
51948 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
51949 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
51950 (GLIBC_2.17): Add clock_* symbols.
51951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
51952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
51953 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51955 Likewise.
51956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51957 Likewise.
51958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
51960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
51961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
51962 * NEWS: Mention the move.
51963
51964 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
51965 Use __open, __read, __close rather than their public counterparts.
51966 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51967 (__get_clockfreq_via_cpuinfo): Likewise.
51968 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
51969 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
51970
51971 * config.h.in (HAVE_IFUNC): New #undef.
51972 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
51973 was successful.
51974 * configure: Regenerated.
51975
51976 2012-10-24 Mike Frysinger <vapier@gentoo.org>
51977
51978 * configure.in: Move READELF check to start of file.
51979 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
51980 libc_cv_asm_gnu_indirect_function in the process.
51981 * configure: Regenerated.
51982
51983 2012-10-24 Mike Frysinger <vapier@gentoo.org>
51984
51985 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
51986 send the output to /dev/null.
51987 (libc_cv_cc_with_libunwind): Likewise.
51988 (libc_cv_as_noexecstack): Likewise.
51989 * configure: Regenerate.
51990
51991 2012-10-24 Joseph Myers <joseph@codesourcery.com>
51992
51993 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
51994
51995 * posix/globtest.sh (TMPDIR): Do not set.
51996 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
51997 (testout): Likewise.
51998
51999 2012-10-24 Andreas Jaeger <aj@suse.de>
52000
52001 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
52002 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
52003 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
52004 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
52005 posix_fadvise64, posix_fallocate64.
52006
52007 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
52008 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
52009 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
52010 Likewise.
52011 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
52012 Likewise.
52013 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
52014
52015 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
52016 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
52017 <bits/fcntl-linux.h>.
52018 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
52019
52020 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
52021 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
52022 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
52023 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
52024 [__WORDSIZE != 64]: Likewise.
52025
52026 2012-10-23 Joseph Myers <joseph@codesourcery.com>
52027
52028 * Makeconfig (run-built-tests): New variable.
52029 * Rules [$(cross-compiling) = yes]: Change condition to
52030 [$(run-built-tests) = no].
52031 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
52032 to [$(run-built-tests) = yes].
52033 * elf/Makefile [$(cross-compiling) = no]: Likewise.
52034 * grp/Makefile [$(cross-compiling) = no]: Likewise.
52035 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
52036 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
52037 * intl/Makefile [$(cross-compiling) = no]: Likewise.
52038 * io/Makefile [$(cross-compiling) = no]: Likewise.
52039 * libio/Makefile [$(cross-compiling) = no]: Likewise.
52040 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
52041 * misc/Makefile [$(cross-compiling) = no]: Likewise.
52042 * posix/Makefile [$(cross-compiling) = no]: Likewise.
52043 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
52044 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
52045 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
52046 * string/Makefile [$(cross-compiling) = no]: Likewise.
52047
52048 * posix/Makefile ($(objpfx)globtest.out): Pass
52049 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
52050 $(rtld-installed-name).
52051 * posix/globtest.sh (elf_objpfx): Remove variable.
52052 (rtld_installed_name): Likewise.
52053 (library_path): Likewise.
52054 (run_program_prefix): New variable. Use for running globtest
52055 binary.
52056
52057 2012-10-23 Jim Blandy <jimb@codesourcery.com>
52058 Joseph Myers <joseph@codesourcery.com>
52059
52060 * Makeconfig (host-built-program-cmd): New variable.
52061 * elf/Makefile (tst-stackguard1-ARGS): Use
52062 $(host-built-program-cmd).
52063 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
52064 (tst-spawn-ARGS): Likewise.
52065 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
52066
52067 2012-10-23 Joseph Myers <joseph@codesourcery.com>
52068 Jim Blandy <jimb@codesourcery.com>
52069
52070 * Makeconfig (run-via-rtld-prefix): New variable.
52071 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
52072 (built-program-cmd): Likewise.
52073
52074 2012-10-22 Andreas Jaeger <aj@suse.de>
52075
52076 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
52077 __O_RSYNC if it exists, otherwise to O_SYNC.
52078
52079 2012-10-22 Jim Blandy <jimb@codesourcery.com>
52080 Joseph Myers <joseph@codesourcery.com>
52081
52082 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
52083 /dev/null.
52084 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
52085 from /dev/null
52086 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
52087 /dev/null.
52088
52089 2012-10-22 Andreas Jaeger <aj@suse.de>
52090
52091 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
52092 Define always.
52093 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
52094
52095 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52096 bits/fcntl-linux.h.
52097
52098 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
52099 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
52100
52101 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
52102 to __O_LARGEFILE.
52103 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
52104 to __O_LARGEFILE.
52105
52106 2012-10-21 Jim Blandy <jimb@codesourcery.com>
52107 Joseph Myers <joseph@codesourcery.com>
52108
52109 * config.make.in (NM): New variable.
52110
52111 2012-10-21 Andreas Jaeger <aj@suse.de>
52112
52113 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
52114 definitions and declarations that are provided by
52115 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
52116
52117 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
52118
52119 [BZ #14683]
52120 * elf/Makefile (tests-static): Add tst-leaks1-static.
52121 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
52122 ($(objpfx)tst-leaks1-static): New rule.
52123 ($(objpfx)tst-leaks1-static-mem): Likewise.
52124 (tst-leaks1-static-ENV): New macro.
52125 * elf/dl-open.c (dl_open_worker): Check the main application
52126 only if SHARED is defined.
52127 * elf/tst-leaks1-static.c: New file.
52128
52129 2012-10-20 Andreas Jaeger <aj@suse.de>
52130
52131 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
52132 generic values for Linux.
52133 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
52134 and declarations that are provided by <bits/fcntl-linux.h> and
52135 include <bits/fcntl-linux.h>.
52136 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52137 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52138
52139 2012-10-20 Roland McGrath <roland@hack.frob.com>
52140
52141 * io/fcntl.h: Move include of <bits/types.h> to the top and
52142 include it unconditionally.
52143
52144 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
52145
52146 * wcsmbs/Makefile (tests-ifunc): New variable.
52147 (tests): Add $(tests-ifunc).
52148 * wcsmbs/test-wcschr-ifunc.c: New file.
52149 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
52150 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
52151 * wcsmbs/test-wcslen-ifunc.c: Likewise.
52152 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
52153 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
52154
52155 * string/Makefile (tests-ifunc): New variable.
52156 (tests): Add $(tests-ifunc).
52157 * string/test-memccpy.c (TEST_NAME): New macro.
52158 * string/test-memchr.c (TEST_NAME): Likewise.
52159 * string/test-memcmp.c (TEST_NAME): Likewise.
52160 * string/test-memcpy.c (TEST_NAME): Likewise.
52161 * string/test-memmem.c (TEST_NAME): Likewise.
52162 * string/test-memmove.c (TEST_NAME): Likewise.
52163 * string/test-memset.c (TEST_NAME): Likewise.
52164 * string/test-rawmemchr.c (TEST_NAME): Likewise.
52165 * string/test-stpcpy.c (TEST_NAME): Likewise.
52166 * string/test-stpncpy.c (TEST_NAME): Likewise.
52167 * string/test-strcasecmp.c (TEST_NAME): Likewise.
52168 * string/test-strcasestr.c (TEST_NAME): Likewise.
52169 * string/test-strcat.c (TEST_NAME): Likewise.
52170 * string/test-strchr.c (TEST_NAME): Likewise.
52171 * string/test-strcmp.c(TEST_NAME): Likewise.
52172 * string/test-strcpy.c (TEST_NAME): Likewise.
52173 * string/test-strcspn.c (TEST_NAME): Likewise.
52174 * string/test-strlen.c (TEST_NAME): Likewise.
52175 * string/test-strncasecmp.c (TEST_NAME): Likewise.
52176 * string/test-strncmp.c (TEST_NAME): Likewise.
52177 * string/test-strncpy.c (TEST_NAME): Likewise.
52178 * string/test-strnlen.c (TEST_NAME): Likewise.
52179 * string/test-strpbrk.c (TEST_NAME): Likewise.
52180 * string/test-strrchr.c (TEST_NAME): Likewise.
52181 * string/test-strspn.c (TEST_NAME): Likewise.
52182 * string/test-strstr.c (TEST_NAME): Likewise.
52183 * string/test-bcopy-ifunc.c: New file.
52184 * string/test-bzero-ifunc.c: Likewise.
52185 * string/test-memccpy-ifunc.c: Likewise.
52186 * string/test-memchr-ifunc.c: Likewise.
52187 * string/test-memcmp-ifunc.c: Likewise.
52188 * string/test-memcpy-ifunc.c: Likewise.
52189 * string/test-memmem-ifunc.c: Likewise.
52190 * string/test-memmove-ifunc.c: Likewise.
52191 * string/test-mempcpy-ifunc.c: Likewise.
52192 * string/test-memset-ifunc.c: Likewise.
52193 * string/test-rawmemchr-ifunc.c: Likewise.
52194 * string/test-stpcpy-ifunc.c: Likewise.
52195 * string/test-stpncpy-ifunc.c: Likewise.
52196 * string/test-strcasecmp-ifunc.c: Likewise.
52197 * string/test-strcasestr-ifunc.c: Likewise.
52198 * string/test-strcat-ifunc.c: Likewise.
52199 * string/test-strchr-ifunc.c: Likewise.
52200 * string/test-strchrnul-ifunc.c: Likewise.
52201 * string/test-strcmp-ifunc.c: Likewise.
52202 * string/test-strcpy-ifunc.c: Likewise.
52203 * string/test-strcspn-ifunc.c: Likewise.
52204 * string/test-strlen-ifunc.c: Likewise.
52205 * string/test-strncasecmp-ifunc.c: Likewise.
52206 * string/test-strncat-ifunc.c: Likewise.
52207 * string/test-strncmp-ifunc.c: Likewise.
52208 * string/test-strncpy-ifunc.c: Likewise.
52209 * string/test-strnlen-ifunc.c: Likewise.
52210 * string/test-strpbrk-ifunc.c: Likewise.
52211 * string/test-strrchr-ifunc.c: Likewise.
52212 * string/test-strspn-ifunc.c: Likewise.
52213 * string/test-strstr-ifunc.c: Likewise.
52214
52215 * debug/Makefile (tests-ifunc): New variable.
52216 (tests): Add $(tests-ifunc).
52217 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
52218 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
52219 * debug/test-stpcpy_chk-ifunc.c: New file.
52220 * debug/test-strcpy_chk-ifunc.c: Likewise.
52221
52222 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
52223
52224 [BZ #13601]
52225 * elf/dl-load.c (open_verify): Retry read if the entire ELF
52226 header is not read in.
52227
52228 2012-10-19 Joseph Myers <joseph@codesourcery.com>
52229
52230 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
52231 script to $(SHELL) as $<. Pass $(common-objpfx) to script
52232 directly. Pass built executable to script as
52233 $(built-program-cmd).
52234 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
52235 $testprogram without using LD_LIBRARY_PATH and $ldso.
52236
52237 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
52238 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
52239 $(rtld-installed-name).
52240 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
52241 (rtld_installed_name): Likewise.
52242 (library_path): Likewise.
52243 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
52244 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
52245 $(run-program-prefix) to tst-tables.sh.
52246 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
52247 it to run tst-table-from and tst-table-to.
52248 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
52249 Pass it to tst-table.sh.
52250 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
52251 $(run-program-prefix) to tst-gettext.sh.
52252 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
52253 tst-translit.sh.
52254 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
52255 tst-gettext2.sh.
52256 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
52257 to run tst-gettext.
52258 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
52259 to run tst-gettext2.
52260 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
52261 to run tst-translit.
52262 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
52263 $(run-program-prefix) to tst-mtrace.sh.
52264 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
52265 to run tst-mtrace.
52266 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
52267 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
52268 $(rtld-installed-name).
52269 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
52270 (rtld_installed_name): Likewise.
52271 (run_program_prefix): New variable. Use it to run wordexp-test.
52272
52273 * Makeconfig (ARCH): Remove all definitions.
52274 (machine): Likewise.
52275 [ARCH]: Remove conditional code.
52276 [!objdir]: Give error.
52277 [!objdir] (objpfx): Remove.
52278 [!objdir] (common-objpfx): Likewise.
52279 [!objdir] (common-objdir): Likewise.
52280 * configure.in (config_makefile): Remove. Hardcode Makefile in
52281 AC_CONFIG_FILES call.
52282 * configure: Regenerated.
52283
52284 [BZ #13888]
52285 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
52286 or TMPDIR.
52287 (testout): Likewise.
52288
52289 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
52290 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
52291 $(rtld-installed-name).
52292 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
52293 (rtld_installed_name): Likwise.
52294 (runit): Remove function.
52295 (run_getconf): New variable, Use it for running getconf binary.
52296
52297 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
52298
52299 [BZ #14716]
52300 * string/test-memmem.c (check_result): New function.
52301 (do_one_test): Use it.
52302 (check1): New function.
52303 (test_main): Use it.
52304
52305 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
52306
52307 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
52308
52309 2012-10-18 Joseph Myers <joseph@codesourcery.com>
52310
52311 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
52312 (_G_LSEEK64): Likewise.
52313 (_G_MMAP64): Likewise.
52314 (_G_FSTAT64): Likewise.
52315 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
52316 (_G_LSEEK64): Likewise.
52317 (_G_MMAP64): Likewise.
52318 (_G_FSTAT64): Likewise.
52319 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
52320 unconditional. Call __mmap64 directly.
52321 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
52322 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
52323 __lseek64 directly.
52324 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
52325 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
52326 __mmap64 directly.
52327 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
52328 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
52329 __lseek64 directly.
52330 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
52331 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
52332 __lseek64 directly.
52333 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
52334 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
52335 __lseek64 directly.
52336 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
52337 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
52338 __fxstat64 directly.
52339 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
52340 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
52341 unconditional.
52342 (freopen64) [!_G_OPEN64]: Remove conditional code.
52343 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
52344 unconditional.
52345 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
52346 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
52347 unconditional.
52348 (ftello64) [!_G_LSEEK64]: Remove conditional code.
52349 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
52350 unconditional.
52351 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
52352 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
52353 unconditional.
52354 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
52355 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
52356 unconditional.
52357 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
52358 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
52359 unconditional.
52360 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
52361 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
52362 unconditional.
52363 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
52364
52365 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
52366
52367 [BZ #12140]
52368 * manual/memory.texi (Malloc Tunable Parameters): Add note
52369 about free list pointers overwriting some perturb bytes.
52370 Wording suggested by Roland McGrath.
52371
52372 2012-10-17 Joseph Myers <joseph@codesourcery.com>
52373
52374 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
52375 (lgamma_test): Likewise.
52376 (tgamma_test): Likewise.
52377
52378 2012-10-16 Florian Weimer <fweimer@redhat.com>
52379
52380 [BZ #14700]
52381 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
52382 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
52383
52384 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
52385
52386 * NEWS: Mention BZ #14716.
52387 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
52388 when removing AVAILABLE1_USES_J macro.
52389
52390 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
52391
52392 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
52393 (__bswap_64): __uint64_t for unsigned 64-bit int.
52394
52395 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
52396
52397 * include/string.h (memmem): Declare libc hidden alias.
52398 * string/memmem.c (memmem): Define libc hidden alias.
52399 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
52400 __read, __close instead of open, read, close.
52401
52402 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
52403
52404 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
52405 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
52406 global and hidden.
52407 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
52408 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
52409 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
52410 Likewise.
52411 (__rawmemchr_sse2): Likewise.
52412 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
52413 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
52414 (__strchr_sse2): Likewise.
52415 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
52416 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
52417 (__strcasecmp_sse2): Likewise.
52418 (__strncasecmp_sse2): Likewise.
52419 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
52420 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
52421 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
52422 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
52423 (__strrchr_sse2): Likewise.
52424 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
52425 ifunc-impl-list.c.
52426 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
52427 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
52428 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
52429 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52430 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
52431 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
52432 * sysdeps/x86_64/multiarch/memset.S: Likewise.
52433 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52434 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
52435 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
52436 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
52437 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
52438 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
52439 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
52440 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
52441 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
52442 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
52443 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
52444 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
52445 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
52446 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
52447 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
52448 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
52449 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52450 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
52451 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52452 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
52453 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
52454 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
52455 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
52456
52457 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
52458 global and hidden.
52459 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
52460 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
52461 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
52462 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
52463 Likewise.
52464 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
52465 Likewise.
52466 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
52467 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
52468 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
52469 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
52470 ifunc-impl-list.c.
52471 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52472 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52473 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52474 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52475 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52476 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52477 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52478 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52479 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52480 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52481 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52482 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52483 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52484 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
52485 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
52486 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52487 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
52488 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
52489 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52490 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52491 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52492 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52493 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52494 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52495 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52496 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
52497 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
52498 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
52499 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
52500 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52501 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
52502 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52503 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52504 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
52505 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52506 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52507 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52508 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52509 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52510 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52511 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
52512
52513 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
52514 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
52515 * include/ifunc-impl-list.h: New file.
52516 * misc/ifunc-impl-list.c: Likewise.
52517 * misc/Makefile (routines): Add ifunc-impl-list.
52518 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
52519 * string/test-string.h: Include <ifunc-impl-list.h>.
52520 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
52521 TEST_NAME]: New variables.
52522 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
52523 are defined.
52524 (test_init): Call __libc_ifunc_impl_list to initialize
52525 func_list if TEST_IFUNC and TEST_NAME are defined.
52526
52527 * string/Makefile (strop-tests): Add bcopy and bzero.
52528 * string/test-bcopy.c: New file.
52529 * string/test-bzero.c: Likewise.
52530 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
52531 defined.
52532 * string/test-memset.c: Support bzero test if TEST_BZERO is
52533 defined.
52534 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
52535 __libc_memmove.
52536 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
52537 __libc_memset.
52538 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
52539 of memset.
52540
52541 2012-10-10 Joseph Myers <joseph@codesourcery.com>
52542
52543 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
52544 * configure: Regenerated.
52545
52546 * Makeconfig (+link-static-before-libc): Don't include
52547 $(link-static-libc).
52548
52549 * libio/libio.h (_IO_pos_t): Remove.
52550
52551 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
52552
52553 * NEWS: Add note about FIPS mode. Wording suggested by Roland
52554 McGrath.
52555
52556 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
52557
52558 * crypt/crypt-entry.c: Include fips-private.h.
52559 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
52560 * crypt/md5c-test.c (main): Tolerate disabled MD5.
52561 * sysdeps/unix/sysv/linux/fips-private.h: New file.
52562 * sysdeps/generic/fips-private.h: New file, dummy fallback.
52563
52564 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
52565
52566 * crypt/crypt-private.h: Include stdbool.h.
52567 (_ufc_setup_salt_r): Return bool.
52568 * crypt/crypt-entry.c: Include errno.h.
52569 (__crypt_r): Return NULL with EINVAL for bad salt.
52570 * crypt/crypt_util.c (bad_for_salt): New.
52571 (_ufc_setup_salt_r): Check that salt is long enough and within
52572 the specified alphabet.
52573 * crypt/badsalttest.c: New file.
52574 * crypt/Makefile (tests): Add it.
52575 ($(objpfx)badsalttest): New.
52576
52577 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
52578
52579 * NEWS: Add entry for BZ #14602.
52580
52581 2012-10-09 Joseph Myers <joseph@codesourcery.com>
52582
52583 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
52584 type-generic.
52585 * math/libm-test.inc: Update comment listing what functions and
52586 macros are tested.
52587 (isgreater_test): New function.
52588 (isgreaterequal_test): Likewise.
52589 (isless_test): Likewise.
52590 (islessequal_test): Likewise.
52591 (islessgreater_test): Likewise.
52592 (isunordered_test): Likewise.
52593 (main): Call the new functions.
52594
52595 2012-10-09 Roland McGrath <roland@hack.frob.com>
52596
52597 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
52598 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
52599 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
52600 * sysdeps/i386/configure: Regenerated.
52601 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
52602 * sysdeps/mach/configure: Regenerated.
52603 * sysdeps/mach/hurd/configure: Regenerated.
52604 * sysdeps/powerpc/configure: Regenerated.
52605 * sysdeps/powerpc/powerpc32/configure: Regenerated.
52606 * sysdeps/powerpc/powerpc64/configure: Regenerated.
52607 * sysdeps/s390/s390-32/configure: Regenerated.
52608 * sysdeps/s390/s390-64/configure: Regenerated.
52609 * sysdeps/sh/configure: Regenerated.
52610 * sysdeps/sparc/configure: Regenerated.
52611 * sysdeps/unix/sysv/linux/configure: Regenerated.
52612 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
52613 * sysdeps/x86_64/configure: Regenerated.
52614
52615 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
52616 defined. Don't check if MAP is NULL.
52617
52618 2012-10-09 Joseph Myers <joseph@codesourcery.com>
52619
52620 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
52621 (_G_stat64): Likewise.
52622 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
52623 (_G_stat64): Likewise.
52624 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
52625 instead of struct _G_stat64.
52626 * libio/fileops.c (mmap_remap_check): Likewise.
52627 (decide_maybe_mmap): Likewise.
52628 (_IO_new_file_seekoff): Likewise.
52629 (_IO_file_stat): Likewise.
52630 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
52631 _G_off64_t.
52632 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
52633 instead of struct _G_stat64.
52634 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52635
52636 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
52637
52638 [BZ #14602]
52639 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52640 Replace with ...
52641 (CHECK_EOL): New macro.
52642 (two_way_short_needle): Check beginning of haystack for EOL. Use
52643 CHECK_EOL.
52644 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52645 Replace with CHECK_EOL.
52646 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
52647 Replace with CHECK_EOL.
52648
52649 2012-10-08 Joseph Myers <joseph@codesourcery.com>
52650
52651 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
52652 type-generic.
52653 * math/libm-test.inc: Update comment listing what functions and
52654 macros are tested.
52655 (finite_test): New function.
52656 (isinf_test): Likewise.
52657 (isnan_test): Likewise.
52658 (fpclassify_test): Test subnormal input.
52659 (isfinite_test): Likewise.
52660 (isnormal_test): Likewise.
52661 (main): Call the new functions.
52662
52663 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
52664
52665 [BZ #14660]
52666 * Makerules (%.dynsym): Force C locale when running
52667 $(OBJDUMP) --dynamic-syms.
52668
52669 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
52670
52671 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
52672 <stdint.h>.
52673
52674 2012-10-06 David S. Miller <davem@davemloft.net>
52675
52676 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
52677 upper 32-bits of the length value in %o2 since we use branch-on-register
52678 tests which consider the entire 64-bit register.
52679
52680 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
52681
52682 * string/test-strstr.c (check2): Add a test for page boundary.
52683
52684 2012-10-05 David S. Miller <davem@davemloft.net>
52685
52686 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
52687 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
52688 file.
52689 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52690 sysdep_routines.
52691 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52692 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
52693 and bzero when HWCAP_SPARC_CRYPTO is present.
52694
52695 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
52696
52697 [BZ #14602]
52698 * string/test-strstr.c (check2): New function.
52699 (test_main): Call check2.
52700
52701 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
52702 and bug-strchr1.
52703 * string/bug-strcasestr1.c (do_test): Moved to ...
52704 * string/test-strcasestr.c (check1): Here. New function.
52705 (do_one_test): Break out result checking code into ...
52706 (check_result): This. New function.
52707 (do_one_test): Call check_result.
52708 (test_main): Call check1.
52709 * string/bug-strchr1.c (do_test): Moved to ...
52710 * string/test-strchr.c (check1): Here. New function.
52711 (do_one_test): Break out result checking code into ...
52712 (check_result): This. New function.
52713 (do_one_test): Call check_result.
52714 (test_main): Call check1.
52715 * string/bug-strstr1.c (main): Moved to ...
52716 * string/test-strstr.c (check1): Here. New function.
52717 (do_one_test): Break out result checking code into ...
52718 (check_result): This. New function.
52719 (do_one_test): Call check_result.
52720 (test_main): Call check1.
52721 * string/bug-strcasestr1.c: Removed.
52722 * string/bug-strchr1.c: Likewise.
52723 * string/bug-strstr1.c: Likewise.
52724
52725 * elf/Makefile (dl-routines): Add hwcaps.
52726 * elf/dl-support.c (_dl_important_hwcaps): Removed.
52727 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
52728 (_dl_important_hwcaps): Moved to ...
52729 * elf/dl-hwcaps.c: Here. New file.
52730 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
52731
52732 [BZ #14557]
52733 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
52734 if IS_IN_rtld isn't defined.
52735
52736 * elf/dl-support.c (_dl_sysinfo_map): New.
52737 Include "get-dynamic-info.h" and "setup-vdso.h".
52738 (_dl_non_dynamic_init): Call setup_vdso.
52739 * elf/dynamic-link.h: Don't include <assert.h>.
52740 (elf_get_dynamic_info): Moved to ...
52741 * elf/get-dynamic-info.h: Here. New file.
52742 * elf/dynamic-link.h: Include "get-dynamic-info.h".
52743 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
52744 * elf/setup-vdso.h: Here. New file.
52745 * elf/rtld.c: Include "setup-vdso.h".
52746 (dl_main): Call setup_vdso.
52747
52748 2012-10-05 Joseph Myers <joseph@codesourcery.com>
52749
52750 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
52751 creal in comment listing functions tested. List finite, isinf,
52752 isnan, isless, islessequal, isgreater, isgreaterequal,
52753 islessgreater, isunordered, lgamma_r and pow10 as functions and
52754 macros not tested. Mention which functions not tested are aliases
52755 for other functions. Fix typo. Note that signs of NaNs are not
52756 tested.
52757
52758 * scripts/config.guess: Update from config.git.
52759 * scripts/config.sub: Likewise.
52760
52761 2012-10-04 Roland McGrath <roland@hack.frob.com>
52762
52763 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
52764 * misc/madvise.c (madvise): Renamed to __madvise.
52765 Make madvise a weak alias.
52766 * include/sys/mman.h: Declare __madvise.
52767 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
52768 * sysdeps/unix/syscalls.list
52769 (madvise): Make __madvise the strong name, and madvise a weak alias.
52770 * sysdeps/unix/sysv/linux/syscalls.list
52771 (madvise, mmap): Remove redundant entries.
52772 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
52773 * malloc/malloc.c (mtrim): Likewise.
52774 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
52775
52776 2012-10-03 Roland McGrath <roland@hack.frob.com>
52777
52778 * sysdeps/mach/hurd/dl-cache.c: File removed.
52779 * config.h.in (USE_LDCONFIG): New #undef.
52780 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
52781 * configure: Regenerated.
52782 * elf/Makefile (dl-routines): Add dl-cache only under
52783 [$(use-ldconfig) = yes].
52784 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
52785 cache on [USE_LDCONFIG].
52786 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
52787 [USE_LDCONFIG].
52788 * elf/rtld.c (dl_main): Likewise.
52789
52790 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
52791
52792 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
52793 _SC_LEVEL4_CACHE_LINESIZE.
52794
52795 2012-10-03 Roland McGrath <roland@hack.frob.com>
52796
52797 * sysdeps/unix/bsd/confstr.h: File removed.
52798
52799 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
52800
52801 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
52802 sys/sdt-config.h.
52803
52804 2012-10-02 Roland McGrath <roland@hack.frob.com>
52805
52806 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
52807 Make 'mapoff' field ElfW(Off) rather than off_t.
52808
52809 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
52810
52811 * nscd/Makefile: Remove nscd-cflags and all its users.
52812 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
52813 (CFLAGS-nonlib): Add compiler flags for nscd modules.
52814
52815 [BZ #10631]
52816 * malloc.c (malloc_printerr): Clarify error message.
52817
52818 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
52819
52820 [BZ #14648]
52821 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52822 Set bit_FMA_Usable if FMA is supported.
52823 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
52824 macro.
52825 (bit_FMA4_Usable): Updated.
52826 (index_FMA_Usable): New macro.
52827 (CPUID_FMA): Likewise.
52828 (HAS_FMA): Defined with bit_FMA_Usable.
52829
52830 2012-10-01 Roland McGrath <roland@hack.frob.com>
52831
52832 * bits/types.h (__swblk_t): Type removed.
52833 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
52834 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
52835 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52836 (__SWBLK_T_TYPE): Likewise.
52837 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52838 (__SWBLK_T_TYPE): Likewise.
52839 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52840 (__SWBLK_T_TYPE): Likewise.
52841 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52842 (__SWBLK_T_TYPE): Likewise.
52843
52844 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
52845 Honza Horak <hhorak@redhat.com>
52846
52847 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
52848 (xdr_mapname): Use YPMAXMAP as maxsize.
52849 (xdr_peername): Use YPMAXPEER as maxsize.
52850 (xdr_keydat): Use YPAXRECORD as maxsize.
52851 (xdr_valdat): Use YPMAXRECORD as maxsize.
52852
52853 2012-10-01 Roland McGrath <roland@hack.frob.com>
52854
52855 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
52856
52857 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
52858 * csu/init-first.c: ... here.
52859 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
52860 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
52861 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
52862 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
52863 * sysdeps/i386/init-first.c: File removed.
52864 * sysdeps/sh/init-first.c: File removed.
52865
52866 2012-10-01 Joseph Myers <joseph@codesourcery.com>
52867
52868 [BZ #14645]
52869 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
52870 if x * y might underflow to zero and z is zero.
52871 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52872 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52873 * math/libm-test.inc (min_subnorm_value): New variable.
52874 (fma_test): Add more tests.
52875 (fma_test_towardzero): Likewise.
52876 (fma_test_downward): Likewise.
52877 (fma_test_upward): Likewise.
52878 (initialize): Set min_subnorm_value.
52879
52880 2012-09-29 Joseph Myers <joseph@codesourcery.com>
52881
52882 [BZ #14638]
52883 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
52884 0 + 0.
52885 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
52886 mode for addition resulting in exact zero.
52887 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
52888 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
52889 exact 0 + 0.
52890 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52891 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52892 * math/libm-test.inc (fma_test): Add more tests.
52893 (fma_test_towardzero): New function.
52894 (fma_test_downward): Likewise.
52895 (fma_test_upward): Likewise.
52896 (main): Call the new functions.
52897
52898 2012-09-28 David S. Miller <davem@davemloft.net>
52899
52900 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
52901
52902 2012-09-28 Roland McGrath <roland@hack.frob.com>
52903
52904 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
52905 instead of SIGALRM.
52906
52907 * sysdeps/gnu/_G_config.h: Moved to ...
52908 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
52909 * sysdeps/mach/hurd/_G_config.h: Moved to ...
52910 * sysdeps/generic/_G_config.h: ... here.
52911
52912 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
52913
52914 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
52915
52916 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
52917 Conditionalize target on [libnss_test1.so-version].
52918
52919 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
52920
52921 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
52922 (elfobjdir): Move out of conditionals.
52923
52924 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
52925 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
52926 (__nss_lookup_function): Conditionalize label remove_from_tree on
52927 [!DO_STATIC_NSS || SHARED], matching its only use.
52928
52929 2012-09-28 David S. Miller <davem@davemloft.net>
52930
52931 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
52932 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
52933 file.
52934 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52935 sysdep_routines.
52936 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52937 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
52938 when HWCAP_SPARC_CRYPTO is present.
52939
52940 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
52941
52942 * io/tst-mknodat.c: Create a FIFO instead of a socket.
52943
52944 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
52945
52946 [BZ #6530]
52947 * stdio-common/vfprintf.c (process_string_arg): Revert
52948 2000-07-22 change.
52949
52950 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
52951
52952 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
52953 for testcase.
52954 * stdio-common/tst-sprintf.c: Include <locale.h>
52955 (main): Test sprintf's handling of incomplete multibyte
52956 characters.
52957
52958 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
52959
52960 * elf/dl-runtime.c (VERSYMIDX): Removed.
52961 * elf/dl-version.c (VERSYMIDX): Likewise.
52962 * elf/do-rel.h (VERSYMIDX): Likewise.
52963 (VALIDX): Likewise.
52964 * elf/dynamic-link.h (VERSYMIDX): Likewise.
52965 * elf/rtld.c (VALIDX): Likewise.
52966 (ADDRIDX): Likewise.
52967 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
52968 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
52969 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
52970 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
52971 (VALIDX): Likewise.
52972 (ADDRIDX): Likewise.
52973
52974 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
52975
52976 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
52977
52978 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
52979
52980 [BZ #11438]
52981 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
52982 to global scope.
52983 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
52984 addresses are in the same scope as 192.0.2/24.
52985 * posix/gai.conf: Document new scope table defaults.
52986
52987 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
52988
52989 [BZ #5298]
52990 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
52991 for ftell. Compute offsets from write pointers instead.
52992 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52993
52994 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
52995
52996 [BZ #14543]
52997 * libio/Makefile (tests): New test case tst-fseek.
52998 * libio/tst-fseek.c: New test case to verify that fseek/ftell
52999 combination works in wide mode.
53000 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
53001 state when the external buffer state changes.
53002
53003 2012-09-27 David S. Miller <davem@davemloft.net>
53004
53005 [BZ #14376]
53006 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
53007 pass reloc->r_addend in as the 'high' argument to
53008 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
53009
53010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53011
53012 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
53013
53014 * rt/tst-aio2.c: Include <pthread.h>.
53015 * rt/tst-aio3.c: Likewise.
53016
53017 2012-09-27 Steve Ellcey <sellcey@mips.com>
53018
53019 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
53020
53021 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
53022
53023 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
53024 contents on [SHARED].
53025
53026 2012-09-26 Marek Polacek <polacek@redhat.com>
53027
53028 [BZ #14530]
53029 [BZ #13741]
53030 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
53031 for C++ and GCC <4.3 as well as for non GCC compilers.
53032
53033 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
53034
53035 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53036
53037 2012-09-25 Roland McGrath <roland@hack.frob.com>
53038
53039 * Makefile.in (all, install): Declare with .PHONY.
53040 Reported by Michael Hope <michael.hope@linaro.org>.
53041
53042 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53043
53044 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
53045 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
53046 system header.
53047 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
53048 Likewise.
53049 (sydep_routines): Add the new and the internal functions.
53050 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
53051 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
53052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
53053 (GLIBC_2.17): Add the new function.
53054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
53055 (GLIBC_2.17): Likewise.
53056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
53057 (GLIBC_2.17): Likewise.
53058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
53059 (GLIBC_2.17): Likewise.
53060 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
53061
53062 2012-09-25 Alan Modra <amodra@gmail.com>
53063
53064 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
53065 Add release barrier before setting once_control to say
53066 initialisation is done. Add hints on lwarx. Use macro in
53067 place of isync.
53068 (clear_once_control): Add release barrier.
53069
53070 2012-09-25 Joseph Myers <joseph@codesourcery.com>
53071
53072 [BZ #13629]
53073 * math/s_clog.c (__clog): Handle more values close to |z| = 1
53074 specially.
53075 * math/s_clog10.c (__clog10): Likewise.
53076 * math/s_clog10f.c (__clog10f): Likewise.
53077 * math/s_clog10l.c (__clog10l): Likewise.
53078 * math/s_clogf.c (__clogf): Likewise.
53079 * math/s_clogl.c (__clogl): Likewise.
53080 * math/Makefile (libm-calls): Add x2y2m1.
53081 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
53082 (__x2y2m1): Likewise.
53083 (__x2y2m1l): Likewise.
53084 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
53085 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
53086 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
53087 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
53088 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
53089 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
53090 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
53091 * sysdeps/i386/fpu/libm-test-ulps: Update.
53092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53093
53094 [BZ #14621]
53095 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
53096 int as type of variable DEPTH.
53097 (glob): Use size_t instead of int as type of variables NEWCOUNT
53098 and OLD_PATHC.
53099
53100 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53101
53102 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53103 Add s_sincosf-sse2.
53104 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
53105 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
53106 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
53107 macros for using routine as __sincosf_ia32.
53108 Use macro for function declaration and weak_alias.
53109 * sysdeps/i386/fpu/libm-test-ulps: Update.
53110
53111 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
53112 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53113
53114 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
53115 subnormal argument.
53116 * math/s_cexpf.c (__cexpf): Likewise.
53117 * math/s_csinf.c (__csinf): Likewise.
53118 * math/s_csinhf.c (__csinhf): Likewise.
53119 * math/s_ctanf.c (__ctanf): Likewise.
53120 * math/s_ctanhf.c (__ctanhf): Likewise.
53121 * math/s_ccosh.c (__ccoshf): Likewise.
53122 * math/s_cexp.c (__cexpl): Likewise.
53123 * math/s_csin.c (__csin): Likewise.
53124 * math/s_csinh.c (__csinh): Likewise.
53125 * math/s_ctan.c (__ctan): Likewise.
53126 * math/s_ctanh.c (ctanh): Likewise.
53127 * math/s_ccoshl.c (__ccoshl): Likewise.
53128 * math/s_cexpl.c (__cexpl): Likewise.
53129 * math/s_csinl.c (__csinl): Likewise.
53130 * math/s_csinhl.c (__csinhl): Likewise.
53131 * math/s_ctanl.c (__ctanl): Likewise.
53132 * math/s_ctanhl.c (__ctanhl): Likewise.
53133
53134 2012-09-25 Joseph Myers <joseph@codesourcery.com>
53135
53136 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
53137 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
53138 (_IO_off_t): Define to __off_t, not _G_off_t.
53139 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
53140 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
53141 (_IO_wint_t): Define to wint_t, not _G_wint_t.
53142 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
53143 type of __dummy and __dummy2 fields.
53144 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
53145 (_G_ssize_t): Likewise.
53146 (_G_off_t): Likewise.
53147 (_G_pid_t): Likewise.
53148 (_G_uid_t): Likewise.
53149 (_G_wchar_t): Likewise.
53150 (_G_wint_t): Likewise.
53151 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
53152 (_G_ssize_t): Likewise.
53153 (_G_off_t): Likewise.
53154 (_G_pid_t): Likewise.
53155 (_G_uid_t): Likewise.
53156 (_G_wchar_t): Likewise.
53157 (_G_wint_t): Likewise.
53158 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
53159 (_G_ssize_t): Likewise.
53160 (_G_off_t): Likewise.
53161 (_G_pid_t): Likewise.
53162 (_G_uid_t): Likewise.
53163 (_G_wchar_t): Likewise.
53164 (_G_wint_t): Likewise.
53165
53166 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53167
53168 * malloc/arena.c: Include malloc-sysdep.h.
53169 (shrink_heap): Use check_may_shrink_heap to decide if madvise
53170 is sufficient to shrink the heap or an unmap is needed.
53171 * sysdeps/generic/malloc-sysdep.h: New file. Define
53172 new function check_may_shrink_heap.
53173 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
53174 new function check_may_shrink_heap.
53175
53176 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53177
53178 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
53179 comments.
53180
53181 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
53182
53183 * catgets/test-gencat.sh: Add "set -e".
53184 * elf/tst-pathopt.sh: Likewise.
53185 * grp/tst_fgetgrent.sh: Likewise.
53186 * iconvdata/run-iconv-test.sh: Likewise.
53187 * intl/tst-gettext.sh: Likewise.
53188 * intl/tst-gettext2.sh: Likewise.
53189 * intl/tst-gettext4.sh: Likewise.
53190 * intl/tst-gettext6.sh: Likewise.
53191 * intl/tst-translit.sh: Likewise.
53192 * io/ftwtest-sh: Likewise.
53193 * libio/test-freopen.sh: Likewise.
53194 * malloc/tst-mtrace.sh: Likewise.
53195 * posix/globtest.sh: Likewise.
53196 * posix/tst-getconf.sh: Likewise.
53197 * posix/wordexp-tst.sh: Likewise.
53198 * stdio-common/tst-printf.sh: Likewise.
53199 * stdio-common/tst-unbputc.sh: Likewise.
53200 * stdlib/tst-fmtmsg.sh: Likewise.
53201 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53202 * catgets/Makefile: Do not specify -e option when running
53203 testsuite shell scripts.
53204 * elf/Makefile: Likewise.
53205 * grp/Makefile: Likewise.
53206 * iconvdata/Makefile: Likewise.
53207 * intl/Makefile: Likewise.
53208 * io/Makefile: Likewise.
53209 * libio/Makefile: Likewise.
53210 * malloc/Makefile: Likewise.
53211 * posix/Makefile: Likewise.
53212 * stdio-common/Makefile: Likewise.
53213 * stdlib/Makefile: Likewise.
53214 * sysdeps/x86_64/Makefile: Likewise.
53215
53216 * io/ftwtest-sh: Add copyright header.
53217 * posix/globtest.sh: Likewise.
53218 * posix/tst-getconf.sh: Likewise.
53219 * posix/wordexp-tst.sh: Likewise.
53220 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53221
53222 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
53223
53224 [BZ #13679]
53225 * Makeconfig (+link): Defined as $(+link-static) if
53226 $(build-shared) isn't yes.
53227 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
53228 isn't yes.
53229 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
53230
53231 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
53232
53233 [BZ #14562]
53234 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
53235 new chunk size with MALLOC_ALIGN_MASK.
53236
53237 2012-09-24 Joseph Myers <joseph@codesourcery.com>
53238
53239 [BZ #5044]
53240 * stdio-common/printf_fphex.c: Include <stdbool.h> and
53241 <rounding-mode.h>.
53242 (__printf_fphex): Determine rounding using get_rounding_mode and
53243 round_away.
53244 * stdio-common/tst-printf-round.c (struct hex_test): New
53245 structure.
53246 (hex_tests): New variable.
53247 (test_hex_in_one_mode): New function.
53248 (do_test): Also run tests for hex float output.
53249
53250 2012-09-21 Joseph Myers <joseph@codesourcery.com>
53251
53252 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
53253 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
53254 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
53255 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
53256 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
53257 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
53258 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
53259 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
53260
53261 2012-09-20 Joseph Myers <joseph@codesourcery.com>
53262
53263 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
53264 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
53265 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
53266 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
53267
53268 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
53269
53270 [BZ #14579]
53271 * elf/rtld.c (dl_main): Limit the check for self loading to normal
53272 mode only.
53273 * elf/tst-rtld-load-self.sh: New test.
53274 * elf/Makefile: Run it.
53275
53276 2012-09-18 Joseph Myers <joseph@codesourcery.com>
53277
53278 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
53279 (tst-writev-ENV): Remove.
53280 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
53281
53282 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
53283
53284 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
53285
53286 2012-09-17 Joseph Myers <joseph@codesourcery.com>
53287
53288 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
53289 unconditional.
53290 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
53291 Likewise.
53292 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
53293 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
53294 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
53295 Likewise.
53296
53297 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
53298
53299 [BZ #14587]
53300 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
53301 * config.make.in (have-cpp-asm-debuginfo): Removed.
53302 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
53303 * configure: Regenerated.
53304
53305 2012-09-14 Joseph Myers <joseph@codesourcery.com>
53306
53307 [BZ #5044]
53308 * stdio-common/printf_fp.c: Include <stdbool.h> and
53309 <rounding-mode.h>.
53310 (___printf_fp): Determine rounding using get_rounding_mode and
53311 round_away.
53312 * stdio-common/tst-printf-round.c: New file.
53313 * stdio-common/Makefile (tests): Add tst-printf-round.
53314 (link-libm): New variable.
53315 ($(objpfx)tst-printf-round): Depend in $(link-libm).
53316
53317 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
53318
53319 [BZ #14576]
53320 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
53321 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
53322 Likewise.
53323 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
53324 Likewise.
53325
53326 2012-09-13 Joseph Myers <joseph@codesourcery.com>
53327
53328 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
53329 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53330 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53331 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53332
53333 2012-09-12 Joseph Myers <joseph@codesourcery.com>
53334
53335 [BZ #14518]
53336 * include/rounding-mode.h: New file.
53337 * sysdeps/generic/get-rounding-mode.h: Likewise.
53338 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
53339 * stdlib/strtod_l.c: Include <rounding-mode.h>.
53340 (MAX_VALUE): New macro.
53341 (MIN_VALUE): Likewise.
53342 (overflow_value): New function.
53343 (underflow_value): Likewise.
53344 (round_and_return): Use overflow_value and underflow_value to
53345 determine return values in overflow and underflow cases. Use
53346 round_away to determine rounding depending on rounding mode.
53347 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
53348 determine return values in overflow and underflow cases.
53349 * stdlib/tst-strtod-round.c: Include <fenv.h>.
53350 (struct test_results): New structure.
53351 (struct test): Use struct test_results to store expected results
53352 for all rounding modes.
53353 (TEST): Include expected results for all rounding modes.
53354 (test_in_one_mode): New function.
53355 (do_test): Use test_in_one_mode to compute and check results.
53356 Check results for all rounding modes.
53357 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
53358 $(link-libm).
53359
53360 2012-12-09 Allan McRae <allan@archlinux.org>
53361
53362 * sysdeps/i386/fpu/libm-test-ulps: Update
53363
53364 2012-09-11 Joseph Myers <joseph@codesourcery.com>
53365
53366 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
53367 (_G_int32_t): Likewise.
53368 (_G_uint16_t): Likewise.
53369 (_G_uint32_t): Likewise.
53370 (_G_HAVE_BOOL): Likewise.
53371 (_G_HAVE_ATEXIT): Likewise.
53372 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53373 (_G_HAVE_IO_FILE_OPEN): Likewise.
53374 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
53375 (_G_int32_t): Likewise.
53376 (_G_uint16_t): Likewise.
53377 (_G_uint32_t): Likewise.
53378 (_G_HAVE_BOOL): Likewise.
53379 (_G_HAVE_ATEXIT): Likewise.
53380 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53381 (_G_HAVE_IO_FILE_OPEN): Likewise.
53382 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
53383 (_G_int32_t): Likewise.
53384 (_G_uint16_t): Likewise.
53385 (_G_uint32_t): Likewise.
53386 (_G_HAVE_BOOL): Likewise.
53387 (_G_HAVE_ATEXIT): Likewise.
53388 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53389 (_G_HAVE_IO_FILE_OPEN): Likewise.
53390
53391 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
53392
53393 * csu/libc-tls.c: Update copyright years.
53394
53395 2012-09-10 Joseph Myers <joseph@codesourcery.com>
53396
53397 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
53398 [!_G_USING_THUNKS]: Remove conditional code.
53399 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
53400 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
53401
53402 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
53403 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
53404 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53405 (_G_VTABLE_LABEL_PREFIX): Likewise.
53406 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53407 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53408 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53409 (_G_VTABLE_LABEL_PREFIX): Likewise.
53410 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
53411 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53412 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53413 (_G_VTABLE_LABEL_PREFIX): Likewise.
53414 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
53415
53416 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
53417
53418 * libio/Makefile: Include ../Makeconfig before tests.
53419 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
53420 only if $(build-shared) is yes.
53421
53422 * iconv/gconv_db.c: Update copyright years.
53423
53424 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53425
53426 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
53427 unwind info if defined PIC. Fix special cases description.
53428 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
53429
53430 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
53431 DP_HI_MASK entry.
53432 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
53433
53434 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
53435
53436 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
53437
53438 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
53439 is NULL.
53440
53441 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
53442 (LDLIBS-tst-chk4): This.
53443 (LDFLAGS-tst-chk5): Renamed to ...
53444 (LDLIBS-tst-chk5): This.
53445 (LDFLAGS-tst-chk6): Renamed to ...
53446 (LDLIBS-tst-chk6): This.
53447 (LDFLAGS-tst-lfschk4): Renamed to ...
53448 (LDLIBS-tst-lfschk4): This.
53449 (LDFLAGS-tst-lfschk5): Renamed to ...
53450 (LDLIBS-tst-lfschk5): This.
53451 (LDFLAGS-tst-lfschk6): Renamed to ...
53452 (LDLIBS-tst-lfschk6): This.
53453
53454 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
53455 on $(common-objpfx)soversions.mk.
53456
53457 2012-09-07 Joseph Myers <joseph@codesourcery.com>
53458
53459 [BZ #10014]
53460 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
53461 example host name.
53462
53463 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
53464
53465 * malloc/arena.c (arena_get_retry): New function that gets
53466 another arena for the caller to try its request on.
53467 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
53468 current arena cannot fulfill the request.
53469 (__libc_memalign): Likewise.
53470 (__libc_memalign): Likewise.
53471 (__libc_pvalloc): Likewise.
53472 (__libc_calloc): Likewise.
53473
53474 2012-09-05 John Tobey <john.tobey@gmail.com>
53475
53476 [BZ #13542]
53477 * manual/arith.texi (Operations on Complex): Fix description
53478 of carg branch cut.
53479
53480 2012-09-06 Joseph Myers <joseph@codesourcery.com>
53481
53482 [BZ #10014]
53483 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
53484 host name.
53485
53486 [BZ #10038]
53487 * manual/memory.texi (Memory): Make order of menu items match
53488 order of sections.
53489
53490 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
53491
53492 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
53493 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
53494 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
53495
53496 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
53497
53498 * csu/libc-tls.c (static_dtv): Renamed to ...
53499 (_dl_static_dtv): This. Make it global.
53500 (_dl_initial_dtv): Removed.
53501 (__libc_setup_tls): Updated.
53502 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
53503 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
53504 DL_INITIAL_DTV.
53505
53506 2012-09-06 Petr Machata <pmachata@redhat.com>
53507
53508 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
53509 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
53510 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
53511 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
53512
53513 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
53514
53515 [BZ #14545]
53516 * csu/libc-tls.c (_dl_initial_dtv): New variable.
53517 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
53518 freeing dtv[-1].
53519
53520 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
53521
53522 [BZ #14544]
53523 * Makeconfig (link-static-before-libc): Replace $(+prector)
53524 with $(+prectorT).
53525 (link-static-after-libc): Replace $(+postctor) with
53526 $(+postctorT).
53527 (link-bounded): Replace $(+prector)/$(+postctor) with
53528 $(+prectorT)/$(+postctorT).
53529 (+prectorT): New macro.
53530 (+postctorT): Likewise.
53531
53532 2012-09-06 Joseph Myers <joseph@codesourcery.com>
53533
53534 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
53535 (round_str): Handle values above the maximum for IBM long double
53536 as inexact.
53537 * stdlib/tst-strtod-round.c (tests): Regenerated.
53538
53539 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53540
53541 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
53542 assembler flag.
53543 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
53544 zarch_nohighgprs around the zarch optimized routines.
53545 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
53546 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
53547 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
53548 for zarch.
53549
53550 2012-09-05 David S. Miller <davem@davemloft.net>
53551
53552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53553
53554 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
53555 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
53556 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
53557 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53558 entries.
53559
53560 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
53561
53562 * malloc/arena.c: Fold copyright years.
53563 * malloc/mcheck.c, malloc/memusage.c: Likewise.
53564
53565 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
53566
53567 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
53568
53569 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
53570
53571 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
53572
53573 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
53574
53575 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
53576 change internal state upon failure.
53577
53578 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
53579
53580 * malloc/mcheck.c (mcheck_check_all): Fix typo.
53581 * malloc/memusage.c (mmap): Likewise.
53582 (mmap64, mremap): Likewise. Adjust name in comment.
53583
53584 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
53585
53586 * libio/fileops.c: Fix typos in comments.
53587 * libio/oldfileops.c: Likewise.
53588 * libio/wfileops.c: Likewise.
53589
53590 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
53591
53592 [BZ #1349]
53593 * malloc/Makefile (tests): Add tst-malloc-usable test case.
53594 (tst-malloc-usable-ENV): Set environment for test case.
53595 * malloc/hooks.c (malloc_check_get_size): New function to get
53596 requested size.
53597 * malloc/malloc.c (musable): Use malloc_check_get_size.
53598 * malloc/tst-malloc-usable.c: New test case.
53599
53600 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
53601
53602 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
53603
53604 2012-09-05 Allan McRae <allan@archlinux.org>
53605
53606 [BZ #13966]
53607 * configure.in (CXX_SYSINCLUDES): Use compiler output to
53608 determine header location.
53609 * configure: Regenerated.
53610
53611 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
53612
53613 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
53614 float format.
53615 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
53616 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
53617 format.
53618 (test): Regenerate.
53619
53620 2012-09-04 David S. Miller <davem@davemloft.net>
53621
53622 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
53623 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
53624 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
53625
53626 2012-09-04 Florian Weimer <fweimer@redhat.com>
53627
53628 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
53629 failures.
53630
53631 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
53632
53633 2012-09-04 Joseph Myers <joseph@codesourcery.com>
53634
53635 [BZ #9914]
53636 * libio/iogetdelim.c: Include <limits.h>.
53637 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
53638 + len + 1 would overflow.
53639
53640 2012-09-03 Andreas Jaeger <aj@suse.de>
53641
53642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53643 * sysdeps/i386/fpu/libm-test-ulps: Update.
53644
53645 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53646
53647 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53648 Add s_sinf-sse2, s_conf-sse2.
53649
53650 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
53651 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
53652 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
53653 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
53654
53655 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
53656 for using routine as __sinf_ia32.
53657 Use macro for function declaration and weak_alias.
53658 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
53659 for using routine as __cosf_ia32.
53660 Use macro for function declaration and weak_alias.
53661
53662 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
53663 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
53664
53665 * sysdeps/x86_64/fpu/s_sinf.S: New file.
53666 * sysdeps/x86_64/fpu/s_cosf.S: New file.
53667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53668
53669 * math/libm-test.inc (cos_test): Add more test cases.
53670 (sin_test): Likewise.
53671 (sincos_test): Likewise.
53672
53673 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53674
53675 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
53676 (IFUNC_RESOLVE): Make pointers to the specialized implementations
53677 hidden.
53678 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53679
53680 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
53681
53682 [BZ #14538]
53683 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
53684 first element of the GOT.
53685 (elf_machine_load_address): Return the difference between
53686 the runtime address of _DYNAMIC and elf_machine_dynamic ().
53687
53688 2012-09-01 Allan McRae <allan@archlinux.org>
53689
53690 [BZ #13412]
53691 * configure.in (AWK): Require gawk version 3.0 or later.
53692 * configure: Regenerated.
53693
53694 2012-09-01 Joseph Myers <joseph@codesourcery.com>
53695
53696 * sysdeps/unix/sysv/linux/kernel-features.h
53697 (__ASSUME_POSIX_CPU_TIMERS): Remove.
53698 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53699 [__NR_clock_getres]: Make code unconditional.
53700 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
53701 (clock_getcpuclockid): Remove code left unreachable by removal of
53702 conditionals.
53703 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
53704 code unconditional.
53705 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53706 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53707 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
53708 Make code unconditional.
53709 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53710 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53711 * sysdeps/unix/sysv/linux/clock_settime.c
53712 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
53713 conditional code.
53714 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
53715 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53716
53717 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
53718
53719 [BZ #14476]
53720 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
53721 scripts/test-installation.pl.
53722
53723 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
53724 and $ld_so_version if it is set.
53725
53726 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
53727
53728 [BZ #14516]
53729 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
53730 failure if reading from procfs failed.
53731 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
53732
53733 2012-08-27 Joseph Myers <joseph@codesourcery.com>
53734
53735 * sysdeps/unix/sysv/linux/kernel-features.h
53736 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
53737 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53738 Remove conditional code.
53739 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53740 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
53741 Remove conditional code.
53742 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53743 * sysdeps/unix/sysv/linux/i386/fxstat.c
53744 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53745 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53746 * sysdeps/unix/sysv/linux/i386/fxstatat.c
53747 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53748 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53749 * sysdeps/unix/sysv/linux/i386/lxstat.c
53750 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53751 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53752 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
53753 Remove conditional code.
53754 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53755 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53756 Remove conditional code.
53757 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53758 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
53759 <kernel-features.h>.
53760 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
53761 Remove.
53762 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
53763 Remove conditional code.
53764 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53765 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
53766 Remove conditional.
53767
53768 2012-08-27 Mike Frysinger <vapier@gentoo.org>
53769
53770 [BZ #5400]
53771 * NEWS: Add fixed bug number.
53772
53773 2012-08-27 Joseph Myers <joseph@codesourcery.com>
53774
53775 [BZ #14519]
53776 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
53777 underflowing exponent in case of negative sign.
53778 * stdlib/tst-strtod-round-data: Add more tests.
53779 * stdlib/tst-strtod-round.c (tests): Regenerated.
53780
53781 [BZ #3479]
53782 * stdlib/strtod_l.c (NDIG): Remove.
53783 (HEXNDIG): Likewise.
53784 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
53785 smallest representable value.
53786 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
53787 lie within an exact representation of 1/2 ulp of the result.
53788 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
53789 unconditionally.
53790 (TENS_P9_IDX): Define unconditionally.
53791 (TENS_P9_SIZE): Likewise.
53792 (TENS_P10_IDX): Likewise.
53793 (TENS_P10_SIZE): Likewise.
53794 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
53795 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
53796 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
53797 entries for 10^2^13 and 10^2^14.
53798 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
53799 (TENS_P13_IDX): Define.
53800 (TENS_P13_SIZE): Likewise.
53801 (TENS_P14_IDX): Likewise.
53802 (TENS_P14_SIZE): Likewise.
53803 (_fpioconst_pow10): Change array size to
53804 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
53805 unconditional.
53806 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
53807 1024]: Add entries for 10^2^13 and 10^2^14.
53808 [LAST_POW10 > _LAST_POW10]: Remove #error.
53809 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
53810 (_fpioconst_pow10): Change array size to
53811 FPIOCONST_POW10_ARRAY_SIZE.
53812 * stdlib/gen-fpioconst.c: New file.
53813 * stdlib/gen-tst-strtod-round.c: Likewise.
53814 * stdlib/tst-strtod-round-data: Likewise.
53815 * stdlib/tst-strtod-round.c: Likewise.
53816 * stdlib/Makefile (tests): Add tst-strtod-round.
53817
53818 [BZ #14459]
53819 * stdlib/strtod_l.c: Include <stdint.h>.
53820 (NDEBUG): Do not define.
53821 (round_and_return): Change EXPONENT parameter to type intmax_t.
53822 Rearrange calculations to avoid internal overflow possibilities.
53823 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
53824 Rearrange calculations to avoid internal overflow possibilities.
53825 Assert that number fits inside MPNSIZE limbs.
53826 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
53827 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
53828 calculations and add assertions to avoid internal overflow
53829 possibilities. Add casts to avoid signed/unsigned operations.
53830 * stdlib/tst-strtod-overflow.c: New file.
53831 * stdlib/Makefile (tests): Add tst-strtod-overflow.
53832
53833 2012-08-25 Marek Polacek <polacek@redhat.com>
53834
53835 * time/time.h: Fix some typos in comments.
53836
53837 2012-08-23 Roland McGrath <roland@hack.frob.com>
53838
53839 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
53840 * posix/tst-rfc3484-2.c: Likewise.
53841 * posix/tst-rfc3484-3.c: Likewise.
53842
53843 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
53844
53845 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
53846 (EF_ARM_ABI_FLOAT_HARD): Likewise.
53847
53848 2012-08-23 Joseph Myers <joseph@codesourcery.com>
53849
53850 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
53851 #include of fxstatat64.c.
53852
53853 2012-08-22 Roland McGrath <roland@hack.frob.com>
53854
53855 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
53856 * shadow/getspent_r.c: Likewise.
53857 * shadow/getspnam.c: Likewise.
53858 * shadow/getspnam_r.c: Likewise.
53859 * gshadow/getsgent.c: Likewise.
53860 * gshadow/getsgent_r.c: Likewise.
53861 * gshadow/getsgnam.c: Likewise.
53862 * gshadow/getsgnam_r.c: Likewise.
53863 * inet/getnetbyad.c: Likewise.
53864 * inet/getnetbyad_r.c: Likewise.
53865 * inet/getnetbynm.c: Likewise.
53866 * inet/getnetbynm_r.c: Likewise.
53867 * inet/getnetent.c: Likewise.
53868 * inet/getnetent_r.c: Likewise.
53869 * inet/getproto.c: Likewise.
53870 * inet/getproto_r.c: Likewise.
53871 * inet/getprtent.c: Likewise.
53872 * inet/getprtent_r.c: Likewise.
53873 * inet/getprtname.c: Likewise.
53874 * inet/getprtname_r.c: Likewise.
53875 * inet/getrpcbyname.c: Likewise.
53876 * inet/getrpcbyname_r.c: Likewise.
53877 * inet/getrpcbynumber.c: Likewise.
53878 * inet/getrpcbynumber_r.c: Likewise.
53879 * inet/getrpcent.c: Likewise.
53880 * inet/getrpcent_r.c: Likewise.
53881 * inet/getaliasent.c: Likewise.
53882 * inet/getaliasent_r.c: Likewise.
53883 * inet/getaliasname.c: Likewise.
53884 * inet/getaliasname_r.c: Likewise.
53885 * nscd/getgrgid_r.c: Likewise.
53886 * nscd/getgrnam_r.c: Likewise.
53887 * nscd/gethstbyad_r.c: Likewise.
53888 * nscd/gethstbynm3_r.c: Likewise.
53889 * nscd/getpwnam_r.c: Likewise.
53890 * nscd/getpwuid_r.c: Likewise.
53891 * nscd/getsrvbynm_r.c: Likewise.
53892 * nscd/getsrvbypt_r.c: Likewise.
53893 * nscd/gai.c: Likewise.
53894
53895 * configure.in (build_nscd): New substituted variable, set
53896 by --disable-build-nscd and defaults to $use_nscd.
53897 * configure: Regenerated.
53898 * config.make.in (build-nscd): New substituted variable.
53899 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
53900 Change conditional to require [$(build-nscd) = yes] as well.
53901 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
53902
53903 [BZ# 13696]
53904 * configure.in (use_nscd): New substituted variable, set by
53905 --disable-nscd. If enabled, define USE_NSCD.
53906 * configure: Regenerated.
53907 * config.h.in: Add USE_NSCD.
53908 * config.make.in (use-nscd): New substituted variable.
53909 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
53910 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
53911 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
53912 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
53913 (CFLAGS-getgrnam_r.c): Likewise.
53914 (CFLAGS-initgroups.c): Likewise.
53915 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
53916 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
53917 Variables removed.
53918 * inet/getnetgrent_r.c
53919 (nscd_setnetgrent): New function, broken out of ...
53920 (setnetgrent): ... here. Call it.
53921 (innetgr): Conditionalize nscd bits on [USE_NSCD].
53922 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
53923 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
53924 * nscd/Makefile (routines, aux): Move definitions after include of
53925 Makeconfig. Conditionalize on [$(use-nscd) != no].
53926 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
53927 Conditionalize on [USE_NSCD].
53928 (is_nscd, nscd_init_cb): Likewise.
53929 (nss_load_library): Conditionalize init callback on [USE_NSCD].
53930 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
53931 * nss/nss_db/db-init.c: Likewise.
53932 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
53933 [USE_NSCD].
53934 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
53935 (make_request): Use it.
53936 (cache_valid_p): New function.
53937 (__check_pf): Use it.
53938 * NEWS: Add item for --disable-nscd.
53939
53940 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
53941
53942 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
53943 to support sed >= 4.2.1-20-ga9bf076.
53944 * configure: Regenerated.
53945
53946 2012-08-22 Roland McGrath <roland@hack.frob.com>
53947
53948 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
53949 Conditionalize whole body on [IREL].
53950
53951 2012-08-22 Jeff Law <law@redhat.com>
53952
53953 [BZ #14505]
53954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
53955 if the family is PF_UNSPEC.
53956
53957 2012-08-22 Mike Frysinger <vapier@gentoo.org>
53958
53959 * Makerules (lib-version): Rename from V.
53960 (install-lib-nosubdir): Change V to lib-version.
53961
53962 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
53963
53964 [BZ #14252]
53965 * powerpc32/power6/wcschr.c: New file.
53966 * powerpc32/power6/wcscpy.c: New file.
53967 * powerpc32/power6/wcsrchr.c: New file.
53968 * powerpc64/power6/wcschr.c: New file.
53969 * powerpc64/power6/wcscpy.c: New file.
53970 * powerpc64/power6/wcsrchr.c: New file.
53971
53972 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
53973
53974 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
53975 (two_way_short_needle): Use it.
53976 * string/strstr.c (AVAILABLE1_USES_J): Define.
53977 * string/strcasestr.c: Likewise.
53978
53979 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
53980 array references.
53981 * string/strcasestr.c (TOLOWER): Make side-effect safe.
53982
53983 [BZ #11607]
53984 * NEWS: Add an entry.
53985 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
53986 define their defaults.
53987 (two_way_short_needle): Detect end-of-string on-the-fly.
53988 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
53989 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
53990 * string/bug-strcasestr1.c: New test.
53991 * string/Makefile: Run it.
53992
53993 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
53994
53995 [BZ #11607]
53996 * string/str-two-way.h (two_way_short_needle): Optimize matching of
53997 the first character.
53998
53999 2012-08-21 Roland McGrath <roland@hack.frob.com>
54000
54001 * csu/elf-init.c (__libc_csu_irel): Function removed.
54002 * csu/libc-start.c (apply_irel): New function.
54003 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
54004
54005 2012-08-21 Joseph Myers <joseph@codesourcery.com>
54006
54007 * sysdeps/unix/sysv/linux/kernel-features.h
54008 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
54009 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54010 <kernel-features.h>.
54011 [__NR_fadvise64_64]: Make code unconditional.
54012 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
54013 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54014 !__NR_fadvise64_64)]: Likewise.
54015 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54016 !__NR_fadvise64_64))]: Likewise.
54017 [__NR_fadvise64]: Make code unconditional.
54018 [!__NR_fadvise64]: Remove conditional code.
54019 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
54020 <kernel-features.h>.
54021 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54022 unconditional.
54023 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54024 conditional code.
54025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
54026 not include <kernel-features.h>.
54027 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54028 unconditional.
54029 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54030 conditional code.
54031 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
54032 include <kernel-features.h>.
54033 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54034 unconditional.
54035 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54036 conditional code.
54037
54038 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
54039
54040 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
54041 slight instruction rearrangements per scrollpipe analysis.
54042 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54043
54044 2012-08-20 Roland McGrath <roland@hack.frob.com>
54045
54046 * manual/syslog.texi (syslog; vsyslog, closelog):
54047 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
54048 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
54049
54050 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
54051 DSOCAPS to match condition on defining it.
54052
54053 2012-08-20 Joseph Myers <joseph@codesourcery.com>
54054
54055 * sysdeps/unix/sysv/linux/kernel-features.h
54056 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
54057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
54058 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54059 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
54061 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54062 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
54064 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54065 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54066
54067 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
54068 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
54069
54070 * sysdeps/unix/sysv/linux/kernel-features.h
54071 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
54072 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
54073 unconditional.
54074 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54075 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
54076 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54077 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54078 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
54079 Make code unconditional.
54080 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54081 (__mmap64) [!__NR_mmap2]: Likewise.
54082 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
54083 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54084 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54085 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
54086 [__NR_mmap2]: Make code unconditional.
54087 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54088 (__mmap64) [!__NR_mmap2]: Likewise.
54089
54090 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54091
54092 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
54093
54094 2012-08-18 Andreas Jaeger <aj@suse.de>
54095
54096 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
54097
54098 2012-08-18 Mike Frysinger <vapier@gentoo.org>
54099
54100 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
54101 * include/unistd.h (__have_sock_cloexec): Likewise.
54102 (__have_pipe2): Likewise.
54103 (__have_dup3): Likewise.
54104
54105 2012-08-18 Mike Frysinger <vapier@gentoo.org>
54106
54107 [BZ #9685]
54108 * include/unistd.h (__have_pipe2): Change define into an extern int.
54109 (__have_dup3): Likewise.
54110 * socket/have_sock_cloexec.c: Include fcntl.h.
54111 (__have_pipe2): New variable.
54112 (__have_dup3): Likewise.
54113
54114 2012-08-17 Mike Frysinger <vapier@gentoo.org>
54115
54116 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
54117
54118 2012-08-17 Marek Polacek <polacek@redhat.com>
54119
54120 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
54121 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
54122
54123 2012-08-17 Roland McGrath <roland@hack.frob.com>
54124
54125 * configure.in: Add AC_SUBST for sysheaders.
54126 * configure: Regenerated.
54127 * config.make.in (sysheaders): New substituted variable.
54128
54129 * sysdeps/unix/mkfifo.c: Moved ...
54130 * sysdeps/posix/mkfifo.c: ... here.
54131 * sysdeps/unix/mkfifoat.c: Moved ...
54132 * sysdeps/posix/mkfifoat.c: ... here.
54133
54134 * sysdeps/unix/utime.c: Moved ...
54135 * sysdeps/posix/utime.c: ... here.
54136
54137 * sysdeps/unix/time.c: Moved ...
54138 * sysdeps/posix/time.c: ... here.
54139 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
54140 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
54141
54142 * sysdeps/unix/nice.c: Moved ...
54143 * sysdeps/posix/nice.c: ... here.
54144
54145 * sysdeps/unix/alarm.c: Moved ...
54146 * sysdeps/posix/alarm.c: ... here.
54147
54148 * intl/Makefile ($(codeset_mo)): Depend on the input file.
54149
54150 2012-08-17 Jeff Law <law@redhat.com>
54151
54152 * intl/Makefile (codeset_mo): New variable.
54153 ($(codeset_mo)): New target.
54154 (tst-codeset.out): Depend on that. Remove explicit rule.
54155 (tst-gettext3.out, tst-gettext5.out): Likewise.
54156 (LOCPATH-ENV, tst-codeset-ENV): New variables.
54157 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
54158 * intl/tst-codeset.sh: Remove.
54159 * intl/tst-gettext3.sh: Likewise.
54160 * intl/tst-gettext5.sh: Likewise.
54161
54162 2012-08-17 Roland McGrath <roland@hack.frob.com>
54163
54164 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
54165 * sysdeps/unix/syscalls.list: ... here.
54166
54167 * sysdeps/posix/getaddrinfo.c
54168 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
54169 (gaiconf_init, gaiconf_reload): Use them.
54170 [!_STATBUF_ST_NSEC]
54171 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
54172 Define using time_t rather than struct timespec.
54173
54174 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
54175 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
54176 Macros removed.
54177 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
54178 [!NO_THREADS].
54179 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
54180 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
54181 Likewise.
54182
54183 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
54184 __libc_cleanup_push argument.
54185
54186 * bits/param.h: New file.
54187 * misc/sys/param.h: New file.
54188 * include/sys/param.h: New file.
54189 * misc/Makefile (headers): Add bits/param.h.
54190 * sysdeps/generic/sys/param.h: File removed.
54191 * sysdeps/unix/sysv/linux/bits/param.h: New file.
54192 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
54193 * sysdeps/mach/hurd/bits/param.h: New file.
54194 * sysdeps/mach/hurd/sys/param.h: File removed.
54195
54196 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
54197 last change.
54198
54199 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
54200 [_IO_MTSAFE_IO].
54201 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
54202 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
54203 New macros.
54204
54205 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
54206 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
54207 rather than -D_IO_MTSAFE_IO conditionally.
54208 * stdio-common/Makefile (CPPFLAGS): Likewise.
54209 * wcsmbs/Makefile (CPPFLAGS): Likewise.
54210 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
54211 Use $(libio-mtsafe).
54212 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
54213 of -D_IO_MTSAFE_IO.
54214 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
54215 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
54216 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
54217 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
54218 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
54219 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
54220 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
54221 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
54222 (CFLAGS-fread_u_chk.c): Likewise.
54223 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
54224 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
54225 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
54226 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
54227 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
54228 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
54229 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
54230 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
54231 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
54232
54233 * libio/Makefile: Test [$(libc-reentrant) = yes]
54234 instead of [$(filter %REENTRANT, $(defines)) nonempty].
54235
54236 * Makeconfig
54237 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
54238 * sysdeps/pthread/configure: File removed.
54239 * sysdeps/pthread/Makeconfig: New file.
54240 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
54241 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
54242
54243 2012-08-16 Gary Benson <gbenson@redhat.com>
54244
54245 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
54246 unmapping the first object in a namespace.
54247
54248 2012-08-16 Roland McGrath <roland@hack.frob.com>
54249
54250 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
54251 (__internal_setnetgrent): ... this. Add internal_function to
54252 definition. Add libc_hidden_def.
54253 (setnetgrent): Update caller.
54254 (internal_endnetgrent): Renamed to ...
54255 (__internal_endnetgrent): ... this. Add internal_function to
54256 definition. Add libc_hidden_def.
54257 (endnetgrent): Update caller.
54258 (internal_getnetgrent_r): Renamed to ...
54259 (__internal_getnetgrent_r): ... this. Add internal_function to
54260 definition. Add libc_hidden_def.
54261 (__getnetgrent_r): Update caller.
54262 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
54263
54264 2012-08-16 Joseph Myers <joseph@codesourcery.com>
54265
54266 * stdlib/longlong.h: Update from GCC.
54267
54268 2012-08-16 Roland McGrath <roland@hack.frob.com>
54269
54270 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
54271 on _QL, which is set by umul_ppmm but never used.
54272 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
54273 variables, which are set by GMP macros but never used.
54274 * stdio-common/_itowa.c (_itowa): Likewise.
54275 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
54276 * stdlib/mod_1.c (mpn_mod_1): Likewise.
54277
54278 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
54279
54280 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
54281 struct La_sh_regs is not constant.
54282 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
54283 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
54284 and struct La_sparc64_regs are not constant.
54285
54286 2012-08-16 Joseph Myers <joseph@codesourcery.com>
54287
54288 * sysdeps/unix/sysv/linux/kernel-features.h
54289 (__ASSUME_POSIX_TIMERS): Remove.
54290 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54291 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54292 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
54293 Make code unconditional.
54294 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54295 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
54296 Make code unconditional.
54297 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54298 * sysdeps/unix/sysv/linux/clock_nanosleep.c
54299 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
54300 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54301 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
54302 Make code unconditional.
54303 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54304 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
54305 (__libc_missing_posix_timers): Remove.
54306
54307 2012-08-15 Roland McGrath <roland@hack.frob.com>
54308
54309 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
54310 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
54311
54312 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
54313
54314 * elf/dl-sym.c: Include <stdlib.h>.
54315
54316 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
54317 constants, which avoids warnings in 32-bit builds.
54318
54319 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
54320 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
54321
54322 * misc/lseek.c: File moved to ...
54323 * io/lseek.c: ... here.
54324
54325 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
54326
54327 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
54328 shifting LEN more than 31 bits at once.
54329
54330 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54331
54332 [BZ #14195]
54333 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
54334 segmentation fault for a case of two empty input strings.
54335 * string/test-strncasecmp.c (check1): Renamed to...
54336 (bz12205): ...this.
54337 (bz14195): Add new testcase for two empty input strings and N > 0.
54338 (test_main): Call new testcase, adapt for renamed function.
54339
54340 2012-08-15 Andreas Jaeger <aj@suse.de>
54341
54342 [BZ #14090]
54343 * crypt/md5test2.c: New test, based on test supplied by Serge
54344 Belyshev <belyshev@depni.sinp.msu.ru>.
54345 * crypt/Makefile (xtests): Add md5test-giant..
54346 * crypt/Makefile ($(objpfx)md5test-giant): Add.
54347
54348 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
54349
54350 [BZ #14090]
54351 * crypt/md5.c (md5_process_block): Don't assume the buffer
54352 length is less than 2**32.
54353 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
54354 length is less than 2**64.
54355
54356 2012-08-15 Roland McGrath <roland@hack.frob.com>
54357
54358 * string/str-two-way.h: Include <sys/param.h>.
54359 (MAX): Macro removed.
54360
54361 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
54362 Move #define and #undef of memmove to just before and after
54363 including <string.h>.
54364
54365 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
54366 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
54367 and after including <string.h>. Move declarations of
54368 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
54369 to before #include "string/memmove.c".
54370
54371 * include/dirent.h: Declare __getdirentries.
54372
54373 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
54374 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
54375
54376 2012-08-14 Mike Frysinger <vapier@gentoo.org>
54377
54378 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
54379 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
54380 * sysdeps/i386/configure: Regenerated.
54381 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
54382 STABS_CURRENT_FILE, and STABS_FUN.
54383 (END): Remove call to STABS_FUN_END.
54384 (STABS_CURRENT_FILE1): Delete.
54385 (STABS_CURRENT_FILE): Likewise.
54386 (STABS_FUN): Likewise.
54387 (STABS_FUN_END): Likewise.
54388 (STABS_FUN2): Likewise.
54389 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
54390 * sysdeps/x86_64/configure: Regenerated.
54391
54392 2012-08-14 Roland McGrath <roland@hack.frob.com>
54393
54394 * elf/dl-open.c: Include <atomic.h>.
54395 * elf/dl-lookup.c: Likewise.
54396
54397 2012-08-14 Joseph Myers <joseph@codesourcery.com>
54398
54399 * sysdeps/unix/sysv/linux/kernel-features.h
54400 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
54401 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
54402 unconditionally.
54403 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
54404 unconditionally.
54405 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
54406 condition on __ASSUME_CLONE_THREAD_FLAGS.
54407
54408 2012-08-14 Andreas Jaeger <aj@suse.de>
54409
54410 * sysdeps/i386/fpu/libm-test-ulps: Update.
54411
54412 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
54413
54414 * include/atomic.h (atomic_exchange_and_add): Split into ...
54415 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
54416 New atomic macros.
54417
54418 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
54419
54420 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54421
54422 2012-08-13 Jeff Law <law@redhat.com>
54423
54424 * manual/stdio.texi (snprintf): Clarify handling of the trailing
54425 null byte in the output string.
54426
54427 2012-08-10 Joseph Myers <joseph@codesourcery.com>
54428
54429 * sysdeps/unix/sysv/linux/kernel-features.h
54430 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
54431 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
54432 (__ASSUME_ARG_MAX_STACK_BASED): Define.
54433 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
54434 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
54435 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
54436 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
54437
54438 2012-08-09 Jeff Law <law@redhat.com>
54439
54440 [BZ #13939]
54441 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
54442 When avoid_arena is set, don't retry in the that arena. Pick the
54443 next one, whatever it might be.
54444 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
54445 (arena_lock): Pass in new parameter to arena_get2.
54446 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
54447 arena_get2.
54448 (__libc_malloc): Unify retrying after main arena failure with
54449 __libc_memalign version.
54450 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
54451
54452 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
54453
54454 [BZ #14166]
54455 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
54456 to __redirect_strstr.
54457 (__strstr_sse42): Use typeof __redirect_strstr.
54458 (__strstr_ia32): Likewise.
54459 (__libc_strstr): New prototype.
54460 (strstr): Renamed to ...
54461 (__libc_strstr): This.
54462 (strstr): New strong alias of __libc_strstr.
54463 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
54464 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
54465 __redirect_time.
54466 Include <time.h>.
54467 (__libc_time): New prototype.
54468 (time_ifunc): Replace time with __libc_time.
54469 (time): New strong alias and hidden definition of __libc_time.
54470 (__GI_time): Remove strong alias.
54471 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
54472 Include <stddef.h>.
54473 (memmove): Redefined to __redirect_memmove.
54474 (__memmove_sse2): Use typeof __redirect_memmove.
54475 (__memmove_ssse3): Likewise.
54476 (__memmove_ssse3_back): Likewise.
54477 (__libc_memmove): New prototype.
54478 (memmove): Renamed to ...
54479 (__libc_memmove): This.
54480 (memmove): New strong alias of __libc_memmove.
54481
54482 2012-08-08 Mark Salter <msalter@redhat.com>
54483
54484 * elf/elf.h
54485 (R_MN10300_TLS_GD): Define.
54486 (R_MN10300_TLS_LD): Likewise.
54487 (R_MN10300_TLS_LDO): Likewise.
54488 (R_MN10300_TLS_GOTIE): Likewise.
54489 (R_MN10300_TLS_IE): Likewise.
54490 (R_MN10300_TLS_LE): Likewise.
54491 (R_MN10300_TLS_DTPMOD): Likewise.
54492 (R_MN10300_TLS_DTPOFF): Likewise.
54493 (R_MN10300_TLS_TPOFF): Likewise.
54494 (R_MN10300_SYM_DIFF): Likewise.
54495 (R_MN10300_ALIGN): Likewise.
54496 (R_MN10300_NUM): Update.
54497
54498 2012-08-08 Joseph Myers <joseph@codesourcery.com>
54499
54500 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
54501 Remove.
54502
54503 2012-08-08 Roland McGrath <roland@hack.frob.com>
54504
54505 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
54506
54507 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
54508 sysdeps/unix -> sysdeps/posix move.
54509 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
54510
54511 2012-08-07 Allan McRae <allan@archlinux.org>
54512
54513 [BZ #14303]
54514 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
54515 (SUNOS_CPP): Likewise.
54516 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
54517 not found.
54518 (open_input): Call CPP using execvp.
54519
54520 2012-08-07 Joseph Myers <joseph@codesourcery.com>
54521
54522 * sysdeps/unix/sysv/linux/kernel-features.h
54523 (__ASSUME_PROT_GROWSUPDOWN): Remove.
54524 (__ASSUME_NO_CLONE_DETACHED): Likewise.
54525 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
54526 (__ASSUME_WAITID_SYSCALL): Likewise.
54527 * sysdeps/unix/sysv/linux/dl-execstack.c
54528 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
54529 code unconditional.
54530 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
54531 conditional code.
54532 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
54533 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
54534 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
54535 code.
54536 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
54537 unconditional.
54538 [__ASSUME_WAITID_SYSCALL]: Likewise.
54539 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
54540
54541 2012-08-07 Roland McGrath <roland@hack.frob.com>
54542
54543 * sysdeps/unix/closedir.c: Renamed to ...
54544 * sysdeps/posix/closedir.c: ... here.
54545 * sysdeps/unix/dirfd.c: Renamed to ...
54546 * sysdeps/posix/dirfd.c: ... here.
54547 * sysdeps/unix/dirstream.h: Renamed to ...
54548 * sysdeps/posix/dirstream.h: ... here.
54549 * sysdeps/unix/fdopendir.c: Renamed to ...
54550 * sysdeps/posix/fdopendir.c: ... here.
54551 * sysdeps/unix/opendir.c: Renamed to ...
54552 * sysdeps/posix/opendir.c: ... here.
54553 * sysdeps/unix/readdir.c: Renamed to ...
54554 * sysdeps/posix/readdir.c: ... here.
54555 * sysdeps/unix/readdir_r.c: Renamed to ...
54556 * sysdeps/posix/readdir_r.c: ... here.
54557 * sysdeps/unix/rewinddir.c: Renamed to ...
54558 * sysdeps/posix/rewinddir.c: ... here.
54559 * sysdeps/unix/seekdir.c: Renamed to ...
54560 * sysdeps/posix/seekdir.c: ... here.
54561 * sysdeps/unix/telldir.c: Renamed to ...
54562 * sysdeps/posix/telldir.c: ... here.
54563 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
54564 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
54565 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
54566 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
54567
54568 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
54569 * bits/fcntl.h: ... here.
54570
54571 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
54572 not 0.
54573 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
54574 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
54575 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
54576 (struct flock): Move l_start, l_len to the beginning.
54577 Use __pid_t for l_pid.
54578 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
54579 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
54580 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
54581 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
54582 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
54583 [__USE_LARGEFILE64] (struct flock64): New type.
54584 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
54585
54586 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
54587 * bits/dirent.h: ... here.
54588
54589 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
54590 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
54591
54592 2012-08-07 Joseph Myers <joseph@codesourcery.com>
54593
54594 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54595 Change from 2.6.0 to 2.6.16.
54596 * sysdeps/unix/sysv/linux/configure: Regenerated.
54597 * sysdeps/unix/sysv/linux/kernel-features.h
54598 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
54599 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
54600 version.
54601 (__ASSUME_UTIMES): Likewise.
54602 (__ASSUME_CLONE_STOPPED): Remove.
54603 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
54604 architectures, not kernel version.
54605 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
54606 (__ASSUME_NO_CLONE_DETACHED): Likewise.
54607 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
54608 (__ASSUME_WAITID_SYSCALL): Likewise.
54609 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
54610 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
54611 * README: State 2.6.16 as minimum Linux kernel version. Do not
54612 refer to older versions.
54613
54614 2012-08-06 Roland McGrath <roland@hack.frob.com>
54615
54616 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
54617 Define alphasort64 as an alias.
54618 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
54619 Define versionsort64 as an alias.
54620 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
54621 Define scandir64 as an alias.
54622 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
54623 Define scandirat64 as an alias.
54624 * dirent/alphasort64.c (alphasort64):
54625 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
54626 * dirent/versionsort64.c: Likewise.
54627 * dirent/scandir64.c: Likewise.
54628 * dirent/scandirat64.c: Likewise.
54629 * sysdeps/wordsize-64/alphasort.c: File removed.
54630 * sysdeps/wordsize-64/alphasort64.c: File removed.
54631 * sysdeps/wordsize-64/scandir.c: File removed.
54632 * sysdeps/wordsize-64/scandir64.c: File removed.
54633 * sysdeps/wordsize-64/scandirat.c: File removed.
54634 * sysdeps/wordsize-64/scandirat64.c: File removed.
54635 * sysdeps/wordsize-64/versionsort.c: File removed.
54636 * sysdeps/wordsize-64/versionsort64.c: File removed.
54637 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
54638 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
54639 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
54640 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
54641 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
54642 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
54643 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
54644 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
54645
54646 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
54647 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54648 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
54649 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54650 [defined __arch64__ || defined __sparcv9]
54651 (__INO_T_MATCHES_INO64_T): New macro.
54652 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54653 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
54654 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
54655 * sysdeps/unix/sysv/linux/bits/dirent.h
54656 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
54657 (_DIRENT_MATCHES_DIRENT64): New macro.
54658
54659 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
54660 Define lockf64 as an alias.
54661 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
54662 Define fseeko64 as an alias.
54663 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
54664 Define ftello64 as an alias.
54665 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
54666 Define _IO_fgetpos64 and fgetpos64 as aliases.
54667 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
54668 Define _IO_fsetpos64 and fsetpos64 as aliases.
54669 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
54670 Conditionalize body on this.
54671 * libio/fseeko64.c: Likewise.
54672 * libio/ftello64.c: Likewise.
54673 * libio/iofgetpos64.c: Likewise.
54674 * libio/iofsetpos64.c: Likewise.
54675 * sysdeps/wordsize-64/lockf.c: File removed.
54676 * sysdeps/wordsize-64/lockf64.c: File removed.
54677 * sysdeps/wordsize-64/fseeko.c: File removed.
54678 * sysdeps/wordsize-64/fseeko64.c: File removed.
54679 * sysdeps/wordsize-64/ftello.c: File removed.
54680 * sysdeps/wordsize-64/ftello64.c: File removed.
54681 * sysdeps/wordsize-64/iofgetpos.c: File removed.
54682 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
54683 * sysdeps/wordsize-64/iofsetpos.c: File removed.
54684 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
54685 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
54686 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
54687 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
54688 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
54689 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
54690 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
54691 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
54692 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
54693 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
54694 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
54695
54696 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54697 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54698 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
54699 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54700 [defined __arch64__ || defined __sparcv9]
54701 (__OFF_T_MATCHES_OFF64_T): New macro.
54702 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54703 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54704 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54705 (__OFF_T_MATCHES_OFF64_T): New macro.
54706
54707 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
54708
54709 * stdlib/secure-getenv.c (__secure_getenv): Replace
54710 GLIBC_2_16 with GLIBC_2_17.
54711
54712 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
54713
54714 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
54715 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
54716
54717 2012-08-03 David S. Miller <davem@davemloft.net>
54718
54719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54720
54721 2012-08-03 Joseph Myers <joseph@codesourcery.com>
54722
54723 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
54724 Remove.
54725 (__ASSUME_CORRECT_SI_PID): Likewise.
54726 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
54727 (__ASSUME_TMPFS_NAME): Likewise.
54728 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
54729 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
54730 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
54731 (HAVE_AUX_SECURE): Make definition unconditional.
54732 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
54733 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
54734
54735 2012-08-03 Roland McGrath <roland@hack.frob.com>
54736
54737 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
54738 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
54739 * sysdeps/mach/hurd/eloop-threshold.h: New file.
54740 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
54741 __eloop_threshold instead of SYMLOOP_MAX.
54742
54743 * sysdeps/generic/eloop-threshold.h: New file.
54744 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
54745 of MAXSYMLINKS.
54746 * elf/chroot_canon.c (chroot_canon): Likewise.
54747
54748 2012-08-03 Joseph Myers <joseph@codesourcery.com>
54749
54750 [BZ #13717]
54751 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54752 Change to 2.6.0 everywhere.
54753 * sysdeps/unix/sysv/linux/configure: Regenerated.
54754 * sysdeps/unix/sysv/linux/kernel-features.h
54755 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
54756 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
54757 kernel versions.
54758 (__ASSUME_POSIX_TIMERS): Define unconditionally.
54759 (__ASSUME_FUTEX_REQUEUE): Remove.
54760 (__ASSUME_STATFS64): Define unconditionally.
54761 (__ASSUME_AT_SECURE): Likewise.
54762 (__ASSUME_CORRECT_SI_PID): Likewise.
54763 (__ASSUME_TGKILL): Define without depending on kernel version for
54764 i386.
54765 (__ASSUME_UTIMES): Likewise.
54766 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
54767 kernel version.
54768 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
54769 (__ASSUME_TMPFS_NAME): Likewise.
54770 * README: Update reference to Linux kernel versions.
54771
54772 2012-08-02 Marek Polacek <polacek@redhat.com>
54773
54774 [BZ# 14150]
54775 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
54776 libc_cv_asm_type_prefix with %.
54777 * configure: Regenerated.
54778 * include/libc-symbols.h: Remove comment about
54779 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54780 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
54781 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
54782 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
54783 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
54784 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54785 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
54786 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
54787 * elf/tst-unique2mod1.c: Likewise.
54788 * elf/tst-unique1mod2.c: Likewise.
54789 * elf/tst-unique1mod1.c: Likewise.
54790 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
54791 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
54792 Replace ASM_TYPE_DIRECTIVE with .type.
54793 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54794 * sysdeps/i386/sysdep.h: Likewise.
54795 * sysdeps/x86_64/sysdep.h: Likewise.
54796 * sysdeps/sh/sysdep.h: Likewise.
54797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54798 Do not define ASM_TYPE_DIRECTIVE.
54799 * sysdeps/powerpc/sysdep.h: Likewise.
54800 * sysdeps/powerpc/powerpc32/sysdep.h:
54801 Replace ASM_TYPE_DIRECTIVE with .type.
54802 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54803 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54804 * sysdeps/i386/fpu/e_powf.S: Likewise.
54805 * sysdeps/i386/fpu/e_expl.S: Likewise.
54806 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54807 * sysdeps/i386/fpu/e_acosh.S: Likewise.
54808 * sysdeps/i386/fpu/e_pow.S: Likewise.
54809 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54810 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54811 * sysdeps/i386/fpu/s_expm1.S: Likewise.
54812 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54813 * sysdeps/i386/fpu/e_log2.S: Likewise.
54814 * sysdeps/i386/fpu/e_log2l.S: Likewise.
54815 * sysdeps/i386/fpu/e_scalb.S: Likewise.
54816 * sysdeps/i386/fpu/e_powl.S: Likewise.
54817 * sysdeps/i386/fpu/e_log10f.S: Likewise.
54818 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54819 * sysdeps/i386/fpu/e_logl.S: Likewise.
54820 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54821 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54822 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54823 * sysdeps/i386/fpu/e_log2f.S: Likewise.
54824 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54825 * sysdeps/i386/fpu/e_log.S: Likewise.
54826 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54827 * sysdeps/i386/fpu/e_logf.S: Likewise.
54828 * sysdeps/i386/fpu/e_log10l.S: Likewise.
54829 * sysdeps/i386/fpu/e_atanh.S: Likewise.
54830 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54831 * sysdeps/i386/fpu/e_log10.S: Likewise.
54832 * sysdeps/i386/fpu/s_frexp.S: Likewise.
54833 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54834 * sysdeps/i386/fpu/s_asinh.S: Likewise.
54835 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54836 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54837 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
54838 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54839 * sysdeps/i386/i686/strtok.S: Likewise.
54840 * sysdeps/i386/i386-mcount.S: Likewise.
54841 * sysdeps/i386/strtok.S: Likewise.
54842 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
54843 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54844 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54845 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54846 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54847 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54848 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54849 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54850 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54851 * sysdeps/x86_64/_mcount.S: Likewise.
54852 * sysdeps/x86_64/strtok.S: Likewise.
54853 * sysdeps/sh/_mcount.S: Likewise.
54854
54855 2012-08-01 Roland McGrath <roland@hack.frob.com>
54856
54857 * libio/iofopen.c: Include <fcntl.h>.
54858 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
54859 (_IO_fopen64, fopen64): Define as aliases.
54860 * libio/iofopen64.c: Include <fcntl.h>.
54861 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
54862 Conditionalize body on this.
54863 * sysdeps/wordsize-64/iofopen.c: File removed.
54864 * sysdeps/wordsize-64/iofopen64.c: File removed.
54865
54866 2012-08-01 Marek Polacek <polacek@redhat.com>
54867
54868 * libc/Makeconfig: Use elf in place of binfmt-subdir.
54869 Use dlfcn directly instead of a variable.
54870 (binfmt-subdir): Do not define.
54871 (dlfcn): Likewise.
54872
54873 2012-08-01 Joseph Myers <joseph@codesourcery.com>
54874
54875 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
54876 Remove all definitions.
54877 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
54878 <kernel-features.h>.
54879 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54880 (miss_F_GETOWN_EX): Remove all definitions.
54881 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
54882 macro definition.
54883 [!__ASSUME_FCNTL64]: Remove conditional code.
54884 [__ASSUME_FCNTL64]: Make code unconditional.
54885 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
54886 <kernel-features.h>.
54887 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54888 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
54889 (lockf64) [__NR_fcntl64]: Make code unconditional.
54890 (lockf64) [__ASSUME_FCNTL64]: Likewise.
54891
54892 * sysdeps/unix/sysv/linux/kernel-features.h
54893 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
54894 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
54895 Make code unconditional.
54896 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54897 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
54899 [__NR_vfork]: Make code unconditional.
54900 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54901 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
54903 [__NR_vfork]: Make code unconditional.
54904 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54905 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54906
54907 2012-08-01 Roland McGrath <roland@hack.frob.com>
54908
54909 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
54910 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
54911
54912 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54913 Define mkstemp64 as an alias.
54914 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54915 Define mkstemps64 as an alias.
54916 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54917 Define mkostemp64 as an alias.
54918 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54919 Define mkostemps64 as an alias.
54920 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
54921 Conditionalize body on this.
54922 * misc/mkostemp64.c: Likewise.
54923 * misc/mkostemps64.c: Likewise.
54924 * misc/mkstemps64.c: Likewise.
54925 * sysdeps/wordsize-64/mkstemp64.c: File removed.
54926 * sysdeps/wordsize-64/mkostemp64.c: File removed.
54927 * sysdeps/wordsize-64/mkostemp.c: File removed.
54928 * sysdeps/wordsize-64/mkstemp.c: File removed.
54929 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
54930 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
54931 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
54932 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
54933
54934 [BZ #14138]
54935 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
54936 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
54937 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
54938 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
54939
54940 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
54941 compat_symbol macros from <shlib-compat.h> rather than the underlying
54942 default_symbol_version and symbol_version macros, so that DEFAULT
54943 lines in shlib-versions are respected.
54944 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
54945
54946 2012-08-01 Florian Weimer <fweimer@redhat.com>
54947
54948 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
54949 Declare with warn_unused_result.
54950 (setgid, setregid, setegid, setresgid): Likewise.
54951 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
54952 Likewise.
54953 * WUR-REPORT: Remove set*id functions.
54954
54955 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
54956
54957 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
54958
54959 2012-07-31 Roland McGrath <roland@hack.frob.com>
54960
54961 [BZ #10191]
54962 * include/sys/socket.h (__libc_accept, __libc_accept4):
54963 Add attribute_hidden.
54964 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
54965
54966 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
54967 use of PTR_MANGLE.
54968 * inet/getnetgrent_r.c (setup): Likewise.
54969
54970 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
54971
54972 2012-07-31 David S. Miller <davem@davemloft.net>
54973
54974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54975
54976 2012-07-31 Joseph Myers <joseph@codesourcery.com>
54977
54978 [BZ #13629]
54979 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
54980 value between 1.0 and 2.0 and smaller part has absolute value less
54981 than 1.0.
54982 * math/s_clog10.c (__clog10): Likewise.
54983 * math/s_clog10f.c (__clog10f): Likewise.
54984 * math/s_clog10l.c (__clog10l): Likewise.
54985 * math/s_clogf.c (__clogf): Likewise.
54986 * math/s_clogl.c (__clogl): Likewise.
54987 * math/libm-test.inc (clog_test): Add more tests.
54988 (clog10_test): Likewise.
54989 * sysdeps/i386/fpu/libm-test-ulps: Update.
54990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54991
54992 2012-07-31 Florian Weimer <fweimer@redhat.com>
54993
54994 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
54995 Exit with zero in case no suitable GID is found, and write a
54996 message to standard error.
54997
54998 2012-07-30 Roland McGrath <roland@hack.frob.com>
54999
55000 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
55001 rather than to 1.
55002 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
55003 (MAXPATHLEN): Removed.
55004 (NOGROUP, NODEV): New macros.
55005 (setbit, clrbit, isset, isclr): New macros.
55006 (howmany, roundup, powerof2): New macros.
55007 (DEV_BSIZE): New macro.
55008
55009 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
55010 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
55011
55012 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
55013 definition on [!__NO_LONG_DOUBLE_MATH].
55014
55015 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
55016 PTR_MANGLE and PTR_DEMANGLE.
55017
55018 * socket/accept4.c (accept4): Rename to __libc_accept4.
55019 Define accept4 as a weak alias.
55020
55021 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
55022 on [_DIRENT_HAVE_D_TYPE].
55023 * io/ftw.c (ftw_dir): Likewise.
55024
55025 * io/xmknod.c (__xmknod): Don't check PATH for being null.
55026
55027 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
55028
55029 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
55030 Use the BSD numbers rather than the arbitrary ones we had.
55031 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
55032 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
55033 (SIGXCPU, SIGXFSZ): New macros.
55034 (_NSIG): Now 32.
55035
55036 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
55037 initializer on [_LIBC_REENTRANT].
55038
55039 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
55040 definitions inside [_POSIX_MAPPED_FILES].
55041
55042 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
55043
55044 * dirent/opendir.c: Include <fcntl.h>.
55045
55046 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
55047 (__libc_getspecific): Likewise.
55048 (__libc_key_create): Likewise.
55049
55050 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
55051 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
55052 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
55053 (tmpfile64): Define as alias.
55054 * sysdeps/wordsize-64/tmpfile.c: File removed.
55055 * sysdeps/wordsize-64/tmpfile64.c: File removed.
55056 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
55057 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
55058
55059 * stdio-common/vfscanf.c: Include <stdbool.h>.
55060 * nss/makedb.c: Likewise.
55061 * stdio-common/_i18n_number.h: Likewise.
55062 * argp/argp-help.c: Likewise.
55063 * posix/wordexp.c: Likewise.
55064 * sysdeps/posix/spawni.c: Likewise.
55065 * nss/nss_files/files-initgroups.c: Likewise.
55066 * stdio-common/reg-modifier.c: Include <stdlib.h>.
55067 * nss/nss_files/files-initgroups.c: Likewise.
55068 * nss/nss_db/db-netgrp.c: Likewise.
55069 * nss/nss_db/db-initgroups.c: Likewise.
55070 * io/fchmodat.c: Include <sys/stat.h>.
55071
55072 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
55073 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
55074
55075 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
55076 [HAVE_MMAP].
55077
55078 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
55079 Add multiple inclusion protection.
55080
55081 2012-07-27 David S. Miller <davem@davemloft.net>
55082
55083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55084
55085 2012-07-27 Gary Benson <gbenson@redhat.com>
55086
55087 [BZ #14298]
55088 * elf/rtld.c: Include <stap-probe.h>.
55089 (dl_main): Added static probes "init_start" and "init_complete".
55090 * elf/dl-load.c: Include <stap-probe.h>.
55091 (lose): Take new parameter "nsid".
55092 Added static probe "map_failed".
55093 (_dl_map_object_from_fd): Pass namespace id to lose.
55094 Added static probe "map_start".
55095 (open_verify): Pass namespace id to lose.
55096 * elf/dl-open.c: Include <stap-probe.h>.
55097 (dl_open_worker) Added static probes "map_complete", "reloc_start"
55098 and "reloc_complete".
55099 * elf/dl-close.c: Include <stap-probe.h>.
55100 (_dl_close_worker): Added static probes "unmap_start" and
55101 "unmap_complete".
55102 * elf/rtld-debugger-interface.txt: New file documenting the above.
55103
55104 2012-07-26 Roland McGrath <roland@hack.frob.com>
55105
55106 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
55107 rather than a string variable.
55108 * sunrpc/rpc_main.c (h_output): Likewise.
55109 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
55110
55111 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
55112
55113 * inet/check_native.c: New file.
55114
55115 2012-07-26 Joseph Myers <joseph@codesourcery.com>
55116
55117 [BZ #13629]
55118 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
55119 if larger part has absolute value 1.0.
55120 * math/s_clog10.c (__clog10): Likewise.
55121 * math/s_clog10f.c (__clog10f): Likewise.
55122 * math/s_clog10l.c (__clog10l): Likewise.
55123 * math/s_clogf.c (__clogf): Likewise.
55124 * math/s_clogl.c (__clogl): Likewise.
55125 * math/libm-test.inc (clog_test): Add more tests.
55126 (clog10_test): Likewise.
55127 * sysdeps/i386/fpu/libm-test-ulps: Update.
55128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55129
55130 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
55131 (pltexit): Likewise.
55132 (La_regs): Likewise.
55133 (La_retval): Likewise.
55134 (int_retval): Likewise.
55135 Update #error for removed macros to refer only to definitions in
55136 tst-audit.h.
55137 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
55138 macro.
55139 (pltexit): Likewise.
55140 (La_regs): Likewise.
55141 (La_retval): Likewise.
55142 (int_retval): Likewise.
55143 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
55144 macro.
55145 (pltexit): Likewise.
55146 (La_regs): Likewise.
55147 (La_retval): Likewise.
55148 (int_retval): Likewise.
55149 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
55150 macro.
55151 (pltexit): Likewise.
55152 (La_regs): Likewise.
55153 (La_retval): Likewise.
55154 (int_retval): Likewise.
55155 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
55156 macro.
55157 (pltexit): Likewise.
55158 (La_regs): Likewise.
55159 (La_retval): Likewise.
55160 (int_retval): Likewise.
55161 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
55162 macro.
55163 (pltexit): Likewise.
55164 (La_regs): Likewise.
55165 (La_retval): Likewise.
55166 (int_retval): Likewise.
55167 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
55168 macro.
55169 (pltexit): Likewise.
55170 (La_regs): Likewise.
55171 (La_retval): Likewise.
55172 (int_retval): Likewise.
55173 * sysdeps/generic/tst-audit.h: Update comment to refer only to
55174 macro definitions in tst-audit.h.
55175 * sysdeps/i386/tst-audit.h: New file.
55176 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
55177 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
55178 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
55179 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
55180 * sysdeps/sh/tst-audit.h: Likewise.
55181 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
55182 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
55183 * sysdeps/x86_64/tst-audit.h: Likewise.
55184
55185 2012-07-26 Andreas Jaeger <aj@suse.de>
55186
55187 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
55188 ptrace.
55189
55190 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
55191 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
55192 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
55193 PTRACE_O_MASK.
55194 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
55195 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
55196 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
55197
55198 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
55199 value.
55200
55201 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
55202 _sigsys.
55203 (si_call_addr, si_syscall, si_arch): Define new macro.
55204 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
55205 _sigsys.
55206 (si_call_addr, si_syscall, si_arch): Define new marcro.
55207 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
55208 _sigsys.
55209 (si_call_addr, si_syscall, si_arch): Define new macro.
55210 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
55211 _sigsys.
55212 (si_call_addr, si_syscall, si_arch): Define new macro.
55213
55214 2012-07-25 Joseph Myers <joseph@codesourcery.com>
55215
55216 [BZ #13717]
55217 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55218 Change to 2.4.21 where previously 2.4.1.
55219 * sysdeps/unix/sysv/linux/configure: Regenerated.
55220 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
55221 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
55222 Linux kernel version.
55223 (__ASSUME_STD_AUXV): Remove.
55224 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
55225 kernel version.
55226 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
55227 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
55228 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
55229 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
55230 (__ASSUME_NETLINK_SUPPORT): Likewise.
55231 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
55232 (__no_netlink_support): Remove conditional definition.
55233 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
55234 Remove.
55235 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
55236 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
55237 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
55238 (if_nameindex_ioctl): Remove.
55239 (if_nameindex_netlink): Do not handle __no_netlink_support.
55240 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55241 code.
55242 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
55243 Remove conditional code.
55244 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55245 code.
55246 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
55247 unconditional.
55248 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
55249 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
55250 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
55251 Remove.
55252 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
55253 [!__ASSUME_STD_AUXV]: Remove conditional code.
55254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
55255 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
55256 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
55257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
55258 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
55259 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
55260 code.
55261 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
55262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55263 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
55264 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
55265 conditional code.
55266 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
55267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
55268 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
55269 code.
55270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55271 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
55272 conditional code.
55273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
55274 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55275 code unconditional.
55276 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55277 conditional code.
55278 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55279 unconditional.
55280 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55281 conditional code.
55282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55283 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55284 unconditional.
55285 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55286 conditional code.
55287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
55288 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55289 code unconditional.
55290 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55291 conditional code.
55292 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55293 unconditional.
55294 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55295 conditional code.
55296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
55297 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55298 code unconditional.
55299 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55300 conditional code.
55301 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55302 unconditional.
55303 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55304 conditional code.
55305
55306 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
55307
55308 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
55309 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
55310 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
55311 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
55312 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
55313 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
55314 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
55315 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
55316 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
55317 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
55318 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
55319 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
55320 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
55321 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
55322 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
55323 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
55324 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
55325 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
55326 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
55327 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
55328 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
55329 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
55330 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
55331
55332 2012-07-25 Florian Weimer <fweimer@redhat.com>
55333
55334 * Versions.def: Add GLIBC_2.17.
55335 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
55336 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
55337 Introduce __libc_secure_getenv.
55338 * stdlib/Versions (2.17): Add secure_getenv
55339 (GLIBC_PRIVATE): Add __libc_secure_getenv.
55340 * stdlib/secure-getenv.c: Rename __secure_getenv to
55341 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
55342 symbol __secure_getenv for GLIBC_2.0.
55343 * stdlib/tst-secure-getenv.c: New.
55344 * stdlib/Makefile (tests): Add testcase.
55345 * manual/startup.texi (Environment Access): Document
55346 secure_getenv.
55347 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
55348 __libc_secure_getenv.
55349 * inet/ruserpass.c (ruserpass): Likewise.
55350 * malloc/mtrace.c (mtrace): Likewise.
55351 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
55352 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
55353 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
55354 * sysdeps/posix/tempname.c: Likewise. Evaluate
55355 HAVE_SECURE_GETENV.
55356 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
55357 __secure_getenv to __libc_secure_getenv.
55358 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
55359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55360 Likewise.
55361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55362 Likewise.
55363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
55364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
55365 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
55367 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
55368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55369 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
55370
55371 2012-07-25 Joseph Myers <joseph@codesourcery.com>
55372
55373 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
55374 (struct La_i86_retval): Likewise.
55375 (struct La_x86_64_regs): Likewise.
55376 (struct La_x86_64_retval): Likewise.
55377 (struct La_x32_regs): Likewise.
55378 (struct La_x32_retval): Likewise.
55379 (struct La_ppc32_regs): Likewise.
55380 (struct La_ppc32_retval): Likewise.
55381 (struct La_ppc64_regs): Likewise.
55382 (struct La_ppc64_retval): Likewise.
55383 (struct La_sh_regs): Likewise.
55384 (struct La_sh_retval): Likewise.
55385 (struct La_s390_32_regs): Likewise.
55386 (struct La_s390_32_retval): Likewise.
55387 (struct La_s390_64_regs): Likewise.
55388 (struct La_s390_64_retval): Likewise.
55389 (struct La_sparc32_regs): Likewise.
55390 (struct La_sparc32_retval): Likewise.
55391 (struct La_sparc64_regs): Likewise.
55392 (struct La_sparc64_retval): Likewise.
55393 (struct audit_ifaces): Remove architecture-specific pltenter and
55394 pltexit members.
55395 * sysdeps/i386/ldsodefs.h: New file.
55396 * sysdeps/powerpc/ldsodefs.h: Likewise.
55397 * sysdeps/s390/ldsodefs.h: Likewise.
55398 * sysdeps/sh/ldsodefs.h: Likewise.
55399 * sysdeps/sparc/ldsodefs.h: Likewise.
55400 * sysdeps/x86_64/ldsodefs.h: Likewise.
55401
55402 2012-07-25 Marek Polacek <polacek@redhat.com>
55403
55404 [BZ #6808]
55405 * math/libm-test.inc (yn_test): Add another test.
55406 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
55407 to ERANGE when the result is +-Inf.
55408 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
55409 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
55410 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
55411 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
55412
55413 2012-07-24 Joseph Myers <joseph@codesourcery.com>
55414
55415 * conform/data/time.h-data (NULL): Use macro-constant. Require
55416 equal to 0.
55417 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
55418 clock_t.
55419 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
55420
55421 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
55422
55423 * configure.in <sysdeps resolving>: Correct printing
55424 Implies_before.
55425 * configure: Regenerate.
55426
55427 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
55428
55429 * math/w_ilogb.c: Include <limits.h>.
55430 * math/w_ilogbl.c: Likewise.
55431
55432 2012-07-20 Joseph Myers <joseph@codesourcery.com>
55433
55434 * manual/lang.texi (__va_copy): Document primarily as ISO C99
55435 va_copy. Document allowing for unavailable va_copy only as
55436 pre-C99 compatibility.
55437 * manual/string.texi (Copying and Concatenation): Use va_copy
55438 instead of __va_copy in concat example.
55439
55440 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
55441
55442 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
55443 (__sendto): Use create_address_port. Initialize APORT and deallocate
55444 it if not null.
55445
55446 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
55447 with O_NOLINK passed to __file_name_lookup.
55448
55449 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
55450 with O_NOLINK passed to __file_name_lookup.
55451
55452 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
55453 negative N or less than NGIDS.
55454
55455 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
55456 type to string_t. Set ERANGE as errno and return it if NAME is not big
55457 enough. Use memcpy instead of strncpy.
55458
55459 2012-07-20 Joseph Myers <joseph@codesourcery.com>
55460
55461 * elf/Makefile (check-data): Remove.
55462 (localplt.data): New vpath directive.
55463 ($(objpfx)check-localplt.out): Use localplt.data from vpath
55464 instead of $(check-data).
55465 * scripts/data/localplt-generic.data: Move to ...
55466 * sysdeps/generic/localplt.data: ... here.
55467 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
55468 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
55469 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
55470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
55471 ... here.
55472 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
55473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
55474 ... here.
55475 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
55476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
55477 ... here.
55478 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
55479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
55480 ... here.
55481 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
55482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
55483 ... here.
55484 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
55485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
55486 ... here.
55487
55488 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55489
55490 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
55491 PPC32 and PPC64 files.
55492 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
55493 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
55494
55495 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55496
55497 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
55498 __makecontext_ret to ...
55499 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
55500 ... here and call exit if uc_link is NULL. New file.
55501 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
55502 __makecontext_ret.S.
55503 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
55504 __makecontext_ret to ...
55505 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
55506 ... here and call exit if uc_link is NULL. New file.
55507 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
55508 __makecontext_ret.S.
55509
55510 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55511
55512 * elf/elf.h (R_390_IRELATIVE): New definition.
55513 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
55514 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
55515 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
55516 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55517 (elf_machine_lazy_rel): Likewise.
55518 * sysdeps/s390/dl-irel.h: New file.
55519 * sysdeps/s390/s390-64/memcpy.S: New asm code.
55520 * sysdeps/s390/s390-64/memset.S: New asm code.
55521 * sysdeps/s390/s390-64/memcmp.S: New asm code.
55522 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
55523 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
55524 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
55525 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
55526 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
55527 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
55528 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
55529 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
55530 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
55531 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
55532 * sysdeps/s390/s390-32/memcpy.S: New asm code.
55533 * sysdeps/s390/s390-32/memset.S: New asm code.
55534 * sysdeps/s390/s390-32/memcmp.S: New asm code.
55535
55536 2012-07-17 Marek Polacek <polacek@redhat.com>
55537
55538 [BZ #14349]
55539 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
55540 * sysdeps/s390/s390-64/configure.in: Likewise.
55541 * sysdeps/sparc/configure.in: Likewise.
55542 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
55543 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
55544 * sysdeps/i386/configure.in: Likewise.
55545 * sysdeps/x86_64/configure.in: Likewise.
55546 * sysdeps/sh/configure.in: Likewise.
55547 * sysdeps/s390/s390-32/configure: Regenerated.
55548 * sysdeps/s390/s390-64/configure: Likewise.
55549 * sysdeps/x86_64/configure: Likewise.
55550 * sysdeps/sh/configure: Likewise.
55551 * sysdeps/powerpc/powerpc64/configure: Likewise.
55552 * sysdeps/powerpc/powerpc32/configure: Likewise.
55553 * sysdeps/sparc/configure: Likwise.
55554 * sysdeps/i386/configure: Likewise.
55555
55556 * elf/dl-open.c: Comment fixes.
55557
55558 2012-07-17 Joseph Myers <joseph@codesourcery.com>
55559
55560 * Makefile [CXX] (check-data): Remove.
55561 [CXX] (c++-types.data): New vpath directive.
55562 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
55563 vpath. Do not allow for C++ type data being missing.
55564 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
55565 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
55566 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
55567 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
55568 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
55569 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
55570 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
55571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
55572 ... here.
55573 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
55574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
55575 ... here.
55576 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
55577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
55578 ... here.
55579 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
55580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
55581 ... here.
55582 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
55583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
55584 ... here.
55585 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
55586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
55587 ... here.
55588 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
55589 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
55590 ... here.
55591 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
55592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
55593
55594 * elf/tls-macros.h (TLS_LE): Move architecture-specific
55595 definitions to architecture-specific files.
55596 (TLS_IE): Likewise.
55597 (TLS_LD): Likewise.
55598 (TLS_GD): Likewise.
55599 * sysdeps/i386/tls-macros.h: New file.
55600 * sysdeps/powerpc/tls-macros.h: Likewise.
55601 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
55602 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
55603 * sysdeps/sh/tls-macros.h: Likewise.
55604 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
55605 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
55606 * sysdeps/x86_64/tls-macros.h: Likewise.
55607
55608 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
55609
55610 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
55611 zero value for regular exit case.
55612
55613 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
55614 (__start_context): Preserve zero value for regular exit case.
55615
55616 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
55617 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55618
55619 * manual/setjmp.texi (setcontext): Clarify normal process
55620 termination when uc_link is the null pointer.
55621 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
55622 exit call.
55623
55624 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
55625
55626 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
55627 preprocessor. Test for each exception mask separately.
55628
55629 2012-07-16 Andreas Jaeger <aj@suse.de>
55630
55631 * po/ru.po: Update from translation team.
55632
55633 2012-07-15 Joseph Myers <joseph@codesourcery.com>
55634
55635 * conform/data/string.h-data (NULL): Use macro-constant. Require
55636 equal to 0.
55637 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55638 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55639 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
55640 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
55641 [ISO || ISO99 || ISO11] (*_t): Do not allow.
55642
55643 2012-07-13 Andreas Jaeger <aj@suse.de>
55644
55645 * po/fr.po: Update from translation team.
55646
55647 2012-07-12 Marek Polacek <polacek@redhat.com>
55648
55649 [BZ #14173]
55650 * math/libm-test.inc (yn_test): Add test for BZ #14173.
55651 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
55652 loop condition.
55653
55654 2012-07-12 Joseph Myers <joseph@codesourcery.com>
55655
55656 [BZ #13717]
55657 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55658 Change to 2.4.1 where previously 2.4.0.
55659 * sysdeps/unix/sysv/linux/configure: Regenerated.
55660 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
55661 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
55662 version.
55663 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
55664 (__ASSUME_AT_CLKTCK): Remove.
55665 (__ASSUME_AT_PAGESIZE): Likewise.
55666 (__ASSUME_AT_XID): Likewise.
55667 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
55668 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
55669 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
55670 unconditionally.
55671 (HAVE_AUX_PAGESIZE): Likewise.
55672 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
55673 [__ASSUME_AT_CLKTCK]: Make code unconditional.
55674 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
55675
55676 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
55677
55678 [BZ #14307]
55679 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
55680 the temporary buffer used to invoke __gethostbyname2_r,
55681 __gethostbyaddr_r and gethostbyname4_r to make room for struct
55682 host_data / struct gaih_addrtuple.
55683 * resolv/nss_dns/dns-host.c (global scope): Move definition of
55684 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
55685 header file nss/nsswitch.h.
55686 * nss/nsswitch.h (global scope): Add definition of implementation
55687 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
55688 resolv/nss_dns/dns-host.c).
55689
55690 2012-07-11 Andreas Jaeger <aj@suse.de>
55691
55692 * po/fr.po: Update from translation team.
55693
55694 * po/sv.po: Update from translation team
55695 * po/fr.po: Another update from translation team.
55696
55697 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55698
55699 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
55700 for subnormals or multiply small sinh result by itself.
55701 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55703
55704 2012-07-11 David S. Miller <davem@davemloft.net>
55705
55706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55707
55708 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
55709
55710 [BZ #14347]
55711 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
55712 (INTERNAL_MARK): Shift it here.
55713
55714 2012-07-10 Marek Polacek <polacek@redhat.com>
55715
55716 [BZ #14151]
55717 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
55718 libc_cv_asm_global_directive with .globl.
55719 * configure: Regenerated.
55720 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
55721 with .globl.
55722 * sysdeps/i386/configure: Regenerated.
55723 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
55724 with .globl.
55725 * sysdeps/x86_64/configure: Regenerated.
55726 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
55727 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
55728 * elf/tst-unique2mod2.c: Likewise.
55729 * elf/tst-unique2mod1.c: Likewise.
55730 * elf/tst-unique1mod2.c: Likewise.
55731 * elf/tst-unique1mod1.c: Likewise.
55732 * sysdeps/s390/s390-32/sysdep.h: Likewise.
55733 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55734 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55735 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55736 * sysdeps/mach/sysdep.h: Likewise.
55737 * sysdeps/i386/sysdep.h: Likewise.
55738 * sysdeps/i386/i386-mcount.S: Likewise.
55739 * sysdeps/x86_64/_mcount.S: Likewise.
55740 * sysdeps/x86_64/sysdep.h: Likewise.
55741 * sysdeps/sh/_mcount.S: Likewise.
55742 * sysdeps/sh/sysdep.h: Likewise.
55743 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
55744 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
55745 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
55746 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55747 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
55748 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
55749 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
55750 * locale/localeinfo.h: Likewise.
55751 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
55752 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
55753
55754 2012-07-09 Roland McGrath <roland@hack.frob.com>
55755
55756 [BZ #14336]
55757 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
55758 system".
55759 * manual/message.texi (The Uniforum approach): Likewise.
55760 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
55761 (glibc iconv Implementation): Likewise.
55762
55763 2012-07-09 Joseph Myers <joseph@codesourcery.com>
55764
55765 [BZ #14337]
55766 * math/s_clog.c (__clog): Avoid scaling a value down where that
55767 could result in underflow.
55768 * math/s_clog10.c (__clog10): Likewise.
55769 * math/s_clog10f.c (__clog10f): Likewise.
55770 * math/s_clog10l.c (__clog10l): Likewise.
55771 * math/s_clogf.c (__clogf): Likewise.
55772 * math/s_clogl.c (__clogl): Likewise.
55773 * math/libm-test.inc (clog_test): Add more tests.
55774 (clog10_test): Likewise.
55775 * sysdeps/i386/fpu/libm-test-ulps: Update.
55776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55777
55778 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
55779
55780 [BZ #14283]
55781 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
55782 by 7 not 8 to examine high bit of fractional part.
55783
55784 [BZ #14042]
55785 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
55786 for call to __mcount_internal.
55787 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
55788 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
55789 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
55790
55791 2012-07-06 Joseph Myers <joseph@codesourcery.com>
55792
55793 [BZ #14154]
55794 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
55795 approximation for values within 0x1p-13f of an odd multiple of
55796 pi/4.
55797 * math/libm-test.inc (tan_test): Do not allow spurious underflow
55798 exception. Add more tests.
55799 * sysdeps/i386/fpu/libm-test-ulps: Update.
55800
55801 [BZ #6778]
55802 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
55803 inputs and return -1 for them. Do not check for +Inf in case not
55804 reachable for +Inf.
55805 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
55806 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
55807 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55808 and return -1 for them. Do not check for +Inf in case not
55809 reachable for +Inf.
55810 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
55811 define.
55812 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55813 and return -1 for them. Do not check for +Inf in case not
55814 reachable for +Inf.
55815 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
55816 spurious underflow.
55817 * sysdeps/i386/fpu/libm-test-ulps: Update.
55818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55819
55820 2012-07-06 Mike Frysinger <vapier@gentoo.org>
55821
55822 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
55823
55824 2012-07-05 Joseph Myers <joseph@codesourcery.com>
55825
55826 [BZ #14157]
55827 [BZ #14331]
55828 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
55829 could result in spurious underflow. Scale down values above
55830 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
55831 * math/s_csqrtf.c (__csqrtf): Likewise.
55832 * math/s_csqrtl.c (__csqrtl): Likewise.
55833 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
55834 spurious underflow.
55835 * sysdeps/i386/fpu/libm-test-ulps: Update.
55836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55837
55838 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
55839
55840 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
55841 xopen-msg.sed.
55842 * catgets/xopen-msg.awk: New file.
55843 * catgets/xopen-msg.sed: Removed.
55844
55845 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
55846 po2text.sed.
55847 * intl/po2test.awk: New file.
55848 * intl/po2test.sed: Removed.
55849
55850 2012-07-04 Joseph Myers <joseph@codesourcery.com>
55851
55852 [BZ #14328]
55853 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
55854 or multiply small sinh result by itself.
55855 * math/s_ctanf.c (__ctanf): Likewise.
55856 * math/s_ctanh.c (__ctanh): Likewise.
55857 * math/s_ctanhf.c (__ctanhf): Likewise.
55858 * math/s_ctanhl.c (__ctanhl): Likewise.
55859 * math/s_ctanl.c (__ctanl): Likewise.
55860 * math/libm-test.inc (ctan_test_tonearest): New function.
55861 (ctan_test_towardzero): Likewise.
55862 (ctan_test_downward): Likewise.
55863 (ctan_test_upward): Likewise.
55864 (ctanh_test_tonearest): Likewise.
55865 (ctanh_test_towardzero): Likewise.
55866 (ctanh_test_downward): Likewise.
55867 (ctanh_test_upward): Likewise.
55868 (main): Call these new functions.
55869 * sysdeps/i386/fpu/libm-test-ulps: Update.
55870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55871
55872 2012-07-03 Mike Frysinger <vapier@gentoo.org>
55873
55874 * .gitignore: Delete /ports entry.
55875
55876 2012-07-03 Andreas Jaeger <aj@suse.de>
55877
55878 * po/bg.po: Update from translation team.
55879 * po/cs.po: Likewise.
55880 * po/de.po: Likewise.
55881 * po/hr.po: Likewise.
55882 * po/nl.pl: Likewise.
55883 * po/pl.po: Likewise.
55884 * po/vi.po: Likewise.
55885
55886 2012-07-03 Joseph Myers <joseph@codesourcery.com>
55887
55888 * Makeconfig [!+link] (+link-before-libc): New variable.
55889 [!+link] (+link-after-libc): Likewise.
55890 [!+link] (+link-tests): Likewise.
55891 [!+link] (+link): Define in terms of $(+link-before-libc) and
55892 $(+link-after-libc).
55893 [!+link-static] (+link-static-before-libc): New variable.
55894 [!+link-static] (+link-static-after-libc): Likewise.
55895 [!+link-static] (+link-static-tests): Likewise.
55896 [!+link-static] (+link-static): Define in terms of
55897 $(+link-static-before-libc) and $(+link-static-after-libc).
55898 [build-shared] (link-libc-before-gnulib): New variable.
55899 [build-shared] (link-libc-tests): Likewise.
55900 [build-shared] (link-libc): Define in terms of
55901 $(link-libc-before-gnulib).
55902 [!build-shared] (link-libc-tests): New variable.
55903 (link-libc-static-tests): New variable.
55904 [!gnulib] (gnulib-arch): New variable.
55905 [!gnulib] (gnulib-tests): Likewise.
55906 [!gnulib] (static-gnulib-arch): Likewise.
55907 [!gnulib] (static-gnulib-tests): Likewise.
55908 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
55909 Define with "=" instead of ":=".
55910 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
55911 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
55912 * Rules (binaries-all-notests): New variable.
55913 (binaries-all-tests): Likewise.
55914 (binaries-static-notests): Likewise.
55915 (binaries-static-tests): Likewise.
55916 (binaries-all): Define using $(binaries-all-notests) and
55917 $(binaries-all-tests).
55918 (binaries-static): Define using $(binaries-static-notests) and
55919 $(binaries-static-tests).
55920 (binaries-shared-tests): New variable.
55921 (binaries-shared-notests): Likewise.
55922 (binaries-shared): Remove variable.
55923 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
55924 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
55925 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
55926 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
55927 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
55928 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
55929 * elf/Makefile (sln-modules): New variable.
55930 (extra-objs): Add $(sln-modules:=.o).
55931 (ldconfig-modules): Add static-stubs.
55932 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
55933 * elf/static-stubs.c: New file.
55934
55935 [BZ #14283]
55936 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
55937 by 7 not 8 to examine high bit of fractional part. Use volatile
55938 variables when splitting into final array of floats if
55939 __FLT_EVAL_METHOD__ != 0.
55940 * math/libm-test.inc (cos_test): Add another test.
55941 (sin_test): Likewise.
55942 * sysdeps/i386/fpu/libm-test-ulps: Update.
55943
55944 [BZ #14273]
55945 * math/libm-test.inc (cosh_test): Add more tests.
55946
55947 * version.h (RELEASE): Set to "development".
55948 (VERSION): Set to "2.16.90".
55949
55950 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
55951
55952 * NEWS: Update copyright. Remove last-updated date.
55953 Mention math library bug fixes and timezone data changes.
55954 * README: Mention GNU/Hurd, x32, and HPPA support status.
55955
55956 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
55957
55958 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
55959
55960 2012-06-27 Andreas Jaeger <aj@suse.de>
55961
55962 * manual/contrib.texi (Contributors): Add Samuel Thibault.
55963
55964 2012-06-25 Andreas Jaeger <aj@suse.de>
55965
55966 * sysdeps/s390/fpu/libm-test-ulps: Update.
55967
55968 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
55969 Thomas Schwinge <thomas@codesourcery.com>
55970
55971 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
55972 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
55973 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
55974 fanotify_mark.
55975
55976 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
55977
55978 * sysdeps/mach/start.c: Remove file.
55979 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
55980 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
55981 * sysdeps/sh/init-first.c: Likewise.
55982
55983 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
55984 registers for frame unwinding purposes, add CFI directives.
55985 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
55986 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
55987 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
55988 Likewise.
55989
55990 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
55991 __fortify_fail returning.
55992 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
55993
55994 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
55995 sysdeps/sh/____longjmp_chk.S.
55996 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
55997 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
55998 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
55999 (gen-as-const-headers): Append sigaltstack-offsets.sym.
56000
56001 * sysdeps/sh/abort-instr.h: New file.
56002 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
56003 process in case exit returns.
56004
56005 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
56006 initialize the GOT register before use.
56007
56008 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
56009 calculation of ARGC > 4.
56010
56011 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
56012 meaningful names to some local labels.
56013
56014 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56015 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56016
56017 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
56018 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
56019 (__arch_compare_and_exchange_val_16_acq): Likewise.
56020 (__arch_compare_and_exchange_val_32_acq): Likewise.
56021 (atomic_exchange_and_add): Fix gUSA sequence.
56022 (atomic_add): Likewise.
56023 (atomic_add_negative): Likewise.
56024 (atomic_add_zero): Likewise.
56025 (atomic_bit_test_set): Likewise.
56026
56027 2012-06-22 Andreas Schwab <schwab@redhat.com>
56028
56029 [BZ #13579]
56030 * include/link.h (struct link_map): Add l_free_initfini.
56031 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
56032 l_initfini.
56033 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
56034 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
56035 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
56036 set.
56037
56038 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
56039
56040 * configure.in: Use AC_LANG_SOURCE.
56041 * configure: Regenerate.
56042
56043 2012-06-22 Roland McGrath <roland@hack.frob.com>
56044
56045 * configure.in (libc_cv_localstatedir): New substituted variable.
56046 * configure: Regenerated.
56047 * config.make.in (localstatedir): New variable, substituted from
56048 libc_cv_localstatedir.
56049 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
56050 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
56051 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
56052 * sysdeps/gnu/configure: Regenerated.
56053
56054 2012-06-21 Jeff Law <law@redhat.com>
56055
56056 [BZ #14277]
56057 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
56058 free. Simplify list management for _LIBC case.
56059
56060 2012-06-21 Joseph Myers <joseph@codesourcery.com>
56061
56062 [BZ #14273]
56063 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
56064 Clear sign bit of 64-bit integer value before comparing against
56065 overflow value.
56066
56067 * sysdeps/mach/configure: Regenerated.
56068
56069 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
56070
56071 [BZ #14278]
56072 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
56073
56074 2012-06-21 Jeff Law <law@redhat.com>
56075
56076 [BZ #13882]
56077 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
56078 uint16_t for elements in the "seen" array to avoid char overflows.
56079 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56080 * elf/dl-open.c (dl_open_worker): Likewise.
56081
56082 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
56083
56084 * scripts/list-sources.sh: Scan PORTS for translations.
56085 * po/libc.pot: Regenerated.
56086
56087 2012-06-21 Andreas Jaeger <aj@suse.de>
56088
56089 [BZ #12194]
56090 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
56091 warning.
56092 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
56093 * bits/byteswap-16.h (__bswap_16): Likewise.
56094 * bits/byteswap.h (__bswap_constant_16): Likewise.
56095
56096 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
56097
56098 [BZ #14117]
56099 * sysdeps/i386/fpu_control.h: Removed.
56100 * sysdeps/x86_64/fpu_control.h: Moved to ...
56101 * sysdeps/x86/fpu_control.h: Here.
56102
56103 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
56104 (_FPU_SETCW): Likewise.
56105
56106 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
56107
56108 [BZ #14117]
56109 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
56110 * sysdeps/x86/fpu/bits/mathinline.h: This.
56111 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
56112
56113 [BZ #14050]
56114 [BZ #14117]
56115 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
56116 functions if __x86_64__ is defined.
56117
56118 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
56119
56120 * string/endian.h: Add !__ASSEMBLER__ condition for including
56121 conversion interfaces.
56122
56123 2012-06-15 Joseph Myers <joseph@codesourcery.com>
56124
56125 [BZ #14241]
56126 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
56127 of ABS(x) in calculating zero to negative powers other than odd
56128 integers.
56129 * math/libm-test.inc (pow_test): Add more tests.
56130
56131 2012-06-15 Andreas Jaeger <aj@suse.de>
56132
56133 * manual/contrib.texi (Contributors): Update entry of Liubov
56134 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
56135 Machado Filho.
56136
56137 2012-06-15 Cyril Hrubis <metan@ucw.cz>
56138
56139 * string/string.h: Add __wur to GNU version of strerror_r.
56140
56141 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
56142
56143 [BZ #14229]
56144 * string/Makefile (tests): Add tst-strtok_r.
56145 * string/tst-strtok_r.c: New file.
56146 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
56147 RAX_LP/RDX_LP on SAVE_PTR.
56148
56149 2012-06-14 Roland McGrath <roland@hack.frob.com>
56150
56151 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
56152
56153 2012-06-14 Joseph Myers <joseph@codesourcery.com>
56154
56155 * libm_test.inc (csqrt_test): Allow more spurious underflow
56156 exceptions.
56157 (j0_test): Likewise.
56158 (j1_test): Likewise.
56159 (y0_test): Likewise.
56160 (y1_test): Likewise.
56161
56162 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
56163
56164 * po/Makefile (libc.pot): Use UTF-8 charset.
56165
56166 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
56167
56168 [BZ #14210]
56169 Suppress sign-conversion warning from FD_SET.
56170 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
56171 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
56172 not unsigned long int.
56173 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
56174
56175 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
56176
56177 [BZ #14050]
56178 [BZ #14117]
56179 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
56180 __extern_always_inline instead of __extern_inline.
56181 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
56182 (__signbit): Likewise.
56183 (__signbitl): Support C++ namespace.
56184 (lrintf): New inline function.
56185 (lrint): Likewise.
56186 (llrintf): Likewise.
56187 (llrint): Likewise.
56188 (fmaxf): Likewise.
56189 (fmax): Likewise.
56190 (fminf): Likewise.
56191 (fmin): Likewise.
56192 (rint): Likewise.
56193 (rintf): Likewise.
56194 (ceil): Likewise.
56195 (ceilf): Likewise.
56196 (floor): Likewise.
56197 (floorf): Likewise.
56198 (nearbyint): Likewise.
56199 (nearbyintf): Likewise.
56200
56201 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
56202
56203 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
56204 non-default versions.
56205
56206 2012-06-11 Roland McGrath <roland@hack.frob.com>
56207
56208 [BZ #14218]
56209 * manual/argp.texi (Argp): Reword argp_parse description slightly.
56210
56211 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
56212
56213 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
56214 (FE_UPWARD, FE_DOWNWARD): Don't define.
56215 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
56216 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56217
56218 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
56219 reading it.
56220 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56221 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56222
56223 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56224
56225 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
56226 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
56227 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
56228 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
56229
56230 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
56231
56232 [BZ #14117]
56233 * sysdeps/i386/fpu/bits/fenv.h: Removed.
56234 * sysdeps/i386/fpu/Implies: New file.
56235 * sysdeps/x86_64/fpu/Implies: Likewise.
56236 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
56237 * sysdeps/x86/fpu/bits/fenv.h: This.
56238
56239 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
56240 __SSE_MATH__.
56241
56242 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
56243
56244 [BZ #14134]
56245 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
56246 character 0xffff that matches the last element of the
56247 conversion table.
56248
56249 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56250
56251 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
56252 fmodl commit.
56253
56254 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56255
56256 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
56257 values higher than 25.6283.
56258
56259 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56260
56261 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
56262 subnormal exponent extraction and add some __builtin_expect.
56263 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
56264 Fix for subnormal mantissa calculation.
56265
56266 2012-06-04 Mike Frysinger <vapier@gentoo.org>
56267
56268 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
56269 cpu2 is -1 and errno is not ENOSYS.
56270
56271 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
56272
56273 [BZ #14117]
56274 * sysdeps/i386/i486/bits/string.h: Renamed to ...
56275 * sysdeps/x86/bits/string.h: This.
56276 * sysdeps/x86_64/bits/string.h: Removed.
56277
56278 * sysdeps/i386/i486/bits/string.h: Define inline functions only
56279 if not compiling for x86-64, but compiling for >= i486.
56280
56281 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
56282 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
56283
56284 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
56285 New macro from Linux kernel 3.4.0.
56286 (FP_XSTATE_MAGIC2): Likewise.
56287 (FP_XSTATE_MAGIC2_SIZE): Likewise.
56288 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
56289 (struct _fpx_sw_bytes): New struct.
56290 (struct _xsave_hdr): Likewise.
56291 (struct _ymmh_state): Likewise.
56292 (struct _xstate): Likewise.
56293
56294 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
56295 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
56296 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
56297 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
56298 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
56299 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
56300
56301 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
56302 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
56303 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
56304 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
56305 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
56306 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
56307
56308 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
56309
56310 [BZ #13743]
56311 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
56312 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
56313 (sysdep_headers): Include sys/platform/ppc.h.
56314 * sysdeps/powerpc/test-gettimebase.c: Test for
56315 __ppc_get_timebase() to catch future ISA opcode/insn changes.
56316 * manual/Makefile (appendices): Include platform.texi.
56317 * manual/contrib.texi (Contributors): Update @node pointers.
56318 * manual/maint.texi (Maintenance): Likewise.
56319 (Platform): New node.
56320 * manual/platform.texi: New file. Document the new features.
56321
56322 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
56323 Jakub Jelinek <jakub@redhat.com>
56324
56325 [BZ #14188]
56326 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
56327 where __builtin_expect is unavailable.
56328
56329 2012-06-03 David S. Miller <davem@davemloft.net>
56330
56331 * stdlib/longlong.h: Updated from GCC.
56332
56333 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
56334
56335 [BZ #14042]
56336 * sysdeps/powerpc/powerpc32/mcount.c: New file.
56337 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
56338 __mcount_internal.
56339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56340 (GLIBC_2.16): Likewise.
56341
56342 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
56343
56344 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
56345
56346 2012-06-01 Joseph Myers <joseph@codesourcery.com>
56347
56348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
56349 (default-abi): New variable.
56350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
56351 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
56352 variable.
56353 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
56354 Likewise.
56355 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
56356 Likewise.
56357 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
56358 Likewise.
56359
56360 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
56361 definition. Document in comment.
56362
56363 2012-06-01 David S. Miller <davem@davemloft.net>
56364
56365 * stdlib/longlong.h: Updated from GCC.
56366
56367 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
56368
56369 [BZ #14117]
56370 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
56371 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
56372 sys/debugreg.h sys/io.h here.
56373 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
56374 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
56375 sys/io.h.
56376 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
56377 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
56378 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
56379 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
56380 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
56381 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
56382
56383 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
56384 Define only if __x86_64__ is defined.
56385
56386 2012-06-01 Joseph Myers <joseph@codesourcery.com>
56387
56388 [BZ #14048]
56389 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
56390 Use int64_t for variable i.
56391 * math/libm-test.inc (fmod_test): Add more tests.
56392
56393 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
56394 z computation is not scheduled after fetestexcept.
56395 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
56396 Use math_force_eval instead of asm to ensure calculation scheduled
56397 before exception test.
56398 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
56399 Ensure a1 + u.d computation is not scheduled after fetestexcept.
56400
56401 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
56402
56403 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
56404 computation is not scheduled after fetestexcept.
56405
56406 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
56407
56408 [BZ #14117]
56409 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
56410 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
56411
56412 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56413
56414 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
56415 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56416
56417 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
56418
56419 [BZ #14117]
56420 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
56421 <bits/wordsize.h>.
56422 (__WCHAR_MIN): Support __WORDSIZE == 64.
56423 (__WCHAR_MAX): Likewise.
56424
56425 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
56426 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
56427
56428 [BZ #14183]
56429 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
56430 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
56431
56432 [BZ #14117]
56433 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
56434 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
56435
56436 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
56437 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
56438
56439 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
56440 Defined to 1 if __x86_64__ isn't defined.
56441 (_STAT_VER_LINUX_OLD): New.
56442 (st_atime): Remove duplicate.
56443 (st_mtime): Likewise.
56444 (st_ctime): Likewise.
56445
56446 2012-05-31 David S. Miller <davem@davemloft.net>
56447
56448 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
56449 entries.
56450
56451 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
56452
56453 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
56454 gen-libm-test.pl.
56455
56456 [BZ #14132]
56457 * elf/dl-reloc.c: Include <_itoa.h>.
56458 (_dl_reloc_bad_type): Remove use of INTUSE.
56459 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
56460 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
56461 * stdio-common/psiginfo.c (psiginfo): Likewise.
56462 * stdio-common/psignal.c (psignal): Likewise.
56463 * string/strsignal.c (strsignal): Likewise.
56464 * include/signal.h (_sys_siglist): Declare hidden proto.
56465 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
56466 INTVARDEF with libc_hidden_data_def.
56467 * stdio-common/itoa-udigits.c: Likewise.
56468 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
56469 (_itoa_lower_digits_internal): Remove declaration.
56470 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
56471 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
56472 (_sys_sigabbrev_internal): Remove aliases.
56473 (_sys_siglist): Define hidden alias.
56474
56475 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
56476
56477 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56478 bits/sysctl.h.
56479
56480 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
56481
56482 [BZ #14117]
56483 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
56484 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
56485
56486 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
56487 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
56488 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
56489 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
56490 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
56491 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
56492
56493 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
56494 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
56495 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
56496
56497 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
56498 with __addr.
56499 (insw): Likewise.
56500 (insl): Likewise.
56501 (outsb): Likewise.
56502 (outsw): Likewise.
56503 (outsl): Likewise.
56504
56505 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
56506 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
56507 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
56508
56509 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
56510 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
56511 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
56512 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
56513 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
56514 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
56515
56516 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
56517 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
56518
56519 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
56520 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
56521
56522 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
56523 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
56524 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
56525
56526 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
56527 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
56528 to ...
56529 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
56530
56531 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
56532 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
56533 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
56534
56535 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
56536 for x86-64.
56537 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
56538
56539 2012-05-31 Joseph Myers <joseph@codesourcery.com>
56540
56541 * math/math.h (M_El): Use two more decimal places.
56542 (M_LOG2El): Likewise.
56543 (M_LOG10El): Likewise.
56544 (M_LN2l): Likewise.
56545 (M_LN10l): Likewise.
56546 (M_PIl): Likewise.
56547 (M_PI_2l): Likewise.
56548 (M_PI_4l): Likewise.
56549 (M_1_PIl): Likewise.
56550 (M_2_PIl): Likewise.
56551 (M_2_SQRTPIl): Likewise.
56552 (M_SQRT2l): Likewise.
56553 (M_SQRT1_2l): Likewise.
56554
56555 2012-05-31 David S. Miller <davem@davemloft.net>
56556
56557 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
56558 values between float registers.
56559 * sysdeps/sparc/sparc64/memset.S: Likewise.
56560 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
56561
56562 2012-05-31 Mike Frysinger <vapier@gentoo.org>
56563
56564 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
56565 -D_FORTIFY_SOURCE=1.
56566 (CPPFLAGS-tst-longjmp_chk.c): Define.
56567 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
56568 (CPPFLAGS-tst-longjmp_chk2.c): Define.
56569 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
56570 CFLAGS-tst-wchar-h.c.
56571
56572 2012-05-31 Marek Polacek <polacek@redhat.com>
56573
56574 [BZ #14132]
56575 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
56576 __endmntent_internal): Remove declaration.
56577 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
56578 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
56579 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
56580
56581 2012-05-30 David S. Miller <davem@davemloft.net>
56582
56583 * sysdeps/sparc/sparc32/soft-fp/q_util.c
56584 (___Q_simulate_exceptions): Use real FP ops rather than writing
56585 into the %fsr.
56586 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
56587 Likewise.
56588
56589 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
56590
56591 [BZ #14117]
56592 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
56593 * sysdeps/x86/bits/xtitypes.h: This.
56594
56595 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
56596 * sysdeps/x86/bits/wordsize.h: This.
56597
56598 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
56599 * sysdeps/x86/bits/huge_vall.h: This.
56600
56601 * sysdeps/i386/bits/select.h: Removed.
56602 * sysdeps/x86_64/bits/select.h: Renamed to ...
56603 * sysdeps/x86/bits/select.h: This.
56604
56605 * sysdeps/i386/bits/setjmp.h: Removed.
56606 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
56607 * sysdeps/x86/bits/setjmp.h: This.
56608
56609 * sysdeps/i386/bits/mathdef.h: Removed.
56610 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
56611 * sysdeps/x86/bits/mathdef.h: This.
56612
56613 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
56614
56615 [BZ #14132]
56616 * include/sys/socket.h (__connect_internal)
56617 (__libc_sa_len_internal): Remove declaration.
56618 (__connect, __libc_sa_len): Declare hidden_proto.
56619 (SA_LEN): Remove use of INTUSE.
56620 * socket/connect.c: Add libc_hidden_def.
56621 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
56622 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
56623 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
56624 alias.
56625 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
56626 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
56627 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
56628 of adding _internal alias.
56629
56630 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
56631
56632 [BZ #14117]
56633 * sysdeps/i386/bits/link.h: Removed.
56634 * sysdeps/i386/bits/linkmap.h: Likewise.
56635 * sysdeps/x86_64/bits/link.h: Renamed to ...
56636 * sysdeps/x86/bits/link.h: This.
56637 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
56638 * sysdeps/x86/bits/linkmap.h: This.
56639
56640 * sysdeps/i386/bits/endian.h: Removed.
56641 * sysdeps/x86_64/bits/endian.h: Renamed to ...
56642 * sysdeps/x86/bits/endian.h: This.
56643
56644 * sysdeps/i386/bits/byteswap.h: Removed.
56645 * sysdeps/i386/bits/byteswap-16.h: Likewise.
56646 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
56647 * sysdeps/x86/bits/byteswap.h: This.
56648 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
56649 * sysdeps/x86/bits/byteswap-16.h: This.
56650 * sysdeps/i386/Implies: Add x86.
56651 * sysdeps/x86_64/Implies: Likewise.
56652
56653 2012-05-30 David S. Miller <davem@davemloft.net>
56654
56655 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
56656 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
56657 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56658 (FP_TRAPPING_EXCEPTIONS): Define.
56659 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56660 (FP_TRAPPING_EXCEPTIONS): Define.
56661 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
56662 subnormals only when inexact has been signalled or underflow
56663 exceptions are enabled.
56664 (_FP_PACK_CANONICAL): Likewise.
56665
56666 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
56667
56668 [BZ #14183]
56669 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
56670 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
56671
56672 2012-05-30 Richard Henderson <rth@twiddle.net>
56673
56674 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
56675 with #ifndef NOT_IN_libc.
56676
56677 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
56678 marked to avoid plt entry.
56679
56680 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
56681
56682 [BZ #14112]
56683 * Makeconfig (default-abi): New macro.
56684 (abi-includes): Likewise.
56685 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
56686 $(abi-$(default-abi)-lib-soname) for soname if defined.
56687 ($(common-objpfx)gnu/lib-names.stmp): Generate from
56688 abi-variants.
56689 * Makefile (installed-stubs): Likewise.
56690 * include/stubs-biarch.h: Removed.
56691 * scripts/lib-names.awk: Only handle one library at a time.
56692 * scripts/soversions.awk: Remove WORDSIZE support.
56693 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
56694 entries.
56695 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
56696 Removed.
56697 (syscall-list-default-condition): Likewise.
56698 (syscall-list-default-condition): Likewise.
56699 (syscall-list-includes): Likewise.
56700 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
56701 syscall-list-* with abi-*. Handle undefined abi-variants.
56702 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
56703 * sysdeps/unix/sysv/linux/i386/Implies: New file.
56704 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
56705 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
56706 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
56707 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
56708 Removed.
56709 (syscall-list-32-options): Likewise.
56710 (syscall-list-32-condition): Likewise.
56711 (syscall-list-64-options): Likewise.
56712 (syscall-list-64-condition): Likewise.
56713 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
56714 macro.
56715 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
56716 Renamed to ...
56717 (abi-*): This.
56718 (abi-64-ld-soname): New macro.
56719 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
56720 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
56721 Renamed to ...
56722 (abi-*): This.
56723 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
56724 * sysdeps/x86_64/x32/shlib-versions: Likewise.
56725
56726 2012-05-30 Joseph Myers <joseph@codesourcery.com>
56727
56728 * sysdeps/unix/sysv/linux/kernel-features.h
56729 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
56730 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
56731 include <kernel-features.h>.
56732 [!__NR_ftruncate64]: Remove conditional code.
56733 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56734 [__NR_ftruncate64]: Make code unconditional.
56735 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56736 * sysdeps/unix/sysv/linux/truncate64.c: Do not
56737 include <kernel-features.h>.
56738 [!__NR_ftruncate64]: Remove conditional code.
56739 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56740 [__NR_ftruncate64]: Make code unconditional.
56741 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
56743 include <kernel-features.h>.
56744 [!__NR_ftruncate64]: Remove conditional code.
56745 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56746 [__NR_ftruncate64]: Make code unconditional.
56747 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56749 include <kernel-features.h>.
56750 [!__NR_ftruncate64]: Remove conditional code.
56751 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56752 [__NR_ftruncate64]: Make code unconditional.
56753 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56754
56755 * configure.in (libc_cv_fpie): Weaken to a compile test using
56756 LIBC_TRY_CC_OPTION.
56757 * configure: Regenerated.
56758
56759 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56760
56761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
56762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
56763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
56764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56765 Refreshed.
56766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
56767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
56768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
56769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
56770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
56771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56772 Refreshed.
56773
56774 2012-05-27 David S. Miller <davem@davemloft.net>
56775
56776 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
56777 (___Q_zero): New.
56778 (__Q_simulate_exceptions): Return void. Change to simulate
56779 exceptions by writing into the %fsr.
56780 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
56781 (__Qp_handle_exceptions): Likewise.
56782 (numbers): Delete.
56783 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
56784 __Qp_handle_exceptions.
56785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
56786 __Qp_handle_exceptions.
56787 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56788 as unused and give dummy FP_RND_NEAREST initializer.
56789 (FP_INHIBIT_RESULTS): Define.
56790 (___Q_simulate_exceptions): Update declaration.
56791 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
56792 formatting.
56793 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56794 as unused and give dummy FP_RND_NEAREST initializer.
56795 (__Qp_handle_exceptions): Update declaration.
56796 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
56797 formatting.
56798
56799 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
56800
56801 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
56802 the temporary FPU control word.
56803 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
56804 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
56805 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
56806 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56807 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
56808 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
56809 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
56810 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56811 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
56812 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
56813 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56814
56815 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56816
56817 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
56818 fields.
56819
56820 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
56821
56822 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
56823 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
56824 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
56825 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
56826 Likewise.
56827 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
56828 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
56829 Likewise.
56830
56831 2012-05-27 Ulrich Drepper <drepper@gmail.com>
56832
56833 * po/h.po: Update from translation team.
56834
56835 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
56836
56837 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
56838
56839 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
56840 handling of denormals.
56841 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56842 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
56843 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56844 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56845 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56846 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
56847 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
56848 Likewise.
56849
56850 2012-05-26 Marek Polacek <polacek@redhat.com>
56851
56852 [BZ #14152]
56853 * math/libm-test.inc (fma_test): Don't always expect underflow
56854 exception.
56855
56856 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
56857
56858 [BZ #12416]
56859 * elf/tst-execstack.c: Include stackinfo.h.
56860 (do_test): Adjust test case to ensure that pthread_getattr_np
56861 behaviour remains the same after marking stack executable.
56862
56863 2012-05-25 Joseph Myers <joseph@codesourcery.com>
56864
56865 * sysdeps/unix/sysv/linux/kernel-features.h
56866 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
56867 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
56868 kernel-features.h.
56869 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56870 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56871 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
56872 kernel-features.h.
56873 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56874 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56875
56876 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
56877
56878 * configure.in: Define the default includes to being none.
56879 * configure: Regenerated.
56880
56881 2012-05-25 Roland McGrath <roland@hack.frob.com>
56882
56883 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
56884 * sysdeps/x86_64/setjmp.S: Likewise.
56885 * sysdeps/i386/bsd-setjmp.S: Likewise.
56886 * sysdeps/i386/bsd-_setjmp.S: Likewise.
56887 * sysdeps/i386/setjmp.S: Likewise.
56888 * sysdeps/i386/__longjmp.S: Likewise.
56889 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56890 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
56891
56892 * include/stap-probe.h: New file.
56893 * configure.in: Handle --enable-systemtap.
56894 * configure: Regenerated.
56895 * config.h.in (USE_STAP_PROBE): New #undef.
56896 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
56897 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
56898 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
56899
56900 2012-05-25 Joseph Myers <joseph@codesourcery.com>
56901
56902 [BZ #13717]
56903 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
56904 to 2.4.0 where earlier.
56905 * sysdeps/unix/sysv/linux/configure: Regenerated.
56906 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56907 <kernel-features.h>.
56908 [__ASSUME_32BITUIDS]: Make code unconditional.
56909 [!__ASSUME_32BITUIDS]: Remove conditional code.
56910 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
56911 <kernel-features.h>.
56912 [__ASSUME_32BITUIDS]: Make code unconditional.
56913 [!__ASSUME_32BITUIDS]: Remove conditional code.
56914 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
56915 [__ASSUME_32BITUIDS]: Make code unconditional.
56916 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
56917 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
56918 <kernel-features.h>.
56919 [__ASSUME_32BITUIDS]: Make code unconditional.
56920 [!__ASSUME_32BITUIDS]: Remove conditional code.
56921 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
56922 <kernel-features.h>.
56923 [__ASSUME_32BITUIDS]: Make code unconditional.
56924 [!__ASSUME_32BITUIDS]: Remove conditional code.
56925 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
56926 <kernel-features.h>.
56927 [__ASSUME_32BITUIDS]: Make code unconditional.
56928 [!__ASSUME_32BITUIDS]: Remove conditional code.
56929 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
56930 <kernel-features.h>.
56931 [__ASSUME_32BITUIDS]: Make code unconditional.
56932 [!__ASSUME_32BITUIDS]: Remove conditional code.
56933 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56934 <kernel-features.h>.
56935 [__ASSUME_32BITUIDS]: Make code unconditional.
56936 [!__ASSUME_32BITUIDS]: Remove conditional code.
56937 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56938 <kernel-features.h>.
56939 [__ASSUME_32BITUIDS]: Make code unconditional.
56940 [!__ASSUME_32BITUIDS]: Remove conditional code.
56941 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
56942 <kernel-features.h>.
56943 [__ASSUME_32BITUIDS]: Make code unconditional.
56944 [!__ASSUME_32BITUIDS]: Remove conditional code.
56945 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56946 <kernel-features.h>.
56947 [__ASSUME_32BITUIDS]: Make code unconditional.
56948 [!__ASSUME_32BITUIDS]: Remove conditional code.
56949 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56950 <kernel-features.h>.
56951 [__ASSUME_32BITUIDS]: Make code unconditional.
56952 [!__ASSUME_32BITUIDS]: Remove conditional code.
56953 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
56954 <kernel-features.h>.
56955 [__ASSUME_32BITUIDS]: Make code unconditional.
56956 [!__ASSUME_32BITUIDS]: Remove conditional code.
56957 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
56958 <kernel-features.h>.
56959 [__NR_setresgid] (__setresgid): Do not declare.
56960 [__ASSUME_32BITUIDS]: Make code unconditional.
56961 [!__ASSUME_32BITUIDS]: Remove conditional code.
56962 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
56963 <kernel-features.h>.
56964 [__NR_setresuid] (__setresuid): Do not declare.
56965 [__ASSUME_32BITUIDS]: Make code unconditional.
56966 [!__ASSUME_32BITUIDS]: Remove conditional code.
56967 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.c: Do not include
56996 <kernel-features.h>.
56997 [__ASSUME_32BITUIDS]: Make code unconditional.
56998 [!__ASSUME_32BITUIDS]: Remove conditional code.
56999 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
57000 <kernel-features.h>.
57001 [__ASSUME_32BITUIDS]: Make code unconditional.
57002 [!__ASSUME_32BITUIDS]: Remove conditional code.
57003 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
57004 <kernel-features.h>.
57005 [__ASSUME_32BITUIDS]: Make code unconditional.
57006 [!__ASSUME_32BITUIDS]: Remove conditional code.
57007 * sysdeps/unix/sysv/linux/kernel-features.h
57008 (__ASSUME_SETRESUID_SYSCALL): Remove.
57009 (__ASSUME_SETRESGID_SYSCALL): Likewise.
57010 (__ASSUME_32BITUIDS): Likewise.
57011 (__ASSUME_LDT_WORKS): Likewise.
57012 (__ASSUME_O_DIRECTORY): Likewise.
57013 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
57014 architecture but not kernel version.
57015 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
57016 (__ASSUME_MMAP2_SYSCALL): Likewise.
57017 (__ASSUME_STAT64_SYSCALL): Likewise.
57018 (__ASSUME_IPC64): Likewise.
57019 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
57020 <kernel-features.h>.
57021 [__ASSUME_32BITUIDS]: Make code unconditional.
57022 [!__ASSUME_32BITUIDS]: Remove conditional code.
57023 * sysdeps/unix/sysv/linux/opendir.c: Do not include
57024 <kernel-features.h>.
57025 [__ASSUME_O_DIRECTORY]: Make code unconditional.
57026 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
57027 132096]: Remove conditional code.
57028 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
57029 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
57038 <kernel-features.h>.
57039 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
57040 unconditional.
57041 (__setresgid): Do not declare.
57042 [__ASSUME_32BITUIDS]: Make code unconditional.
57043 [!__ASSUME_32BITUIDS]: Remove conditional code.
57044 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
57045 <kernel-features.h>.
57046 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
57047 unconditional.
57048 (__setresuid): Do not declare.
57049 [__ASSUME_32BITUIDS]: Make code unconditional.
57050 [!__ASSUME_32BITUIDS]: Remove conditional code.
57051 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57052 <kernel-features.h>.
57053 [__ASSUME_32BITUIDS]: Make code unconditional.
57054 [!__ASSUME_32BITUIDS]: Remove conditional code.
57055 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
57056 <kernel-features.h>.
57057 [__ASSUME_32BITUIDS]: Make code unconditional.
57058 [!__ASSUME_32BITUIDS]: Remove conditional code.
57059
57060 2012-05-25 Richard Henderson <rth@twiddle.net>
57061
57062 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
57063 dl_hwcap to ifunc resolver.
57064 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
57065 elf_ifunc_invoke.
57066 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
57067 dl_hwcap to ifunc resolver.
57068 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
57069
57070 2012-05-24 Joseph Myers <joseph@codesourcery.com>
57071
57072 [BZ #14153]
57073 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
57074 for |x| <= 2**-26, not 2**-57.
57075 * math/libm-test.inc (acos_test): Do not allow spurious underflow
57076 exception.
57077
57078 2012-05-24 Jeff Law <law@redhat.com>
57079
57080 * stdio-common/Makefile (tests): Add bug25.
57081 * stdio-common/bug25.c: New test.
57082
57083 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
57084
57085 [BZ #13576]
57086 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
57087 multiple of MALLOC_ALIGNMENT in size.
57088 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
57089
57090 2012-05-24 Joseph Myers <joseph@codesourcery.com>
57091
57092 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
57093 Require >= 256.
57094 (FILENAME_MAX): Use macro-int-constant.
57095 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
57096 (_IOFBF): Use macro-int-constant.
57097 (_IOLBF): Likewise.
57098 (_IONBF): Likewise.
57099 (SEEK_CUR): Likewise.
57100 (SEEK_END): Likewise.
57101 (SEEK_SET): Likewise.
57102 (TMP_MAX): Likewise.
57103 (EOF): Use macro-int-constant. Require < 0.
57104 (NULL): Use macro-constant. Require == 0.
57105 (stdin): Require type to be FILE *.
57106 (stdout): Likewise.
57107 (stderr): Likewise.
57108 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
57109 macro-int-constant.
57110 (EXIT_SUCCESS): Likewise.
57111 (NULL): Use macro-constant. Require == 0.
57112 (RAND_MAX): Use macro-int-constant.
57113 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
57114 [C99-based standards] (strtof): Require function.
57115 [C99-based standards] (strtold): Likewise.
57116 [C99-based standards] (strtoll): Likewise.
57117 [C99-based standards] (strtoull): Likewise.
57118 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
57119 [ISO || ISO99 || ISO11] (limits.h): Likewise.
57120 [ISO || ISO99 || ISO11] (math.h): Likewise.
57121 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
57122 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
57123 [ISO || ISO99 || ISO11] (*_t): Do not allow.
57124
57125 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
57126
57127 [BZ #14132]
57128 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
57129 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
57130 * intl/dgettext.c (DCGETTEXT): Likewise.
57131 * intl/gettext.c (DCGETTEXT): Likewise.
57132 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
57133 * posix/regex_internal.h (gettext): Likewise.
57134 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
57135 Remove declaration.
57136 * include/argz.h (__argz_count_internal)
57137 (__argz_stringify_internal): Remove declaration.
57138 (__argz_count, __argz_stringify): Declare hidden proto.
57139 * intl/dcgettext.c: Remove use of INTDEF.
57140 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
57141 * string/argz-stringify.c: Likewise.
57142 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57143 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57144 Declare hidden proto.
57145 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57146 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57147 Declare hidden proto.
57148 * include/stdio.h (__asprintf_internal): Don't declare.
57149 (__asprintf): Don't define as macro. Declare hidden proto.
57150 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
57151 (__fsetlocking): Declare hidden proto.
57152 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
57153 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
57154 hidden proto.
57155 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
57156 (_IO_setlinebuf): Remove use of INTUSE.
57157 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
57158 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
57159 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
57160 Remove declaration.
57161 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
57162 (_IO_do_flush): Remove use of INTUSE.
57163 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
57164 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
57165 (_IO_adjust_column, _IO_least_wmarker)
57166 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
57167 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
57168 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
57169 (_IO_default_doallocate, _IO_wdefault_doallocate)
57170 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
57171 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
57172 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
57173 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
57174 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
57175 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
57176 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
57177 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
57178 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
57179 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
57180 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
57181 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
57182 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
57183 proto.
57184 (_IO_flush_all_internal, _IO_adjust_column_internal)
57185 (_IO_default_uflow_internal, _IO_default_finish_internal)
57186 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
57187 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
57188 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
57189 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
57190 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
57191 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
57192 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
57193 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
57194 (_IO_file_close_internal, _IO_file_close_it_internal)
57195 (_IO_file_underflow_internal, _IO_file_overflow_internal)
57196 (_IO_file_init_internal, _IO_file_attach_internal)
57197 (_IO_file_fopen_internal, _IO_file_read_internal)
57198 (_IO_file_sync_internal, _IO_file_seek_internal)
57199 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
57200 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
57201 (_IO_str_underflow_internal, _IO_str_overflow_internal)
57202 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
57203 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
57204 (_IO_list_all_internal, _IO_link_in_internal)
57205 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
57206 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
57207 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
57208 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
57209 (_IO_do_write_internal, _IO_padn_internal)
57210 (_IO_getline_info_internal, _IO_getline_internal)
57211 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
57212 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
57213 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
57214 (_IO_vfscanf_internal, _IO_vfprintf_internal)
57215 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
57216 (_IO_init_internal, _IO_un_link_internal): Don't declare.
57217 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
57218 with libc_hidden_ver, remove use of INTUSE.
57219 * libio/genops.c: Likewise.
57220 * libio/freopen.c: Likewise.
57221 * libio/freopen64.c: Likewise.
57222 * libio/iofclose.c: Likewise.
57223 * libio/iofdopen.c: Likewise.
57224 * libio/iofflush.c: Likewise.
57225 * libio/iofflush_u.c: Likewise.
57226 * libio/iofgets.c: Likewise.
57227 * libio/iofgets_u.c: Likewise.
57228 * libio/iofopen.c: Likewise.
57229 * libio/iofopncook.c: Likewise.
57230 * libio/iofread.c: Likewise.
57231 * libio/iofread_u.c: Likewise.
57232 * libio/ioftell.c: Likewise.
57233 * libio/iofwrite.c: Likewise.
57234 * libio/iogetline.c: Likewise.
57235 * libio/iogets.c: Likewise.
57236 * libio/iogetwline.c: Likewise.
57237 * libio/iopadn.c: Likewise.
57238 * libio/iopopen.c: Likewise.
57239 * libio/ioseekoff.c: Likewise.
57240 * libio/ioseekpos.c: Likewise.
57241 * libio/iosetbuffer.c: Likewise.
57242 * libio/iosetvbuf.c: Likewise.
57243 * libio/ioungetc.c: Likewise.
57244 * libio/ioungetwc.c: Likewise.
57245 * libio/iovdprintf.c: Likewise.
57246 * libio/iovsprintf.c: Likewise.
57247 * libio/iovsscanf.c: Likewise.
57248 * libio/memstream.c: Likewise.
57249 * libio/obprintf.c: Likewise.
57250 * libio/oldfileops.c: Likewise.
57251 * libio/oldiofclose.c: Likewise.
57252 * libio/oldiofdopen.c: Likewise.
57253 * libio/oldiofopen.c: Likewise.
57254 * libio/oldiopopen.c: Likewise.
57255 * libio/oldstdfiles.c: Likewise.
57256 * libio/putc.c: Likewise.
57257 * libio/setbuf.c: Likewise.
57258 * libio/setlinebuf.c: Likewise.
57259 * libio/stdfiles.c: Likewise.
57260 * libio/strops.c: Likewise.
57261 * libio/vasprintf.c: Likewise.
57262 * libio/vscanf.c: Likewise.
57263 * libio/vsnprintf.c: Likewise.
57264 * libio/vswprintf.c: Likewise.
57265 * libio/wfiledoalloc.c: Likewise.
57266 * libio/wfileops.c: Likewise.
57267 * libio/wgenops.c: Likewise.
57268 * libio/wmemstream.c: Likewise.
57269 * libio/wstrops.c: Likewise.
57270 * libio/__fpurge.c: Likewise.
57271 * libio/__fsetlocking.c: Likewise.
57272 * assert/assert.c: Likewise.
57273 * debug/fgets_chk.c: Likewise.
57274 * debug/fgets_u_chk.c: Likewise.
57275 * debug/fread_chk.c: Likewise.
57276 * debug/fread_u_chk.c: Likewise.
57277 * debug/gets_chk.c: Likewise.
57278 * debug/obprintf_chk.c: Likewise.
57279 * debug/vasprintf_chk.c: Likewise.
57280 * debug/vdprintf_chk.c: Likewise.
57281 * debug/vsnprintf_chk.c: Likewise.
57282 * debug/vsprintf_chk.c: Likewise.
57283 * malloc/mtrace.c: Likewise.
57284 * misc/error.c: Likewise.
57285 * misc/syslog.c: Likewise.
57286 * stdio-common/asprintf.c: Likewise.
57287 * stdio-common/fxprintf.c: Likewise.
57288 * stdio-common/getw.c: Likewise.
57289 * stdio-common/isoc99_fscanf.c: Likewise.
57290 * stdio-common/isoc99_scanf.c: Likewise.
57291 * stdio-common/isoc99_vfscanf.c: Likewise.
57292 * stdio-common/isoc99_vscanf.c: Likewise.
57293 * stdio-common/isoc99_vsscanf.c: Likewise.
57294 * stdio-common/printf-prs.c: Likewise.
57295 * stdio-common/printf_fp.c: Likewise.
57296 * stdio-common/printf_fphex.c: Likewise.
57297 * stdio-common/printf_size.c: Likewise.
57298 * stdio-common/putw.c: Likewise.
57299 * stdio-common/scanf.c: Likewise.
57300 * stdio-common/sprintf.c: Likewise.
57301 * stdio-common/tmpfile.c: Likewise.
57302 * stdio-common/vfprintf.c: Likewise.
57303 * stdio-common/vfscanf.c: Likewise.
57304 * stdlib/strfmon_l.c: Likewise.
57305 * sunrpc/openchild.c: Likewise.
57306 * sunrpc/xdr_stdio.c: Likewise.
57307 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
57308 * sysdeps/mach/hurd/tmpfile.c: Likewise.
57309
57310 2012-05-24 Roland McGrath <roland@hack.frob.com>
57311
57312 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57313
57314 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
57315 in the third column, to generate for the shared library an IFUNC
57316 that uses _dl_vdso_vsym.
57317 * Makerules (COMPILE.c, compile-stdin.c): New variables.
57318 * Makeconfig (object-suffixes-noshared): New variable.
57319
57320 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
57321 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
57322 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
57323 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
57324
57325 [BZ #14132]
57326 * include/sys/time.h (__gettimeofday): Remove macro.
57327 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
57328 * time/gettimeofday.c (__gettimeofday): Remove #undef.
57329 Remove INTDEF.
57330 (__gettimeofday): Add libc_hidden_def.
57331 (gettimeofday): Add libc_hidden_weak.
57332 * sysdeps/mach/gettimeofday.c: Likewise.
57333 * sysdeps/posix/gettimeofday.c: Likewise.
57334 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
57335 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
57336 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
57337 (__gettimeofday_internal): Remove strong_alias.
57338 (__gettimeofday): Add libc_hidden_def.
57339 (gettimeofday): Add libc_hidden_weak.
57340 * sysdeps/unix/syscalls.list (gettimeofday):
57341 Remove __gettimeofday_internal alias.
57342
57343 2012-05-24 Daniel Jacobowitz <drow@false.org>
57344 H.J. Lu <hongjiu.lu@intel.com>
57345
57346 [BZ #12495]
57347 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
57348 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
57349 (largebin_index_32_big): New.
57350 (largebin_index): Use it for 16-byte alignment.
57351 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
57352 correction with front_misalign.
57353
57354 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
57355
57356 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
57357 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
57358 Likewise.
57359 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
57360 Likewise.
57361 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
57362 Likewise.
57363 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
57364 Likewise.
57365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
57366 Likewise.
57367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
57368 Likewise.
57369 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
57370 Likewise.
57371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
57372 Likewise.
57373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
57374 Likewise.
57375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
57376 Likewise.
57377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
57378 Likewise.
57379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
57380 Likewise.
57381
57382 * scripts/data/c++-types-x32-linux-gnu.data: New file.
57383 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
57384
57385 2012-05-24 Joseph Myers <joseph@codesourcery.com>
57386
57387 [BZ #10846]
57388 [BZ #14036]
57389 * math/libm-test.inc (exp_test): Add test from bug 14036.
57390 (pow_test): Add test from bug 10846.
57391
57392 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
57393 and other flags.
57394 (special_function): Do not include flags in test name.
57395 (parse_args): Likewise.
57396 * sysdeps/i386/fpu/libm-test-ulps: Update.
57397 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57398 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57399 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57401
57402 * math/gen-libm-test.pl (%beautify): Add entries for underflow
57403 exceptions.
57404 * math/libm-test.inc ("Philosophy"): Update comment about
57405 exception testing.
57406 (UNDERFLOW_EXCEPTION): New macro.
57407 (UNDERFLOW_EXCEPTION_OK): Likewise.
57408 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
57409 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
57410 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
57411 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
57412 (INVALID_EXCEPTION_OK): Update value.
57413 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
57414 (OVERFLOW_EXCEPTION_OK): Likewise.
57415 (IGNORE_ZERO_INF_SIGN): Likewise.
57416 (test_exceptions): Handle underflow exceptions.
57417 (acos_test): Update for underflow exception expectations.
57418 (cexp_test): Likewise.
57419 (clog_test): Likewise.
57420 (clog10_test): Likewise.
57421 (csqrt_test): Likewise.
57422 (ctan_test): Likewise.
57423 (ctanh_test): Likewise.
57424 (exp_test): Likewise.
57425 (exp10_test): Likewise.
57426 (exp2_test): Likewise.
57427 (expm1_test): Likewise.
57428 (fma_test): Likewise.
57429 (j0_test): Likewise.
57430 (jn_test): Likewise.
57431 (nexttoward_test): Likewise.
57432 (pow_test): Likewise.
57433 (scalbn_test): Likewise.
57434 (scalbln_test): Likewise.
57435 (tan_test): Likewise.
57436 (y1_test): Likewise.
57437 * sysdeps/i386/fpu/libm-test-ulps: Update.
57438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57439
57440 2012-05-23 David S. Miller <davem@davemloft.net>
57441
57442 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
57443 (__libc_sigaction): Remove unused local variables.
57444
57445 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
57446
57447 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
57448
57449 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
57450
57451 mktime: avoid signed integer overflow
57452 * time/mktime.c (__mktime_internal): Do not mishandle the case
57453 where diff == INT_MIN.
57454
57455 mktime: simplify computation of average
57456 * time/mktime.c (ranged_convert): Use new time_t_avg function
57457 instead of rolling our own (probably-slower) code.
57458
57459 mktime: do not assume signed right shift propagates sign bit
57460 * time/mktime.c (isdst_differ): New static function.
57461 (__mktime_internal): No need to normalize tm_isdst now.
57462 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
57463 tm_isdst values.
57464
57465 mktime: merge another wrapv change from gnulib
57466 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
57467 from some compilers.
57468
57469 mktime: remove incorrect attempt at unusual arithmetics
57470 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
57471 The code didn't really work on such machines anyway.
57472 (TYPE_MINIMUM): Assume two's complement.
57473 (twos_complement_arithmetic): Verify that long_int and time_t
57474 are two's complement (or unsigned, in the latter case).
57475
57476 mktime: check signed shifts on long_int and time_t, too
57477 * time/mktime.c (SHR): Check that shifts work as desired
57478 on the types long_int and time_t too, as SHR is used on
57479 such types.
57480
57481 mktime: do not assume 'long' is wide enough
57482 * time/mktime.c (verify): Move decl up.
57483 (long_int): New type.
57484 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
57485 to remove assumption in the code that 'long' is wide enough to
57486 store year values. This assumption is not true on x32 and on
57487 some non-glibc platforms.
57488
57489 mktime: merge wrapv change from gnulib
57490 * time/mktime.c (WRAPV): New macro.
57491 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
57492 (guess_time_tm, __mktime_internal): Do not assume that signed
57493 integer overflow wraps around; modern compilers generate code
57494 where this assumption is no longer valid.
57495
57496 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
57497
57498 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57499 Replace "jmp L(pseudo_end)" with "ret".
57500 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
57501 Likewise.
57502
57503 2012-05-23 Andreas Jaeger <aj@suse.de>
57504
57505 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
57506 * sysdeps/unix/sysv/linux/poll.c: Remove file.
57507
57508 2012-05-23 Andreas Jaeger <aj@suse.de>
57509 Maximilian Attems <max@stro.at>
57510
57511 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
57512 New macros.
57513
57514 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
57515
57516 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
57517 code so that pseudo_end is just ret and the stack pointer is
57518 correct also for static library in error case.
57519
57520 2012-05-23 Joseph Myers <joseph@codesourcery.com>
57521
57522 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
57523 move to syscalls.list.
57524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
57525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
57526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
57527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
57528
57529 * manual/install.texi (Running make install): Do not mention Linux
57530 kernel version for which pt_chown is not needed.
57531 (Linux): Do not mention problems with nscd with 2.0 kernels.
57532 * INSTALL: Regenerated.
57533
57534 2012-05-23 Andreas Jaeger <aj@suse.de>
57535
57536 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
57537 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
57538 macro.
57539 * sysdeps/unix/sysv/linux/s390/bits/mman.h
57540 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57541 * sysdeps/unix/sysv/linux/sh/bits/mman.h
57542 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57543 * sysdeps/unix/sysv/linux/i386/bits/mman.h
57544 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57545 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
57546 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57547 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
57548 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
57549 * sysdeps/unix/sysv/linux/bits/in.h
57550 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
57551
57552 2012-05-22 Roland McGrath <roland@hack.frob.com>
57553
57554 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
57555 (PREPARE_VERSION): Just use assert instead, it will be elided
57556 under [NDEBUG] anyway.
57557
57558 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
57559
57560 * sysdeps/unix/sysv/linux/Makefile: Include
57561 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
57562 (sysdep_routines): Remove sysctl.
57563 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
57564 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
57565 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
57566 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
57567 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
57568
57569 2012-05-22 Andreas Jaeger <aj@suse.de>
57570
57571 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
57572 that pseudo_end is just ret and the stack pointer is correct also
57573 for static library in error case.
57574
57575 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
57576
57577 [BZ #14122]
57578 * nss/nsswitch.c (defconfig_entries): New variable.
57579 (__nss_database_lookup): Don't leak defconfig entries.
57580 (nss_parse_service_list): Don't leak on error paths.
57581 (free_database_entries): New function.
57582 (free_defconfig): New function.
57583 (free_mem): Move common code to free_database_entries.
57584
57585 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
57586
57587 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
57588 Add arch_prctl.
57589 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
57590
57591 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57592 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
57593 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
57594 New macro.
57595 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
57596 (INTERNAL_SYSCALL_TYPES): Likewise.
57597 (LOAD_ARGS_TYPES_[1-6]): Likewise.
57598 (LOAD_REGS_TYPES_[1-6]): Likewise.
57599 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
57600 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
57601
57602 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57603
57604 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
57605 copysignl for GLIBC_2_0.
57606 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
57607 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
57608 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
57609 logbl for GLIBC_2_0.
57610 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
57611 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
57612
57613 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
57614
57615 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
57616 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
57617
57618 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57619 Use "neg %eax".
57620
57621 * time/mktime.c: Update copyright years.
57622
57623 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
57624
57625 mktime: merge comment-quoting-style change from gnulib
57626 * time/mktime.c: Quote 'like this' in comments.
57627 The GNU coding standards suggest that we no longer quote `like this',
57628 as "`" and "'" are typically rendered asymmetrically nowadays.
57629 The typical gnulib style is to quote 'like this' when quoting
57630 code, and "like this" when quoting English.
57631
57632 * time/mktime.c (compile-command): Add "-I.".
57633
57634 mktime: merge mktime-internal.h change from gnulib
57635 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
57636
57637 mktime: merge time_r change from gnulib
57638 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
57639
57640 mktime: merge DEBUG change from gnulib
57641 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
57642 case system <time.h> has a #define.
57643
57644 mktime: merge <sys/types.h> change from gnulib
57645 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
57646 since <time.t> is now guaranteed to define time_t.
57647
57648 mktime: merge HAVE_CONFIG_H change from gnulib
57649 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
57650
57651 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
57652
57653 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57654 Use "neg %eax".
57655
57656 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
57657 __rlim_t cast.
57658 (struct rusage): Use anonymous union to pad each field to
57659 __syscall_slong_t.
57660
57661 2012-05-21 David S. Miller <davem@davemloft.net>
57662
57663 * Makefules (o-iterator): Remove .s cases.
57664 (compile-command.s): Delete.
57665 (COMPILE.s): Delete.
57666 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
57667
57668 2012-05-21 Joseph Myers <joseph@codesourcery.com>
57669
57670 * configure.in (libc_cv_predef_stack_protector): Only consider
57671 "foobar" and "__stack_chk_fail" lines in libc_undefs.
57672 * configure: Regenerated.
57673
57674 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
57675
57676 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57677 New macro. Use R*LP on int and pointer.
57678 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
57679 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
57680 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
57681 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
57682
57683 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
57684 [__WORDSIZE_TIME64_COMPAT32] instead of
57685 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
57686 (struct utmp): Likewise.
57687 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
57688 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
57689 Renamed to ...
57690 (__WORDSIZE_TIME64_COMPAT32): This.
57691 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
57692 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
57693 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
57694 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
57695 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
57696 (__WORDSIZE_TIME64_COMPAT32): New macro.
57697
57698 2012-05-21 Andreas Jaeger <aj@suse.de>
57699
57700 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
57701 only if [SHARED]. Add prototype for __wcschr_ia32.
57702
57703 2012-05-21 Roland McGrath <roland@hack.frob.com>
57704
57705 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
57706 of %rbp unmolested in the jmp_buf while mangling the low bits.
57707 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
57708 unmolested high bits of %rbp while demangling the low bits.
57709 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57710
57711 2012-05-21 Andreas Jaeger <aj@suse.de>
57712
57713 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
57714 * sunrpc/svc_simple.c: Use it for registerrpc.
57715 * sunrpc/xcrypt.c: Use it for passwd2des.
57716
57717 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
57718
57719 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
57720
57721 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
57722 Don't define if [__SYSCALL_WORDSIZE != 32].
57723 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
57724 New macro.
57725
57726 2012-05-21 Bruno Haible <bruno@clisp.org>
57727 Andreas Jaeger <aj@suse.de>
57728
57729 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
57730 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
57731 inptr and inend for must_buffer_ch.
57732 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
57733 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
57734 * stdio-common/Makefile (tests): Remove bug15.
57735 (bug15-ENV): Remove macro.
57736 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
57737 anymore.
57738
57739 2012-05-19 Andreas Jaeger <aj@suse.de>
57740 Roland McGrath <roland@hack.frob.com>
57741
57742 * manual/contrib.texi: Completely rewritten. It contains now an
57743 alphabetical list of contributors and their contributions.
57744
57745 2012-05-21 Richard Henderson <rth@twiddle.net>
57746
57747 * misc/getauxval.c (__getauxval): Use unsigned long int.
57748 * misc/sys/auxv.h: Include <sys/cdefs.h>.
57749 (getauxval): Use unsigned long int.
57750
57751 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
57752
57753 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57754
57755 2012-05-21 Roland McGrath <roland@hack.frob.com>
57756
57757 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
57758 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
57759 __alignof__ (long double).
57760
57761 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57762
57763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57764
57765 2012-05-20 Richard Henderson <rth@twiddle.net>
57766
57767 * misc/getauxval.c: New file.
57768 * misc/sys/auxv.h: New file.
57769 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
57770 (routines): Add getauxval.
57771 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
57772 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
57773 * elf/dl-sysdep.c (_dl_auxv): Remove.
57774 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
57775 * elf/dl-support.c (_dl_auxv): New variable.
57776 (_dl_aux_init): Initialize it.
57777 * manual/startup.texi (Auxiliary Vector): New node.
57778 * sysdeps/generic/bits/hwcap.h: New file.
57779 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
57780 * sysdeps/powerpc/sysdep.h: ... here. Include it.
57781 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
57782 * sysdeps/sparc/sysdep.h: ... here. Include it.
57783 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
57784 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
57785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57786 Update.
57787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
57788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
57789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
57790 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
57791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
57794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
57795
57796 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57797
57798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57799
57800 2012-05-19 David S. Miller <davem@davemloft.net>
57801
57802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57803
57804 2012-05-19 Joseph Myers <joseph@codesourcery.com>
57805
57806 [BZ #14123]
57807 * math/s_ccosh.c: Include <float.h>
57808 (__ccosh): Avoid internal overflow calculating sinh and cosh
57809 values before multiplying by sin and cos values.
57810 * math/s_ccoshf.c: Likewise.
57811 * math/s_ccoshl.c: Likewise.
57812 * math/s_csin.c: Likewise.
57813 * math/s_csinf.c: Likewise.
57814 * math/s_csinl.c: Likewise.
57815 * math/s_csinh.c: Likewise.
57816 * math/s_csinhf.c: Likewise.
57817 * math/s_csinhl.c: Likewise.
57818 * math/libm-test.inc (ccos_test): Add more tests.
57819 (ccosh_test): Likewise.
57820 (csin_test): Likewise.
57821 (csinh_test): Likewise.
57822 * sysdeps/i386/fpu/libm-test-ulps: Update.
57823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57824
57825 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
57826
57827 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
57828 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
57829
57830 * sysdeps/x86_64/x32/_itoa.h: Add comment.
57831
57832 2012-05-19 Joseph Myers <joseph@codesourcery.com>
57833
57834 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
57835 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
57836 * sysdeps/powerpc/soft-fp/Versions: Likewise.
57837 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
57838 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
57839 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
57840 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
57841 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
57842 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
57843 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
57844 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
57845 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
57846 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
57847 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
57848 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
57849 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
57850 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
57851 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
57852 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
57853 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
57854 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
57855 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
57856 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
57857 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
57858 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
57859 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
57860 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
57861 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
57862 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
57863 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
57864 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
57865
57866 2012-05-18 Andreas Jaeger <aj@suse.de>
57867
57868 * csu/.gitignore: Delete.
57869
57870 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
57871
57872 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
57873 (timex): Use __syscall_slong_t.
57874
57875 2012-05-18 Andreas Jaeger <aj@suse.de>
57876 Carlos O'Donell <carlos_odonell@mentor.com>
57877
57878 * manual/install.texi (Configuring and compiling): Update
57879 description about files modified in the source directory.
57880 * INSTALL: Regenerated.
57881
57882 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
57883
57884 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
57885 value. Use "or" to set return value to -1.
57886 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
57887 negate return value.
57888
57889 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57890
57891 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
57892 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
57893 failure if the compiler has Graphite support disabled.
57894 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
57895 Likewise.
57896 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
57897 (CFLAGS-memmove.c): Likewise.
57898 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
57899 Likewise.
57900
57901 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
57902
57903 * sysdeps/x86_64/x32/_itoa.h: New file.
57904
57905 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
57906 getdents system call only if kernel and user dirents have the
57907 same d_ino and d_off.
57908
57909 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
57910 LLONG_MAX != LONG_MAX.
57911 (_itoa_word): Use _ITOA_WORD_TYPE on value.
57912 (_fitoa_word): Likewise.
57913
57914 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
57915 years.
57916 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
57917 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
57918 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
57919
57920 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
57921 include <bits/wordsize.h>. Check __x86_64__ instead of
57922 __WORDSIZE.
57923 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
57924 if __x86_64__ is defined. Use anonymous union on fpstate.
57925
57926 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
57927 anonymous union.
57928
57929 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
57930
57931 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
57932 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
57933 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
57934 Refer to _rtld_local_ro instead of _rtld_global_ro.
57935 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
57936 Likewise.
57937 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
57938 Likewise.
57939 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
57940 Likewise.
57941 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
57942 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
57943 of _rtld_global, and rtld_progname instead of _dl_argv[0].
57944
57945 [BZ #10882]
57946 * sysdeps/powerpc/powerpc32/dl-machine.c
57947 (__elf_machine_runtime_setup) [PROF]: Don't reference
57948 _dl_prof_resolve.
57949
57950 2012-05-18 Andreas Jaeger <aj@suse.de>
57951
57952 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
57953 function only available for GCCs before 3.4 since GCC 3.4
57954 introduced a builtin.
57955 (lrint): Likewise.
57956 (llrintf): Likewise.
57957 (llrint): Likewise.
57958 (fmaxf): Likewise.
57959 (fmax): Likewise.
57960 (fminf): Likewise.
57961 (fmin): Likewise.
57962 (rint): Likewise.
57963 (rintf): Likewise.
57964 (nearbyint): Likewise.
57965 (nearbyintf): Likewise.
57966 (ceil): Likewise.
57967 (ceilf): Likewise.
57968 (floor): Likewise.
57969 (floorf): Likewise.
57970
57971 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
57972
57973 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
57974 on both fields and cast pointer to __syscall_ulong_t.
57975
57976 * bits/types.h (__fsword_t): New type.
57977 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
57978 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
57979 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57980 (__FSWORD_T_TYPE): Likewise.
57981 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57982 (__FSWORD_T_TYPE): Likewise.
57983 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57984 (__FSWORD_T_TYPE): Likewise.
57985 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
57986 (__FSWORD_T_TYPE): Likewise.
57987 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
57988 __SWORD_TYPE with __fsword_t.
57989 (statfs64): Likewise.
57990
57991 2012-05-17 David S. Miller <davem@davemloft.net>
57992
57993 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
57994
57995 2012-05-17 Andreas Jaeger <aj@suse.de>
57996
57997 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
57998 warning.
57999
58000 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
58001
58002 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
58003
58004 2012-05-17 Andreas Jaeger <aj@suse.de>
58005
58006 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
58007 when it is used.
58008
58009 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
58010
58011 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
58012
58013 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
58014
58015 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
58016 * sysdeps/x86_64/tst-mallocalign1.c: New file.
58017
58018 2012-05-17 Andreas Jaeger <aj@suse.de>
58019 Carlos O'Donell <carlos_odonell@mentor.com>
58020
58021 [BZ #14059]
58022 * sysdeps/x86_64/multiarch/init-arch.h
58023 (bit_YMM_Usable): Rename to...
58024 (bit_AVX_Usable): ... this.
58025 (bit_FMA4_Usable): New macro.
58026 (bit_XMM_state): New macro.
58027 (bit_YMM_state): New macro.
58028 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
58029 [__ASSEMBLER__] (index_AVX_Usable): ... this.
58030 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
58031 (CPUID_OSXSAVE): New macro.
58032 (CPUID_AVX): New macro.
58033 (CPUID_FMA4): New macro.
58034 (index_YMM_Usable): Rename to...
58035 (index_AVX_Usable): ... this.
58036 (HAS_AVX): Use HAS_ARCH_FEATURE.
58037 (HAS_FMA4): Likewise.
58038 (HAS_YMM_USABLE): Remove.
58039 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58040 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
58041 are present.
58042 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
58043 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
58044 * sysdeps/x86_64/multiarch/Makefile: Likewise.
58045 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
58046 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
58047
58048 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
58049
58050 * math/libm-test.c: Support platforms without multiple rounding modes.
58051 * math/bug-nextafter.c: Support platforms without FP exceptions.
58052 * math/bug-nexttoward.c: Likewise.
58053 * math/test-fenv.c: Likewise.
58054 * math/test-misc.c: Likewise.
58055 * stdlib/bug-getcontext.c: Likewise.
58056
58057 2012-05-17 Andreas Jaeger <aj@suse.de>
58058
58059 * manual/examples/search.c (critter_cmp): Change signature to
58060 avoid warnings.
58061 * manual/string.texi (Collation Functions): Likewise.
58062
58063 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58064
58065 * bits/types.h: Fold copyright years.
58066 * bits/typesizes.h: Likewise.
58067 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
58068 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58069 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
58070 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
58071 * time/time.h: Likewise.
58072
58073 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
58074
58075 [BZ #208]
58076 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
58077 in instead of returning them. Return void.
58078 (__libc_mallinfo): Accumulate over all arenas.
58079 (__malloc_stats): Adjust for change in int_mallinfo interface.
58080
58081 2012-05-16 Roland McGrath <roland@hack.frob.com>
58082
58083 [BZ #10375]
58084 * configure.in (NM): Add AC_CHECK_TOOL for it.
58085 (libc_extra_cflags): New substituted variable.
58086 Check for -fstack-protector being used implicitly.
58087 * configure: Regenerated.
58088 * config.make.in (config-extra-cflags): New variable,
58089 gets @libc_extra_cflags@.
58090 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
58091
58092 [BZ #10375]
58093 * configure.in: Check for _FORTIFY_SOURCE being predefined.
58094 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
58095 * configure: Regenerated.
58096 * config.make.in (CPPUNDEFS): New substituted variable.
58097 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
58098 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
58099 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
58100
58101 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58102
58103 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
58104 (mq_attr): Use __syscall_slong_t.
58105
58106 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58107
58108 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
58109 Check __x86_64__ instead of __WORDSIZE.
58110 (_STAT_VER_LINUX): Likewise.
58111 (stat): Check __x86_64__ instead of __WORDSIZE. Use
58112 __syscall_ulong_t and __syscall_slong_t.
58113 (stat64): Likewise.
58114
58115 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58116
58117 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
58118
58119 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58120
58121 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
58122
58123 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58124
58125 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
58126 __syscall_ulong_t.
58127
58128 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
58129 include <bits/wordsize.h>. Check __x86_64__ instead of
58130 __WORDSIZE.
58131 (greg_t): Use "__extension__ long long int" if __x86_64__ is
58132 defined.
58133 (mcontext_t): Replace "unsigned long" with "unsigned long long".
58134
58135 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
58136 include <bits/wordsize.h>. Check __x86_64__ instead of
58137 __WORDSIZE.
58138 (user_regs_struct): Use "__extension__ unsigned long long"
58139 instead of "unsigned long" if __x86_64__ is defined.
58140 (user): Likewise. Pad after pointer field if __ILP32__ is
58141 defined.
58142
58143 2012-05-16 Joseph Myers <joseph@codesourcery.com>
58144
58145 * configure.in (makeinfo): Require version 4.5 or later. Allow
58146 versions 5 to 9.
58147 * configure: Regenerated.
58148 * manual/install.texi (texinfo): Increase version requirement to
58149 4.5 or later.
58150 * INSTALL: Regenerated.
58151
58152 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
58153
58154 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
58155
58156 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
58157
58158 * sysdeps/x86_64/x32/ffs.c: New file.
58159
58160 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
58161 __syscall_ulong_t.
58162 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
58163 defined. Use __syscall_ulong_t.
58164 (shminfo): Use __syscall_ulong_t.
58165 (shm_info): Likewise.
58166
58167 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
58168 __syscall_ulong_t.
58169
58170 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
58171 <bits/wordsize.h>.
58172 (msgqnum_t): Use __syscall_ulong_t.
58173 (msglen_t): Likewise.
58174 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
58175 __syscall_ulong_t.
58176
58177 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
58178 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
58179
58180 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
58181
58182 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
58183 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
58184
58185 * sysvipc/sys/msg.h (msgbuf): Replace long int with
58186 __syscall_slong_t.
58187
58188 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
58189 include <bits/wordsize.h>. Check __x86_64__ instead of
58190 __WORDSIZE.
58191
58192 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
58193 "unsigned long long int" if __x86_64__ is defined.
58194 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
58195
58196 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
58197 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
58198 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
58199
58200 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
58201 <stdint.h>.
58202 (GET_PC): Cast to uintptr_t first.
58203 (GET_FRAME): Likewise.
58204 (GET_STACK): Likewise.
58205
58206 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
58207 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
58208 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
58209 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
58210 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
58211 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
58212 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
58213 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
58214 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
58215 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
58216 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
58217 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
58218 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
58219 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
58220 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
58221 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
58222 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
58223 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
58224 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
58225 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
58226 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
58227 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
58228 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
58229 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
58230 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
58231 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
58232 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
58233 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
58234 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
58235
58236 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
58237
58238 * Makerules (+depfiles): Also collect depfiles from .oS in
58239 $(extra-objs).
58240 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
58241 .oS, $(libnldbl-routines)).
58242
58243 * Makerules (native-compile-mkdep-flags): Define.
58244 * sunrpc/Makefile (extra-objs): Add $(addprefix
58245 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
58246 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
58247 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
58248 calling $(make-target-directory).
58249
58250 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58251
58252 * bits/types.h (__snseconds_t): Removed.
58253 * time/time.h (struct timespec): Replace __snseconds_t with
58254 __syscall_slong_t.
58255 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
58256 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
58257 Likewise.
58258 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58259 (__SNSECONDS_T_TYPE): Likewise.
58260 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58261 (__SNSECONDS_T_TYPE): Likewise.
58262 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58263 (__SNSECONDS_T_TYPE): Likewise.
58264
58265 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58266
58267 * sysdeps/mach/hurd/bits/typesizes.h
58268 (__SYSCALL_SLONG_TYPE): New macro.
58269 (__SYSCALL_ULONG_TYPE): Likewise.
58270
58271 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58272
58273 * bits/types.h (__syscall_slong_t): New type.
58274 (__syscall_ulong_t): Likewise.
58275
58276 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
58277 (__SYSCALL_ULONG_TYPE): Likewise.
58278 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58279 (__SYSCALL_SLONG_TYPE): Likewise.
58280 (__SYSCALL_ULONG_TYPE): Likewise.
58281 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58282 (__SYSCALL_SLONG_TYPE): Likewise.
58283 (__SYSCALL_ULONG_TYPE): Likewise.
58284 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58285 (__SYSCALL_SLONG_TYPE): Likewise.
58286 (__SYSCALL_ULONG_TYPE): Likewise.
58287
58288 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58289
58290 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
58291 Add sigaltstack-offsets.sym.
58292 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
58293 <sigaltstack-offsets.h>.
58294 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
58295 longjmp_msg pointer.
58296 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
58297 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
58298 signal stack.
58299 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
58300
58301 2012-05-15 Joseph Myers <joseph@codesourcery.com>
58302
58303 * elf/stackguard-macros.h: Remove file.
58304 * sysdeps/generic/stackguard-macros.h: New file.
58305 * sysdeps/i386/stackguard-macros.h: Likewise.
58306 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
58307 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
58308 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
58309 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
58310 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
58311 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
58312 * sysdeps/x86_64/stackguard-macros.h: Likewise.
58313 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
58314 <elf/stackguard-macros.h>.
58315
58316 [BZ #14109]
58317 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
58318 __aligned__ in attribute.
58319 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
58320 (gregset_t): Likewise.
58321
58322 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58323
58324 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
58325 * sysdeps/x86_64/64/Implies-after: Here. New file.
58326 * sysdeps/x86_64/x32/Implies-after: New file.
58327
58328 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58329
58330 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
58331 and access return value for _dl_profile_fixup. Use R10_LP to
58332 load frame size.
58333
58334 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58335
58336 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
58337
58338 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58339
58340 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
58341 * sysdeps/x86_64/x32/sysdep.h: New file.
58342
58343 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58344
58345 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
58346 * sysdeps/x86_64/setjmp.S: Likewise.
58347
58348 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58349
58350 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
58351 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
58352 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
58353 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
58354 remove unused global constant.
58355
58356 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
58357
58358 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
58359 include of <not-cancel.h>.
58360
58361 2012-05-15 Roland McGrath <roland@hack.frob.com>
58362
58363 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
58364
58365 2012-05-15 Jeff Law <law@redhat.com>
58366 Andreas Jaeger <aj@suse.de>
58367
58368 [BZ #13594]
58369 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
58370 out from...
58371 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
58372 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
58373 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
58374 code changing __hst_map_handle.map.
58375
58376 2012-05-15 Roland McGrath <roland@hack.frob.com>
58377
58378 * configure.in (sysnames): Look for Implies-before and Implies-after
58379 files.
58380 * configure: Regenerated.
58381
58382 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58383
58384 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
58385 8-byte data alignment with LP_SIZE alignment.
58386
58387 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58388
58389 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
58390 into R10_LP.
58391
58392 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58393
58394 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
58395
58396 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58397
58398 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
58399 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
58400 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
58401 Likewise.
58402 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
58403
58404 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58405
58406 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
58407 (stackinfo_sub_sp): Likewise.
58408
58409 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58410
58411 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
58412 RAX_LP.
58413
58414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58415
58416 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
58417 into R*_LP.
58418
58419 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58420
58421 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
58422 sizes into R*_LP.
58423
58424 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58425
58426 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
58427
58428 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58429
58430 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
58431 into R11_LP and load __x86_64_shared_cache_size_half into
58432 R8_LP.
58433
58434 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
58435
58436 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
58437 R8_LP.
58438
58439 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58440
58441 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
58442 logb for POWER7.
58443 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
58444 logbf for POWER7.
58445 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
58446 logbl for POWER7.
58447 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
58448 powerpc32/power7/fpu/s_logb.c via #include.
58449 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
58450 powerpc32/power7/fpu/s_logbf.c via #include.
58451 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
58452 powerpc32/power7/fpu/s_logbl.c via #include.
58453
58454 2012-05-15 Joseph Myers <joseph@codesourcery.com>
58455
58456 * README.libm: Remove file.
58457
58458 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
58459
58460 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
58461 count for x32. Use R*_LP and omit operand-size suffix.
58462
58463 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
58464
58465 * shlib-versions: Move x86_64-.*-linux.* entries to ...
58466 * sysdeps/x86_64/64/shlib-versions: Here. New file.
58467 * sysdeps/x86_64/x32/shlib-versions: New file.
58468
58469 2012-05-14 Roland McGrath <roland@hack.frob.com>
58470
58471 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
58472 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
58473 Use _dl_fatal_printf instead.
58474
58475 2012-05-14 Joseph Myers <joseph@codesourcery.com>
58476
58477 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
58478 set if not set by the user. Do not allow for being unset.
58479 * sysdeps/unix/sysv/linux/configure: Regenerated.
58480
58481 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
58482
58483 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
58484 the `q' suffix from lea and replace .quad with ASM_ADDR.
58485
58486 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
58487
58488 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
58489 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
58490 instead of $17.
58491 (PTR_DEMANGLE): Likewise.
58492
58493 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
58494
58495 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
58496 (LP_OP): Likewise.
58497 (ASM_ADDR): Likewise.
58498 (RAX_LP): Likewise.
58499 (RBP_LP): Likewise.
58500 (RBX_LP): Likewise.
58501 (RCX_LP): Likewise.
58502 (RDI_LP): Likewise.
58503 (RSI_LP): Likewise.
58504 (RSP_LP): Likewise.
58505 (R8_LP): Likewise.
58506 (R9_LP): Likewise.
58507 (R10_LP): Likewise.
58508 (R10_LP): Likewise.
58509 (R11_LP): Likewise.
58510 (R12_LP): Likewise.
58511 (R13_LP): Likewise.
58512 (R14_LP): Likewise.
58513 (R15_LP): Likewise.
58514
58515 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
58516
58517 * sysdeps/x86_64/x32/dl-machine.h: New file.
58518
58519 2012-05-14 Andreas Jaeger <aj@suse.de>
58520
58521 * manual/Makefile (subdir): Remove export of subdir.
58522 (all): Remove target.
58523 (.PHONY): Remove all from list.
58524 (mkinstalldirs): Remove.
58525 (.PHONY): Remove installdirs from list.
58526 ($(inst_infodir)/libc.info): Use make-target-directory.
58527 (installdirs): Remove.
58528 (subdir_%): Remove.
58529 (glibc-targets): Remove.
58530 (lib): Remove.
58531 (stubs): Remove.
58532 ($(objpfx)stubs ../po/manual.pot): Remove.
58533 ($(objpfx)stamp%): Remove.
58534 (make-target-directory): Remove.
58535 (subdir_install): Remove.
58536 (routines): Remove.
58537 (aux): Remove.
58538 (sources): Remove.
58539 (objects): Remove.
58540 (headers): Remove.
58541
58542 [BZ #13750]
58543 * manual/.gitignore: Remove, it's not needed anymore.
58544 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
58545 all files in it.
58546 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
58547 directory.
58548 (texis): Renamed to $(objpfx)texis.
58549 (texis-path): New, contains path to generated files.
58550 (chapters.%): Use texis-path for complete path, add extra argument
58551 libc-texinfo.sh.
58552 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
58553 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
58554 (summary,texi, stamp-summary): Use complete path of
58555 files. Generate files in build dir.
58556 (dir-add.texi): Build in build dir.
58557 (libm-err.texi,stamp-libm-err): Likewise.
58558 (version.texi, stamp-version): Likewise.
58559 (.%c.texi): Likewise.
58560 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
58561 (mostlyclean): Remove target.
58562 (realclean): Remove target.
58563 (generated): Add new variable with contents from mostlyclean and
58564 realclean, remove entries duplicated in common-mostlyclean, add
58565 stamp-libm-err and stamp-version.
58566 (generated-dirs): Add libc directory.
58567 ($(inst_infodir)/libc.info): Install files from build dir.
58568
58569 * manual/install.texi (Configuring and compiling): Adjust since
58570 the info files are not part of the tar ball anymore.
58571
58572 2012-05-14 Andreas Jaeger <aj@suse.de>
58573
58574 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
58575 variable.
58576
58577 2012-05-14 Joseph Myers <joseph@codesourcery.com>
58578
58579 [BZ #13717]
58580 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
58581 to 2.2.0 where earlier.
58582 * sysdeps/unix/sysv/linux/configure: Regenerated.
58583 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
58584 Remove conditional code.
58585 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
58586 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
58587 Remove conditional code.
58588 [!__NR_lchown]: Likewise.
58589 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58590 [__NR_lchown]: Likewise.
58591 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
58592 comment referencing __ASSUME_LCHOWN_SYSCALL.
58593 * sysdeps/unix/sysv/linux/i386/sigaction.c
58594 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58595 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58596 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
58597 Remove conditional code.
58598 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
58599 (__protocol_available): Remove #if 0 code.
58600 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
58601 conditional code.
58602 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
58603 * sysdeps/unix/sysv/linux/kernel-features.h
58604 (__ASSUME_GETCWD_SYSCALL): Don't define.
58605 (__ASSUME_REALTIME_SIGNALS): Likewise.
58606 (__ASSUME_PREAD_SYSCALL): Likewise.
58607 (__ASSUME_PWRITE_SYSCALL): Likewise.
58608 (__ASSUME_POLL_SYSCALL): Likewise.
58609 (__ASSUME_LCHOWN_SYSCALL): Likewise.
58610 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
58611 non-SPARC.
58612 (__ASSUME_SIOCGIFNAME): Don't define.
58613 (__ASSUME_MSG_NOSIGNAL): Likewise.
58614 (__ASSUME_SENDFILE): Define unconditionally.
58615 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
58616 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
58617 conditional code.
58618 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
58619 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
58620 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58621 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58622 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
58623 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
58624 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
58625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
58626 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58627 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
58629 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58630 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
58632 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58633 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
58635 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58636 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
58638 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58639 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
58641 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
58642 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
58644 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58645 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
58647 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58648 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58649 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
58650 Remove conditional code.
58651 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58652 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58653 Remove conditional code.
58654 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58655 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
58656 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
58657 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58658 Remove conditional code.
58659 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58660 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
58661 Remove conditional code.
58662 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58663 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
58664 Remove conditional code.
58665 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58666 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58667 Remove conditional code.
58668 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58669 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58670 Remove conditional code.
58671 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58672 * sysdeps/unix/sysv/linux/sh/pwrite64.c
58673 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58674 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58675 * sysdeps/unix/sysv/linux/sigaction.c
58676 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58677 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58678 * sysdeps/unix/sysv/linux/sigpending.c
58679 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58680 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58681 * sysdeps/unix/sysv/linux/sigprocmask.c
58682 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58683 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58684 * sysdeps/unix/sysv/linux/sigsuspend.c
58685 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58686 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58687 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58688 (__libc_missing_rt_sigs): Remove.
58689 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
58690 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
58691 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
58692 Remove conditional code.
58693 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
58694 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
58695 return 1.
58696 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
58697 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
58698 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
58699 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
58700
58701 2012-05-14 Andreas Jaeger <aj@suse.de>
58702
58703 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
58704 it's not used in glibc.
58705 (__coshm1): Likewise.
58706 (__acosh1p): Likewise.
58707 (__sgn): Likewise.
58708
58709 * manual/string.texi (Copying and Concatenation): Add missing
58710 variable in concat example.
58711 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
58712
58713 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
58714
58715 [BZ #14103]
58716 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
58717 __builtin_clzl with __builtin_clzll.
58718
58719 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
58720
58721 [BZ #14104]
58722 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
58723 libc_freeres_ptr.
58724
58725 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58726
58727 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
58728 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
58729 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
58730 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
58731
58732 2012-05-14 Mike Frysinger <vapier@gentoo.org>
58733
58734 * NEWS: Update ia64 info.
58735
58736 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
58737
58738 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
58739 used as bcopy.
58740
58741 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
58742
58743 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
58744 * sysdeps/unix/syscalls.list (dup3): Likewise.
58745 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
58746 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
58747
58748 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
58749
58750 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
58751 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
58752
58753 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
58754
58755 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
58756 thread pointer.
58757 (TLS_IE): Use mov/add instead of movq/addq to load thread
58758 pointer.
58759 (TLS_GD_PREFIX): New.
58760 (TLS_GD): Use it.
58761
58762 2012-05-11 David S. Miller <davem@davemloft.net>
58763
58764 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
58765 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
58766 (_FPU_SETCW): Likewise.
58767
58768 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
58769
58770 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
58771 is 32-byte aligned.
58772
58773 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
58774
58775 [BZ #11837]
58776 * iconvdata/gb18030.c: Update tables.
58777 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
58778 characters specially.
58779 (BODY for TO_LOOP): Add encoding of missing ranges.
58780
58781 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
58782
58783 [BZ #13673]
58784 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
58785 * sysdeps/mach/hurd/dup3.c: Likewise.
58786 * sysdeps/mach/hurd/readlinkat.c: Likewise.
58787 * sysdeps/powerpc/memmove.c:: Likewise.
58788
58789 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
58790
58791 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
58792 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
58793
58794 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
58795
58796 * elf/elf.h (R_X86_64_RELATIVE64): New.
58797 (R_X86_64_NUM): Updated.
58798 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
58799 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
58800 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
58801 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
58802 tst-quad1pie tst-quad2pie
58803 (modules-names): Add tst-quadmod1 tst-quadmod2.
58804 ($(objpfx)tst-quad1): New dependency.
58805 ($(objpfx)tst-quad2): Likewise.
58806 ($(objpfx)tst-quad1pie): Likewise.
58807 ($(objpfx)tst-quad2pie): Likewise.
58808 * sysdeps/x86_64/tst-quad1.c: New file.
58809 * sysdeps/x86_64/tst-quad1pie.c: New file.
58810 * sysdeps/x86_64/tst-quad2.c: Likewise.
58811 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
58812 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
58813 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
58814 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
58815 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
58816
58817 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58818
58819 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
58820 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
58821 * streams/stropts.h (t_scalar_t): Define type.
58822
58823 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
58824 (_PATH_PRESERVE): Set to "/var/lib".
58825 (_PATH_RWHODIR): Set to "/var/spool/rwho".
58826
58827 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
58828 instead of int.
58829
58830 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
58831 if __dir_mkfile succeeded.
58832
58833 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
58834 checking for _hurd_dtablesize. Unlock it right after having
58835 finished _hurd_dtable allocation.
58836
58837 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
58838
58839 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
58840 * sysdeps/mach/hurd/configure: Regenerated.
58841 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
58842 special-casing to...
58843 * sysdeps/gnu/configure.in: ... this new file.
58844 * sysdeps/unix/sysv/linux/configure: Regenerated.
58845 * sysdeps/gnu/configure: New generated file.
58846
58847 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
58848 for Linux: use nsec instead of usec, as well as:
58849 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
58850 members of type struct timespec.
58851 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
58852 New macros.
58853 (struct stat64): Likewise.
58854 (_STATBUF_ST_NSEC): New macro.
58855 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
58856
58857 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58858 __strtoul_internal rather than strtoul.
58859
58860 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
58861
58862 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
58863 and reject them.
58864
58865 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58866
58867 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
58868 which preserves existing values.
58869 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
58870
58871 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
58872
58873 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
58874 TIMEOUT values. Return EINVAL for NFDS values either negative or
58875 greater than FD_SETSIZE.
58876
58877 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58878
58879 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
58880 allocated, call __vm_protect to finish enabling the existing space, and
58881 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
58882 allocate the remainder.
58883
58884 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
58885
58886 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
58887 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
58888
58889 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58890
58891 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
58892 sysdeps/mach/hurd/readlink.c.
58893
58894 * posix/tst-sysconf.c (posix_options): Only use
58895 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
58896 _POSIX_SYNCHRONIZED_IO when they are defined
58897 * sysdeps/mach/hurd/bits/posix_opt.h:
58898 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
58899 (_XOPEN_REALTIME): Undefine macro.
58900 (_XOPEN_REALTIME_THREADS): Undefine macro.
58901 (_XOPEN_SHM): Undefine macro.
58902 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
58903 macro to -1.
58904 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
58905 macro to -1.
58906 (_POSIX_ASYNC_IO): Undefine macro.
58907 (_POSIX_PRIORITIZED_IO): Undefine macro.
58908 (_POSIX_SPIN_LOCKS): Define macro to -1.
58909
58910 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
58911 SA_NODEFER, SA_RESETHAND.
58912 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
58913 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
58914 F_DUPFD_CLOEXEC.
58915
58916 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
58917
58918 * elf/Makefile (pldd-modules): Define unconditionally.
58919
58920 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
58921
58922 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
58923
58924 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58925
58926 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
58927 Return ENOENT when name is empty.
58928 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
58929
58930 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
58931
58932 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
58933
58934 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
58935
58936 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58937
58938 Fix mlock in all cases except non-readable pages.
58939 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
58940 instead of VM_PROT_ALL as parameter to __vm_wire function.
58941
58942 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
58943 (__mkdir): When path is `/', just fail with EEXIST.
58944 * sysdeps/mach/hurd/mkdirat.c: Likewise.
58945
58946 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
58947
58948 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
58949 <sys/uio.h> (for writev).
58950 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
58951 and <sys/param.h> (for MIN).
58952
58953 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
58954
58955 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
58956 REQUESTED_TIME. Properly set the remaining time and return EINTR
58957 if interrupted.
58958
58959 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
58960
58961 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
58962 Depend on against $(link-rpcuserlibs).
58963
58964 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58965
58966 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
58967 (__libc_stack_end): Do not use attribute_relro.
58968 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
58969 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
58970 to libthread-provided value.
58971 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
58972 attribute_relro.
58973
58974 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
58975
58976 [BZ #3748]
58977 * bits/libc-lock.h (__libc_once_get): New macro.
58978 * sysdeps/mach/bits/libc-lock.h: Likewise.
58979 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
58980 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
58981 instead of using implementation details.
58982
58983 * libio/fileops.c: Unconditionally include <kernel-features.h>.
58984 * libio/freopen.c: Likewise.
58985 * libio/freopen64.c: Likewise.
58986 * misc/syslog.c: Likewise.
58987 * nscd/connections.c: Likewise.
58988 * nscd/netgroupcache.c: Likewise.
58989 * sysdeps/posix/getcwd.c: Likewise.
58990
58991 2012-05-10 Roland McGrath <roland@hack.frob.com>
58992
58993 * math/w_ilogbf.c: Add #include <limits.h>.
58994
58995 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58996
58997 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
58998 path instead of returning without unlocking.
58999
59000 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
59001 immediate-write ioctls.
59002 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
59003
59004 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59005
59006 * sysdeps/mach/hurd/i386/init-first.c (init): Use
59007 __builtin_frame_address instead of making assumptions about the
59008 location of the return address relative to DATA. Force early load of
59009 the return address.
59010 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
59011 __builtin_frame_address.
59012
59013 dup3 for GNU Hurd.
59014 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
59015 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
59016 implement dup3 and do some further code clean-ups.
59017 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
59018 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
59019
59020 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59021
59022 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
59023
59024 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
59025 HURD_CRITICAL_END around holding _hurd_dtable_lock.
59026 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
59027 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
59028 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
59029 d->port.lock.
59030
59031 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
59032 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
59033 when handler == SIG_ERR, not when handler != SIG_ERR.
59034
59035 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59036
59037 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
59038 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
59039 definitions.
59040
59041 accept4 for GNU Hurd.
59042 * include/sys/socket.h (__libc_accept4): New prototype.
59043 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
59044 to implement __libc_accept4.
59045 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
59046 __libc_accept4.
59047 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
59048
59049 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
59050 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
59051 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
59052 signal-defines.sym.
59053
59054 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59055
59056 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
59057
59058 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
59059
59060 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
59061 assertion on O_CLOEXEC flag.
59062 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
59063 * hurd/intern-fd.c: Likewise.
59064 * hurd/port2fd.c: Likewise.
59065
59066 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59067
59068 [BZ #3906]
59069 * bits/in.h (IPV6_PKTINFO): Define new macro.
59070 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
59071
59072 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59073
59074 [BZ #13954]
59075 [BZ #13955]
59076 [BZ #13956]
59077 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
59078 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59079 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
59080 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59081 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59082 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59083 * math/libm-test.inc (logb_test) : Additional logb tests.
59084
59085 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
59086 Andreas Jaeger <aj@suse.de>
59087
59088 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
59089 * configure: Regenerated.
59090 * config.h.in (LINK_OBSOLETE_RPC): New macro.
59091 * config.make.in (link-obsolete-rpc): New substituted variable.
59092 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
59093 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
59094 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59095 (shared-only-routines): Don't set it under [link-obsolete-rpc],
59096 so that libc.a contains the symbols.
59097 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59098 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
59099 * sunrpc/auth_none.c: Likewise.
59100 * sunrpc/auth_unix.c: Likewise.
59101 * sunrpc/authdes_prot.c: Likewise.
59102 * sunrpc/authuxprot.c: Likewise.
59103 * sunrpc/clnt_gen.c: Likewise.
59104 * sunrpc/clnt_perr.c: Likewise.
59105 * sunrpc/clnt_raw.c: Likewise.
59106 * sunrpc/clnt_simp.c: Likewise.
59107 * sunrpc/clnt_tcp.c: Likewise.
59108 * sunrpc/clnt_udp.c: Likewise.
59109 * sunrpc/clnt_unix.c: Likewise.
59110 * sunrpc/des_crypt.c: Likewise.
59111 * sunrpc/des_soft.c: Likewise.
59112 * sunrpc/get_myaddr.c: Likewise.
59113 * sunrpc/key_call.c: Likewise.
59114 * sunrpc/key_prot.c: Likewise.
59115 * sunrpc/netname.c: Likewise.
59116 * sunrpc/pm_getmaps.c: Likewise.
59117 * sunrpc/pm_getport.c: Likewise.
59118 * sunrpc/pmap_clnt.c: Likewise.
59119 * sunrpc/pmap_prot.c: Likewise.
59120 * sunrpc/pmap_prot2.c: Likewise.
59121 * sunrpc/pmap_rmt.c: Likewise.
59122 * sunrpc/publickey.c: Likewise.
59123 * sunrpc/rpc_cmsg.c: Likewise.
59124 * sunrpc/rpc_common.c: Likewise.
59125 * sunrpc/rpc_dtable.c: Likewise.
59126 * sunrpc/rpc_prot.c: Likewise.
59127 * sunrpc/rpc_thread.c: Likewise.
59128 * sunrpc/rtime.c: Likewise.
59129 * sunrpc/svc.c: Likewise.
59130 * sunrpc/svc_auth.c: Likewise.
59131 * sunrpc/svc_raw.c: Likewise.
59132 * sunrpc/svc_run.c: Likewise.
59133 * sunrpc/svc_tcp.c: Likewise.
59134 * sunrpc/svc_udp.c: Likewise.
59135 * sunrpc/svc_unix.c: Likewise.
59136 * sunrpc/svcauth_des.c: Likewise.
59137 * sunrpc/xcrypt.c: Likewise.
59138 * sunrpc/xdr.c: Likewise.
59139 * sunrpc/xdr_array.c: Likewise.
59140 * sunrpc/xdr_float.c: Likewise.
59141 * sunrpc/xdr_intXX_t.c: Likewise.
59142 * sunrpc/xdr_mem.c: Likewise.
59143 * sunrpc/xdr_rec.c: Likewise.
59144 * sunrpc/xdr_ref.c: Likewise.
59145 * sunrpc/xdr_sizeof.c: Likewise.
59146 * sunrpc/xdr_stdio.c: Likewise.
59147
59148 2012-05-10 Roland McGrath <roland@hack.frob.com>
59149
59150 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
59151 change. Update copyright years.
59152
59153 2012-05-10 Joseph Myers <joseph@codesourcery.com>
59154
59155 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
59156
59157 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
59158 Joseph Myers <joseph@codesourcery.com>
59159 Paul Pluzhnikov <ppluzhnikov@google.com>
59160
59161 [BZ #14012]
59162 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
59163 requiring rpcgen.
59164 [cross-compiling] (extra-libs): Likewise.
59165 [cross-compiling] (extra-libs-others): Likewise.
59166 [cross-compiling] (librpcsvc-routines): Likewise.
59167 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
59168 [cross-compiling] (omit-deps): Likewise.
59169 (sunrpc-CPPFLAGS): New variable.
59170 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
59171 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
59172 (cross-rpcgen-objs): New variable.
59173 (extra-objs): Append $(cross-rpcgen-objs).
59174 ($(cross-rpcgen-objs)): New rule.
59175 ($(objpfx)cross-rpcgen): Likewise.
59176 (rpcgen-cmd): Define to use $(built-program-file). Expand
59177 comment.
59178 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
59179 ($(objpfx)x%.stmp): Likewise.
59180 * sunrpc/proto.h [IS_IN_build] (_): Define.
59181 [IS_IN_build] (_libc_intl_domainname): Likewise.
59182
59183 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
59184
59185 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
59186 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
59187 and R_X86_64_TPOFF64.
59188
59189 2012-05-10 Joseph Myers <joseph@codesourcery.com>
59190
59191 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
59192 sysdeps/unix/sysv/syscalls.list.
59193 (stime): Likewise.
59194 (utime): Likewise.
59195 * sysdeps/unix/sysv/syscalls.list: Remove file.
59196
59197 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
59198
59199 [BZ #3440]
59200 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
59201 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
59202 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
59203 (__LC_IDENTIFICATION): Make these macros useful in #if
59204 expressions, as required by C99.
59205
59206 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
59207
59208 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
59209 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
59210 after this.
59211
59212 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
59213
59214 * stdlib/longlong.h: Updated from GCC.
59215
59216 2012-05-09 Andreas Jaeger <aj@suse.de>
59217
59218 * nscd/nscd.c (run_modes): Make named enum, reorder so that
59219 default is first entry.
59220 (run_mode): Set type.
59221 (main): Remove informal message about syslog.
59222 (options): Fix typo.
59223
59224 [BZ #14053]
59225 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
59226 to asm.
59227 (lrint): Likewise.
59228 (llrintf): Likewise.
59229 (llrint): Likewise.
59230 (rint): Likewise.
59231 (rintf): Likewise.
59232 (nearbyint): Likewise.
59233 (nearbyintf): Likewise.
59234
59235 2012-05-09 Andreas Jaeger <aj@suse.de>
59236 Pedro Alves <palves@redhat.com>
59237
59238 * nscd/nscd.c (run_mode): Use enum.
59239 (main): Cleanup coding style issue.
59240
59241 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
59242 Andreas Jaeger <aj@suse.de>
59243
59244 * nscd/nscd.c (go_background): Replaced with...
59245 (run_mode): ... this.
59246 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
59247 (options): Add -F --foreground.
59248 (main): Implement it.
59249 (parse_opt): Parse it.
59250
59251 2012-05-09 Andreas Jaeger <aj@suse.de>
59252
59253 [BZ #14083]
59254 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
59255 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
59256 -Wconversion warning.
59257 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
59258 Likewise.
59259
59260 2012-05-09 Joseph Myers <joseph@codesourcery.com>
59261
59262 * conform/data/locale.h-data (NULL): Use macro-constant. Require
59263 == 0.
59264 (LC_ALL): Use macro-int-constant.
59265 (LC_COLLATE): Likewise.
59266 (LC_CTYPE): Likewise.
59267 (LC_MESSAGES): Likewise.
59268 (LC_MONETARY): Likewise.
59269 (LC_NUMERIC): Likewise.
59270 (LC_TIME): Likewise.
59271 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
59272 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
59273 [ISO || ISO99 || ISO11] (*_t): Do not allow.
59274 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
59275 Specify type.
59276 [C99-based standards] (float_t): Expect type.
59277 [C99-based standards] (double_t): Expect type.
59278 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
59279 type.
59280 [C99-based standards] (HUGE_VALL): Likewise.
59281 [C99-based standards] (INFINITY): Likewise.
59282 [C99-based standards] (NAN): Likewise.
59283 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
59284 [C99-based standards] (FP_NAN): Likewise.
59285 [C99-based standards] (FP_NORMAL): Likewise.
59286 [C99-based standards] (FP_SUBNORMAL): Likewise.
59287 [C99-based standards] (FP_ZERO): Likewise.
59288 [C99-based standards] (FP_FAST_FMA): Use
59289 optional-macro-int-constant. Specify type. Require == 1.
59290 [C99-based standards] (FP_FAST_FMAF): Likewise.
59291 [C99-based standards] (FP_FAST_FMAL): Likewise.
59292 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
59293 [C99-based standards] (FP_ILOGBNAN): Likewise.
59294 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
59295 Specify type.
59296 [C99-based standards] (MATH_ERREXCEPT): Likewise.
59297 [C99-based standards] (math_errhandling): Specify type.
59298 [ISO99 || ISO11] (signgam): Do not allow.
59299 [non-C99-based standards] (copysignf): Do not allow.
59300 [non-C99-based standards] (exp2f): Likewise.
59301 [non-C99-based standards] (log2f): Likewise.
59302 [non-C99-based standards] (modff): Allow.
59303 [non-C99-based standards] (erff): Do not allow.
59304 [non-C99-based standards] (erfcf): Likewise.
59305 [non-C99-based standards] (gammaf): Likewise.
59306 [non-C99-based standards] (hypotf): Likewise.
59307 [non-C99-based standards] (j0f): Likewise.
59308 [non-C99-based standards] (j1f): Likewise.
59309 [non-C99-based standards] (jnf): Likewise.
59310 [non-C99-based standards] (lgammaf): Likewise.
59311 [non-C99-based standards] (tgammaf): Likewise.
59312 [non-C99-based standards] (y0f): Likewise.
59313 [non-C99-based standards] (y1f): Likewise.
59314 [non-C99-based standards] (ynf): Likewise.
59315 [non-C99-based standards] (isnanf): Likewise.
59316 [non-C99-based standards] (acoshf): Likewise.
59317 [non-C99-based standards] (asinhf): Likewise.
59318 [non-C99-based standards] (atanhf): Likewise.
59319 [non-C99-based standards] (cbrtf): Likewise.
59320 [non-C99-based standards] (expm1f): Likewise.
59321 [non-C99-based standards] (ilogbf): Likewise.
59322 [non-C99-based standards] (log1pf): Likewise.
59323 [non-C99-based standards] (logbf): Likewise.
59324 [non-C99-based standards] (nextafterf): Likewise.
59325 [non-C99-based standards] (remainderf): Likewise.
59326 [non-C99-based standards] (rintf): Likewise.
59327 [non-C99-based standards] (scalbf): Likewise.
59328 [non-C99-based standards] (copysignl): Likewise.
59329 [non-C99-based standards] (exp2l): Likewise.
59330 [non-C99-based standards] (log2l): Likewise.
59331 [non-C99-based standards] (modfl): Allow.
59332 [non-C99-based standards] (erfl): Do not allow.
59333 [non-C99-based standards] (erfcl): Likewise.
59334 [non-C99-based standards] (gammal): Likewise.
59335 [non-C99-based standards] (hypotl): Likewise.
59336 [non-C99-based standards] (j0l): Likewise.
59337 [non-C99-based standards] (j1l): Likewise.
59338 [non-C99-based standards] (jnl): Likewise.
59339 [non-C99-based standards] (lgammal): Likewise.
59340 [non-C99-based standards] (tgammal): Likewise.
59341 [non-C99-based standards] (y0l): Likewise.
59342 [non-C99-based standards] (y1l): Likewise.
59343 [non-C99-based standards] (ynl): Likewise.
59344 [non-C99-based standards] (isnanl): Likewise.
59345 [non-C99-based standards] (acoshl): Likewise.
59346 [non-C99-based standards] (asinhl): Likewise.
59347 [non-C99-based standards] (atanhl): Likewise.
59348 [non-C99-based standards] (cbrtl): Likewise.
59349 [non-C99-based standards] (expm1l): Likewise.
59350 [non-C99-based standards] (ilogbl): Likewise.
59351 [non-C99-based standards] (log1pl): Likewise.
59352 [non-C99-based standards] (logbl): Likewise.
59353 [non-C99-based standards] (nextafterl): Likewise.
59354 [non-C99-based standards] (remainderl): Likewise.
59355 [non-C99-based standards] (rintl): Likewise.
59356 [non-C99-based standards] (scalbl): Likewise.
59357 [ISO || ISO99 || ISO11] (*_t): Do not allow.
59358 [non-C99-based standards] (FP_*): Do not allow.
59359 [C99-based standards] (FP_*): Change to
59360 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
59361 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59362 allow.
59363 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
59364 (SIG_ERR): Likewise.
59365 [X/Open-based standards] (SIG_HOLD): Likewise.
59366 (SIG_IGN): Likewise.
59367 (SIGABRT): Use macro-int-constant. Specify type. Require
59368 positive value.
59369 (SIGFPE): Likewise.
59370 (SIGILL): Likewise.
59371 (SIGINT): Likewise.
59372 (SIGSEGV): Likewise.
59373 (SIGTER): Likewise.
59374 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
59375 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
59376 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
59377 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
59378 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
59379 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
59380 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
59381 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
59382 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
59383 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
59384 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
59385 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
59386 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
59387 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
59388 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
59389 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
59390 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
59391 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
59392 [X/Open-based standards] (SIGTRAP): Likewise.
59393 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
59394 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
59395 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
59396 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
59397 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59398 allow.
59399
59400 2012-05-08 Ian Wienand <ianw@vmware.com>
59401
59402 [BZ #14080]
59403 * time/tzset.c (__tzset_parse_tz): Update default rules for
59404 daylight time changes in the Energy Policy Act of 2005.
59405
59406 2012-05-09 Andreas Jaeger <aj@suse.de>
59407
59408 [BZ #13983]
59409 * elf/ldconfig.c (parse_conf): Change string to make clear that
59410 ldconfig only issued a warning if ld.so.conf does not exist.
59411
59412 2012-05-08 David S. Miller <davem@davemloft.net>
59413
59414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
59415 movxtod instead of popping the value on the stack.
59416
59417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59418
59419 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
59420
59421 * config.h.in: Add HAVE_ARM_PCS_VFP.
59422
59423 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
59424
59425 [BZ #13979]
59426 * include/features.h: Warn if user requests __FORTIFY_SOURCE
59427 checking but the checks are disabled for any reason.
59428
59429 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
59430
59431 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
59432 and ELF64_R_TYPE with ELFW(R_TYPE).
59433
59434 2012-05-08 Joseph Myers <joseph@codesourcery.com>
59435
59436 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
59437 (ulimit): Likewise.
59438
59439 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
59440 (settimeofday): Likewise.
59441
59442 2012-05-08 Mike Frysinger <vapier@gentoo.org>
59443
59444 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
59445 a struct th_u2 inside the union, and move tu_block/tu_code into
59446 a new th_u3 union of tu_block/tu_code inside of that. Move
59447 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
59448 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
59449 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
59450 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
59451 (th_stuff): Change to th_u1.tu_stuff.
59452 (th_data): Define.
59453 (th_msg): Change to th_u1.th_u2.tu_data.
59454
59455 2012-05-07 David S. Miller <davem@davemloft.net>
59456
59457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59458
59459 [BZ #14074]
59460 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
59461 (SETUP_PIC_REG): Use it.
59462 (SETUP_PIC_REG_LEAF): Use it.
59463
59464 2012-05-07 Joseph Myers <joseph@codesourcery.com>
59465
59466 [BZ #13885]
59467 [BZ #13923]
59468 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59469 USE_AS_EXPM1L.
59470 (EXPL_FINITE): Likewise.
59471 (FLDLOG): Likewise.
59472 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59473 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59474 e_expl.S.
59475 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59476 USE_AS_EXPM1L.
59477 (EXPL_FINITE): Likewise.
59478 (FLDLOG): Likewise.
59479 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59480 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59481 e_expl.S.
59482 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
59483 test of -max_value argument for long double.
59484 * sysdeps/i386/fpu/libm-test-ulps: Update.
59485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59486
59487 2012-05-06 David S. Miller <davem@davemloft.net>
59488
59489 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
59490 quad soft-float symbols whose references which are compiler
59491 generated.
59492 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59493
59494 2012-05-06 Joseph Myers <joseph@codesourcery.com>
59495
59496 [BZ #13884]
59497 [BZ #13914]
59498 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59499 USE_AS_EXP10L.
59500 (EXPL_FINITE): Likewise.
59501 (FLDLOG): Likewise.
59502 (c0): Likewise.
59503 (c1): Likewise.
59504 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
59505 Adjust comments for base varying.
59506 (__expl_finite): Change alias to EXPL_FINITE.
59507 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
59508 e_expl.S.
59509 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
59510 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
59511 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
59512 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
59513 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59514 USE_AS_EXP10L.
59515 (EXPL_FINITE): Likewise.
59516 (FLDLOG): Likewise.
59517 (c0): Likewise.
59518 (c1): Likewise.
59519 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
59520 Adjust comments for base varying.
59521 (__expl_finite): Change alias to EXPL_FINITE.
59522 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
59523 tests for bugs.
59524 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59525
59526 [BZ #14064]
59527 * math/libm-test.inc (check_float_internal): Correct ulp
59528 calculation for subnormal expected results.
59529
59530 2012-05-06 Andreas Jaeger <aj@suse.de>
59531
59532 * Makeconfig (+math-flags): New, set to -frounding-math.
59533 (+cflags): Add +math-flags so that all of glibc gets compiled with
59534 it.
59535
59536 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
59537
59538 2012-05-05 Joseph Myers <joseph@codesourcery.com>
59539
59540 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
59541 Disable one test.
59542
59543 [BZ #13787]
59544 [BZ #13922]
59545 [BZ #14036]
59546 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
59547 (__ieee754_expl): Allow for and saturate large arguments.
59548 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
59549 (u_threshold): Likewise.
59550 (__exp): Call __ieee754_exp before checking for overflow and
59551 underflow.
59552 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
59553 (u_threshold): Likewise.
59554 (__expf): Call __ieee754_expf before checking for overflow and
59555 underflow.
59556 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
59557 (u_threshold): Likewise.
59558 (__expl): Call __ieee754_expl before checking for overflow and
59559 underflow.
59560 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
59561 (__ieee754_expl): Allow for and saturate large arguments.
59562 * math/libm-test.inc (exp_test): Add another test. Do not allow
59563 missing overflow exception on overflow.
59564 (expm1_test): Do not allow missing overflow exception on overflow.
59565
59566 * sysdeps/i386/fpu/e_expl.c: Move to ...
59567 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
59568 rather than using inline asm.
59569 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
59570 * sysdeps/x86_64/fpu/e_expl.S: Copy from
59571 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
59572
59573 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
59574 (nice): Likewise.
59575 (poll): Likewise.
59576 (signal): Likewise.
59577 (time): Likewise.
59578 (times): Likewise.
59579
59580 2012-05-04 Joseph Myers <joseph@codesourcery.com>
59581
59582 * sysdeps/unix/syscalls.list (adjtime): Add entry from
59583 sysdeps/unix/common/syscalls.list.
59584 (fchmod): Likewise.
59585 (fchown): Likewise.
59586 (ftruncate): Likewise.
59587 (getrusage): Likewise.
59588 (gettimeofday): Likewise.
59589 (setpgid): Likewise.
59590 (setregid): Likewise.
59591 (setreuid): Likewise.
59592 (sigaction): Likewise.
59593 (truncate): Likewise.
59594 (vhangup): Likewise.
59595 * sysdeps/unix/common/syscalls.list: Remove file.
59596 * sysdeps/unix/bsd/Implies: Don't include unix/common.
59597 * sysdeps/unix/sysv/linux/Implies: Likewise.
59598
59599 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
59600
59601 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
59602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
59603 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
59604 Moved to ...
59605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
59606 Here.
59607 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
59608 to ...
59609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
59610 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
59611 to ...
59612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
59613 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
59614 to ...
59615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
59616 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
59617 to ...
59618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
59619 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
59620 to ...
59621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
59622 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
59623 to ...
59624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
59625 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
59626 to ...
59627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
59628 Here.
59629 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
59630 to ...
59631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
59632 Here.
59633 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
59634 to ...
59635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
59636 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
59637 Moved to ...
59638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
59639 Here.
59640 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
59641 to ...
59642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
59643
59644 2012-05-04 Joseph Myers <joseph@codesourcery.com>
59645
59646 * sysdeps/unix/common/bits/dirent.h: Remove file.
59647 * sysdeps/unix/common/bits/fcntl.h: Likewise.
59648
59649 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
59650 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
59651 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
59652 * sysdeps/unix/bsd/isatty.c: Likewise.
59653 * sysdeps/unix/bsd/tcdrain.c: Likewise.
59654 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
59655 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
59656
59657 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59658
59659 [BZ #13563]
59660 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
59661 long double comparison inaccuracies.
59662 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
59663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59664
59665 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
59666
59667 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
59668 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
59669
59670 2012-05-04 Joseph Myers <joseph@codesourcery.com>
59671
59672 [BZ #14049]
59673 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
59674 nonzero digits before rounding a hex value.
59675 * stdlib/tst-strtod.c (tests): Add another test.
59676
59677 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59678
59679 * sysdeps/s390/fpu/libm-test-ulps: Update.
59680
59681 2012-05-03 Andreas Jaeger <aj@suse.de>
59682
59683 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
59684 does not get optimized out.
59685 (malloc_opt_barrier): New.
59686
59687 2012-05-03 Andreas Jaeger <aj@suse.de>
59688 Roland McGrath <roland@hack.frob.com>
59689
59690 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
59691 intermediate file deletion.
59692 (generated): Add .symlist files.
59693
59694 2012-05-03 Joseph Myers <joseph@codesourcery.com>
59695
59696 [BZ #13775]
59697 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
59698 Redirect under this condition.
59699 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59700 [__USE_GNU] (__dprintf_chk): Not under this condition.
59701 [__USE_GNU] (__vdprintf_chk): Likewise.
59702 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
59703 under this condition.
59704 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59705 [__USE_XOPEN2K8] (dprintf): Define under this condition.
59706 [__USE_XOPEN2K8] (vdprintf): Likewise.
59707 [__USE_GNU] (__dprintf_chk): Not under this condition.
59708 [__USE_GNU] (__vdprintf_chk): Likewise.
59709 [__USE_GNU] (dprintf): Likewise.
59710 [__USE_GNU] (vdprintf): Likewise.
59711
59712 2012-05-03 Roland McGrath <roland@hack.frob.com>
59713
59714 * elf/Makefile (common-generated): Set this instead of generated for
59715 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
59716 $(all-built-dso)-derived lists.
59717
59718 2012-05-03 Andreas Jaeger <aj@suse.de>
59719
59720 * sysdeps/i386/fpu/libm-test-ulps: Update.
59721
59722 * FAQ: Removed.
59723 * FAQ.in: Likewise.
59724 * scripts/gen-FAQ.pl: Likewise.
59725 * manual/install.texi (Installation): Point to online location of
59726 FAQ.
59727 * Makefile (files-for-dist): Remove FAQ.
59728 (FAQ): Remove.
59729
59730 2012-05-02 Allan McRae <allan@archlinux.org>
59731
59732 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
59733 (LDFLAGS-reldepmod5.so): Likewise.
59734 (LDFLAGS-reldep6mod1.so): Likewise.
59735 (LDFLAGS-reldep6mod4.so): Likewise.
59736 (LDFLAGS-reldep8mod3.so): Likewise.
59737 (LDFLAGS-unload4mod1.so): Likewise.
59738 (LDFLAGS-unload4mod2.so): Likewise.
59739 (LDFLAGS-tst-initorder): Likewise.
59740 (LDFLAGS-tst-initordera2.so): Likewise.
59741 (LDFLAGS-tst-initordera3.so): Likewise.
59742 (LDFLAGS-tst-initordera4.so): Likewise.
59743 (LDFLAGS-tst-initorderb2.so): Likewise.
59744 (LDFLAGS-noload): Likewise.
59745 (LDFLAGS-next): Likewise.
59746 (LDFLAGS-order2mod1.so): Likewise.
59747 (LDFLAGS-order2mod2.so): Likewise.
59748 (LDFLAGS-tst-initorder2): Likewise.
59749 (LDFLAGS-tst-initorder2a.so): Likewise.
59750 (LDFLAGS-tst-initorder2b.so): Likewise.
59751 (LDFLAGS-tst-initorder2c.so): Likewise.
59752 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
59753
59754 2012-05-02 David S. Miller <davem@davemloft.net>
59755
59756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59757
59758 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
59759
59760 [BZ #14055]
59761 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
59762
59763 2012-05-02 Andreas Jaeger <aj@suse.de>
59764
59765 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
59766 since we manipulate rounding mode.
59767 (CPPFLAGS-test-idouble.c): Likewise.
59768 (CPPFLAGS-test-ifloat.c): Likewise.
59769 (CFLAGS-test-ldouble.c): Likewise.
59770 (CFLAGS-test-double.c): Likewise.
59771 (CFLAGS-test-float.c): Likewise.
59772 (CFLAGS-test-misc.c): Likewise.
59773 (CFLAGS-test-test-fenv.c): Likewise.
59774
59775 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59776
59777 [BZ #2550]
59778 [BZ #2570]
59779 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
59780 comparisons to determine direction to adjust input.
59781
59782 2012-05-01 Roland McGrath <roland@hack.frob.com>
59783
59784 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
59785 output to the target.
59786
59787 * scripts/localplt.awk: New file.
59788 * elf/Makefile ($(objpfx)check-localplt): Target removed.
59789 (check-localplt-CFLAGS): Variable removed.
59790 ($(all-built-dso:=.jmprel)): New static pattern rule.
59791 (generated): Add those targets.
59792 (localplt-built-dso): New variable.
59793 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
59794
59795 * elf/check-localplt.c: File removed.
59796
59797 * scripts/check-execstack.awk: New file.
59798 * elf/Makefile ($(objpfx)check-execstack): Target removed.
59799 (check-execstack-CFLAGS): Variable removed.
59800 ($(objpfx)check-execstack.h): Target removed.
59801 ($(objpfx)execstack-default): New target.
59802 (generated): Add that instead of check-execstack.h.
59803 ($(all-built-dso:=.phdr)): New static pattern rule.
59804 (generated): Add those targets.
59805 * elf/check-execstack.c: File removed.
59806
59807 * scripts/check-textrel.awk: New file.
59808 * elf/Makefile ($(objpfx)check-textrel): Target removed.
59809 (check-textrel-CFLAGS): Variable removed.
59810 (all-built-dso): Use := to define.o
59811 ($(all-built-dso:=.dyn)): New static pattern rule.
59812 (generated): Add those targets.
59813 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
59814 * config.make.in (READELF): New substituted variable.
59815 * elf/check-textrel.c: File removed.
59816
59817 2012-05-01 Joseph Myers <joseph@codesourcery.com>
59818
59819 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59820 allow.
59821 * conform/data/ctype.h-data [C99-based standards] (isblank):
59822 Expect function.
59823 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
59824 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
59825 [ISO || ISO99 || ISO11] (*_t): Do not allow.
59826 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
59827 Specify type. Require positive value.
59828 (EILSEQ): Likewise.
59829 (ERANGE): Likewise.
59830 [ISO || POSIX] (EILSEQ): Do not expect.
59831 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
59832 Specify type. Require positive value.
59833 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
59834 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
59835 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
59836 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
59837 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
59838 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
59839 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
59840 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
59841 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
59842 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
59843 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
59844 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
59845 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
59846 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
59847 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
59848 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
59849 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
59850 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
59851 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
59852 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
59853 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
59854 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
59855 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
59856 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
59857 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
59858 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
59859 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
59860 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
59861 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
59862 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
59863 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
59864 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
59865 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
59866 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
59867 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
59868 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
59869 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
59870 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
59871 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
59872 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
59873 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
59874 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
59875 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
59876 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
59877 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
59878 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
59879 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
59880 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
59881 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
59882 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
59883 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
59884 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
59885 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
59886 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
59887 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
59888 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
59889 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
59890 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
59891 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
59892 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
59893 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
59894 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
59895 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
59896 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
59897 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
59898 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
59899 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
59900 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
59901 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
59902 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
59903 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
59904 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
59905 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
59906 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
59907 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
59908 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
59909 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
59910 Require >= 2.
59911 (FLT_ROUNDS): Expect as macro, not constant.
59912 (FLT_MANT_DIG): Use macro-int-constant.
59913 (DBL_MANT_DIG): Likewise.
59914 (LDBL_MANT_DIG): Likewise.
59915 (FLT_DIG): Likewise.
59916 (DBL_DIG): Likewise.
59917 (LDBL_DIG): Likewise.
59918 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
59919 (DBL_MIN_EXP): Likewise.
59920 (LDBL_MIN_EXP): Likewise.
59921 (FLT_MAX_EXP): Use macro-int-constant.
59922 (DBL_MAX_EXP): Likewise.
59923 (LDBL_MAX_EXP): Likewise.
59924 (FLT_MAX_10_EXP): Likewise.
59925 (DBL_MAX_10_EXP): Likewise.
59926 (LDBL_MAX_10_EXP): Likewise.
59927 (FLT_MAX): Use macro-constant.
59928 (DBL_MAX): Likewise.
59929 (LDBL_MAX): Likewise.
59930 (FLT_EPSILON): Use macro-constant. Give upper bound.
59931 (DBL_EPSILON): Likewise.
59932 (LDBL_EPSILON): Likewise.
59933 (FLT_MIN): Likewise.
59934 (DBL_MIN): Likewise.
59935 (LDBL_MIN): Likewise.
59936 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
59937 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
59938 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
59939 [ISO11] (FLT_HAS_SUBNORM): Likewise.
59940 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
59941 [ISO11] (DBL_DECIMAL_DIG): Likewise.
59942 [ISO11] (FLT_DECIMAL_DIG): Likewise.
59943 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
59944 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
59945 [ISO11] (FLT_TRUE_MIN): Likewise.
59946 [ISO11] (LDBL_TRUE_MIN): Likewise.
59947 [ISO || ISO99 || ISO11] (*_t): Do not allow.
59948 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
59949 (SCHAR_MIN): Use macro-int-constant. Specify type.
59950 (SCHAR_MAX): Likewise.
59951 (UCHAR_MAX): Likewise.
59952 (CHAR_MIN): Likewise.
59953 (CHAR_MAX): Likewise.
59954 (MB_LEN_MAX): Use macro-int-constant.
59955 (SHRT_MIN): Use macro-int-constant. Specify type.
59956 (SHRT_MAX): Likewise.
59957 (USHRT_MAX): Likewise.
59958 (INT_MAX): Likewise.
59959 (INT_MIN): Use macro-int-constant. Specify type. Make upper
59960 bound negative.
59961 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
59962 bound with "U".
59963 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
59964 bound with "L".
59965 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
59966 bound negative. Suffix upper bound with "L".
59967 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
59968 bound with "UL".
59969 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
59970 Specify type.
59971 [C99-based standards] (LLONG_MAX): Likewise.
59972 [C99-based standards] (ULLONG_MAX): Likewise.
59973 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
59974 == 0.
59975 [ISO11] (max_align_t): Require type.
59976 [ISO || ISO99 || ISO11] (*_t): Do not allow.
59977
59978 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
59979 from $CFLAGS, without defining away __attribute__ calls.
59980 (checknamespace): Use $CFLAGS_namespace.
59981
59982 * conform/conformtest.pl (@keywords): Only include C99 keywords
59983 for standards based on C99 or C11.
59984
59985 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
59986 Disable tests.
59987 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
59988 UNIX98]: Likewise.
59989
59990 * conform/conformtest.pl: Handle "macro-int-constant" and test for
59991 usability of symbols in #if.
59992
59993 * conform/conformtest.pl: If macro or constant types start
59994 "promoted:", expect the symbol to be of the following type
59995 promoted by the integer promotions.
59996
59997 * conform/conformtest.pl: Parse all "constant" and "macro" lines
59998 in one place. Also handle "macro-constant".
59999
60000 * conform/conformtest.pl: Only accept expected macro values with
60001 "==". Parse all "macro" lines in one place.
60002 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
60003
60004 * conform/conformtest.pl: Handle braced types on "constant" lines
60005 instead of handling "typed-constant".
60006 * conform/data/signal.h-data: Use "constant" instead of
60007 "typed-constant".
60008
60009 * conform/conformtest.pl: Handle "optional-" at start of lines in
60010 one place rather than duplicating several cases. Handle each
60011 format of "macro" line with initial "optional-".
60012
60013 * conform/conformtest.pl: Only accept expected constant or
60014 optional-constant values with "==". Parse all "constant" lines in
60015 one place. Parse all "optional-constant" lines in one place.
60016 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
60017 * conform/data/fmtmsg.h-data: Likewise.
60018 * conform/data/netinet/in.h-data: Likewise.
60019 * conform/data/tar.h-data: Likewise.
60020 * conform/data/limits.h-data: Use "==" form on "constant" and
60021 "optional-constant" lines.
60022
60023 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
60024 Use -std=c99 for XOPEN2K.
60025 (@knownproblems): Remove.
60026 (newtoken): Don't check %isknown.
60027
60028 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
60029 Do not expect macro.
60030 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
60031 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
60032 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
60033 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
60034 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
60035 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
60036 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
60037 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
60038 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
60039 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
60040 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
60041 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
60042 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
60043 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
60044 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
60045 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
60046 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
60047 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
60048 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
60049 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
60050 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
60051 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
60052 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
60053 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
60054 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
60055 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
60056 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
60057 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
60058 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
60059 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
60060 [XPG3] (acosh): Likewise.
60061 [XPG3] (asinh): Likewise.
60062 [XPG3] (atanh): Likewise.
60063 [XPG3] (cbrt): Likewise.
60064 [XPG3] (expm1): Likewise.
60065 [XPG3] (ilogb): Likewise.
60066 [XPG3] (log1p): Likewise.
60067 [XPG3] (logb): Likewise.
60068 [XPG3] (nextafter): Likewise.
60069 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
60070 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
60071 [XPG3] (remainder): Likewise.
60072 [XPG3] (rint): Likewise.
60073 [XPG3 || XPG4 || UNIX98] (round): Likewise.
60074 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
60075 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
60076 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
60077 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
60078 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
60079 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
60080 [UNIX98 || XOPEN2K] (scalb): Expect.
60081 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
60082 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
60083 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
60084 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
60085 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
60086 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
60087 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
60088 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
60089 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
60090 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
60091 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
60092 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
60093 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
60094 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
60095 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
60096 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
60097 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
60098 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
60099 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
60100 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
60101 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
60102 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
60103 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
60104 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
60105 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
60106 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
60107 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
60108 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
60109 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
60110 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
60111 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
60112 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
60113 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
60114 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
60115 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
60116 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
60117 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
60118 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
60119 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
60120 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
60121 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
60122 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
60123 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
60124 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
60125 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
60126 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
60127 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
60128 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
60129 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
60130 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
60131 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
60132 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
60133 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
60134 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
60135 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
60136 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
60137 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
60138 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
60139 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
60140 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
60141 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
60142 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
60143 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
60144 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
60145 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
60146 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
60147 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
60148 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
60149 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
60150 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
60151 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
60152 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
60153 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
60154 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
60155 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
60156 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
60157 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
60158 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
60159 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
60160 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
60161 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
60162 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
60163 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
60164 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
60165 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
60166 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
60167 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
60168 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
60169 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
60170 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
60171 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
60172 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
60173 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
60174 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
60175 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
60176 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
60177 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
60178 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
60179 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
60180 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
60181 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
60182 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
60183 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
60184 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
60185 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
60186 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
60187 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
60188 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
60189 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
60190 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
60191 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
60192 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
60193 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
60194 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
60195 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
60196 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
60197 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
60198 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
60199 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
60200 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
60201 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
60202 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
60203 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
60204 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
60205 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
60206 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
60207 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
60208 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
60209 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
60210 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
60211 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
60212 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
60213 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
60214 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
60215 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
60216 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
60217 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
60218
60219 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
60220 _XOPEN_SOURCE_EXTENDED for XPG4.
60221
60222 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
60223
60224 * Makeconfig (localtime): Remove variable.
60225 (inst_localtime-file): Likewise.
60226
60227 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
60228
60229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
60230 Update.
60231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60232 Update.
60233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
60234 Update.
60235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
60236 Update.
60237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
60238 Update.
60239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
60240 Update.
60241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60242 Update.
60243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
60244 Update.
60245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60246 Update.
60247
60248 2012-05-01 Joseph Myers <joseph@codesourcery.com>
60249
60250 [BZ #2550]
60251 [BZ #2570]
60252 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
60253 comparisons to determine direction to adjust input.
60254 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
60255 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
60256 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
60257 Likewise.
60258 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
60259 Likewise.
60260 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
60261 Likewise.
60262 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
60263 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
60264 Likewise.
60265 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
60266 Likewise.
60267 * math/libm-test.inc (nexttoward_test): Add more tests.
60268
60269 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
60270
60271 [BZ #14040]
60272 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
60273 in version GLIBC_2.1, not GLIBC_2.0.
60274 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
60275 Likewise.
60276
60277 2012-04-30 Joseph Myers <joseph@codesourcery.com>
60278
60279 [BZ #13942]
60280 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
60281 (1 - x) * (1 + x).
60282 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60283 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
60284 * math/libm-test.inc (acos_test): Add more tests.
60285 (asin_test): Likewise.
60286 * sysdeps/i386/fpu/libm-test-ulps: Update.
60287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60288
60289 [BZ #14034]
60290 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
60291 of square root.
60292 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
60293 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60294 * math/libm-test.inc (acos_test_tonearest): New function.
60295 (acos_test_towardzero): Likewise.
60296 (acos_test_downward): Likewise.
60297 (acos_test_upward): Likewise.
60298 (asin_test_tonearest): Likewise.
60299 (asin_test_towardzero): Likewise.
60300 (asin_test_downward): Likewise.
60301 (asin_test_upward): Likewise.
60302 (main): Call the new functions.
60303 * sysdeps/i386/fpu/libm-test-ulps: Update.
60304 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60305
60306 [BZ #13884]
60307 [BZ #13924]
60308 * math/e_exp10.c: Include <float.h>.
60309 (__ieee754_exp10): Handle underflow here rather than multiplying
60310 large negative argument by M_LN10.
60311 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
60312 of __ieee754_expf.
60313 * math/e_exp10l.c: Include <float.h>.
60314 (__ieee754_exp10l): Handle underflow here rather than multiplying
60315 large negative argument by M_LN10l.
60316 * math/libm-test.inc (exp10_test): Add another test. Do not allow
60317 spurious overflow exception on underflow.
60318
60319 2012-04-29 Marek Polacek <polacek@redhat.com>
60320
60321 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
60322 (__fortify_function): New macro.
60323 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
60324 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
60325 __extern_always_inline.
60326 * libio/bits/stdio2.h: Likewise.
60327 * libio/bits/stdio.h: Likewise.
60328 * string/string.h: Likewise.
60329 * string/bits/string3.h: Likewise.
60330 * include/stdio.h: Likewise.
60331 * stdlib/bits/stdlib.h: Likewise.
60332 * stdlib/stdlib.h: Likewise.
60333 * rt/bits/mqueue2.h: Likewise.
60334 * rt/mqueue.h: Likewise.
60335 * posix/bits/unistd.h: Likewise.
60336 * posix/unistd.h: Likewise.
60337 * io/bits/poll2.h: Likewise.
60338 * io/bits/fcntl2.h: Likewise.
60339 * io/fcntl.h: Likewise.
60340 * io/sys/poll.h: Likewise.
60341 * misc/bits/syslog.h: Likewise.
60342 * misc/bits/syslog-ldbl.h: Likewise.
60343 * misc/sys/syslog.h: Likewise.
60344 * socket/bits/socket2.h: Likewise.
60345 * socket/sys/socket.h: Likewise.
60346 * debug/tst-chk1.c: Likewise.
60347 * wcsmbs/bits/wchar2.h: Likewise.
60348 * wcsmbs/bits/wchar-ldbl.h: Likewise.
60349 * wcsmbs/wchar.h: Likewise.
60350
60351 2012-04-29 Andreas Jaeger <aj@suse.de>
60352
60353 * Makerules (tests): Remove enable-check-abi protection.
60354 (check-abi-warn): Remove.
60355 (check-abi-%): Remove check-abi-warn usage.
60356
60357 * configure.in: Remove check-abi configure option.
60358 * configure: Regenerated.
60359 * config.make.in (enable-check-abi): Remove.
60360
60361 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
60362
60363 [BZ #14033]
60364 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
60365 double functions to double *_finite functions.
60366
60367 [BZ #13941]
60368 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
60369 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
60370 LDBL_MIN_EXP.
60371 * stdio-common/Makefile (tests): Add tst-sprintf3.
60372 * stdio-common/tst-sprintf3.c: New file.
60373
60374 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
60375 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
60376
60377 2012-04-28 Joseph Myers <joseph@codesourcery.com>
60378
60379 * conform/conformtest.pl: Remove duplicate typed-constant
60380 handling.
60381
60382 2012-04-28 David S. Miller <davem@davemloft.net>
60383
60384 * Makerules (%.abilist): Add vpath on sysdep_dirs.
60385 (check-abi-%): Remove AWK script prerequisite and explicit
60386 abilist directory.
60387 (check-abi): Rewrite to just diff the symlist with the abilist.
60388 (config-tls, config-abi-config): Delete, no longer used.
60389 (update-abi-%): Remove AWK script and explicit abilist directory.
60390 (update-abi): Rewrite to simply compare and conditionally copy the
60391 symlist and the sysdep abilist file. Remove update-abi-config
60392 checks.
60393 * abilist/ld.abilist: Remove.
60394 * abilist/libBrokenLocale.abilist: Remove.
60395 * abilist/libanl.abilist: Remove.
60396 * abilist/libcrypt.abilist: Remove.
60397 * abilist/libdl.abilist: Remove.
60398 * abilist/librt.abilist: Remove.
60399 * abilist/libthread_db.abilist: Remove.
60400 * abilist/libutil.abilist: Remove.
60401 * scripts/extract-abilist.awk: Remove.
60402 * scripts/merge-abilist.awk: Remove.
60403 * sysdeps/generic/libcidn.abilist: New file.
60404 * sysdeps/generic/libnss_compat.abilist: New file.
60405 * sysdeps/generic/libnss_db.abilist: New file.
60406 * sysdeps/generic/libnss_dns.abilist: New file.
60407 * sysdeps/generic/libnss_files.abilist: New file.
60408 * sysdeps/generic/libnss_hesiod.abilist: New file.
60409 * sysdeps/generic/libnss_nis.abilist: New file.
60410 * sysdeps/generic/libnss_nisplus.abilist: New file.
60411 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
60412 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
60413 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
60414 file.
60415 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
60416 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
60417 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
60418 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
60419 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
60420 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
60421 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
60422 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
60423 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
60424 file.
60425 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
60426 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
60427 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
60428 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
60429 file.
60430 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
60431 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
60432 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
60433 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
60434 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
60435 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
60436 file.
60437 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
60438 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
60439 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
60440 file.
60441 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
60442 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
60443 New file.
60444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
60445 New file.
60446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
60447 New file.
60448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
60449 New file.
60450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
60451 New file.
60452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
60453 New file.
60454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
60455 New file.
60456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
60457 New file.
60458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
60459 New file.
60460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
60461 New file.
60462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
60463 New file.
60464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
60465 New file.
60466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
60467 New file.
60468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
60469 file.
60470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
60471 New file.
60472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
60473 New file.
60474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
60475 file.
60476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
60477 New file.
60478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
60479 New file.
60480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
60481 file.
60482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
60483 New file.
60484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60485 New file.
60486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
60487 New file.
60488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
60489 New file.
60490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
60491 New file.
60492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
60493 New file.
60494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
60495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
60496 file.
60497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
60498 New file.
60499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
60500 file.
60501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
60502 file.
60503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
60504 file.
60505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
60506 file.
60507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
60508 file.
60509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60510 New file.
60511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
60512 file.
60513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
60514 file.
60515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
60516 New file.
60517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
60518 file.
60519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
60520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
60521 file.
60522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
60523 New file.
60524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
60525 file.
60526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
60527 file.
60528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
60529 file.
60530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
60531 file.
60532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
60533 file.
60534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60535 New file.
60536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
60537 file.
60538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
60539 file.
60540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
60541 New file.
60542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
60543 file.
60544 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60545 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
60546 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
60547 file.
60548 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
60549 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
60550 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
60551 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
60552 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
60553 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
60554 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
60555 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
60556 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
60557 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
60558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
60559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
60560 file.
60561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
60562 New file.
60563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
60564 file.
60565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
60566 file.
60567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
60568 file.
60569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
60570 file.
60571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
60572 file.
60573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
60574 New file.
60575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
60576 New file.
60577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
60578 file.
60579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
60580 New file.
60581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
60582 file.
60583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
60584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
60585 file.
60586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
60587 New file.
60588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
60589 file.
60590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
60591 file.
60592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
60593 file.
60594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
60595 file.
60596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
60597 file.
60598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
60599 New file.
60600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
60601 New file.
60602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
60603 file.
60604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
60605 New file.
60606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
60607 file.
60608
60609 2012-04-28 Joseph Myers <joseph@codesourcery.com>
60610
60611 * conform/conformtest.pl: Fix typo in handling typed-constant from
60612 allow-header.
60613
60614 2012-04-27 Joseph Myers <joseph@codesourcery.com>
60615
60616 * README: Cut down references to pre-2.6 Linux kernels and
60617 Linuxthreads. Update lists of configurations in libc and ports
60618 and sort alphabetically. Say "or newer" with Linux kernel version
60619 requirements.
60620
60621 * config.h.in [IS_IN_build]: Allow compiling without optimization.
60622
60623 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
60624
60625 [BZ #887]
60626 * math/libm-test.inc (logb_test_downward): New test to expose
60627 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
60628 rounding mode.
60629
60630 2012-04-27 Joseph Myers <joseph@codesourcery.com>
60631
60632 [BZ #14027]
60633 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
60634 to be done.
60635 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
60636 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
60637
60638 2012-04-26 Joseph Myers <joseph@codesourcery.com>
60639
60640 * sysdeps/unix/i386/brk.S: Remove file.
60641 * sysdeps/unix/i386/dl-brk.S: Likewise.
60642 * sysdeps/unix/i386/pipe.S: Likewise.
60643 * sysdeps/unix/i386/sigreturn.S: Likewise.
60644 * sysdeps/unix/i386/syscall.S: Likewise.
60645 * sysdeps/unix/i386/vfork.S: Likewise.
60646 * sysdeps/unix/i386/wait.S: Likewise.
60647
60648 * sysdeps/unix/common/tcsendbrk.c: Move to ...
60649 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
60650
60651 * configure.in (arm*-none*): Do not allow without
60652 --enable-hacker-mode.
60653 (netbsd*): Remove case setting base_os.
60654 (386bsd*): Likewise.
60655 (freebsd*): Likewise.
60656 (bsdi*): Likewise.
60657 (osf*): Likewise.
60658 (sunos*): Likewise.
60659 (ultrix*): Likewise.
60660 (newsos*): Likewise.
60661 (dynix*): Likewise.
60662 (*bsd*): Likewise.
60663 (sysv*): Likewise.
60664 (isc*): Likewise.
60665 (esix*): Likewise.
60666 (sco*): Likewise.
60667 (minix*): Likewise.
60668 (irix4*): Likewise.
60669 (irix6*): Likewise.
60670 (solaris[2-9]*): Likewise.
60671 (none): Likewise.
60672 * configure: Regenerated.
60673
60674 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60675
60676 [BZ #11521]
60677 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
60678 overflow or cancellation in calculating denominator.
60679 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
60680 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
60681 down expression to avoid unexpected rounding in newer GCCs.
60682 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
60683
60684 2012-04-26 David S. Miller <davem@davemloft.net>
60685
60686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
60687 long-double compat symbols.
60688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
60692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
60693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
60694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
60695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
60696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
60697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
60698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
60699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
60700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
60701
60702 2012-04-25 David S. Miller <davem@davemloft.net>
60703
60704 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
60705 HWCAP_* values only after the memory barriers have been defined.
60706 (atomic_full_barrier): Define.
60707 (atomic_read_barrier): Define.
60708 (atomic_write_barrier): Define.
60709
60710 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
60711
60712 * shlib-versions: Add libgcc_s version information.
60713 * sysdeps/generic/libgcc_s.h: Remove.
60714 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
60715 libgcc_s.h.
60716 * sysdeps/gnu/unwind-resume.c: Likewise.
60717 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
60718
60719 2012-04-25 David S. Miller <davem@davemloft.net>
60720
60721 * sysdeps/unix/sparc/brk.S: Delete.
60722 * sysdeps/unix/sparc/dl-brk.S: Delete.
60723 * sysdeps/unix/sparc/pipe.S: Delete.
60724 * sysdeps/unix/sparc/sysdep.S: Delete.
60725 * sysdeps/unix/sparc/sysdep.h: Delete.
60726 * sysdeps/unix/sparc/vfork.S: Delete.
60727 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
60728 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
60729 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
60730 (ret_ERRVAL, r0, r1, MOVE): Define.
60731 (JUMPTARGET): Remove.
60732 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
60733 sysdeps/unix/sparc/sysdep.h
60734 (ENTRY, END): Remove.
60735 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60736
60737 2012-04-25 Joseph Myers <joseph@codesourcery.com>
60738
60739 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
60740 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
60741 -DIS_IN_build.
60742
60743 * timezone/README: Update upstream location and email address for
60744 tzcode and tzdata.
60745 * timezone/zdump.c: Update from tzcode 2012b.
60746 * timezone/zic.c: Likewise.
60747
60748 * configure.in (libc_cv_as_needed): Remove test.
60749 * configure: Regenerated.
60750 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
60751 conditional definition.
60752 [$(have-as-needed) != yes] (no-as-needed): Likewise.
60753 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
60754 * config.make.in (have-as-needed): Remove variable.
60755
60756 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
60757 Paul Pluzhnikov <ppluzhnikov@google.com>
60758
60759 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
60760 strings correctly.
60761
60762 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
60763
60764 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
60765 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
60766 * sysdeps/sh/strlen.S: Likewise.
60767
60768 2012-04-24 Joseph Myers <joseph@codesourcery.com>
60769
60770 * sysdeps/unix/fork.S: Remove file.
60771 * sysdeps/unix/i386/fork.S: Likewise.
60772 * sysdeps/unix/sparc/fork.S: Likewise.
60773
60774 * sysdeps/unix/system.c: Remove file.
60775 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
60776
60777 * sysdeps/unix/getegid.S: Remove file.
60778 * sysdeps/unix/geteuid.S: Likewise.
60779
60780 2012-04-24 Roland McGrath <roland@hack.frob.com>
60781
60782 * scripts/check-localplt.awk: New file.
60783 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
60784 of diff.
60785 * scripts/data/localplt-generic.data: Add a comment.
60786
60787 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
60788 NODE when __dir_mkfile failed.
60789 * sysdeps/mach/hurd/symlinkat.c: Likewise.
60790 Reported by Ludovic Courtès <ludo@gnu.org>.
60791
60792 2012-04-24 Andreas Jaeger <aj@suse.de>
60793
60794 * Makerules (common-clean): Also remove gen-as-const-headers
60795 files.
60796
60797 2012-04-24 Joseph Myers <joseph@codesourcery.com>
60798
60799 * Makerules (native-compile): Do not change working directory for
60800 build. Use $(OUTPUT_OPTION) in command.
60801 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
60802
60803 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60804
60805 [BZ #13886]
60806 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
60807 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
60808 * math/libm-test.inc (floor_test): Add more tests.
60809 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
60810
60811 2012-04-24 Joseph Myers <joseph@codesourcery.com>
60812
60813 * sysdeps/unix/getdents.c: Remove file.
60814 * sysdeps/unix/sysv/getdents.c: Likewise.
60815 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
60816
60817 * sysdeps/unix/syscalls.list (madvise): Add syscall from
60818 sysdeps/unix/mman/syscalls.list.
60819 (mmap): Likewise.
60820 (mprotect): Likewise.
60821 (msync): Likewise.
60822 (munmap): Likewise.
60823 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
60824 * sysdeps/unix/mman/syscalls.list: Remove.
60825 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
60826
60827 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
60828 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
60829 * configure: Regenerated.
60830 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
60831 $(libgcc_s_suffix).
60832 * config.make.in (libgcc_s_suffix): Remove variable.
60833
60834 2012-04-23 Joseph Myers <joseph@codesourcery.com>
60835
60836 * sysdeps/unix/sysv/gethostname.c: Move to ...
60837 * sysdeps/posix/gethostname.c: ... here.
60838
60839 * sysdeps/unix/execve.S: Remove file.
60840
60841 * sysdeps/unix/_exit.S: Remove file.
60842
60843 2012-04-23 Andreas Jaeger <aj@suse.de>
60844
60845 [BZ #13739]
60846 * manual/Makefile: Remove make dist support, there's no
60847 need for a stand-alone documentation tar ball.
60848 (TEXI2DVI): Define always, it's not in Makeconfig.
60849 (dist): Removed.
60850 (tar-it): Removed.
60851 (edition): Removed.
60852 (glibc-doc-$(edition).tar): Removed
60853 (%.Z): Removed.
60854 (%.gz): Removed.
60855 (%.uu): Removed.
60856 (ETAGS): Remove, it's in Makeconfig.
60857 (move-if-change): Remove, it's in Makeconfig.
60858
60859 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
60860
60861 [BZ #13970]
60862 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
60863 (strtod, strtof, strtold, strtol, strtoul, strtoq)
60864 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
60865 (strtod_l, strtof_l, strtold_l): Remove __wur.
60866 It is not necessarily an error to ignore strtol's return value.
60867 One can reliably look at the stored endptr to decide whether
60868 the number had valid syntax.
60869
60870 2012-04-21 Andreas Jaeger <aj@suse.de>
60871
60872 [BZ #13739]
60873 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
60874
60875 2012-04-21 Joseph Myers <joseph@codesourcery.com>
60876
60877 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
60878 * sysdeps/unix/sysv/Versions: Remove file.
60879
60880 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
60881
60882 [BZ #13927]
60883 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60884
60885 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
60886
60887 [BZ #7064]
60888 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
60889 version from __vm86.
60890
60891 2012-04-20 Joseph Myers <joseph@codesourcery.com>
60892
60893 * sysdeps/unix/common/lxstat.c: Remove file.
60894 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
60895
60896 * sysdeps/unix/sysv/Makefile: Remove file.
60897
60898 * sysdeps/unix/sysv/direct.h: Remove file.
60899
60900 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
60901 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
60902 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
60903 * sysdeps/unix/sysv/bits/signum.h: Likewise.
60904 * sysdeps/unix/sysv/bits/stat.h: Likewise.
60905 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
60906 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
60907
60908 * sysdeps/unix/sysv/setrlimit.c: Remove file.
60909
60910 * sysdeps/unix/xmknod.c: Remove file.
60911 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
60912
60913 * sysdeps/unix/sysv/settimeofday.c: Remove file.
60914
60915 * sysdeps/unix/sysv/i386/time.S: Remove file.
60916
60917 * sysdeps/unix/fxstat.c: Remove file.
60918 * sysdeps/unix/xstat.c: Likewise.
60919 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
60920
60921 * sysdeps/unix/sysv/sigaction.c: Remove file.
60922
60923 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
60924 (sysdep_headers): Remove variable.
60925 [termio.h not in sysdep_headers] (generated): Likewise.
60926 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
60927 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
60928 * sysdeps/unix/sysv/tcdrain.c: Likewise.
60929 * sysdeps/unix/sysv/tcflow.c: Likewise.
60930 * sysdeps/unix/sysv/tcflush.c: Likewise.
60931 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
60932 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
60933 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
60934 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
60935 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
60936
60937 * sysdeps/unix/siglist.c: Remove file.
60938
60939 * sysdeps/unix/getppid.S: Remove file.
60940
60941 * sysdeps/unix/mkdir.c: Remove file.
60942 * sysdeps/unix/rmdir.c: Likewise.
60943
60944 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
60945
60946 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
60947 ERR_MAX value.
60948 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
60949 errlist-compat value.
60950
60951 2012-04-18 David S. Miller <davem@davemloft.net>
60952
60953 * sysdeps/generic/memcopy.h (reg_char): Delete.
60954 * debug/strcat_chk.c: Use char, not reg_char.
60955 * debug/strcpy_chk.c: Likewise.
60956 * debug/strncat_chk.c: Likewise.
60957 * debug/strncpy_chk.c: Likewise.
60958 * string/memchr.c: Likewise.
60959 * string/memrchr.c: Likewise.
60960 * string/rawmemchr.c: Likewise.
60961 * string/strcat.c: Likewise.
60962 * string/strchr.c: Likewise.
60963 * string/strchrnul.c: Likewise.
60964 * string/strcmp.c: Likewise.
60965 * string/strcpy.c: Likewise.
60966 * string/strncat.c: Likewise.
60967 * string/strncmp.c: Likewise.
60968 * string/strncpy.c: Likewise.
60969
60970 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
60971
60972 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
60973 __builtin_memcopy is called when src and dest ranges are known to not
60974 overlap.
60975
60976 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
60977
60978 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
60979 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
60980 fwd_align_merge macro call.
60981 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
60982 bwd_align_merge macro call.
60983 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60984
60985 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
60986
60987 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
60988 bwd_align_merge macros.
60989 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
60990 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
60991 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60992
60993 2012-04-18 David S. Miller <davem@davemloft.net>
60994
60995 * sysdeps/sparc/sparc64/memcopy.h: Delete.
60996
60997 2012-04-18 Andreas Jaeger <aj@suse.de>
60998
60999 [BZ# 6794]
61000 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
61001 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
61002 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61003
61004 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
61005 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
61006 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61007
61008 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
61009 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
61010 Adjust for changed ldbl-128 files.
61011
61012 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
61013 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
61014 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61015
61016 2012-04-17 David S. Miller <davem@davemloft.net>
61017
61018 * sysdeps/sparc/sparc32/memcopy.h: Delete.
61019
61020 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
61021
61022 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
61023 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
61024 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
61025 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
61026 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61027 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
61028
61029 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61030
61031 [BZ #6794]
61032 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
61033 * math/libm-test.inc: Add ilogb errno and exception tests.
61034 * math/w_ilogb.c: New file: ilogb wrapper.
61035 * math/w_ilogbf.c: New file: ilogbf wrapper.
61036 * math/w_ilogbl.c: New file: ilogbl wrapper.
61037 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
61038 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
61039 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
61040 exception being thrown with 0.0 as argument.
61041 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
61042 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
61043 exception being thrown with 0.0 as argument.
61044 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
61045 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61046 exception being thrown with 0.0 as argument.
61047 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
61048 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61049 exception being thrown with 0.0 as argument.
61050 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
61051 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
61052 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
61053 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
61054 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
61055 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
61056 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
61057 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
61058 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
61059
61060 2012-04-17 Petr Baudis <pasky@ucw.cz>
61061
61062 * include/sys/uio.h: Change __vector to __iovec to avoid clash
61063 with altivec.
61064
61065 2012-04-16 Marek Polacek <polacek@redhat.com>
61066
61067 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
61068
61069 2012-04-16 Marek Polacek <polacek@redhat.com>
61070
61071 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
61072 operands of fdivp instruction.
61073
61074 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
61075
61076 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
61077 * elf/tst-auditmod3b.c: Likewise.
61078 * elf/tst-auditmod4b.c: Likewise.
61079 * elf/tst-auditmod5b.c: Likewise.
61080 * elf/tst-auditmod6b.c: Likewise.
61081 * elf/tst-auditmod6c.c: Likewise.
61082 * elf/tst-auditmod7b.c: Likewise.
61083 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
61084 * sysdeps/x86_64/preconfigure.in: Likewise.
61085 * sysdeps/x86_64/preconfigure: Regenerated.
61086
61087 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
61088
61089 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
61090 __ILP32__.
61091
61092 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
61093
61094 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61095 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
61096
61097 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
61098
61099 [BZ #13973]
61100 * locale/iso-639.def: Fix gl language name. Spotted by
61101 Yaron Shahrabani.
61102
61103 2012-04-12 Roland McGrath <roland@hack.frob.com>
61104
61105 [BZ #2074]
61106 * libio/libio.h (__io_write_fn): Update comment.
61107
61108 2012-04-12 Petr Baudis <pasky@ucw.cz>
61109
61110 [BZ #2074]
61111 * stdio.texi (Hook Functions): The user provided writer function
61112 is not allowed to return -1.
61113
61114 2012-04-11 David S. Miller <davem@davemloft.net>
61115
61116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61117
61118 2012-04-11 Mike Frysinger <vapier@gentoo.org>
61119
61120 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
61121 Add a leading slash to rtkaio.
61122
61123 2012-04-11 Jim Meyering <meyering@redhat.com>
61124
61125 [BZ #11959]
61126 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
61127 It is not necessarily an error to ignore fwrite's return
61128 value. One can reliably use ferror to test for errors after
61129 the fact.
61130
61131 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
61132
61133 * bits/types.h (__snseconds_t): New type.
61134 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
61135
61136 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
61137 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61138 (__SNSECONDS_T_TYPE): Likewise.
61139 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61140 (__SNSECONDS_T_TYPE): Likewise.
61141 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61142 (__SNSECONDS_T_TYPE): Likewise.
61143
61144 2012-04-10 Andreas Jaeger <aj@suse.de>
61145
61146 [BZ #2636]
61147 * manual/time.texi (Processor Time): Return type of times is
61148 elapsed real time since an arbitrary point in the past.
61149 (CPU Time): Move CLK_TCK from here...
61150 (Processor Time): ...to here. Correct description.
61151 * manual/conf.texi (Constants for Sysconf): Correct description of
61152 _SC_CLK_TCK.
61153
61154 2012-04-10 David S. Miller <davem@davemloft.net>
61155
61156 [BZ #13967]
61157 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
61158 where the is a gap between DT_REL(A) and DT_JMPREL.
61159
61160 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
61161
61162 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
61163 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61164 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61165
61166 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
61167
61168 * elf/dl-support.c (_dl_inhibit_cache): New variable.
61169 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
61170 (dl_main): Handle --inhibit-cache.
61171 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
61172 _dl_inhibit_cache.
61173 * elf/dl-load.c (_dl_map_object): Use it.
61174 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
61175
61176 2012-04-09 Joseph Myers <joseph@codesourcery.com>
61177
61178 [BZ #13872]
61179 * sysdeps/i386/fpu/e_powl.S (p78): New object.
61180 (__ieee754_powl): Saturate large exponents rather than testing for
61181 overflow of y*log2(x).
61182 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61183 * math/libm-test.inc (pow_test): Do not permit spurious overflow
61184 exceptions.
61185
61186 [BZ #11521]
61187 * math/s_ctan.c: Include <float.h>.
61188 (__ctan): Avoid internal overflow or cancellation in calculating
61189 denominator.
61190 * math/s_ctanf.c: Likewise.
61191 * math/s_ctanl.c: Likewise.
61192 * math/s_ctanh.c: Likewise.
61193 * math/s_ctanhf.c: Likewise.
61194 * math/s_ctanhl.c: Likewise.
61195 * math/libm-test.inc (ctan_test): Add more tests.
61196 (ctanh_test): Likewise.
61197 * sysdeps/i386/fpu/libm-test-ulps: Update.
61198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61199
61200 2012-04-09 Andreas Jaeger <aj@suse.de>
61201
61202 [BZ #6894]
61203 * manual/filesys.texi (Directory Entries): Mention that d_namlen
61204 is an optional BSD extension.
61205
61206 [BZ #10254]
61207 * manual/stdio.texi (Opening Streams): Document additional fopen
61208 parameters.
61209
61210 2012-04-09 Roland McGrath <roland@hack.frob.com>
61211
61212 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
61213 %eax without telling the compiler.
61214
61215 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
61216
61217 [BZ # 13963]
61218 * manual/install.texi: Use sourceware.org.
61219
61220 2012-04-09 Joseph Myers <joseph@codesourcery.com>
61221
61222 [BZ #13873]
61223 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
61224 (__ieee754_pow): Generate overflow and underflow using huge*huge
61225 and tiny*tiny rather than just returning constant infinity or zero
61226 for large exponents.
61227 * math/libm-test.inc (pow_test): Require overflow exceptions for
61228 applicable cases of large exponents.
61229
61230 [BZ #706]
61231 * sysdeps/i386/fpu/e_pow.S (p10): New object.
61232 (__ieee754_pow): Use iterative multiplication algorithm only for
61233 integer exponents with absolute value below 1024. Check for odd
61234 integer exponents when using algorithm for real exponents.
61235 * math/libm-test.inc (pow_test): Add more tests.
61236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61237
61238 2012-04-08 Joseph Myers <joseph@codesourcery.com>
61239
61240 [BZ #13705]
61241 * math/libm-test.inc (exp_test): Do not allow overflow exception
61242 on underflow test.
61243
61244 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
61245
61246 [BZ #13705]
61247 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
61248 instead of __kernel_standard_f.
61249
61250 2012-04-08 Mike Frysinger <vapier@gentoo.org>
61251
61252 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
61253 * sysdeps/x86_64/memset_chk.S: Likewise.
61254
61255 2012-04-08 Andreas Jaeger <aj@suse.de>
61256
61257 [BZ #10153]
61258 * manual/startup.texi (Environment Access): Describe return value
61259 for putenv and setenv.
61260
61261 [BZ #6895]
61262 * manual/filesys.texi (Directory Entries): Add description for
61263 DT_LNK.
61264
61265 [BZ #6890]
61266 * manual/filesys.texi (Directory Entries): Clarify that it's file
61267 system not operating system in the description of DT_UNKNOWN.
61268
61269 [BZ #6578]
61270 * manual/syslog.texi (closelog): Fix reference, it's openlog.
61271
61272 2012-04-08 Stephen Compall <s11@member.fsf.org>
61273
61274 [BZ #6649]
61275 * manual/llio.texi (Opening and Closing Files): Add cross
61276 reference to explain mode argument.
61277
61278 2012-04-07 Mike Frysinger <vapier@gentoo.org>
61279
61280 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
61281 * sysdeps/x86_64/memset_chk.S: Likewise.
61282
61283 2012-04-07 David S. Miller <davem@davemloft.net>
61284
61285 * elf/elf.h (R_SPARC_WDISP10): Define.
61286 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
61287 R_SPARC_SIZE32.
61288 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
61289 R_SPARC_SIZE64 and R_SPARC_H34.
61290
61291 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
61292
61293 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
61294 conditions and remove no longer applicable assertion.
61295
61296 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
61297
61298 * bits/byteswap.h: Include <features.h>.
61299 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61300 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61301
61302 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
61303
61304 * bits/byteswap.h (__bswap_16): Removed.
61305 Include <bits/byteswap-16.h> to get __bswap_16.
61306 * sysdeps/i386/bits/byteswap.h: Likewise.
61307 * sysdeps/s390/bits/byteswap.h: Likewise.
61308 * sysdeps/x86_64/bits/byteswap.h: Likewise.
61309 * bits/byteswap-16.h: New file.
61310 * sysdeps/i386/bits/byteswap-16.h: Likewise.
61311 * sysdeps/s390/bits/byteswap-16.h: Likewise.
61312 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
61313 * string/Makefile (headers): Add bits/byteswap-16.h.
61314
61315 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
61316
61317 [BZ #13895]
61318 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
61319 extra indirection.
61320 * nss/Makefile (tests-static, tests): Add tst-nss-static.
61321 * nss/tst-nss-static.c: New.
61322
61323 2012-04-06 Robert Millan <rmh@gnu.org>
61324
61325 [BZ #6486]
61326 * manual/llio.texi (File Position Primitive): lseek
61327 refers to WHENCE when it really means OFFSET.
61328
61329 2012-04-06 Andreas Jaeger <aj@suse.de>
61330
61331 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
61332 strncmp declarations.
61333
61334 * abilist/libc.abilist: Add __poll and __ppoll.
61335
61336 2012-04-05 David S. Miller <davem@davemloft.net>
61337
61338 * scripts/check-local-headers.sh: Accept a host triplet in the
61339 path matched by the exclude regexp.
61340
61341 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
61342 definition.
61343 * sysdeps/powerpc/powerpc32/dl-machine.h
61344 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
61345 * sysdeps/s390/s390-32/dl-machine.h
61346 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61347 * sysdeps/sparc/sparc32/dl-machine.h
61348 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61349 * sysdeps/sparc/sparc64/dl-machine.h
61350 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61351
61352 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
61353 lazy binding.
61354 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
61355 undefined symbol errors.
61356
61357 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
61358 DT_NEEDED entries.
61359
61360 2012-04-05 Michael Matz <matz@suse.de>
61361
61362 [BZ #13592]
61363 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
61364
61365 2012-04-05 Andreas Jaeger <aj@suse.de>
61366
61367 [BZ #13908]
61368 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
61369 comment.
61370
61371 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
61372
61373 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
61374 which ROUND is no valid rounding mode.
61375
61376 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
61377
61378 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
61379 read again.
61380 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
61381
61382 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
61383
61384 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
61385 an exception using FPU order intentionally.
61386
61387 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
61388
61389 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
61390 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
61391 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
61392 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
61393
61394 2012-04-05 Simon Josefsson <simon@josefsson.org>
61395
61396 [BZ #12340]
61397 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
61398 EINVAL when BUFLEN is too smal.
61399
61400 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
61401
61402 [BZ #13553]
61403 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
61404 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
61405
61406 2012-04-03 Andreas Jaeger <aj@suse.de>
61407
61408 [BZ #13938]
61409 * manual/setjmp.texi (System V contexts): Fix sentence.
61410
61411 [BZ #13926]
61412 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
61413 New macro for this case.
61414 [!__GNUC__] (__bswap_64): New inline function for this case.
61415 * sysdeps/x86_64/bits/byteswap.h: Likewise.
61416 * bits/byteswap.h: Likewise.
61417 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
61418 ull, guard with __GLIBC_HAVE_LONG_LONG.
61419
61420 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
61421 __GLIBC_HAVE_LONG_LONG.
61422
61423 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
61424 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
61425
61426 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
61427
61428 [BZ #13691]
61429 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
61430 inptr and inend, rather than using last_ch.
61431
61432 2012-04-02 David S. Miller <davem@davemloft.net>
61433
61434 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
61435 * stdio-common/printf-parse.h (read_int): Change return type to
61436 'int', return -1 on INT_MAX overflow.
61437 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
61438 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
61439 overflows INT_MAX. Check for overflow of in-format-string precision
61440 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
61441 SIZE_MAX not INT_MAX for integer overflow test.
61442 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
61443 skip the construct in the format string but do not record anything.
61444 * stdio-common/bug22.c: Adjust to test both width/prevision
61445 INT_MAX overflow as well as total length INT_MAX overflow. Check
61446 explicitly for proper errno values.
61447
61448 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
61449
61450 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
61451 CHAR_MAX.
61452 * string/test-strcmp.c [! WIDE]: Likewise.
61453 * time/tst-mktime2.c: Likewise for INT_MAX.
61454 * string/test-string.h: #include <sys/param.h> for MIN.
61455
61456 * csu/init-first.c (__libc_init_first): Call __ctype_init.
61457 * sysdeps/i386/init-first.c (init): Likewise.
61458 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
61459 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
61460 * sysdeps/sh/init-first.c (init): Likewise.
61461
61462 2012-04-01 Ulrich Drepper <drepper@gmail.com>
61463
61464 * po/ru.po: Update from translation team.
61465 * po/vi.po: Likewise.
61466
61467 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
61468
61469 * resolv/nss_dns/dns-host.c: Merge copyright years.
61470
61471 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61472
61473 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
61474 Optimize memcpy with prefetch if
61475 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
61476 src, dst pointers have unequal 16 byte alignments.
61477
61478 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
61479
61480 [BZ #13928]
61481 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
61482 from a CNAME entry and return the minimum ttl for the query.
61483 (gaih_getanswer_slice): Likewise.
61484
61485 2012-03-30 Jeff Law <law@redhat.com>
61486
61487 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
61488 due to long keys.
61489 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
61490 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
61491
61492 * resolv/nss_dns/dns-host.c: Update copyright year.
61493
61494 2012-03-30 Ulrich Drepper <drepper@gmail.com>
61495
61496 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
61497 requests to save a system call. Fix check that all bytes are sent.
61498
61499 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
61500 comments for sendmmsg.
61501
61502 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
61503
61504 [BZ #13691]
61505 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
61506 with only 1 character between 0x0041 and 0x01b0.
61507 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
61508 * wcsmbs/tst-mbsnrtowcs.c: New file.
61509
61510 2012-03-29 David S. Miller <davem@davemloft.net>
61511
61512 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
61513 small copies by hand.
61514
61515 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61516
61517 [BZ #13761]
61518 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
61519 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
61520 group memberships.
61521
61522 2012-03-28 David S. Miller <davem@davemloft.net>
61523
61524 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
61525 that branches into memcpy.
61526 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
61527 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
61528 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61529 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
61530 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
61531 bits.
61532 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
61533 implementation too.
61534 * sysdeps/sparc/mempcpy.S: New file.
61535
61536 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
61537 the IFUNC routine in the libc case.
61538 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
61539
61540 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
61541 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
61542 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
61543 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
61544 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
61545 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
61546 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
61547 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
61548
61549 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
61550 loop to 256 bytes instead of 64 bytes and fix test signedness.
61551
61552 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
61553 * sysdeps/sparc/sparc32/Makefile: rather than here...
61554 * sysdeps/sparc/sparc64/Makefile: and here.
61555
61556 2012-03-28 Ulrich Drepper <drepper@gmail.com>
61557
61558 * malloc/mallocbug.c: Avoid warnings about unused variables.
61559
61560 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
61561
61562 [BZ #13760]
61563 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
61564 in the right place. Discard and retry query if response is
61565 larger than input buffer size.
61566
61567 2012-03-28 Joseph Myers <joseph@codesourcery.com>
61568
61569 [BZ #369]
61570 [BZ #2678]
61571 [BZ #3866]
61572 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
61573 x for large integer exponent.
61574 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61575 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
61576 sign of result as needed afterwards.
61577 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61578 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
61579 result for underflowing pow the same as for overflow.
61580 (__kernel_standard_l): Handle powl overflow and underflow here
61581 rather than calling __kernel_standard.
61582 * math/libm-test.inc (pow_test): Add more tests.
61583
61584 [BZ #3868]
61585 [BZ #13879]
61586 [BZ #13910]
61587 [BZ #13911]
61588 [BZ #13912]
61589 [BZ #13913]
61590 [BZ #13915]
61591 [BZ #13916]
61592 [BZ #13917]
61593 [BZ #13918]
61594 [BZ #13919]
61595 [BZ #13920]
61596 [BZ #13921]
61597 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
61598 * sysdeps/ieee754/k_standard.c: Include <float.h>.
61599 (__kernel_standard_l): New function.
61600 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
61601 __kernel_standard.
61602 * math/w_acosl.c (__acosl): Likewise.
61603 * math/w_asinl.c (__asinl): Likewise.
61604 * math/w_atan2l.c (__atan2l): Likewise.
61605 * math/w_atanhl.c (__atanhl): Likewise.
61606 * math/w_coshl.c (__coshl): Likewise.
61607 * math/w_exp10l.c (__exp10l): Likewise.
61608 * math/w_exp2l.c (__exp2l): Likewise.
61609 * math/w_fmodl.c (__fmodl): Likewise.
61610 * math/w_hypotl.c (__hypotl): Likewise.
61611 * math/w_j0l.c (__j0l, __y0l): Likewise.
61612 * math/w_j1l.c (__j1l, __y1l): Likewise.
61613 * math/w_jnl.c (__jnl, __ynl): Likewise.
61614 * math/w_lgammal.c (__lgammal): Likewise.
61615 * math/w_log10l.c (__log10l): Likewise.
61616 * math/w_log2l.c (__log2l): Likewise.
61617 * math/w_logl.c (__logl): Likewise.
61618 * math/w_powl.c (__powl): Likewise.
61619 * math/w_remainderl.c (__remainderl): Likewise.
61620 * math/w_scalbl.c (sysv_scalbl): Likewise.
61621 * math/w_sinhl.c (__sinhl): Likewise.
61622 * math/w_sqrtl.c (__sqrtl): Likewise.
61623 * math/w_tgammal.c (__tgammal): Likewise.
61624 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
61625 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
61626 * math/libm-test.inc (acos_test): Add more tests.
61627 (acosh_test): Likewise.
61628 (asin_test): Likewise.
61629 (atanh_test): Likewise.
61630 (exp_test): Likewise.
61631 (exp10_test): Likewise.
61632 (exp2_test): Likewise.
61633 (expm1_test): Likewise.
61634 (lgamma_test): Likewise.
61635 (log_test): Likewise.
61636 (log10_test): Likewise.
61637 (log1p_test): Likewise.
61638 (log2_test): Likewise.
61639 (pow_test): Do not allow some spurious overflow exceptions.
61640 (sqrt_test): Add more tests.
61641 (tgamma_test): Likewise.
61642 (y0_test): Likewise.
61643 (y1_test): Likewise.
61644 (yn_test): Likewise.
61645
61646 2012-03-27 Anton Blanchard <anton@samba.org>
61647
61648 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
61649 MAP_HUGETLB.
61650 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61651 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61652 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61653
61654 2012-03-27 David S. Miller <davem@davemloft.net>
61655
61656 * conform/Makefile: Run run-conformtest.sh using $(BASH).
61657
61658 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
61659 have-as-vis3 check.
61660
61661 2012-03-27 Andreas Jaeger <aj@suse.de>
61662
61663 * sysdeps/x86_64/elf/configure.in: Moved to ...
61664 * sysdeps/x86_64/configure.in: ... here.
61665 * sysdeps/x86_64/elf/start.S: Moved to ...
61666 * sysdeps/x86_64/start.S: ... here.
61667 * sysdeps/x86_64/elf/configure: Delete.
61668
61669 * sysdeps/x86_64/configure.in: Merge contents from
61670 sysdeps/i386/configure.in (without i686 check).
61671
61672 * sysdeps/i386/elf/Versions: Merge into ...
61673 * sysdeps/i386/Versions: ... this.
61674 * sysdeps/i386/elf/Versions: Delete file.
61675 * sysdeps/i386/elf/start.S: Moved to ...
61676 * sysdeps/i386/start.S: ...here.
61677 * sysdeps/i386/elf/configure.in: Merge into...
61678 * sysdeps/i386/configure.in: ...here.
61679 * sysdeps/i386/elf/configure.in: Delete file.
61680 * sysdeps/i386/elf/configure: Delete file.
61681
61682 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
61683 * debug/backtracesyms.c: ... here.
61684 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
61685 * debug/backtracesymsfd.c: ... here.
61686 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
61687 * sysdeps/generic/ifunc-sel.h: ... here.
61688
61689 * sysdeps/unix/i386/start.c: Delete file.
61690 * sysdeps/unix/sparc/start.c: Delete file.
61691 * sysdeps/unix/start.c: Delete file.
61692
61693 * sysdeps/sh/elf/configure.in: Moved to ...
61694 * sysdeps/sh/configure.in: ... here.
61695 * sysdeps/sh/elf/start.S: Moved to ...
61696 * sysdeps/sh/start.S: ... here.
61697 * sysdeps/sh/elf/configure: Delete file.
61698
61699 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
61700 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
61701 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
61702 * sysdeps/powerpc/powerpc64/entry.h: ... here.
61703 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
61704 * sysdeps/powerpc/powerpc64/start.S: here.
61705 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
61706 * sysdeps/powerpc/powerpc64/Makefile: ... this.
61707 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
61708 * sysdeps/powerpc/powerpc64/configure.in: ... this.
61709 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
61710
61711 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
61712 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
61713 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
61714 * sysdeps/powerpc/powerpc32/start.S: ... here.
61715 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
61716 * sysdeps/powerpc/powerpc32/configure.in: ... this.
61717 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
61718
61719 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
61720 * sysdeps/powerpc/ifunc-sel.h: ... here.
61721 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
61722 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
61723
61724 * sysdeps/sparc/elf/configure.in: Moved to ...
61725 * sysdeps/sparc/configure.in: ... here.
61726 * sysdeps/sparc/elf/configure: Delete file.
61727 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
61728 * sysdeps/sparc/sparc32/start.S: ... here.
61729 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
61730 * sysdeps/sparc/sparc64/start.S: ... here.
61731 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
61732 * sysdeps/sparc/sparc32/Makefile: ... this.
61733 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
61734 * sysdeps/sparc/sparc64/Makefile: ... this.
61735
61736 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
61737 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
61738 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
61739 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
61740 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
61741 * sysdeps/s390/s390-32/setjmp.S: ... here.
61742 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
61743 * sysdeps/s390/s390-32/configure.in: ... here.
61744 * sysdeps/s390/s390-32/elf/configure: Delete file.
61745 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
61746 * sysdeps/s390/s390-32/start.S: ... here.
61747
61748 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
61749 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
61750 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
61751 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
61752 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
61753 * sysdeps/s390/s390-64/setjmp.S: ... here.
61754 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
61755 * sysdeps/s390/s390-64/configure.in: ... here
61756 * sysdeps/s390/s390-64/elf/configure: Delete file.
61757 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
61758 * sysdeps/s390/s390-64/start.S: ... here.
61759 * sysdeps/s390/s390-64/elf/configure: Delete.
61760
61761 * configure.in: Remove support for elf directories in sysdeps.
61762
61763 * configure: Regenerated.
61764 * sysdeps/i386/configure: Regenerated.
61765 * sysdeps/powerpc/powerpc32/configure: Regenerated.
61766 * sysdeps/powerpc/powerpc64/configure: Regenerated.
61767 * sysdeps/s390/s390-32/configure: Regenerated.
61768 * sysdeps/s390/s390-64/configure: Regenerated.
61769 * sysdeps/sh/configure: Regenerated.
61770 * sysdeps/sparc/configure: Regenerated.
61771 * sysdeps/x86_64/configure: Regenerated.
61772
61773 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
61774
61775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61776
61777 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
61778 denormal result into account.
61779
61780 2012-03-25 Roland McGrath <roland@hack.frob.com>
61781
61782 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
61783 Reported by Allan McRae <allan@archlinux.org>.
61784
61785 2012-03-23 Jeff Law <law@redhat.com>
61786
61787 * nss/getnssent.c (__nss_getent): Fix typo.
61788
61789 2012-03-23 David S. Miller <davem@davemloft.net>
61790
61791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61792
61793 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
61794
61795 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
61796 to pad to uint64_t for each field.
61797 (dl_tls_index): Replace unsigned long with uint64_t.
61798
61799 2012-03-23 Daniel Jacobowitz <dmj@google.com>
61800 Paul Pluzhnikov <ppluzhnikov@google.com>
61801
61802 [BZ #6528]
61803 * grp/Makefile (otherlibs): Don't set it.
61804 * inet/Makefile (otherlibs): Likewise.
61805 * login/Makefile (otherlibs): Likewise.
61806 * nscd/Makefile (otherlibs): Likewise.
61807 * posix/Makefile (otherlibs): Likewise.
61808 * pwd/Makefile (otherlibs): Likewise.
61809 * rt/Makefile (otherlibs): Likewise.
61810 * sunrpc/Makefile (otherlibs): Likewise.
61811 * nss/Makefile (otherlibs): Likewise.
61812 Add libnss_files to routines and static-only-routines.
61813 ($(objpfx)getent): Remove rule.
61814 * resolv/Makefile: Add libnss_dns and libresolv to routines and
61815 static-only-routines.
61816
61817 2012-03-22 Joseph Myers <joseph@codesourcery.com>
61818
61819 [BZ #13892]
61820 * math/s_cexp.c: Include <float.h>.
61821 (__cexp): Handle exp result overflowing not necessarily
61822 overflowing both real and imaginary parts of result.
61823 * math/s_cexpf.c: Likewise.
61824 * math/s_cexpl.c: Likewise.
61825 * math/libm-test.inc (cexp_test): Add more tests.
61826 * sysdeps/i386/fpu/libm-test-ulps: Update.
61827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61828
61829 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
61830
61831 * include/link.h (ELFW): New macro.
61832 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
61833 Replace ELF64_R_TYPE with ELFW(R_TYPE).
61834
61835 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
61836
61837 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
61838 with uint64_t.
61839
61840 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
61841
61842 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
61843 declaration.
61844 (struct La_x32_retval): Likewise.
61845
61846 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
61847
61848 * sysdeps/x86_64/preconfigure.in: New file.
61849 * sysdeps/x86_64/preconfigure: New generated file.
61850
61851 2012-03-22 Joseph Myers <joseph@codesourcery.com>
61852
61853 [BZ #13824]
61854 * math/e_exp2l.c: Include <float.h>.
61855 (__ieee754_exp2l): Handle overflow and underflow cases
61856 separately. Only pass fractional part of argument to
61857 __ieee754_expl.
61858 * math/libm-test.inc (exp2_test): Add more tests.
61859
61860 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
61861 negating x to take absolute value.
61862 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
61863 Likewise.
61864 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
61865 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
61866 Likewise.
61867 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
61868 computing low part if x was negated.
61869 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
61870
61871 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
61872
61873 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
61874 la_x32_gnu_pltexit.
61875 (pltexit): Cast int_retval to ptrdiff_t.
61876 * elf/tst-auditmod3b.c: Likewise.
61877 * elf/tst-auditmod4b.c: Likewise.
61878 * elf/tst-auditmod5b.c: Likewise.
61879 * elf/tst-auditmod6b.c: Likewise.
61880 * elf/tst-auditmod6c.c: Likewise.
61881 * elf/tst-auditmod7b.c: Likewise.
61882
61883 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
61884 and x32_gnu_pltexit.
61885
61886 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
61887 __ELF_NATIVE_CLASS.
61888 (La_x32_regs): New macro.
61889 (La_x32_retval): Likewise.
61890 (la_x32_gnu_pltenter): New function prototype.
61891 (la_x32_gnu_pltexit): Likewise.
61892
61893 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
61894
61895 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
61896 exponent.
61897
61898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61899
61900 * configure.in (libc_cv_cc_nofma): Check for option to disable
61901 generation of FMA instructions.
61902 * configure: Regenerate.
61903 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
61904 * sysdeps/ieee754/dbl-64/Makefile: New file.
61905 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
61906 Remove brandred-fma4.
61907 (CFLAGS-brandred-fma4.c): Remove.
61908 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
61909 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
61910 define.
61911 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
61912 define.
61913
61914 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
61915
61916 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61917 LLONG_MAX != LONG_MAX.
61918 (_itoa_word): Use _ITOA_WORD_TYPE on value.
61919 (_fitoa_word): Likewise.
61920 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
61921 LLONG_MAX != LONG_MAX.
61922 * stdio-common/_itowa.h: Include <_itoa.h>.
61923 (_itowa_word): Use _ITOA_WORD_TYPE on value.
61924 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
61925 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
61926 only if not defined.
61927 (_ITOA_WORD_TYPE): Likewise.
61928 (_itoa_word): Use _ITOA_WORD_TYPE on value.
61929 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
61930
61931 2012-03-21 David S. Miller <davem@davemloft.net>
61932
61933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61934
61935 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
61936
61937 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
61938 of x86_64 when setting libc_cv_slibdir, libdir and
61939 libc_cv_localedir.
61940 * sysdeps/unix/sysv/linux/configure: Regenerated.
61941
61942 2012-03-21 Joseph Myers <joseph@codesourcery.com>
61943
61944 * manual/lang.texi (Old Varargs): Remove section.
61945 (How Variadic): Update menu.
61946 (va_start): Do not mention varargs.h.
61947
61948 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
61949 Joseph Myers <joseph@codesourcery.com>
61950
61951 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
61952 link test.
61953 * configure: Regenerated.
61954
61955 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
61956
61957 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
61958 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
61959 conformtest.pl
61960
61961 2012-03-21 Joseph Myers <joseph@codesourcery.com>
61962
61963 * NOTES: Remove.
61964 * Makefile (files-for-dist): Remove NOTES.
61965 (NOTES): Remove rule.
61966 * README: Don't refer to NOTES.
61967 * manual/creature.texi: Don't include macros.texi.
61968 * manual/intro.texi (creature.texi): Remove comment referring to
61969 NOTES.
61970
61971 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
61972 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
61973 * configure: Regenerated.
61974 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
61975 LIBC_TRY_CC_OPTION.
61976 (libc_cv_as_i686): Likewise.
61977 (libc_cv_cc_avx): Likewise.
61978 (libc_cv_cc_sse2avx): Likewise.
61979 (libc_cv_cc_fma4): Likewise.
61980 (libc_cv_cc_novzeroupper): Likewise.
61981 * sysdeps/i386/configure: Regenerated.
61982
61983 [BZ #13883]
61984 * sysdeps/i386/fpu/s_cexp.S: Remove.
61985 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
61986 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
61987 * math/libm-test.inc (cexp_test): Add more tests.
61988 * sysdeps/i386/fpu/libm-test-ulps: Update.
61989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61990
61991 2012-03-21 Allan McRae <allan@archlinux.org>
61992
61993 * timezone/Makefile: Do not install iso3166.tab and zone.tab
61994
61995 2012-03-21 Joseph Myers <joseph@codesourcery.com>
61996
61997 [BZ #13871]
61998 * math/w_exp2.c: Do not include <float.h>.
61999 (o_threshold, u_threshold): Remove.
62000 (__exp2): Calculate result before checking finiteness and calling
62001 __kernel_standard.
62002 * math/w_exp2f.c: Likewise.
62003 * math/w_exp2l.c: Likewise.
62004 * math/libm-test.inc (exp2_test): Require overflow exception for
62005 1e6 input.
62006
62007 [BZ #3866]
62008 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
62009 range of signed 64-bit integers before using fistpll. Remove
62010 checks for whether integers fit in mantissa bits.
62011 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
62012 the range of signed 32-bit integers before using fistpl. Remove
62013 checks for whether integers fit in mantissa bits.
62014 * sysdeps/i386/fpu/e_powl.S (p64): New object.
62015 (__ieee754_powl): Test for y outside the range of signed 64-bit
62016 integers before using fistpll. Reduce 64-bit values to 63-bit
62017 ones as needed.
62018 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
62019 divide-by-zero is raised for zero to large negative powers.
62020 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
62021 (__ieee754_powl): Test for y outside the range of signed 64-bit
62022 integers before using fistpll. Reduce 64-bit values to 63-bit
62023 ones as needed.
62024 * math/libm-test.inc (pow_test): Add more tests.
62025
62026 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
62027
62028 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
62029 <stdio-common/_itoa.h>.
62030 * debug/segfault.c: Likewise.
62031 * elf/dl-cache.c: Likewise.
62032 * elf/dl-minimal.c: Likewise.
62033 * elf/dl-misc.c: Likewise.
62034 * elf/dl-sysdep.c: Likewise.
62035 * elf/dl-version.c: Likewise.
62036 * elf/rtld.c: Likewise.
62037 * hurd/hurdsock.c: Likewise.
62038 * hurd/lookup-retry.c: Likewise.
62039 * malloc/malloc.c: Likewise.
62040 * malloc/mtrace.c: Likewise.
62041 * nscd/nscd_getgr_r.c: Likewise.
62042 * nscd/nscd_getpw_r.c: Likewise.
62043 * nscd/nscd_getserv_r.c: Likewise.
62044 * posix/getopt_init.c: Likewise.
62045 * posix/wordexp.c: Likewise.
62046 * stdio-common/_itoa.c: Likewise.
62047 * stdio-common/printf_fphex.c: Likewise.
62048 * stdio-common/vfprintf.c: Likewise.
62049 * string/_strerror.c: Likewise.
62050 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
62051 * sysdeps/i386/i686/hp-timing.h: Likewise.
62052 * sysdeps/mach/_strerror.c: Likewise.
62053 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
62054 * sysdeps/mach/hurd/sethostid.c: Likewise.
62055 * sysdeps/mach/hurd/xmknodat.c: Likewise.
62056 * sysdeps/mach/xpg-strerror.c: Likewise.
62057 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62058 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62059 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
62060 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
62061 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62062 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
62063 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
62064 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
62065 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
62066 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
62067 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
62068 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62069 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
62070 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62071 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62072 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
62073 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
62074 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
62075 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
62076 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
62077 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
62078
62079 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
62080
62081 * stdio-common/_itoa.h: Moved to ...
62082 * sysdeps/generic/_itoa.h: Here.
62083
62084 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
62085
62086 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
62087 instead of "_itoa.h" and "_itowa.h".
62088 * stdio-common/vfprintf.: Likewise.
62089
62090 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
62091
62092 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
62093 <bits/wordsize.h>.
62094 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
62095 (__signbit): Likwise.
62096 (llrintf): Likwise.
62097 (llrint): Likwise.
62098
62099 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
62100
62101 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
62102 __WORDSIZE != 64.
62103
62104 2012-03-20 Joseph Myers <joseph@codesourcery.com>
62105
62106 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
62107 OVERFLOW_EXCEPTION_OK.
62108 * math/libm-test.inc ("Philosophy"): Update comment about
62109 exception testing.
62110 (OVERFLOW_EXCEPTION): Define.
62111 (OVERFLOW_EXCEPTION_OK): Likewise.
62112 (INVALID_EXCEPTION_OK): Renumber.
62113 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62114 (IGNORE_ZERO_INF_SIGN): Likewise.
62115 (test_exceptions): Handle FE_OVERFLOW.
62116 (exp10_test): Expect overflow exceptions.
62117 (exp2_test): Likewise.
62118 (expm1_test): Likewise.
62119 (nextafter_test): Likewise.
62120 (pow_test): Likewise.
62121 (scalbn_test): Likewise.
62122 (scalbln_test): Likewise.
62123
62124 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
62125
62126 * sysdeps/x86_64/bits/atomic.h
62127 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
62128 64bit integer.
62129 (atomic_exchange_acq): Likewise.
62130 (__arch_exchange_and_add_body): Likewise.
62131 (__arch_add_body): Likewise.
62132 (atomic_add_negative): Likewise.
62133 (atomic_add_zero): Likewise.
62134
62135 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
62136
62137 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
62138 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
62139
62140 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
62141
62142 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
62143 Check __x86_64__ instead of __WORDSIZE.
62144
62145 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
62146
62147 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
62148
62149 2012-03-19 David S. Miller <davem@davemloft.net>
62150
62151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62152
62153 * sysdeps/sparc/fpu/fenv_private.h: New file.
62154 * sysdeps/sparc/fpu/math_private.h: Use it.
62155 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
62156 Remove.
62157 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
62158 (libc_feholdexcept_setroundl): Remove.
62159 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
62160 Remove.
62161 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
62162 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
62163
62164 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
62165
62166 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
62167 int64_t instead of long int.
62168 (INSERT_WORDS64): Likwise.
62169
62170 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
62171
62172 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
62173 _Unwind_GetCFA return to _Unwind_Ptr first.
62174
62175 2012-03-19 Joseph Myers <joseph@codesourcery.com>
62176
62177 [BZ #13629]
62178 * math/s_clog.c: Include <float.h>.
62179 (__clog): Scale large or subnormal inputs.
62180 * math/s_clogf.c: Likewise.
62181 * math/s_clogl.c: Likewise.
62182 * math/s_clog10.c: Include <float.h>.
62183 (M_LOG10_2): Define.
62184 (__clog10): Scale large or subnormal inputs.
62185 * math/s_clog10f.c: Likewise.
62186 * math/s_clog10l.c: Likewise.
62187 * math/libm-test.inc (clog_test): Add more tests.
62188 (clog10_test): Likewise.
62189 * sysdeps/i386/fpu/libm-test-ulps: Update.
62190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62191
62192 [BZ #11451]
62193 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
62194 x and y.
62195 * math/libm-test.inc (atan2_test): Add another test.
62196
62197 * Makerules (common-objdir-compile): Remove.
62198 * sysdeps/unix/Makefile (config-generated): Do not add
62199 $(unix-generated) to variable.
62200 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
62201 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
62202 Remove rule.
62203 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
62204 Likewise.
62205 [generic bits/local_lim.h] (before-compile): Do not append to
62206 variable.
62207 [generic bits/local_lim.h] (common-generated): Likewise.
62208 [generic sys/param.h] (before-compile): Do not append to variable.
62209 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
62210 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
62211 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
62212 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
62213 include.
62214 [generic sys/param.h] (sys/param.h-includes): Remove variable.
62215 [generic sys/param.h] (sys/param.h-includes): Remove rule.
62216 [generic sys/param.h] ($(addprefix
62217 $(common-objpfx),$(sys/param.h-includes))): Likewise.
62218 [generic sys/param.h] (common-generated): Do not append to
62219 variable.
62220 [generic sys/param.h] (sysdep_headers): Likewise.
62221 [generic bits/errno.h] (before-compile): Do not append to
62222 variable.
62223 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
62224 rule.
62225 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
62226 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
62227 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
62228 [generic bits/errno.h] (common-generated): Do not append to
62229 variable.
62230 [generic bits/ioctls.h] (before-compile): Do not append to
62231 variable.
62232 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
62233 rule.
62234 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
62235 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
62236 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
62237 rule.
62238 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
62239 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
62240 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
62241 [generic bits/ioctls.h] (common-generated): Do not append to
62242 variable.
62243 [generic sys/syscall.h] (syscall.h): Remove variable.
62244 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
62245 rule.
62246 [generic sys/syscall.h] (before-compile): Do not append to
62247 variable.
62248 [generic sys/syscall.h] (common-generated): Likewise.
62249 * sysdeps/unix/errnos-tmpl.c: Remove file.
62250 * sysdeps/unix/errnos.awk: Likewise.
62251 * sysdeps/unix/ioctls-tmpl.c: Likewise.
62252 * sysdeps/unix/ioctls.awk: Likewise.
62253 * sysdeps/unix/mk-local_lim.c: Likewise.
62254 * sysdeps/unix/snarf-ioctls: Likewise.
62255
62256 2012-03-19 Richard Henderson <rth@twiddle.net>
62257
62258 * sysdeps/i386/fpu/fenv_private.h: New file.
62259 * sysdeps/i386/fpu/math_private.h: Use it.
62260 (math_opt_barrier, math_force_eval): Remove.
62261 (libc_feholdexcept_setround_53bit): Remove.
62262 (libc_feupdateenv_53bit): Remove.
62263 * sysdeps/x86_64/fpu/math_private.h: Likewise.
62264 (math_opt_barrier, math_force_eval): Remove.
62265 (libc_feholdexcept): Remove.
62266 (libc_feholdexcept_setround): Remove.
62267 (libc_fetestexcept, libc_fesetenv): Remove.
62268 (libc_feupdateenv_test): Remove.
62269 (libc_feupdateenv, libc_feholdsetround): Remove.
62270 (libc_feresetround): Remove.
62271
62272 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
62273 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
62274
62275 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
62276 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
62277 (libc_feupdateenv_testl): New.
62278 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
62279 (libc_feupdateenv_testf): New.
62280 (libc_feupdateenv): Use libc_feupdateenv_test.
62281 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
62282 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
62283
62284 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
62285 (libc_feholdsetroundf, libc_feholdsetroundl): New.
62286 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
62287 (libc_feresetround_noex): New.
62288 (libc_feresetround_noexf): New.
62289 (libc_feresetround_noexl): New.
62290 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
62291 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
62292 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
62293 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
62294 SET_RESTORE_ROUND.
62295 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
62296 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
62297 (__cos): Likewise.
62298 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
62299 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
62300 SET_RESTORE_ROUND_NOEX.
62301 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
62302 SET_RESTORE_ROUND_NOEXF.
62303 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
62304 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
62305 (libc_feholdsetroundf): New.
62306 (libc_feresetround, libc_feresetroundf): New.
62307
62308 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
62309 (libc_feholdexcept_setround_53bit): Convert from macro to function.
62310 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
62311
62312 * sysdeps/generic/math_private.h: Include <fenv.h>.
62313 (default_libc_feholdexcept): New.
62314 (default_libc_feholdexcept_setround): New.
62315 (default_libc_fesetenv, default_libc_feupdateenv): New.
62316 (libc_feholdexcept): Only define if undefined.
62317 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
62318 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
62319 (libc_feholdexcept_setroundl): Likewise.
62320 (libc_feholdexcept_setround_53bit): Likewise.
62321 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
62322 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
62323 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
62324 (libc_feupdateenv_53bit): Likewise.
62325 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
62326 (libc_feholdexcept): Convert from macro to inline function.
62327 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
62328 (libc_fesetenv, libc_feupdateenv): Likewise.
62329
62330 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
62331 not previously defined.
62332 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
62333 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
62334 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
62335 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
62336 * sysdeps/ieee754/flt-32/math_private.h: New file.
62337 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
62338 math_private.h below SET_FLOAT_WORD.
62339 (__isnan, __isinf_ns, __finite): Remove.
62340 (__isnanf, __isinf_nsf, __finitef): Remove.
62341
62342 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
62343
62344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62345
62346 2012-03-17 David S. Miller <davem@davemloft.net>
62347
62348 [BZ #6471]
62349 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
62350 for 2.16.
62351
62352 2012-03-16 David S. Miller <davem@davemloft.net>
62353
62354 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
62355 warnings.
62356
62357 [BZ #6471]
62358 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
62359 properly.
62360 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
62361 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
62362 sysdep_routines when subdir is sysvipc.
62363 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
62364 __getshmlba helper.
62365
62366 * sysdeps/sparc/fpu/libm-test/ulps: Update.
62367
62368 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
62369
62370 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
62371 [__LP64__].
62372
62373 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
62374
62375 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
62376 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
62377 (__lround): Renamed to ...
62378 (__llround): This. Replace long int with long long int.
62379 Define lround functions as aliases of llround functions.
62380 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
62381
62382 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
62383
62384 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
62385 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
62386 adresses to uintptr_t. Replace "long int" and "unsigned long
62387 int" with "greg_t" on va_arg.
62388
62389 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
62390
62391 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
62392 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
62393
62394 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
62395 Move e_machine check before EI_CLASS check. Handle x32
62396 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
62397 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
62398 SKIP_EM_IA_64 and include
62399 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
62400
62401 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
62402 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
62403 (add_system_dir): New macro.
62404
62405 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
62406 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
62407
62408 2012-03-16 Joseph Myers <joseph@codesourcery.com>
62409
62410 [BZ #2551]
62411 [BZ #2552]
62412 [BZ #2553]
62413 [BZ #2554]
62414 [BZ #2562]
62415 [BZ #2563]
62416 [BZ #2565]
62417 [BZ #2566]
62418 [BZ #2576]
62419 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
62420 (y0): Likewise.
62421 * math/w_j0f.c (j0f): Likewise.
62422 (y0f): Likewise.
62423 * math/w_j0l.c (__j0l): Likewise.
62424 (__y0l): Likewise.
62425 * math/w_j1.c (j1): Likewise.
62426 (y1): Likewise.
62427 * math/w_j1f.c (j1f): Likewise.
62428 (y1f): Likewise.
62429 * math/w_j1l.c (__j1l): Likewise.
62430 (__y1l): Likewise.
62431 * math/w_jn.c (jn): Likewise.
62432 (yn): Likewise.
62433 * math/w_jnf.c (jnf): Likewise.
62434 (ynf): Likewise.
62435 * math/w_jnl.c (__jnl): Likewise.
62436 (__ynl): Likewise.
62437 * math/libm-test.inc (j0_test): Add more tests.
62438 (j1_test): Likewise.
62439 (jn_test): Likewise. Add trailing semicolon to existing test.
62440 (y0_test): Likewise.
62441 (y1_test): Likewise.
62442 * sysdeps/i386/fpu/libm-test-ulps: Update.
62443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62444
62445 [BZ #13851]
62446 [BZ #13854]
62447 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
62448 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
62449 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
62450 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
62451 (__tanl): Set errno for infinite argument.
62452 * sysdeps/i386/fpu/mptan.c: Remove.
62453 * sysdeps/i386/fpu/s_tan.S: Likewise.
62454 * sysdeps/i386/fpu/s_tanl.S: Likewise.
62455 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
62456 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
62457 * math/libm-test.inc (tan_test): Add more tests and enable more
62458 tests for double and long double.
62459 * sysdeps/i386/fpu/libm-test-ulps: Update.
62460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62461
62462 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
62463
62464 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
62465 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
62466
62467 2012-03-16 Roland McGrath <roland@hack.frob.com>
62468
62469 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
62470 * configure.in: Use it for both main tree and add-ons.
62471 * configure: Regenerated.
62472
62473 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
62474
62475 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
62476
62477 2012-03-16 Joseph Myers <joseph@codesourcery.com>
62478
62479 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
62480 in comment.
62481
62482 [BZ #13851]
62483 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
62484 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
62485 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
62486 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
62487 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
62488 infinite argument.
62489 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
62490 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
62491 != 0 for prec == 2.
62492 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
62493 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
62494 * sysdeps/i386/fpu/s_cosl.S: Likewise.
62495 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
62496 * sysdeps/i386/fpu/s_sinl.S: Likewise.
62497 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
62498 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
62499 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
62500 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
62501 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
62502 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
62503 * math/libm-test.inc (cos_test): Add more tests and enable more
62504 tests for long double.
62505 (sin_test): Likewise.
62506 (sincos_test): Likewise.
62507 * sysdeps/i386/fpu/libm-test-ulps: Update.
62508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62509
62510 2012-03-16 David S. Miller <davem@davemloft.net>
62511
62512 * sysdeps/sparc/fpu/math_private.h: New file.
62513
62514 2012-03-15 David S. Miller <davem@davemloft.net>
62515
62516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
62517 file.
62518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
62519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
62520 file.
62521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
62522 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
62523 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
62524 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
62525 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
62526 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
62527 sysdep routines.
62528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62529
62530 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
62531 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
62532
62533 * sysdeps/sparc/sparc-ifunc.h: New file.
62534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
62535 sparc-ifunc.h
62536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
62537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
62538 Likewise.
62539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
62540 Likewise.
62541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
62542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
62543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
62545 Likewise.
62546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
62547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
62548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
62549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
62550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
62551 Likewise.
62552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
62553 Likewise.
62554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
62555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
62556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
62557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
62558 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
62559 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
62560 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
62561 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
62562 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
62563 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
62564 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
62565 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
62566 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
62567 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
62568 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
62569 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
62570 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
62571 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
62572 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
62573 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
62574 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
62575 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
62576 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
62577 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
62578
62579 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
62580
62581 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
62582 scaling.
62583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62584
62585 2012-03-15 Andreas Jaeger <aj@suse.de>
62586
62587 [BZ #13852]
62588 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
62589 ieee754/flt-32 implementation for sin, cos and sincos.
62590 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
62591 * sysdeps/i386/fpu/s_cosf.S: Likewise.
62592 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
62593 * sysdeps/i386/fpu/s_sinf.S: Likewise.
62594 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
62595 ieee754/flt-32 implementation for tan.
62596
62597 * math/libm-test.inc (cos_test): Enable some large input tests for
62598 float as well
62599 (sin_test): Likewise.
62600 (sincos_test): Likewise.
62601 (tan_test): Add tests for large input.
62602
62603 * sysdeps/i386/fpu/libm-test-ulps: Update.
62604
62605 2012-03-15 Andreas Jaeger <aj@suse.de>
62606
62607 [BZ #13658]
62608 * math/libm-test.inc (cos_test): Add more test cases.
62609 (sin_test): Likewise.
62610 (sincos_test): Likewise.
62611
62612 2012-03-15 Andreas Jaeger <aj@suse.de>
62613
62614 [BZ #13837]
62615 * math/libm-test.inc (cos_test): Add a test case for large input
62616 value.
62617 (sin_test): Likewise.
62618 (sincos_test): Likewise.
62619
62620 2012-03-15 Andreas Jaeger <aj@suse.de>
62621 Joseph Myers <joseph@codesourcery.com>
62622
62623 [BZ #13658]
62624 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
62625 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
62626 * sysdeps/i386/fpu/branred.c: Likewise.
62627 * sysdeps/i386/fpu/dosincos.c: Likewise.
62628 * sysdeps/i386/fpu/mpa.c: Likewise.
62629 * sysdeps/i386/fpu/s_cos.S: Likewise.
62630 * sysdeps/i386/fpu/s_sin.S: Likewise.
62631 * sysdeps/i386/fpu/s_sincos.S: Likewise.
62632 * sysdeps/i386/fpu/sincos32.c: Likewise.
62633
62634 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
62635 Define.
62636 (libc_feupdateenv_53bit): Define.
62637 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
62638 Define.
62639 (libc_feupdateenv_53bit): Define.
62640
62641 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
62642 53 bit (without extend i386 double precision).
62643
62644 * math/libm-test.inc (sincos_test): Add tests for large input.
62645 (sin): Likewise.
62646 (cos): Likewise.
62647
62648 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
62649
62650 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
62651
62652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62653
62654 2012-03-15 David S. Miller <davem@davemloft.net>
62655
62656 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
62657 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
62658 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
62659 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
62660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
62661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
62662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
62663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
62664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
62665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
62666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
62667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
62668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
62669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
62670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
62671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
62672 file.
62673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
62674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
62675 file.
62676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
62677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
62678 file.
62679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
62680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
62681 file.
62682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
62683 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
62684 fmin/fmax sysdep routines.
62685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62686
62687 2012-03-14 David S. Miller <davem@davemloft.net>
62688
62689 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
62690 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
62691 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
62692 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
62693 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
62694 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
62695 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
62696 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
62697 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
62698 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
62699 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
62700 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
62701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
62702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
62703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
62704 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
62705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
62706 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
62707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
62708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
62709 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
62710 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
62711 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
62712 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
62713 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
62714 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
62715 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
62716 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
62717 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
62718 routines.
62719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
62720 file.
62721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
62722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
62723 file.
62724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
62725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
62726 file.
62727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
62728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
62729 file.
62730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
62731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
62732 file.
62733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
62734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
62735 file.
62736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
62737 file.
62738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
62739 file.
62740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
62741 file.
62742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
62743 New file.
62744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
62745 file.
62746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
62747 file.
62748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
62749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
62750 file.
62751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
62752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
62753 file.
62754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
62755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
62756 file.
62757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
62758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
62759 VIS3 routines.
62760
62761 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
62762 New file.
62763
62764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62765
62766 * sysdeps/sparc/configure.in: New file.
62767 * sysdeps/sparc/configure: Generate.
62768 * configure.in (libc_cv_sparc_as_vis3): Substitute.
62769 * configure: Regenerate.
62770 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
62771 * config.make.in (have-as-vis3): New.
62772 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
62773 available use -Av9d instead of -Av9a.
62774 * sysdeps/sparc/sparc64/Makefile: Likewise.
62775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
62776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
62777 New file.
62778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
62779 file.
62780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
62781 New file.
62782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
62783 file.
62784 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
62785 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
62786 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
62787 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
62788 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
62789
62790 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
62791 fzeros/fnegs to load 0x80000000 into a float register instead of
62792 using the stack.
62793 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
62794
62795 2012-03-14 Joseph Myers <joseph@codesourcery.com>
62796
62797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62798 bits/syscall.h.
62799 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
62800 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
62801 ($(inst_includedir)/bits/syscall.h): Remove rule.
62802 ($(objpfx)bits/syscall.d): Include instead of
62803 $(objpfx)syscall-list.d.
62804 (generated): Change syscall-list.h and syscall-list.d to
62805 bits/syscall.h and bits/syscall.d.
62806
62807 2012-03-14 Roland McGrath <roland@hack.frob.com>
62808
62809 [BZ #13846]
62810 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
62811
62812 2012-03-14 Joseph Myers <joseph@codesourcery.com>
62813
62814 [BZ #13841]
62815 * math/s_csqrt.c: Include <float.h>.
62816 (__csqrt): Scale large or subnormal inputs.
62817 * math/s_csqrtf.c: Likewise.
62818 * math/s_csqrtl.c: Likewise.
62819 * math/libm-test.inc (csqrt_test): Add more tests.
62820 * sysdeps/i386/fpu/libm-test-ulps: Update.
62821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62822
62823 [BZ #13840]
62824 * math/libm-test.inc (hypot_test): Add more tests.
62825
62826 2012-03-13 David S. Miller <davem@davemloft.net>
62827
62828 [BZ #13840]
62829 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
62830 double-precision for the calculation instead of scaling.
62831
62832 2012-03-13 Joseph Myers <joseph@codesourcery.com>
62833
62834 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
62835 manipulate bits before adding and subtracting TWO52[sx].
62836 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
62837 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
62838 Likewise.
62839 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
62840
62841 2012-03-13 David S. Miller <davem@davemloft.net>
62842
62843 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
62844 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
62845 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
62846 rtld-global-offsets.h
62847 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62848
62849 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
62850 large parameters.
62851
62852 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
62853
62854 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
62855 'err' in the ifdef scope in which it is actually used.
62856
62857 * nss/nss_db/db-init.c: Include string.h
62858
62859 2012-03-12 David S. Miller <davem@davemloft.net>
62860
62861 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62862 masking out of the most significant byte of random value used.
62863 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62864 Fix coding style in previous change.
62865
62866 * sysdeps/unix/sysv/linux/kernel-features.h
62867 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
62868 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
62869 expression.
62870 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
62871 later.
62872
62873 2012-03-11 David S. Miller <davem@davemloft.net>
62874
62875 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
62876 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
62877 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
62878 for 'resultvar' otherwise things get truncated on 64-bit.
62879
62880 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62881 Fix masking out of the most significant byte of random value used.
62882
62883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62884
62885 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
62886
62887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62888
62889 2012-03-09 David S. Miller <davem@davemloft.net>
62890
62891 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
62892 variables with appropriate CPP guards.
62893 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
62894 from the frame pointer, not the stack pointer. Correct layout
62895 comments. Fix test on resulting framesize and the management of
62896 the outregs buffer for pltexit. Preserve floating point return
62897 values across _dl_call_pltexit call.
62898 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
62899 framesize and the management of the outregs buffer for pltexit.
62900 Preserve floating point return values across _dl_call_pltexit
62901 call.
62902 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
62903 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
62904 (la_sparc64_gnu_pltexit): New functions.
62905 (print_exit): Fix format string for return register value.
62906
62907 2012-03-10 Joseph Myers <joseph@codesourcery.com>
62908
62909 * sunrpc/Makefile (others): Add rpcgen.
62910 ($(objpfx)rpcgen): Remove special build rule and dependency on
62911 libc.
62912 * sunrpc/rpcgen.c: New file.
62913
62914 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
62915
62916 [BZ #13673]
62917 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
62918 * stdio-common/bug-vfprintf-nargs.c: Likewise.
62919 * sysdeps/i386/crti.S: Likewise.
62920 * sysdeps/i386/crtn.S: Likewise.
62921 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
62922 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
62923 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
62924 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
62925 * sysdeps/sh/crti.S: Likewise.
62926 * sysdeps/sh/crtn.S: Likewise.
62927 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62928
62929 [BZ #13673]
62930 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
62931 with URL.
62932 * locale/programs/locfile-kw.gperf: Likewise.
62933 * locale/programs/charmap-kw.h: Regenerated.
62934 * locale/programs/locfile-kw.h: Likewise.
62935
62936 [BZ #13673]
62937 * intl/plural.y: Replace FSF snail mail address with URL.
62938 * intl/plural.c: Regenerated.
62939
62940 2012-03-09 Richard Henderson <rth@twiddle.net>
62941
62942 * include/math_private.h: Remove file.
62943 * math/math_private.h: Move file ...
62944 * sysdeps/generic/math_private.h: ... here.
62945
62946 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
62947 * sysdeps/powerpc/fpu/math_private.h: Likewise.
62948 * sysdeps/x86_64/fpu/math_private.h: Likewise.
62949
62950 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
62951 and <math_private.h>.
62952 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
62953 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
62954 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
62955 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
62956 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
62957 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
62958 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62959 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62960 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
62961 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62962 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62963 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62964 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
62965 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62966 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
62967 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
62968 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62969 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62970 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
62971 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
62972 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62973 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
62974 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62975 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62976 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
62977 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62978 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
62979 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62980 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62981 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62982 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
62983 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62984 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
62985 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62986 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62987 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62988 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62989 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62990 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62991 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62992 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
62993 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62994 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
62995 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
62996 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
62997 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62998 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
62999 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
63000 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63001 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63002 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
63003 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
63004 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
63005 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63006 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
63007 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63008 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63009 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
63010 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
63011 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
63012 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63013 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
63014 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63015 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63016 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
63017 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63018 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63019 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63020 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
63021 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
63022 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
63023 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63024 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
63025 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63026 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
63027 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
63028 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
63029 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63030 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
63031 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
63032 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
63033 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
63034 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
63035 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63036 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63037 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
63038 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
63039 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
63040 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
63041 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63042 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63043 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
63044 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63045 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
63046 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
63047 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
63048 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63049 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
63050 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63051 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
63052 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
63053 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
63054 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
63055 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
63056 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63057 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
63058 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
63059 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
63060 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63061 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63062 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63063 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63064 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
63065 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63066 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
63067 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63068 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63069 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63070 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63071 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
63072 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63073 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63074 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63075 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
63076 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63077 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63078 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
63079 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
63080 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63081 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
63082 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
63083 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
63084 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63085 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
63086 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
63087 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63088 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63089 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63090 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
63091 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
63092 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63093 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63094 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63095 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
63096 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
63097 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63098 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63099 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63100 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
63101 * sysdeps/ieee754/k_standard.c: Likewise.
63102 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
63103 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
63104 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63105 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
63106 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
63107 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
63108 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
63109 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
63110 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
63111 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
63112 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
63113 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
63114 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
63115 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
63116 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
63117 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
63118 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
63119 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
63120 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
63121 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
63122 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
63123 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
63124 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63125 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63126 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
63127 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
63128 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63129 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63130 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63131 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63132 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
63133 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63134 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63135 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63136 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
63137 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63138 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63139 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
63140 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
63141 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63142 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
63143 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
63144 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
63145 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63146 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
63147 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
63148 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63149 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63150 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63151 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63152 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63153 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
63154 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63155 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
63156 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63157 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63158 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
63159 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
63160 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63161 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63162 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63163 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
63164 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63165 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
63166 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63167 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63168 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
63169 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
63170 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
63171 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
63172 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
63173 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63174 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
63175 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
63176 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
63177 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
63178 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
63179 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
63180 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63181 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
63182 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
63183 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
63184 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63185 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63186 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
63187 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63188 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63189 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
63190 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63191 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63192 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
63193 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63194 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
63195 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
63196 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63197 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63198 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
63199 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
63200 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
63201 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
63202 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63203 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63204 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63205 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63206 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
63207 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63208 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63209 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
63210 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
63211 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63212 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63213 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63214 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
63215 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63216 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
63217 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63218 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
63219 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63220 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63221 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
63222 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
63223 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
63224 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
63225 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
63226 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63227 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
63228 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63229 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63230 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63231 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63232 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63233 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63234 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63235 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
63236 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63237 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63238 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
63239 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
63240 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63241 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
63242 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
63243 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63244 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
63245 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
63246 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63247 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63248 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
63249 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
63250 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
63251 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
63252 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
63253 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
63254 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
63255 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
63256 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
63257 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
63258 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
63259 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
63260 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
63261 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
63262 * sysdeps/ieee754/s_lib_version.c: Likewise.
63263 * sysdeps/ieee754/s_matherr.c: Likewise.
63264 * sysdeps/ieee754/s_signgam.c: Likewise.
63265 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63266 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63267 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
63268 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
63269 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
63270 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63271 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
63272 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
63273 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
63274 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
63275 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
63276 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
63277 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63278 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63279 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
63280 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
63281 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
63282 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
63283 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
63284 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63285 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63286
63287 2012-03-09 Joseph Myers <joseph@codesourcery.com>
63288
63289 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
63290 * sunrpc/rpc_main.c: Likewise.
63291 * sunrpc/rpc_svcout.c: Likewise.
63292
63293 2012-03-09 David S. Miller <davem@davemloft.net>
63294
63295 * include/math_private.h: New file.
63296
63297 2012-03-09 Joseph Myers <joseph@codesourcery.com>
63298
63299 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
63300 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
63301 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
63302 from <bits/socket_type.h>.
63303 (enum __socket_type): Don't define here.
63304 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
63305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63306 bits/socket_type.h.
63307
63308 [BZ #13566]
63309 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
63310 checking __USE_GNU.
63311
63312 * Makerules ($(inst_includedir)/%.h): New rule.
63313 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
63314 (install-others): Remove variable setting.
63315 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
63316
63317 2012-03-08 Richard Henderson <rth@twiddle.net>
63318
63319 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
63320 from macro to inline function; merge with the
63321 !__LIBC_INTERNAL_MATH_INLINES version.
63322 (__ieee754_sqrtf): Likewise.
63323
63324 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
63325 to inline function.
63326 (__rintf, __floor, __floorf): Likewise.
63327
63328 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
63329 macro to inline function.
63330 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
63331
63332 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
63333 not <math/math_private.h>.
63334
63335 2012-03-08 David S. Miller <davem@davemloft.net>
63336
63337 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
63338 copyright year.
63339 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
63340
63341 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
63342
63343 * resolv/gai_misc.c (handle_requests): Fix struct timespec
63344 normalization.
63345 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
63346 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
63347
63348 2012-03-08 Ulrich Drepper <drepper@gmail.com>
63349
63350 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
63351 be defined individually, they must be defined as a block. Define
63352 S for printing a string instead of hidint the different by using a
63353 macro for adding the 'l'.
63354 * stdio-common/tst-fphex-wide.c: Adjust.
63355
63356 2012-03-07 Marek Polacek <polacek@redhat.com>
63357
63358 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
63359
63360 2012-03-08 Marek Polacek <polacek@redhat.com>
63361
63362 [BZ #13806]
63363 * stdio-common/Makefile (tests): Add tst-fphex-wide.
63364 * stdio-common/tst-fphex.c: Define a few macros to make the
63365 test reusable. Use them.
63366 * stdio-common/tst-fphex-wide.c: New file.
63367
63368 2012-03-08 Joseph Myers <joseph@codesourcery.com>
63369
63370 [BZ #6911]
63371 * manual/macros.texi (gnusystems): New macro.
63372 (nongnusystems): Likewise.
63373 (gnulinuxhurdsystems): Likewise.
63374 (gnuhurdsystems): Likewise..
63375 (gnulinuxsystems): Likewise.
63376 * manual/charset.texi: Use new macros or @theglibc{} to refer to
63377 variants of the GNU system, not "GNU system".
63378 * manual/conf.texi: Likewise.
63379 * manual/errno.texi: Likewise. Update example of errno macro
63380 expansion.
63381 * manual/filesys.texi: Likewise.
63382 (getumask): Document as specific to GNU/Hurd.
63383 * manual/install.texi: Likewise. Reword some references to
63384 GNU/Linux.
63385 * manual/intro.texi: Likewise.
63386 * manual/io.texi: Likewise.
63387 (File Name Portability): Detail which constraints are inapplicable
63388 to all GNU systems and which are only inapplicable to GNU/Hurd.
63389 * manual/job.texi: Likewise.
63390 * manual/llio.texi: Likewise.
63391 (O_NOCTTY): Document as present on GNU/Linux.
63392 * manual/maint.texi: Likewise.
63393 * manual/memory.texi: Likewise.
63394 * manual/pattern.texi: Likewise.
63395 * manual/pipe.texi: Likewise.
63396 * manual/process.texi: Likewise.
63397 * manual/resource.texi: Likewise.
63398 (RUSAGE_CHILDREN): Remove statement about specifying a particular
63399 child on GNU/Hurd.
63400 * manual/setjmp.texi: Likewise.
63401 * manual/signal.texi: Likewise.
63402 * manual/startup.texi: Likewise.
63403 * manual/stdio.texi: Likewise.
63404 * manual/terminal.texi: Likewise.
63405 (ONLCR): Document as POSIX.
63406 (OXTABS): Document availability on GNU/Linux as XTABS.
63407 (ONOEOT): Document availability separately from other bits.
63408 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
63409 * manual/time.texi: Likewise.
63410 * manual/users.texi: Likewise.
63411 * INSTALL: Regenerated.
63412 * sysdeps/gnu/errlist.c: Regenerated.
63413
63414 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
63415 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
63416 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
63417 puts.
63418 * configure: Regenerated.
63419
63420 2012-03-07 Joseph Myers <joseph@codesourcery.com>
63421
63422 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
63423 default includes instead of AC_HEADER_CHECK.
63424 * sysdeps/i386/configure: Regenerated.
63425
63426 [BZ #10716]
63427 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
63428 * math/s_cacoshf.c (__cacoshf): Likewise.
63429 * math/s_cacoshl.c (__cacoshl): Likewise.
63430 * math/s_casinh.c (__casinh): Set signs of result from argument.
63431 * math/s_casinhf.c (__casinhf): Likewise.
63432 * math/s_casinhl.c (__casinhl): Likewise.
63433 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
63434 (casinh_test): Add more tests.
63435 * sysdeps/i386/fpu/libm-test-ulps: Update.
63436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63437
63438 2012-03-07 Ulrich Drepper <drepper@gmail.com>
63439
63440 * po/zh_TW.po: Update from translation team.
63441
63442 * login/Makefile (distribute): Remove variable.
63443 * catgets/Makefile: Likewise.
63444 * mach/Makefile: Likewise.
63445 * malloc/Makefile: Likewise.
63446 * misc/Makefile: Likewise.
63447 * iconv/Makefile: Likewise.
63448 * nscd/Makefile: Likewise.
63449 * hurd/Makefile: Likewise.
63450 * manual/Makefile: Likewise.
63451 * locale/Makefile: Likewise.
63452 * intl/Makefile: Likewise.
63453 * conform/Makefile: Likewise.
63454 * nss/Makefile: Likewise.
63455 * time/Makefile: Likewise.
63456 * soft-fp/Makefile: Likewise.
63457 * dirent/Makefile: Likewise.
63458 * gmon/Makefile: Likewise.
63459 * po/Makefile: Likewise.
63460 * rt/Makefile: Likewise.
63461 * socket/Makefile: Likewise.
63462 * math/Makefile: Likewise.
63463 * signal/Makefile: Likewise.
63464 * debug/Makefile: Likewise.
63465 * elf/Makefile: Likewise.
63466 * timezone/Makefile: Likewise.
63467 * stdlib/Makefile: Likewise.
63468 * iconvdata/Makefile: Likewise.
63469 * sunrpc/Makefile: Likewise.
63470 * io/Makefile: Likewise.
63471 * argp/Makefile: Likewise.
63472 * inet/Makefile: Likewise.
63473 * hesiod/Makefile: Likewise.
63474 * grp/Makefile: Likewise.
63475 * csu/Makefile: Likewise.
63476 * wctype/Makefile: Likewise.
63477 * crypt/Makefile: Likewise.
63478 * libio/Makefile: Likewise.
63479 * string/Makefile: Likewise.
63480 * nis/Makefile: Likewise.
63481 * resolv/Makefile: Likewise.
63482 * stdio-common/Makefile: Likewise.
63483 * wcsmbs/Makefile: Likewise.
63484 * dlfcn/Makefile: Likewise.
63485 * posix/Makefile: Likewise.
63486
63487 [BZ #6959]
63488 * timezone/Makefile: Don't install timezone files, just the programs
63489 and scripts.
63490
63491 2012-03-06 Ulrich Drepper <drepper@gmail.com>
63492
63493 * nss/databases.def: Add missing gshadow entry.
63494
63495 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
63496
63497 2012-03-06 Marek Polacek <polacek@redhat.com>
63498
63499 [BZ #13726]
63500 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
63501 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
63502 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
63503 * stdio-common/tst-long-dbl-fphex.c: New file.
63504
63505 2012-03-06 David S. Miller <davem@davemloft.net>
63506
63507 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63508 (set_obp_int): New function.
63509 (get_obp_int): New function.
63510 (__get_clockfreq_via_dev_openprom): Likewise.
63511 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
63512 Avoid unused variable warnings on 'val' and use builtin_expect.
63513 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
63514 __builtin_expect.
63515 (INLINE_CLONE_SYSCALL): Likewise.
63516
63517 2012-03-05 David S. Miller <davem@davemloft.net>
63518
63519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63520
63521 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
63522
63523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63524
63525 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
63526 only for |x| >= 40.
63527 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63528
63529 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
63530
63531 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
63532 Replace gettimeofday with __vdso_gettimeofday.
63533
63534 * sysdeps/unix/sysv/linux/x86_64/init-first.c
63535 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
63536 __vdso_clock_gettime and __vdso_getcpu.
63537
63538 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
63539 time with __vdso_time.
63540
63541 2012-03-05 Joseph Myers <joseph@codesourcery.com>
63542
63543 * manual/lang.texi (size_t): Note types to which size_t may be
63544 equivalent with the GNU C Library, but do not describe when
63545 differences between them are significant.
63546
63547 2012-03-05 Andreas Jaeger <aj@suse.de>
63548
63549 * sysdeps/i386/fpu/libm-test-ulps: Update.
63550
63551 2012-03-05 Joseph Myers <joseph@codesourcery.com>
63552
63553 [BZ #3976]
63554 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
63555 (__ieee754_pow): Save and restore rounding mode and use
63556 round-to-nearest for main computations.
63557 * math/libm-test.inc (pow_test_tonearest): New function.
63558 (pow_test_towardzero): Likewise.
63559 (pow_test_downward): Likewise.
63560 (pow_test_upward): Likewise.
63561 (main): Call the new functions.
63562 * sysdeps/i386/fpu/libm-test-ulps: Update.
63563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63564
63565 [BZ #3976]
63566 * math/libm-test.inc (cosh_test_tonearest): New function.
63567 (cosh_test_towardzero): Likewise.
63568 (cosh_test_downward): Likewise.
63569 (cosh_test_upward): Likewise.
63570 (sinh_test_tonearest): Likewise.
63571 (sinh_test_towardzero): Likewise.
63572 (sinh_test_downward): Likewise.
63573 (sinh_test_upward): Likewise.
63574 (main): Call the new functions.
63575 * sysdeps/i386/fpu/libm-test-ulps: Update.
63576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63577
63578 2012-03-05 Tom de Vries <tom@codesourcery.com>
63579
63580 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
63581 default stack guard is set in last bytes.
63582 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
63583
63584 2012-03-05 Kees Cook <keescook@chromium.org>
63585
63586 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
63587
63588 [BZ #13656]
63589 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
63590 possibly allocate from heap instead of stack.
63591 * stdio-common/bug-vfprintf-nargs.c: New file.
63592 * stdio-common/Makefile (tests): Add nargs overflow test.
63593
63594 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
63595
63596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63597
63598 2012-03-03 Marek Polacek <polacek@redhat.com>
63599
63600 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
63601 * math/math_private.h: Likewise.
63602 * stdlib/tst-strtod.c: Likewise.
63603 * sysdeps/i386/i486/bits/atomic.h: Likewise.
63604 * sysdeps/x86_64/bits/atomic.h: Likewise.
63605
63606 2012-03-02 David S. Miller <davem@davemloft.net>
63607
63608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
63609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
63610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
63611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
63612 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
63613 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
63614 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
63615 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
63616
63617 2012-03-02 Roland McGrath <roland@hack.frob.com>
63618
63619 [BZ #13792]
63620 * manual/examples/README: New file, says the example source files
63621 can be used under GPL>=2.
63622 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
63623 line containing just "*/".
63624 * manual/examples/add.c: Add copyright header (GPL>=2).
63625 * manual/examples/argp-ex1.c: Likewise.
63626 * manual/examples/argp-ex2.c: Likewise.
63627 * manual/examples/argp-ex3.c: Likewise.
63628 * manual/examples/argp-ex4.c: Likewise.
63629 * manual/examples/atexit.c: Likewise.
63630 * manual/examples/db.c: Likewise.
63631 * manual/examples/dir.c: Likewise.
63632 * manual/examples/dir2.c: Likewise.
63633 * manual/examples/execinfo.c: Likewise.
63634 * manual/examples/filecli.c: Likewise.
63635 * manual/examples/filesrv.c: Likewise.
63636 * manual/examples/fmtmsgexpl.c: Likewise.
63637 * manual/examples/genpass.c: Likewise.
63638 * manual/examples/inetcli.c: Likewise.
63639 * manual/examples/inetsrv.c: Likewise.
63640 * manual/examples/isockad.c: Likewise.
63641 * manual/examples/longopt.c: Likewise.
63642 * manual/examples/memopen.c: Likewise.
63643 * manual/examples/memstrm.c: Likewise.
63644 * manual/examples/mkfsock.c: Likewise.
63645 * manual/examples/mkisock.c: Likewise.
63646 * manual/examples/mygetpass.c: Likewise.
63647 * manual/examples/pipe.c: Likewise.
63648 * manual/examples/popen.c: Likewise.
63649 * manual/examples/rprintf.c: Likewise.
63650 * manual/examples/search.c: Likewise.
63651 * manual/examples/select.c: Likewise.
63652 * manual/examples/setjmp.c: Likewise.
63653 * manual/examples/sigh1.c: Likewise.
63654 * manual/examples/sigusr.c: Likewise.
63655 * manual/examples/stpcpy.c: Likewise.
63656 * manual/examples/strdupa.c: Likewise.
63657 * manual/examples/strftim.c: Likewise.
63658 * manual/examples/strncat.c: Likewise.
63659 * manual/examples/subopt.c: Likewise.
63660 * manual/examples/swapcontext.c: Likewise.
63661 * manual/examples/termios.c: Likewise.
63662 * manual/examples/testopt.c: Likewise.
63663 * manual/examples/testpass.c: Likewise.
63664 * manual/examples/timeval_subtract.c: Likewise.
63665
63666 [BZ #13792]
63667 * manual/time.texi (Elapsed Time): Move timeval_subtract example
63668 function to ...
63669 * manual/timeval_subtract.c.texi: ... here, new file.
63670
63671 2012-03-02 David S. Miller <davem@davemloft.net>
63672
63673 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
63674
63675 2012-03-02 Joseph Myers <joseph@codesourcery.com>
63676
63677 [BZ #3976]
63678 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
63679 (__sin): Save and restore rounding mode and use round-to-nearest
63680 for all computations.
63681 (__cos): Save and restore rounding mode and use round-to-nearest
63682 for all computations.
63683 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
63684 <fenv.h>.
63685 (tan): Save and restore rounding mode and use round-to-nearest for
63686 all computations.
63687 * math/libm-test.inc (cos_test_tonearest): New function.
63688 (cos_test_towardzero): Likewise.
63689 (cos_test_downward): Likewise.
63690 (cos_test_upward): Likewise.
63691 (sin_test_tonearest): Likewise.
63692 (sin_test_towardzero): Likewise.
63693 (sin_test_downward): Likewise.
63694 (sin_test_upward): Likewise.
63695 (tan_test_tonearest): Likewise.
63696 (tan_test_towardzero): Likewise.
63697 (tan_test_downward): Likewise.
63698 (tan_test_upward): Likewise.
63699 (main): Call the new functions.
63700 * sysdeps/i386/fpu/libm-test-ulps: Update.
63701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63702
63703 [BZ #10135]
63704 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
63705 small n, then large n, before computing and testing k+n.
63706 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
63707 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
63708 Likewise.
63709 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
63710 Likewise.
63711 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
63712 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
63713 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
63714 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
63715 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63716 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63717 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
63718 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
63719 * math/libm-test.inc (scalbn_test): Add more tests.
63720 (scalbln_test): Likewise.
63721
63722 * manual/filesys.texi (mode_t): Describe constraints on size and
63723 signedness, not exact equivalence to a particular type.
63724 (ino_t): Likewise.
63725 (ino64_t): Likewise.
63726 (dev_t): Likewise.
63727 (nlink_t): Likewise.
63728 (blkcnt_t): Likewise.
63729 (blkcnt64_t): Likewise.
63730 * manual/llio.texi (off_t): Likewise.
63731
63732 [BZ #3976]
63733 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
63734 (__ieee754_exp): Save and restore rounding mode and use
63735 round-to-nearest for all computations.
63736 * math/libm-test.inc (exp_test_tonearest): New function.
63737 (exp_test_towardzero): Likewise.
63738 (exp_test_downward): Likewise.
63739 (exp_test_upward): Likewise.
63740 (main): Call the new functions.
63741 * sysdeps/i386/fpu/libm-test-ulps: Update.
63742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63743
63744 2012-03-01 Chris Demetriou <cgd@google.com>
63745
63746 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
63747 have predictable order.
63748
63749 2012-03-01 David S. Miller <davem@davemloft.net>
63750
63751 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
63752
63753 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
63754 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
63755 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
63756 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
63757
63758 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
63759 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
63760 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
63761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
63762 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
63763 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
63764 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
63765 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
63766 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
63767
63768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63769
63770 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
63771 * sysdeps/sparc/fpu/libm-test-ulps: to here.
63772 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
63773
63774 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
63775 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
63776 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63777 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
63778 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
63779 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
63780 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
63781 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
63782 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63783 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
63784 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
63785 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63786 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
63787 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63788 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63789 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63790 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
63791 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
63792 * sysdeps/sparc/elf/configure: Regenerated.
63793
63794 2012-03-01 Joseph Myers <joseph@codesourcery.com>
63795
63796 * configure.in (AS, LD): Require binutils 2.20 or later.
63797 * configure: Regenerated.
63798 * manual/install.texi (Tools for Compilation): Give binutils 2.20
63799 as required minimum version.
63800 * INSTALL: Regenerated.
63801
63802 [BZ #2541]
63803 [BZ #4108]
63804 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
63805 before squaring exponent.
63806 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
63807 bottom long double and 27 bits of top long double before squaring
63808 exponent.
63809 * math/libm-test.inc (erfc_test): Add more tests.
63810 * sysdeps/i386/fpu/libm-test-ulps: Update.
63811 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63813
63814 2012-03-01 Kai Tietz <ktietz@redhat.com>
63815
63816 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
63817 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
63818 containing bit-fields.
63819 * soft-fp/extended.h (_FP_UNION_E): Likewise.
63820 * soft-fp/single.h (_FP_UNION_S): Likewise.
63821 * soft-fp/double.h (_FP_UNION_D): Likewise.
63822
63823 2012-02-29 Joseph Myers <joseph@codesourcery.com>
63824
63825 [BZ #13786]
63826 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
63827 not include ../strcmp.S.
63828 [USE_AS_STRNCASECMP_L]: Likewise.
63829 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
63830 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
63831 * sysdeps/i386/i686/multiarch/strncase_l-c.c
63832 (__strncasecmp_l_ia32): Define as alias to
63833 __strncasecmp_l_nonascii.
63834
63835 [BZ #5794]
63836 * math/libm-test.inc (expm1_test): Add test for bug 5794.
63837 * sysdeps/i386/fpu/libm-test-ulps: Update.
63838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63839
63840 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
63841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63842
63843 2012-02-29 Jeff Law <law@redhat.com>
63844
63845 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
63846 out of bounds read.
63847
63848 2012-02-29 Marek Polacek <polacek@redhat.com>
63849
63850 [BZ #13706]
63851 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
63852 * elf/Makefile: Add rules to run tst-unused-dep.out.
63853
63854 2012-02-28 David S. Miller <davem@davemloft.net>
63855
63856 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
63857 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
63858 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
63859 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
63860 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
63861 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
63862
63863 2012-02-29 Joseph Myers <joseph@codesourcery.com>
63864
63865 * math/libm-test.inc (llround_test): Move one test from
63866 lround_test. Use TEST_f_L in moved test.
63867 (lround_test): Move misplaced test to llround_test. Add testcase
63868 from bug 2561.
63869
63870 2012-02-28 Ulrich Drepper <drepper@gmail.com>
63871
63872 * sysdeps/x86_64/fpu/e_expf.S: New file.
63873 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
63874
63875 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
63876
63877 [BZ #13637]
63878 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
63879 of remain_len that may cause incomplete multi-byte character and
63880 false match.
63881 * posix/bug-regex33.c: New file.
63882 * posix/Makefile (tests): Add bug-regex33.
63883
63884 2012-02-28 Joseph Myers <joseph@codesourcery.com>
63885
63886 * manual/macros.texi: New file.
63887 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
63888 * manual/libc.texinfo: Include macros.texi.
63889 * manual/creatute.texi: Likewise.
63890 * manual/install.texi: Likewise.
63891 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
63892 @glibcadj{} in references to the GNU C Library.
63893 * manual/charset.texi: Likewise.
63894 * manual/conf.texi: Likewise.
63895 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
63896 when not using those macros.
63897 * manual/creature.texi: Likewise.
63898 * manual/crypt.texi: Likewise.
63899 * manual/errno.texi: Likewise.
63900 * manual/filesys.texi: Likewise.
63901 * manual/header.texi: Likewise.
63902 * manual/install.texi: Likewise.
63903 * manual/intro.texi: Likewise.
63904 * manual/io.texi: Likewise.
63905 * manual/job.texi: Likewise.
63906 * manual/lang.texi: Likewise.
63907 * manual/libc.texiinfo: Likewise.
63908 * manual/llio.texi: Likewise.
63909 * manual/locale.texi: Likewise.
63910 * manual/maint.texi: Likewise.
63911 * manual/math.texi: Likewise.
63912 * manual/memory.texi: Likewise.
63913 * manual/message.texi: Likewise.
63914 * manual/nss.texi: Likewise.
63915 * manual/pattern.texi: Likewise.
63916 * manual/process.texi: Likewise.
63917 * manual/resource.texi: Likewise.
63918 * manual/search.texi: Likewise.
63919 * manual/setjmp.texi: Likewise.
63920 * manual/signal.texi: Likewise.
63921 * manual/socket.texi: Likewise.
63922 * manual/startup.texi: Likewise.
63923 * manual/stdio.texi: Likewise.
63924 * manual/string.texi: Likewise.
63925 * manual/sysinfo.texi: Likewise.
63926 * manual/syslog.texi: Likewise.
63927 * manual/terminal.texi: Likewise.
63928 * manual/time.texi: Likewise.
63929 * manual/users.texi: Likewise.
63930 * INSTALL: Regenerated.
63931 * NOTES: Regenerated.
63932 * sysdeps/gnu/errlist.c: Regenerated.
63933
63934 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
63935
63936 * include/dirent.h: Include <dirstream.h> before
63937 <dirent/dirent.h>.
63938
63939 2012-02-28 David S. Miller <davem@davemloft.net>
63940
63941 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
63942 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
63943 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
63944 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
63945
63946 2012-02-27 David S. Miller <davem@davemloft.net>
63947
63948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
63949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
63950 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
63951 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
63952
63953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
63954 frame pointer instead of stack pointer relative arg slot.
63955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
63956 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
63957 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63958
63959 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
63960
63961 [BZ #3992]
63962 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
63963
63964 2012-02-27 David S. Miller <davem@davemloft.net>
63965
63966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
63967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
63968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
63969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
63970 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
63971 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63972 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
63973 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
63974
63975 2012-02-27 Joseph Myers <joseph@codesourcery.com>
63976
63977 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
63978 later. Allow versions 5-9.
63979 * configure: Regenerated.
63980 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
63981 required minimum version and 4.6 as recommended version. Do not
63982 mention bugs in GCC 2.7 and 2.8.
63983 * INSTALL: Regenerated.
63984
63985 2012-02-27 David S. Miller <davem@davemloft.net>
63986
63987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
63988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
63989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
63990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
63991 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
63992 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
63993 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
63994 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
63995
63996 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
63997 manipulate bits before adding and subtracting TWO112[sx].
63998 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
63999
64000 2012-02-27 Roland McGrath <roland@hack.frob.com>
64001
64002 [BZ #13775]
64003 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
64004 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
64005 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
64006 being in POSIX, because they are in 1003.1-2008.
64007
64008 * rt/tst-aio.c: Include <fcntl.h>.
64009 * rt/tst-aio7.c: Likewise.
64010 * rt/tst-aio64.c: Likewise.
64011
64012 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
64013
64014 2012-02-27 Joseph Myers <joseph@codesourcery.com>
64015
64016 * manual/install.texi (--with-headers): Describe headers as
64017 interface headers, not private headers.
64018 (Specific advice for GNU/Linux systems): Describe use of headers
64019 from "make headers_install", not private headers from older
64020 kernels.
64021 * INSTALL: Regenerated.
64022 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
64023 Change to 2.6.19.
64024 * sysdeps/unix/sysv/linux/configure: Regenerated.
64025
64026 * manual/llio.texi (fclean): Remove documentation.
64027
64028 * manual/Makefile (libc-texi-generated): New variable. Include
64029 version.texi.
64030 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
64031 $(libc-texi-generated), not duplicated list of files.
64032 (version.texi, stamp-version): New rules.
64033 (realclean): Remove $(libc-texi-generated), not individual files
64034 from that list. Do not remove dir-add.texinfo.
64035 * manual/libc.texinfo: Comment out uses of edition numbers and
64036 references to printed manual. Remove last-updated dates.
64037 (EDITION): Comment out.
64038 (ISBN): Likewise.
64039 (VERSION, UPDATED): Remove.
64040 (version.texi): Include.
64041
64042 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
64043
64044 * sysdeps/posix/spawni.c: Include <signal.h>.
64045 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
64046 * sysdeps/pthread/aio_fsync.c: Likewise.
64047
64048 2012-02-26 Ulrich Drepper <drepper@gmail.com>
64049
64050 * conform/Makefile (tests): Run only when not cross-compiling and
64051 when fast-check is not defined.
64052
64053 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
64054 * conform/data/limits.h-data: Fixes for POSIX2008.
64055 * conform/run-conformtest.sh: Run all tests.
64056 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
64057 headers.
64058 * include/bits/dlfcn.h: Likewise.
64059 * include/langinfo.h: Likewise.
64060 * include/monetary.h: Likewise.
64061 * include/sys/poll.h: Likewise.
64062
64063 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
64064 for __USE_GNU.
64065 * posix/spawn.h: Define __need_sigset_t.
64066 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
64067 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
64068 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
64069 to get sigevent_t only.
64070 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
64071 only for __USE_GNU.
64072 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64073 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64074 process_vm_writev only for __USE_GNU.
64075 * termios/termios.h: Declare tcgetsid also for POSIX2008.
64076
64077 * conform/Makefile: For now ignore errors from run-conformtest.
64078 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
64079 POSIX to avoid namespace pollution. Don't prepend headers.
64080 * conform/data/aio.h-data: Fixes for POSIX testing.
64081 * conform/data/fcntl.h-data: Likewise.
64082 * conform/data/glob.h-data: Likewise.
64083 * conform/data/grp.h-data: Likewise.
64084 * conform/data/pthread.h-data: Likewise.
64085 * conform/data/pwd.h-data: Likewise.
64086 * conform/data/signal.h-data: Likewise.
64087 * conform/data/spawn.h-data: Likewise.
64088 * conform/data/stdio.h-data: Likewise.
64089 * conform/data/stdlib.h-data: Likewise.
64090 * conform/data/stropts.h-data: Likewise.
64091 * conform/data/sys/mman.h-data: Likewise.
64092 * conform/data/sys/stat.h-data: Likewise.
64093 * conform/data/sys/types.h-data: Likewise.
64094 * conform/data/sys/wait.h-data: Likewise.
64095 * conform/data/time.h-data: Likewise.
64096 * conform/data/unistd.h-data: Likewise.
64097 * conform/data/utime.h-data: Likewise.
64098
64099 * io/sys/stat.h: fchmod was always in POSIX.
64100 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
64101 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
64102 * rt/aio.h: Define __need_timespec before including <time.h>.
64103 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
64104 struct. Add forward declaration of pthread_attr_t and use it in
64105 sigevent.
64106 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
64107 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64108 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
64109 always remove CLK_TCK definition.
64110
64111 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
64112
64113 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
64114
64115 2012-02-25 Ulrich Drepper <drepper@gmail.com>
64116
64117 * conform/run-conformtest.sh: New file.
64118 * conform/Makefile: Run run-conformtest for tests.
64119 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
64120 support.
64121
64122 * conform/data/uchar.h-data: New file.
64123 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
64124 * conform/data/arpa/inet.h-data: Likewise.
64125 * conform/data/assert.h-data: Likewise.
64126 * conform/data/complex.h-data: Likewise.
64127 * conform/data/cpio.h-data: Likewise.
64128 * conform/data/ctype.h-data: Likewise.
64129 * conform/data/dirent.h-data: Likewise.
64130 * conform/data/dlfcn.h-data: Likewise.
64131 * conform/data/errno.h-data: Likewise.
64132 * conform/data/fcntl.h-data: Likewise.
64133 * conform/data/float.h-data: Likewise.
64134 * conform/data/fmtmsg.h-data: Likewise.
64135 * conform/data/fnmatch.h-data: Likewise.
64136 * conform/data/ftw.h-data: Likewise.
64137 * conform/data/glob.h-data: Likewise.
64138 * conform/data/grp.h-data: Likewise.
64139 * conform/data/iconv.h-data: Likewise.
64140 * conform/data/inttypes.h-data: Likewise.
64141 * conform/data/langinfo.h-data: Likewise.
64142 * conform/data/libgen.h-data: Likewise.
64143 * conform/data/limits.h-data: Likewise.
64144 * conform/data/locale.h-data: Likewise.
64145 * conform/data/math.h-data: Likewise.
64146 * conform/data/monetary.h-data: Likewise.
64147 * conform/data/mqueue.h-data: Likewise.
64148 * conform/data/ndbm.h-data: Likewise.
64149 * conform/data/net/if.h-data: Likewise.
64150 * conform/data/netdb.h-data: Likewise.
64151 * conform/data/netinet/in.h-data: Likewise.
64152 * conform/data/nl_types.h-data: Likewise.
64153 * conform/data/poll.h-data: Likewise.
64154 * conform/data/pthread.h-data: Likewise.
64155 * conform/data/pwd.h-data: Likewise.
64156 * conform/data/regex.h-data: Likewise.
64157 * conform/data/sched.h-data: Likewise.
64158 * conform/data/search.h-data: Likewise.
64159 * conform/data/semaphore.h-data: Likewise.
64160 * conform/data/setjmp.h-data: Likewise.
64161 * conform/data/signal.h-data: Likewise.
64162 * conform/data/spawn.h-data: Likewise.
64163 * conform/data/stdarg.h-data: Likewise.
64164 * conform/data/stdio.h-data: Likewise.
64165 * conform/data/stdlib.h-data: Likewise.
64166 * conform/data/string.h-data: Likewise.
64167 * conform/data/strings.h-data: Likewise.
64168 * conform/data/stropts.h-data: Likewise.
64169 * conform/data/sys/ipc.h-data: Likewise.
64170 * conform/data/sys/mman.h-data: Likewise.
64171 * conform/data/sys/msg.h-data: Likewise.
64172 * conform/data/sys/resource.h-data: Likewise.
64173 * conform/data/sys/select.h-data: Likewise.
64174 * conform/data/sys/sem.h-data: Likewise.
64175 * conform/data/sys/shm.h-data: Likewise.
64176 * conform/data/sys/socket.h-data: Likewise.
64177 * conform/data/sys/stat.h-data: Likewise.
64178 * conform/data/sys/statvfs.h-data: Likewise.
64179 * conform/data/sys/time.h-data: Likewise.
64180 * conform/data/sys/timeb.h-data: Likewise.
64181 * conform/data/sys/times.h-data: Likewise.
64182 * conform/data/sys/types.h-data: Likewise.
64183 * conform/data/sys/uio.h-data: Likewise.
64184 * conform/data/sys/un.h-data: Likewise.
64185 * conform/data/sys/utsname.h-data: Likewise.
64186 * conform/data/sys/wait.h-data: Likewise.
64187 * conform/data/syslog.h-data: Likewise.
64188 * conform/data/tar.h-data: Likewise.
64189 * conform/data/termios.h-data: Likewise.
64190 * conform/data/utime.h-data: Likewise.
64191 * conform/data/utmpx.h-data: Likewise.
64192 * conform/data/varargs.h-data: Likewise.
64193 * conform/data/wchar.h-data: Likewise.
64194 * conform/data/wctype.h-data: Likewise.
64195 * conform/data/wordexp.h-data: Likewise.
64196
64197 * include/stropts.h: New file.
64198 * include/uchar.h: New file.
64199 * include/aio.h: Changes to allow conformtest.pl to use the headers.
64200 * include/assert.h: Likewise.
64201 * include/ctype.h: Likewise.
64202 * include/dirent.h: Likewise.
64203 * include/dlfcn.h: Likewise.
64204 * include/fcntl.h: Likewise.
64205 * include/fnmatch.h: Likewise.
64206 * include/glob.h: Likewise.
64207 * include/grp.h: Likewise.
64208 * include/libio.h: Likewise.
64209 * include/locale.h: Likewise.
64210 * include/math.h: Likewise.
64211 * include/net/if.h: Likewise.
64212 * include/netdb.h: Likewise.
64213 * include/netinet/in.h: Likewise.
64214 * include/pthread.h: Likewise.
64215 * include/pwd.h: Likewise.
64216 * include/regex.h: Likewise.
64217 * include/sched.h: Likewise.
64218 * include/search.h: Likewise.
64219 * include/setjmp.h: Likewise.
64220 * include/signal.h: Likewise.
64221 * include/stdio.h: Likewise.
64222 * include/stdlib.h: Likewise.
64223 * include/string.h: Likewise.
64224 * include/sys/cdefs.h: Likewise.
64225 * include/sys/mman.h: Likewise.
64226 * include/sys/msg.h: Likewise.
64227 * include/sys/resource.h: Likewise.
64228 * include/sys/select.h: Likewise.
64229 * include/sys/socket.h: Likewise.
64230 * include/sys/stat.h: Likewise.
64231 * include/sys/statvfs.h: Likewise.
64232 * include/sys/time.h: Likewise.
64233 * include/sys/times.h: Likewise.
64234 * include/sys/uio.h: Likewise.
64235 * include/sys/utsname.h: Likewise.
64236 * include/sys/wait.h: Likewise.
64237 * include/termios.h: Likewise.
64238 * include/time.h: Likewise.
64239 * include/ulimit.h: Likewise.
64240 * include/unistd.h: Likewise.
64241 * include/utime.h: Likewise.
64242 * include/wchar.h: Likewise.
64243 * include/wctype.h: Likewise.
64244 * include/wordexp.h: Likewise.
64245
64246 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
64247
64248 * time/time.h: TIME_UTC must be a macro.
64249 Make timespec_get available for ISO C11 only as well.
64250
64251 2012-02-24 Ulrich Drepper <drepper@gmail.com>
64252
64253 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
64254 Reported by Peng Haitao <penght@cn.fujitsu.com>.
64255
64256 2012-02-24 Joseph Myers <joseph@codesourcery.com>
64257
64258 * configure.in: Use -o not -a in test for unsupported multi-arch.
64259
64260 2012-02-24 Joseph Myers <joseph@codesourcery.com>
64261
64262 * manual/texinfo.tex: Update to version 2012-01-19.16.
64263
64264 2012-02-24 Joseph Myers <joseph@codesourcery.com>
64265
64266 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
64267
64268 2012-02-24 Roland McGrath <roland@hack.frob.com>
64269
64270 [BZ #13738]
64271 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
64272 * manual/fdl-1.3.texi: New file.
64273 * manual/fdl-1.1.texi: File removed.
64274
64275 [BZ #13738]
64276 * manual/libc.texinfo (FDL_VERSION): New @set.
64277 Use it for mention of FDL in cover text.
64278 (Documentation License): Use it in @include file name.
64279
64280 2012-02-22 Joseph Myers <joseph@codesourcery.com>
64281 Roland McGrath <roland@hack.frob.com>
64282
64283 [BZ #5461]
64284 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
64285 (not LONG_LONG_MAX and LONG_LONG_MIN.
64286 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
64287 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
64288 name.
64289 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
64290
64291 2012-02-22 Joseph Myers <joseph@codesourcery.com>
64292
64293 [BZ #2547]
64294 [BZ #11365]
64295 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
64296 manipulate bits before adding and subtracting TWO23[sx].
64297 * math/libm-test.inc (nearbyint_test): Add more tests.
64298
64299 2012-02-22 Joseph Myers <joseph@codesourcery.com>
64300
64301 [BZ #2548]
64302 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
64303 bits before adding and subtracting TWO23[sx].
64304 * math/libm-test.inc (rint_test): Add more tests.
64305 (rint_test_tonearest): Likewise.
64306 (rint_test_towardzero): Likewise.
64307 (rint_test_downward): Likewise.
64308 (rint_test_upward: Likewise.
64309
64310 2012-02-22 Joseph Myers <joseph@codesourcery.com>
64311
64312 [BZ #10110]
64313 * include/stdc-predef.h: New file. Extracted from features.h.
64314 * include/features.h: Include stdc-predef.h.
64315 * Makefile (headers): Add stdc-predef.h.
64316 * CONFORMANCE (Compiler limitations): Update.
64317
64318 2012-02-22 Joseph Myers <joseph@codesourcery.com>
64319
64320 * manual/libc.texinfo (VERSION, UPDATED): Revert.
64321
64322 2012-02-21 David S. Miller <davem@davemloft.net>
64323
64324 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
64325 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64326
64327 2012-02-20 David S. Miller <davem@davemloft.net>
64328
64329 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
64330 using a normal save/restore sequence, rather than allocating a
64331 dummy stack frame just to store a frame pointer and restore.
64332 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64333
64334 2012-02-21 Joseph Myers <joseph@codesourcery.com>
64335
64336 * manual/install.texi: Fix stray word in line-wrapped comment.
64337
64338 2012-02-20 David S. Miller <davem@davemloft.net>
64339
64340 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
64341 both binutils and gcc support GOTDATA.
64342
64343 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
64344 "rd %pc" in the PIC register setup sequences.
64345
64346 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
64347 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
64348 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64349 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
64350 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64351 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
64352 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64353 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64354 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
64355 (SYSCALL_ERROR_HANDLER): Likewise.
64356 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
64357 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64358 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
64359 (SYSCALL_ERROR_HANDLER): Likewise.
64360
64361 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
64362 (HAVE_GCC_GOTDATA): New.
64363 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
64364 relocation support in both binutils and gcc.
64365 * sysdeps/sparc/elf/configure: Regenerate.
64366
64367 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
64368 * sysdeps/sparc/sparc32/elf/configure: Delete.
64369 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
64370 * sysdeps/sparc/sparc64/elf/configure: Delete.
64371 * sysdeps/sparc/elf/configure.in: New file.
64372 * sysdeps/sparc/elf/configure: Generate.
64373
64374 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
64375 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
64376 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
64377 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
64378 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
64379
64380 2012-02-21 Joseph Myers <joseph@codesourcery.com>
64381
64382 * manual/install.texi: Do not mention specific glibc version
64383 numbers.
64384 * manual/libc.texinfo (VERSION, UPDATED): Update.
64385 (@copying): Use @copyright{} and range of years.
64386
64387 2012-02-21 Joseph Myers <joseph@codesourcery.com>
64388
64389 [BZ #13695]
64390 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
64391 [crti.S not in sysdirs] (generated): Do not append.
64392 [crti.S not in sysdirs] (omit-deps): Likewise.
64393 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
64394 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
64395 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
64396 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
64397 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
64398 Likewise.
64399 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
64400 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
64401 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
64402 * csu/defs.awk: Remove file.
64403 * sysdeps/generic/initfini.c: Likewise.
64404 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
64405 variable.
64406 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
64407 Likewise.
64408
64409 2012-02-20 Joseph Myers <joseph@codesourcery.com>
64410
64411 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
64412 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
64413 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
64414 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
64415 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64416 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
64417 <bits/epoll.h>.
64418 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
64419 (__EPOLL_PACKED): Define to empty if not defined by
64420 <bits/epoll.h>.
64421 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
64422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64423 bits/epoll.h.
64424
64425 2012-02-20 Joseph Myers <joseph@codesourcery.com>
64426
64427 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
64428 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
64429 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
64430 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
64431 <bits/timerfd.h>.
64432 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
64433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64434 bits/timerfd.h.
64435
64436 2012-02-20 Joseph Myers <joseph@codesourcery.com>
64437
64438 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
64439 in C locale.
64440 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64441 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64442 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
64443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64444
64445 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
64446
64447 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64448 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64449
64450 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
64451
64452 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
64453 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
64454 defined.
64455 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
64456 Likewise.
64457 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
64458 entry for 2.16.
64459
64460 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
64461
64462 * math/w_acos.c: Use non-signaling floating-point comparisons.
64463 * math/w_acosf.c: Likewise.
64464 * math/w_acosh.c: Likewise.
64465 * math/w_acoshf.c: Likewise.
64466 * math/w_acoshl.c: Likewise.
64467 * math/w_acosl.c: Likewise.
64468 * math/w_asin.c: Likewise.
64469 * math/w_asinf.c: Likewise.
64470 * math/w_asinl.c: Likewise.
64471 * math/w_atanh.c: Likewise.
64472 * math/w_atanhf.c: Likewise.
64473 * math/w_atanhl.c: Likewise.
64474 * math/w_exp2.c: Likewise.
64475 * math/w_exp2f.c: Likewise.
64476 * math/w_exp2l.c: Likewise.
64477 * math/w_j0.c: Likewise.
64478 * math/w_j0f.c: Likewise.
64479 * math/w_j0l.c: Likewise.
64480 * math/w_j1.c: Likewise.
64481 * math/w_j1f.c: Likewise.
64482 * math/w_j1l.c: Likewise.
64483 * math/w_jn.c: Likewise.
64484 * math/w_jnf.c: Likewise.
64485 * math/w_log.c: Likewise.
64486 * math/w_log10.c: Likewise.
64487 * math/w_log10f.c: Likewise.
64488 * math/w_log10l.c: Likewise.
64489 * math/w_log2.c: Likewise.
64490 * math/w_log2f.c: Likewise.
64491 * math/w_log2l.c: Likewise.
64492 * math/w_logf.c: Likewise.
64493 * math/w_logl.c: Likewise.
64494 * math/w_sqrt.c: Likewise.
64495 * math/w_sqrtf.c: Likewise.
64496 * math/w_sqrtl.c: Likewise.
64497 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64498 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
64499 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64500 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
64501 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
64502
64503 2012-02-19 Joseph Myers <joseph@codesourcery.com>
64504
64505 [BZ #9739]
64506 * manual/string.texi (strnlen): Use correct parameter name in
64507 equivalent expression.
64508
64509 2012-02-19 Joseph Myers <joseph@codesourcery.com>
64510
64511 [BZ #11174]
64512 * manual/users.texi (seteuid): Consistently use neweuid for
64513 argument name.
64514
64515 2012-02-19 Joseph Myers <joseph@codesourcery.com>
64516
64517 [BZ #13704]
64518 * manual/nss.texi (Services in the NSS configuration): Correct
64519 list of services in example configuration file.
64520
64521 2012-02-19 Nick Bowler <nbowler@draconx.ca>
64522
64523 [BZ #11322]
64524 * manual/arith.texi: Remove statements about negative zero
64525 behaving identically to zero.
64526
64527 2012-02-18 Joseph Myers <joseph@codesourcery.com>
64528
64529 [BZ #5993]
64530 * manual/install.texi: Do not document upgrading from libc5.
64531
64532 2012-02-18 Joseph Myers <joseph@codesourcery.com>
64533
64534 [BZ #4596]
64535 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
64536
64537 2012-02-18 David S. Miller <davem@davemloft.net>
64538
64539 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
64540 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
64541 %o7 across the call.
64542 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
64543 instead.
64544 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
64545 SETUP_PIC_REG_LEAF.
64546 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64547 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
64548 * sysdeps/sparc/crtn.S: Likewise.
64549
64550 2012-02-17 Ulrich Drepper <drepper@gmail.com>
64551
64552 * aout/Makefile: Remove.
64553
64554 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
64555
64556 [BZ #13058]
64557 * manual/examples/argp-ex1.c (main): Format definition in GNU
64558 style.
64559 * manual/examples/argp-ex2.c (main): Likewise.
64560 * manual/examples/argp-ex3.c (main): Likewise.
64561 * manual/examples/argp-ex4.c (main): Likewise.
64562 * manual/examples/longopt.c (main): Use new-style prototype
64563 definition.
64564 * manual/examples/strncat.c (main): Specify return type and use
64565 (void) for arguments.
64566 * manual/examples/subopt.c (main): Use char **argv argument.
64567
64568 2012-02-17 Joseph Myers <joseph@codesourcery.com>
64569
64570 [BZ #5077]
64571 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
64572 rounding modes.
64573
64574 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
64575
64576 [BZ #6907]
64577 * manual/string.texi (strchr): Change when strchrnul is
64578 recommended.
64579
64580 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
64581
64582 [BZ #174]
64583 * manual/locale.texi (setlocale): Document LOCPATH.
64584
64585 2012-02-17 Joseph Myers <joseph@codesourcery.com>
64586
64587 [BZ #10210]
64588 * manual/process.texi (execle): Move @dots{} before last argument.
64589
64590 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
64591
64592 [BZ #12047]
64593 * manual/charset.texi (Generic Charset Conversion): Fix typo
64594 (LC_TYPE -> LC_CTYPE).
64595
64596 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
64597
64598 [BZ #5805]
64599 * manual/arith.texi (scalbn): Use @var{} on parameter names.
64600 (scalbnf): Likewise.
64601 (scalbnl): Likewise.
64602 (scalbln): Likewise.
64603 (scalblnf): Likewise.
64604 (scalblnl): Likewise.
64605 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
64606 (vwarnx): Likewise.
64607 (verr): Likewise.
64608 (verrx): Likewise.
64609 * manual/filesys.texi (telldir): Use braces around return type.
64610 * manual/llio.texi (mmap): Add space after comma.
64611 (mmap64): Likewise.
64612 * manual/math.texi (jn): Use @var{} on parameter names.
64613 (jnf): Likewise.
64614 (jnl): Likewise.
64615 (yn): Likewise.
64616 (ynf): Likewise.
64617 (ynl): Likewise.
64618 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
64619 line.
64620 * manual/resource.texi (ulimit): Use @dots{} instead of literal
64621 "...".
64622 (sched_get_priority_min): Remove semicolon on @deftypefun line.
64623 (sched_get_priority_max): Likewise.
64624 * manual/signal.texi (sigvec): Add space after comma.
64625 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
64626 names.
64627 (if_indextoname): Likewise.
64628 (if_freenameindex): Likewise.
64629 (sendto): Use ',' instead of '.' in prototype.
64630 * manual/startup.texi (syscall): Use @dots{} instead of literal
64631 "...".
64632 * manual/stdio.texi (__fpending): Separate initial words of
64633 paragraph from @deftypefun line.
64634 * manual/syslog.texi (syslog): Use @dots{} instead of literal
64635 "...".
64636 (vsyslog): Use @var{} on parameter names.
64637 * manual/terminal.texi (stty): Use @var{} on parameter names.
64638 * manual/users.texi (getutmp): Use @var{} on parameter names.
64639 (getutmpx): Likewise.
64640
64641 2012-02-17 Joseph Myers <joseph@codesourcery.com>
64642
64643 [BZ #6884]
64644 * manual/stdio.texi (fopen): Fix typos in description of
64645 ",ccs=STRING".
64646
64647 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
64648
64649 [BZ #4026]
64650 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
64651 get clock_id definition.
64652
64653 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
64654
64655 [BZ #4822]
64656 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
64657 (madvise): Cast every argument to void on its own.
64658
64659 2012-02-17 Joseph Myers <joseph@codesourcery.com>
64660
64661 [BZ #9902]
64662 * manual/startup.texi (Exit Status): Fix typo.
64663
64664 2012-02-17 Joseph Myers <joseph@codesourcery.com>
64665
64666 [BZ #10140]
64667 * manual/examples/argp-ex1.c: Include <stdlib.h>.
64668 * manual/examples/argp-ex2.c: Likewise.
64669 * manual/examples/argp-ex3.c: Likewise.
64670
64671 2012-02-16 Richard Henderson <rth@redhat.com>
64672
64673 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
64674 * sysdeps/s390/s390-32/initfini.c: Remove.
64675 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
64676 * sysdeps/s390/s390-64/initfini.c: Remove.
64677
64678 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
64679
64680 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
64681 compiler output for sysdeps/generic/initfini.c.
64682 * sysdeps/sh/elf/initfini.c: Remove file.
64683
64684 2012-02-16 David S. Miller <davem@davemloft.net>
64685
64686 [BZ #11494]
64687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
64688
64689 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
64690 * sysdeps/sparc/crti.S: New file.
64691 * sysdeps/sparc/crtn.S: New file.
64692 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
64693 * sysdeps/sparc/sparc64/Makefile: Likewise.
64694
64695 2012-02-15 Mike Frysinger <vapier@gentoo.org>
64696
64697 [BZ #3335]
64698 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
64699
64700 2012-02-15 Roland McGrath <roland@hack.frob.com>
64701
64702 [BZ #4822]
64703 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
64704
64705 * mach/devstream.c (cookie_io_functions_t): Macro removed.
64706 (write, read, close): Likewise.
64707 Patch by Aurelien Jarno <aurelien@aurel32.net>.
64708
64709 2012-02-15 Joseph Myers <joseph@codesourcery.com>
64710
64711 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
64712 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
64713 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
64714 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
64715 <bits/signalfd.h>.
64716 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
64717 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64718 bits/signalfd.h.
64719
64720 2012-02-14 Marek Polacek <polacek@redhat.com>
64721
64722 * sysdeps/x86_64/crti.S: New file.
64723 * sysdeps/x86_64/crtn.S: New file.
64724 * sysdeps/x86_64/elf/initfini.c: Remove file.
64725
64726 2012-02-13 Joseph Myers <joseph@codesourcery.com>
64727
64728 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
64729 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
64730 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
64731 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
64732 <bits/inotify.h>.
64733 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
64734 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64735 bits/inotify.h.
64736
64737 2012-02-13 Joseph Myers <joseph@codesourcery.com>
64738
64739 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
64740 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
64741 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
64742 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
64743 <bits/eventfd.h>.
64744 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
64745 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64746 bits/eventfd.h.
64747
64748 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
64749
64750 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
64751 __feraiseexcept instead of feraiseexcept.
64752
64753 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
64754 nanosleep invocations.
64755 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
64756 strings, and add error checking for a nanosleep invocations.
64757
64758 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
64759
64760 Replace FSF snail mail address with URLs, as per GNU coding standards.
64761 Most of the snail mail addresses were wrong anyway, and omitting
64762 them makes the source code easier to maintain. Almost all of the
64763 changes are to license notices and to locale LC_IDENTIFICATION
64764 addresses, except for this one:
64765 * manual/libc.texinfo: In "Published by", give the FSF's URL,
64766 not its snail mail address.
64767
64768 2012-02-09 Richard Henderson <rth@twiddle.net>
64769
64770 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
64771 of kernel-features.h.
64772
64773 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
64774
64775 2012-02-08 Marek Polacek <polacek@redhat.com>
64776
64777 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
64778 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
64779 * sysdeps/gnu/_G_config.h: Likewise.
64780 * sysdeps/generic/_G_config.h: Likewise.
64781
64782 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
64783
64784 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
64785 tests.
64786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64787
64788 * sysdeps/powerpc/powerpc32/crti.S: New file.
64789 * sysdeps/powerpc/powerpc32/crtn.S: New file.
64790 * sysdeps/powerpc/powerpc64/crti.S: New file.
64791 * sysdeps/powerpc/powerpc64/crtn.S: New file.
64792
64793 * Makeconfig (have-initfini): Don't set.
64794 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
64795 * configure.in (nopic_initfini): Don't substitute.
64796 * config.h.in (HAVE_INITFINI): Don't #undef.
64797 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
64798 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
64799
64800 2012-02-08 Joseph Myers <joseph@codesourcery.com>
64801
64802 Support crti.S and crtn.S provided directly by architectures.
64803 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
64804 [crti.S in sysdirs] (omit-deps): Likewise.
64805 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
64806 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
64807 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
64808 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
64809 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
64810 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
64811 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
64812 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
64813 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
64814 compiler output for sysdeps/generic/initfini.c.
64815 * sysdeps/i386/elf/Makefile: Remove file.
64816 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
64817
64818 2012-02-07 Marek Polacek <polacek@redhat.com>
64819
64820 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
64821 * sysdeps/gnu/_G_config.h: Likewise.
64822 * sysdeps/mach/hurd/_G_config.h: Likewise.
64823
64824 2012-02-07 Marek Polacek <polacek@redhat.com>
64825
64826 * math/Makefile (tests): Add tst-CMPLX2.
64827 * math/tst-CMPLX2.c: New file.
64828
64829 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
64830
64831 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64832
64833 * math/libm-test.inc (jn_test): Add missing L suffix.
64834
64835 2012-02-06 Marek Polacek <polacek@redhat.com>
64836
64837 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
64838 * sysdeps/i386/fpu/e_powf.S: Likewise.
64839 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64840 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64841 * sysdeps/i386/fpu/e_acosh.S: Likewise.
64842 * sysdeps/i386/fpu/e_pow.S: Likewise.
64843 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
64844 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64845 * sysdeps/i386/fpu/s_expm1.S: Likewise.
64846 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
64847 * sysdeps/i386/fpu/e_log2.S: Likewise.
64848 * sysdeps/i386/fpu/e_log2l.S: Likewise.
64849 * sysdeps/i386/fpu/e_scalb.S: Likewise.
64850 * sysdeps/i386/fpu/e_powl.S: Likewise.
64851 * sysdeps/i386/fpu/s_log1p.S: Likewise.
64852 * sysdeps/i386/fpu/e_log10f.S: Likewise.
64853 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
64854 * sysdeps/i386/fpu/e_logl.S: Likewise.
64855 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
64856 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
64857 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
64858 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
64859 * sysdeps/i386/fpu/e_log2f.S: Likewise.
64860 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64861 * sysdeps/i386/fpu/e_log.S: Likewise.
64862 * sysdeps/i386/fpu/s_cexp.S: Likewise.
64863 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64864 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
64865 * sysdeps/i386/fpu/e_logf.S: Likewise.
64866 * sysdeps/i386/fpu/e_log10l.S: Likewise.
64867 * sysdeps/i386/fpu/e_atanh.S: Likewise.
64868 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
64869 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
64870 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64871 * sysdeps/i386/fpu/e_log10.S: Likewise.
64872 * sysdeps/i386/fpu/s_frexp.S: Likewise.
64873 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64874 * sysdeps/i386/fpu/s_asinh.S: Likewise.
64875 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
64876 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64877 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
64878 * sysdeps/i386/asm-syntax.h: Likewise.
64879 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64880 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64881 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64882 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
64883 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
64884 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64885 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
64886 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
64887 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64888 * sysdeps/powerpc/sysdep.h: Likewise.
64889 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
64890 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64891
64892 2012-02-06 Joseph Myers <joseph@codesourcery.com>
64893
64894 [BZ #411]
64895 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
64896
64897 2012-02-06 Joseph Myers <joseph@codesourcery.com>
64898
64899 * sysdeps/i386/sysdep.h: Include <features.h>.
64900 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
64901 version.
64902
64903 2012-02-05 Joseph Myers <joseph@codesourcery.com>
64904
64905 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
64906 Define.
64907 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
64908 LOAD_PIC_REG_STR.
64909
64910 2012-02-03 Joseph Myers <joseph@codesourcery.com>
64911
64912 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
64913 (SETUP_PIC_REG): Use GET_PC_THUNK.
64914 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
64915 macro.
64916
64917 2012-02-03 Joseph Myers <joseph@codesourcery.com>
64918
64919 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
64920 for non-PIC compilation.
64921 (SETUP_PIC_REG): Add .p2align directive.
64922 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
64923 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
64924 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
64925 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
64926 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64927 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
64928 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
64929 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64930 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
64931 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
64932 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
64933 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
64934 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
64935 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
64936 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
64937 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64938 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64939 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
64940 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
64941 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
64942 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64943 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64944 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
64945 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
64946 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64947 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64948 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64949 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64950 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
64951 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
64952 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
64953 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64954 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
64955 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
64956 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
64957 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
64958 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
64959 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
64960 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
64961 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
64962 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
64963
64964 2012-02-03 Joseph Myers <joseph@codesourcery.com>
64965
64966 * math/tst-CMPLX.c: Include <stdio.h>.
64967
64968 2012-01-31 Joseph Myers <joseph@codesourcery.com>
64969
64970 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
64971 float.
64972 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64973 * sysdeps/sparc/bits/mathdef.h: Likewise.
64974
64975 2012-01-31 Marek Polacek <polacek@redhat.com>
64976
64977 * libio/libio.h: Don't define _PARAMS.
64978 * locale/programs/config.h: Don't define PARAMS.
64979 * stdlib/strtol_l.c: Likewise.
64980 (__strtol_l): Remove PARAMS from the prototype.
64981
64982 2012-01-31 Ulrich Drepper <drepper@gmail.com>
64983
64984 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
64985 names. Just use the correct names. Remove unnecessary wrapper
64986 functions.
64987 * malloc/arena.c: Likewise.
64988 * malloc/hooks.c: Likewise.
64989
64990 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
64991 ARENA_TEST says not to. Simplify test for creation of a new arena.
64992 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
64993
64994 2012-01-30 Ulrich Drepper <drepper@gmail.com>
64995
64996 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
64997 into tail calls.
64998 (update_get_addr): New function.
64999 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
65000 GET_ADDR_MODULE parameter.
65001
65002 2012-01-30 Joseph Myers <joseph@codesourcery.com>
65003
65004 * crypt/cert.c: Remove __STDC__ conditionals.
65005 * crypt/crypt-entry.c: Likewise.
65006 * crypt/crypt_util.c: Likewise.
65007 * libio/filedoalloc.c: Likewise.
65008 * libio/fileops.c: Likewise.
65009 * libio/genops.c: Likewise.
65010 * libio/iofclose.c: Likewise.
65011 * libio/iofdopen.c: Likewise.
65012 * libio/iofopen.c: Likewise.
65013 * libio/iofopen64.c: Likewise.
65014 * libio/iogetdelim.c: Likewise.
65015 * libio/iopopen.c: Likewise.
65016 * libio/obprintf.c: Likewise.
65017 * libio/oldfileops.c: Likewise.
65018 * libio/oldiofclose.c: Likewise.
65019 * libio/oldiofdopen.c: Likewise.
65020 * libio/oldiofopen.c: Likewise.
65021 * libio/oldiopopen.c: Likewise.
65022 * libio/wfiledoalloc.c: Likewise.
65023 * libio/wgenops.c: Likewise.
65024 * locale/programs/xmalloc.c: Likewise.
65025 * misc/syslog.c: Likewise.
65026 * stdio-common/xbug.c: Likewise.
65027 * string/memchr.c: Likewise.
65028 * string/memcmp.c: Likewise.
65029 * string/memrchr.c: Likewise.
65030 * string/rawmemchr.c: Likewise.
65031 * sysdeps/posix/getcwd.c: Likewise.
65032 * time/strftime_l.c: Likewise.
65033
65034 2012-01-30 Joseph Myers <joseph@codesourcery.com>
65035
65036 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
65037 * config.make.in (config-cflags-sse2avx): Define.
65038 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
65039 Fix typo.
65040
65041 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
65042
65043 * scripts/config.guess: Update from upstream config git repository.
65044 * scripts/config.sub: Likewise.
65045
65046 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
65047
65048 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
65049 (EM_NUM): Update.
65050 (R_TILEPRO_*, R_TILEGX_*): New macros.
65051
65052 * scripts/firstversions.awk: Fix bug in version range handling.
65053
65054 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
65055
65056 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
65057
65058 * include/sys/epoll.h: New file.
65059 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
65060 libc_hidden_def.
65061
65062 2012-01-28 Ulrich Drepper <drepper@gmail.com>
65063
65064 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
65065 Avoid unnecessary __WORDSIZE == 64 test.
65066 (fmaxf): Use VEX format if possible.
65067 (fmax): Likewise.
65068 (fminf): Likewise.
65069 (fmin): Likewise.
65070
65071 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
65072 * math/math_private.h: Remove libc_fegetround* and
65073 libc_fesetround*.
65074 * sysdeps/i386/configure.in: Check for -msse2avx.
65075 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
65076 also if SSE2AVX is defined.
65077 Remove libc_fegetround* and libc_fesetround*.
65078 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
65079 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
65080 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
65081 of HAS_YMM_USABLE.
65082 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65083 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65084 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65085 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65086 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65087
65088 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
65089
65090 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65091
65092 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
65093 size is not set.
65094 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65095
65096 2012-01-27 Ulrich Drepper <drepper@gmail.com>
65097
65098 [BZ #13618]
65099 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
65100 relocation.
65101 * Makeconfig (libm): Define.
65102 * elf/Makefile: Add rules to build and run tst-relsort1.
65103 * elf/tst-relsort1.c: New file.
65104 * elf/tst-relsort1mod1.c: New file.
65105 * elf/tst-relsort1mod2.c: New file.
65106
65107 2012-01-27 Joseph Myers <joseph@codesourcery.com>
65108
65109 * math/s_ldexp.c: Remove __STDC__ conditionals.
65110 * math/s_ldexpf.c: Likewise.
65111 * math/s_ldexpl.c: Likewise.
65112 * math/s_nextafter.c: Likewise.
65113 * math/s_nexttowardf.c: Likewise.
65114 * math/s_significand.c: Likewise.
65115 * math/s_significandf.c: Likewise.
65116 * math/s_significandl.c: Likewise.
65117 * math/w_jnl.c: Likewise.
65118 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65119 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65120 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65121 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65122 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65123 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65124 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
65125 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65126 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65127 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65128 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65129 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65130 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65131 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65132 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65133 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65134 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65135 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65136 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65137 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65138 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65139 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65140 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65141 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65142 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65143 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65144 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65145 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65146 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
65147 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65148 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65149 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
65150 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65151 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
65152 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
65153 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65154 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
65155 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
65156 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
65157 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
65158 * sysdeps/ieee754/k_standard.c: Likewise.
65159 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65160 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65161 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
65162 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
65163 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
65164 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
65165 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65166 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
65167 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
65168 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
65169 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
65170 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
65171 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
65172 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
65173 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
65174 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
65175 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
65176 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65177 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65178 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
65179 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65180 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65181 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
65182 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
65183 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65184 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
65185 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65186 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65187 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65188 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
65189 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
65190 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
65191 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
65192 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
65193 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
65194 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
65195 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
65196 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
65197 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
65198 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
65199 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
65200 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
65201 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
65202 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
65203 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
65204 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
65205 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65206 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65207 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
65208 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
65209 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
65210 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65211 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65212 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
65213 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
65214 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
65215 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
65216 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65217 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65218 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65219 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
65220 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
65221 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
65222 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65223 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
65224 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
65225 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
65226 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
65227 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
65228 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
65229 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
65230 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
65231 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
65232 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
65233 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
65234 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
65235 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
65236 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
65237 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
65238 * sysdeps/ieee754/s_matherr.c: Likewise.
65239 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
65240 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
65241 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65242 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65243
65244 2012-01-26 Joseph Myers <joseph@codesourcery.com>
65245
65246 * crypt/md5.h: Remove __STDC__ conditionals.
65247 * libio/libioP.h: Likewise.
65248 * locale/programs/config.h: Likewise.
65249 * sysdeps/generic/sysdep.h: Likewise.
65250 * sysdeps/i386/asm-syntax.h: Likewise.
65251 * sysdeps/s390/asm-syntax.h: Likewise.
65252 * sysdeps/unix/sysdep.h: Likewise.
65253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
65254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65255
65256 2012-01-26 Joseph Myers <joseph@codesourcery.com>
65257
65258 * libio/libio.h: Remove __STDC__ conditionals.
65259 * malloc/obstack.h: Likewise.
65260 * math/complex.h: Likewise.
65261 * math/math.h: Likewise.
65262 * sysdeps/generic/_G_config.h: Likewise.
65263 * sysdeps/gnu/_G_config.h: Likewise.
65264 * sysdeps/mach/hurd/_G_config.h: Likewise.
65265 * sysdeps/powerpc/bits/mathdef.h: Likewise.
65266 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65267 * sysdeps/sparc/bits/mathdef.h: Likewise.
65268
65269 2012-01-26 Ulrich Drepper <drepper@gmail.com>
65270
65271 [BZ #13583]
65272 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
65273 Clean up HAS_* macros.
65274 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
65275 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
65276 possible.
65277 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
65278 HAS_AVX.
65279 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65280 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65281 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65282 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65283 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65284
65285 2012-01-25 Joseph Myers <joseph@codesourcery.com>
65286
65287 * elf/tst-unique3.cc (gets): Remove declaration.
65288 * elf/tst-unique3lib.cc (gets): Likewise.
65289 * elf/tst-unique3lib2.cc (gets): Likewise.
65290 * elf/tst-unique4.cc (gets): Likewise.
65291
65292 2012-01-24 Ulrich Drepper <drepper@gmail.com>
65293
65294 * include/stdio.h: Add C++ protection. Add gets declarations and
65295 definitions.
65296 * debug/tst-chk1.c: Don't declare gets here.
65297 * stdio-common/tst-gets.c: Likewise.
65298
65299 2012-01-24 Joseph Myers <joseph@codesourcery.com>
65300
65301 * posix/glob: Remove directory.
65302
65303 2012-01-24 Joseph Myers <joseph@codesourcery.com>
65304
65305 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
65306
65307 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
65308
65309 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
65310 of the non-standard EPFNOSUPPORT.
65311
65312 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
65313
65314 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
65315 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
65316 ANYWHERE set to 1 only on KERN_NO_SPACE error.
65317
65318 2012-01-21 Ulrich Drepper <drepper@gmail.com>
65319
65320 * wcsmbs/uchar.h: Test __STDC_VERSION__.
65321
65322 2012-01-20 Ulrich Drepper <drepper@gmail.com>
65323
65324 * nscd/aicache.c (addhstaiX): Do not cache negative results of
65325 transient errors.
65326 * nscd/grpcache.c (cache_addgr): Likewise.
65327 * nscd/hstcache.c (cache_addhst): Likewise.
65328 * nscd/initgrcache.c (addinitgroupsX): Likewise.
65329 * nscd/pwdcache.c (cache_addpw): Likewise.
65330 * nscd/servicescache.c (cache_addserv): Likewise.
65331
65332 2012-01-16 Ulrich Drepper <drepper@gmail.com>
65333
65334 * malloc/malloc.c: Various cleanups.
65335 * malloc/hooks.c: Likewise.
65336
65337 * stdlib/Makefile (tests): Add bug-fmtmsg1.
65338 * stdlib/bug-fmtmsg1.c: New file.
65339
65340 * stdlib/fmtmsg.c (init): Add missing unlock.
65341 Patch by Peng Haitao <penght@cn.fujitsu.com>.
65342
65343 2012-01-12 Marek Polacek <polacek@redhat.com>
65344
65345 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
65346 and _GNU_SOURCE.
65347
65348 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
65349
65350 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
65351 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
65352 macro to ensure uniqueness of label name.
65353 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
65354 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
65355
65356 2012-01-11 Ulrich Drepper <drepper@gmail.com>
65357
65358 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
65359
65360 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
65361 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
65362 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
65363 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
65364
65365 2012-01-10 Ulrich Drepper <drepper@gmail.com>
65366
65367 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
65368
65369 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
65370 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
65371 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
65372
65373 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
65374
65375 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
65376 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
65377 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
65378 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
65379
65380 * math/bits/math-finite.h: Add ldexp support.
65381
65382 2012-01-10 Marek Polacek <polacek@redhat.com>
65383
65384 * locale/programs/localedef.h (show_archive_content): Add noreturn
65385 attribute.
65386
65387 2012-01-09 Ulrich Drepper <drepper@gmail.com>
65388
65389 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
65390
65391 2012-01-08 Ulrich Drepper <drepper@gmail.com>
65392
65393 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
65394
65395 * io/Makefile (headers): Add bits/poll2.h.
65396
65397 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
65398
65399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
65400 typo #include statement.
65401
65402 2012-01-08 Ulrich Drepper <drepper@gmail.com>
65403
65404 * include/sys/cdefs.h: Define __attribute_alloc_size.
65405 * catgets/gencat.c: Add alloc_size attribute and apply consistently
65406 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
65407 * elf/pldd.c: Likewise.
65408 * iconv/iconv_charmap.c: Likewise.
65409 * iconv/iconvconfig.c: Likewise.
65410 * iconv/strtab.c: Likewise.
65411 * locale/programs/locale.c: Likewise.
65412 * locale/programs/localedef.h: Likewise.
65413 * locale/programs/simple-hash.c: Likewise.
65414 * nscd/nscd.h: Likewise.
65415 * nss/makedb.c: Likewise.
65416 * sysdeps/generic/ldconfig.h: Likewise.
65417 * locale/programs/localedef.c: Remove xmalloc prototype.
65418 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
65419
65420 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
65421
65422 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
65423 appropriate.
65424
65425 2012-01-08 Ulrich Drepper <drepper@gmail.com>
65426
65427 * math/Makefile (tests): Add tst-CMPLX.
65428 * math/tst-CMPLX.c: New file.
65429
65430 * math/complex.h (CMPLXL): Fix typo.
65431
65432 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
65433 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
65434 GLIBC_2.16.
65435 * debug/tst-chk1.c: Add poll and ppoll tests.
65436 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
65437 * include/sys/poll.h: Add hidden proto for ppoll.
65438 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
65439 * sysdeps/mach/hurd/ppoll.c: Likewise.
65440 * io/ppoll.c: Likewise.
65441 * debug/poll_chk.c: New file.
65442 * debug/ppoll_chk.c: New file.
65443 * include/bits/poll2.h: New file.
65444 * io/bits/poll2.h: New file.
65445
65446 [BZ #1350]
65447 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
65448
65449 * configure.in: static is always set to yes. Remove.
65450 * config.make.in: Don't set build-static.
65451 * Makeconfig: Remove use of build-static.
65452 * dlfcn/Makefile: Likewise.
65453 * elf/Makefile: Likewise.
65454 * math/Makefile: Likewise.
65455 * misc/Makefile: Likewise.
65456 * nptl/Makefile: Likewise.
65457 * sysdeps/mach/hurd/Makefile: Likewise.
65458
65459 * configure.in: PWD_P is not used anymore.
65460 * config.make.in: Remove PWD_P entry.
65461
65462 * configure.in: Remove last remnants of RANLIB.
65463 No need to check for signed size_t anymore.
65464 Don't set libc_commonpagesize and libc_relro_required here for Alpha
65465 and IA-64.
65466 Remove __builtin_expect test because we require at least gcc 3.4.
65467 * aclocal.m4: Likewise.
65468
65469 * wcsmbs/mbrtoc16.c: Implement using towc function.
65470 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
65471 * wcsmbs/wcsmbsload.c: Likewise.
65472 * iconv/gconv_simple.c: Likewise.
65473 * iconv/gconv_int.h: Likewise.
65474 * iconv/gconv_builtin.h: Likewise.
65475 * iconv/iconv_prog.c: Remove CHAR16 handling.
65476
65477 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
65478
65479 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
65480
65481 * configure.in: Remove --with-elf and --enable-bounded options.
65482 Dont set base_machine for ia64. More non-ELF conditions removed.
65483 Remove testing and setting of leading underscore information.
65484 * config.make.in (build-bounded): Set to no.
65485 * config.h.in: Remove NO_UNDERSCORES entry.
65486 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
65487 them.
65488 * csu/start.c: Remove !NO_UNDERSCORE code.
65489 * locale/localeinfo.h: Likewise.
65490 * sysdeps/generic/machine-gmon.h: Likewise.
65491 * sysdeps/generic/sysdep.h: Likewise.
65492 * sysdeps/i386/sysdep.h: Likewise.
65493 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65494 * sysdeps/mach/sysdep.h: Likewise.
65495 * sysdeps/s390/s390-32/sysdep.h: Likewise.
65496 * sysdeps/s390/s390-64/sysdep.h: Likewise.
65497 * sysdeps/sh/sysdep.h: Likewise.
65498 * sysdeps/sparc/sparc32/alloca.S: Likewise.
65499 * sysdeps/unix/i386/sysdep.S: Likewise.
65500 * sysdeps/unix/sparc/start.c: Likewise.
65501 * sysdeps/unix/sparc/sysdep.S: Likewise.
65502 * sysdeps/unix/sparc/sysdep.h: Likewise.
65503 * sysdeps/unix/start.c: Likewise.
65504 * sysdeps/unix/x86_64/sysdep.S: Likewise.
65505 * sysdeps/x86_64/sysdep.h: Likewise.
65506
65507 2012-01-07 Ulrich Drepper <drepper@gmail.com>
65508
65509 [BZ #13553]
65510 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
65511 for non-gcc.
65512 * argp/argp-fmtstream.h: Use const instead __const.
65513 * argp/argp.h: Likewise.
65514 * assert/assert.h: Likewise.
65515 * bits/fenv.h: Likewise.
65516 * bits/sched.h: Likewise.
65517 * bits/sigset.h: Likewise.
65518 * bits/sigthread.h: Likewise.
65519 * catgets/nl_types.h: Likewise.
65520 * conform/data/pthread.h-data: Likewise.
65521 * crypt/crypt-private.h: Likewise.
65522 * crypt/crypt.h: Likewise.
65523 * crypt/crypt_util.c: Likewise.
65524 * ctype/ctype.h: Likewise.
65525 * debug/execinfo.h: Likewise.
65526 * debug/mbsnrtowcs_chk.c: Likewise.
65527 * debug/mbsrtowcs_chk.c: Likewise.
65528 * debug/wcsnrtombs_chk.c: Likewise.
65529 * debug/wcsrtombs_chk.c: Likewise.
65530 * debug/wcstombs_chk.c: Likewise.
65531 * dirent/dirent.h: Likewise.
65532 * dlfcn/dlfcn.h: Likewise.
65533 * elf/neededtest4.c: Likewise.
65534 * grp/grp.h: Likewise.
65535 * gshadow/gshadow.h: Likewise.
65536 * iconv/gconv.h: Likewise.
65537 * iconv/gconv_int.h: Likewise.
65538 * iconv/gconv_simple.c: Likewise.
65539 * iconv/iconv.h: Likewise.
65540 * iconv/loop.c: Likewise.
65541 * iconv/skeleton.c: Likewise.
65542 * include/aio.h: Likewise.
65543 * include/aliases.h: Likewise.
65544 * include/argz.h: Likewise.
65545 * include/arpa/inet.h: Likewise.
65546 * include/assert.h: Likewise.
65547 * include/dirent.h: Likewise.
65548 * include/dlfcn.h: Likewise.
65549 * include/execinfo.h: Likewise.
65550 * include/fcntl.h: Likewise.
65551 * include/fenv.h: Likewise.
65552 * include/glob.h: Likewise.
65553 * include/grp.h: Likewise.
65554 * include/libintl.h: Likewise.
65555 * include/mntent.h: Likewise.
65556 * include/netdb.h: Likewise.
65557 * include/pwd.h: Likewise.
65558 * include/rpc/netdb.h: Likewise.
65559 * include/sched.h: Likewise.
65560 * include/search.h: Likewise.
65561 * include/shadow.h: Likewise.
65562 * include/signal.h: Likewise.
65563 * include/stdio.h: Likewise.
65564 * include/stdlib.h: Likewise.
65565 * include/string.h: Likewise.
65566 * include/sys/socket.h: Likewise.
65567 * include/sys/stat.h: Likewise.
65568 * include/sys/statfs.h: Likewise.
65569 * include/sys/statvfs.h: Likewise.
65570 * include/sys/syslog.h: Likewise.
65571 * include/sys/time.h: Likewise.
65572 * include/sys/uio.h: Likewise.
65573 * include/time.h: Likewise.
65574 * include/unistd.h: Likewise.
65575 * include/utmp.h: Likewise.
65576 * include/wchar.h: Likewise.
65577 * include/wctype.h: Likewise.
65578 * inet/aliases.h: Likewise.
65579 * inet/arpa/inet.h: Likewise.
65580 * inet/netinet/ether.h: Likewise.
65581 * inet/netinet/in.h: Likewise.
65582 * intl/libintl.h: Likewise.
65583 * io/bits/fcntl2.h: Likewise.
65584 * io/fcntl.h: Likewise.
65585 * io/ftw.h: Likewise.
65586 * io/sys/poll.h: Likewise.
65587 * io/sys/stat.h: Likewise.
65588 * io/sys/statfs.h: Likewise.
65589 * io/sys/statvfs.h: Likewise.
65590 * io/utime.h: Likewise.
65591 * libio/bits/stdio.h: Likewise.
65592 * libio/bits/stdio2.h: Likewise.
65593 * libio/libio.h: Likewise.
65594 * libio/libioP.h: Likewise.
65595 * libio/stdio.h: Likewise.
65596 * locale/lc-ctype.c: Likewise.
65597 * locale/locale.h: Likewise.
65598 * login/utmp.h: Likewise.
65599 * malloc/arena.c: Likewise.
65600 * malloc/malloc.c: Likewise.
65601 * malloc/malloc.h: Likewise.
65602 * malloc/mcheck.c: Likewise.
65603 * malloc/mtrace.c: Likewise.
65604 * math/bits/mathcalls.h: Likewise.
65605 * math/fenv.h: Likewise.
65606 * math/math_private.h: Likewise.
65607 * misc/bits/error.h: Likewise.
65608 * misc/bits/syslog.h: Likewise.
65609 * misc/err.h: Likewise.
65610 * misc/error.h: Likewise.
65611 * misc/fstab.h: Likewise.
65612 * misc/mntent.h: Likewise.
65613 * misc/regexp.h: Likewise.
65614 * misc/search.h: Likewise.
65615 * misc/sgtty.h: Likewise.
65616 * misc/sys/mman.h: Likewise.
65617 * misc/sys/syslog.h: Likewise.
65618 * misc/sys/uio.h: Likewise.
65619 * misc/sys/xattr.h: Likewise.
65620 * misc/ttyent.h: Likewise.
65621 * nis/rpcsvc/ypclnt.h: Likewise.
65622 * nss/nss.h: Likewise.
65623 * posix/bits/unistd.h: Likewise.
65624 * posix/fnmatch.h: Likewise.
65625 * posix/glob.h: Likewise.
65626 * posix/sched.h: Likewise.
65627 * posix/spawn.h: Likewise.
65628 * posix/sys/wait.h: Likewise.
65629 * posix/unistd.h: Likewise.
65630 * posix/wordexp.h: Likewise.
65631 * pwd/pwd.h: Likewise.
65632 * resolv/netdb.h: Likewise.
65633 * resource/sys/resource.h: Likewise.
65634 * rt/aio.h: Likewise.
65635 * rt/bits/mqueue2.h: Likewise.
65636 * rt/mqueue.h: Likewise.
65637 * shadow/shadow.h: Likewise.
65638 * signal/signal.h: Likewise.
65639 * socket/send.c: Likewise.
65640 * socket/sendto.c: Likewise.
65641 * socket/sys/socket.h: Likewise.
65642 * stdio-common/printf.h: Likewise.
65643 * stdlib/bits/stdlib.h: Likewise.
65644 * stdlib/fmtmsg.h: Likewise.
65645 * stdlib/monetary.h: Likewise.
65646 * stdlib/stdlib.h: Likewise.
65647 * stdlib/ucontext.h: Likewise.
65648 * streams/stropts.h: Likewise.
65649 * string/argz.h: Likewise.
65650 * string/bits/string2.h: Likewise.
65651 * string/string.h: Likewise.
65652 * string/strings.h: Likewise.
65653 * sunrpc/rpc/auth.h: Likewise.
65654 * sunrpc/rpc/auth_des.h: Likewise.
65655 * sunrpc/rpc/clnt.h: Likewise.
65656 * sunrpc/rpc/netdb.h: Likewise.
65657 * sunrpc/rpc/pmap_clnt.h: Likewise.
65658 * sunrpc/rpc/xdr.h: Likewise.
65659 * sysdeps/generic/inttypes.h: Likewise.
65660 * sysdeps/generic/net/if.h: Likewise.
65661 * sysdeps/generic/sys/swap.h: Likewise.
65662 * sysdeps/gnu/net/if.h: Likewise.
65663 * sysdeps/gnu/utmpx.h: Likewise.
65664 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
65665 * sysdeps/i386/i486/bits/string.h: Likewise.
65666 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
65667 * sysdeps/s390/bits/string.h: Likewise.
65668 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
65669 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
65670 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
65671 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
65672 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
65673 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
65674 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
65675 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
65676 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
65677 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
65678 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
65679 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65680 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
65681 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65682 * sysdeps/unix/sysv/linux/readv.c: Likewise.
65683 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
65684 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
65685 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65686 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
65687 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
65688 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65689 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
65690 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
65691 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
65692 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
65693 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
65694 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
65695 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65696 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
65697 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
65698 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
65699 * sysvipc/sys/ipc.h: Likewise.
65700 * sysvipc/sys/msg.h: Likewise.
65701 * sysvipc/sys/sem.h: Likewise.
65702 * sysvipc/sys/shm.h: Likewise.
65703 * termios/termios.h: Likewise.
65704 * time/sys/time.h: Likewise.
65705 * time/time.h: Likewise.
65706 * wcsmbs/bits/wchar2.h: Likewise.
65707 * wcsmbs/uchar.h: Likewise.
65708 * wcsmbs/wchar.h: Likewise.
65709 * wctype/wctype.h: Likewise.
65710
65711 [BZ #13551]
65712 * Makeconfig: Remove all but ELF support including AIX support.
65713 * Makerules: Likewise.
65714 * config.h.in: Likewise.
65715 * config.make.in: Likewise.
65716 * configure: Likewise.
65717 * configure.in: Likewise.
65718 * csu/Makefile: Likewise.
65719 * csu/version.c: Likewise.
65720 * debug/Makefile: Likewise.
65721 * dlfcn/Makefile: Likewise.
65722 * elf/Makefile: Likewise.
65723 * extra-lib.mk: Likewise.
65724 * iconv/Makefile: Likewise.
65725 * include/libc-symbols.h: Likewise.
65726 * include/shlib-compat.h: Likewise.
65727 * resolv/Makefile: Likewise.
65728 * resolv/res_libc.c: Likewise.
65729 * rt/Makefile: Likewise.
65730 * sysdeps/i386/asm-syntax.h: Likewise.
65731 * sysdeps/i386/sysdep.h: Likewise.
65732 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65733 * sysdeps/mach/sysdep.h: Likewise.
65734 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
65735 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
65736 * sysdeps/s390/asm-syntax.h: Likewise.
65737 * sysdeps/s390/s390-32/sysdep.h: Likewise.
65738 * sysdeps/s390/s390-64/sysdep.h: Likewise.
65739 * sysdeps/sh/sysdep.h: Likewise.
65740 * sysdeps/unix/sparc/sysdep.h: Likewise.
65741 * sysdeps/wordsize-32/divdi3.c: Likewise.
65742 * sysdeps/x86_64/sysdep.h: Likewise.
65743
65744 * argp/Versions: Remove _argp_unlock_xxx.
65745
65746 [BZ #13559]
65747 * abilist/ld.abilist: Update. Adjust for removal of tls option.
65748 * abilist/libBrokenLocale.abilist: Likewise.
65749 * abilist/libanl.abilist: Likewise.
65750 * abilist/libc.abilist: Likewise.
65751 * abilist/libcrypt.abilist: Likewise.
65752 * abilist/libdl.abilist: Likewise.
65753 * abilist/libm.abilist: Likewise.
65754 * abilist/libnsl.abilist: Likewise.
65755 * abilist/libpthread.abilist: Likewise.
65756 * abilist/libresolv.abilist: Likewise.
65757 * abilist/librt.abilist: Likewise.
65758 * abilist/libthread_db.abilist: Likewise.
65759 * abilist/libutil.abilist: Likewise.
65760 * abilist/libnss_db.abilist: New file.
65761
65762 * scripts/abilist.awk: Add support for indirect functions.
65763
65764 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
65765
65766 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
65767
65768 * shlib-versions: Remove entries for ports architectures.
65769
65770 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
65771 files in ports.
65772 * elf/stackguard-macros.h: Remove support for IA-64.
65773 * elf/tst-auditmod1.c: Likewise.
65774 * sysdeps/generic/ldsodefs.h: Likewise.
65775
65776 * sysdeps/unix/sysv/linux/configure.in: Ports should define
65777 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
65778 configure files.
65779
65780 [BZ #13552]
65781 * configure.in: Remove --enable-omitfp support.
65782 * FAQ.in: Adjust.
65783 * config.make.in: Likewise.
65784 * Makeconfig: Likewise.
65785 * manual/install.texi: Likewise.
65786
65787 In case anyone cares, the IA-64 architecture could move to ports.
65788 * sysdeps/ia64/*: Removed.
65789 * sysdeps/unix/sysv/linux/ia64/*: Removed.
65790 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
65791
65792 [BZ #13555]
65793 * configure.in: Remove entries for unsupported architectures.
65794
65795 [BZ #13533]
65796 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
65797 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
65798 routines.
65799 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
65800 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
65801 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
65802 fall back to using wcrtomb.
65803 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
65804 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
65805 renaming.
65806 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
65807 * wcsmbs/tst-c16c32-1.c: New file.
65808
65809 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
65810 local variable.
65811
65812 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
65813
65814 * elf/tst-unique3.cc: Add explicit declaration of gets.
65815 * elf/tst-unique3lib.cc: Likewise.
65816 * elf/tst-unique3lib2.cc: Likewise.
65817 * elf/tst-unique4.cc: Likewise.
65818
65819 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
65820
65821 2012-01-06 Joseph Myers <joseph@codesourcery.com>
65822
65823 [BZ #13566]
65824 * assert/assert.h (static_assert): Don't define for C++.
65825 * libio/stdio.h (gets): Do declare for C++ <= C++11.
65826 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
65827
65828 2012-01-03 Ulrich Drepper <drepper@gmail.com>
65829
65830 * iconv/loop.c (single loop): Fix assertion in storing of
65831 remaining bytes.
65832
65833 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
65834
65835 2012-01-01 Ulrich Drepper <drepper@gmail.com>
65836
65837 * posix/getconf.c: Update copyright year.
65838 * nss/getent.c: Likewise.
65839 * nss/makedb.c: Likewise.
65840 * iconv/iconvconfig.c: Likewise.
65841 * iconv/iconv_prog.c: Likewise.
65842 * elf/ldconfig.c: Likewise.
65843 * elf/pldd.c: Likewise.
65844 * elf/sotruss.ksh: Likewise.
65845 * catgets/gencat.c: Likewise.
65846 * csu/version.c: Likewise.
65847 * elf/ldd.bash.in: Likewise.
65848 * elf/sprof.c (print_version): Likewise.
65849 * locale/programs/locale.c: Likewise.
65850 * locale/programs/localedef.c: Likewise.
65851 * login/programs/pt_chown.c: Likewise.
65852 * nscd/nscd.c (print_version): Likewise.
65853 * debug/xtrace.sh: Likewise.
65854 * malloc/memusage.sh: Likewise.
65855 * malloc/mtrace.pl: Likewise.
65856 * debug/catchsegv.sh: Likewise.
65857
65858 2011-12-30 Jakub Jelinek <jakub@redhat.com>
65859
65860 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
65861 pure attribute.
65862
65863 2011-12-24 Ulrich Drepper <drepper@gmail.com>
65864
65865 [BZ #13533]
65866 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
65867 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
65868 transformations.
65869 * iconv/gconv_int.h: Likewise.
65870 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
65871 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
65872 from libc for GLIBC_2.16.
65873 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
65874 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
65875 * wcsmbs/uchar.h: Really define mbstate_t.
65876 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
65877 * wcsmbs/c16rtomb.c: New file.
65878 * wcsmbs/mbrtoc16.c: New file.
65879 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
65880 for C/POSIX locale.
65881 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
65882 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
65883
65884 * wcsmbs/wchar.h: Add missing __restrict.
65885
65886 2011-12-23 Ulrich Drepper <drepper@gmail.com>
65887
65888 [BZ #13532]
65889 * time/Makefile (routines): Add timespec_get.
65890 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
65891 * time/time.h: Define TIME_UTC and declare timespec_get. Define
65892 timespec for ISO C11.
65893 * time/timespec_get.c: New file.
65894 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
65895 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
65896
65897 [BZ #13531]
65898 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
65899 * stdlib/stdlib.h: Declare aligned_alloc.
65900 * Versions.def: Add GLIBC_2.16 for libc.
65901 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
65902
65903 [BZ 13527]
65904 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
65905 ISO C11.
65906
65907 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
65908 code.
65909
65910 [BZ #13528]
65911 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
65912
65913 [BZ #13529]
65914 * assert/assert.h (static_assert): Define.
65915
65916 * version.h: Update for 2.16 development version.
65917
65918 [BZ #13526]
65919 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
65920 _ISOC11_SOURCE.
65921
65922 * version.h (RELEASE): Bump for 2.15 release.
65923 * include/features.h (__GLIBC_MINOR__): Bump to 15.
65924
65925 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
65926 Patch by Marek Polacek <mpolacek@redhat.com>.
65927
65928 * bits/byteswap.h: Protect long long constants with __extension__.
65929 * sysdeps/i386/bits/byteswap.h: Likewise.
65930 * sysdeps/ia64/bits/byteswap.h: Likewise.
65931 * sysdeps/s390/bits/byteswap.h: Likewise.
65932 * sysdeps/x86_64/bits/byteswap.h: Likewise.
65933
65934 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65935
65936 [BZ #13540]
65937 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
65938 destination buffer.
65939 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
65940
65941 2011-12-23 Marek Polacek <polacek@redhat.com>
65942
65943 * elf/dl-addr.c (determine_info): Add inline keyword.
65944 * elf/tst-auditmod4b.c (check_avx): Likewise.
65945 * elf/tst-auditmod6b.c (check_avx): Likewise.
65946 * elf/tst-auditmod6c.c (check_avx): Likewise.
65947 * elf/tst-auditmod7b.c (check_avx): Likewise.
65948
65949 2011-12-23 Ulrich Drepper <drepper@gmail.com>
65950
65951 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
65952 !__SSE_MATH__.
65953
65954 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65955
65956 [BZ #13540]
65957 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
65958 processing for last bytes.
65959
65960 2011-08-06 Bruno Haible <bruno@clisp.org>
65961
65962 [BZ #13061]
65963 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
65964 U+0385, not to U+1FEE.
65965
65966 [BZ #13062]
65967 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
65968 entry for U+00A5 U+0301.
65969
65970 2011-12-22 Ulrich Drepper <drepper@gmail.com>
65971
65972 [BZ #13166]
65973 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
65974 buffer for the output is too small.
65975
65976 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
65977 optimization.
65978
65979 [BZ #13185]
65980 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
65981 SSE flags if possible.
65982
65983 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65984
65985 [BZ #13540]
65986 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
65987 processing for last bytes.
65988
65989 2011-12-22 Joseph Myers <joseph@codesourcery.com>
65990
65991 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
65992 (syscall-list-default-options, syscall-list-default-condition)
65993 (syscall-list-includes): Define.
65994 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
65995 list of ABIs and options and #if conditions for each ABI. Do not
65996 handle common syscalls between ABIs specially.
65997 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
65998 Remove.
65999 (syscall-list-variants, syscall-list-32bit-options)
66000 (syscall-list-32bit-condition, syscall-list-64bit-options)
66001 (syscall-list-64bit-condition): Define.
66002 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
66003 (syscall-list-variants, syscall-list-32bit-options)
66004 (syscall-list-32bit-condition, syscall-list-64bit-options)
66005 (syscall-list-64bit-condition): Define.
66006 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
66007 Remove.
66008 (syscall-list-variants, syscall-list-32bit-options)
66009 (syscall-list-32bit-condition, syscall-list-64bit-options)
66010 (syscall-list-64bit-condition): Define.
66011 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
66012 Remove.
66013 (syscall-list-variants, syscall-list-32bit-options)
66014 (syscall-list-32bit-condition, syscall-list-64bit-options)
66015 (syscall-list-64bit-condition): Define.
66016
66017 2011-12-22 Ulrich Drepper <drepper@gmail.com>
66018
66019 * locale/iso-639.def: Add brx entry.
66020
66021 [BZ #13328]
66022 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
66023 Proposed by Mariusz_Cukr <marcukr@op.pl>.
66024
66025 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
66026 __feraiseexcept_renamed.
66027
66028 2011-12-21 Ulrich Drepper <drepper@gmail.com>
66029
66030 [BZ #13538]
66031 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
66032 EPOLLET with unsigned values.
66033 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66034 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66035
66036 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
66037 to large cancellation.
66038 * math/s_cacoshf.c: Likewise.
66039 * math/s_cacoshl.c: Likewise.
66040
66041 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
66042
66043 [BZ #13305]
66044 [BZ #12786]
66045 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
66046 * math/s_cacoshf.c: Likewise.
66047 * math/s_cacoshl.c: Likewise.
66048
66049 2011-12-21 Ulrich Drepper <drepper@gmail.com>
66050
66051 [BZ #13439]
66052 * iconv/gconv.h: Define __GCONV_SWAP.
66053 * iconvdata/unicode.c: The swap bit must be stored in __flags.
66054 * iconvdata/utf-16.c: Likewise.
66055 * iconvdata/utf-32.c: Likewise.
66056
66057 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
66058
66059 [BZ #13524]
66060 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
66061 numerator after shifting it by one limb.
66062
66063 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
66064
66065 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
66066 under [__USE_EXTERN_INLINES].
66067
66068 2011-12-17 Ulrich Drepper <drepper@gmail.com>
66069
66070 [BZ #13446]
66071 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
66072
66073 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66074
66075 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
66076 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
66077 optimized code.
66078 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
66079 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
66080 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
66081 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
66082 for strncasecmp/strncasecmp_l compilation.
66083 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
66084 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
66085
66086 2011-12-08 Marek Polacek <mpolacek@redhat.com>
66087
66088 [BZ #13484]
66089 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
66090 of __asm__.
66091
66092 2011-12-17 Ulrich Drepper <drepper@gmail.com>
66093
66094 [BZ #13506]
66095 * time/tzfile.c (__tzfile_read): Check values from file header.
66096
66097 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
66098
66099 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
66100 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
66101 * powerpc/powerpc32/dl-start.S: Likewise.
66102 * powerpc/powerpc32/elf/start.S: Likewise.
66103 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
66104 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
66105 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
66106 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
66107 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
66108 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
66109 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
66110 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
66111 * powerpc/powerpc32/fpu/s_round.S: Likewise.
66112 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
66113 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
66114 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
66115 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
66116 * powerpc/powerpc32/memset.S: Likewise.
66117 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
66118 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66119 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66120 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66121 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66122 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
66123 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
66124 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
66125 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
66126 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
66127 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
66128 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66129 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66130
66131 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66132
66133 * math/libm-test.inc: Added more nearbyint tests.
66134 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
66135 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
66136 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
66137 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
66138
66139 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
66140
66141 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
66142 FD_CLOEXEC.
66143
66144 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66145
66146 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
66147 Add wcscpy-ssse3 wcscpy-c.
66148 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
66149 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
66150 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
66151 * sysdeps/x86_64/wcschr.S: New file.
66152 * sysdeps/x86_64/wcsrchr.S: New file.
66153 * string/test-strcmp.c: Remove checking of wcscmp function for
66154 wrong alignments.
66155 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
66156 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
66157 wcsrchr-sse2 wcsrchr-c.
66158 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
66159 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
66160 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
66161 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
66162 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
66163 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
66164 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
66165 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
66166 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
66167 * wcsmbc/wcschr.c (WCSCHR): New macro.
66168
66169 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66170
66171 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
66172 * wcsmbs/test-wcsrchr.c: New file.
66173 * string/test-strrchr.c: Add wcsrchr support.
66174 (WIDE): New macro.
66175 * wcsmbs/test-wcscpy.c: New file.
66176 * string/test-strcpy.c: Add wcscpy support.
66177 (WIDE): New macro.
66178
66179 2011-12-10 Ulrich Drepper <drepper@gmail.com>
66180
66181 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
66182 the inner loop.
66183
66184 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
66185
66186 [BZ #13472]
66187 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
66188
66189 2011-12-04 Ulrich Drepper <drepper@gmail.com>
66190
66191 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
66192 Minor optimizations.
66193
66194 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
66195 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
66196 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
66197
66198 2011-12-03 Ulrich Drepper <drepper@gmail.com>
66199
66200 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
66201 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
66202 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
66203 for gcc to avoid warnings.
66204 * inet/Makefile (tests): Add tst-checks.
66205 * inet/tst-checks.c: New file.
66206
66207 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
66208 warning.
66209
66210 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
66211 __wmemcmp_sse2.
66212
66213 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
66214 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
66215
66216 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
66217
66218 2011-12-02 Ulrich Drepper <drepper@gmail.com>
66219
66220 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
66221 problem.
66222
66223 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
66224
66225 2011-11-29 Joseph Myers <joseph@codesourcery.com>
66226
66227 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
66228 conditional on GCC version.
66229 (__arch_compare_and_exchange_val_8_acq)
66230 (__arch_compare_and_exchange_val_16_acq)
66231 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
66232 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
66233 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
66234
66235 2011-12-02 Joseph Myers <joseph@codesourcery.com>
66236
66237 * sysdeps/sh/backtrace.c: New file.
66238
66239 2011-12-02 Andreas Schwab <schwab@redhat.com>
66240
66241 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
66242 parenthesis.
66243
66244 2011-12-01 Andreas Schwab <schwab@redhat.com>
66245
66246 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
66247 falling back to utime.
66248
66249 2011-11-30 Andreas Schwab <schwab@redhat.com>
66250
66251 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
66252 expectations for float.
66253
66254 2011-11-29 Andreas Schwab <schwab@redhat.com>
66255
66256 * locale/weight.h (findidx): Add parameter len.
66257 * locale/weightwc.h (findidx): Likewise.
66258 * posix/fnmatch_loop.c (FCT): Adjust caller.
66259 * posix/regcomp.c (build_equiv_class): Likewise.
66260 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
66261 * posix/regexec.c (check_node_accept_bytes): Likewise.
66262 * string/strcoll_l.c (STRCOLL): Likewise.
66263 * string/strxfrm_l.c (STRXFRM): Likewise.
66264
66265 2011-11-17 Ulrich Drepper <drepper@gmail.com>
66266
66267 * Makefile.in: Remove CVSOPT handling.
66268 * configure.in: Remove use of AC_REVISION.
66269 * iconvdata/Makefile (distribute): No need to filter out CVS.
66270 * scripts/list-sources.sh: Remove CVS, subversion and monotone
66271 handling.
66272
66273 2011-11-16 Andreas Schwab <schwab@redhat.com>
66274
66275 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
66276 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
66277 [USE_AS_STRNCASECMP_L]: Likewise.
66278 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
66279 NO_TLS_DIRECT_SEG_REFS.
66280 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
66281 Fix argument offsets for non-PIC.
66282 [USE_AS_STRNCASECMP_L]: Likewise.
66283 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
66284 NO_TLS_DIRECT_SEG_REFS.
66285
66286 2011-11-15 Ulrich Drepper <drepper@gmail.com>
66287
66288 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
66289 O_CLOEXEC.
66290 * locale/loadlocale.c (_nl_load_locale): Likewise.
66291
66292 2011-11-15 Andreas Schwab <schwab@redhat.com>
66293
66294 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
66295 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
66296 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
66297 (SYSCALL_GETTIME): Set errno on error.
66298
66299 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
66300 count references to noai6ai_cached.
66301
66302 2011-11-15 Ulrich Drepper <drepper@gmail.com>
66303
66304 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
66305
66306 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
66307 FD_CLOEXEC for /proc/self/maps.
66308
66309 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
66310 FD_CLOEXEC for /proc/meminfo.
66311
66312 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
66313 gai.conf.
66314
66315 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
66316 FD_CLOEXEC for given file.
66317
66318 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
66319
66320 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
66321 FD_CLOEXEC for /etc/hosts.
66322 (_gethtent): Likewise.
66323
66324 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
66325
66326 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
66327 cancellation and set FD_CLOEXEC for /etc/netgroup.
66328
66329 * nss/nss_files/files-key.c (search): Don't allow cancellation when
66330 reading /etc/publickey.
66331
66332 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
66333 allow cancellation when reading /etc/group.
66334
66335 * nss/nss_files/files-alias.c (internal_setent): Don't allow
66336 cancellation.
66337 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
66338
66339 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
66340 when using data file.
66341
66342 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
66343
66344 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
66345 (write_nis_obj): Use "c" and "e" in fopen.
66346
66347 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
66348
66349 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
66350
66351 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
66352
66353 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
66354
66355 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
66356 locale.alias.
66357
66358 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
66359
66360 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
66361
66362 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
66363
66364 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
66365 file parsing and set FD_CLOEXEC.
66366
66367 2011-11-14 Ulrich Drepper <drepper@gmail.com>
66368
66369 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
66370
66371 2011-11-14 Andreas Schwab <schwab@redhat.com>
66372
66373 * malloc/arena.c (arena_get2): Don't call reused_arena when
66374 _int_new_arena failed.
66375
66376 2011-11-14 Ulrich Drepper <drepper@gmail.com>
66377
66378 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
66379 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
66380 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
66381 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
66382 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
66383 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
66384 to compile strcasecmp and strncasecmp.
66385 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
66386 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
66387
66388 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
66389
66390 2011-11-13 Ulrich Drepper <drepper@gmail.com>
66391
66392 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
66393 locale-defines.sym to gen-as-const-headers.
66394 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
66395 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
66396 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
66397 to compile strcasecmp and strncasecmp.
66398 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
66399 strcasecmp_l and strncasecmp_l.
66400 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
66401 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
66402 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
66403 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
66404 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
66405 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
66406 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
66407 * sysdeps/i386/i686/multiarch/strncase.S: New file.
66408 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
66409 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
66410 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
66411
66412 2011-11-12 Ulrich Drepper <drepper@gmail.com>
66413
66414 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
66415 result of SYSDEP_GETTIME_CPU to retval.
66416 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
66417 parameter list to macro. Remove trailing semicolon. Adjust users.
66418
66419 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
66420 variable.
66421
66422 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
66423 mantissa words.
66424 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
66425
66426 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
66427 from unused variable.
66428
66429 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
66430 DWARF definitions.
66431 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
66432 for assembling.
66433
66434 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
66435 over namespaces.
66436
66437 * sunrpc/rpc_prot.c (rejected): Fix case value.
66438
66439 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
66440 unsigned long long int to avoid warnings in shift.
66441
66442 * posix/regex_internal.c (re_string_reconstruct): Actually use result
66443 of use of trans.
66444 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
66445 variable tmp.
66446
66447 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
66448 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
66449 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
66450
66451 * nis/nis_table.c (nis_list): Use variable of correct type for
66452 result of __follow_path call.
66453
66454 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66455
66456 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
66457 of math functions ceil, trunc, floor, round, and sqrt, when
66458 avaliable on the platform.
66459 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
66460 name clash.
66461 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66462 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
66463 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
66464
66465 2011-10-30 Marek Polacek <mpolacek@redhat.com>
66466
66467 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
66468 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
66469
66470 2011-11-11 Roland McGrath <roland@hack.frob.com>
66471
66472 * include/unistd.h: Fix __readlink return type.
66473 Reported by Chris Metcalf <cmetcalf@tilera.com>.
66474
66475 2011-11-11 Ulrich Drepper <drepper@gmail.com>
66476
66477 * stdlib/ucontext.h: Undo last change for makecontext.
66478
66479 2011-11-11 Andreas Schwab <schwab@redhat.com>
66480
66481 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
66482
66483 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
66484 * setjmp/setjmp.h: Mark functions as non-leaf.
66485 * setjmp/bits/setjmp2.h: Likewise.
66486 * stdlib/ucontext.h: Likewise.
66487
66488 2011-11-10 Andreas Schwab <schwab@redhat.com>
66489
66490 * malloc/arena.c (_int_new_arena): Don't increment narenas.
66491 (reused_arena): Don't check arena limit.
66492 (arena_get2): Atomically check arena limit.
66493
66494 2011-11-08 Ulrich Drepper <drepper@gmail.com>
66495
66496 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
66497 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
66498
66499 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
66500 instructions.
66501
66502 2011-11-07 Andreas Schwab <schwab@redhat.com>
66503
66504 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
66505 handler when locking.
66506
66507 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
66508 Fix size of allocated buffer.
66509
66510 2011-11-04 Andreas Schwab <schwab@redhat.com>
66511
66512 [BZ #10103]
66513 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
66514 declarations for long double functions.
66515 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
66516
66517 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
66518
66519 2011-11-03 Andreas Schwab <schwab@redhat.com>
66520
66521 * nscd/nscd.c (main): Don't start AVC thread until credentials are
66522 installed.
66523
66524 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
66525 is disabled.
66526
66527 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
66528
66529 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
66530
66531 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
66532
66533 * include/alloca.h (stackinfo_alloca_round): Define.
66534 (extend_alloca): Use it.
66535 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
66536 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
66537 here.
66538
66539 * scripts/check-local-headers.sh: Ignore libaudit.h.
66540
66541 * nscd/Makefile (extra-objs): Make recursively expanded.
66542
66543 2011-11-01 Ulrich Drepper <drepper@gmail.com>
66544
66545 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
66546 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
66547
66548 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
66549 * posix/tst-rfc3484-2.c: Likewise.
66550 * posix/tst-rfc3484-3.c: Likewise.
66551
66552 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
66553 process_vm_writev.
66554 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
66555 process_vm_writev.
66556 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
66557 process_vm_writev from libc using GLIBC_2.15 version.
66558
66559 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
66560
66561 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
66562
66563 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
66564 stack usage.
66565
66566 2011-10-31 Ulrich Drepper <drepper@gmail.com>
66567
66568 [BZ #13367]
66569 * nss/getent.c (initgroups_keys): Show error message in case no group
66570 names are given.
66571
66572 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
66573 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
66574 __bump_nl_timestamp.
66575 * nscd/connections (nscd_init): When host database is served open
66576 netlink socket and request notification about configuration changes.
66577 (main_loop_poll): Track netlink file descriptor and bump timestamp
66578 in case data becomes available.
66579 (main_loop_epoll): Likewise.
66580 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
66581 (database_pers_head): Add extra_data fileds.
66582 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
66583 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
66584 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
66585 Adjust caller.
66586 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
66587 in6ai data, call __free_in6ai.
66588 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
66589 Add -DHAVE_NETLINK.
66590 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
66591 interface information. Reuse previous data if netlink timestamp
66592 is not changed.
66593 (__bump_nl_timestamp): New function.
66594 (__free_in6ai): New function.
66595
66596 2011-10-30 Ulrich Drepper <drepper@gmail.com>
66597
66598 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
66599 close_not_cancel_no_status here.
66600 (__check_pf): Reorganize code a bit to not call close twice if OOM.
66601
66602 2011-10-29 Ulrich Drepper <drepper@gmail.com>
66603
66604 [BZ #13276]
66605 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
66606 return value.
66607
66608 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
66609 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
66610 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
66611
66612 2011-07-03 Andreas Jaeger <aj@suse.de>
66613
66614 [BZ #10709]
66615 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
66616 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
66617 * math/libm-test.inc (sin_test): Add test case.
66618
66619 2011-10-29 Ulrich Drepper <drepper@gmail.com>
66620
66621 [BZ #13337]
66622 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
66623 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66624
66625 * elf/chroot_canon.c (chroot_canon): Cleanups.
66626
66627 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
66628
66629 [BZ #13335]
66630 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
66631 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
66632
66633 * string/test-strchr.c: Make usable for strchrnul testing.
66634 * string/test-strchrnul.c: New file.
66635 * string/Makefile (strop-tests): Add strchrnul.
66636
66637 * po/it.po: Update from translation team.
66638 * po/es.po: Likewise.
66639
66640 2011-10-28 Ulrich Drepper <drepper@gmail.com>
66641
66642 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
66643 the three constants needed as parameters. Drop the others.
66644 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
66645 __m128i_strloadu_tolower.
66646 Create and initialize variable zero and use it in all the places
66647 where _mm_setzero_si128 was used.
66648
66649 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
66650 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
66651 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
66652 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
66653 anymore.
66654 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
66655 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
66656 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
66657 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
66658 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
66659 __mpranred, __mptan.
66660 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
66661 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
66662 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
66663 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
66664 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
66665 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
66666 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
66667 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
66668 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
66669
66670 2011-10-28 Andreas Schwab <schwab@redhat.com>
66671
66672 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
66673 redefine if SHARED.
66674 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
66675
66676 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
66677 wide char related routines to wcsmbs subdir.
66678
66679 2011-10-27 Andreas Schwab <schwab@redhat.com>
66680
66681 [BZ #13344]
66682 * misc/sys/cdefs.h (__THROWNL): Define.
66683 * posix/unistd.h: Use __THREADNL instead of __THREAD
66684 for memory synchronization functions.
66685
66686 2011-10-26 Roland McGrath <roland@hack.frob.com>
66687
66688 [BZ #13349]
66689 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
66690 doesn't exist.
66691 * manual/stdio.texi (Obstack Streams): Node removed.
66692
66693 2011-10-26 Andreas Schwab <schwab@redhat.com>
66694
66695 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
66696 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66697 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66698
66699 * math/math_private.h (math_force_eval): Allow non-addressable
66700 arguments.
66701 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
66702
66703 2011-10-25 Ulrich Drepper <drepper@gmail.com>
66704
66705 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
66706 file is not needed.
66707
66708 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
66709 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
66710 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66711 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66712 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66713 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66714 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66715 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
66716 Add AVX variants.
66717 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
66718 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
66719 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
66720 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
66721 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
66722 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
66723 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
66724 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
66725 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
66726 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
66727 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
66728 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
66729 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
66730 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
66731 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
66732 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
66733 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
66734 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
66735 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
66736
66737 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
66738 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
66739
66740 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
66741 place. Use VEX encoding when compiling for AVX.
66742
66743 2011-10-25 Andreas Schwab <schwab@redhat.com>
66744
66745 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
66746 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
66747
66748 * string/test-strchr.c (do_test): Don't generate NUL bytes.
66749
66750 2011-10-25 Ulrich Drepper <drepper@gmail.com>
66751
66752 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
66753 useless if() expression.
66754 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66755 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66756 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66757 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66758 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66759 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66760 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66761 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66762 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66763 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66764 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66765 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66766 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66767 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66768 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66769 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66770 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66771 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66772 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66773
66774 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
66775
66776 2011-10-25 Andreas Schwab <schwab@redhat.com>
66777
66778 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
66779 condition.
66780 * elf/dl-fini.c (_dl_sort_fini): Likewise.
66781
66782 2011-10-25 Ulrich Drepper <drepper@gmail.com>
66783
66784 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
66785 .text section. Avoid duplicate constants.
66786 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66787 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66788 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66789 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66790 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66791 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66792 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66793 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66794 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66795 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
66796 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66797 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66798 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66799 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66800 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
66801 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66802 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
66803 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66804 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66805 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66806 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66807 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66808 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66809 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
66810 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
66811 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
66812 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
66813 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
66814 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
66815 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
66816 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
66817 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
66818 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66819 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
66820 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
66821 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
66822 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
66823 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
66824 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
66825 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
66826 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
66827 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
66828 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
66829 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
66830 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
66831
66832 2011-10-24 Ulrich Drepper <drepper@gmail.com>
66833
66834 * sysdeps/x86_64/dla.h: Move to ...
66835 * sysdeps/x86_64/fpu/dla.h: ...here.
66836 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
66837 situations. Use __builtin_fma only for gcc 4.6 and up.
66838
66839 * config.make.in: Add have-mfma4 entry.
66840 * configure.in: Substitute libc_cv_cc_fma4.
66841 * math/Makefile (dbl-only-routines): Add sincostab.
66842 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
66843 Use __sincostab not sincos.
66844 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
66845 name is a macro.
66846 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66848 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66849 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
66850 using __copysign.
66851 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
66852 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
66853 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
66854 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
66855 and __inv.
66856 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
66857 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
66858 __copysign.
66859 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
66860 define aliases when function name is a macro.
66861 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
66862 sysdeps/ieee754/dbl-64/sincos.tbl.
66863 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
66864 fma4-enabled routines.
66865 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
66866 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
66867 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
66868 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
66869 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
66870 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
66871 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
66872 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
66873 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
66874 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
66875 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
66876 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
66877 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
66878 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
66879 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
66880 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
66881 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
66882 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
66883 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
66884 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
66885 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
66886 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
66887 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
66888 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
66889 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
66890 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
66891 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
66892 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
66893 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
66894 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
66895
66896 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
66897 rename.
66898 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66899 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66900 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66901 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66902 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66903 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66904 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66905 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66906
66907 2011-10-24 Andreas Schwab <schwab@redhat.com>
66908
66909 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
66910
66911 2011-10-23 Ulrich Drepper <drepper@gmail.com>
66912
66913 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
66914
66915 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
66916 prediction.
66917 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
66918
66919 * string/strnlen.c: Don't define STRNLEN, reverse logic.
66920 Remove unused variable magic_bits.
66921 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
66922
66923 * string/strnlen.c: Define and use STRNLEN macro.
66924 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
66925 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
66926 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
66927 * wcsmbs/wcslen.c: Define and use WCSLEN.
66928 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
66929 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
66930 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
66931 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
66932 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
66933 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
66934 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66935
66936 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66937
66938 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66939 strnlen-sse2-no-bsf.
66940 Rename strlen-no-bsf to strlen-sse2-no-bsf.
66941 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
66942 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
66943 Add strnlen support.
66944 (USE_AS_STRNLEN): New macro.
66945 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
66946 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
66947 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
66948 * sysdeps/x86_64/wcslen.S: New file.
66949
66950 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
66951
66952 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66953 XMM-moves are used for copying on small sizes.
66954
66955 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66956
66957 * wcsmbs/Makefile (strop-tests): Add wcschr.
66958 * wcsmbs/test-wcschr.c: New file.
66959 * string/test-strchr.c: Update.
66960 Add wcschr support.
66961 (WIDE): New macro.
66962
66963 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66964
66965 * wcsmbs/Makefile (strop-tests): Add wcslen.
66966 * wcsmbs/test-wcslen.c: New file.
66967 * string/test-strlen.c: Update.
66968 Add wcslen support.
66969 (WIDE): New macro.
66970
66971 2011-10-23 Ulrich Drepper <drepper@gmail.com>
66972
66973 * po/it.po: Update from translation team.
66974
66975 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66976
66977 * sysdeps/x86_64/wcscmp.S: Update.
66978 Fix wrong comparison semantics.
66979 wcscmp shall use signed comparison not unsigned.
66980 Don't use substraction to avoid overflow bug.
66981 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
66982 * wcsmbc/wcscmp.c: Likewise.
66983 * string/test-strcmp.c: Likewise.
66984 Add new tests to check cases with negative values.
66985
66986 2011-10-23 Ulrich Drepper <drepper@gmail.com>
66987
66988 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
66989 * sysdeps/x86_64/dla.h: ...here. New file.
66990 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
66991 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66992 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66993 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66994 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66995 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66996 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66997 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66998 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66999
67000 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
67001
67002 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
67003 __ynl_finite aliases.
67004
67005 2011-10-22 Ulrich Drepper <drepper@gmail.com>
67006
67007 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67008
67009 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
67010 define DLA_FMA.
67011 [DLA_FMA] (EMULV): Use DLA_FMA.
67012 [DLA_FMA] (MUL12): Use EMULV.
67013 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
67014 that are not needed.
67015 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67016 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67017 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67018 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67019 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67020 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67021 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67022
67023 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
67024
67025 * math/s_nan.c: Undef __nan.
67026 * math/s_nanf.c: Undef __nanf.
67027 * math/s_nanl.c: Undef __nanl.
67028 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
67029 "math_private.h".
67030
67031 2011-10-22 Ulrich Drepper <drepper@gmail.com>
67032
67033 * math/s_catan.c: Add branch predictions.
67034 * math/s_catanf.c: Likewise.
67035 * math/s_catanh.c: Likewise.
67036 * math/s_catanhf.c: Likewise.
67037 * math/s_catanhl.c: Likewise.
67038 * math/s_catanl.c: Likewise.
67039 * math/s_cexp.c: Likewise.
67040 * math/s_cexpf.c: Likewise.
67041 * math/s_cexpl.c: Likewise.
67042 * math/s_clog.c: Likewise.
67043 * math/s_clog10.c: Likewise.
67044 * math/s_clog10f.c: Likewise.
67045 * math/s_clog10l.c: Likewise.
67046 * math/s_clogf.c: Likewise.
67047 * math/s_clogl.c: Likewise.
67048 * math/s_csqrt.c: Likewise.
67049 * math/s_csqrtf.c: Likewise.
67050 * math/s_csqrtl.c: Likewise.
67051 * math/s_ctanf.c: Likewise.
67052 * math/s_ctanh.c: Likewise.
67053 * math/s_ctanhf.c: Likewise.
67054 * math/s_ctanhl.c: Likewise.
67055 * math/s_ctanl.c: Likewise.
67056
67057 * math/math_private.h: Define __nan, __nanf, __nanl.
67058 * math/s_cacosh.c: Include <math_private.h>.
67059 * math/s_cacoshl.c: Likewise.
67060 * math/s_casinh.c: Likewise.
67061 * math/s_casinhf.c: Likewise.
67062 * math/s_casinhl.c: Likewise.
67063 * math/s_ccos.c: Rely entire on ccosh.
67064 * math/s_ccosf.c: Rely entire on ccoshf.
67065 * math/s_ccosl.c: Rely entirely on ccoshl.
67066 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
67067 Remove tests for FE_INVALID.
67068 * math/s_ccoshf.c: Likewise.
67069 * math/s_ccoshl.c: Likewise.
67070 * math/s_csin.c: Likewise.
67071 * math/s_csinf.c: Likewise.
67072 * math/s_csinh.c Likewise.
67073 * math/s_csinhf.c: Likewise.
67074 * math/s_csinhl.c: Likewise.
67075 * math/s_csinl.c: Likewise.
67076 * math/s_ctan.c: Likewise.
67077 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
67078 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
67079 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
67080
67081 2011-10-21 Ulrich Drepper <drepper@gmail.com>
67082
67083 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
67084 compilation problems.
67085
67086 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
67087 __builtin_expect.
67088
67089 2011-10-20 Ulrich Drepper <drepper@gmail.com>
67090
67091 * sysdeps/i386/configure.in: Test for -mfma4 option.
67092 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
67093 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
67094 COMMON_CPUID_INDEX_80000001.
67095 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
67096 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
67097 use it if FMA3 is not supported.
67098 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
67099
67100 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
67101 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
67102
67103 2011-10-20 Andreas Schwab <schwab@redhat.com>
67104
67105 [BZ #12892]
67106 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
67107 it would create a cycle with a link time dependency.
67108
67109 2011-10-19 Ulrich Drepper <drepper@gmail.com>
67110
67111 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
67112 instruction.
67113 * string/Makefile (strop-tests): Add rawmemchr.
67114 * string/test-rawmemchr.c: New file.
67115
67116 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
67117 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
67118 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
67119 when compiling str{,n}casecmp and when AVX is available. Hook up
67120 new optimized code in initializers.
67121
67122 2011-10-19 Andreas Schwab <schwab@redhat.com>
67123
67124 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
67125 __feraiseexcept instead of feraiseexcept.
67126
67127 2011-10-18 Ulrich Drepper <drepper@gmail.com>
67128
67129 * math/math_private.h: Define defaults for libc_fetestexcept and
67130 libc_feupdateenv.
67131 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
67132 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
67133 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67134 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67135 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67136 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67137 libc_fetestexcept and libc_feupdateenv.
67138
67139 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
67140 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
67141 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
67142 * sysdeps/x86_64/fpu/math_private.h: Define special version of
67143 libc_feholdexcept_setround.
67144
67145 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
67146 Add s_nearbyint-c and s_nearbyintf-c.
67147 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
67148 nearbyintf inlines.
67149 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
67150 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
67151 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
67152 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
67153
67154 * math/math_private.h: Define defaults for libc_fegetround,
67155 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
67156 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
67157 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
67158 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
67159 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
67160 standard functions.
67161 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67162 Remove comments and hacks for old compiler versions.
67163 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67164 libc_fegetround, libc_fesetround, libc_feholdexcept, and
67165 libc_feholdexceptl.
67166
67167 2011-10-18 Andreas Schwab <schwab@redhat.com>
67168
67169 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
67170 (__feraiseexcept_renamed): Add __NTH.
67171 (feraiseexcept): Add __NTH. Rename local variables to fix
67172 namespace violations.
67173
67174 2011-10-17 Ulrich Drepper <drepper@gmail.com>
67175
67176 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
67177
67178 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
67179
67180 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
67181 recently added interfaces.
67182 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
67183
67184 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
67185 about macro parameter expansion.
67186
67187 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
67188 __NO_MATH_INLINES is defined. Cleanups.
67189
67190 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
67191 and __floorf is target has SSE4.1.
67192 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
67193 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
67194 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
67195 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
67196
67197 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
67198 name.
67199 (floorf): Likewise.
67200
67201 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
67202
67203 2011-10-17 Andreas Schwab <schwab@redhat.com>
67204
67205 * misc/sys/cdefs.h: Fix last change.
67206
67207 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
67208 database lookup.
67209
67210 2011-10-16 Ulrich Drepper <drepper@gmail.com>
67211
67212 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
67213
67214 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
67215 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67216 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67217 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67218 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67219 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67220 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67221 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67222 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67223 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
67224 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
67225 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
67226 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
67227 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
67228 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
67229 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
67230 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
67231 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
67232 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
67233 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
67234 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
67235 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
67236
67237 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
67238 ceil, ceilf, floor, floorf.
67239
67240 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
67241 Perform IRELATIVE relocations last.
67242
67243 * elf/do-rel.h: Add another parameter nrelative, replacing the
67244 local variable with the same name. Change name of the function
67245 to end in Rel or Rela (uppercase).
67246 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
67247 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
67248 elf_dynamic_do_##reloc function.
67249
67250 2011-10-15 Ulrich Drepper <drepper@gmail.com>
67251
67252 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
67253 is sufficient, at least on modern CPUs.
67254
67255 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
67256
67257 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
67258 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
67259
67260 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
67261 __expl_finite.
67262 * math/bits/math-finite.h: Add entries for exp.
67263 * math/e_expl.c: Add __*_finite alias.
67264 * sysdeps/i386/fpu/e_exp.S: Likewise.
67265 * sysdeps/i386/fpu/e_expf.S: Likewise.
67266 * sysdeps/i386/fpu/e_expl.c: Likewise.
67267 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67268 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67269 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
67270 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
67271 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
67272 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
67273 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
67274
67275 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
67276 is sufficient, at least on modern CPUs.
67277
67278 * ctype/ctype-info.c (__ctype_init): Define.
67279 * include/ctype.h (__ctype_init): Declare.
67280 (__ctype_b_loc): The variable is always initialized.
67281 (__ctype_toupper_loc): Likewise.
67282 (__ctype_tolower_loc): Likewise.
67283 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
67284 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
67285
67286 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
67287
67288 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
67289
67290 * configure.in: Also look in $cxxmachine/include for C++ system
67291 headers.
67292
67293 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67294
67295 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
67296 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
67297 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
67298 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
67299 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
67300 (USE_AS_WMEMCMP): New macro.
67301 Fixing indents.
67302 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
67303 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
67304 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
67305 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
67306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67307 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
67308 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
67309 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
67310 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
67311 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
67312 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
67313 (USE_AS_WMEMCMP): New macro.
67314 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
67315 * sysdeps/string/test-memcmp.c: Update.
67316 Fix simple_wmemcmp.
67317 Add new tests.
67318 * wcsmbs/wmemcmp.c: Update.
67319 (WMEMCMP): New macro.
67320 Fix overflow bug.
67321
67322 2011-10-12 Andreas Jaeger <aj@suse.de>
67323
67324 [BZ #13268]
67325 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
67326
67327 2011-10-15 Ulrich Drepper <drepper@gmail.com>
67328
67329 * libio/iofwide.c (do_length): Avoid warning.
67330
67331 * ctype/ctype.h (__isctype_f): Add missing __THROW.
67332
67333 2011-10-14 Ulrich Drepper <drepper@gmail.com>
67334
67335 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
67336
67337 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
67338 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
67339 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
67340 * sysdeps/i386/i686/fpu/e_log.S: New file.
67341 * sysdeps/i386/i686/fpu/e_logf.S: New file.
67342 * sysdeps/i386/i686/fpu/e_logl.S: New file.
67343
67344 * ctype/ctype.h: Add support for inlined isXXX functions when
67345 compiling C++ code.
67346
67347 2011-10-14 Andreas Schwab <schwab@redhat.com>
67348
67349 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67350
67351 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
67352
67353 2011-10-13 Roland McGrath <roland@hack.frob.com>
67354
67355 [BZ #13291]
67356 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
67357
67358 2011-10-13 Andreas Schwab <schwab@redhat.com>
67359
67360 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
67361 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
67362 feraiseexcept.
67363
67364 * sysdeps/x86_64/memrchr.S: Check for zero size.
67365
67366 * string/stratcliff.c: Add memrchr tests.
67367
67368 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67369
67370 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67371 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
67372 rawmemchr-sse2 rawmemchr-sse2-bsf.
67373 * sysdeps/i386/i686/multiarch/memchr.S: New file.
67374 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
67375 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
67376 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
67377 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
67378 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
67379 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
67380 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
67381 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
67382 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
67383 * string/memrchr.c (MEMRCHR): New macro.
67384
67385 2011-10-12 Ulrich Drepper <drepper@gmail.com>
67386
67387 Add integration with gcc's -ffinite-math-only and optimize wrapper
67388 functions in libm.
67389 * Versions.def: Define GLIBC_2.15 version for libm.
67390 * math/Makefile (headers): Add bits/math-finite.h.
67391 * math/bits/math-finite.h: New file.
67392 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
67393 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
67394 * math/e_acoshl.c: Add __*_finite alias.
67395 * math/e_acosl.c: Likewise.
67396 * math/e_asinl.c: Likewise.
67397 * math/e_atan2l.c: Likewise.
67398 * math/e_atanhl.c: Likewise.
67399 * math/e_coshl.c: Likewise.
67400 * math/e_exp10.c: Likewise.
67401 * math/e_exp10f.c: Likewise.
67402 * math/e_exp10l.c: Likewise.
67403 * math/e_exp2l.c: Likewise.
67404 * math/e_fmodl.c: Likewise.
67405 * math/e_gammal_r.c: Likewise.
67406 * math/e_hypotl.c: Likewise.
67407 * math/e_j0l.c: Likewise.
67408 * math/e_j1l.c: Likewise.
67409 * math/e_jnl.c: Likewise.
67410 * math/e_lgammal_r.c: Likewise.
67411 * math/e_log10l.c: Likewise.
67412 * math/e_log2l.c: Likewise.
67413 * math/e_logl.c: Likewise.
67414 * math/e_powl.c: Likewise.
67415 * math/e_sinhl.c: Likewise.
67416 * math/e_sqrtl.c: Likewise.
67417 * math/e_scalb.c: Completely rewritten and optimized.
67418 * math/e_scalbf.c: Likewise.
67419 * math/e_scalbl.c: Likewise.
67420 * math/w_acos.c: Likewise.
67421 * math/w_acosf.c: Likewise.
67422 * math/w_acosl.c: Likewise.
67423 * math/w_acosh.c: Likewise.
67424 * math/w_acoshf.c: Likewise.
67425 * math/w_acoshl.c: Likewise.
67426 * math/w_asin.c: Likewise.
67427 * math/w_asinf.c: Likewise.
67428 * math/w_asinl.c: Likewise.
67429 * math/w_atan2.c: Likewise.
67430 * math/w_atan2f.c: Likewise.
67431 * math/w_atan2l.c: Likewise.
67432 * math/w_atanh.c: Likewise.
67433 * math/w_atanhf.c: Likewise.
67434 * math/w_atanhl.c: Likewise.
67435 * math/w_exp10.c: Likewise.
67436 * math/w_exp10f.c: Likewise.
67437 * math/w_exp10l.c: Likewise.
67438 * math/w_fmod.c: Likewise.
67439 * math/w_fmodf.c: Likewise.
67440 * math/w_fmodl.c: Likewise.
67441 * math/w_j0.c: Likewise.
67442 * math/w_j0f.c: Likewise.
67443 * math/w_j0l.c: Likewise.
67444 * math/w_j1.c: Likewise.
67445 * math/w_j1f.c: Likewise.
67446 * math/w_j1l.c: Likewise.
67447 * math/w_jn.c: Likewise.
67448 * math/w_jnf.c: Likewise.
67449 * math/w_log.c: Likewise.
67450 * math/w_logf.c: Likewise.
67451 * math/w_logl.c: Likewise.
67452 * math/w_log10.c: Likewise.
67453 * math/w_log10f.c: Likewise.
67454 * math/w_log10l.c: Likewise.
67455 * math/w_log2.c: Likewise.
67456 * math/w_log2f.c: Likewise.
67457 * math/w_log2l.c: Likewise.
67458 * math/w_pow.c: Likewise.
67459 * math/w_powf.c: Likewise.
67460 * math/w_powl.c: Likewise.
67461 * math/w_remainder.c: Likewise.
67462 * math/w_remainderf.c: Likewise.
67463 * math/w_remainderl.c: Likewise.
67464 * math/w_scalb.c: Likewise.
67465 * math/w_scalbf.c: Likewise.
67466 * math/w_scalbl.c: Likewise.
67467 * math/w_sqrt.c: Likewise.
67468 * math/w_sqrtf.c: Likewise.
67469 * math/w_sqrtl.c: Likewise.
67470 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
67471 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
67472 used.
67473 * math/math_private.h: Declare __kernel_standard_f.
67474 * math/w_cosh.c: Remove cruft and optimize a bit.
67475 * math/w_coshf.c: Likewise.
67476 * math/w_coshl.c: Likewise.
67477 * math/w_exp2.c: Likewise.
67478 * math/w_exp2f.c: Likewise.
67479 * math/w_exp2l.c: Likewise.
67480 * math/w_hypot.c: Likewise.
67481 * math/w_hypotf.c: Likewise.
67482 * math/w_hypotl.c: Likewise.
67483 * math/w_lgamma.c: Likewise.
67484 * math/w_lgamma_r.c: Likewise.
67485 * math/w_lgammaf.c: Likewise.
67486 * math/w_lgammaf_r.c: Likewise.
67487 * math/w_lgammal.c: Likewise.
67488 * math/w_lgammal_r.c: Likewise.
67489 * math/w_sinh.c: Likewise.
67490 * math/w_sinhf.c: Likewise.
67491 * math/w_sinhl.c: Likewise.
67492 * math/w_tgamma.c: Likewise.
67493 * math/w_tgammaf.c: Likewise.
67494 * math/w_tgammal.c: Likewise.
67495 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67496 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67497 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
67498 Minor optimizations. Pretty printing. Remove cruft.
67499 * sysdeps/i386/fpu/e_acosf.S: Likewise.
67500 * sysdeps/i386/fpu/e_acosh.S: Likewise.
67501 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67502 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67503 * sysdeps/i386/fpu/e_acosl.c: Likewise.
67504 * sysdeps/i386/fpu/e_asin.S: Likewise.
67505 * sysdeps/i386/fpu/e_asinf.S: Likewise.
67506 * sysdeps/i386/fpu/e_atan2.S: Likewise.
67507 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
67508 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
67509 * sysdeps/i386/fpu/e_atanh.S: Likewise.
67510 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67511 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67512 * sysdeps/i386/fpu/e_exp10.S: Likewise.
67513 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
67514 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
67515 * sysdeps/i386/fpu/e_exp2.S: Likewise.
67516 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
67517 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
67518 * sysdeps/i386/fpu/e_fmod.S: Likewise.
67519 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
67520 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
67521 * sysdeps/i386/fpu/e_hypot.S: Likewise.
67522 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
67523 * sysdeps/i386/fpu/e_log.S: Likewise.
67524 * sysdeps/i386/fpu/e_log10.S: Likewise.
67525 * sysdeps/i386/fpu/e_log10f.S: Likewise.
67526 * sysdeps/i386/fpu/e_log10l.S: Likewise.
67527 * sysdeps/i386/fpu/e_log2.S: Likewise.
67528 * sysdeps/i386/fpu/e_log2f.S: Likewise.
67529 * sysdeps/i386/fpu/e_log2l.S: Likewise.
67530 * sysdeps/i386/fpu/e_logf.S: Likewise.
67531 * sysdeps/i386/fpu/e_logl.S: Likewise.
67532 * sysdeps/i386/fpu/e_pow.S: Likewise.
67533 * sysdeps/i386/fpu/e_powf.S: Likewise.
67534 * sysdeps/i386/fpu/e_powl.S: Likewise.
67535 * sysdeps/i386/fpu/e_remainder.S: Likewise.
67536 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
67537 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
67538 * sysdeps/i386/fpu/e_scalb.S: Likewise.
67539 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67540 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67541 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
67542 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
67543 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
67544 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67545 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67546 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67547 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67548 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67549 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67550 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
67551 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67552 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67553 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67554 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67555 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67556 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67557 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67558 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67559 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67560 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67561 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67562 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67563 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67564 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67565 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67566 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67567 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67568 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67569 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67570 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67571 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67572 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
67573 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67574 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67575 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67576 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67577 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67578 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67579 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67580 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67581 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67582 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67583 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67584 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67585 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67586 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67587 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67588 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67589 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67590 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67591 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67592 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67593 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
67594 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67595 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67596 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67597 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67598 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67599 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67600 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67601 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67602 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67603 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67604 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67605 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67606 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67607 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67608 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67609 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67610 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67611 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67612 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
67613 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67614 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67615 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67616 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67617 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67618 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67619 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67620 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
67621 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67622 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67623 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67624 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67625 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67626 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
67627 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67628 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67629 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67630 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67631 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67632 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67633 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67634 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67635 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67636 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67637 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67638 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67639 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67640 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67641 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
67642 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
67643 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
67644 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
67645 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
67646 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
67647 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
67648 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67649 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67650 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67651 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67652 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
67653 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67654 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
67655 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
67656 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
67657 (__isnanf): Likewise.
67658 (__isinf_ns): Likewise.
67659 (__isinf_nsf): Likewise.
67660 (__finite): Likewise.
67661 (__finitef): Likewise.
67662 (__ieee754_sqrt): Define as macro.
67663 (__ieee754_sqrtf): Define as macro.
67664 (__ieee754_sqrtl): Define as macro.
67665 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
67666 inlined copy.
67667 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
67668 __FINITE_MATH_ONLY__ consistent.
67669 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
67670
67671 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
67672
67673 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
67674 of rawmemchr.
67675
67676 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
67677
67678 2011-10-09 Ulrich Drepper <drepper@gmail.com>
67679
67680 * po/ja.po: Update from translation team.
67681
67682 2011-10-08 Roland McGrath <roland@hack.frob.com>
67683
67684 * locale/programs/locarchive.c (prepare_address_space): New function.
67685 (create_archive, enlarge_archive, open_archive): Use it.
67686
67687 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
67688 inside [SHARED], where it is used.
67689
67690 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
67691
67692 * nss/getent.c (netgroup_keys): Remove unused variable.
67693 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67694
67695 2011-10-08 Ulrich Drepper <drepper@gmail.com>
67696
67697 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
67698 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
67699 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
67700 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
67701 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
67702 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
67703 * math/Makefile (libm-calls): Add s_isinf_ns.
67704 * math/divtc3.c: Use __isinf_nsl instead of isinf.
67705 * math/multc3.c: Likewise.
67706 * math/s_casin.c: Likewise.
67707 * math/s_casinf.c: Likewise.
67708 * math/s_casinl.c: Likewise.
67709 * math/s_ccos.c: Likewise.
67710 * math/s_ccosf.c: Likewise.
67711 * math/s_ccosl.c: Likewise.
67712 * math/s_ctan.c: Likewise.
67713 * math/s_ctanf.c: Likewise.
67714 * math/s_ctanh.c: Likewise.
67715 * math/s_ctanhf.c: Likewise.
67716 * math/s_ctanhl.c: Likewise.
67717 * math/s_ctanl.c: Likewise.
67718 * math/w_fmod.c: Likewise.
67719 * math/w_fmodf.c: Likewise.
67720 * math/w_fmodl.c: Likewise.
67721 * math/w_remainder.c: Likewise.
67722 * math/w_remainderf.c: Likewise.
67723 * math/w_remainderl.c: Likewise.
67724 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
67725 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
67726 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
67727 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
67728 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
67729 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
67730 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
67731 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
67732
67733 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
67734 of the number.
67735 * stdio-common/printf_fphex.c: Likewise.
67736 * stdio-common/printf_size.c: Likewise.
67737
67738 * math/e_exp10.c: Include math_private.h using <...> not "...".
67739 * math/e_exp10f.c: Likewise.
67740 * math/e_exp10l.c: Likewise.
67741 * math/e_exp2l.c: Likewise.
67742 * math/e_j0l.c: Likewise.
67743 * math/e_j1l.c: Likewise.
67744 * math/e_jnl.c: Likewise.
67745 * math/e_lgammal_r.c: Likewise.
67746 * math/e_rem_pio2l.c: Likewise.
67747 * math/e_scalb.c: Likewise.
67748 * math/e_scalbf.c: Likewise.
67749 * math/e_scalbl.c: Likewise.
67750 * math/k_cosl.c: Likewise.
67751 * math/k_sinl.c: Likewise.
67752 * math/k_tanl.c: Likewise.
67753 * math/s_cacoshf.c: Likewise.
67754 * math/s_catan.c: Likewise.
67755 * math/s_catanf.c: Likewise.
67756 * math/s_catanh.c: Likewise.
67757 * math/s_catanhf.c: Likewise.
67758 * math/s_catanhl.c: Likewise.
67759 * math/s_catanl.c: Likewise.
67760 * math/s_ccosh.c: Likewise.
67761 * math/s_ccoshf.c: Likewise.
67762 * math/s_ccoshl.c: Likewise.
67763 * math/s_cexp.c: Likewise.
67764 * math/s_cexpf.c: Likewise.
67765 * math/s_cexpl.c: Likewise.
67766 * math/s_clog.c: Likewise.
67767 * math/s_clog10.c: Likewise.
67768 * math/s_clog10f.c: Likewise.
67769 * math/s_clog10l.c: Likewise.
67770 * math/s_clogf.c: Likewise.
67771 * math/s_clogl.c: Likewise.
67772 * math/s_csin.c: Likewise.
67773 * math/s_csinf.c: Likewise.
67774 * math/s_csinh.c: Likewise.
67775 * math/s_csinhf.c: Likewise.
67776 * math/s_csinhl.c: Likewise.
67777 * math/s_csinl.c: Likewise.
67778 * math/s_csqrt.c: Likewise.
67779 * math/s_csqrtf.c: Likewise.
67780 * math/s_csqrtl.c: Likewise.
67781 * math/s_ctan.c: Likewise.
67782 * math/s_ctanf.c: Likewise.
67783 * math/s_ctanh.c: Likewise.
67784 * math/s_ctanhf.c: Likewise.
67785 * math/s_ctanhl.c: Likewise.
67786 * math/s_ctanl.c: Likewise.
67787 * math/s_ldexp.c: Likewise.
67788 * math/s_ldexpf.c: Likewise.
67789 * math/s_ldexpl.c: Likewise.
67790 * math/s_significand.c: Likewise.
67791 * math/s_significandf.c: Likewise.
67792 * math/s_significandl.c: Likewise.
67793 * math/w_acos.c: Likewise.
67794 * math/w_acosf.c: Likewise.
67795 * math/w_acosh.c: Likewise.
67796 * math/w_acoshf.c: Likewise.
67797 * math/w_acoshl.c: Likewise.
67798 * math/w_acosl.c: Likewise.
67799 * math/w_asin.c: Likewise.
67800 * math/w_asinf.c: Likewise.
67801 * math/w_asinl.c: Likewise.
67802 * math/w_atan2.c: Likewise.
67803 * math/w_atan2f.c: Likewise.
67804 * math/w_atan2l.c: Likewise.
67805 * math/w_atanh.c: Likewise.
67806 * math/w_atanhf.c: Likewise.
67807 * math/w_atanhl.c: Likewise.
67808 * math/w_cosh.c: Likewise.
67809 * math/w_coshf.c: Likewise.
67810 * math/w_coshl.c: Likewise.
67811 * math/w_dremf.c: Likewise.
67812 * math/w_exp10.c: Likewise.
67813 * math/w_exp10f.c: Likewise.
67814 * math/w_exp10l.c: Likewise.
67815 * math/w_exp2.c: Likewise.
67816 * math/w_exp2f.c: Likewise.
67817 * math/w_fmod.c: Likewise.
67818 * math/w_fmodf.c: Likewise.
67819 * math/w_fmodl.c: Likewise.
67820 * math/w_hypot.c: Likewise.
67821 * math/w_hypotf.c: Likewise.
67822 * math/w_hypotl.c: Likewise.
67823 * math/w_j0.c: Likewise.
67824 * math/w_j0f.c: Likewise.
67825 * math/w_j0l.c: Likewise.
67826 * math/w_j1.c: Likewise.
67827 * math/w_j1f.c: Likewise.
67828 * math/w_j1l.c: Likewise.
67829 * math/w_jn.c: Likewise.
67830 * math/w_jnf.c: Likewise.
67831 * math/w_jnl.c: Likewise.
67832 * math/w_lgamma.c: Likewise.
67833 * math/w_lgamma_r.c: Likewise.
67834 * math/w_lgammaf.c: Likewise.
67835 * math/w_lgammaf_r.c: Likewise.
67836 * math/w_lgammal.c: Likewise.
67837 * math/w_lgammal_r.c: Likewise.
67838 * math/w_log.c: Likewise.
67839 * math/w_log10.c: Likewise.
67840 * math/w_log10f.c: Likewise.
67841 * math/w_log10l.c: Likewise.
67842 * math/w_log2.c: Likewise.
67843 * math/w_log2f.c: Likewise.
67844 * math/w_log2l.c: Likewise.
67845 * math/w_logf.c: Likewise.
67846 * math/w_logl.c: Likewise.
67847 * math/w_pow.c: Likewise.
67848 * math/w_powf.c: Likewise.
67849 * math/w_powl.c: Likewise.
67850 * math/w_remainder.c: Likewise.
67851 * math/w_remainderf.c: Likewise.
67852 * math/w_remainderl.c: Likewise.
67853 * math/w_scalb.c: Likewise.
67854 * math/w_scalbf.c: Likewise.
67855 * math/w_scalbl.c: Likewise.
67856 * math/w_sinh.c: Likewise.
67857 * math/w_sinhf.c: Likewise.
67858 * math/w_sinhl.c: Likewise.
67859 * math/w_sqrt.c: Likewise.
67860 * math/w_sqrtf.c: Likewise.
67861 * math/w_sqrtl.c: Likewise.
67862 * math/w_tgamma.c: Likewise.
67863 * math/w_tgammaf.c: Likewise.
67864 * math/w_tgammal.c: Likewise.
67865
67866 * po/ja.po: Update from translation team.
67867
67868 2011-09-29 Andreas Jaeger <aj@suse.de>
67869
67870 [BZ #13179]
67871 * sunrpc/netname.c (netname2host): Fix logic.
67872
67873 [BZ #6779]
67874 [BZ #6783]
67875 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
67876 correctly.
67877 * math/w_remainder.c (__remainder): Likewise.
67878 * math/w_remainderf.c (__remainderf): Likewise.
67879 * math/libm-test.inc (remainder_test): Add test cases.
67880
67881 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67882
67883 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
67884 sdiv_qrnnd.
67885
67886 2011-10-07 Ulrich Drepper <drepper@gmail.com>
67887
67888 * string/test-memcmp.c: Avoid unncessary #defines.
67889 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67890
67891 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67892
67893 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
67894 Use new sse2 version for core i3 - i7 as it's faster
67895 than sse42 version.
67896 (bit_Prefer_PMINUB_for_stringop): New.
67897 * sysdeps/x86_64/rawmemchr.S: Update.
67898 Replace with faster SSE2 version.
67899 * sysdeps/x86_64/memrchr.S: New file.
67900 * sysdeps/x86_64/memchr.S: Update.
67901 Replace with faster SSE2 version.
67902
67903 2011-09-12 Marek Polacek <mpolacek@redhat.com>
67904
67905 * elf/dl-load.c (lose): Add cast to avoid warning.
67906
67907 2011-10-07 Ulrich Drepper <drepper@gmail.com>
67908
67909 * po/ca.po: Update from translation team.
67910
67911 * inet/getnetgrent_r.c: Hook up nscd.
67912 * nscd/Makefile (routines): Add nscd_netgroup.
67913 (nscd-modules): Add netgroupcache.
67914 (CFLAGS-netgroupcache.c): Define.
67915 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
67916 (cache_search): Add const to second parameter.
67917 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
67918 INNETGR.
67919 (dbs): Add netgrdb entry.
67920 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
67921 (verify_persistent_db): Handle netgrdb.
67922 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
67923 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
67924 GETFDNETGR.
67925 (netgroup_response_header): Define.
67926 (innetgroup_response_header): Define.
67927 (datahead): Add netgroup_response_header and innetgroup_response_header
67928 elements.
67929 * nscd/nscd.conf: Add entries for netgroup cache.
67930 * nscd/nscd.h (dbtype): Add netgrdb.
67931 (_PATH_NSCD_NETGROUP_DB): Define.
67932 (netgroup_iov_disabled): Declare.
67933 (xmalloc, xcalloc, xrealloc): Move declarations here.
67934 (cache_search): Adjust prototype.
67935 Add netgroup-related prototypes.
67936 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
67937 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
67938 (__nscd_innetgr): Declare.
67939 * nscd/selinux.c (perms): Use access_vector_t as element type and
67940 add netgroup-related initializers.
67941 * nscd/netgroupcache.c: New file.
67942 * nscd/nscd_netgroup.c: New file.
67943 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
67944 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
67945 For four parameters use innetgr.
67946 * nss/nss_files/files-init.c: Add definition and callback for netgr.
67947 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
67948 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
67949 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
67950
67951 * nscd/connections.c (register_traced_file): Don't register file
67952 for disabled databases.
67953
67954 2011-10-06 Ulrich Drepper <drepper@gmail.com>
67955
67956 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
67957
67958 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
67959 from tree and freeing node.
67960
67961 2011-09-25 Jiri Olsa <jolsa@redhat.com>
67962
67963 * nss/nsswitch.c (__nss_database_lookup): Handle
67964 nss_parse_service_list out of memory case.
67965
67966 2011-09-15 Jiri Olsa <jolsa@redhat.com>
67967
67968 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
67969 out of memory case.
67970
67971 2011-10-04 Andreas Schwab <schwab@redhat.com>
67972
67973 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
67974 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
67975 pass it down.
67976 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
67977 elf_machine_rela, elf_machine_lazy_rel.
67978 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
67979 (ELF_DYNAMIC_DO_REL): Likewise.
67980 (ELF_DYNAMIC_DO_RELA): Likewise.
67981 (ELF_DYNAMIC_RELOCATE): Likewise.
67982 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
67983 to ELF_DYNAMIC_DO_REL.
67984 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
67985 (dl_main): In trace mode always set __RTLD_NOIFUNC.
67986 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
67987 elf_machine_rela.
67988 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
67989 skip_ifunc, don't call ifunc function if non-zero.
67990 (elf_machine_rela): Likewise.
67991 (elf_machine_lazy_rel): Likewise.
67992 (elf_machine_lazy_rela): Likewise.
67993 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
67994 (elf_machine_lazy_rel): Likewise.
67995 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
67996 Likewise.
67997 (elf_machine_lazy_rel): Likewise.
67998 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67999 Likewise.
68000 (elf_machine_lazy_rel): Likewise.
68001 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
68002 (elf_machine_lazy_rel): Likewise.
68003 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
68004 (elf_machine_lazy_rel): Likewise.
68005 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
68006 (elf_machine_lazy_rel): Likewise.
68007 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
68008 (elf_machine_lazy_rel): Likewise.
68009 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
68010 (elf_machine_lazy_rel): Likewise.
68011 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
68012 (elf_machine_lazy_rel): Likewise.
68013
68014 2011-09-28 Ulrich Drepper <drepper@gmail.com>
68015
68016 * nss/nss_files/files-init.c (_nss_files_init): Use static
68017 initialization for all the *_traced_file variables.
68018
68019 2011-09-28 Andreas Schwab <schwab@redhat.com>
68020
68021 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68022
68023 2011-09-27 Roland McGrath <roland@hack.frob.com>
68024
68025 [BZ #13226]
68026 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
68027
68028 2011-09-27 Andreas Schwab <schwab@redhat.com>
68029
68030 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68031 Reread the line before reparsing it.
68032
68033 2011-09-26 Andreas Schwab <schwab@redhat.com>
68034
68035 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
68036
68037 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
68038 Maxim Kuvyrkov <maxim@codesourcery.com>
68039 Joseph Myers <joseph@codesourcery.com>
68040
68041 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
68042 if needed for __stack_chk_guard.
68043
68044 2011-09-19 Roland McGrath <roland@hack.frob.com>
68045
68046 * sysdeps/posix/spawni.c (script_execute): Always define it.
68047 It will be optimized away if unused.
68048 (maybe_script_execute): New function.
68049 (__spawni): Call it.
68050
68051 * Makerules: Don't include tls.make.
68052 (config-tls): Always set to thread.
68053 * tls.make.c: File removed.
68054
68055 2011-09-19 Mike Frysinger <vapier@gentoo.org>
68056
68057 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
68058 * config.make.in (CPPFLAGS-config): New substituted variable.
68059
68060 2011-09-15 Ulrich Drepper <drepper@gmail.com>
68061
68062 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
68063
68064 [BZ #13192]
68065 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
68066 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
68067
68068 2011-09-15 Roland McGrath <roland@hack.frob.com>
68069
68070 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
68071 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
68072 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
68073 (CALL_FAIL): Likewise.
68074 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
68075 (CALL_FAIL): Macro removed.
68076 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
68077
68078 2011-09-15 Ulrich Drepper <drepper@gmail.com>
68079
68080 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
68081 for __FINITE_MATH_ONLY__ == 1.
68082
68083 2011-09-15 Andreas Schwab <schwab@redhat.com>
68084
68085 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
68086 __ieee754_sqrt instead of sqrt.
68087 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
68088 __ieee754_sqrtf instead of sqrtf.
68089 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
68090 __floorf instead of floorf.
68091 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
68092 __floorf, __truncf instead of floorf, truncf.
68093
68094 2011-09-14 Ulrich Drepper <drepper@gmail.com>
68095
68096 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
68097
68098 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
68099 __extern_always_inline.
68100 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
68101 32-bit.
68102
68103 2011-09-14 Andreas Schwab <schwab@redhat.com>
68104
68105 * elf/rtld.c (dl_main): Also relocate in dependency order when
68106 doing symbol dependency testing.
68107
68108 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
68109
68110 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68111 Always define `refsym'.
68112
68113 2011-09-13 Andreas Schwab <schwab@redhat.com>
68114
68115 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
68116 (__FD_ELT): Renamed from __FDELT.
68117 * misc/bits/select2.h (__FD_ELT): Likewise.
68118 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
68119 __FD_MASK instead of __FDELT, __FDMASK.
68120 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68121 Likewise.
68122 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68123 Likewise.
68124
68125 * elf/Makefile (gen-ldd): Fix pattern.
68126
68127 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
68128 (init_tls): Likewise.
68129
68130 2011-09-12 Ulrich Drepper <drepper@gmail.com>
68131
68132 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
68133
68134 2011-09-12 Andreas Schwab <schwab@redhat.com>
68135
68136 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
68137 `struct cmsghdr *' instead of `void *'.
68138 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
68139 Likewise.
68140
68141 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
68142
68143 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
68144 if non-absolute.
68145 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
68146 ldd_rewrite_script.
68147
68148 2011-09-11 Ulrich Drepper <drepper@gmail.com>
68149
68150 * configure.in: Remove --with-tls option.
68151 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
68152 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
68153 out in case it is missing.
68154 * sysdeps/ia64/elf/configure.in: Likewise.
68155 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
68156 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
68157 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
68158 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
68159 * sysdeps/sh/elf/configure.in: Likewise.
68160 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
68161 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68162 * sysdeps/x86_64/elf/configure.in: Likewise.
68163 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
68164 * sysdeps/mach/hurd/tls.h: Likewise.
68165
68166 [BZ #13067]
68167 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
68168
68169 [BZ #13090]
68170 * configure.in: Fix use of AC_INIT.
68171
68172 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
68173
68174 2011-09-10 Ulrich Drepper <drepper@gmail.com>
68175
68176 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
68177 __set_errno.
68178 * malloc/hooks.c: Likewise.
68179
68180 [BZ #11929]
68181 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
68182 variables statically.
68183 (narenas): Initialize.
68184 (list_lock): Initialize.
68185 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
68186 initializtion of main_arena and list_lock. Small cleanups.
68187 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
68188 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
68189 Add initializers to main_arena and mp_.
68190 (malloc_state): Remove pagesize member. Change all users to use
68191 GLRO(dl_pagesize).
68192
68193 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
68194 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
68195 is always initialized.
68196
68197 * malloc/malloc.c: Removed unused configurations and dead code.
68198 * malloc/arena.c: Likewise.
68199 * malloc/hooks.c: Likewise.
68200 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
68201
68202 * include/tls.h: Removed. USE___THREAD must always be defined.
68203 * bits/libc-tsd.h: Don't handle !USE___THREAD.
68204 * elf/dl-libc.c: Likewise.
68205 * elf/dl-tsd.c: Likewise.
68206 * include/errno.h: Likewise.
68207 * include/netdb.h: Likewise.
68208 * include/resolv.h: Likewise.
68209 * inet/herrno-loc.c: Likewise.
68210 * inet/herrno.c: Likewise.
68211 * malloc/arena.c: Likewise.
68212 * malloc/hooks.c: Likewise.
68213 * malloc/malloc.c: Likewise.
68214 * resolv/res-state.c: Likewise.
68215 * resolv/res_libc.c: Likewise.
68216 * sysdeps/i386/dl-machine.h: Likewise.
68217 * sysdeps/ia64/dl-machine.h: Likewise.
68218 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
68219 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
68220 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
68221 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
68222 * sysdeps/sh/dl-machine.h: Likewise.
68223 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68224 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68225 * sysdeps/unix/i386/sysdep.S: Likewise.
68226 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
68227 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
68228 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
68229 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
68230 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
68231 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
68232 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
68233 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68234 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68235 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
68236 * sysdeps/unix/x86_64/sysdep.S: Likewise.
68237 * sysdeps/x86_64/dl-machine.h: Likewise.
68238 * tls.make.c: Likewise.
68239
68240 * configure.in: Remove --with-__thread option. Make tests for
68241 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
68242 tls_model attribute fail if no support is available. Remove
68243 USE_IN_LIBIO.
68244 * Makeconfig: Adjust for dropped configure option. All features are
68245 now mandatory.
68246 * Makerules: Likewise.
68247 * Versions.def: Likewise.
68248 * argp/argp-fmtstream.c: Likewise.
68249 * argp/argp-fmtstream.h: Likewise.
68250 * argp/argp-help.c: Likewise.
68251 * assert/assert.c: Likewise.
68252 * config.h.in: Likewise.
68253 * config.make.in: Likewise.
68254 * configure: Likewise.
68255 * configure.in: Likewise.
68256 * csu/Versions: Likewise.
68257 * csu/init.c: Likewise.
68258 * elf/tst-audit2.c: Likewise.
68259 * elf/tst-tls10.c: Likewise.
68260 * elf/tst-tls10.h: Likewise.
68261 * elf/tst-tls11.c: Likewise.
68262 * elf/tst-tls12.c: Likewise.
68263 * elf/tst-tls14.c: Likewise.
68264 * elf/tst-tlsmod11.c: Likewise.
68265 * elf/tst-tlsmod12.c: Likewise.
68266 * elf/tst-tlsmod13.c: Likewise.
68267 * elf/tst-tlsmod13a.c: Likewise.
68268 * elf/tst-tlsmod14a.c: Likewise.
68269 * elf/tst-tlsmod15b.c: Likewise.
68270 * elf/tst-tlsmod16a.c: Likewise.
68271 * elf/tst-tlsmod16b.c: Likewise.
68272 * elf/tst-tlsmod7.c: Likewise.
68273 * elf/tst-tlsmod8.c: Likewise.
68274 * elf/tst-tlsmod9.c: Likewise.
68275 * gmon/gmon.c: Likewise.
68276 * grp/fgetgrent_r.c: Likewise.
68277 * grp/putgrent.c: Likewise.
68278 * hurd/fopenport.c: Likewise.
68279 * include/libc-symbols.h: Likewise.
68280 * include/tls.h: Likewise.
68281 * intl/gettextP.h: Likewise.
68282 * intl/loadinfo.h: Likewise.
68283 * locale/global-locale.c: Likewise.
68284 * locale/localeinfo.h: Likewise.
68285 * mach/devstream.c: Likewise.
68286 * malloc/arena.c: Likewise.
68287 * malloc/set-freeres.c: Likewise.
68288 * misc/err.c: Likewise.
68289 * misc/getttyent.c: Likewise.
68290 * misc/mntent_r.c: Likewise.
68291 * posix/getopt.c: Likewise.
68292 * posix/wordexp.c: Likewise.
68293 * pwd/fgetpwent_r.c: Likewise.
68294 * resolv/Versions: Likewise.
68295 * resolv/res_hconf.c: Likewise.
68296 * shadow/fgetspent_r.c: Likewise.
68297 * shadow/putspent.c: Likewise.
68298 * stdio-common/printf_fphex.c: Likewise.
68299 * stdio-common/tmpfile.c: Likewise.
68300 * stdlib/abort.c: Likewise.
68301 * stdlib/fmtmsg.c: Likewise.
68302 * sunrpc/auth_unix.c: Likewise.
68303 * sunrpc/clnt_perr.c: Likewise.
68304 * sunrpc/clnt_tcp.c: Likewise.
68305 * sunrpc/clnt_udp.c: Likewise.
68306 * sunrpc/clnt_unix.c: Likewise.
68307 * sunrpc/openchild.c: Likewise.
68308 * sunrpc/svc_simple.c: Likewise.
68309 * sunrpc/svc_tcp.c: Likewise.
68310 * sunrpc/svc_udp.c: Likewise.
68311 * sunrpc/svc_unix.c: Likewise.
68312 * sunrpc/xdr.c: Likewise.
68313 * sunrpc/xdr_array.c: Likewise.
68314 * sunrpc/xdr_rec.c: Likewise.
68315 * sunrpc/xdr_ref.c: Likewise.
68316 * sunrpc/xdr_stdio.c: Likewise.
68317
68318 2011-09-09 Ulrich Drepper <drepper@gmail.com>
68319
68320 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68321
68322 2011-07-03 Andreas Jaeger <aj@suse.de>
68323
68324 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
68325 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
68326 regenerate with gen-libm-tests.pl.
68327
68328 2010-05-12 Petr Baudis <pasky@suse.cz>
68329
68330 [BZ #11589]
68331 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
68332 around j0() zero points by switching to j1().
68333 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68334 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68335 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68336 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68337
68338 2011-09-09 Ulrich Drepper <drepper@gmail.com>
68339
68340 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
68341 instead of 0.
68342 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
68343 instead of 0.
68344 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68345 Patch in part by Pavel Roskin <proski@gnu.org>.
68346
68347 [BZ #13138]
68348 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
68349 realloc.
68350 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
68351 Free memory block if necessary.
68352
68353 [BZ #12847]
68354 * libio/genops.c (INTDEF): For string streams the _lock pointer can
68355 be NULL. Don't lock in this case.
68356
68357 2011-09-09 Roland McGrath <roland@hack.frob.com>
68358
68359 * elf/elf.h (ELFOSABI_GNU): New macro.
68360 (ELFOSABI_LINUX): Define to that.
68361
68362 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
68363
68364 * string/strncat.c (strncat): Undef the symbol in case it has been
68365 defined in bits/string.h.
68366
68367 2011-09-09 Ulrich Drepper <drepper@gmail.com>
68368
68369 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
68370
68371 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
68372 link map.
68373
68374 2011-08-17 Andreas Jaeger <aj@suse.de>
68375
68376 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
68377
68378 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
68379 Ian Lance Taylor <iant@google.com>
68380
68381 * math/libm-test.inc (lround_test): New testcase.
68382 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
68383
68384 2011-09-08 Ulrich Drepper <drepper@gmail.com>
68385
68386 * Makefile: Remove support for automatic cvs check-ins.
68387 * Makerules: Likewise.
68388 * config.make.in: Likewise.
68389 * configure.in: Likewise.
68390 * intl/Makefile: Likewise.
68391 * locale/Makefile: Likewise.
68392 * po/Makefile: Likewise.
68393 * posix/Makefile: Likewise.
68394 * sysdeps/gnu/Makefile: Likewise.
68395 * sysdeps/mach/hurd/Makefile: Likewise.
68396 * sysdeps/sparc/sparc32/Makefile: Likewise.
68397
68398 [BZ #13118]
68399 * posix/Makefile (bug-regex32-ENV): Define.
68400 Patch by John Stanley <jpsinthemix@verizon.net>.
68401
68402 * misc/Makefile (headers): Add bits/select2.h.
68403 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
68404 * misc/bits/select2.h: New file.
68405 * include/bits/select2.h: New file.
68406 * debug/Makefile (routines): Add fdelt_chk.
68407 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
68408 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
68409 FD_ISSET.
68410 * debug/fdelt_chk.c: New file.
68411
68412 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
68413 * wcsmbs/test-wmemcmp.c: Likewise.
68414 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
68415 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
68416
68417 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
68418
68419 * string/Makefile (strop-tests): Add memcmp.
68420 * string/test-wmemcmp.c: New file.
68421 * string/test-memcmp.c: Add wmemcmp support.
68422
68423 2011-09-08 Roland McGrath <roland@hack.frob.com>
68424
68425 [BZ #13153]
68426 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
68427 2011-07-19 change.
68428
68429 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
68430 garbage value in a __mach_port_mod_refs call in the cases of the
68431 task-self and thread-self ports.
68432
68433 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
68434
68435 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
68436
68437 2011-09-08 Andreas Schwab <schwab@redhat.com>
68438
68439 * elf/dl-load.c (lose): Check for non-null L.
68440
68441 2011-09-07 Ulrich Drepper <drepper@gmail.com>
68442
68443 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
68444
68445 * elf/dl-libc.c (dlerror_run): Pass back error code from
68446 dl_catch_error.
68447
68448 [BZ #13123]
68449 * elf/dl-load.c (lose): Free l_origin if it is valid.
68450
68451 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
68452 names.
68453 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
68454 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
68455 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
68456 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
68457 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
68458 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
68459
68460 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68461
68462 * sysdeps/powerpc/fpu/e_hypot.c: New file.
68463 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
68464 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
68465 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
68466 * sysdeps/powerpc/fpu/k_cosf.c: New file.
68467 * sysdeps/powerpc/fpu/k_sinf.c: New file.
68468 * sysdeps/powerpc/fpu/s_cosf.c: New file.
68469 * sysdeps/powerpc/fpu/s_sinf.c: New file.
68470 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
68471 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
68472
68473 2011-08-15 Alan Modra <amodra@gmail.com>
68474
68475 [BZ #13092]
68476 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
68477 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
68478 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
68479 ppc_mcount to static-only-routines.
68480 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
68481 __mcount_internal.
68482 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
68483 __mcount_internal with usual JUMPTARGET. Remove useless nop.
68484
68485 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
68486
68487 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
68488 for finite and infinity parameters.
68489
68490 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
68491
68492 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
68493 and add nop instructions for throughput optimization.
68494 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68495
68496 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
68497
68498 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
68499 aligned copy for power7 with vector-scalar instructions.
68500 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
68501
68502 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
68503
68504 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
68505 AVX check.
68506
68507 2011-09-07 Andreas Schwab <schwab@redhat.com>
68508
68509 [BZ #13144]
68510 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
68511 last change.
68512
68513 2011-09-07 Ulrich Drepper <drepper@gmail.com>
68514
68515 * sysdeps/unix/sysv/linux/x86_64/init-first.c
68516 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
68517 syscall wrapper around clock_gettime in __vdso_clock_gettime.
68518 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
68519 clock_gettime.
68520
68521 2011-09-06 Ulrich Drepper <drepper@gmail.com>
68522
68523 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
68524 Forgot to demangle the pointer.
68525
68526 * sysdeps/i386/sysdep.h: Define atom_text_section.
68527 * sysdeps/x86_64/sysdep.h: Likewise.
68528 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
68529 section with atom_text_section.
68530 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
68531 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
68532 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
68533 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68534 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
68535
68536 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
68537 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
68538 already be defined. Change to take two parameters and don't assign
68539 result to variable. Adjust all users.
68540 Define INTERNAL_GETTIME if not already defined.
68541 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
68542 call.
68543 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
68544 HAVE_CLOCK_GETTIME_VSYSCALL.
68545 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
68546
68547 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
68548 gettimeofday vsyscall, just use time.
68549
68550 2011-09-06 Andreas Schwab <schwab@redhat.com>
68551
68552 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
68553 <errno.h>.
68554
68555 2011-09-06 Ulrich Drepper <drepper@gmail.com>
68556
68557 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
68558 syscall on x86-64.
68559 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
68560 syscall.
68561 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
68562 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
68563 syscall if possible.
68564
68565 2011-09-05 Ulrich Drepper <drepper@gmail.com>
68566
68567 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
68568 e_ident. Don't pass to find_mapsXX.
68569 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
68570
68571 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
68572
68573 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68574 strchr-sse2-no-bsf strrchr-sse2-no-bsf
68575 * sysdeps/x86_64/multiarch/strchr.S: Update.
68576 Check bit_slow_BSF bit.
68577 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
68578 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
68579 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
68580
68581 2011-09-05 Ulrich Drepper <drepper@gmail.com>
68582
68583 [BZ #13134]
68584 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
68585 before glibc 2.15.
68586 (tryshell): Define.
68587 (__spawni): Change last parameter to be flag. Test
68588 SPAWN_XFLAGS_USE_PATH flag to use path or not.
68589 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
68590 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
68591 * posix/spawni.c: Likewise.
68592 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
68593 * posix/spawnp.c: Likewise. Change normal version to use
68594 SPAWN_XFLAGS_USE_PATH.
68595 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
68596 SPAWN_XFLAGS_TRY_SHELL.
68597
68598 [BZ #13150]
68599 * posix/glob.h: Remove gcc 1.x support.
68600
68601 [BZ #13068]
68602 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
68603
68604 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
68605
68606 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68607 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
68608 strrchr-sse2-bsf
68609 * sysdeps/i386/i686/multiarch/strchr.S: New file.
68610 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
68611 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
68612 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
68613 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
68614 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
68615
68616 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
68617
68618 * sysdeps/x86_64/wcscmp.S: New file.
68619
68620 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
68621 wcscmp-c wcscmp-sse2
68622 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
68623 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
68624 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
68625 * wcsmbs/wcscmp.c: Allow renaming.
68626
68627 2011-09-05 David S. Miller <davem@davemloft.net>
68628
68629 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
68630 stack slot, rather than the struct return pointer slot.
68631 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
68632 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
68633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
68634 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
68635
68636 2011-09-05 Ulrich Drepper <drepper@gmail.com>
68637
68638 * po/ja.po: Update from translation team.
68639
68640 [BZ #13144]
68641 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
68642 kernel in 64-bit binaries.
68643
68644 2011-09-01 David S. Miller <davem@davemloft.net>
68645
68646 * elf/elf.h (HWCAP_SPARC_*): Move to..
68647 * sysdeps/sparc/sysdep.h: this new file and add new values.
68648 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
68649 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
68650 _DL_HWCAP_COUNT to 24.
68651 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68652 entries.
68653 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
68654 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
68655 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
68656 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
68657 instead of magic constants.
68658 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68659
68660 2011-08-31 David S. Miller <davem@davemloft.net>
68661
68662 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
68663 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
68664 Reimplement to do errno handling inline.
68665 (SYSCALL_ERROR_HANDLER): New macro.
68666 (__SYSCALL_STRING): Do not do errno handling in asm.
68667 (__CLONE_SYSCALL_STRING): Delete.
68668 (__INTERNAL_SYSCALL_STRING): Delete.
68669 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
68670 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
68671 (PSEUDO): Reimplement to do errno handling inline.
68672 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
68673 (SYSCALL_ERROR_HANDLER): New macro.
68674 (__SYSCALL_STRING): Do not do errno handling in asm.
68675 (__CLONE_SYSCALL_STRING): Delete.
68676 (__INTERNAL_SYSCALL_STRING): Delete.
68677 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
68678 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
68679 i386.
68680 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
68681 (inline_syscall*): Add 'err' argument.
68682 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
68683 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
68684 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
68685 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
68686
68687 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
68688 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68689
68690 2011-08-30 Andreas Schwab <schwab@redhat.com>
68691
68692 * elf/rtld.c (dl_main): Relocate objects in dependency order.
68693
68694 2011-08-29 Jiri Olsa <jolsa@redhat.com>
68695
68696 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
68697 directive.
68698
68699 2011-08-24 David S. Miller <davem@davemloft.net>
68700
68701 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
68702
68703 2011-08-24 Andreas Schwab <schwab@redhat.com>
68704
68705 * elf/Makefile: Add rules to build and run unload8 test.
68706 * elf/unload8.c: New file.
68707 * elf/unload8mod1.c: New file.
68708 * elf/unload8mod1x.c: New file.
68709 * elf/unload8mod2.c: New file.
68710 * elf/unload8mod3.c: New file.
68711
68712 * elf/dl-close.c (_dl_close_worker): Reset private search list if
68713 it wasn't used.
68714
68715 2011-08-23 David S. Miller <davem@davemloft.net>
68716
68717 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
68718 subtract stack bias.
68719 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
68720 %sp not %fp in calculations.
68721 (_JMPBUF_UNWINDS_ADJ): Likewise.
68722
68723 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
68724 (aio_suspend): Call it to force an exception region around the
68725 AIO_MISC_WAIT() invocation.
68726
68727 2011-08-23 Andreas Schwab <schwab@redhat.com>
68728
68729 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
68730 backslash.
68731
68732 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
68733
68734 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
68735 protection macro.
68736 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
68737 and <dl-machine.h>.
68738 (Elf64_FuncDesc): Remove.
68739
68740 2011-08-22 David S. Miller <davem@davemloft.net>
68741
68742 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
68743 sigaltstack check, add missing cfi directives.
68744 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
68745 missing cfi directives, and sigaltstack handling.
68746
68747 2011-08-16 Andreas Schwab <schwab@redhat.com>
68748
68749 [BZ #11724]
68750 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
68751 object is seen twice.
68752 * elf/dl-fini.c (_dl_sort_fini): Likewise.
68753
68754 * elf/Makefile (distribute): Add tst-initorder2.c.
68755 (tests): Add tst-initorder2.
68756 (modules-names): Add tst-initorder2a tst-initorder2b
68757 tst-initorder2c tst-initorder2d. Add rules to build them.
68758 ($(objpfx)tst-initorder2.out): New rule.
68759 * elf/tst-initorder2.c: New file.
68760 * elf/tst-initorder2.exp: New file.
68761
68762 2011-08-22 Andreas Schwab <schwab@redhat.com>
68763
68764 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
68765
68766 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
68767 dependencies back to end of function.
68768
68769 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
68770 $(elfobjdir)/ld.so.
68771
68772 2011-08-21 Ulrich Drepper <drepper@gmail.com>
68773
68774 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
68775 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
68776 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
68777 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
68778 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
68779 of __vdso_gettimeofday.
68780 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
68781 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
68782 attribute_hidden.
68783 (_libc_vdso_platform_setup): Remove initialization of
68784 __vdso_gettimeofday and __vdso_time.
68785
68786 2011-08-20 Ulrich Drepper <drepper@gmail.com>
68787
68788 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
68789 and fgetc_unlocked.
68790 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
68791 getc_unlocked.
68792
68793 * elf/dl-open.c (add_to_global): Report additions to the global scope
68794 for LD_DEBUG=scopes.
68795 (dl_open_worker): Also print scope of newly loaded dependencies.
68796 (_dl_show_scope): Indicate if there is no scope.
68797
68798 [BZ #13114]
68799 * stdio-common/Makefile (tests): Add bug24.
68800 * stdio-common/bug24.c: New file.
68801
68802 2011-08-19 Andreas Jaeger <aj@suse.de>
68803
68804 [BZ #13114]
68805 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
68806 non-existant file when using close-on-exec mode.
68807
68808 2011-08-20 Ulrich Drepper <drepper@gmail.com>
68809
68810 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
68811 the very first instruction.
68812
68813 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
68814 the CFI state in the end.
68815 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
68816 inclusion of dl-trampoline.h.
68817 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
68818
68819 2011-08-19 Andreas Schwab <schwab@redhat.com>
68820
68821 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
68822 expectations for long double.
68823
68824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
68825 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
68826
68827 2011-08-14 David S. Miller <davem@davemloft.net>
68828
68829 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
68830 artificual limit depends upon the system page size.
68831
68832 2011-08-17 Ulrich Drepper <drepper@gmail.com>
68833
68834 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
68835 * resolv/Makefile: Define CFLAGS-libresolv.
68836
68837 2011-08-17 Andreas Schwab <schwab@redhat.com>
68838
68839 * nss/makedb.c (compute_tables): Make variables used in nested
68840 function static.
68841
68842 2011-08-17 Ulrich Drepper <drepper@gmail.com>
68843
68844 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
68845 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
68846 if buffer was too small.
68847
68848 * elf/pldd.c (main): Attach to all threads in the process.
68849 Rewrite /proc handling to use *at functions.
68850
68851 2011-08-16 Ulrich Drepper <drepper@gmail.com>
68852
68853 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
68854 specifies first scope to show.
68855 (dl_open_worker): Update callers. Move printing scope of new
68856 object to before the relocation.
68857 * elf/rtld.c (dl_main): Update _dl_show_scope call.
68858 * sysdeps/generic/ldsodefs.h: Update declaration.
68859
68860 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
68861 string for the scope number.
68862
68863 2011-08-14 Ulrich Drepper <drepper@gmail.com>
68864
68865 * nscd/servicescache.c (cache_addserv): Make sure written is always
68866 initialized.
68867
68868 2011-08-14 Roland McGrath <roland@hack.frob.com>
68869
68870 * sysdeps/i386/i486/bits/atomic.h
68871 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
68872 statement expression, so as to suppress "set but not used" warning.
68873 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
68874
68875 * string/strncat.c (STRNCAT): Use prototype definition.
68876
68877 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
68878 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
68879 -Iprograms here.
68880 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
68881 (localedef-modules): Add localedef.
68882 (locale-modules): Add locale.
68883
68884 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
68885 * elf/rtld.c (dl_main): Invert order of assignment in last change,
68886 to avoid a warning.
68887
68888 2011-08-14 David S. Miller <davem@davemloft.net>
68889
68890 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
68891 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
68892
68893 2011-08-13 Ulrich Drepper <drepper@gmail.com>
68894
68895 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
68896 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
68897 * elf/rtld.c (dl_main): Set l_name of vDSO.
68898 Call _dl_show_scope when DL_DEBUG_SCOPES.
68899 (process_dl_debug): Recognize scopes flag and also set it for all.
68900 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
68901 Declare _dl_show_scope.
68902
68903 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
68904 (do_dlopen): Pass caller_dlopen to dl_open.
68905 (__libc_dlopen_mode): Initialize caller_dlopen.
68906
68907 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
68908 of libc. Make tolower call locale-independent. Optimize a bit by
68909 using isdigit instead of isalnum.
68910 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
68911
68912 2011-08-12 Ulrich Drepper <drepper@gmail.com>
68913
68914 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
68915 was a dependency or dynamically loaded.
68916
68917 2011-08-11 Ulrich Drepper <drepper@gmail.com>
68918
68919 * intl/l10nflist.c: Allow architecture-specific pop function.
68920 * sysdeps/x86_64/l10nflist.c: New file.
68921
68922 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
68923 classification.
68924
68925 2011-08-10 Andreas Schwab <schwab@redhat.com>
68926
68927 * include/dirent.h: Add libc_hidden_proto for scandirat and
68928 scandirat64. Don't declare __scandirat64.
68929 * dirent/scandirat.c: Add libc_hidden_def.
68930 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
68931 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
68932
68933 2011-08-10 David S. Miller <davem@davemloft.net>
68934
68935 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
68936 enum.
68937 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68938 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68939 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68940
68941 2011-08-09 Ulrich Drepper <drepper@gmail.com>
68942
68943 * Versions.def [libc]: Add GLIBC_2.15.
68944 * dirent/Makefile (routines): Add scandirat and scandirat64.
68945 * dirent/Versions [libc]: Export scandirat and scandirat64 for
68946 GLIBC_2.15.
68947 * dirent/dirent.h: Declare scandirat and scandirat64.
68948 * dirent/scandirat.c: New file.
68949 * dirent/scandirat64.c: New file.
68950 * sysdeps/wordsize-64/scandirat.c: New file.
68951 * sysdeps/wordsize-64/scandirat64.c: New file.
68952 * dirent/opendir.c: Define opendirat.
68953 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
68954 using scandirat.
68955 * dirent/scandir64.c: Adjust for scandir.c change.
68956 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
68957 __scandirat64, and __scandir_cancel_handler.
68958 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
68959 additional parameter and use openat instead of open (outside of ld.so).
68960 Add new __opendir as wrapper around __opendirat.
68961 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
68962 here without requiring old scandirat implementation.
68963
68964 2011-08-08 Ulrich Drepper <drepper@gmail.com>
68965
68966 * dirent/scandir.c (cancel_handler): Renamed to
68967 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
68968 defined. Adjust users.
68969 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
68970 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
68971
68972 2011-08-04 Ulrich Drepper <drepper@gmail.com>
68973
68974 * string/test-string.h (IMPL): Use __STRING to expand name and then
68975 stringify it.
68976
68977 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
68978 of cleanups.
68979
68980 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
68981
68982 * string/Makefile: Update.
68983 (strop-tests): Append strncat.
68984 * string/test-wcscmp.c: New file.
68985 New comprehensive test for wcscmp.
68986 * string/test-strcmp.c: Update.
68987 (WIDE): New define.
68988
68989 2011-07-22 Andreas Schwab <schwab@redhat.com>
68990
68991 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
68992 line.
68993
68994 2011-07-26 Andreas Schwab <schwab@redhat.com>
68995
68996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
68997 encoding to ACE if AI_IDN.
68998
68999 2011-08-01 Jakub Jelinek <jakub@redhat.com>
69000
69001 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
69002 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
69003
69004 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
69005
69006 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
69007 Fix overflow bug in strncat.
69008 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
69009
69010 * string/test-strncat.c: Update.
69011 Add new tests for checking overflow bugs.
69012
69013 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
69014
69015 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69016 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
69017 * sysdeps/i386/i686/multiarch/strcat.S: New file.
69018 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
69019 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
69020 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
69021 * sysdeps/i386/i686/multiarch/strncat.S: New file.
69022 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
69023 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
69024
69025 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
69026 (USE_AS_STRCAT): Define.
69027 Add strcat and strncat support.
69028 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69029
69030 2011-07-25 Andreas Schwab <schwab@redhat.com>
69031
69032 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
69033 __n bigger than INT_MAX+1.
69034 (__strncmp_g): Likewise.
69035
69036 2011-07-23 Ulrich Drepper <drepper@gmail.com>
69037
69038 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
69039 * libio/stido.h: Likewise.
69040
69041 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
69042 (AF_NFC): Define.
69043 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
69044 (AF_NFC): Define.
69045
69046 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
69047 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69048 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69049 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
69050 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69051
69052 [BZ #13021]
69053 * scripts/test-installation.pl: Don't expect libnss_test1 to be
69054 installed.
69055
69056 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
69057 typo.
69058 (_dl_x86_64_save_sse): Likewise.
69059
69060 2011-07-22 Ulrich Drepper <drepper@gmail.com>
69061
69062 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
69063 OSXSAVE.
69064 (_dl_x86_64_save_sse): Likewise.
69065
69066 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
69067
69068 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
69069
69070 2011-07-21 Andreas Schwab <schwab@redhat.com>
69071
69072 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
69073 change.
69074 (_dl_x86_64_save_sse): Use correct AVX check.
69075
69076 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
69077
69078 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
69079 bug in strncpy/strncat.
69080 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
69081
69082 2011-07-21 Ulrich Drepper <drepper@gmail.com>
69083
69084 * string/tester.c (test_strcat): Add tests for different alignments
69085 of source and destination.
69086 (test_strncat): Likewise.
69087
69088 2011-07-20 Ulrich Drepper <drepper@gmail.com>
69089
69090 [BZ #12852]
69091 * posix/glob.c (glob): Check passed in values before using them in
69092 expressions to avoid some overflows.
69093 (glob_in_dir): Likewise.
69094
69095 [BZ #13007]
69096 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
69097 check for AVX enablement so that we don't crash with old kernels and
69098 new hardware.
69099 * elf/tst-audit4.c: Add same checks here.
69100 * elf/tst-audit6.c: Likewise.
69101
69102 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
69103
69104 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
69105
69106 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
69107
69108 2011-07-20 Ulrich Drepper <drepper@gmail.com>
69109
69110 * po/cs.po: Update from translation team.
69111 * po/bg.po: Likewise.
69112
69113 2011-07-12 Marek Polacek <mpolacek@redhat.com>
69114
69115 * misc/sys/cdefs.h: Add support for const attribute.
69116 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
69117 to gnu_dev_{major,minor,makedev} functions.
69118
69119 2011-07-20 Marek Polacek <mpolacek@redhat.com>
69120
69121 * intl/dcigettext.c (get_output_charset): Add missing bracket.
69122
69123 2011-07-20 Andreas Schwab <schwab@redhat.com>
69124
69125 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
69126 strlen results.
69127
69128 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69129
69130 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
69131 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
69132 register in order to avoid conflicts with the soft frame pointer
69133 being held in r11 when necessary.
69134 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
69135 (INTERNAL_VSYSCALL_NCS): Likewise.
69136
69137 2011-07-14 Marek Polacek <mpolacek@redhat.com>
69138
69139 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
69140 * elf/dl-fini.c (_dl_fini): Adjust caller.
69141 * elf/dl-close.c (_dl_close_worker): Likewise.
69142 * sysdeps/generic/ldsodefs.h: Adjust declaration.
69143
69144 2011-07-15 Marek Polacek <mpolacek@redhat.com>
69145
69146 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
69147 "aux_cache->nlibs < 0".
69148
69149 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
69150 in the reload-count case.
69151
69152 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
69153
69154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69155 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
69156 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
69157 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
69158 * sysdeps/x86_64/multiarch/strcat.S: New file.
69159 * sysdeps/x86_64/multiarch/strncat.S: New file.
69160 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
69161 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
69162 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
69163 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
69164 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
69165 (USE_AS_STRCAT): Define.
69166 Add strcat and strncat support.
69167 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69168 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
69169 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
69170 * string/strncat.c: Update.
69171 (USE_AS_STRNCAT): Define.
69172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69173 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
69174 and i7.
69175 * sysdeps/x86_64/multiarch/init-arch.h
69176 (bit_Prefer_PMINUB_for_stringop): New.
69177 (index_Prefer_PMINUB_for_stringop): Likewise.
69178 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
69179 bit_Prefer_PMINUB_for_stringop.
69180
69181 2011-07-19 Ulrich Drepper <drepper@gmail.com>
69182
69183 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
69184 buffer64.
69185 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
69186 of casting of buffer.
69187 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
69188 buffer32 and buffer64.
69189 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
69190 writes instead of casting of buffer.
69191 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
69192 buffer32.
69193 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
69194 casting of buffer.
69195
69196 2011-07-19 Andreas Schwab <schwab@redhat.com>
69197
69198 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
69199
69200 2011-07-19 Ulrich Drepper <drepper@gmail.com>
69201
69202 * nscd/nscd.c (termination_handler): Don't do anything for a database
69203 if it has not yet been initialized.
69204
69205 2011-07-18 Ulrich Drepper <drepper@gmail.com>
69206
69207 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69208
69209 2011-07-15 Marek Polacek <mpolacek@redhat.com>
69210
69211 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69212
69213 2011-07-18 Ulrich Drepper <drepper@gmail.com>
69214
69215 * po/nl.po: Update from translation team.
69216 * po/sv.po: Likewise.
69217
69218 2011-07-16 Roland McGrath <roland@hack.frob.com>
69219
69220 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
69221 now disallowed by GCC.
69222
69223 * configure.in (use-default-link): Default to yes if a test -shared
69224 link meets our qualifications.
69225 * configure: Regenerated.
69226
69227 * config.make.in (output-format): New variable.
69228 * configure.in: Check for ld --print-output-format support.
69229 * configure: Regenerated.
69230 * Makerules ($(common-objpfx)format.lds)
69231 [$(output-format) != unknown]: Just use $(output-format),
69232 instead of the linker-script munging.
69233
69234 2011-07-14 Roland McGrath <roland@hack.frob.com>
69235
69236 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
69237 of $(common-objpfx)shlib.lds.
69238 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
69239
69240 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
69241 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
69242
69243 * configure.in (-z relro check): Adjust test code to add a large
69244 writable data section after it.
69245 * configure: Regenerated.
69246
69247 2011-07-11 Roland McGrath <roland@hack.frob.com>
69248
69249 * configure.in (-z relro check): Fix test code to make the variable
69250 truly const.
69251 * configure: Regenerated.
69252
69253 2011-07-11 Ulrich Drepper <drepper@gmail.com>
69254
69255 * nscd/nscd.h (struct traced_file): Define.
69256 (struct database_dyn): Remove inotify_descr, reset_res, and filename
69257 elements. Add traced_files.
69258 (inotify_fd): Declare.
69259 (register_traced_file): Declare.
69260 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
69261 (inotify_fd): Export.
69262 (resolv_conf_descr): Remove.
69263 (nscd_init): Move inotify descriptor creation to main.
69264 Don't register files for notification here.
69265 (register_traced_file): New function.
69266 (invalidate_cache): Don't use reset_res to determine whether to call
69267 res_init, go through the list of registered files.
69268 (main_loop_poll): The inotify descriptors are now stored in the
69269 structures for the traced files.
69270 (main_loop_epoll): Likewise.
69271 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
69272 to __nss_disable_nscd.
69273 * nscd/cache.c (prune_cache): There is no single inotify descriptor
69274 for a database anymore. Check the records for all the registered
69275 files instead.
69276 * nss/Makefile (libnss_files-routines): Add files-init.
69277 (libnss_db-routines): Add db-init.
69278 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
69279 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
69280 * nss/nss_db/db-init.c: New file.
69281 * nss/nss_files/files-init.c: New file.
69282 * nss/nsswitch.c (nss_load_library): New function. Broken out of
69283 __nss_lookup_function.
69284 (__nss_lookup_function): Call nss_load_library.
69285 (nss_load_all_libraries): New function.
69286 (__nss_disable_nscd): Take parameter with callback function for files
69287 to register. Set is_nscd. Load all the DSOs for the NSS modules
69288 used for the cached services.
69289 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
69290 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
69291 options for features to all the files in nscd.
69292
69293 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
69294
69295 2011-07-10 Roland McGrath <roland@hack.frob.com>
69296
69297 * csu/elf-init.c (__libc_csu_init): Comment typo.
69298
69299 2011-07-09 Ulrich Drepper <drepper@gmail.com>
69300
69301 * po/pl.po: Update from translation team.
69302 * po/ja.po: Likewise.
69303 * po/ru.po: Likewise.
69304 * po/ko.po: Likewise.
69305 * po/fr.po: Likewise.
69306
69307 2011-07-09 Roland McGrath <roland@hack.frob.com>
69308
69309 * configure.in (.ctors/.dtors header and trailer check):
69310 Use an empirical test on a built program.
69311 * configure: Regenerated.
69312
69313 * configure.in (-z relro check): Use an empirical test on a built DSO.
69314 Detect, but do not require, on ia64.
69315 * configure: Regenerated.
69316
69317 * configure.in (READELF): Find it with AC_CHECK_TOOL.
69318 Update tests that use readelf to use $READELF instead.
69319 * configure: Regenerated.
69320
69321 2011-07-08 Ulrich Drepper <drepper@gmail.com>
69322
69323 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
69324 if the result is not used.
69325
69326 2011-07-05 Andreas Jaeger <aj@suse.de>
69327
69328 [BZ#9696]
69329 * stdlib/tst-strtod.c: Add testcase.
69330
69331 2011-07-07 Ulrich Drepper <drepper@gmail.com>
69332
69333 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
69334 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
69335 The latter has a higher limit. Take additional parameter to pass to
69336 the new function.
69337 (__pathconf): Pass file to __statfs_link_max.
69338 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
69339 __statfs_link_max.
69340 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
69341 __statfs_link_max.
69342
69343 [BZ #12868]
69344 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
69345 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69346 Handle Lustre.
69347 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
69348 (__statfs_filesize_max): Likewise.
69349 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
69350
69351 2011-07-05 Andreas Jaeger <aj@suse.de>
69352
69353 * resolv/res_comp.c (dn_skipname): Remove unused variable.
69354
69355 2011-07-06 Marek Polacek <mpolacek@redhat.com>
69356
69357 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
69358 `status' variable.
69359 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
69360 Likewise.
69361
69362 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
69363
69364 * Makefile (strop-tests): Add strncat.
69365 * string/test-strncat.c: New file.
69366
69367 2011-06-30 Marek Polacek <mpolacek@redhat.com>
69368
69369 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
69370
69371 2011-06-21 Andreas Jaeger <aj@suse.de>
69372
69373 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
69374 Copy rule from iconvdata/Makefile.
69375
69376 2011-07-06 Ulrich Drepper <drepper@gmail.com>
69377
69378 [BZ #12922]
69379 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
69380 but no long options are defined, just return 'W'.
69381
69382 2011-06-22 Marek Polacek <mpolacek@redhat.com>
69383
69384 [BZ #9696]
69385 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
69386
69387 2011-07-06 Ulrich Drepper <drepper@gmail.com>
69388
69389 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
69390 netgroups to read.
69391 (innetgr): Likewise.
69392
69393 2011-07-05 Roland McGrath <roland@hack.frob.com>
69394
69395 * config.make.in (install_root): Default to $(DESTDIR).
69396
69397 2011-07-05 Ulrich Drepper <drepper@gmail.com>
69398
69399 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
69400
69401 2011-07-02 Roland McGrath <roland@hack.frob.com>
69402
69403 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
69404
69405 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
69406 containing directory rather than embedding absolute directory names.
69407
69408 * scripts/check-local-headers.sh: Rewritten using awk.
69409 Match by word, not by line. Print error messages for matches.
69410 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
69411
69412 * Makerules [shlib-lds-flags empty]:
69413 ($(common-objpfx)libc_pic.opts): New target.
69414 ($(common-objpfx)libc_pic.os.clean): New target.
69415 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
69416
69417 * config.make.in (OBJCOPY): New variable.
69418 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
69419 * configure: Regenerated.
69420
69421 * config.make.in (use-default-link): New variable.
69422 * configure.in (use_default_link): Grok --with-default-link to set it.
69423 * configure: Regenerated.
69424 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
69425 (shlib-lds, shlib-lds-flags): Define to empty.
69426
69427 * Makerules (shlib-lds): New variable.
69428 (shlib-lds-flags): New variable.
69429 (build-shlib, build-moduile, build-module-asneeded): Use it.
69430 ($(common-objpfx)libc.so): Use $(shlib-lds).
69431 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
69432 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
69433
69434 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
69435 DT_FLAGS/DT_FLAGS_1 with zero flags.
69436
69437 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
69438 linker script munging.
69439
69440 2011-07-02 Ulrich Drepper <drepper@gmail.com>
69441
69442 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
69443 as 128-bit value.
69444 * crypt/sha512.c (sha512_process_block): Perform total addition using
69445 128-bit if possible.
69446 (__sha512_finish_ctx): Likewise.
69447 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
69448 as 64-bit value.
69449 * crypt/sha256.c (SWAP64): Define.
69450 (sha256_process_block): Perform total addition using 64-bit if
69451 possible.
69452 (__sha256_finish_ctx): Likewise.
69453
69454 2011-07-01 Ulrich Drepper <drepper@gmail.com>
69455
69456 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
69457 * nscd/initgrcache.c (addinitgroupsX): Likewise.
69458 * nscd/hstcache.c (cache_addhst): Likewise.
69459 * nscd/grpcache.c (cache_addgr): Likewise.
69460 * nscd/aicache.c (addhstaiX): Likewise.
69461 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
69462
69463 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
69464
69465 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
69466 * nscd/initgrcache.c (addinitgroupsX): Likewise.
69467 * nscd/hstcache.c (cache_addhst): Likewise.
69468 * nscd/grpcache.c (cache_addgr): Likewise.
69469 * nscd/aicache.c (addhstaiX): Likewise.
69470
69471 2011-07-01 Andreas Schwab <schwab@redhat.com>
69472
69473 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
69474 domain only when needed.
69475
69476 2011-06-30 Andreas Schwab <schwab@redhat.com>
69477
69478 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
69479 is always restored.
69480
69481 2011-06-29 Ulrich Drepper <drepper@gmail.com>
69482
69483 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
69484 are re-adding the entry.
69485 * nscd/servicescache.c (cache_addserv): Likewise.
69486
69487 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
69488
69489 * sysdeps/generic/dl-irel.h: fix protection against multiple
69490 inclusions.
69491 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
69492
69493 2011-06-28 Ulrich Drepper <drepper@gmail.com>
69494
69495 [BZ #12935]
69496 * malloc/memusage.sh: Fix quoting in message.
69497 * debug/xtrace.sh: Likewise.
69498
69499 * configure.in: Remove support for --experimental-malloc option, make
69500 it the default.
69501 * config.make.in: Likewise.
69502 * malloc/Makefile: Likewise.
69503
69504 2011-06-27 Andreas Schwab <schwab@redhat.com>
69505
69506 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
69507 two-byte characters.
69508
69509 2011-06-27 Roland McGrath <roland@hack.frob.com>
69510
69511 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
69512 AC_CACHE_CHECK invocation.
69513 * configure: Regenerated.
69514
69515 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
69516
69517 2011-06-27 Ulrich Drepper <drepper@gmail.com>
69518
69519 [BZ #12350]
69520 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
69521 bit from old_res_options.
69522
69523 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
69524
69525 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
69526 value type for setfct.
69527
69528 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
69529
69530 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
69531 __gettimeofday instead of gettimeofday.
69532
69533 2011-06-26 Ulrich Drepper <drepper@gmail.com>
69534
69535 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
69536
69537 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
69538
69539 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
69540
69541 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
69542 info.
69543
69544 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
69545
69546 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69547 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69548 strcpy-sse2-unaligned strncpy-sse2-unaligned
69549 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
69550 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
69551 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
69552 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
69553 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
69554 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
69555 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
69556 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
69557 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
69558 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
69559 (STRCPY): Support SSE2 and SSSE3 versions.
69560
69561 2011-06-24 Ulrich Drepper <drepper@gmail.com>
69562
69563 [BZ #12874]
69564 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
69565 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
69566 kernels which artificially limit size of requests.
69567
69568 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
69569
69570 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69571 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
69572 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
69573 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
69574 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
69575 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
69576 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
69577 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
69578 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
69579 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
69580 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
69581 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
69582 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
69583 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
69584 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
69585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69586 Enable unaligned load optimization for Intel Core i3, i5 and i7
69587 processors.
69588 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
69589 Define.
69590 (index_Fast_Unaligned_Load): Define.
69591 (HAS_FAST_UNALIGNED_LOAD): Define.
69592
69593 2011-06-23 Marek Polacek <mpolacek@redhat.com>
69594
69595 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
69596
69597 2011-06-22 Ulrich Drepper <drepper@gmail.com>
69598
69599 [BZ #12907]
69600 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
69601 until it is clear that the information is realy needed.
69602 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
69603
69604 2011-06-22 Andreas Schwab <schwab@redhat.com>
69605
69606 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
69607
69608 2011-06-22 Ulrich Drepper <drepper@gmail.com>
69609
69610 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
69611 /sys/devices/system/cpu/online if it is usable.
69612
69613 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
69614 reading the information from the /proc filesystem to once a second.
69615
69616 2011-06-21 Andreas Jaeger <aj@suse.de>
69617
69618 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
69619 NULL after inclusion of kernel headers.
69620
69621 2011-06-21 Ulrich Drepper <drepper@gmail.com>
69622
69623 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
69624 calls to internal_setent.
69625
69626 [BZ #12885]
69627 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
69628 addresses using gethostbyname4_r ignore IPv4 addresses.
69629
69630 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
69631 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
69632
69633 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
69634
69635 2011-06-20 David S. Miller <davem@davemloft.net>
69636
69637 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
69638 inclusions.
69639 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
69640
69641 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
69642 (elf_irel): Use it.
69643 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
69644 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
69645 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
69646 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
69647 * sysdeps/x86_64/dl-irel.h: Likewise.
69648
69649 * elf/dl-runtime.c: Use elf_ifunc_invoke.
69650 * elf/dl-sym.c: Likewise.
69651
69652 2011-06-15 Ulrich Drepper <drepper@gmail.com>
69653
69654 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
69655 need to dereference resplen2.
69656
69657 2011-06-14 Andreas Schwab <schwab@redhat.com>
69658
69659 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
69660
69661 2011-06-15 Ulrich Drepper <drepper@gmail.com>
69662
69663 * Makeconfig: Define vardbdir and inst_vardbdir.
69664 * nss/Makefile: Add rules to install db-Makefile.
69665
69666 * nss/nss_db/db-XXX.c: Cleanup.
69667
69668 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
69669 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
69670 GLIBC_PRIVATE.
69671 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
69672 * nss/makedb.c: Implement -g option to specify that value strings
69673 are generated and should not be added to table iterated over for
69674 get*ent calls.
69675 * nss/nss_db/db-initgroups.c: New file.
69676
69677 * nss/getent.c: Add support for initgroups lookups through getgrouplist
69678 interface.
69679
69680 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
69681 (internal_getgrouplist): Adjust to name change.
69682 Update use_initgroups_entry if this is not the first call.
69683 * nss/databases.def: Add initgroups entry.
69684
69685 * nss/makedb.c (compute_tables): Check result of multiple hash table
69686 sizes to minimize maximum chain length.
69687
69688 2011-06-14 Ulrich Drepper <drepper@gmail.com>
69689
69690 * Versions.def: Add entry for libnss_db.
69691 * shlib-versions: Likewise.
69692 * nss/Makefile: Add rules to build libnss_db.
69693 * nss/Versions: Add libnss_db information. Organize libnss_files
69694 entries better.
69695 * nss/db-Makefile: Add gshadow support. Change rules for the new
69696 makedb progra. Some minor improvements to generate smaller files.
69697 * nss/nss_db/nss_db.h: Move NSS database header data structures to
69698 here from...
69699 * nss/makedb.c: ...here.
69700 Improve database format to be smaller and require less memory at
69701 runtime.
69702 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
69703 db anymore.
69704 * nss/nss_db/db-netgrp.c: Likewise.
69705 * nss/nss_db/db-open.c: Likewise.
69706 * nss/nss_files/flies-XXX.x: Adjust comments.
69707 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
69708 * nss/nss_files/files-grp.c: Likewise.
69709 * nss/nss_files/files-hosts.c: Likewise.
69710 * nss/nss_files/files-network.c: Likewise.
69711 * nss/nss_files/files-proto.c: Likewise.
69712 * nss/nss_files/files-pwd.c: Likewise.
69713 * nss/nss_files/files-rpc.c: Likewise.
69714 * nss/nss_files/files-service.c: Likewise.
69715 * nss/nss_files/files-sgrp.c: Likewise.
69716 * nss/nss_files/files-spwd.c: Likewise.
69717 * nss/nss_db/db-alias.c: Removed.
69718 * nss/nss_db/dummy-db.h: Removed.
69719
69720 2011-06-02 Ulrich Drepper <drepper@gmail.com>
69721
69722 * nss/makedb.c: Rewritten to not use database library.
69723 * nss/Makefile: Update to build new makedb program.
69724
69725 2011-06-14 Andreas Jaeger <aj@suse.de>
69726
69727 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
69728 memset declaration.
69729
69730 2011-06-10 Andreas Schwab <schwab@redhat.com>
69731
69732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
69733 tmpbuf.
69734
69735 2011-06-10 Roland McGrath <roland@hack.frob.com>
69736
69737 * Makerules (shlib.lds): Fail if the linker script comes out empty.
69738 * elf/Makefile ($(objpfx)ld.so): Likewise.
69739
69740 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
69741 Don't list ld.so twice in dependencies.
69742
69743 * posix/bug-regex31.c: Include <stdlib.h>.
69744
69745 * nscd/hstcache.c (cache_addhst): Remove unused variable.
69746
69747 * nis/nss_compat/compat-spwd.c
69748 (getspent_next_nss_netgr): Remove unused variable.
69749 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
69750
69751 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
69752 nonmembers" output to use the right array.
69753
69754 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
69755
69756 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
69757
69758 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
69759 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
69760 * catgets/gencat.c (read_input_file): Likewise.
69761 * locale/programs/locarchive.c (enlarge_archive): Likewise.
69762
69763 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
69764 variable definition inside #if's controlling its use.
69765
69766 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
69767
69768 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
69769
69770 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
69771
69772 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
69773 unreachable code.
69774
69775 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
69776
69777 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
69778 * configure: Regenerated.
69779
69780 * Makerules: Revert last change.
69781 * elf/Makefile: Likewise.
69782
69783 2011-06-09 Roland McGrath <roland@hack.frob.com>
69784
69785 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
69786 * elf/Makefile ($(objpfx)librtld.os): Likewise.
69787 (reloc-link): Likewise.
69788
69789 2011-06-09 Ulrich Drepper <drepper@gmail.com>
69790
69791 * elf/Makefile: Add rules to build pldd.
69792 * elf/pldd.c: New file.
69793 * elf/pldd-xx.c: New file.
69794
69795 2011-06-07 Ulrich Drepper <drepper@gmail.com>
69796
69797 * version.h: Update for 2.15 development version.
69798
69799 2011-06-07 David S. Miller <davem@davemloft.net>
69800
69801 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
69802 ifuncs.
69803 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
69804 elf_machine_lazy_rel): Likewise.
69805 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
69806 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
69807 elf_machine_lazy_rel): Likewise.
69808 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
69809 dl_hwcap via passed in argument.
69810 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
69811 Likewise.
69812
69813 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69814
69815 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
69816
69817 2011-06-06 Roland McGrath <roland@hack.frob.com>
69818
69819 [BZ #12849]
69820 * manual/fdl-1.1.texi: New file, verbatim from:
69821 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
69822 * manual/lgpl-2.1.texi: New file, verbatim from:
69823 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
69824 * manual/Makefile (licenses): New variable, list those new file names.
69825 (texis): Use it.
69826 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
69827
69828 * manual/fdl.texi: File removed.
69829 * manual/lesser.texi: File removed.
69830 * manual/libc.texinfo (Copying, Documentation License):
69831 Use new @include file names, put @appendix directive before @include.
69832
69833 2011-06-04 Jakub Jelinek <jakub@redhat.com>
69834
69835 [BZ #12841]
69836 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
69837 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
69838 (mq_open): Add __NTH.
69839
69840 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
69841
69842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69843 Assume Intel Core i3/i5/i7 processor if AVX is available.
69844
69845 2011-05-31 Ulrich Drepper <drepper@gmail.com>
69846
69847 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69848 typo.
69849
69850 2011-05-31 Andreas Schwab <schwab@redhat.com>
69851
69852 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
69853 memory. Use alloca_account. Fix memory leak when retrying.
69854
69855 2011-05-31 Ulrich Drepper <drepper@gmail.com>
69856
69857 * version.h (RELEASE): Bump for 2.14 release.
69858 * include/features.h (__GLIBC_MINOR__): Bump to 14.
69859
69860 * config.make.in (RANLIB): Remove entry.
69861
69862 2011-05-30 Ulrich Drepper <drepper@gmail.com>
69863
69864 * po/Makefile (po-sed-cmd): Add ksh to extensions.
69865 (libc.pot): Work around missing support for .ksh extension in xgettext.
69866
69867 [BZ #12684]
69868 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
69869 if both request failed.
69870 (send_dg): In case of server errors clear resplen or *resplen2.
69871
69872 [BZ #12454]
69873 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
69874 when there are multiple maps.
69875 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
69876 (_dl_fini): Remove test here.
69877
69878 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
69879
69880 2011-05-29 Ulrich Drepper <drepper@gmail.com>
69881
69882 [BZ #12350]
69883 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
69884 bit from old_res_options.
69885 (gaih_inet): Likewise.
69886
69887 [BZ #11099]
69888 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
69889 as signed.
69890
69891 * resolv/res_init.c (res_setoptions): Make the code more compact.
69892
69893 [BZ #11558]
69894 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
69895 set RES_USEVC.
69896
69897 [BZ #11634]
69898 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
69899
69900 * malloc/malloc.h: Mark malloc hook variables as deprecated.
69901
69902 [BZ #11781]
69903 * malloc/malloc.h: Declare malloc hook variables as volatile.
69904
69905 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
69906 in last patch.
69907
69908 [BZ #11799]
69909 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
69910 raise in the comment.
69911 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69912 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69913 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
69914
69915 2011-05-28 Ulrich Drepper <drepper@gmail.com>
69916
69917 [BZ #12811]
69918 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
69919 grow the buffers more if it already has to be sufficient.
69920 (build_wcs_upper_buffer): Likewise.
69921 * posix/regexec.c (check_matching): Likewise.
69922 (clean_state_log_if_needed): Likewise.
69923 (extend_buffers): Don't enlarge buffers beyond size of the input
69924 buffer.
69925 Patches mostly by Emil Wojak <emil@wojak.eu>.
69926 * posix/bug-regex32.c: New file.
69927 * posix/Makefile (tests): Add bug-regex32.
69928
69929 * locale/findlocale.c (_nl_find_locale): Return right away if
69930 _nl_explode_name failed.
69931 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
69932
69933 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
69934
69935 * debug/xtrace.sh: Unify messages.
69936 * malloc/memusage.sh: Likewise.
69937
69938 [BZ #12813]
69939 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
69940 time symbol from vDSO. Substitute with vsyscall if not available.
69941 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
69942 __vdso_time.
69943
69944 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
69945 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
69946 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
69947 Add sendmmsg and internal_sendmmsg.
69948 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
69949 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
69950 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
69951
69952 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
69953 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
69954 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
69955
69956 2011-05-27 Ulrich Drepper <drepper@gmail.com>
69957
69958 [BZ #12813]
69959 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
69960 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
69961 available.
69962 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
69963 __vdso_getcpu.
69964
69965 [BZ #12814]
69966 * iconvdata/Makefile (tests): Add bug-iconv9.
69967 * iconvdata/bug-iconv9.c: New file.
69968
69969 2011-05-27 Andreas Schwab <schwab@redhat.com>
69970
69971 [BZ #12814]
69972 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
69973
69974 2011-05-25 Jakub Jelinek <jakub@redhat.com>
69975
69976 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
69977 (struct user_regs_struct): Change intcs field back to cs.
69978
69979 2011-05-25 Ulrich Drepper <drepper@gmail.com>
69980
69981 * po/ja.po: Update from translation team.
69982
69983 2011-05-23 Ulrich Drepper <drepper@gmail.com>
69984
69985 [BZ #12795]
69986 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
69987 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
69988
69989 2011-05-20 Andreas Schwab <schwab@redhat.com>
69990
69991 * stdlib/longlong.h: Update from GCC.
69992
69993 2011-05-23 Andreas Schwab <schwab@redhat.com>
69994
69995 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
69996 parameter name.
69997 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
69998 Add parameter name.
69999 (__sysconf): Pass it down.
70000
70001 2011-05-22 Ulrich Drepper <drepper@gmail.com>
70002
70003 [BZ #12671]
70004 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
70005 some situations.
70006 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
70007 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
70008 add in in __libc_use_alloca calls. Adjust callers.
70009 (glob): Use malloc in some situations.
70010
70011 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
70012 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
70013 pltexit.
70014
70015 2011-05-21 Ulrich Drepper <drepper@gmail.com>
70016
70017 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
70018 and CLOCK_BOOTTIME_ALARM.
70019
70020 [BZ #12782]
70021 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
70022 is returned.
70023
70024 * string/_strerror.c (__strerror_r): Print negative errors as signed
70025 numbers.
70026
70027 [BZ #12777]
70028 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
70029 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
70030 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
70031
70032 * configure.in: Fix typo in redirection and correct removal of test
70033 files in two cases.
70034
70035 [BZ #12788]
70036 * locale/setlocale.c (new_composite_name): Fix test to check for
70037 identical name of all categories.
70038
70039 [BZ #12792]
70040 * libio/filedoalloc.c (local_isatty): New function.
70041 (_IO_file_doallocate): Use local_isatty.
70042 * stdio-common/perror.c (perror): In case a new stream is used
70043 forward the stream error.
70044 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
70045 error flag.
70046
70047 2011-05-20 Ulrich Drepper <drepper@gmail.com>
70048
70049 [BZ #11884]
70050 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
70051 alloca.
70052 * include/alloca.h (extend_alloca_account): Define.
70053
70054 [BZ #11857]
70055 * posix/regex.h: Fix comments with documentation of user-accessible
70056 fields after compilation and describe correct free'ing of pattern
70057 after re_compile_pattern.
70058 Patch by Reuben Thomas <rrt@sc3d.org>.
70059
70060 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
70061
70062 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
70063 and -mno-altivec to prevent the compiler from using Altivec and/or
70064 VSX instructions when the corresponding registers are not available.
70065
70066 2011-05-19 Andreas Schwab <schwab@redhat.com>
70067
70068 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
70069
70070 2011-05-19 Ulrich Drepper <drepper@gmail.com>
70071
70072 * libio/freopen.c (freopen): Use __dup2, not dup2.
70073 * libio/freopen64.c (freopen64): Likewise.
70074
70075 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
70076
70077 [BZ #12775]
70078 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
70079 * math/Makefile (tests): Add test-powl.
70080 (CFLAGS-test-powl.c): Define.
70081 * math/test-powl.c: New file.
70082
70083 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
70084
70085 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
70086
70087 2011-05-17 Ulrich Drepper <drepper@gmail.com>
70088
70089 [BZ #11837]
70090 * iconvdata/gb18030.c: Update to GB18020-2005.
70091
70092 2011-05-16 Ulrich Drepper <drepper@gmail.com>
70093
70094 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
70095 RE_SYNTAX_POSIX_AWK): Update to match recent development.
70096 Patch by Aharon Robbins <arnold@skeeve.com>.
70097
70098 [BZ #11892]
70099 * stdlib/putenv.c (putenv): Don't always create copy of the variable
70100 on the stack.
70101
70102 [BZ #11895]
70103 * misc/pselect.c (__pselect): Handle timeout value errors hidden
70104 through underflows.
70105
70106 [BZ #12766]
70107 * misc/error.c (error_at_line): Ensure file_name and old_file_name
70108 point to strings before performing equality test for error_one_per_line
70109 mode.
70110
70111 [BZ #11697]
70112 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
70113
70114 [BZ #11820]
70115 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70116 (struct user_fpregs_struct): Avoid __uint*_t types.
70117
70118 [BZ #6420]
70119 * malloc/mtrace.c (tr_where): Add additional parameter to point to
70120 symbol info. Use it instead of calling _dl_addr locally.
70121 (lock_and_info): New function.
70122 (tr_freehook): Call lock_and_info and pass symbol info as additional
70123 parameter to tr_where.
70124 (tr_mallochook): Likewise.
70125 (tr_reallochook): Likewise.
70126 (tr_memalignhook): Likewise.
70127
70128 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
70129 used and couldn't be at all thread-safe.
70130
70131 2011-05-15 Ulrich Drepper <drepper@gmail.com>
70132
70133 * libio/freopen.c (freopen): Don't close old file descriptor
70134 before the new one is opened. Instead dup the new file descriptor
70135 to the old one after the new stream is created.
70136 * libio/freopen64.c (freopen64): Likewise.
70137 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
70138 * libio/fileops.c (_IO_new_file_close_it): Handle new
70139 _IO_FLAGS2_NOCLOSE flag.
70140 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
70141 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
70142 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
70143 _IO_FLAGS2_NOCLOSE flag.
70144 * include/unistd.h: Add hidden_proto for dup3.
70145 Define __have_dup3.
70146 * io/dup3.c: Define hidden symbol.
70147 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
70148
70149 [BZ #7101]
70150 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
70151 when an incomplete long option is used.
70152 * posix/tst-getopt_long1.c: New file.
70153 * posix/Makefile (tests): Add tst-getopt_long1.
70154
70155 [BZ #10138]
70156 * scripts/config.guess: Update from autoconf-2.68.
70157 * scripts/config.sub: Likewise.
70158
70159 [BZ #10157]
70160 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
70161 tests into ...
70162 (has_cpuclock): ...this. New function.
70163 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
70164 macro here based on has_cpuclock code.
70165
70166 [BZ #10149]
70167 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70168 First byte (not low byte) is now always NUL.
70169 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
70170
70171 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70172 Use non-cancelable interfaces.
70173
70174 [BZ #9809]
70175 * locale/iso-639.def: Add entry for Sorani.
70176
70177 [BZ #11901]
70178 * include/stdlib.h: Move include protection to the right place.
70179 Define abort_msg_s. Declare __abort_msg with it.
70180 * stdlib/abort.c (__abort_msg): Adjust type.
70181 * assert/assert.c (__assert_fail_base): New function. Majority
70182 of code from __assert_fail. Allocate memory for __abort_msg with
70183 mmap.
70184 (__assert_fail): Now call __assert_fail_base.
70185 * assert/assert-perr.c: Remove bulk of implementation. Use
70186 __assert_fail_base.
70187 * include/assert.hL Declare __assert_fail_base.
70188 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
70189 mmap.
70190 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
70191
70192 2011-05-14 Ulrich Drepper <drepper@gmail.com>
70193
70194 [BZ #11952]
70195 [BZ #12453]
70196 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
70197 until all modules are registered in the DTV.
70198 * elf/Makefile: Add rules to build and run tst-tls19.
70199 * elf/tst-tls19.c: New file.
70200 * elf/tst-tls19mod1.c: New file.
70201 * elf/tst-tls19mod2.c: New file.
70202 * elf/tst-tls19mod3.c: New file.
70203 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
70204
70205 [BZ #12083]
70206 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
70207 correctly.
70208
70209 [BZ #12601]
70210 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
70211 two-byte sequence errors.
70212 * iconvdata/Makefile (tests): Add bug-iconv8.
70213 * iconvdata/bug-iconv8.c: New file.
70214
70215 [BZ #12626]
70216 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
70217 buf2 definition.
70218
70219 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
70220
70221 [BZ #12432]
70222 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
70223 (dummy_getcfa): New function.
70224 (init): Get _Unwind_GetCFA address, use dummy if not found.
70225 (backtrace_helper): In recursion check, also check whether CFA changes.
70226 (__backtrace): Completely initialize arg.
70227
70228 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
70229 storing incomplete byte sequence in state object. Avoid testing for
70230 guaranteed too small input if we know there is enough data available.
70231
70232 2011-05-11 Andreas Schwab <schwab@redhat.com>
70233
70234 * Makeconfig (+link-pie): Indent.
70235 * Rules (binaries-pie): Define if $(have-fpie) and
70236 $(build-shared).
70237 (binaries-shared): Also filter out $(binaries-pie).
70238 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
70239 * nscd/Makefile (others-pie): Add nscd.
70240 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
70241 ($(objpfx)nscd): Remove command override.
70242 * login/Makefile (others-pie): Add pt_chown.
70243 ($(objpfx)pt_chown): Remove command override.
70244 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
70245 remove command overrides.
70246
70247 2011-05-13 Ulrich Drepper <drepper@gmail.com>
70248
70249 * libio/tst_putwc.c: Fix error messages.
70250
70251 [BZ #12724]
70252 * libio/fileops.c (_IO_new_file_close_it): Always flush when
70253 currently writing and seek to current position when not.
70254 * libio/Makefile (tests): Add bug-fclose1.
70255 * libio/bug-fclose1.c: New file.
70256
70257 2011-05-12 Ulrich Drepper <drepper@gmail.com>
70258
70259 [BZ #12511]
70260 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
70261 don't set DF_1_NODELETE here.
70262 (do_lookup_x): When entering new entry test for copy relocation
70263 and if necessary set DF_1_NODELETE flag.
70264 * elf/tst-unique4.cc: New file.
70265 * elf/tst-unique4.h: New file.
70266 * elf/tst-unique4lib.cc: New file.
70267 * elf/Makefile: Add rules to build and run tst-unique4.
70268 Patch by Piotr Bury <pbury@goahead.com>.
70269
70270 2011-05-11 Ulrich Drepper <drepper@gmail.com>
70271
70272 [BZ #12052]
70273 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
70274
70275 [BZ #12625]
70276 * misc/mntent_r.c (addmntent): Flush the stream after the output
70277
70278 [BZ #12393]
70279 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
70280 (is_trusted_path_normalize): Skip initial colon. Append slash
70281 to empty buffer. Duplicate is_trusted_path code but allow
70282 constructed patch to be prefix.
70283 (is_dst): Allow $ORIGIN followed by /.
70284 (_dl_dst_substitute): Correct clearing of check_for_trusted.
70285 Correct testing of result of is_trusted_path_normalize
70286 (decompose_rpath): Fix warning.
70287
70288 2011-05-10 Ulrich Drepper <drepper@gmail.com>
70289
70290 [BZ #11257]
70291 * grp/initgroups.c (internal_getgrouplist): When we found the service
70292 list through the initgroups entry in nsswitch.conf do not always
70293 continue on a successful lookup. Don't always use the
70294 __nss_group_database value if it is set.
70295 * nss/nsswitch.conf (initgroups): Change action for successful db
70296 lookup to continue for compatibility.
70297
70298 2011-05-09 Ulrich Drepper <drepper@gmail.com>
70299
70300 [BZ #11532]
70301 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
70302 and CP774 modules.
70303 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
70304 and CP774 modules.
70305 * iconvdata/tst-tables.sh: Likewise.
70306 * iconvdata/cp770.c: New file.
70307 * iconvdata/cp771.c: New file.
70308 * iconvdata/cp772.c: New file.
70309 * iconvdata/cp773.c: New file.
70310 * iconvdata/cp774.c: New file.
70311 * iconvdata/testdata/CP770: New file.
70312 * iconvdata/testdata/CP770..UTF8: New file.
70313 * iconvdata/testdata/CP771: New file.
70314 * iconvdata/testdata/CP771..UTF8: New file.
70315 * iconvdata/testdata/CP772: New file.
70316 * iconvdata/testdata/CP772..UTF8: New file.
70317 * iconvdata/testdata/CP773: New file.
70318 * iconvdata/testdata/CP773..UTF8: New file.
70319 * iconvdata/testdata/CP774: New file.
70320 * iconvdata/testdata/CP774..UTF8: New file.
70321
70322 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
70323 END CHARMAP line.
70324 * iconvdata/gen-8bit-gap.sh: Likewise.
70325 * iconvdata/gen-8bit.sh: Likewise.
70326
70327 * locale/iso-639.def: Add ary entry.
70328
70329 [BZ #11258]
70330 * locale/C-translit.h.in: Add U20A1 transliteration.
70331
70332 [BZ #12178]
70333 * locale/iso-639.def: Add wae entry.
70334 Patch by Kevin Bortis <bortis@translate-wae.ch>.
70335
70336 [BZ #12545]
70337 * locale/programs/localedef.c (construct_output_path): Use ssize_t
70338 for n.
70339
70340 [BZ #12711]
70341 * locale/C-translit.h.in: Add entry for U20B9.
70342 Patch by pravin.d.s@gmail.com.
70343
70344 2011-05-08 Ulrich Drepper <drepper@gmail.com>
70345
70346 [BZ #12713]
70347 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
70348 ENAMETOOLONG use generic getcwd.
70349 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
70350 in rtld. Use *stat64.
70351 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
70352 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
70353 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
70354 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
70355 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
70356 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
70357 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
70358 __fstatat64 macros.
70359 * include/dirent.h: Add libc_hidden_proto for rewinddir.
70360 * dirent/rewinddir.c: Add libc_hidden_def.
70361 * sysdeps/mach/hurd/rewinddir.c: Likewise.
70362 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
70363
70364 * include/dirent.h (__alloc_dir): Add flags parameter.
70365 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
70366 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
70367 __alloc_dir.
70368 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
70369 from fdopendir if O_CLOEXEC is already set.
70370
70371 2011-03-15 Alan Modra <amodra@gmail.com>
70372
70373 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
70374 l_tls_firstbyte_offset non-zero. Save padding offset in
70375 l_tls_firstbyte_offset for later use.
70376 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
70377 freeing static tls block.
70378
70379 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
70380
70381 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
70382 where #ifdef was intended. The intent is to prevent ARG_MAX from
70383 being defined by the kernel headers.
70384
70385 2011-05-07 Ulrich Drepper <drepper@gmail.com>
70386
70387 [BZ #12734]
70388 * resolv/resolv.h: Define RES_NOTLDQUERY.
70389 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
70390 no-tld-query and set RES_NOTLDQUERY.
70391 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
70392 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
70393 modern BIND to search name as TLD unless forbidden.
70394
70395 2011-05-07 Petr Baudis <pasky@suse.cz>
70396 Ulrich Drepper <drepper@gmail.com>
70397
70398 [BZ #12393]
70399 * elf/dl-load.c (fillin_rpath): Move trusted path check...
70400 (is_trusted_path): ...to here.
70401 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
70402 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
70403 using is_trusted_path_normalize() in setuid scripts.
70404
70405 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
70406
70407 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
70408 __BEGIN/__END_DECLS.
70409
70410 2011-05-06 Ulrich Drepper <drepper@gmail.com>
70411
70412 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
70413 NSS_STATUS_NOTFOUND if no record was found.
70414
70415 2011-05-05 Andreas Schwab <schwab@redhat.com>
70416
70417 * sunrpc/Makefile (headers): Add rpc/netdb.h.
70418 (headers-not-in-tirpc): Remove rpc/netdb.h
70419 * resolv/netdb.h: Revert last change.
70420
70421 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
70422
70423 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
70424 circular dependency between libgcc.a and libc.a.
70425
70426 2011-05-05 Andreas Schwab <schwab@redhat.com>
70427
70428 * resolv/netdb.h: Don't include <rpc/netdb.h>.
70429 * nis/Makefile: Don't install rpcsvc/*.
70430 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
70431 instead of <rpc/types.h>.
70432 (MAXHOSTNAMELEN): Define.
70433
70434 2011-05-03 Andreas Schwab <schwab@redhat.com>
70435
70436 * elf/ldconfig.c (add_dir): Don't crash on empty path.
70437
70438 2011-04-28 Maciej Babinski <mbabinski@google.com>
70439
70440 [BZ #12714]
70441 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
70442 gethostbyname4_r when IPv6 results are possible.
70443
70444 2011-05-02 Ulrich Drepper <drepper@gmail.com>
70445
70446 [BZ #12723]
70447 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
70448 _PC_PIPE_BUF handling.
70449
70450 2011-04-30 Bruno Haible <bruno@clisp.org>
70451
70452 [BZ #12717]
70453 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
70454 * resolv/netdb.h (getnameinfo): Change type of flags parameter
70455 to 'int'.
70456 * inet/getnameinfo.c (getnameinfo): Likewise.
70457
70458 2011-04-29 Ulrich Drepper <drepper@gmail.com>
70459
70460 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
70461 to groups setting in database lookup.
70462 * nss/nsswitch.conf: Add initgroups entry.
70463
70464 2011-04-22 Ulrich Drepper <drepper@gmail.com>
70465
70466 [BZ #12685]
70467 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
70468 mode string.
70469 Patch by Eric Blake <eblake@redhat.com>.
70470
70471 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
70472
70473 * sunrpc/Makefile (need-export-routines): Add svc_run.
70474 (routines): Remove svc_run.
70475 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
70476 * sunrpc/clnt_perr.c (clnt_perrno): Export.
70477 * sunrpc/svc_run.c (svc_run): Likewise.
70478 * sunrpc/svc_udp.c (svcudp_create): Likewise.
70479
70480 2011-04-21 Ulrich Drepper <drepper@gmail.com>
70481
70482 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
70483 problem in reallocation in last patch.
70484
70485 2011-04-20 Ulrich Drepper <drepper@gmail.com>
70486
70487 * sunrpc/Makefile: Move inclusion of Rules.
70488
70489 2011-04-19 Ulrich Drepper <drepper@gmail.com>
70490
70491 * nss/nss_files/files-initgroups.c: New file.
70492 * nss/Makefile (libnss_files-routines): Add files-initgroups.
70493 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
70494 _nss_files_initgroups_dyn.
70495
70496 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
70497
70498 * elf/elf.h (R_ARM_IRELATIVE): Define.
70499
70500 2011-04-19 Ulrich Drepper <drepper@gmail.com>
70501
70502 * po/ru.po: Update from translation team.
70503
70504 2011-04-17 Ulrich Drepper <drepper@gmail.com>
70505
70506 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
70507 dependencies.
70508
70509 2011-02-06 Mike Frysinger <vapier@gentoo.org>
70510
70511 [BZ #12653]
70512 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
70513 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
70514 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70515 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
70516 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
70517
70518 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
70519
70520 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
70521 differing bytes.
70522 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
70523 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
70524 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70525
70526 2011-04-17 Ulrich Drepper <drepper@gmail.com>
70527
70528 [BZ #12420]
70529 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
70530 storing it.
70531 * stdlib/bug-getcontext.c: New file.
70532 * stdlib/Makefile: Add rules to build and run bug-getcontext.
70533
70534 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70535
70536 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
70537 instructions into .machine "z9-109".
70538 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
70539 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
70540
70541 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70542
70543 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
70544 between environment variables and auxiliary vector.
70545
70546 2011-04-16 Ulrich Drepper <drepper@gmail.com>
70547
70548 * Makefile: Add rules to build linkobj/libc.so.
70549 * include/libc-symbols.h: Define libc_hidden_nolink.
70550 * include/rpc/auth.h: Mark functions which are to be hidden.
70551 * include/rpc/auth_des.h: Likewise.
70552 * include/rpc/auth_unix.h: Likewise.
70553 * include/rpc/clnt.h: Likewise.
70554 * include/rpc/des_crypt.h: Likewise.
70555 * include/rpc/key_prot.h: Likewise.
70556 * include/rpc/pmap_clnt.h: Likewise.
70557 * include/rpc/pmap_prot.h: Likewise.
70558 * include/rpc/pmap_rmt.h: Likewise.
70559 * include/rpc/rpc_msg.h: Likewise.
70560 * include/rpc/svc.h: Likewise.
70561 * include/rpc/svc_auth.h: Likewise.
70562 * include/rpc/xdr.h: Likewise.
70563 * nis/Makefile: Link all DSOs against linkobj/libc.so.
70564 * nss/Makefile: Likewise.
70565 * sunrpc/Makefile: Don't install headers. Build library with normal
70566 entry points. Don't build rpcinfo. Link RPC tests appropriately.
70567 * sunrpc/auth_des.c: Hide exported symbols by default, export some
70568 for the compat linking library. Remove use of INTDEF/INTUSE.
70569 * sunrpc/auth_none.c: Likewise.
70570 * sunrpc/auth_unix.c: Likewise.
70571 * sunrpc/authdes_prot.c: Likewise.
70572 * sunrpc/authuxprot.c: Likewise.
70573 * sunrpc/clnt_gen.c: Likewise.
70574 * sunrpc/clnt_perr.c: Likewise.
70575 * sunrpc/clnt_raw.c: Likewise.
70576 * sunrpc/clnt_simp.c: Likewise.
70577 * sunrpc/clnt_tcp.c: Likewise.
70578 * sunrpc/clnt_udp.c: Likewise.
70579 * sunrpc/clnt_unix.c: Likewise.
70580 * sunrpc/des_crypt.c: Likewise.
70581 * sunrpc/des_soft.c: Likewise.
70582 * sunrpc/get_myaddr.c: Likewise.
70583 * sunrpc/key_call.c: Likewise.
70584 * sunrpc/key_prot.c: Likewise.
70585 * sunrpc/netname.c: Likewise.
70586 * sunrpc/pm_getmaps.c: Likewise.
70587 * sunrpc/pm_getport.c: Likewise.
70588 * sunrpc/pmap_clnt.c: Likewise.
70589 * sunrpc/pmap_prot.c: Likewise.
70590 * sunrpc/pmap_prot2.c: Likewise.
70591 * sunrpc/pmap_rmt.c: Likewise.
70592 * sunrpc/publickey.c: Likewise.
70593 * sunrpc/rpc_cmsg.c: Likewise.
70594 * sunrpc/rpc_common.c: Likewise.
70595 * sunrpc/rpc_dtable.c: Likewise.
70596 * sunrpc/rpc_prot.c: Likewise.
70597 * sunrpc/rpc_thread.c: Likewise.
70598 * sunrpc/rtime.c: Likewise.
70599 * sunrpc/svc.c: Likewise.
70600 * sunrpc/svc_auth.c: Likewise.
70601 * sunrpc/svc_authux.c: Likewise.
70602 * sunrpc/svc_raw.c: Likewise.
70603 * sunrpc/svc_run.c: Likewise.
70604 * sunrpc/svc_simple.c: Likewise.
70605 * sunrpc/svc_tcp.c: Likewise.
70606 * sunrpc/svc_udp.c: Likewise.
70607 * sunrpc/svc_unix.c: Likewise.
70608 * sunrpc/svcauth_des.c: Likewise.
70609 * sunrpc/xcrypt.c: Likewise.
70610 * sunrpc/xdr.c: Likewise.
70611 * sunrpc/xdr_array.c: Likewise.
70612 * sunrpc/xdr_float.c: Likewise.
70613 * sunrpc/xdr_intXX_t.c: Likewise.
70614 * sunrpc/xdr_mem.c: Likewise.
70615 * sunrpc/xdr_rec.c: Likewise.
70616 * sunrpc/xdr_ref.c: Likewise.
70617 * sunrpc/xdr_sizeof.c: Likewise.
70618 * sunrpc/xdr_stdio.c: Likewise.
70619
70620 2011-04-10 Ulrich Drepper <drepper@gmail.com>
70621
70622 [BZ #12650]
70623 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
70624 * sysdeps/ia64/dl-tls.h: Likewise.
70625 * sysdeps/powerpc/dl-tls.h: Likewise.
70626 * sysdeps/s390/dl-tls.h: Likewise.
70627 * sysdeps/sh/dl-tls.h: Likewise.
70628 * sysdeps/sparc/dl-tls.h: Likewise.
70629 * sysdeps/x86_64/dl-tls.h: Likewise.
70630 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
70631
70632 2011-03-14 Andreas Schwab <schwab@redhat.com>
70633
70634 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
70635 rpath element also skip the following colon.
70636 (expand_dynamic_string_token): Add is_path parameter and pass
70637 down to DL_DST_REQUIRED and _dl_dst_substitute.
70638 (decompose_rpath): Call expand_dynamic_string_token with
70639 non-zero is_path. Ignore empty rpaths.
70640 (_dl_map_object_from_fd): Call expand_dynamic_string_token
70641 with zero is_path.
70642
70643 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
70644
70645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
70646 Make cancelable.
70647
70648 2011-04-09 Ulrich Drepper <drepper@gmail.com>
70649
70650 [BZ #12655]
70651 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
70652 Patch by Filipe David Manana <fdmanana@apache.org>.
70653
70654 2011-04-07 Andreas Schwab <schwab@redhat.com>
70655
70656 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
70657 Maintain aligned stack.
70658 (CHECK_RSP): Remove unused macro.
70659
70660 2011-04-03 Ulrich Drepper <drepper@gmail.com>
70661
70662 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
70663 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
70664
70665 2011-04-02 Ulrich Drepper <drepper@gmail.com>
70666
70667 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
70668
70669 * include/features.h: Mention __USE_XOPEN2K8 in comment.
70670
70671 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
70672
70673 [BZ #12518]
70674 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
70675 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
70676 * sysdeps/x86_64/memmove.c: New file.
70677 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
70678 (memcpy): Renamed to ...
70679 (__new_memcpy): This.
70680 (memcpy): Provide GLIBC_2_14 memcpy.
70681 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
70682 (memcpy): Provide GLIBC_2_2_5 memcpy.
70683
70684 2011-04-01 Ulrich Drepper <drepper@gmail.com>
70685
70686 [BZ #12631]
70687 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
70688
70689 2011-03-30 Andreas Schwab <schwab@redhat.com>
70690
70691 * misc/syncfs.c: New file.
70692 * misc/Makefile (routines): Add syncfs.
70693 * posix/unistd.h: Declare syncfs.
70694 * sysdeps/unix/syscalls.list: Add syncfs.
70695
70696 2011-04-01 Andreas Schwab <schwab@redhat.com>
70697
70698 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
70699 open_by_handle_at.
70700 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
70701 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70702 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70703 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70704 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70705 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
70706 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70707
70708 2011-04-01 Ulrich Drepper <drepper@gmail.com>
70709
70710 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
70711 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70712 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
70713 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70714 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70715 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70716 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70717
70718 * io/Makefile: Compile fallocate.c, fallocate64.c, and
70719 sync_file_range.c with -fexceptions.
70720 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
70721 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
70722 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
70723 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
70724 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
70725 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
70726 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
70727 sync_file_range as cancellation point
70728 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
70729 now a wrapper around __call_sync_file_range with cancellation handling.
70730 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
70731 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
70732 function name to __call_sync_file_range.
70733 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
70734 Add call_sync_file_range.
70735
70736 2011-04-01 Andreas Schwab <schwab@redhat.com>
70737
70738 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70739 bits/timex.h.
70740
70741 2011-04-01 Ulrich Drepper <drepper@gmail.com>
70742
70743 * iconv/iconv.h: Fix typo in comment.
70744 * io/fcntl.h: Likewise.
70745 * libio/stdio.h: Likewise.
70746 * posix/spawn.h: Likewise.
70747 * posix/unistd.h: Likewise.
70748 * stdlib/stdlib.h: Likewise.
70749 * time/time.h: Likewise.
70750 * wcsmbs/wchar.h: Likewise.
70751
70752 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
70753 open_by_handle): Add.
70754 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
70755 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
70756 Augment a few comments.
70757 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70758 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70759 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70761 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70762 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
70763 open_by_handle.
70764
70765 * io/fcntl.h (AT_EMPTY_PATH): Define.
70766
70767 2011-03-30 Ulrich Drepper <drepper@gmail.com>
70768
70769 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
70770 * sysdeps/unix/sysv/linux/bits/time.h: New file.
70771 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
70772 to...
70773 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
70774 * Versions.def: Add GLIBC_2.14.
70775 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
70776 Export.
70777
70778 2011-03-22 Ulrich Drepper <drepper@gmail.com>
70779
70780 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
70781 round counter.
70782 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70783
70784 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
70785
70786 [BZ #12597]
70787 * string/test-strncmp.c (do_page_test): New function.
70788 (check2): Likewise.
70789 (test_main): Call check2.
70790 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
70791
70792 2011-03-20 Ulrich Drepper <drepper@gmail.com>
70793
70794 [BZ #12587]
70795 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
70796 Handle cache information in CPU leaf 4.
70797 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70798
70799 2011-03-18 Ulrich Drepper <drepper@gmail.com>
70800
70801 [BZ #12583]
70802 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
70803 character representation.
70804 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
70805
70806 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
70807
70808 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
70809 END(__isnan) to END(__isnanf) to match function entry point/label
70810 EALIGN(__isnanf,...).
70811
70812 2011-03-10 Jakub Jelinek <jakub@redhat.com>
70813
70814 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
70815
70816 2011-03-10 Ulrich Drepper <drepper@gmail.com>
70817
70818 [BZ #12510]
70819 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
70820 copy from the symbol referenced in the relocation to initialize the
70821 used variable.
70822 Patch by Piotr Bury <pbury@goahead.com>.
70823 * elf/Makefile: Add rules to build and tst-unique3.
70824 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
70825 * elf/tst-unique3.cc: New file.
70826 * elf/tst-unique3.h: New file.
70827 * elf/tst-unique3lib.cc: New file.
70828 * elf/tst-unique3lib2.cc: New file.
70829
70830 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
70831
70832 2011-03-10 Mike Frysinger <vapier@gentoo.org>
70833
70834 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
70835 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
70836 to _start.
70837
70838 2011-03-06 Ulrich Drepper <drepper@gmail.com>
70839
70840 * elf/dl-load.c (_dl_map_object): If we are looking for the first
70841 to-be-loaded object along a path to loader is ld.so.
70842
70843 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
70844 Ulrich Drepper <drepper@gmail.com>
70845
70846 * sysdeps/x86_64/memset.S: After aligning destination, code
70847 branches to different locations depending on the value of
70848 misalignment, when multiarch is enabled. Fix this.
70849
70850 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
70851
70852 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
70853 Set _x86_64_preferred_memory_instruction for AMD processsors.
70854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70855 Set bit_Prefer_SSE_for_memop for AMD processors.
70856
70857 2011-03-04 Ulrich Drepper <drepper@gmail.com>
70858
70859 * libio/fmemopen.c (fmemopen): Optimize a bit.
70860
70861 2011-03-03 Andreas Schwab <schwab@redhat.com>
70862
70863 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
70864
70865 2011-03-03 Roland McGrath <roland@redhat.com>
70866
70867 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
70868
70869 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
70870
70871 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
70872 __bzero_ultra1 instead of __memset_ultra1.
70873
70874 2011-02-23 Andreas Schwab <schwab@redhat.com>
70875 Ulrich Drepper <drepper@gmail.com>
70876
70877 [BZ #12509]
70878 * include/link.h (struct link_map): Add l_orig_initfini.
70879 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
70880 returning unsuccessfully.
70881 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
70882 close of a file loaded at startup, restore the original l_initfini
70883 list.
70884 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
70885 list, store the pointer.
70886 * elf/Makefile ($(objpfx)noload-mem): New rule.
70887 (noload-ENV): Define.
70888 (tests): Add $(objpfx)noload-mem.
70889 * elf/noload.c: Include <memcheck.h>.
70890 (main): Call mtrace. Close all opened handles.
70891
70892 2011-02-17 Andreas Schwab <schwab@redhat.com>
70893
70894 [BZ #12454]
70895 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
70896 dependencies are missing.
70897
70898 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
70899
70900 Fix __if_freereq crash: Unlike the generic version which uses free,
70901 Hurd needs munmap.
70902 * sysdeps/mach/hurd/ifreq.h: New file.
70903
70904 2011-01-27 Petr Baudis <pasky@suse.cz>
70905 Ulrich Drepper <drepper@gmail.com>
70906
70907 [BZ 12445]#
70908 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
70909 to extend_alloca().
70910 * stdio-common/bug23.c: New file.
70911 * stdio-common/Makefile (tests): Add bug23.
70912
70913 2010-09-28 Andreas Schwab <schwab@redhat.com>
70914 Ulrich Drepper <drepper@gmail.com>
70915
70916 [BZ #12489]
70917 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
70918 before performing relro protection. At old place add assertion
70919 to make sure nothing changed.
70920
70921 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
70922 Glauber de Oliveira Costa <glommer@gmail.com>
70923
70924 * elf/elf.h: Add new ARM TLS relocs.
70925
70926 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
70927
70928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
70929 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
70930 cast from r3.
70931 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
70932 'tests' variable.
70933 * sysdeps/wordsize-64/tst-writev.c: New file.
70934
70935 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
70936
70937 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
70938 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
70939 insns in _dl_start to prevent a TOC reference before relocs are
70940 resolved.
70941
70942 2011-02-15 Ulrich Drepper <drepper@gmail.com>
70943
70944 [BZ #12469]
70945 * Makeconfig: Remove RANLIB definition.
70946 * Makerules: Don't use RANLIB.
70947 * aclocal.m4: Remove ranlib test.
70948 * configure.in: No need to check for ranlib.
70949 * elf/rtld-Rules: Don't use RANLIB.
70950
70951 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
70952
70953 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
70954 protection macro.
70955 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
70956 inclusion protection macro.
70957
70958 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
70959 SIGRTMIN and SIGRTMAX and print information in that case only when
70960 SIGRTMIN is defined.
70961
70962 2011-02-11 Jakub Jelinek <jakub@redhat.com>
70963
70964 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
70965 arginfo fn returning -1.
70966
70967 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
70968 and thousands string is zero terminated.
70969
70970 2011-02-03 Andreas Schwab <schwab@redhat.com>
70971
70972 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
70973 sysdeps/unix/sysv/linux/bits/socket.h.
70974
70975 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
70976
70977 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
70978 (__CPU_COUNT): Remove old macros.
70979 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
70980 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
70981 (__CPU_ALLOC, __CPU_FREE): Add macros.
70982 (__sched_cpualloc, __sched_cpufree): Add declarations.
70983
70984 2011-02-05 Ulrich Drepper <drepper@gmail.com>
70985
70986 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
70987 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
70988 * nscd/aicache.c (addhstaiX): Return timeout of added value.
70989 (readdhstai): Return value of addhstaiX call.
70990 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
70991 (addgrbyX): Return value returned by cache_addgr.
70992 (readdgrbyname): Return value returned by addgrbyX.
70993 (readdgrbygid): Likewise.
70994 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
70995 (addpwbyX): Return value returned by cache_addpw.
70996 (readdpwbyname): Return value returned by addhstbyX.
70997 (readdpwbyuid): Likewise.
70998 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
70999 (addservbyX): Return value returned by cache_addserv.
71000 (readdservbyname): Return value returned by addservbyX:
71001 (readdservbyport): Likewise.
71002 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
71003 (addhstbyX): Return value returned by cache_addhst.
71004 (readdhstbyname): Return value returned by addhstbyX.
71005 (readdhstbyaddr): Likewise.
71006 (readdhstbynamev6): Likewise.
71007 (readdhstbyaddrv6): Likewise.
71008 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
71009 (readdinitgroups): Return value returned by addinitgroupsX.
71010 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
71011 (prune_cache): Keep track of timeout value of re-added entries.
71012 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
71013 * nscd/nscd.h: Adjust prototypes of readd* functions.
71014
71015 2011-02-04 Roland McGrath <roland@redhat.com>
71016
71017 * nis/nis_server.c (nis_servstate): Use the right name for 0.
71018 (nis_stats): Likewise.
71019 * nis/nis_modify.c (nis_modify): Likewise.
71020 * nis/nis_remove.c (nis_remove): Likewise.
71021 * nis/nis_add.c (nis_add): Likewise.
71022
71023 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
71024
71025 * posix/fnmatch_loop.c: Add some consts.
71026
71027 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
71028
71029 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
71030
71031 [BZ #12460]
71032 * config.make.in (config-cflags-novzeroupper): Define.
71033 * configure.in: Substitute libc_cv_cc_novzeroupper.
71034 * elf/Makefile (AVX-CFLAGS): Define.
71035 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
71036 (CFLAGS-tst-auditmod4a.c): Likewise.
71037 (CFLAGS-tst-auditmod4b.c): Likewise.
71038 (CFLAGS-tst-auditmod6b.c): Likewise.
71039 (CFLAGS-tst-auditmod6c.c): Likewise.
71040 (CFLAGS-tst-auditmod7b.c): Likewise.
71041 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
71042
71043 2011-02-02 Ulrich Drepper <drepper@gmail.com>
71044
71045 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
71046 function to the callback.
71047 Patch partly by Jiri Olsa <jolsa@redhat.com>.
71048
71049 2011-02-02 Andreas Schwab <schwab@redhat.com>
71050
71051 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
71052 of errno.
71053
71054 2011-01-19 Ulrich Drepper <drepper@gmail.com>
71055
71056 [BZ #11724]
71057 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
71058 of constructors.
71059 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
71060 of destructors.
71061 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
71062
71063 [BZ #11724]
71064 * elf/Makefile: Add rules to build and run new test.
71065 * elf/tst-initorder.c: New file.
71066 * elf/tst-initorder.exp: New file.
71067 * elf/tst-initordera1.c: New file.
71068 * elf/tst-initordera2.c: New file.
71069 * elf/tst-initordera3.c: New file.
71070 * elf/tst-initordera4.c: New file.
71071 * elf/tst-initorderb1.c: New file.
71072 * elf/tst-initorderb2.c: New file.
71073 * elf/tst-order-a1.c: New file.
71074 * elf/tst-order-a2.c: New file.
71075 * elf/tst-order-a3.c: New file.
71076 * elf/tst-order-a4.c: New file.
71077 * elf/tst-order-b1.c: New file.
71078 * elf/tst-order-b2.c: New file.
71079 * elf/tst-order-main.c: New file.
71080 New test case by George Gensure <werkt0@gmail.com>.
71081
71082 2010-10-01 Andreas Schwab <schwab@redhat.com>
71083
71084 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71085 decoding ACE if AI_CANONIDN.
71086
71087 2011-01-18 Ulrich Drepper <drepper@gmail.com>
71088
71089 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
71090
71091 2011-01-17 Ulrich Drepper <drepper@gmail.com>
71092
71093 * version.h (RELEASE): Bump for 2.13 release.
71094 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
71095
71096 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
71097
71098 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
71099 MADV_NOHUGEPAGE.
71100 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
71101 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
71102 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
71103 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
71104 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
71105 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71106
71107 * posix/getconf.c: Update copyright year.
71108 * catgets/gencat.c: Likewise.
71109 * csu/version.c: Likewise.
71110 * debug/catchsegv.sh: Likewise.
71111 * debug/xtrace.sh: Likewise.
71112 * elf/ldconfig.c: Likewise.
71113 * elf/ldd.bash.in: Likewise.
71114 * elf/sprof.c (print_version): Likewise.
71115 * iconv/iconv_prog.c: Likewise.
71116 * iconv/iconvconfig.c: Likewise.
71117 * locale/programs/locale.c: Likewise.
71118 * locale/programs/localedef.c: Likewise.
71119 * malloc/memusage.sh: Likewise.
71120 * malloc/mtrace.pl: Likewise.
71121 * nscd/nscd.c (print_version): Likewise.
71122 * nss/getent.c: Likewise.
71123
71124 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
71125 PF_CAIF, and PF_ALG.
71126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71127
71128 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
71129
71130 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
71131 (modules-names): Use them.
71132 (ifunc-test-modules, ifunc-pie-tests): Define.
71133 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
71134 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
71135 (test-extras): Likewise.
71136 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
71137 $(compile-command.c).
71138 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
71139 (all-built-dso): Define.
71140 (check-textrel.out, check-execstack.out): Depend on it.
71141
71142 * configure.in: Don't override --enable-multi-arch.
71143
71144 2011-01-15 Ulrich Drepper <drepper@gmail.com>
71145
71146 [BZ #6812]
71147 * nscd/hstcache.c (tryagain): Define.
71148 (cache_addhst): Return tryagain not notfound for temporary errors.
71149 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
71150 failed.
71151
71152 2011-01-14 Ulrich Drepper <drepper@gmail.com>
71153
71154 [BZ #10563]
71155 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
71156 to make the syscall.
71157 * sysdeps/unix/sysv/linux/setgroups.c: New file.
71158
71159 [BZ #12378]
71160 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
71161 and fall back to matching as normal character if the string ends before
71162 the matching ']' is found. This is what POSIX requires.
71163 * posix/testfnm.c: Adjust test result.
71164 * posix/globtest.sh: Adjust test result. Add new test.
71165 * posix/tst-fnmatch.input: Likewise.
71166 * posix/tst-fnmatch2.c: Add new test.
71167
71168 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
71169
71170 * elf/Makefile (check-execstack): Revert last change. Depend on
71171 check-execstack.h.
71172 (check-execstack.h): New target.
71173 (generated): Add check-execstack.h.
71174 * elf/check-execstack.c: Include "check-execstack.h".
71175 (main): Revert last change.
71176 (handle_file): Return zero if GNU_STACK is absent and
71177 DEFAULT_STACK_PERMS doesn't include PF_X.
71178
71179 2011-01-13 Ulrich Drepper <drepper@gmail.com>
71180
71181 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
71182 in child fails because the descriptor is already closed.
71183 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
71184 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
71185 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
71186
71187 [BZ #12397]
71188 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
71189 syscall.
71190
71191 [BZ #10484]
71192 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
71193 temporary buffer used to handle multi lookups locally.
71194 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
71195
71196 2011-01-12 Ulrich Drepper <drepper@gmail.com>
71197
71198 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
71199 loader is ld.so.
71200
71201 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
71202
71203 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
71204 alignment for SSE2.
71205
71206 2011-01-12 Ulrich Drepper <drepper@gmail.com>
71207
71208 [BZ #12394]
71209 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
71210 characters. When rounding increased number of integer digits recompute
71211 number of groups.
71212 * stdio-common/tst-grouping.c: New file.
71213 * stdio-common/Makefile: Add rules to build and run tst-grouping.
71214
71215 2011-01-09 Ulrich Drepper <drepper@gmail.com>
71216
71217 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
71218 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
71219
71220 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
71221 void.
71222 * bits/select.h: Likewise.
71223
71224 2011-01-08 Ulrich Drepper <drepper@gmail.com>
71225
71226 * po/ja.po: Update from translation team.
71227
71228 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
71229
71230 [BZ #11155]
71231 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
71232 implementation just like for lxstat, fxstatat, et al.
71233
71234 2010-12-27 Jim Meyering <meyering@redhat.com>
71235
71236 [BZ #12348]
71237 * posix/regexec.c (build_trtable): Return failure indication upon
71238 calloc failure. Otherwise, re_search_internal could infloop on OOM.
71239
71240 2010-12-25 Ulrich Drepper <drepper@gmail.com>
71241
71242 [BZ #12201]
71243 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
71244 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
71245 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
71246 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
71247
71248 [BZ #12207]
71249 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
71250
71251 [BZ #12204]
71252 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
71253 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
71254
71255 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
71256
71257 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
71258 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
71259 script has SORT_BY_INIT_PRIORITY.
71260 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
71261 NO_CTORS_DTORS_SECTIONS is defined.
71262 * elf/soinit.c: Likewise.
71263 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
71264 NO_CTORS_DTORS_SECTIONS is defined.
71265 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
71266 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
71267 * sysdeps/sh/init-first.c: Likewise.
71268 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
71269
71270 2010-12-24 Ulrich Drepper <drepper@gmail.com>
71271
71272 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
71273 always use the slow path.
71274
71275 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
71276
71277 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
71278 similar rule which adds the sysdep directories to the header search in
71279 order to pick up the correct platform stackinfo.h.
71280 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
71281 perform test if it is, otherwise return successfully without testing.
71282 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
71283 DEFAULT_STACK_PERMS define in stackinfo.h.
71284 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
71285 defined in stackinfo.h.
71286 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
71287 DEFAULT_STACK_PERMS defined in stackinfo.h.
71288 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
71289 * sysdeps/ia64/stackinfo.h: Likewise.
71290 * sysdeps/s390/stackinfo.h: Likewise.
71291 * sysdeps/sh/stackinfo.h: Likewise.
71292 * sysdeps/sparc/stackinfo.h: Likewise.
71293 * sysdeps/x86_64/stackinfo.h: Likewise.
71294 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
71295 PF_X for powerpc64. Retain PF_X for powerpc32.
71296
71297 2010-12-19 Ulrich Drepper <drepper@gmail.com>
71298
71299 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
71300 accurately.
71301 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
71302 GETDENTS_64BIT_ALIGNED.
71303
71304 2010-12-14 Ulrich Drepper <dreper@gmail.com>
71305
71306 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
71307
71308 2010-12-10 Andreas Schwab <schwab@redhat.com>
71309
71310 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
71311 _GNU_SOURCE.
71312
71313 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
71314 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
71315 Remove __restrict.
71316 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
71317 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
71318
71319 2010-12-09 Ulrich Drepper <drepper@gmail.com>
71320
71321 [BZ #11655]
71322 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
71323 are initialized.
71324
71325 2010-12-09 Jakub Jelinek <jakub@redhat.com>
71326
71327 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
71328
71329 2010-12-03 Ulrich Drepper <drepper@gmail.com>
71330
71331 * po/it.po: Update from translation team.
71332
71333 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
71334
71335 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
71336 unused codes.
71337
71338 2010-11-30 Ulrich Drepper <drepper@gmail.com>
71339
71340 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
71341
71342 2010-11-24 Andreas Schwab <schwab@redhat.com>
71343
71344 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
71345 specially.
71346 (gaih_getanswer_slice): Likewise.
71347
71348 2010-10-20 Jakub Jelinek <jakub@redhat.com>
71349
71350 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
71351
71352 2010-05-31 Petr Baudis <pasky@suse.cz>
71353
71354 [BZ #11149]
71355 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
71356 silently even in the chroot mode.
71357
71358 2010-11-22 Ulrich Drepper <drepper@gmail.com>
71359
71360 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
71361 last patch a bit. Pretty printing
71362
71363 2010-05-31 Petr Baudis <pasky@suse.cz>
71364
71365 [BZ #10085]
71366 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
71367 initialization of skip_initgroups_dyn.
71368
71369 2010-11-19 Ulrich Drepper <drepper@gmail.com>
71370
71371 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
71372 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71373
71374 2010-11-16 Ulrich Drepper <drepper@gmail.com>
71375
71376 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
71377
71378 2010-11-11 Andreas Schwab <schwab@redhat.com>
71379
71380 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
71381 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
71382 (tst-fnmatch-ENV): Set MALLOC_TRACE.
71383 ($(objpfx)tst-fnmatch-mem): New rule.
71384 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
71385 * posix/tst-fnmatch.c (main): Call mtrace.
71386
71387 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
71388
71389 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71390 Support Intel processor model 6 and model 0x2c.
71391
71392 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
71393
71394 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
71395 signed comparison.
71396
71397 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
71398
71399 [BZ #12205]
71400 * string/test-strncasecmp.c (check_result): New function.
71401 (do_one_test): Use it.
71402 (check1): New function.
71403 (test_main): Use it.
71404 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
71405 Support strcasecmp and strncasecmp.
71406
71407 2010-11-08 Ulrich Drepper <drepper@gmail.com>
71408
71409 [BZ #12194]
71410 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
71411 * sysdeps/x86_64/bits/byteswap.h: Likewise.
71412
71413 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
71414
71415 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
71416 IFUNC support.
71417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71418 memset-x86-64.
71419 * sysdeps/x86_64/multiarch/bzero.S: New file.
71420 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
71421 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
71422 * sysdeps/x86_64/multiarch/memset.S: New file.
71423 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
71424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71425 Set bit_Prefer_SSE_for_memop for Intel processors.
71426 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
71427 Define.
71428 (index_Prefer_SSE_for_memop): Define.
71429 (HAS_PREFER_SSE_FOR_MEMOP): Define.
71430
71431 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
71432
71433 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
71434 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
71435
71436 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
71437
71438 [BZ #12191]
71439 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
71440 (__x86_64_raw_data_cache_size_half): Likewise.
71441 (__x86_64_raw_shared_cache_size): Likewise.
71442 (__x86_64_raw_shared_cache_size_half): Likewise.
71443
71444 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
71445 (__x86_64_raw_data_cache_size_half): Likewise.
71446 (__x86_64_raw_shared_cache_size): Likewise.
71447 (__x86_64_raw_shared_cache_size_half): Likewise.
71448 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
71449 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
71450 and __x86_64_raw_shared_cache_size_half. Round
71451 __x86_64_data_cache_size_half, __x86_64_data_cache_size
71452 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
71453 to multiple of 256 bytes.
71454
71455 2010-11-03 Ulrich Drepper <drepper@gmail.com>
71456
71457 [BZ #12167]
71458 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
71459 of inacessible symlinks. Verify result of symlink before returning it.
71460 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
71461 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
71462
71463 2010-10-28 Erich Ritz <erichritz@gmail.com>
71464
71465 * math/math.h (isinf): Fix typo in comment.
71466
71467 2010-11-01 Ulrich Drepper <drepper@gmail.com>
71468
71469 * po/da.po: Update from translation team.
71470
71471 2010-10-26 Ulrich Drepper <drepper@gmail.com>
71472
71473 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
71474 is added to the list.
71475
71476 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
71477 Ulrich Drepper <drepper@gmail.com>
71478
71479 * elf/dl-object.c (_dl_new_object): Don't append the new object to
71480 the global list here. Move code to...
71481 (_dl_add_to_namespace_list): ...here. New function.
71482 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
71483 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
71484 * elf/dl-load.c (lose): Don't remove the element from the list.
71485 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
71486 (_dl_map_object): Likewise.
71487
71488 2010-10-25 Ulrich Drepper <drepper@gmail.com>
71489
71490 [BZ #12159]
71491 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
71492 into all bytes of SSE register.
71493 Patch by Richard Li <richardpku@gmail.com>.
71494
71495 2010-10-24 Ulrich Drepper <drepper@gmail.com>
71496
71497 [BZ #12140]
71498 * malloc/malloc.c (_int_free): Fill correct number of bytes when
71499 perturbing.
71500
71501 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
71502
71503 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
71504 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
71505 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
71506 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
71507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
71508 submachine.
71509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
71510
71511 2010-10-22 Andreas Schwab <schwab@redhat.com>
71512
71513 * include/dlfcn.h (__RTLD_SECURE): Define.
71514 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
71515 mode & __RTLD_SECURE instead.
71516 (open_path): Rename preloaded parameter to secure.
71517 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
71518 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
71519 * elf/dl-deps.c (openaux): Likewise.
71520 * elf/rtld.c (struct map_args): Remove is_preloaded.
71521 (map_doit): Don't use it.
71522 (dl_main): Likewise.
71523 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
71524 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
71525
71526 2010-09-09 Andreas Schwab <schwab@redhat.com>
71527
71528 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
71529 (sysd-rules-targets): Remove duplicates.
71530 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
71531 rtld-%.$o dependency.
71532
71533 2010-10-18 Andreas Schwab <schwab@redhat.com>
71534
71535 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
71536 _dl_map_object do it.
71537
71538 2010-10-19 Ulrich Drepper <drepper@gmail.com>
71539
71540 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
71541 fast fma builtins, define the macros in the C99 standard.
71542 (FP_FAST_FMAF): Likewise.
71543 (FP_FAST_FMAL): Likewise.
71544 * sysdeps/x86_64/bits/mathdef.h: Likewise.
71545
71546 * bits/mathdef.h: Update copyright year.
71547 * sysdeps/powerpc/bits/mathdef.h: Likewise.
71548
71549 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
71550
71551 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
71552 builtins, define the macros in the C99 standard.
71553 (FP_FAST_FMAF): Likewise.
71554 (FP_FAST_FMAL): Likewise.
71555 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
71556 multiply/add.
71557 (FP_FAST_FMAF): Likewise.
71558
71559 2010-10-15 Jakub Jelinek <jakub@redhat.com>
71560
71561 [BZ #3268]
71562 * math/libm-test.inc (fma_test): Some new testcases.
71563 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
71564 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
71565 y and infinite z. Do multiplication by C already in long double.
71566 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
71567 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
71568 y and infinite z. Do bitwise or of inexact bit into u.d.
71569 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
71570 * sysdeps/i386/fpu/s_fmaf.S: Removed.
71571 * sysdeps/i386/fpu/s_fma.S: Removed.
71572 * sysdeps/i386/fpu/s_fmal.S: Removed.
71573
71574 2010-10-16 Jakub Jelinek <jakub@redhat.com>
71575
71576 [BZ #3268]
71577 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
71578 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
71579 computation is not scheduled after fetestexcept. Fix value
71580 of minimum denormal long double.
71581
71582 2010-10-14 Jakub Jelinek <jakub@redhat.com>
71583
71584 [BZ #3268]
71585 * math/libm-test.inc (fma_test): Add some more tests.
71586 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
71587 correctly.
71588
71589 2010-10-15 Andreas Schwab <schwab@redhat.com>
71590
71591 * scripts/data/localplt-s390-linux-gnu.data: New file.
71592 * scripts/data/localplt-s390x-linux-gnu.data: New file.
71593
71594 2010-10-13 Jakub Jelinek <jakub@redhat.com>
71595
71596 [BZ #3268]
71597 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
71598 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
71599 instead of dbl-64.
71600 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
71601 inlines.
71602 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
71603 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
71604 if one of x and y is very large and the other is subnormal.
71605 * sysdeps/s390/fpu/s_fmaf.c: New file.
71606 * sysdeps/s390/fpu/s_fma.c: New file.
71607 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
71608 * sysdeps/powerpc/fpu/s_fma.S: New file.
71609 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
71610 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
71611 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
71612
71613 2010-10-12 Jakub Jelinek <jakub@redhat.com>
71614
71615 [BZ #3268]
71616 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
71617 fma tests.
71618 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
71619 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
71620 * sysdeps/i386/i686/multiarch/s_fma.c: Include
71621 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
71622 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
71623 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
71624 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
71625
71626 2010-10-12 Ulrich Drepper <drepper@redhat.com>
71627
71628 [BZ #12078]
71629 * posix/regcomp.c (parse_branch): One more memory leak plugged.
71630 * posix/bug-regex31.input: Add test case.
71631
71632 2010-10-11 Ulrich Drepper <drepper@gmail.com>
71633
71634 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
71635 * posix/bug-regex31.input: New file.
71636
71637 [BZ #12078]
71638 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
71639 (parse_sub_exp): Fix last change, use postorder.
71640
71641 * posix/bug-regex31.c: New file.
71642 * posix/Makefile: Add rules to build and run bug-regex31.
71643
71644 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
71645
71646 [BZ #12078]
71647 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
71648
71649 [BZ #12108]
71650 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
71651 to have entries in sys_siglist.
71652
71653 [BZ #12093]
71654 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
71655 be NULL.
71656
71657 2010-10-07 Jakub Jelinek <jakub@redhat.com>
71658
71659 [BZ #3268]
71660 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
71661 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
71662 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
71663 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
71664 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71665 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
71666 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
71667 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
71668 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
71669 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
71670 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
71671 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
71672 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
71673 * math/ftestexcept.c (fetestexcept): Likewise.
71674 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
71675 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
71676 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
71677 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
71678 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
71679 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
71680 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71681
71682 2010-10-11 Ulrich Drepper <drepper@gmail.com>
71683
71684 [BZ #12107]
71685 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
71686 newline.
71687
71688 2010-10-06 Ulrich Drepper <drepper@gmail.com>
71689
71690 * string/bug-strstr1.c: New file.
71691 * string/Makefile: Add rules to build and run bug-strstr1.
71692
71693 2010-10-05 Eric Blake <eblake@redhat.com>
71694
71695 [BZ #12092]
71696 * string/str-two-way.h (two_way_long_needle): Always clear memory
71697 when skipping input due to the shift table.
71698
71699 2010-10-03 Ulrich Drepper <drepper@gmail.com>
71700
71701 [BZ #12005]
71702 * malloc/mcheck.c: Handle large requests.
71703
71704 [BZ #12077]
71705 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
71706 for strncmp and strncasecmp.
71707 * string/stratcliff.c: Add tests for strcmp and strncmp.
71708 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
71709
71710 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
71711
71712 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
71713 __set_fpscr.
71714
71715 2010-09-30 Andreas Jaeger <aj@suse.de>
71716
71717 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
71718 (CGROUP_SUPER_MAGIC): Define.
71719 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71720 Handle btrfs and cgroup file systems.
71721 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
71722 Likewise.
71723
71724 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
71725
71726 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
71727 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
71728
71729 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
71730
71731 [BZ #12067]
71732 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
71733 trying to locate the ELF header.
71734
71735 2010-09-27 Andreas Schwab <schwab@redhat.com>
71736
71737 [BZ #11611]
71738 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
71739 Mask out sign-bit copies when constructing f_fsid.
71740
71741 2010-09-24 Petr Baudis <pasky@suse.cz>
71742
71743 * debug/stack_chk_fail_local.c: Add missing licence exception.
71744 * debug/warning-nop.c: Likewise.
71745
71746 2010-09-15 Joseph Myers <joseph@codesourcery.com>
71747
71748 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
71749 implementing getdents64 using getdents syscall, set d_type if
71750 __ASSUME_GETDENTS32_D_TYPE.
71751
71752 2010-09-16 Andreas Schwab <schwab@redhat.com>
71753
71754 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
71755 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
71756
71757 2010-09-21 Ulrich Drepper <drepper@redhat.com>
71758
71759 [BZ #12037]
71760 * posix/unistd.h: Undo change of feature selection for ftruncate from
71761 2010-01-11.
71762
71763 2010-09-20 Ulrich Drepper <drepper@redhat.com>
71764
71765 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
71766 detection.
71767
71768 2010-09-20 Andreas Schwab <schwab@redhat.com>
71769
71770 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
71771 fanotify_mark.
71772 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71773
71774 2010-09-14 Andreas Schwab <schwab@redhat.com>
71775
71776 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
71777 variables after CHECK_SP call.
71778 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
71779
71780 2010-09-13 Andreas Schwab <schwab@redhat.com>
71781 Ulrich Drepper <drepper@redhat.com>
71782
71783 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
71784 re-relocationg ld.so.
71785 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
71786 _dl_init_paths call.
71787 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
71788 here anymore.
71789
71790 2010-09-14 Ulrich Drepper <drepper@redhat.com>
71791
71792 * resolv/res_init.c (__res_vinit): Count the default server we added.
71793
71794 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
71795 Ulrich Drepper <drepper@redhat.com>
71796
71797 [BZ #11968]
71798 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71799 (____longjmp_chk): Use %ebx for saving value across system call.
71800 Add unwind info.
71801
71802 2010-09-06 Andreas Schwab <schwab@redhat.com>
71803
71804 * manual/Makefile: Don't mix pattern rules with normal rules.
71805
71806 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
71807
71808 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
71809 operation.
71810 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
71811 * libio/iofopncook.c (_IO_cookie_init): Likewise.
71812 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
71813 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
71814 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71815 Likewise.
71816
71817 2010-09-04 Ulrich Drepper <drepper@redhat.com>
71818
71819 [BZ #11979]
71820 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
71821 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
71822
71823 2010-09-02 Ulrich Drepper <drepper@redhat.com>
71824
71825 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
71826 * sysdeps/x86_64/addmul_1.S: Likewise.
71827 * sysdeps/x86_64/lshift.S: Likewise.
71828 * sysdeps/x86_64/mul_1.S: Likewise.
71829 * sysdeps/x86_64/rshift.S: Likewise.
71830 * sysdeps/x86_64/sub_n.S: Likewise.
71831 * sysdeps/x86_64/submul_1.S: Likewise.
71832
71833 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
71834
71835 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
71836 Define __sched_param instead of SCHED_* and sched_param when
71837 <bits/sched.h> is included with __need_schedparam defined.
71838 * bits/sched.h [__need_schedparam]
71839 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
71840 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
71841 (__defined_schedparam): Define to 1.
71842 (__sched_param): New structure, identical to sched_param.
71843 (__need_schedparam): Undefine.
71844
71845 2010-08-31 Mike Frysinger <vapier@gentoo.org>
71846
71847 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
71848 (epoll_create1): Declare.
71849
71850 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
71851
71852 2010-08-31 Andreas Schwab <schwab@redhat.com>
71853
71854 [BZ #7066]
71855 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
71856 shifting retval into place.
71857
71858 2010-09-01 Ulrich Drepper <drepper@redhat.com>
71859
71860 * nis/rpcsvc/nis.h: Update copyright notice.
71861 * nis/rpcsvc/nis.x: Likewise.
71862 * nis/rpcsvc/nis_callback.h: Likewise.
71863 * nis/rpcsvc/nis_callback.x: Likewise.
71864 * nis/rpcsvc/nis_object.x: Likewise.
71865 * nis/rpcsvc/nis_tags.h: Likewise.
71866 * nis/rpcsvc/yp.h: Likewise.
71867 * nis/rpcsvc/yp.x: Likewise.
71868 * nis/rpcsvc/ypupd.h: Likewise.
71869 * nis/yp_xdr.c: Likewise.
71870 * nis/ypupdate_xdr.c: Likewise.
71871
71872 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
71873 mainly the body of pmap_getport. Add parameters to specify timeouts.
71874 (pmap_getport): Use __libc_rpc_getport.
71875 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
71876 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
71877 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
71878
71879 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
71880
71881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
71882 fanotify_mark.
71883
71884 2010-08-27 Roland McGrath <roland@redhat.com>
71885
71886 * sysdeps/i386/i686/multiarch/Makefile
71887 (CFLAGS-varshift.c): New variable.
71888
71889 2010-08-27 Ulrich Drepper <drepper@redhat.com>
71890
71891 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
71892 * sysdeps/i386/i686/multiarch/varshift.c: New file.
71893
71894 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
71895
71896 * sysdeps/x86_64/strlen.S: Minimal code improvement.
71897
71898 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
71899
71900 * sysdeps/x86_64/strlen.S: Unroll the loop.
71901 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71902 strlen-sse2 strlen-sse2-bsf.
71903 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
71904 __strlen_no_bsf if bit_Slow_BSF is set.
71905 (__strlen_sse42): Removed.
71906 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
71907 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
71908
71909 2010-08-25 Roland McGrath <roland@redhat.com>
71910
71911 * sysdeps/x86_64/multiarch/varshift.S: File removed.
71912 * sysdeps/x86_64/multiarch/varshift.c: New file.
71913 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
71914 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
71915 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
71916 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
71917
71918 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
71919
71920 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71921 strlen-sse2 strlen-sse2-bsf.
71922 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
71923 __strlen_sse2_bsf if bit_Slow_BSF is unset.
71924 (__strlen_sse2): Removed.
71925 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
71926 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
71927 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
71928 bit_Slow_BSF for Atom.
71929 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
71930 (index_Slow_BSF): Define.
71931 (HAS_SLOW_BSF): Define.
71932
71933 2010-08-25 Ulrich Drepper <drepper@redhat.com>
71934
71935 [BZ #10851]
71936 * resolv/res_init.c (__res_vinit): When no server address at all
71937 is given default to loopback.
71938
71939 2010-08-24 Roland McGrath <roland@redhat.com>
71940
71941 * configure.in: Remove config-name.h generation.
71942 * configure: Regenerated.
71943 * config-name.in: File removed.
71944 * scripts/config-uname.sh: New file.
71945 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
71946 ($(objdir)config-name.h): New target.
71947
71948 * sunrpc/rpc_parse.h: Avoid nested comment.
71949
71950 2010-08-24 Richard Henderson <rth@redhat.com>
71951 Ulrich Drepper <drepper@redhat.com>
71952 H.J. Lu <hongjiu.lu@intel.com>
71953
71954 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
71955 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
71956 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
71957 Replace _mm_srli_si128 with __m128i_shift_right. Replace
71958 _mm_alignr_epi8 with _mm_loadu_si128.
71959 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
71960 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
71961 (__m128i_shift_right): Removed.
71962 * sysdeps/i386/i686/multiarch/varshift.h: New file.
71963 * sysdeps/i386/i686/multiarch/varshift.S: New file.
71964 * sysdeps/x86_64/multiarch/varshift.h: New file.
71965 * sysdeps/x86_64/multiarch/varshift.S: New file.
71966
71967 2010-08-21 Mike Frysinger <vapier@gentoo.org>
71968
71969 * configure.in: Move assembler checks to before sysdep dir checking.
71970
71971 2010-08-20 Petr Baudis <pasky@suse.cz>
71972
71973 * LICENSES: Sync the sunrpc license.
71974
71975 2010-08-19 Ulrich Drepper <drepper@redhat.com>
71976
71977 * sunrpc/auth_des.c: Update copyright notice once again.
71978 * sunrpc/auth_none.c: Likewise.
71979 * sunrpc/auth_unix.c: Likewise.
71980 * sunrpc/authdes_prot.c: Likewise.
71981 * sunrpc/authuxprot.c: Likewise.
71982 * sunrpc/bindrsvprt.c: Likewise.
71983 * sunrpc/clnt_gen.c: Likewise.
71984 * sunrpc/clnt_perr.c: Likewise.
71985 * sunrpc/clnt_raw.c: Likewise.
71986 * sunrpc/clnt_simp.c: Likewise.
71987 * sunrpc/clnt_tcp.c: Likewise.
71988 * sunrpc/clnt_udp.c: Likewise.
71989 * sunrpc/clnt_unix.c: Likewise.
71990 * sunrpc/des_crypt.c: Likewise.
71991 * sunrpc/des_soft.c: Likewise.
71992 * sunrpc/get_myaddr.c: Likewise.
71993 * sunrpc/getrpcport.c: Likewise.
71994 * sunrpc/key_call.c: Likewise.
71995 * sunrpc/key_prot.c: Likewise.
71996 * sunrpc/openchild.c: Likewise.
71997 * sunrpc/pm_getmaps.c: Likewise.
71998 * sunrpc/pm_getport.c: Likewise.
71999 * sunrpc/pmap_clnt.c: Likewise.
72000 * sunrpc/pmap_prot.c: Likewise.
72001 * sunrpc/pmap_prot2.c: Likewise.
72002 * sunrpc/pmap_rmt.c: Likewise.
72003 * sunrpc/rpc/auth.h: Likewise.
72004 * sunrpc/rpc/auth_unix.h: Likewise.
72005 * sunrpc/rpc/clnt.h: Likewise.
72006 * sunrpc/rpc/des_crypt.h: Likewise.
72007 * sunrpc/rpc/key_prot.h: Likewise.
72008 * sunrpc/rpc/netdb.h: Likewise.
72009 * sunrpc/rpc/pmap_clnt.h: Likewise.
72010 * sunrpc/rpc/pmap_prot.h: Likewise.
72011 * sunrpc/rpc/pmap_rmt.h: Likewise.
72012 * sunrpc/rpc/rpc.h: Likewise.
72013 * sunrpc/rpc/rpc_des.h: Likewise.
72014 * sunrpc/rpc/rpc_msg.h: Likewise.
72015 * sunrpc/rpc/svc.h: Likewise.
72016 * sunrpc/rpc/svc_auth.h: Likewise.
72017 * sunrpc/rpc/types.h: Likewise.
72018 * sunrpc/rpc/xdr.h: Likewise.
72019 * sunrpc/rpc_clntout.c: Likewise.
72020 * sunrpc/rpc_cmsg.c: Likewise.
72021 * sunrpc/rpc_common.c: Likewise.
72022 * sunrpc/rpc_cout.c: Likewise.
72023 * sunrpc/rpc_dtable.c: Likewise.
72024 * sunrpc/rpc_hout.c: Likewise.
72025 * sunrpc/rpc_main.c: Likewise.
72026 * sunrpc/rpc_parse.c: Likewise.
72027 * sunrpc/rpc_parse.h: Likewise.
72028 * sunrpc/rpc_prot.c: Likewise.
72029 * sunrpc/rpc_sample.c: Likewise.
72030 * sunrpc/rpc_scan.c: Likewise.
72031 * sunrpc/rpc_scan.h: Likewise.
72032 * sunrpc/rpc_svcout.c: Likewise.
72033 * sunrpc/rpc_tblout.c: Likewise.
72034 * sunrpc/rpc_util.c: Likewise.
72035 * sunrpc/rpc_util.h: Likewise.
72036 * sunrpc/rpcinfo.c: Likewise.
72037 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
72038 * sunrpc/rpcsvc/key_prot.x: Likewise.
72039 * sunrpc/rpcsvc/klm_prot.x: Likewise.
72040 * sunrpc/rpcsvc/mount.x: Likewise.
72041 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
72042 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
72043 * sunrpc/rpcsvc/rex.x: Likewise.
72044 * sunrpc/rpcsvc/rstat.x: Likewise.
72045 * sunrpc/rpcsvc/rusers.x: Likewise.
72046 * sunrpc/rpcsvc/sm_inter.x: Likewise.
72047 * sunrpc/rpcsvc/spray.x: Likewise.
72048 * sunrpc/rpcsvc/yppasswd.x: Likewise.
72049 * sunrpc/rtime.c: Likewise.
72050 * sunrpc/svc.c: Likewise.
72051 * sunrpc/svc_auth.c: Likewise.
72052 * sunrpc/svc_authux.c: Likewise.
72053 * sunrpc/svc_raw.c: Likewise.
72054 * sunrpc/svc_run.c: Likewise.
72055 * sunrpc/svc_simple.c: Likewise.
72056 * sunrpc/svc_tcp.c: Likewise.
72057 * sunrpc/svc_udp.c: Likewise.
72058 * sunrpc/svc_unix.c: Likewise.
72059 * sunrpc/svcauth_des.c: Likewise.
72060 * sunrpc/xcrypt.c: Likewise.
72061 * sunrpc/xdr.c: Likewise.
72062 * sunrpc/xdr_array.c: Likewise.
72063 * sunrpc/xdr_float.c: Likewise.
72064 * sunrpc/xdr_mem.c: Likewise.
72065 * sunrpc/xdr_rec.c: Likewise.
72066 * sunrpc/xdr_ref.c: Likewise.
72067 * sunrpc/xdr_sizeof.c: Likewise.
72068 * sunrpc/xdr_stdio.c: Likewise.
72069
72070 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
72071 handling.
72072
72073 2010-08-19 Andreas Schwab <schwab@redhat.com>
72074
72075 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
72076
72077 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
72078
72079 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
72080 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
72081 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
72082 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
72083 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
72084 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
72085 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
72086 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
72087 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
72088 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
72089 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
72090 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
72091 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
72092 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
72093
72094 2010-07-26 Anton Blanchard <anton@samba.org>
72095
72096 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
72097 * malloc/arena.c (heap_trim): Likewise.
72098
72099 2010-08-16 Ulrich Drepper <drepper@redhat.com>
72100
72101 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
72102 here. Not...
72103 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
72104 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
72105
72106 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
72107
72108 * sysdeps/i386/elf/Makefile: New file.
72109
72110 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
72111
72112 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
72113 from fanotify_init.
72114 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
72115 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72116
72117 2010-08-15 Ulrich Drepper <drepper@redhat.com>
72118
72119 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
72120 of strncasecmp_l.
72121 * sysdeps/multiarch/strcmp.S: Likewise.
72122
72123 2010-08-14 Ulrich Drepper <drepper@redhat.com>
72124
72125 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72126 strncase_l-nonascii.
72127 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72128 Add strncase_l-ssse3.
72129 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
72130 * sysdeps/x86_64/strcmp.S: Likewise.
72131 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
72132 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
72133 * sysdeps/x86_64/strncase.S: New file.
72134 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
72135 * sysdeps/x86_64/strncase_l.S: New file.
72136 * string/Makefile (strop-tests): Add strncasecmp.
72137 * string/test-strncasecmp.c: New file.
72138
72139 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
72140 warning.
72141
72142 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
72143 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
72144
72145 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
72146
72147 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
72148
72149 2010-08-12 Ulrich Drepper <drepper@redhat.com>
72150
72151 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
72152 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
72153 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
72154
72155 2010-05-01 Alan Modra <amodra@gmail.com>
72156
72157 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
72158 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
72159 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
72160 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
72161 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
72162 tidying. Don't tail-call __sigjmp_save for static lib.
72163 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
72164 save location.
72165 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
72166 (CALL_MCOUNT): Add eh info, and nop after bl.
72167 (TAIL_CALL_SYSCALL_ERROR): New macro.
72168 (PSEUDO_RET): Use it.
72169 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
72170 Correct save location of integer regs and cr.
72171 (_dl_profile_resolve): Correct cr save location. Delete nops
72172 after bl when SHARED. Reduce cfi size a little by better
72173 placement of cfi directives.
72174 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
72175 make a stack frame. Instead use parm save area as a temp.
72176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
72177 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
72178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
72179 Don't make a stack frame for parent, use parm save area.
72180 Increase child stack frame to 112 bytes. Don't save unused reg,
72181 and adjust reg usage. Set up cfi on error recovery and
72182 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
72183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
72184 (__makecontext): Add dummy nop after jump to exit.
72185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
72186 Use correct parm save area and cr save, reduce stack frame.
72187 Correct cfi for possible PSEUDO_RET frame setup.
72188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
72189 Branch to local label emitted by PSEUDO_RET rather than
72190 __syscall_error.
72191
72192 2010-08-12 Andreas Schwab <schwab@redhat.com>
72193
72194 [BZ #11904]
72195 * locale/programs/locale.c (print_assignment): New function.
72196 (show_locale_vars): Use it.
72197
72198 2010-08-11 Ulrich Drepper <drepper@redhat.com>
72199
72200 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
72201 field.
72202 (struct statfs64): Likewise.
72203 (_STATFS_F_FLAGS): Define.
72204 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
72205 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72206 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
72207 (ST_VALID): Define locally.
72208 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
72209 __statvfs_getflags, use the provided value.
72210 * sysdeps/unix/sysv/linux/kernel-features.h: Define
72211 __ASSUME_STATFS_F_FLAGS.
72212
72213 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
72214
72215 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
72216 Add sys/fanotify.h.
72217 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
72218 fanotify_mask for GLIBC_2.13.
72219 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
72220 fanotify_init and fanotify_mark.
72221 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72222 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
72223
72224 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
72225 Add prlimit.
72226 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
72227 prlimit64 for GLIBC_2.13.
72228 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
72229 prlimit64.
72230 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
72231 syscall.
72232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
72233 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72234 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
72235 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
72236 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
72237 add prlimit alias.
72238 * sysdeps/unix/sysv/linux/prlimit.c: New file.
72239
72240 [BZ #11903]
72241 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
72242 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
72243
72244 * nss/Makefile: Add rules to build and run tst-nss-test1.
72245 * shlib-versions: Add entry for libnss_test1.
72246 * nss/nss_test1.c: New file.
72247 * nss/tst-nss-test1.c: New file.
72248
72249 * nss/nsswitch.c (__nss_database_custom): Define new variable.
72250 (__nss_configure_lookup): Set appropriate entry in
72251 __nss_configure_lookup to true.
72252 * nss/nsswitch.h: Define enum with indeces of databases in
72253 databases and __nss_database_custom arrays. Declare
72254 __nss_database_custom.
72255 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
72256 to avoid using nscd when custom rules are installed.
72257 * nss/getXXbyYY_r.c: Likewise.
72258 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
72259
72260 * nss/nss_files/files-parse.c: Whitespace fixes.
72261
72262 2010-08-09 Ulrich Drepper <drepper@redhat.com>
72263
72264 [BZ #11883]
72265 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
72266 * posix/fnmatch_loop.c: Likewise.
72267
72268 2010-07-17 Andi Kleen <ak@linux.intel.com>
72269
72270 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
72271 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
72272 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
72273 * Versions.def [GLIBC_2.13]: Add.
72274
72275 2010-08-06 Ulrich Drepper <drepper@redhat.com>
72276
72277 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
72278 Also fail if tpwd after pwuid call is NULL.
72279
72280 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
72281
72282 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
72283 when converting to ms.
72284
72285 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
72286
72287 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
72288 EOPNOTSUPP errors with ENOTTY.
72289 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
72290 EOPNOTSUPP errors with ENOTTY.
72291
72292 2010-07-31 Ulrich Drepper <drepper@redhat.com>
72293
72294 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72295 Add strcasecmp_l-ssse3.
72296 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
72297 strcasecmp.
72298 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
72299 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
72300 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
72301
72302 2010-07-30 Ulrich Drepper <drepper@redhat.com>
72303
72304 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
72305
72306 * string/Makefile (strop-tests): Add strcasecmp.
72307 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72308 strcasecmp_l-nonascii.
72309 (gen-as-const-headers): Add locale-defines.sym.
72310 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
72311 * sysdeps/x86_64/strcasecmp.S: New file.
72312 * sysdeps/x86_64/strcasecmp_l.S: New file.
72313 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
72314 * sysdeps/x86_64/locale-defines.sym: New file.
72315 * string/test-strcasecmp.c: New file.
72316
72317 * string/test-strcasestr.c: Test both ends of the range of characters.
72318 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
72319
72320 2010-07-29 Roland McGrath <roland@redhat.com>
72321
72322 [BZ #11856]
72323 * manual/locale.texi (Yes-or-No Questions): Fix example code.
72324
72325 2010-07-27 Ulrich Drepper <drepper@redhat.com>
72326
72327 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
72328 for ld.so.
72329
72330 2010-07-27 Andreas Schwab <schwab@redhat.com>
72331
72332 * manual/memory.texi (Malloc Tunable Parameters): Document
72333 M_PERTURB.
72334
72335 2010-07-26 Roland McGrath <roland@redhat.com>
72336
72337 [BZ #11840]
72338 * configure.in (-fgnu89-inline check): Set and substitute
72339 gnu89_inline, not libc_cv_gnu89_inline.
72340 * configure: Regenerated.
72341 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
72342
72343 2010-07-26 Ulrich Drepper <drepper@redhat.com>
72344
72345 * string/test-strnlen.c: New file.
72346 * string/Makefile (strop-tests): Add strnlen.
72347 * string/tester.c (test_strnlen): Add a few more test cases.
72348 * string/tst-strlen.c: Better error reporting.
72349
72350 * sysdeps/x86_64/strnlen.S: New file.
72351
72352 2010-07-24 Ulrich Drepper <drepper@redhat.com>
72353
72354 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
72355 lower-latency instructions.
72356
72357 2010-07-23 Ulrich Drepper <drepper@redhat.com>
72358
72359 * string/test-strcasestr.c: New file.
72360 * string/test-strstr.c: New file.
72361 * string/Makefile (strop-tests): Add strstr and strcasestr.
72362 * string/str-two-way.h: Don't undefine MAX.
72363 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
72364
72365 2010-07-21 Andreas Schwab <schwab@redhat.com>
72366
72367 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72368 strcasestr-nonascii.
72369 (CFLAGS-strcasestr-nonascii.c): Define.
72370 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
72371 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
72372 Remove unused attribute.
72373
72374 2010-07-20 Roland McGrath <roland@redhat.com>
72375
72376 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
72377 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
72378 ld.so.cache was broken. With it, there is no way to disable dsocaps
72379 like LD_HWCAP_MASK can disable hwcaps.
72380
72381 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
72382
72383 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
72384
72385 2010-07-16 Ulrich Drepper <drepper@redhat.com>
72386
72387 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
72388 call in strcasestr.
72389 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
72390 __strcasestr_sse42_nonascii.
72391 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
72392 strcasestr-nonascii.c.
72393 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
72394
72395 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
72396
72397 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
72398 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
72399 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
72400 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
72401
72402 2010-07-09 Ulrich Drepper <drepper@redhat.com>
72403
72404 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
72405 fcntl.
72406
72407 2010-07-06 Andreas Schwab <schwab@redhat.com>
72408
72409 [BZ #11577]
72410 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
72411 dl_signal_cerror.
72412
72413 2010-07-06 Ulrich Drepper <drepper@redhat.com>
72414
72415 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
72416 _PC_PIPE_BUF using F_GETPIPE_SZ.
72417
72418 2010-07-05 Roland McGrath <roland@redhat.com>
72419
72420 * manual/arith.texi (Rounding Functions): Fix rint description
72421 implicit in round description.
72422
72423 2010-07-02 Ulrich Drepper <drepper@redhat.com>
72424
72425 * elf/Makefile: Fix linking for a few tests to make recent linker
72426 happy.
72427
72428 2010-06-30 Andreas Schwab <schwab@redhat.com>
72429
72430 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
72431 $(common-objpfx)libc_nonshared.a.
72432
72433 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
72434
72435 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
72436 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
72437 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
72438 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
72439 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
72440 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
72441 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
72442 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
72443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
72444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
72445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
72446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
72447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
72448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
72449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
72450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
72451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
72452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
72453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
72454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
72455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
72456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
72457 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
72458 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
72459 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
72460 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
72461 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
72462 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
72463 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
72464 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
72465 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
72466 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
72467 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
72468 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
72469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
72470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
72471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
72472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
72473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
72474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
72475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
72476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
72477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
72478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
72479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
72480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
72481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
72482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
72483
72484 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
72485
72486 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
72487 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
72488 * string/memmove.c (memmove): Renamed to ...
72489 (MEMMOVE): ...this. Default to memmove.
72490 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
72491 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
72492 (END_CHK): Define.
72493 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72494 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
72495 mempcpy-ssse3-back memmove-ssse3-back.
72496 * sysdeps/x86_64/multiarch/bcopy.S: New file .
72497 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
72498 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
72499 * sysdeps/x86_64/multiarch/memcpy.S: New file.
72500 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
72501 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
72502 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
72503 * sysdeps/x86_64/multiarch/memmove.c: New file.
72504 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
72505 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
72506 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
72507 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
72508 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
72509 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
72510 Define.
72511 (index_Fast_Copy_Backward): Define.
72512 (HAS_ARCH_FEATURE): Define.
72513 (HAS_FAST_REP_STRING): Define.
72514 (HAS_FAST_COPY_BACKWARD): Define.
72515
72516 2010-06-21 Andreas Schwab <schwab@redhat.com>
72517
72518 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
72519 Restore proper fallback handling.
72520
72521 2010-06-19 Ulrich Drepper <drepper@redhat.com>
72522
72523 [BZ #11701]
72524 * posix/group_member.c (__group_member): Correct checking loop.
72525
72526 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
72527 OOM in getpwuid_r correctly. Return error number when the caller
72528 should return, otherwise -1.
72529 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
72530 call returning > 0 value.
72531 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
72532
72533 2010-06-07 Andreas Schwab <schwab@redhat.com>
72534
72535 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
72536 libc_nonshared.a from targets in modules-names.
72537
72538 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
72539
72540 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
72541 requires it.
72542
72543 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
72544
72545 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
72546 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
72547 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
72548 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
72549
72550 2010-06-02 Andreas Schwab <schwab@redhat.com>
72551
72552 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
72553
72554 2010-06-14 Ulrich Drepper <drepper@redhat.com>
72555
72556 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
72557 and F_GETPIPE_SZ.
72558 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
72559 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72560 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72562 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72563 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72564
72565 2010-06-14 Roland McGrath <roland@redhat.com>
72566
72567 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
72568
72569 2010-06-07 Jakub Jelinek <jakub@redhat.com>
72570
72571 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
72572 __REDIRECT followed by __THROW.
72573 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
72574 * posix/getopt.h (getopt): Likewise.
72575
72576 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
72577
72578 * hurd/lookup-at.c (__file_name_lookup_at): Accept
72579 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
72580 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
72581 in AT_FLAGS.
72582 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
72583 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
72584
72585 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
72586
72587 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
72588
72589 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
72590
72591 [BZ #11640]
72592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72593 Properly check family and model.
72594
72595 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
72596
72597 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
72598
72599 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
72600
72601 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
72602
72603 2010-05-21 Ulrich Drepper <drepper@redhat.com>
72604
72605 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
72606 symbol reference.
72607
72608 2010-05-19 Andreas Schwab <schwab@redhat.com>
72609
72610 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
72611 symbol reference.
72612
72613 2010-05-21 Andreas Schwab <schwab@redhat.com>
72614
72615 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
72616 and internal_recvmmsg.
72617 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
72618 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
72619 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
72620 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
72621
72622 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
72623 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
72624 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
72625
72626 2010-05-20 Andreas Schwab <schwab@redhat.com>
72627
72628 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
72629
72630 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
72631
72632 POWER7 optimizations.
72633 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
72634 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
72635
72636 2010-05-19 Ulrich Drepper <drepper@redhat.com>
72637
72638 * version.h: Update for 2.13 development version.
72639
72640 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
72641
72642 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
72643 exceptions. Return 0.
72644
72645 2010-05-07 Roland McGrath <roland@redhat.com>
72646
72647 * elf/ldconfig.c (main): Add a const.
72648
72649 2010-05-06 Ulrich Drepper <drepper@redhat.com>
72650
72651 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
72652 (args_options): Add no-idn option.
72653 (ahosts_keys_int): Add idn_flags to ai_flags.
72654 (parse_option): Handle 'i' option to clear idn_flags.
72655
72656 * malloc/malloc.c (_int_free): Possible race in the most recently
72657 added check. Only act on the data if no current modification
72658 happened.
72659
72660 See ChangeLog.17 for earlier changes.