]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix isinf/isnan declaration conflict with C++11
[thirdparty/glibc.git] / ChangeLog
1 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
2 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3
4 [BZ #19439]
5 * math/bits/mathcalls.h
6 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
7 prototype.
8 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
9
10 2016-01-11 Andreas Schwab <schwab@suse.de>
11
12 [BZ #19253]
13 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
14 cache when TZDEFRULES was used.
15 * time/tst-tzname.c: New file.
16 * time/Makefile (test): Add tst-tzname.
17 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
18 * timezone/Makefile (test-zones): Add $(posixrules-file).
19 ($(testdata)/$(posixrules-file)): New rule.
20
21 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
22
23 Fix doc quoting problems with Texinfo 5
24 Without this change, in the info file output, Texinfo 5 quotes code
25 in text with undirected single quotes 'like this' and generates
26 code examples that with many PDF readers cannot be cut out of PDFs
27 and pasted into code.
28 * manual/libc.texinfo: Configure the libc manual like the GNU
29 Emacs manual, by using @documentencoding and setting
30 txicodequoteundirected and txicodequotebacktick. This way,
31 Texinfo 5 quotes code in text with directed single quotes ‘like
32 this’ and produces examples that can be cut out of PDFs. This
33 change causes Texinfo 5 to generate info files that contain UTF-8
34 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
35 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
36
37 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38
39 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
40 __libc_tabort, __libc_tend): New wrappers that enforce compiler
41 barriers to their respective compiler built-ins.
42 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
43 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
44 * sysdeps/powerpc/sysdep.h: Likewise.
45 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
46 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
47 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
48
49 2016-01-08 Marko Myllynen <myllynen@redhat.com>
50
51 * scripts/config.guess: Revert previous shebang change.
52 * scripts/config.sub: Likewise.
53 * scripts/mkinstalldirs: Likewise.
54
55 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
56
57 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
58 PPC_FEATURE2_HAS_IEEE128.
59 * sysdeps/powerpc/dl-procinfo.c:
60 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
61
62 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
63
64 [BZ #19415]
65 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
66 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
67 (_dl_lookup_address): Rewrite using function resolver trampoline.
68 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
69 two bits in address.
70
71 2016-01-07 Mike Frysinger <vapier@gentoo.org>
72
73 * longlong.h: Change !__SHMEDIA__ to
74 (!defined (__SHMEDIA__) || !__SHMEDIA__).
75 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
76
77 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
78 Joseph Myers <joseph@codesourcery.com>
79 Mark Shinwell <shinwell@codesourcery.com>
80 Andrew Stubbs <ams@codesourcery.com>
81 Rich Felker <dalias@libc.org>
82
83 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
84
85 2016-01-07 Richard Henderson <rth@redhat.com>
86
87 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
88
89 2016-01-07 Mike Frysinger <vapier@gentoo.org>
90
91 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
92 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
93 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
94 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
95 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
96
97 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
98 Joseph Myers <joseph@codesourcery.com>
99
100 * timezone/private.h: Update from tzcode 2015g.
101 * timezone/tzfile.h: Likewise.
102 * timezone/tzselect.ksh: Likewise.
103 * timezone/zdump.c: Likewise.
104 * timezone/zic.c: Likewise.
105 * timezone/ialloc.c: Remove file.
106 * timezone/scheck.c: Likewise.
107 * timezone/Makefile (extra-objs): Remove variable.
108 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
109 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
110 -Wno-maybe-uninitialized.
111 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
112 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
113 (CFLAGS-ialloc.c): Remove variable.
114 (CFLAGS-scheck.c): Likewise.
115 * timezone/README: Update list of files from tzcode.
116
117 2016-01-07 Khem Raj <raj.khem@gmail.com>
118
119 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
120 instead of __fxprintf when _LIBC is undefined.
121
122 2016-01-07 Marko Myllynen <myllynen@redhat.com>
123
124 * catgets/test-gencat.sh: Remove space after shebang.
125 * conform/GlibcConform.pm: Likewise.
126 * conform/check-header-lists.sh: Likewise.
127 * conform/conformtest.pl: Likewise.
128 * conform/linknamespace.pl: Likewise.
129 * conform/list-header-symbols.pl: Likewise.
130 * debug/catchsegv.sh: Likewise.
131 * elf/genrtldtbl.awk: Likewise.
132 * elf/tst-pathopt.sh: Likewise.
133 * elf/tst-rtld-load-self.sh: Likewise.
134 * grp/tst_fgetgrent.sh: Likewise.
135 * iconvdata/gen-8bit-gap-1.sh: Likewise.
136 * iconvdata/gen-8bit-gap.sh: Likewise.
137 * iconvdata/gen-8bit.sh: Likewise.
138 * iconvdata/run-iconv-test.sh: Likewise.
139 * intl/tst-gettext.sh: Likewise.
140 * intl/tst-gettext2.sh: Likewise.
141 * intl/tst-gettext4.sh: Likewise.
142 * intl/tst-gettext6.sh: Likewise.
143 * intl/tst-translit.sh: Likewise.
144 * io/ftwtest-sh: Likewise.
145 * libio/test-freopen.sh: Likewise.
146 * locale/gen-translit.pl: Likewise.
147 * malloc/tst-mtrace.sh: Likewise.
148 * manual/check-safety.sh: Likewise.
149 * manual/libc-texinfo.sh: Likewise.
150 * manual/tsort.awk: Likewise.
151 * manual/xtract-typefun.awk: Likewise.
152 * nptl/tst-cancel-wrappers.sh: Likewise.
153 * nptl/tst-tls6.sh: Likewise.
154 * posix/globtest.sh: Likewise.
155 * posix/tst-getconf.sh: Likewise.
156 * posix/wordexp-tst.sh: Likewise.
157 * scripts/check-c++-types.sh: Likewise.
158 * scripts/check-local-headers.sh: Likewise.
159 * scripts/config.guess: Likewise.
160 * scripts/config.sub: Likewise.
161 * scripts/cpp: Likewise.
162 * scripts/cross-test-ssh.sh: Likewise.
163 * scripts/documented.sh: Likewise.
164 * scripts/evaluate-test.sh: Likewise.
165 * scripts/gen-libc-abis: Likewise.
166 * scripts/gen-sorted.awk: Likewise.
167 * scripts/list-fixed-bugs.py: Likewise.
168 * scripts/merge-test-results.sh: Likewise.
169 * scripts/mkinstalldirs: Likewise.
170 * scripts/rellns-sh: Likewise.
171 * scripts/test-installation.pl: Likewise.
172 * scripts/update-copyrights: Likewise.
173 * stdio-common/tst-printf.sh: Likewise.
174 * stdio-common/tst-unbputc.sh: Likewise.
175 * stdlib/tst-fmtmsg.sh: Likewise.
176 * stdlib/tst-setcontext3.sh: Likewise.
177 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
178 * sysdeps/unix/make-syscalls.sh: Likewise.
179
180 2016-01-06 John David Anglin <dave.anglin@bell.net>
181
182 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
183 asm stw with atomic_exchange_rel. Add explanatory comment.
184 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
185 Likewise.
186
187 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
188
189 [BZ #19122]
190 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
191 * sysdeps/generic/dl-unistd.h: New file.
192 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
193
194 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
195
196 [BZ #19122]
197 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
198 * sysdeps/generic/dl-mman.h: New file.
199 * sysdeps/mach/hurd/dl-mman.h: Likewise.
200
201 2016-01-05 Joseph Myers <joseph@codesourcery.com>
202
203 * manual/texinfo.tex: Update to version 2016-01-04.21 with
204 trailing whitespace removed.
205 * scripts/config.guess: Update to version 2016-01-01.
206 * scripts/config.sub: Update to version 2016-01-01.
207 * scripts/move-if-change: Update from gnulib.
208
209 2016-01-04 Anton Blanchard <anton@samba.org>
210
211 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
212 for array indices.
213 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
214
215 2016-01-04 Joseph Myers <joseph@codesourcery.com>
216
217 * NEWS: Update copyright dates.
218 * catgets/gencat.c (print_version): Likewise.
219 * csu/version.c (banner): Likewise.
220 * debug/catchsegv.sh: Likewise.
221 * debug/pcprofiledump.c (print_version): Likewise.
222 * debug/xtrace.sh (do_version): Likewise.
223 * elf/ldconfig.c (print_version): Likewise.
224 * elf/ldd.bash.in: Likewise.
225 * elf/pldd.c (print_version): Likewise.
226 * elf/sotruss.sh: Likewise.
227 * elf/sprof.c (print_version): Likewise.
228 * iconv/iconv_prog.c (print_version): Likewise.
229 * iconv/iconvconfig.c (print_version): Likewise.
230 * locale/programs/locale.c (print_version): Likewise.
231 * locale/programs/localedef.c (print_version): Likewise.
232 * login/programs/pt_chown.c (print_version): Likewise.
233 * malloc/memusage.sh (do_version): Likewise.
234 * malloc/memusagestat.c (print_version): Likewise.
235 * malloc/mtrace.pl: Likewise.
236 * manual/libc.texinfo: Likewise.
237 * nptl/version.c (banner): Likewise.
238 * nscd/nscd.c (print_version): Likewise.
239 * nss/getent.c (print_version): Likewise.
240 * nss/makedb.c (print_version): Likewise.
241 * posix/getconf.c (main): Likewise.
242 * scripts/test-installation.pl: Likewise.
243 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
244
245 * All files with FSF copyright notices: Update copyright dates
246 using scripts/update-copyrights.
247 * intl/plural.c: Regenerated.
248 * locale/programs/charmap-kw.h: Likewise.
249 * locale/programs/locfile-kw.h: Likewise.
250
251 2016-01-02 Helge Deller <deller@gmx.de>
252
253 [BZ #19285]
254 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
255 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
256 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
257 (MADV_xxK_PAGES): Remove.
258
259 2016-01-01 Mike Frysinger <vapier@gentoo.org>
260
261 [BZ #15421]
262 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
263 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
264 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
265 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
266
267 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
268
269 [BZ #19408]
270 * sysdeps/unix/sysv/linux/personality.c: New file.
271 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
272 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
273 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
274 (sysdep_routines): Add personality.
275 (tests): Add tst-personality.
276 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
277 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
278 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
279 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
280 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
281 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
282 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
283 Likewise.
284 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
285 Likewise.
286 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
287 Likewise.
288 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
289 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
290 Likewise.
291
292 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
293
294 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
295 (PATH_ARM_SYSTYPE): Remove.
296 (PATH_CPUINFO): Likewise.
297 (IO_BASE_FOOTBRIDGE): Likewise.
298 (IO_SHIFT_FOOTBRIDGE): Likewise.
299 (struct platform): Likewise.
300 (init_iosys): Remove compatibility code for 2.4 kernels.
301 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
302
303 2015-12-29 Florian Weimer <fweimer@redhat.com>
304
305 * malloc/tst-malloc-thread-fail.c: New file.
306 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
307 (tst-malloc-thread-fail): Link against libpthread.
308
309 2015-12-29 Mike Frysinger <vapier@gentoo.org>
310
311 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
312 (get_parser): New function.
313 (main): New function.
314
315 2015-12-29 Rob Wu <rob@robwu.nl>
316
317 [BZ #19369]
318 * resolv/res_init.c (__res_vinit): Reset defdname before use.
319
320 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
321
322 [BZ #19270]
323 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
324
325 2015-12-28 Mike Frysinger <vapier@gentoo.org>
326
327 [BZ #15421]
328 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
329
330 2015-12-23 Torvald Riegel <triegel@redhat.com>
331
332 [BZ #13690]
333 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
334 after releasing it.
335 (__lll_robust_unlock): Likewise.
336 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
337 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
338 (lll_robust_unlock): Likewise.
339 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
340 Prevent warnings in callers.
341
342 2015-12-23 Florian Weimer <fweimer@redhat.com>
343
344 * malloc/arena.c (list_lock): Update comment.
345
346 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
347
348 * sysdeps/powerpc/hwcapinfo.c: Export symbol
349 __parse_hwcap_and_convert_at_platform to libc.a.
350
351 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
352
353 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
354 platform and feature support for POWER9.
355 * sysdeps/powerpc/dl-procinfo.h: Likewise.
356 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
357 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
358 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
359 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
360 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
361 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
362 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
363
364 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
365
366 Harmonize generic stdio-lock support with nptl
367
368 This fixes build when _IO_funlockfile is a macro, fixes build where
369 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
370 stack unwind.
371
372 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
373 _IO_release_lock ): Use cleanup attribute on new
374 _IO_acquire_lock_file variable instead of assuming that
375 _IO_release_lock will be called.
376 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
377 _IO_acquire_lock_needs_exceptions_enabled.
378 (_IO_acquire_lock_clear_flags2): New macro.
379
380 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
381
382 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
383
384 2015-12-21 Florian Weimer <fweimer@redhat.com>
385
386 [BZ #19182]
387 * malloc/arena.c (list_lock): Document lock ordering requirements.
388 (free_list_lock): New lock.
389 (ptmalloc_lock_all): Comment on free_list_lock.
390 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
391 (detach_arena): Update comment. free_list_lock is now needed.
392 (_int_new_arena): Use free_list_lock around detach_arena call.
393 Acquire arena lock after list_lock. Add comment, including FIXME
394 about incorrect synchronization.
395 (get_free_list): Switch to free_list_lock.
396 (reused_arena): Acquire free_list_lock around detach_arena call
397 and attached threads counter update. Add two FIXMEs about
398 incorrect synchronization.
399 (arena_thread_freeres): Switch to free_list_lock.
400 * malloc/malloc.c (struct malloc_state): Update comments to
401 mention free_list_lock.
402
403 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
404
405 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
406 Remove functions.
407 (sloww, sloww1): Accept argument to offset quadrant.
408 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
409 quadrant.
410 (__sin, __cos): Consolidate common code into new functions.
411 (reduce_sincos_1, do_sincos_1): New functions.
412 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
413
414 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
415 code to new functions.
416 (reduce_sincos_2, do_sincos_2): New functions.
417 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
418
419 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
420 common code for sincos.
421 (__cos) [!IN_SINCOS]: Likewise.
422 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
423 New function.
424 (__sincos): Use it.
425
426 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
427
428 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
429 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
430 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
431
432 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
433
434 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
435 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
436 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
437 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
438 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
439 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
440 index_Prefer_No_VZEROUPPER): New feature.
441 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
442 Prefer_No_VZEROUPPER for Knights Landing.
443
444 015-12-18 Torvald Riegel <triegel@redhat.com>
445
446 * math/atest-exp2.c (mp_exp_m1): Remove.
447
448 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
449
450 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
451 syscalls.
452 (__SYSCALL0): New macro.
453 (__SYSCALL1): Likewise.
454 (__SYSCALL2): Likewise.
455 (__SYSCALL3): Likewise.
456 (__SYSCALL4): Likewise.
457 (__SYSCALL5): Likewise.
458 (__SYSCALL6): Likewise.
459 (__SYSCALL_CONCAT_X): Likewise.
460 (__SYSCALL_CONCAT): Likewise.
461 (__SYSCALL_DIST): Likewise.
462 (__SYSCALL_CALL): Likewise.
463
464 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
465
466 [BZ #19363]
467 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
468
469 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
470
471 [BZ #19375]
472 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
473 negative subnormals.
474
475 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
476
477 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
478 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
479 (INTERNAL_SYSCALL_NCS): Use it.
480 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
481
482 2015-12-16 Florian Weimer <fweimer@redhat.com>
483
484 [BZ #19243]
485 * malloc/arena.c (get_free_list): Remove assert and adjust
486 reference count handling. Add comment about reused_arena
487 interaction.
488 (reused_arena): Add comments abount get_free_list interaction.
489 * malloc/tst-malloc-thread-exit.c: New file.
490 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
491 (tst-malloc-thread-exit): Link against libpthread.
492
493 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
494
495 [BZ #19367]
496 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
497 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
498 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
499 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
500 (index_Prefer_MAP_32BIT_EXEC): Likewise.
501
502 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
503
504 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
505 Silvermont optimizations for Knights Landing.
506
507 2015-12-15 Andreas Schwab <schwab@suse.de>
508
509 [BZ #17197]
510 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
511 immediately after emitting SI.
512 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
513 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
514 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
515 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
516 * iconvdata/bug-iconv10.c: New file.
517 * iconvdata/Makefile (tests): Add bug-iconv10.
518 ($(objpfx)bug-iconv10.out): New rule.
519
520 2015-12-15 Florian Weimer <fweimer@redhat.com>
521
522 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
523 aliasing violation.
524
525 2015-12-14 Joseph Myers <joseph@codesourcery.com>
526
527 [BZ #18472]
528 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
529 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
530 conditionals for them.
531 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
532 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
533 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
534 sys/kdaemon.h.
535 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
536 compat-only syscall, obsoleted in glibc 2.23.
537 (create_module): Likewise.
538 (get_kernel_syms): Likewise.
539 (query_module): Likewise.
540 (uselib): Likewise.
541 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
542
543 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
544
545 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
546 <linux/version.h>.
547 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
548 conditional code.
549 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
550 and ioshift_name initialization.
551
552 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
553
554 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
555 Fix indentation.
556
557 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
558
559 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
560
561 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
562
563 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
564
565 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
566 Jakub Wilk <jwilk@debian.org>
567
568 [BZ #19347]
569 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
570 to change the group of the device to the tty group.
571
572 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
573
574 Split large string section; add truncation advice
575 * manual/examples/strncat.c: Remove.
576 This example was misleading, as the code would have undefined
577 behavior if "hello" was longer than SIZE. Anyway, the manual
578 shouldn't encourage strncpy+strncat for this sort of thing.
579 * manual/string.texi (Copying Strings and Arrays): Split into
580 three sections Copying Strings and Arrays, Concatenating Strings,
581 and Truncating Strings, as this section was way too long. All
582 cross-referenced changed. Add advice about string-truncation
583 functions. Remove misleading strncat example.
584
585 2015-12-10 Carlos O'Donell <carlos@redhat.com>
586
587 * manual/nss.texi (NSS Modules Interface): Document
588 NSS_STATUS_NOTFOUND and SUCCESS.
589
590 2015-12-09 Mike FABIAN <mfabian@redhat.com>
591
592 [BZ 18568]
593 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
594 201505L, for Unicode 8.
595
596 2015-12-09 Carlos O'Donell <carlos@redhat.com>
597
598 * locale/C-translit.h: Regenerate.
599
600 2015-12-09 Mike FABIAN <mfabian@redhat.com>
601
602 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
603 and U+0153.
604
605 2015-12-09 Joseph Myers <joseph@codesourcery.com>
606
607 [BZ #19351]
608 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
609 expanding log(1+z), compare z rather than its square with epsilon
610 to determine when to avoid evaluating the expansion.
611
612 [BZ #19350]
613 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
614 Increase overflow threshold.
615
616 [BZ #19349]
617 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
618 when small.
619
620 * sysdeps/unix/sysv/linux/i386/kernel-features.h
621 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
622 New macro.
623 [__LINUX_KERNEL_VERSION >= 0x040300]
624 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
625 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
626 Likewise.
627 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
628 Likewise.
629 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
630 Likewise.
631 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
632 Likewise.
633 [__LINUX_KERNEL_VERSION >= 0x040300]
634 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
635 [__LINUX_KERNEL_VERSION >= 0x040300]
636 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
637 [__LINUX_KERNEL_VERSION >= 0x040300]
638 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
639 [__LINUX_KERNEL_VERSION >= 0x040300]
640 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
641 [__LINUX_KERNEL_VERSION >= 0x040300]
642 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
643 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
644 Likewise.
645 [__LINUX_KERNEL_VERSION >= 0x040300]
646 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
647 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
648 Likewise.
649 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
650 Likewise.
651 [__LINUX_KERNEL_VERSION >= 0x040300]
652 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
653 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
654 Likewise.
655 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
656 Likewise.
657 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
658 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
659 Likewise.
660 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
661 Likewise.
662 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
663 Likewise.
664 [__LINUX_KERNEL_VERSION >= 0x040300]
665 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
666 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
667 Likewise.
668 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
669 Likewise.
670 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
671 Likewise.
672 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
673 Likewise.
674 [__LINUX_KERNEL_VERSION >= 0x040300]
675 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
676 [__LINUX_KERNEL_VERSION >= 0x040300]
677 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
678 [__LINUX_KERNEL_VERSION >= 0x040300]
679 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
680 [__LINUX_KERNEL_VERSION >= 0x040300]
681 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
682 [__LINUX_KERNEL_VERSION >= 0x040300]
683 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
684 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
685 Likewise.
686 [__LINUX_KERNEL_VERSION >= 0x040300]
687 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
688 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
689 Likewise.
690 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
691 Likewise.
692 [__LINUX_KERNEL_VERSION >= 0x040300]
693 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
694 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
695 Likewise.
696 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
697 Likewise.
698 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
699 (__ASSUME_SOCKET_SYSCALL): Likewise.
700 (__ASSUME_BIND_SYSCALL): Likewise.
701 (__ASSUME_CONNECT_SYSCALL): Likewise.
702 (__ASSUME_LISTEN_SYSCALL): Likewise.
703 (__ASSUME_ACCEPT_SYSCALL): Likewise.
704 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
705 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
706 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
707 (__ASSUME_SEND_SYSCALL): Likewise.
708 (__ASSUME_SENDTO_SYSCALL): Likewise.
709 (__ASSUME_RECV_SYSCALL): Likewise.
710 (__ASSUME_RECVFROM_SYSCALL): Likewise.
711 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
712 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
713 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
714 (__ASSUME_SENDMSG_SYSCALL): Likewise.
715 (__ASSUME_RECVMSG_SYSCALL): Likewise.
716 * sysdeps/unix/sysv/linux/sh/kernel-features.h
717 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
718 Likewise.
719 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
720 Likewise.
721 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
722 Likewise.
723 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
724 Likewise.
725 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
726 Likewise.
727 [__LINUX_KERNEL_VERSION >= 0x020625]
728 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
729 [__LINUX_KERNEL_VERSION >= 0x020625]
730 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
731 [__LINUX_KERNEL_VERSION >= 0x020625]
732 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
733 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
734 Likewise.
735 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
736 Likewise.
737 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
738 Likewise.
739 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
740 Likewise.
741 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
742 Likewise.
743 [__LINUX_KERNEL_VERSION >= 0x020625]
744 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
745 [__LINUX_KERNEL_VERSION >= 0x020625]
746 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
747 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
748 Likewise.
749 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
750 Likewise.
751
752 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
753
754 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
755 record the current if the current ABI and CPU support the FP64
756 extension.
757 (has-modd-spreg): Define to record the current if the current ABI and
758 CPU support 32-bit floating point values in odd FPU registers.
759 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
760 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
761 $(has-modd-spreg) equals yes.
762 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
763 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
764 $(has-modd-spreg) equal yes.
765
766 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
767
768 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
769 basename.
770
771 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
772
773 * benchtests/Makefile (bench-math): Move ffs and ffsll...
774 (bench-string): ... here.
775 (bench): Add bench-string.
776 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
777 to *-benchset to reflect what they are.
778 (benchset): Adjust.
779
780 * benchtests/sincos-inputs: Add inputs from sin-inputs and
781 cos-inputs.
782
783 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
784
785 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
786 __attribute__ ((__simd__)) for vector math function declarations.
787
788 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
789
790 Fix typo in strncat, wcsncat manual entries
791 * manual/string.texi (Copying and Concatenation): Fix typos in
792 sample implementations of strncat and wcsncat, by having them use
793 the old value of the destination length, not the new one.
794
795 2015-12-04 Joseph Myers <joseph@codesourcery.com>
796
797 [BZ #16961]
798 [BZ #16962]
799 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
800 string on the stack for strtod.
801 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
802 a string on the stack for strtof.
803 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
804 constructing a string on the stack for strtold.
805 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
806 __strtold_nan to GLIBC_PRIVATE.
807 * math/test-nan-overflow.c: New file.
808 * math/test-nan-payload.c: Likewise.
809 * math/Makefile (tests): Add test-nan-overflow and
810 test-nan-payload.
811
812 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
813
814 Consistency about byte vs character in string.texi
815 * manual/string.texi (String and Array Utilities):
816 Distinguish more carefully among bytes, multibyte characters,
817 and wide characters. Use "byte" when talking about C 'char',
818 to distinguish it more clearly from multibyte characters.
819 Say "wide character" or "multibyte character" instead of
820 "character", when a wide or multibyte character is intended.
821 Similarly for "multibyte string" versus "string".
822 Define these terms more carefully.
823
824 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
825
826 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
827 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
828 Likewise.
829 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
830 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
831 * sysdeps/sh/math_private.h: New file.
832 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
833 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
834 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
835 long double function name.
836 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
837 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
838 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
839 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
840 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
842 Remove __finitel, __isinfl, and __isnanl.
843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
844 Likewise.
845 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
847 Remove __finitel.
848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
849 Likewise.
850 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
851
852 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
853
854 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
855 installed libmvec_nonshared.a.
856
857 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
858
859 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
860 (sysdep_routines): Likewise.
861 (sysdep-rtld-routines): Likewise.
862 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
863 [$(subdir) = nptl](tests-static): test-get_hwcap-static
864 * sysdeps/powerpc/Versions: Added new
865 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
866 * sysdeps/powerpc/hwcapinfo.c: New file.
867 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
868 and parse hwcap, hwcap2 and platform number information.
869 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
870 to store HWCAP+HWCAP2 and platform number.
871 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
872 for HWCAP+HWCAP2 and platform number in the TCB.
873 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
874 the HWCAP, HWCAP2 and platform number in the TCB.
875 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
876 (TLS_INIT_TP): Included calls to add the hwcap and
877 at_platform values in the TCB in TP initialization.
878 (TLS_DEFINE_INIT_TP): Likewise.
879 (THREAD_GET_HWCAP): New macro.
880 (THREAD_SET_HWCAP): Likewise.
881 (THREAD_GET_AT_PLATFORM): Likewise.
882 (THREAD_SET_AT_PLATFORM): Likewise.
883 * sysdeps/powerpc/powerpc32/dl-machine.h:
884 (dl_platform_init): New function that calls
885 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
886 powerpc32.
887 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
888 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
889 this functionality, static linking case.
890 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
891 linking case.
892 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
893 __parse_hwcap_and_convert_at_platform for the static linking case.
894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
895 Included the new __parse_hwcap_and_convert_at_platform symbol in the
896 ABI list for GLIBC 2.23.
897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
898 Likewise.
899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
900 Likewise.
901
902 2015-12-02 Ludovic Courtès <ludo@gnu.org>
903
904 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
905 * configure: Regenerate.
906 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
907 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
908
909 2015-12-02 Carlos O'Donell <carlos@redhat.com>
910
911 * iconvdata/ibm930.c: Add comment explaining encoding uses.
912 * iconvdata/ibm933.c: Likewise.
913 * iconvdata/ibm935.c: Likewise.
914 * iconvdata/ibm937.c: Likewise.
915 * iconvdata/ibm939.c: Likewise.
916
917 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
918
919 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
920 pthread_join.
921 * nptl/tst-cancel21.c (tf): Likewise.
922
923 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
924
925 [BZ #19313]
926 * bits/typesizes.h (__CPU_MASK_TYPE): New.
927 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
928 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
929 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
930 Likewise.
931 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
932 Likewise.
933 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
934 Likewise.
935 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
936 Likewise.
937 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
938 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
939 unsigned long int with __CPU_MASK_TYPE.
940
941 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
942
943 * sysdeps/aarch64/libm-test-ulps: Regenerated.
944
945 2015-12-01 Joseph Myers <joseph@codesourcery.com>
946
947 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
948 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
949 t512.x.
950 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
951
952 2015-11-30 Amit Pawar <amit.pawar@amd.com>
953
954 [BZ #19214]
955 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
956 argument to return extended model. Update family and model
957 with extended family and model when family == 0x0f.
958 (init_cpu_features): Updated.
959
960 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
961
962 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
963 signed off_t, so 32bit bigger than 2GiB values are fine actually.
964
965 * sysdeps/mach/hurd/mmap64.c: New file.
966
967 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
968
969 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
970 rights for its main user thread in NEWTASK.
971
972 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
973
974 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
975 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
976
977 2015-11-27 Carlos O'Donell <carlos@redhat.com>
978
979 [BZ #14259]
980 * Makeconfig: Rename localedir to complocaledir.
981 Rename inst_localedir to inst_complocaledir.
982 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
983 * config.make.in: Use complocaledir and libc_cv_complocaledir.
984 * configure.ac: Use libc_cv_complocaledir.
985 * configure: Regenerate.
986 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
987 -DCOMPLOCALEDIR.
988 * locale/findlocale.c: Use COMPLOCALEDIR.
989 * locale/loadarchive.c: Likewise.
990 * locale/programs/locale.c: Likewise.
991 * locale/programs/localedef.c: Likewise.
992 * locale/programs/locarchive.c: Likewise.
993 * localedata/Makefile: Use inst_complocaledir.
994 * sysdeps/gnu/configure: Regenerate.
995 * sysdeps/hppa/configure: Regenerate.
996 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
997 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
999 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
1000 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
1001 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
1002 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
1003
1004 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
1005
1006 [BZ #19058]
1007 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
1008 AS_NEEDED.
1009 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
1010 workaround.
1011 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
1012 libmvec-static-only-routines): Added new file.
1013 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
1014
1015 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
1016
1017 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
1018 of interrupted RPC instead of restoring it.
1019
1020 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
1021 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
1022 libc_hidden_def.
1023 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
1024 into initialized data instead of common. Define rtld_hidden_data_def.
1025 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
1026 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
1027 libc_hidden_def.
1028 (if_freenameindex): Add libc_hidden_weak.
1029 (if_nameindex): Add libc_hidden_weak.
1030 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
1031 __open64.
1032 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
1033 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
1034 * sysdeps/mach/nanosleep.c: Include <time.h>
1035 (__nanosleep): Rename to __libc_nanosleep.
1036 (__nanosleep): Add weak_alias.
1037 (nanosleep): Update alias.
1038
1039 2015-11-24 Joseph Myers <joseph@codesourcery.com>
1040
1041 * stdlib/strtod_nan.c: New file.
1042 * stdlib/strtod_nan_double.h: Likewise.
1043 * stdlib/strtod_nan_float.h: Likewise.
1044 * stdlib/strtod_nan_main.c: Likewise.
1045 * stdlib/strtod_nan_narrow.h: Likewise.
1046 * stdlib/strtod_nan_wide.h: Likewise.
1047 * stdlib/strtof_nan.c: Likewise.
1048 * stdlib/strtold_nan.c: Likewise.
1049 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
1050 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
1051 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
1052 * wcsmbs/wcstod_nan.c: Likewise.
1053 * wcsmbs/wcstof_nan.c: Likewise.
1054 * wcsmbs/wcstold_nan.c: Likewise.
1055 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
1056 strtold_nan.
1057 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
1058 wcstof_nan.
1059 * include/stdlib.h (__strtof_nan): Declare and use
1060 libc_hidden_proto.
1061 (__strtod_nan): Likewise.
1062 (__strtold_nan): Likewise.
1063 (__wcstof_nan): Likewise.
1064 (__wcstod_nan): Likewise.
1065 (__wcstold_nan): Likewise.
1066 * include/wchar.h (____wcstoull_l_internal): Declare.
1067 * stdlib/strtod_l.c: Do not include <ieee754.h>.
1068 (____strtoull_l_internal): Remove declaration.
1069 (STRTOF_NAN): Define macro.
1070 (SET_MANTISSA): Remove macro.
1071 (STRTOULL): Likewise.
1072 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
1073 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
1074 (STRTOF_NAN): Define macro.
1075 (SET_MANTISSA): Remove macro.
1076 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
1077 (SET_MANTISSA): Remove macro.
1078 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
1079 macro.
1080 (SET_MANTISSA): Remove macro.
1081 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
1082 macro.
1083 (SET_MANTISSA): Remove macro.
1084 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
1085 (SET_MANTISSA): Remove macro.
1086 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
1087 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
1088 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
1089
1090 [BZ #19266]
1091 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
1092 upper case and lower case letters inside NAN(), not using TOLOWER.
1093 * stdlib/tst-strtod-nan-locale-main.c: New file.
1094 * stdlib/tst-strtod-nan-locale.c: Likewise.
1095 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
1096 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
1097 Depend on $(gen-locales).
1098 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
1099 * wcsmbs/tst-wcstod-nan-locale.c: New file.
1100 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
1101 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
1102 Depend on $(gen-locales).
1103 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
1104
1105 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
1106
1107 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
1108
1109 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
1111 __finitel, __isinfl, and __isnanl.
1112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1113 Likewise.
1114 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
1116 __finitel.
1117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1118 Likewise.
1119 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1120
1121 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1122
1123 * malloc/memusage.c (me): Remove redundant getenv call.
1124
1125 2015-10-24 Florian Weimer <fweimer@redhat.com>
1126
1127 [BZ #19143]
1128 [BZ #19164]
1129 * nptl/check-cpuset.h: Remove.
1130 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
1131 Remove CPU set size check.
1132 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
1133 Likewise.
1134 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
1135 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1136 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
1137 (__pthread_setaffinity_new): Remove CPU set size check.
1138 * sysdeps/unix/sysv/linux/sched_setaffinity.c
1139 (__kernel_cpumask_size): Remove.
1140 (__sched_setaffinity_new): Remove CPU set size check.
1141 * manual/threads.texi (Default Thread Attributes): Remove stale
1142 reference to check_cpuset_attr, determine_cpumask_size in comment.
1143 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
1144 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
1145 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
1146 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
1147 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
1148 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
1149 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
1150 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
1151 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
1152 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
1153 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
1154 skeleton test file.
1155 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
1156 tst-affinity-pid.
1157
1158 2015-11-24 Florian Weimer <fweimer@redhat.com>
1159
1160 * scripts/update-abilist.sh: New file.
1161 * Makefile (+subdir_targets): Add subdir_update-all-abi.
1162 * Makerules (update-all-abi-%, update-all-abi)
1163 (subdir_update-all-abi): New targets.
1164 * elf/Makefile (update-all-abi): New target.
1165
1166 2015-11-24 Florian Weimer <fweimer@redhat.com>
1167
1168 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
1169 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
1170 (__libc_lock_define_initialized): Use it.
1171 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
1172 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
1173 * malloc/malloc.c (main_arena): Likewise.
1174 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1175 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1176
1177 2015-11-23 Joseph Myers <joseph@codesourcery.com>
1178
1179 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1180 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
1181 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1182 (PTRACE_O_MASK): Update value.
1183 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
1184 New value in enum __ptrace_setoptions.
1185 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1186 (PTRACE_O_MASK): Update value.
1187 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1188 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1189 (PTRACE_O_MASK): Update value.
1190 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
1191 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1192 (PTRACE_O_MASK): Update value.
1193 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
1194 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1195 (PTRACE_O_MASK): Update value.
1196 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
1197 New value in enum __ptrace_setoptions.
1198 (PTRACE_O_MASK): Update value.
1199 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
1200 New value in enum __ptrace_setoptions.
1201 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1202 (PTRACE_O_MASK): Update value.
1203
1204 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
1205 New macro.
1206 (PACKET_AUXDATA): Likewise.
1207 (PACKET_ORIGDEV): Likewise.
1208 (PACKET_VERSION): Likewise.
1209 (PACKET_HDRLEN): Likewise.
1210 (PACKET_RESERVE): Likewise.
1211 (PACKET_TX_RING): Likewise.
1212 (PACKET_LOSS): Likewise.
1213 (PACKET_VNET_HDR): Likewise.
1214 (PACKET_TX_TIMESTAMP): Likewise.
1215 (PACKET_TIMESTAMP): Likewise.
1216 (PACKET_FANOUT): Likewise.
1217 (PACKET_TX_HAS_OFF): Likewise.
1218 (PACKET_QDISC_BYPASS): Likewise.
1219 (PACKET_ROLLOVER_STATS): Likewise.
1220 (PACKET_FANOUT_DATA): Likewise.
1221 (PACKET_MR_UNICAST): Likewise.
1222
1223 [BZ #19242]
1224 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
1225 (TOUPPER): Likewise.
1226 * stdlib/tst-strtol-locale-main.c: New file.
1227 * stdlib/tst-strtol-locale.c: Likewise.
1228 * stdlib/Makefile (tests): Add tst-strtol-locale.
1229 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
1230 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
1231 Depend on $(gen-locales).
1232 * wcsmbs/tst-wcstol-locale.c: New file.
1233 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
1234 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
1235 tr_TR.ISO-8859-9.
1236 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
1237 Depend on $(gen-locales).
1238
1239 2015-11-20 Roland McGrath <roland@hack.frob.com>
1240
1241 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
1242 __glibc_likely instead of __builtin_expect. After falling back to
1243 dyncode_create in a non-ET_DYN case, use the allocate_code_data
1244 system interface to register the code pages as occupied.
1245
1246 2015-11-20 Joseph Myers <joseph@codesourcery.com>
1247
1248 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1249 [!ARM_MATH_PRIVATE_H].
1250 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
1251 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1252 [!HPPA_MATH_PRIVATE_H].
1253 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
1254 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
1255 to [!I386_MATH_PRIVATE_H].
1256 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
1257 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
1258 Change guard to [!M68K_MATH_PRIVATE_H].
1259 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
1260 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
1261 guard to [!MICROBLAZE_MATH_PRIVATE_H].
1262 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
1263 macro.
1264 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1265 [!MIPS_MATH_PRIVATE_H].
1266 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
1267 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1268 [!NIO2_MATH_PRIVATE_H].
1269 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
1270 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1271 [!TILE_MATH_PRIVATE_H].
1272 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
1273
1274 [BZ #15421]
1275 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
1276 initialize with 0 and define as weak alias of __signgam.
1277 * include/math.h [!_ISOMAC] (__signgam): Declare.
1278 * math/Makefile (libm-calls): Add w_lgamma_compat.
1279 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
1280 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
1281 test-signgam-ullong-init.
1282 (tests-static): Add test-signgam-uchar-static,
1283 test-signgam-uchar-init-static, test-signgam-uint-static,
1284 test-signgam-uint-init-static, test-signgam-ullong-static and
1285 test-signgam-ullong-init-static.
1286 (CFLAGS-test-signgam-uchar.c): New variable.
1287 (CFLAGS-test-signgam-uchar-init.c): Likewise.
1288 (CFLAGS-test-signgam-uchar-static.c): Likewise.
1289 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
1290 (CFLAGS-test-signgam-uint.c): Likewise.
1291 (CFLAGS-test-signgam-uint-init.c): Likewise.
1292 (CFLAGS-test-signgam-uint-static.c): Likewise.
1293 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
1294 (CFLAGS-test-signgam-ullong.c): Likewise.
1295 (CFLAGS-test-signgam-ullong-init.c): Likewise.
1296 (CFLAGS-test-signgam-ullong-static.c): Likewise.
1297 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
1298 * math/Versions (libm): Add GLIBC_2.23.
1299 * math/lgamma-compat.h: New file.
1300 * math/test-signgam-main.c: Likewise.
1301 * math/test-signgam-uchar-init-static.c: Likewise.
1302 * math/test-signgam-uchar-init.c: Likewise.
1303 * math/test-signgam-uchar-static.c: Likewise.
1304 * math/test-signgam-uchar.c: Likewise.
1305 * math/test-signgam-uint-init-static.c: Likewise.
1306 * math/test-signgam-uint-init.c: Likewise.
1307 * math/test-signgam-uint-static.c: Likewise.
1308 * math/test-signgam-uint.c: Likewise.
1309 * math/test-signgam-ullong-init-static.c: Likewise.
1310 * math/test-signgam-ullong-init.c: Likewise.
1311 * math/test-signgam-ullong-static.c: Likewise.
1312 * math/test-signgam-ullong.c: Likewise.
1313 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
1314 wrapper of w_lgamma_main.c.
1315 * math/w_lgamma_compat.c: New file.
1316 * math/w_lgamma_compatf.c: Likewise.
1317 * math/w_lgamma_compatl.c: Likewise.
1318 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
1319 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
1320 defining compatibility symbols.
1321 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
1322 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
1323 wrapper of w_lgammaf_main.c.
1324 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
1325 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
1326 defining compatibility symbols.
1327 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
1328 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
1329 wrapper of w_lgammal_main.c.
1330 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
1331 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
1332 defining compatibility symbols.
1333 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
1334 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
1335 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
1336 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
1337 <lgamma-compat.h>.
1338 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
1339 (__ieee754_gamma): Define as alias.
1340 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
1341 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
1342 <lgamma-compat.h>.
1343 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
1344 (__ieee754_gammaf): Define as alias.
1345 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
1346 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
1347 <lgamma-compat.h>.
1348 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
1349 (__ieee754_gammal): Define as alias.
1350 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
1351 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
1352 <math/w_lgamma_compat.c>.
1353 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
1354 Define as alias of __lgamma_compat and use in defining lgammal.
1355 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
1356 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
1357 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
1358 (USE_AS_COMPAT): New macro.
1359 (LGAMMA_OLD_VER): Undefine and redefine.
1360 (lgammal): Do not define here.
1361 (gammal): Only define here if [GAMMA_ALIAS].
1362 * conform/linknamespace.pl (@whitelist): Remove signgam.
1363 * sysdeps/nacl/libm.abilist: Update.
1364 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1365 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1366 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1367 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1368 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1369 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1370 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1371 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1372 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1373 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1374 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1375 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1377 Likewise.
1378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1379 Likewise.
1380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1381 Likewise.
1382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1383 Likewise.
1384 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1385 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1386 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1387 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1388 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1390 Likewise.
1391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1392 Likewise.
1393 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1394 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1395 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1396
1397 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1398
1399 [BZ #16364]
1400 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
1401 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
1402
1403 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1404
1405 * sysdeps/s390/fpu/bits/mathinline.h:
1406 Use __asm__ [__volatile__] instead of asm [volatile].
1407 * sysdeps/s390/abort-instr.h: Likewise.
1408 * sysdeps/s390/atomic-machine.h: Likewise.
1409 * sysdeps/s390/bits/string.h: Likewise.
1410 * sysdeps/s390/dl-tls.h: Likewise.
1411 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
1412 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
1413 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
1414 * sysdeps/s390/fpu/fesetround.c: Likewise.
1415 * sysdeps/s390/fpu/fpu_control.h: Likewise.
1416 * sysdeps/s390/fpu/s_fma.c: Likewise.
1417 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
1418 * sysdeps/s390/memusage.h: Likewise.
1419 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
1420 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
1421 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
1422 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
1423 * sysdeps/s390/nptl/tls.h: Likewise.
1424 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
1425 * sysdeps/s390/s390-32/backtrace.c: Likewise.
1426 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1427 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
1428 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1429 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1430 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
1431 * sysdeps/s390/s390-64/backtrace.c: Likewise.
1432 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1433 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
1434 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
1435 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1436 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1437 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
1438 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
1439 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
1440 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
1441 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1442 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
1443 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1444 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
1445 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1446 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
1447
1448 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1449 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1450
1451 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
1452 Add lwarx hint, and use macro for acquire instruction.
1453 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1454 Likewise.
1455 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
1456 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
1457 update to use new atomic macros.
1458
1459 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1460
1461 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1462 (__lll_trylock_elision): Fix setting of adapt_count.
1463 * sysdeps/unix/sysv/linux/powerpc/htm.h
1464 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
1465 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
1466 (_ABORT_SYSCALL): Renumber, and clarify definition.
1467 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
1468
1469 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1470
1471 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
1472 after system headers to prevent MIN/MAX redefinition. Define
1473 HAVE_ALLOCA to preserve builtin alloca usage.
1474
1475 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
1476
1477 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
1478 static and don't set or restore rounding.
1479 (__cos)[IN_SINCOS]: Likewise.
1480 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
1481 (__sincos): Set and restore rounding mode. Remove check for infinite
1482 or NaN input.
1483
1484 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
1485
1486 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
1487 as used.
1488
1489 2015-11-16 Florian Weimer <fweimer@redhat.com>
1490
1491 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
1492
1493 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
1494
1495 * config.make.in (have-glob-dat-reloc): New.
1496 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
1497 target supports GLOB_DAT relocaton. AC_SUBST.
1498 * configure: Regenerated.
1499 * elf/Makefile (tests): Add tst-prelink.
1500 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
1501 (tst-prelink-ENV): New.
1502 ($(objpfx)tst-prelink-conflict.out): Likewise.
1503 ($(objpfx)tst-prelink-cmp.out): Likewise.
1504 * sysdeps/x86/tst-prelink.c: Moved to ...
1505 * elf/tst-prelink.c: Here.
1506 * sysdeps/x86/tst-prelink.exp: Moved to ...
1507 * elf/tst-prelink.exp: Here.
1508 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
1509 (tst-prelink-ENV): Removed.
1510 ($(objpfx)tst-prelink-conflict.out): Likewise.
1511 ($(objpfx)tst-prelink-cmp.out): Likewise.
1512 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
1513
1514 2015-11-13 Joseph Myers <joseph@codesourcery.com>
1515
1516 [BZ #14551]
1517 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
1518 (__mpn_construct_long_double): If high part overflows to infinity,
1519 set errno and recompute overflowed result of the correct sign.
1520 * sysdeps/ieee754/ldbl-128ibm/Makefile
1521 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
1522 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
1523 $(libm).
1524 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
1525
1526 2015-11-12 Joseph Myers <joseph@codesourcery.com>
1527
1528 [BZ #15479]
1529 [BZ #19238]
1530 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
1531 floating-point state after first operation on input. Restore full
1532 state rather than just rounding mode.
1533 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1534 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1535 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1536
1537 [BZ #19235]
1538 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
1539 add 0.5 to integer arguments.
1540 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
1541 Likewise.
1542 (.LC2): New object.
1543
1544 2015-11-11 Mike Frysinger <vapier@gentoo.org>
1545
1546 * scripts/pylintrc (reports): Set to no.
1547
1548 2015-11-10 Roland McGrath <roland@hack.frob.com>
1549
1550 * elf/dl-load.c (open_verify): Take new argument FD.
1551 Skip __open call if passed FD is not -1.
1552 (_dl_map_object, open_path): Update callers.
1553 * elf/dl-sysdep-open.h: New file.
1554 * elf/dl-load.c: Include it.
1555 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
1556 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
1557 * sysdeps/nacl/dl-sysdep-open.h: New file.
1558 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
1559 from libc to rtld.
1560
1561 2015-11-10 Joseph Myers <joseph@codesourcery.com>
1562
1563 [BZ #19228]
1564 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
1565 and restore full floating-point state.
1566 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1567 Likewise.
1568 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1569 Likewise.
1570 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1571 Likewise.
1572 * math/test-nearbyint-except-2.c: New file.
1573 * math/Makefile (tests): Add test-nearbyint-except-2.
1574
1575 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
1576
1577 [BZ #19178]
1578 * sysdeps/x86/Makefile (tests): Add tst-prelink.
1579 (tst-prelink-ENV): New.
1580 ($(objpfx)tst-prelink-conflict.out): Likewise.
1581 ($(objpfx)tst-prelink-cmp.out): Likewise.
1582 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
1583 * sysdeps/x86/tst-prelink.c: New file.
1584 * sysdeps/x86/tst-prelink.exp: Likewise.
1585
1586 2015-11-10 Joseph Myers <joseph@codesourcery.com>
1587
1588 * math/auto-libm-test-in: Add another test of pow.
1589 * math/auto-libm-test-out: Regenerated.
1590 * math/libm-test.inc (pow_test_data): Add another test.
1591
1592 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1593
1594 [BZ #19219]
1595 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
1596 weak_alias to nearbyintl.
1597
1598 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
1599
1600 * sysdeps/aarch64/bits/string.h: New file.
1601 (_STRING_ARCH_unaligned): Define.
1602
1603 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
1604
1605 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
1606 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1607 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1608 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
1609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
1610
1611 2015-11-09 Ulrich Drepper <drepper@gmail.com>
1612
1613 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
1614 for original name of the DSO. Add it to the name list of the DSO
1615 if it is actually given.
1616 (_dl_map_object): Keep track of whether an audit module rewrote
1617 the file name. If yes, pass the original name to
1618 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
1619 debugging is enabled, log the change of the file name.
1620 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
1621 _dl_map_object_from_fd.
1622 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
1623 * elf/tst-audit11.c: New file
1624 * elf/tst-auditmod11.c: New file.
1625 * elf/tst-audit11mod1.c: New file.
1626 * elf/tst-audit11mod2.c: New file.
1627 * elf/tst-audit11mod2.map: New file.
1628 * elf/tst-audit12.c: New file
1629 * elf/tst-auditmod12.c: New file.
1630 * elf/tst-audit12mod1.c: New file.
1631 * elf/tst-audit12mod2.c: New file.
1632 * elf/tst-audit12mod2.map: New file.
1633 * elf/tst-audit12mod3.c: New file.
1634
1635 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
1636
1637 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
1638 Don't create weak aliases,
1639 because versioned symbols are created later.
1640 * sysdeps/s390/s390-32/setjmp.S
1641 (setjmp, _setjmp): Remove weak and rename to an unique name
1642 in SHARED case due to existing versioned symbols.
1643 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1644 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
1645 (getcontext): Create weak alias only in non SHARED case.
1646 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1647
1648 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
1649
1650 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
1651 (__ASSUME_*_SYSCALL) Define new macros.
1652 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
1653 Remove socketcall syscalls.
1654 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
1655 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
1656 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
1657 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
1658 * sysdeps/unix/sysv/linux/send.c (__libc_send):
1659 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
1660
1661 2015-11-09 Florian Weimer <fweimer@redhat.com>
1662
1663 [BZ #12926]
1664 Terminate process on invalid netlink response.
1665 * sysdeps/unix/sysv/linux/netlinkaccess.h
1666 (__netlink_assert_response): Declare.
1667 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
1668 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
1669 (sysdep_routines): Add netlink_assert_response.
1670 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
1671 __netlink_assert_response.
1672 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
1673 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
1674 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
1675 __netlink_assert_response.
1676
1677 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
1678
1679 [BZ #19178]
1680 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
1681 (RTYPE_CLASS_PLT): Likewise.
1682 (RTYPE_CLASS_COPY): Likewise.
1683 (RTYPE_CLASS_TLS): Likewise.
1684 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
1685 to set relocation type class for DL_DEBUG_PRELINK. Keep only
1686 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
1687 DL_DEBUG_PRELINK.
1688
1689 2015-11-06 Joseph Myers <joseph@codesourcery.com>
1690
1691 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
1692 calls with argument -0.5.
1693 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
1694
1695 * configure.ac (libc_cv_z_nodelete): Remove configure test.
1696 (libc_cv_z_nodlopen): Likewise.
1697 (libc_cv_z_initfirst): Likewise.
1698 * configure: Regenerated.
1699
1700 2015-11-06 Florian Weimer <fweimer@redhat.com>
1701
1702 Simplify abilist format to be line-based.
1703 * scripts/abilist.awk: Collect descriptors in the descs variable.
1704 (emit): Write descs variable and sort it
1705 externally, with sort.
1706 * sysdeps/**/*.abilist: Convert to new format.
1707
1708 2015-11-06 Mark Wielaard <mjw@redhat.com>
1709
1710 [BZ #11460]
1711 * io/Makefile (routines): Add fts64.
1712 (tests): Add tst-fts and tst-fts-lfs.
1713 (CFLAGS-fts64.c): New.
1714 * io/Versions (GLIBC_2.23): New.
1715 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
1716 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
1717 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
1718 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
1719 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
1720 (FTSENT64): Likewise.
1721 (fts64_children): Likewise.
1722 (fts64_close): Likewise.
1723 (fts64_open): Likewise.
1724 (fts64_read): Likewise.
1725 (fts64_set): Likewise.
1726 * io/fts64.c: New file.
1727 * io/tst-fts.c: New test.
1728 * io/tst-fts-lfs.c: Likewise.
1729 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
1730 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
1731 fts64_set.
1732 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1733 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1734 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1735 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1736 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1737 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1738 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1739 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1740 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1741 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1742 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1743 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1744 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1746 Likewise.
1747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1748 Likewise.
1749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1751 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1752 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1753 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1754 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1755 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1758 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1759 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1760 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1761 * sysdeps/wordsize-64/fts.c: New file.
1762 * sysdeps/wordsize-64/fts64.c: Likewise.
1763 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
1764 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
1765 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
1766 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
1767
1768 2015-11-05 Joseph Myers <joseph@codesourcery.com>
1769
1770 * math/libm-test.inc (NON_FINITE): New macro.
1771 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
1772 * math/gen-libm-test.pl (show_exceptions): Add argument
1773 $non_finite.
1774 (parse_args): Update call to show_exceptions.
1775 * math/test-math-finite.h: New file.
1776 * math/test-math-no-finite.h: Likewise.
1777 * math/test-double-finite.c: Likewise.
1778 * math/test-float-finite.c: Likewise.
1779 * math/test-ldouble-finite.c: Likewise.
1780 * math/test-double.c: Include "test-math-no-finite.h".
1781 * math/test-float.c: Include "test-math-no-finite.h".
1782 * math/test-ldouble.c: Include "test-math-no-finite.h".
1783 * math/test-math-inline.h (TEST_FINITE): New macro.
1784 * math/test-math-vector.h (TEST_FINITE): Likewise.
1785 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
1786 (libm-tests): Add test-float-finite and test-double-finite.
1787 ($(objpfx)test-float-finite.o): New dependency on
1788 $(objpfx)libm-test.stmp.
1789 ($(objpfx)test-double-finite.o): Likewise.
1790 ($(objpfx)test-ldouble-finite.o): Likewise.
1791 (libm-test-no-inline-cflags): New variable.
1792 (libm-test-finite-cflags): Likewise.
1793 (CFLAGS-test-float-finite.c): Likewise.
1794 (CFLAGS-test-double-finite.c): Likewise.
1795 (CFLAGS-test-ldouble-finite.c): Likewise.
1796 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
1797 (CFLAGS-test-double.c): Likewise.
1798 (CFLAGS-test-ldouble.c): Likewise.
1799
1800 2015-11-05 Roland McGrath <roland@hack.frob.com>
1801
1802 * io/fcntl.c (__fcntl): Add ... to prototype.
1803 * misc/ioctl.c (__ioctl): Likewise.
1804 * misc/syscall.c (syscall): Likewise.
1805
1806 2015-11-05 Joseph Myers <joseph@codesourcery.com>
1807
1808 * scripts/list-fixed-bugs.py: New file.
1809
1810 [BZ #19213]
1811 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
1812 returned for argument 1.
1813 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
1814 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
1815 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
1816 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
1817 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
1818 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
1819
1820 [BZ #19211]
1821 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
1822 __USE_XOPEN], not if [!__USE_ISOC99].
1823 (lgammaf): Likewise.
1824 (lgammal): Likewise.
1825 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
1826 (gammaf): Likewise.
1827 (gammal): Likewise.
1828 * math/test-signgam-finite-c11.c: New file.
1829 * math/test-signgam-finite-c99.c: Likewise.
1830 * math/test-signgam-finite.c: Likewise.
1831 * math/Makefile (tests): Add test-signgam-finite,
1832 test-signgam-finite-c99 and test-signgam-finite-c11.
1833 (CFLAGS-test-signgam-finite.c): New variable.
1834 (CFLAGS-test-signgam-finite-c99.c): Likewise.
1835 (CFLAGS-test-signgam-finite-c11.c): Likewise.
1836
1837 [BZ #19212]
1838 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
1839 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
1840 500].
1841 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
1842 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
1843 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
1844 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
1845 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
1846 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
1847 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
1848 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
1849 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
1850 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
1851
1852 [BZ #19209]
1853 * math/bits/math-finite.h (ldexp): Remove declaration.
1854 (ldexpf): Likewise.
1855 (ldexpl): Likewise.
1856
1857 [BZ #19205]
1858 * math/bits/math-finite.h (acosf): Condition declaration on
1859 [__USE_ISOC99].
1860 (acosl): Likewise.
1861 (acoshf): Likewise.
1862 (acoshl): Likewise.
1863 (asinf): Likewise.
1864 (asinl): Likewise.
1865 (atan2f): Likewise.
1866 (atan2l): Likewise.
1867 (atanhf): Likewise.
1868 (atanhl): Likewise.
1869 (coshf): Likewise.
1870 (coshl): Likewise.
1871 (expf): Likewise.
1872 (expl): Likewise.
1873 (fmodf): Likewise.
1874 (fmodl): Likewise.
1875 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
1876 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
1877 (j0l): Likewise.
1878 (y0f): Likewise.
1879 (y0l): Likewise.
1880 (j1f): Likewise.
1881 (j1l): Likewise.
1882 (y1f): Likewise.
1883 (y1l): Likewise.
1884 (jnf): Likewise.
1885 (jnl): Likewise.
1886 (ynf): Likewise.
1887 (ynl): Likewise.
1888 (lgammaf_r): Condition declaration on [__USE_ISOC99].
1889 (lgammal_r): Likewise.
1890 (__lgamma_r_finite): New declaration.
1891 (__lgammaf_r_finite): Likewise.
1892 (__lgammal_r_finite): Likewise.
1893 (lgamma): Use __lgamma_r_finite.
1894 (lgammaf): Condition definition on [__USE_ISOC99]. Use
1895 __lgammaf_r_finite.
1896 (lgammal): Condition definition on [__USE_ISOC99]. Use
1897 __lgammal_r_finite.
1898 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
1899 __lgamma_r_finite.
1900 (gammaf): Condition definition on [__USE_ISOC99]. Use
1901 __lgammaf_r_finite.
1902 (gammal): Condition definition on [__USE_ISOC99]. Use
1903 __lgammal_r_finite.
1904 (logf): Condition declaration on [__USE_ISOC99].
1905 (logl): Likewise.
1906 (log10f): Likewise.
1907 (log10l): Likewise.
1908 (ldexpf): Likewise.
1909 (ldexpl): Likewise.
1910 (powf): Likewise.
1911 (powl): Likewise.
1912 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
1913 __USE_ISOC99].
1914 (remainderf): Condition declaration on [__USE_ISOC99].
1915 (remainderl): Likewise.
1916 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
1917 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
1918 (scalbl): Likewise.
1919 (sinhf): Condition declaration on [__USE_ISOC99].
1920 (sinhl): Likewise.
1921 (sqrtf): Likewise.
1922 (sqrtl): Likewise.
1923
1924 2015-11-04 Joseph Myers <joseph@codesourcery.com>
1925
1926 * sysdeps/arm/atomic-machine.h
1927 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
1928 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
1929 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
1930 Remove conditional code.
1931 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
1932 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
1933 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
1934 Change conditional to [__ASSEMBLER__].
1935 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
1936 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
1937 [!__ASSEMBLER__].
1938 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
1939 code.
1940 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
1941 conditional macro definitions.
1942 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
1943 (__arch_compare_and_exchange_val_16_acq): Likewise.
1944 (__arch_compare_and_exchange_val_32_acq): Likewise.
1945 (atomic_exchange_and_add): Likewise.
1946 (atomic_add): Likewise.
1947 (atomic_add_negative): Likewise.
1948 (atomic_add_zero): Likewise.
1949 (atomic_bit_set): Likewise.
1950 (atomic_bit_test_set): Likewise.
1951 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
1952 code unconditional.
1953 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1954
1955 * math/test-math-errno.h: New file.
1956 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
1957 empty.
1958 (TEST_ERRNO): New macro.
1959 (TEST_EXCEPTIONS): Likewise.
1960 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
1961 (TEST_EXCEPTIONS): Likewise.
1962 * math/test-math-vector.h (TEST_ERRNO): Likewise.
1963 * math/test-double.c: Include "test-math-errno.h".
1964 * math/test-float.c: Likewise.
1965 * math/test-ldouble.c: Likewise.
1966 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
1967 code unconditional.
1968 (test_exceptions): Only run code if TEST_EXCEPTIONS.
1969 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
1970 unconditional.
1971 (test_errno): Only run code if TEST_ERRNO.
1972 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
1973
1974 2015-11-04 Florian Weimer <fweimer@redhat.com>
1975
1976 * nptl/tst-once5.cc: Remove attribution.
1977
1978 2015-11-04 Joseph Myers <joseph@codesourcery.com>
1979
1980 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
1981 sqrt, tan, tanh, y0, y1 and yn.
1982 * math/auto-libm-test-out: Regenerated.
1983 * math/libm-test.inc (scalb_test_data): Add more tests.
1984 (scalbn_test_data): Likewise.
1985 (scalbln_test_data): Likewise.
1986 (signbit_test_data): Likewise.
1987 (sin_test_data): Likewise.
1988 (sincos_test_data): Likewise.
1989 (sinh_test_data): Likewise.
1990 (sqrt_test_data): Likewise.
1991 (tan_test_data): Likewise.
1992 (tanh_test_data): Likewise.
1993 (tgamma_test_data): Likewise.
1994 (y0_test_data): Likewise.
1995 (y1_test_data): Likewise.
1996 (yn_test_data): Likewise.
1997 (significand_test_data): Likewise.
1998 * sysdeps/i386/fpu/libm-test-ulps: Update.
1999
2000 2015-11-03 David Kastrup <dak@gnu.org>
2001
2002 [BZ #18604]
2003 * assert/assert.h (assert): Don't macro-expand failed assertion
2004 expression in error message.
2005 * malloc/malloc.c (assert): Likewise.
2006
2007 2015-11-03 Joseph Myers <joseph@codesourcery.com>
2008
2009 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
2010 test.
2011 * configure: Regenerated.
2012
2013 2015-11-02 Joseph Myers <joseph@codesourcery.com>
2014
2015 * math/libm-test.inc (modf_test_data): Add more tests.
2016 (nearbyint_test_data): Likewise.
2017 (nextafter_test_data): Likewise.
2018 (nexttoward_test_data): Likewise.
2019 (pow_test_data): Likewise.
2020 (remainder_test_data): Likewise.
2021 (remquo_test_data): Likewise.
2022 (rint_test_data): Likewise.
2023
2024 [BZ #19201]
2025 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2026 Check for zero remainder in case of large exponents and ensure
2027 correct sign of result in that case.
2028 * math/libm-test.inc (remainder_test_data): Add more tests.
2029
2030 [BZ #6799]
2031 * math/s_nextafter.c: Include <errno.h>.
2032 (__nextafter): Set errno on overflow and underflow.
2033 * math/s_nexttowardf.c: Include <errno.h>.
2034 (__nexttowardf): Set errno on overflow and underflow.
2035 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
2036 (__nextafterl): Set errno on overflow and underflow.
2037 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
2038 (__nexttoward): Set errno on overflow and underflow.
2039 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
2040 (__nexttowardf): Set errno on overflow and underflow.
2041 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
2042 (__nextafterf): Set errno on overflow and underflow.
2043 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
2044 (__nextafterl): Set errno on overflow and underflow.
2045 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
2046 (__nexttoward): Set errno on overflow and underflow.
2047 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
2048 (__nexttowardf): Set errno on overflow and underflow.
2049 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
2050 (__nextafterl): Set errno on overflow and underflow.
2051 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
2052 (__nexttoward): Set errno on overflow and underflow.
2053 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
2054 (__nexttowardf): Set errno on overflow and underflow.
2055 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
2056 (__nexttoward): Set errno on overflow and underflow.
2057 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
2058 (__nexttowardf): Set errno on overflow and underflow.
2059 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
2060 (__nldbl_nexttowardf): Set errno on overflow and underflow.
2061 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
2062 (__nextafterl): Set errno on overflow and underflow.
2063 * math/libm-test.inc (nextafter_test_data): Do not allow errno
2064 setting to be missing on overflow. Add more tests.
2065 (nexttoward_test_data): Likewise.
2066
2067 * configure.ac (libc_cv_initfini_array): Remove configure test.
2068 * configure: Regenerated.
2069
2070 2015-10-29 Joseph Myers <joseph@codesourcery.com>
2071
2072 [BZ #19189]
2073 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
2074 non-finite argument handle arguments with negative sign.
2075
2076 * math/libm-test.inc (j0_test_data): Do not test sign of zero
2077 result from infinite argument.
2078 (j1_test_data): Likewise.
2079 (jn_test_data): Likewise.
2080 (y0_test_data): Likewise.
2081 (y1_test_data): Likewise.
2082 (yn_test_data): Likewise.
2083
2084 [BZ #16171]
2085 * math/w_remainder.c (drem): Define as weak alias of __remainder.
2086 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
2087 * math/w_remainderf.c (dremf): Define as weak alias of
2088 __remainderf.
2089 * math/w_remainderl.c (dreml): Define as weak alias of
2090 __remainderl.
2091 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
2092 __remainder.
2093 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
2094 __remainderf.
2095 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
2096 __remainderl.
2097 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
2098 weak alias of remainderl.
2099 * sysdeps/ieee754/ldbl-opt/w_remainder.c
2100 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
2101 alias of __remainder.
2102 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
2103 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
2104 strong alias of __remainderl.
2105 (dreml): Use long_double_symbol.
2106 * math/Makefile (libm-calls): Remove w_drem.
2107 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
2108 (CFLAGS-nldbl-drem.c): Remove variable.
2109 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
2110 * math/w_drem.c: Remove file.
2111 * math/w_dremf.c: Likewise.
2112 * math/w_dreml.c: Likewise.
2113 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
2114 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
2115 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
2116
2117 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
2118 * sysdeps/i386/configure: Regenerated.
2119 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
2120 * sysdeps/x86_64/configure: Regenerated.
2121
2122 * configure.ac (libc_cv_asm_protected_directive): Remove configure
2123 test.
2124 (libc_cv_visibility_attribute): Likewise.
2125 (libc_cv_protected_data): Test unconditionally.
2126 (libc_cv_broken_visibility_attribute): Remove configure test.
2127 (libc_cv_have_sdata_section): Test unconditionally.
2128 * configure: Regenerated.
2129
2130 * include/libc-internal.h (libc_max_align_t): Remove typedef.
2131 * include/scratch_buffer.h: Include <stddef.h> instead of
2132 <libc-internal.h>.
2133 (struct scratch_buffer): Use max_align_t instead of
2134 libc_max_align_t.
2135
2136 2015-10-29 Florian Weimer <fweimer@redhat.com>
2137
2138 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
2139 instead of extend_alloca. Change control flow to avoid a goto.
2140 Remove assert which is trivially always true.
2141
2142 2015-10-28 Joseph Myers <joseph@codesourcery.com>
2143
2144 [BZ #16068]
2145 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
2146 (FE_ALL_EXCEPT_X86): New macro.
2147 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2148 FE_ALL_EXCEPT. Ensure precision control is included in
2149 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2150 handle "denormal operand exception" and clear FZ and DAZ bits.
2151 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
2152 (FE_ALL_EXCEPT_X86): New macro.
2153 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2154 FE_ALL_EXCEPT. Ensure precision control is included in
2155 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2156 handle "denormal operand exception" and clear FZ and DAZ bits.
2157 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
2158 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
2159 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2160 test-fenv-x87 and test-fenv-sse-2.
2161 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
2162
2163 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
2164 * math/test-double.h (BUILD_COMPLEX): New macro.
2165 * math/test-float.h (BUILD_COMPLEX): Likewise.
2166 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
2167
2168 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
2169 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
2170 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
2171 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
2172 instead of DBL_DENORM_MIN in comment.
2173 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
2174 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2175 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
2176 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
2177 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
2178 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2179
2180 2015-10-28 Florian Weimer <fweimer@redhat.com>
2181
2182 [BZ# 19048]
2183 * malloc/malloc.c (struct malloc_state): Update comment. Add
2184 attached_threads member.
2185 (main_arena): Initialize attached_threads.
2186 * malloc/arena.c (list_lock): Update comment.
2187 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
2188 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
2189 (deattach_arena): New function.
2190 (_int_new_arena): Initialize arena reference count and deattach
2191 replaced arena.
2192 (get_free_list, reused_arena): Update reference count and deattach
2193 replaced arena.
2194 (arena_thread_freeres): Update arena reference count and only put
2195 unreferenced arenas on the free list.
2196
2197 2015-10-28 Joseph Myers <joseph@codesourcery.com>
2198
2199 [BZ #19181]
2200 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
2201 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
2202 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
2203 * math/test-fenv-clear-main.c: New file.
2204 * math/test-fenv-clear.c: Likewise.
2205 * math/Makefile (tests): Add test-fenv-clear.
2206 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
2207 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2208 test-fenv-clear-sse.
2209 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
2210
2211 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
2212 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
2213 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
2214
2215 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2216
2217 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
2218 static libc.
2219
2220 2015-10-28 Joseph Myers <joseph@codesourcery.com>
2221
2222 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
2223 test.
2224 * sysdeps/i386/configure: Regenerated.
2225 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
2226 test.
2227 * sysdeps/x86_64/configure: Regenerated.
2228 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
2229 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2230 memset-avx2 unconditionally instead of conditionally on
2231 [$(config-cflags-avx2) = yes].
2232 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2233 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
2234 unconditional.
2235 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
2236 * sysdeps/x86_64/multiarch/memset_chk.S
2237 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
2238 to [IS_IN (libc) && SHARED].
2239
2240 2015-10-27 Joseph Myers <joseph@codesourcery.com>
2241
2242 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
2243 configure test.
2244 * sysdeps/arm/configure: Regenerated.
2245 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
2246 Define variable if not already defined.
2247
2248 [BZ #17404]
2249 * sysdeps/mips/atomic-machine.h
2250 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
2251 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
2252 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2253
2254 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
2255 unconditional.
2256 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
2257 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2258 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
2259 unconditional.
2260 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2261 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
2262 unconditional.
2263 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2264 * stdlib/setenv.c
2265 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
2266 code unconditional.
2267 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
2268 Remove conditional code.
2269 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2270 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
2271 unconditional.
2272 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2273 code.
2274 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2275 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
2276 unconditional.
2277 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2278 code.
2279 * sysdeps/ieee754/ldbl-128/k_tanl.c
2280 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2281 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2282 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
2283 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2284 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2285 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
2286 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
2287 unconditional.
2288 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2289 code.
2290 * sysdeps/ieee754/ldbl-96/k_tanl.c
2291 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2292 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2293
2294 * nptl/tst-initializers1-c11.c: New file.
2295 * nptl/tst-initializers1-gnu11.c: Likewise.
2296 * nptl/Makefile (tests): Add these new tests.
2297 (CFLAGS-tst-initializers1-c11.c): New variable.
2298 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
2299
2300 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
2301 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
2302 instead of -std=gnu99.
2303 * configure.ac (systemtap): Test with -std=gnu11 instead of
2304 -std=gnu99.
2305 * configure: Regenerated.
2306 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
2307 in compilation command in comment.
2308
2309 * sysdeps/nptl/configure.ac: Remove file.
2310 * sysdeps/nptl/configure: Remove generated file.
2311 * configure.ac (libc_cv_forced_unwind): Do not substitute.
2312 * configure: Regenerated.
2313 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
2314 * config.make.in (have-forced-unwind): Remove variable.
2315 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2316 unconditional.
2317 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
2318 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
2319 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
2320 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
2321 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2322 unconditional.
2323
2324 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2325
2326 [BZ #19174]
2327 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
2328 .skip_lock_out_of_tbegin_retries.
2329 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2330 (__lll_lock_elision): Likewise, and respect a value of
2331 try_tbegin <= 0.
2332
2333 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2334
2335 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
2336 statement.
2337
2338 2015-10-27 Joseph Myers <joseph@codesourcery.com>
2339
2340 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
2341 variable.
2342 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2343 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2344
2345 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
2346 of -std=c1x -D_ISOC11_SOURCE.
2347
2348 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
2349 * configure: Regenerated.
2350 * manual/install.texi (Tools for Compilation): Document
2351 requirement for GCC 4.7 or later.
2352 * INSTALL: Regenerated.
2353
2354 2015-10-27 Ludovic Courtès <ludo@gnu.org>
2355
2356 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
2357 on CNT to a conditional jump to 'puntdata'.
2358
2359 2015-10-27 Joseph Myers <joseph@codesourcery.com>
2360
2361 * configure.ac (libc_cv_gcc___thread): Remove configure test.
2362 (libc_cv_gcc_tls_model_attr): Likewise.
2363 * configure: Regenerated.
2364
2365 * configure.ac (libc_cv_need_minus_P): Remove configure test.
2366 * configure: Regenerated.
2367 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
2368
2369 2015-10-26 Joseph Myers <joseph@codesourcery.com>
2370
2371 * configure.ac (old_glibc_headers): Remove configure test.
2372 * configure: Regenerated.
2373 * config.make.in (old-glibc-headers): Remove variable.
2374 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
2375 (install): Remove dependency on remove-old-headers.
2376 (headers2_0): Remove variable.
2377 (remove-old-headers): Remove rule.
2378
2379 * configure.ac (libc_cv_dot_text): Remove configure test.
2380 (libc_cv_asm_set_directive): Use .text instead of
2381 ${libc_cv_dot_text} in configure test.
2382 * configure: Regenerated.
2383
2384 2015-10-26 Florian Weimer <fweimer@redhat.com>
2385
2386 [BZ #19168]
2387 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2388
2389 2015-10-26 Florian Weimer <fweimer@redhat.com>
2390
2391 * configure.ac (CXX): Clear the variable if the C++ toolchain does
2392 not support static linking.
2393 * configure: Regenerate.
2394
2395 2015-10-23 Joseph Myers <joseph@codesourcery.com>
2396
2397 * math/libm-test.inc (check_float_internal): Do not special-case
2398 errors up to 0.5 ulp.
2399
2400 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2401 log2.
2402 * math/auto-libm-test-out: Regenerated.
2403 * math/libm-test.inc (MAX_EXP): New macro.
2404 (ilogb_test_data): Add more tests.
2405 (isfinite_test_data): Likewise.
2406 (isgreater_test_data): Likewise.
2407 (isgreaterequal_test_data): Likewise.
2408 (isinf_test_data): Likewise.
2409 (isless_test_data): Likewise.
2410 (islessequal_test_data): Likewise.
2411 (islessgreater_test_data): Likewise.
2412 (isnan_test_data): Likewise.
2413 (isnormal_test_data): Likewise.
2414 (issignaling_test_data): Likewise.
2415 (isunordered_test_data): Likewise.
2416 (j0_test_data): Likewise.
2417 (j1_test_data): Likewise.
2418 (jn_test_data): Likewise.
2419 (lgamma_test_data): Likewise.
2420 (log_test_data): Likewise.
2421 (log10_test_data): Likewise.
2422 (log1p_test_data): Likewise.
2423 (log2_test_data): Likewise.
2424 (logb_test_data): Likewise.
2425 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2426
2427 [BZ #18611]
2428 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
2429 avoid excess range and precision on underflow.
2430 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2431 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
2432 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2433 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
2434 underflow.
2435 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2436 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2437 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2438 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2439 * math/auto-libm-test-in: Do not allow missing errno setting for
2440 tests of j1 and jn.
2441 * math/auto-libm-test-out: Regenerated.
2442
2443 2015-10-22 Joseph Myers <joseph@codesourcery.com>
2444
2445 [BZ #15491]
2446 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
2447 floating-point environment instead of clearing all exceptions.
2448 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2449 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
2450 merging in "invalid" exceptions from frndint.
2451 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2452 * math/test-nearbyint-except.c: New file.
2453 * math/Makefile (tests): Add test-nearbyint-except.
2454
2455 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
2456
2457 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
2458
2459 * sysdeps/tile/libm-test-ulps: Regenerated.
2460
2461 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2462
2463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
2464 (__NR_sync_file_range2): Assume it is always defined.
2465 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2466 (__NR_sync_file_range): Assume it is always defined.
2467
2468 2015-10-22 Andreas Schwab <schwab@suse.de>
2469
2470 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
2471 INTERNAL_SYSCALL_ERRNO.
2472 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2473 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
2474 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2475 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
2476 Likewise.
2477 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2478
2479 2015-10-21 Joseph Myers <joseph@codesourcery.com>
2480
2481 * io/tst-fcntl.c (fd): New static variable.
2482 (do_prepare): Open temporary file here....
2483 (do_test): ...not here.
2484
2485 * io/ftwtest-sh: Also trap on exit to remove temporary files.
2486
2487 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
2488
2489 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
2490 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
2491 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2492 Moved before "#ifdef __ASSEMBLER__".
2493
2494 2015-10-21 Joseph Myers <joseph@codesourcery.com>
2495
2496 [BZ #19156]
2497 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
2498 arguments very close to 0.
2499
2500 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
2501
2502 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
2503 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
2504
2505 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
2506
2507 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2508 New. Defined for GCC 5 and above when not compiling for
2509 profiling.
2510 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
2511
2512 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
2513 Renamed to ...
2514 (CFLAGS-epoll_pwait.o): This.
2515 (CFLAGS-mmap.c): Renamed to ...
2516 (CFLAGS-mmap.o): This.
2517 (CFLAGS-mmap64.c): Renamed to ...
2518 (CFLAGS-mmap64.o): This.
2519 (CFLAGS-epoll_pwait.os): New.
2520 (CFLAGS-mmap.os): Likewise.
2521 (CFLAGS-mmap64.os): Likewise.
2522 (CFLAGS-semtimedop.os): Likewise.
2523 (CFLAGS-semtimedop.c): Renamed to ...
2524 (CFLAGS-semtimedop.o): This.
2525
2526 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2527
2528 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
2529 warning message.
2530
2531 2015-10-21 Joseph Myers <joseph@codesourcery.com>
2532
2533 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
2534 * Makefile ($(objpfx)c++-types-check.out): Filter out
2535 $(+gccwarn-c) instead of -Wstrict-prototypes.
2536
2537 * io/fts.c (fts_open): Convert to prototype-style function
2538 definition.
2539 * malloc/mcheck.c (mcheck): Likewise.
2540 (mcheck_pedantic): Likewise.
2541 * posix/regexec.c (re_search_2_stub): Likewise. Use
2542 internal_function.
2543 (re_search_internal): Likewise.
2544 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
2545 prototype-style function definition.
2546 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2547 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2548 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
2549 (xdr_utmpptr): Likewise.
2550 (xdr_utmparr): Likewise.
2551 (xdr_utmpidle): Likewise.
2552 (xdr_utmpidleptr): Likewise.
2553 (xdr_utmpidlearr): Likewise.
2554
2555 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
2556 log, log10 and log2.
2557 * math/auto-libm-test-out: Regenerated.
2558 * math/libm-test.inc (fmod_test_data): Add more tests.
2559 (fpclassify_test_data): Likewise.
2560 (frexp_test_data): Likewise.
2561 (hypot_test_data): Likewise.
2562 (ilogb_test_data): Likewise.
2563
2564 2015-10-20 Joseph Myers <joseph@codesourcery.com>
2565
2566 * debug/fortify_fail.c (__fortify_fail): Convert to
2567 prototype-style function definition. Use internal_function.
2568 * libio/genops.c (save_for_backup): Convert to prototype-style
2569 function definition.
2570 * libio/wgenops.c (save_for_wbackup): Likewise.
2571 * login/grantpt.c (grantpt): Likewise.
2572 * login/ptsname.c (ptsname): Likewise.
2573 (__ptsname_r): Likewise.
2574 * login/unlockpt.c (unlockpt): Likewise.
2575 * mach/msgserver.c (__mach_msg_server): Likewise.
2576 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
2577 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
2578 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
2579 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
2580 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
2581 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
2582 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
2583 Likewise.
2584 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
2585 internal_function.
2586 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
2587 prototype-style function definition.
2588 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
2589 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
2590 (__pthread_create_2_0): Likewise.
2591 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
2592 * nptl/register-atfork.c (__register_atfork): Likewise.
2593 * posix/glob.c (glob): Likewise.
2594 * posix/regcomp.c (re_comp): Likewise.
2595 * posix/regexec.c (re_exec): Likewise.
2596 * stdlib/add_n.c [__STDC__]: Make code unconditional.
2597 [!__STDC__]: Remove conditional code.
2598 * stdlib/cmp.c [__STDC__]: Make code unconditional.
2599 [!__STDC__]: Remove conditional code.
2600 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
2601 [!__STDC__]: Remove conditional code.
2602 * stdlib/divrem.c [__STDC__]: Make code unconditional.
2603 [!__STDC__]: Remove conditional code.
2604 * stdlib/lshift.c [__STDC__]: Make code unconditional.
2605 [!__STDC__]: Remove conditional code.
2606 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
2607 [!__STDC__]: Remove conditional code.
2608 * stdlib/mul.c [__STDC__]: Make code unconditional.
2609 [!__STDC__]: Remove conditional code.
2610 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
2611 [!__STDC__]: Remove conditional code.
2612 * stdlib/rshift.c [__STDC__]: Make code unconditional.
2613 [!__STDC__]: Remove conditional code.
2614 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
2615 function definition.
2616 (STRTOF): Likewise.
2617 * stdlib/strtod_l.c (__STRTOF): Likewise.
2618 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
2619 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
2620 (__strtol_l): Likewise.
2621 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
2622 [!__STDC__]: Remove conditional code.
2623 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
2624 definition.
2625 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
2626 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2627 type.
2628 (__strcasecmp): Convert to prototype-style function definition.
2629 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
2630 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2631 type.
2632 (__strncasecmp): Convert to prototype-style function definition.
2633 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
2634 * sunrpc/xdr.c (xdr_union): Likewise.
2635 * sunrpc/xdr_array.c (xdr_array): Likewise.
2636 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
2637 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
2638 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
2639 Likewise.
2640 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
2641 Likewise.
2642 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
2643 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
2644 Likewise.
2645 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
2646 (LOCALE_PARAM_PROTO): Likewise.
2647 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
2648 argument type.
2649 (ut_argument_spec): Remove macro.
2650 (ut_argument_spec_iso): Rename to ut_argument_spec.
2651 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
2652 prototype-style function definition.
2653 (memcpy_uppcase): Likewise.
2654 (__strftime_internal): Likewise.
2655 (my_strftime): Likewise.
2656 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
2657 (LOCALE_PARAM_DECL): Likewise.
2658 [_LIBC] (LOCALE_PARAM): Include argument type.
2659 (__strptime_internal): Convert to prototype-style function
2660 definition.
2661 (strptime): Likewise.
2662 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
2663 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2664 type.
2665 (__wcscasecmp): Convert to prototype-style function definition.
2666 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
2667 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2668 type.
2669 (__wcsncasecmp): Convert to prototype-style function definition.
2670
2671 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
2672 function definition.
2673 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2674 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2675 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
2676 * elf/dl-minimal.c (_itoa): Likewise.
2677 * hurd/hurdmalloc.c (malloc): Likewise.
2678 (free): Likewise.
2679 (realloc): Likewise.
2680 * inet/inet6_option.c (inet6_option_space): Likewise.
2681 (inet6_option_init): Likewise.
2682 (inet6_option_append): Likewise.
2683 (inet6_option_alloc): Likewise.
2684 (inet6_option_next): Likewise.
2685 (inet6_option_find): Likewise.
2686 * io/ftw.c (FTW_NAME): Likewise.
2687 (NFTW_NAME): Likewise.
2688 (NFTW_NEW_NAME): Likewise.
2689 (NFTW_OLD_NAME): Likewise.
2690 * libio/iofwide.c (_IO_fwide): Likewise.
2691 * libio/strops.c (_IO_str_init_static_internal): Likewise.
2692 (_IO_str_init_static): Likewise.
2693 (_IO_str_init_readonly): Likewise.
2694 (_IO_str_overflow): Likewise.
2695 (_IO_str_underflow): Likewise.
2696 (_IO_str_count): Likewise.
2697 (_IO_str_seekoff): Likewise.
2698 (_IO_str_pbackfail): Likewise.
2699 (_IO_str_finish): Likewise.
2700 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
2701 (_IO_wstr_overflow): Likewise.
2702 (_IO_wstr_underflow): Likewise.
2703 (_IO_wstr_count): Likewise.
2704 (_IO_wstr_seekoff): Likewise.
2705 (_IO_wstr_pbackfail): Likewise.
2706 (_IO_wstr_finish): Likewise.
2707 * locale/programs/localedef.c (normalize_codeset): Likewise.
2708 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
2709 (add_locales_to_archive): Likewise.
2710 (delete_locales_from_archive): Likewise.
2711 * malloc/malloc.c (__libc_mallinfo): Likewise.
2712 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
2713 * misc/tsearch.c (__tfind): Likewise.
2714 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
2715 * nptl/pthread_attr_getdetachstate.c
2716 (__pthread_attr_getdetachstate): Likewise.
2717 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
2718 Likewise.
2719 * nptl/pthread_attr_getinheritsched.c
2720 (__pthread_attr_getinheritsched): Likewise.
2721 * nptl/pthread_attr_getschedparam.c
2722 (__pthread_attr_getschedparam): Likewise.
2723 * nptl/pthread_attr_getschedpolicy.c
2724 (__pthread_attr_getschedpolicy): Likewise.
2725 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
2726 Likewise.
2727 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
2728 Likewise.
2729 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
2730 Likewise.
2731 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
2732 Likewise.
2733 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
2734 (__pthread_attr_init_2_0): Likewise.
2735 * nptl/pthread_attr_setdetachstate.c
2736 (__pthread_attr_setdetachstate): Likewise.
2737 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
2738 Likewise.
2739 * nptl/pthread_attr_setinheritsched.c
2740 (__pthread_attr_setinheritsched): Likewise.
2741 * nptl/pthread_attr_setschedparam.c
2742 (__pthread_attr_setschedparam): Likewise.
2743 * nptl/pthread_attr_setschedpolicy.c
2744 (__pthread_attr_setschedpolicy): Likewise.
2745 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
2746 Likewise.
2747 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
2748 Likewise.
2749 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
2750 Likewise.
2751 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
2752 Likewise.
2753 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
2754 Likewise.
2755 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
2756 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
2757 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
2758 use internal_function.
2759 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
2760 prototype-style function definition.
2761 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
2762 (__pthread_mutex_cond_lock_adjust): Likewise. Use
2763 internal_function.
2764 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
2765 Convert to prototype-style function definition.
2766 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2767 Likewise.
2768 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2769 Likewise.
2770 (__pthread_mutex_unlock): Likewise.
2771 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
2772 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
2773 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
2774 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
2775 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
2776 * nss/makedb.c (process_input): Likewise.
2777 * posix/fnmatch.c (__strchrnul): Likewise.
2778 (__wcschrnul): Likewise.
2779 (fnmatch): Likewise.
2780 * posix/fnmatch_loop.c (FCT): Likewise.
2781 * posix/glob.c (globfree): Likewise.
2782 (__glob_pattern_type): Likewise.
2783 (__glob_pattern_p): Likewise.
2784 * posix/regcomp.c (re_compile_pattern): Likewise.
2785 (re_set_syntax): Likewise.
2786 (re_compile_fastmap): Likewise.
2787 (regcomp): Likewise.
2788 (regerror): Likewise.
2789 (regfree): Likewise.
2790 * posix/regexec.c (regexec): Likewise.
2791 (re_match): Likewise.
2792 (re_search): Likewise.
2793 (re_match_2): Likewise.
2794 (re_search_2): Likewise.
2795 (re_search_stub): Likewise. Use internal_function
2796 (re_copy_regs): Likewise.
2797 (re_set_registers): Convert to prototype-style function
2798 definition.
2799 (prune_impossible_nodes): Likewise. Use internal_function.
2800 * resolv/inet_net_pton.c (inet_net_pton): Convert to
2801 prototype-style function definition.
2802 (inet_net_pton_ipv4): Likewise.
2803 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2804 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
2805 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
2806 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
2807 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2808 Make variadic.
2809 * time/strptime_l.c (localtime_r): Convert to prototype-style
2810 function definition.
2811 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2812 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2813 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2814 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2815
2816 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
2817 definition.
2818 (_ufc_doit_r): Likewise.
2819 * crypt/crypt_util.c (_ufc_copymem): Likewise.
2820 (_ufc_output_conversion_r): Likewise.
2821 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
2822 * inet/rcmd.c (rcmd_af): Likewise.
2823 (rcmd): Likewise.
2824 (ruserok_af): Likewise.
2825 (ruserok): Likewise.
2826 (ruserok2_sa): Likewise.
2827 (ruserok_sa): Likewise.
2828 (iruserok_af): Likewise.
2829 (iruserok): Likewise.
2830 (__ivaliduser): Likewise.
2831 (__validuser2_sa): Likewise.
2832 * inet/rexec.c (rexec_af): Likewise.
2833 (rexec): Likewise.
2834 * inet/ruserpass.c (ruserpass): Likewise.
2835 * locale/programs/xmalloc.c (xcalloc): Likewise.
2836 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
2837 * math/w_drem.c (__drem): Likewise.
2838 * math/w_dremf.c (__dremf): Likewise.
2839 * math/w_dreml.c (__dreml): Likewise.
2840 * misc/daemon.c (daemon): Likewise.
2841 * resolv/res_debug.c (p_fqnname): Likewise.
2842 * stdlib/div.c (div): Likewise.
2843 * string/memcmp.c (memcmp_bytes): Likewise.
2844 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
2845 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2846
2847 * crypt/cert.c (main): Convert to prototype-style function
2848 definition.
2849 * io/pipe.c (__pipe): Likewise.
2850 * io/pipe2.c (__pipe2): Likewise.
2851 * misc/futimesat.c (futimesat): Likewise.
2852 * misc/utimes.c (__utimes): Likewise.
2853 * posix/execve.c (__execve): Likewise.
2854 * posix/execvp.c (execvp): Likewise.
2855 * posix/execvpe.c (__execvpe): Likewise.
2856 * posix/fexecve.c (fexecve): Likewise.
2857 * socket/socketpair.c (socketpair): Likewise.
2858 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
2859 * stdlib/erand48.c (erand48): Likewise.
2860 * stdlib/erand48_r.c (__erand48_r): Likewise.
2861 * stdlib/jrand48.c (jrand48): Likewise.
2862 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
2863 * stdlib/lcong48.c (lcong48): Likewise.
2864 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
2865 * stdlib/nrand48.c (nrand48): Likewise.
2866 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
2867 * stdlib/seed48.c (seed48): Likewise.
2868 * stdlib/seed48_r.c (__seed48_r): Likewise.
2869 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
2870 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
2871 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
2872
2873 2015-10-19 Joseph Myers <joseph@codesourcery.com>
2874
2875 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
2876 * configure: Regenerated.
2877 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
2878 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
2879 unconditional.
2880 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2881 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2882 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2883 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
2884 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
2885 unconditional.
2886 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2887
2888 * posix/Makefile (CFLAGS-regex.c): Remove variable.
2889 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
2890
2891 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
2892 function definition.
2893 * crypt/crypt_util.c (__encrypt_r): Likewise.
2894 * libio/genops.c (_IO_no_init): Likewise.
2895 * libio/iofopncook.c (_IO_fopencookie): Likewise.
2896 (_IO_old_fopencookie): Likewise.
2897 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2898 * libio/iogetline.c (_IO_getline): Likewise.
2899 (_IO_getline_info): Likewise.
2900 * libio/iogetwline.c (_IO_getwline): Likewise.
2901 (_IO_getwline_info): Likewise.
2902 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2903 * libio/vswprintf.c (_IO_vswprintf): Likewise.
2904 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
2905 (find_entry): Likewise.
2906 (iterate_table): Likewise.
2907 (lookup): Likewise.
2908 * login/forkpty.c (forkpty): Likewise.
2909 * misc/hsearch_r.c (__hsearch_r): Likewise.
2910 * misc/select.c (__select): Likewise.
2911 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
2912 Likewise.
2913 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
2914 Likewise.
2915 * nptl/old_pthread_cond_timedwait.c
2916 (__pthread_cond_timedwait_2_0): Likewise.
2917 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
2918 * nptl/pthread_barrierattr_getpshared.c
2919 (pthread_barrierattr_getpshared): Likewise.
2920 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
2921 Likewise.
2922 * nptl/pthread_mutex_setprioceiling.c
2923 (pthread_mutex_setprioceiling): Likewise.
2924 * nptl/pthread_mutexattr_getprioceiling.c
2925 (pthread_mutexattr_getprioceiling): Likewise.
2926 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
2927 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2928 Likewise.
2929 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2930 Likewise.
2931 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
2932 Likewise.
2933 * socket/recvfrom.c (__recvfrom): Likewise.
2934 * socket/sendto.c (__sendto): Likewise.
2935 * socket/setsockopt.c (__setsockopt): Likewise.
2936 * stdio-common/_itoa.c (_itoa): Likewise.
2937 * stdio-common/_itowa.c (_itowa): Likewise.
2938 * stdio-common/reg-printf.c (__register_printf_specifier):
2939 Likewise.
2940 (__register_printf_function): Likewise.
2941 * stdio-common/tempname.c (__path_search): Likewise.
2942 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
2943 * stdlib/mul_1.c (mpn_mul_1): Likewise.
2944 * stdlib/random_r.c (__initstate_r): Likewise.
2945 * stdlib/setenv.c (__add_to_environ): Likewise.
2946 * stdlib/submul_1.c (mpn_submul_1): Likewise.
2947 * streams/getpmsg.c (getpmsg): Likewise.
2948 * streams/putmsg.c (putmsg): Likewise.
2949 * streams/putpmsg.c (putpmsg): Likewise.
2950 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
2951 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
2952 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
2953 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
2954 * sunrpc/pm_getport.c (pmap_getport): Likewise.
2955 * sunrpc/svc_udp.c (cache_get): Likewise.
2956 * sunrpc/xdr_array.c (xdr_vector): Likewise.
2957 * sysdeps/mach/hurd/getcwd.c
2958 (__canonicalize_directory_name_internal): Likewise.
2959 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
2960 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
2961 * sysdeps/mach/hurd/select.c (__select): Likewise.
2962 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
2963 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
2964 * sysdeps/sparc/nptl/pthread_barrier_init.c
2965 (__pthread_barrier_init): Likewise.
2966 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
2967 (__pthread_cond_timedwait): Likewise.
2968 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
2969 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
2970 Likewise.
2971 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
2972 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
2973 Likewise.
2974 * sysvipc/semtimedop.c (semtimedop): Likewise.
2975 * time/setitimer.c (__setitimer): Likewise.
2976 * time/strftime_l.c (emacs_strftime): Likewise.
2977
2978 2015-10-19 Mike Frysinger <vapier@gentoo.org>
2979
2980 * config.make.in (have-ssp): Delete.
2981 (stack-protector): New variable.
2982 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
2983 cache test for -fstack-protector-strong. Export stack_protector to
2984 the best ssp flag.
2985 * configure: Regenerated.
2986 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
2987 * nscd/Makefile (CFLAGS-nscd): Likewise.
2988 * resolv/Makefile (CFLAGS-libresolv): Likewise.
2989
2990 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
2991
2992 [BZ #19122]
2993 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
2994 attribute_hidden.
2995
2996 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2997
2998 [BZ #18743]
2999 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
3000 code to...
3001 (ELIDE_LOCK): ...here.
3002 (__get_new_count): New function with part of the code from
3003 __elide_lock that updates the value of adapt_count after a
3004 transaction abort.
3005 (__elided_trylock): Moved this code to...
3006 (ELIDE_TRYLOCK): ...here.
3007
3008 2015-10-19 Mike Frysinger <vapier@gentoo.org>
3009
3010 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
3011 * configure: Regenerate.
3012 * INSTALL: Regenerate.
3013 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
3014 and tweak grammar.
3015
3016 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
3017
3018 * login/programs/pt_chown.c: Include signal.h
3019 (main): Clear any signal mask from the parent process.
3020
3021 2015-10-19 Joseph Myers <joseph@codesourcery.com>
3022
3023 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
3024 * configure: Regenerated.
3025 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
3026 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
3027 $(gnu89-inline-CFLAGS).
3028
3029 * configure.ac (libc_cv_asm_weak_directive): Remove configure
3030 test.
3031 (libc_cv_asm_weakext_directive): Likewise.
3032 * configure: Regenerated.
3033 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
3034 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
3035 * include/libc-symbols.h
3036 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
3037 #error.
3038 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
3039 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
3040
3041 * sysdeps/arm/backtrace.c (__backtrace): Convert to
3042 prototype-style function definition.
3043 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
3044 * sysdeps/i386/ffs.c (__ffs): Likewise.
3045 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3046 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
3047 Likewise.
3048 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3049 Likewise.
3050 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
3051 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3052 Likewise.
3053 * sysdeps/m68k/ffs.c (__ffs): Likewise.
3054 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
3055 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
3056 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
3057 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
3058 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
3059 * sysdeps/mach/hurd/access.c (__access): Likewise.
3060 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
3061 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
3062 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
3063 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
3064 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
3065 (cthread_getspecific): Likewise.
3066 (cthread_setspecific): Likewise.
3067 (__libc_getspecific): Likewise.
3068 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
3069 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
3070 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
3071 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
3072 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
3073 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
3074 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
3075 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
3076 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
3077 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
3078 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
3079 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
3080 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
3081 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
3082 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
3083 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
3084 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
3085 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
3086 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
3087 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
3088 * sysdeps/mach/hurd/link.c (__link): Likewise.
3089 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
3090 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
3091 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
3092 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
3093 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3094 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
3095 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
3096 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
3097 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3098 * sysdeps/mach/hurd/rename.c (rename): Likewise.
3099 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
3100 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
3101 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
3102 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
3103 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
3104 * sysdeps/mach/hurd/send.c (__send): Likewise.
3105 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
3106 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
3107 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
3108 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
3109 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
3110 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
3111 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
3112 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
3113 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
3114 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
3115 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
3116 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
3117 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
3118 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
3119 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3120 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3121 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
3122 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
3123 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
3124 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3125 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
3126 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
3127 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
3128 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
3129 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
3130 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
3131 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
3132 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
3133 * sysdeps/posix/alarm.c (alarm): Likewise.
3134 * sysdeps/posix/cuserid.c (cuserid): Likewise.
3135 * sysdeps/posix/dirfd.c (dirfd): Likewise.
3136 * sysdeps/posix/dup.c (__dup): Likewise.
3137 * sysdeps/posix/dup2.c (__dup2): Likewise.
3138 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
3139 (main): Likewise.
3140 * sysdeps/posix/flock.c (__flock): Likewise.
3141 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
3142 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3143 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
3144 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
3145 * sysdeps/posix/isatty.c (__isatty): Likewise.
3146 * sysdeps/posix/killpg.c (killpg): Likewise.
3147 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3148 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
3149 * sysdeps/posix/raise.c (raise): Likewise.
3150 * sysdeps/posix/remove.c (remove): Likewise.
3151 * sysdeps/posix/rename.c (rename): Likewise.
3152 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
3153 * sysdeps/posix/seekdir.c (seekdir): Likewise.
3154 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
3155 * sysdeps/posix/sigignore.c (sigignore): Likewise.
3156 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
3157 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
3158 * sysdeps/posix/sigset.c (sigset): Likewise.
3159 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
3160 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3161 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
3162 * sysdeps/posix/time.c (time): Likewise.
3163 * sysdeps/posix/ttyname.c (getttyname): Likewise.
3164 (ttyname): Likewise.
3165 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
3166 * sysdeps/posix/utime.c (utime): Likewise.
3167 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
3168 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3169 Likewise.
3170 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
3171 (pthread_spin_trylock): Likewise.
3172 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
3173 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
3174 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
3175 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
3176 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
3177 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
3178 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
3179 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
3180 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
3181 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
3182 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
3183 * sysdeps/s390/ffs.c (__ffs): Likewise.
3184 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
3185 Likewise.
3186 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3187 Likewise.
3188 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
3189 Likewise.
3190 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
3191 (pthread_barrier_destroy): Likewise.
3192 * sysdeps/sparc/nptl/pthread_barrier_wait.c
3193 (__pthread_barrier_wait): Likewise.
3194 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
3195 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3196 (__pthread_barrier_wait): Likewise.
3197 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
3198 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
3199 (memcmp_not_common_alignment): Likewise.
3200 (MEMCMP): Likewise.
3201 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
3202 (_wordcopy_fwd_dest_aligned): Likewise.
3203 (_wordcopy_bwd_aligned): Likewise.
3204 (_wordcopy_bwd_dest_aligned): Likewise.
3205 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
3206 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
3207 * sysdeps/unix/bsd/stty.c (stty): Likewise.
3208 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
3209 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
3210 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
3211 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
3212 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
3213 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
3214 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
3215 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
3216 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3217 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
3218 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
3219 * sysdeps/unix/stime.c (stime): Likewise.
3220 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
3221 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
3222 Likewise. Use internal_function.
3223 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
3224 Convert to prototype-style function definition.
3225 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3226 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3227 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
3228 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3229 Likewise. Use internal_function.
3230 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
3231 prototype-style function definition
3232 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3233 Likewise.
3234 (__getlogin_r): Likewise.
3235 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
3236 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
3237 (__pthread_cond_broadcast): Likewise.
3238 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
3239 (__pthread_cond_destroy): Likewise.
3240 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
3241 (__pthread_cond_init): Likewise.
3242 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
3243 (__pthread_cond_signal): Likewise.
3244 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
3245 (__pthread_cond_wait): Likewise.
3246 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
3247 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
3248 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
3249 Likewise.
3250 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
3251 Likewise.
3252 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
3253 Likewise.
3254 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
3255 Likewise.
3256 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
3257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
3258 (__ftruncate64): Likewise.
3259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
3260 (truncate64): Likewise.
3261 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
3262 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
3263 (pthread_getcpuclockid): Likewise.
3264 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3265 Likewise.
3266 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3267 Likewise.
3268 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
3269 Likewise.
3270 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3271 Likewise.
3272 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
3273 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
3274 (__libc_sigaction): Likewise.
3275 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
3276 Likewise.
3277 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
3278 (__sigprocmask): Likewise.
3279 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
3280 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
3281 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
3282 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
3283 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3284 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
3285 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3286 Likewise.
3287 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
3288 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
3289 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3290 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
3291 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
3292 Likewise.
3293 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
3294 (__sigprocmask): Likewise.
3295 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
3296 (cfgetispeed): Likewise.
3297 (cfsetospeed): Likewise.
3298 (cfsetispeed): Likewise.
3299 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
3300 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
3301 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3302 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
3303 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
3304 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
3305 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
3306 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
3307 Likewise.
3308 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
3309 Likewise.
3310 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
3311 Likewise.
3312 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
3313 Likewise.
3314 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
3315
3316 2015-10-17 Florian Weimer <fweimer@redhat.com>
3317
3318 sunrpc: Rewrite with explicit TLS access using __thread.
3319 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
3320 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
3321 directly.
3322 (__rpc_thread_variables): Access thread_rpc_vars directly.
3323 Eliminate redundant assignment of the tvp variable.
3324
3325 2015-10-17 Florian Weimer <fweimer@redhat.com>
3326
3327 malloc: Rewrite with explicit TLS access using __thread.
3328 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
3329 (tsd_setspecific, tsd_getspecific): Remove.
3330 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
3331 (tsd_setspecific, tsd_getspecific): Likewise.
3332 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
3333 (tsd_setspecific, tsd_getspecific): Likewise.
3334 * malloc/arena.c (thread_arena): New TLS variable.
3335 (arena_key): Remove variable.
3336 (arena_get): Use thread_arena.
3337 (arena_lookup): Remove macro.
3338 (malloc_atfork, free_atfork, ptmalloc_lock_all)
3339 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
3340 (_int_new_arena, get_free_list, reused_arena)
3341 (arena_thread_freeres): Use thread_arena.
3342 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
3343 tsd_getspecific, tsd_setspecific from safety annotations.
3344 (Allocating Cleared Space): Remove arena_lookup from safety
3345 annotations.
3346
3347 2015-10-17 Florian Weimer <fweimer@redhat.com>
3348
3349 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
3350 struct scratch_buffer instead of extend_alloca.
3351
3352 2015-10-17 Florian Weimer <fweimer@redhat.com>
3353
3354 * sysdeps/unix/sysv/linux/kernel-features.h
3355 (__ASSUME_SOCK_CLOEXEC): Remove.
3356 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
3357 (__have_paccept): Remove unused macro.
3358 * include/unistd.h (__have_sock_cloexec): Remove declaration.
3359 * misc/syslog.c (openlog_internal): Remove fallback code for
3360 !__ASSUME_SOCK_CLOEXEC.
3361 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
3362 missing SOCK_CLOEXEC.
3363 * nscd/connections.c (have_sock_cloexec): Remove definition.
3364 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3365 * nscd/nscd_helper.c (open_socket): Remove fallback code for
3366 !__ASSUME_SOCK_CLOEXEC.
3367 * resolv/res_send.c (__have_o_nonblock): Remove definition.
3368 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3369 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
3370 definition.
3371 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
3372 code for !__ASSUME_SOCK_CLOEXEC.
3373
3374 2015-10-17 Florian Weimer <fweimer@redhat.com>
3375
3376 [BZ #18982]
3377 * manual/stdio.texi (Variable Arguments Output): Add portability
3378 note, explaining that vfprintf clobbers the va_list pointer.
3379
3380 2015-10-16 Joseph Myers <joseph@codesourcery.com>
3381
3382 * math/libm-test.inc (fabs_test_data): Add more tests.
3383 (fdim_test_data): Likewise.
3384 (fma_test_data): Likewise.
3385 (fmax_test_data): Likewise.
3386 (fmin_test_data): Likewise.
3387 (fmod_test_data): Likewise.
3388
3389 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
3390
3391 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
3392 data.
3393
3394 2015-10-16 Joseph Myers <joseph@codesourcery.com>
3395
3396 * math/libm-test.inc (ceil_test_data): Add more tests and more
3397 expectations for "inexact".
3398 (floor_test_data): Add more tests.
3399 (round_test_data): Likewise.
3400 (trunc_test_data): Likewise.
3401
3402 * crypt/cert.c (good_bye): Convert to prototype-style function
3403 definition.
3404 (get8): Likewise.
3405 (put8): Likewise.
3406 * crypt/crypt-entry.c (crypt): Likewise.
3407 (__fcrypt): Likewise.
3408 * crypt/crypt_util.c (_ufc_prbits): Likewise.
3409 (_ufc_set_bits): Likewise.
3410 (_ufc_clearmem): Likewise.
3411 (__init_des_r): Likewise.
3412 (shuffle_sb): Likewise.
3413 (shuffle_sb): Likewise.
3414 (_ufc_setup_salt_r): Likewise.
3415 (_ufc_mk_keytab_r): Likewise.
3416 (_ufc_dofinalperm_r): Likewise.
3417 (encrypt): Likewise.
3418 (__setkey_r): Likewise.
3419 (setkey): Likewise.
3420 * crypt/md5.c (md5_init_ctx): Likewise.
3421 (md5_read_ctx): Likewise.
3422 (md5_finish_ctx): Likewise.
3423 (md5_stream): Likewise.
3424 (md5_buffer): Likewise.
3425 (md5_process_bytes): Likewise.
3426 * crypt/sha256.c (__sha256_init_ctx): Likewise.
3427 (__sha256_finish_ctx): Likewise.
3428 (__sha256_process_bytes): Likewise.
3429 * crypt/sha512.c (__sha512_init_ctx): Likewise.
3430 (__sha512_finish_ctx): Likewise.
3431 (__sha512_process_bytes): Likewise.
3432 * ctype/isctype.c (__isctype): Likewise.
3433 * debug/backtrace.c (__backtrace): Likewise.
3434 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
3435 * debug/fgets_chk.c (__fgets_chk): Likewise.
3436 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
3437 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
3438 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3439 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3440 * debug/memset_chk.c (__memset_chk): Likewise.
3441 * debug/strcat_chk.c (__strcat_chk): Likewise.
3442 * debug/strncat_chk.c (__strncat_chk): Likewise.
3443 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
3444 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
3445 * dirent/dirfd.c (dirfd): Likewise.
3446 * dirent/getdents.c (__getdirentries): Likewise.
3447 * dirent/getdents64.c (getdirentries64): Likewise.
3448 * dirent/rewinddir.c (__rewinddir): Likewise.
3449 * dirent/seekdir.c (seekdir): Likewise.
3450 * dirent/telldir.c (telldir): Likewise.
3451 * elf/sln.c (makesymlinks): Likewise.
3452 (makesymlink): Likewise.
3453 * gmon/gmon.c (__moncontrol): Likewise.
3454 (__monstartup): Likewise.
3455 (write_hist): Likewise.
3456 (write_call_graph): Likewise.
3457 (write_bb_counts): Likewise.
3458 * grp/setgroups.c (setgroups): Likewise.
3459 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3460 * inet/inet_net.c (inet_network): Likewise.
3461 * inet/inet_netof.c (inet_netof): Likewise.
3462 * inet/rcmd.c (rresvport_af): Likewise.
3463 (rresvport): Likewise.
3464 * io/access.c (__access): Likewise.
3465 * io/chdir.c (__chdir): Likewise.
3466 * io/chmod.c (__chmod): Likewise.
3467 * io/chown.c (__chown): Likewise.
3468 * io/close.c (__close): Likewise.
3469 * io/creat.c (creat): Likewise.
3470 * io/creat64.c (creat64): Likewise.
3471 * io/dup.c (__dup): Likewise.
3472 * io/dup2.c (__dup2): Likewise.
3473 * io/dup3.c (__dup3): Likewise.
3474 * io/euidaccess.c (__euidaccess): Likewise.
3475 * io/faccessat.c (faccessat): Likewise.
3476 * io/fchmod.c (__fchmod): Likewise.
3477 * io/fchmodat.c (fchmodat): Likewise.
3478 * io/fchown.c (__fchown): Likewise.
3479 * io/fchownat.c (fchownat): Likewise.
3480 * io/fcntl.c (__fcntl): Likewise.
3481 * io/flock.c (__flock): Likewise.
3482 * io/fts.c (fts_load): Likewise.
3483 (fts_close): Likewise.
3484 (fts_read): Likewise.
3485 (fts_set): Likewise.
3486 (fts_children): Likewise.
3487 (fts_build): Likewise.
3488 (fts_stat): Likewise.
3489 (fts_sort): Likewise.
3490 (fts_alloc): Likewise.
3491 (fts_lfree): Likewise.
3492 (fts_palloc): Likewise.
3493 (fts_padjust): Likewise.
3494 (fts_maxarglen): Likewise.
3495 (fts_safe_changedir): Likewise.
3496 * io/getwd.c (getwd): Likewise.
3497 * io/isatty.c (__isatty): Likewise.
3498 * io/lchown.c (__lchown): Likewise.
3499 * io/link.c (__link): Likewise.
3500 * io/linkat.c (linkat): Likewise.
3501 * io/lseek.c (__libc_lseek): Likewise.
3502 * io/mkdir.c (__mkdir): Likewise.
3503 * io/mkdirat.c (mkdirat): Likewise.
3504 * io/mkfifo.c (mkfifo): Likewise.
3505 * io/mkfifoat.c (mkfifoat): Likewise.
3506 * io/open.c (__libc_open): Likewise.
3507 * io/open64.c (__libc_open64): Likewise.
3508 * io/readlink.c (__readlink): Likewise.
3509 * io/readlinkat.c (readlinkat): Likewise.
3510 * io/rmdir.c (__rmdir): Likewise.
3511 * io/symlink.c (__symlink): Likewise.
3512 * io/symlinkat.c (symlinkat): Likewise.
3513 * io/ttyname.c (ttyname): Likewise.
3514 * io/ttyname_r.c (__ttyname_r): Likewise.
3515 * io/umask.c (__umask): Likewise.
3516 * io/unlink.c (__unlink): Likewise.
3517 * io/unlinkat.c (unlinkat): Likewise.
3518 * io/utime.c (utime): Likewise.
3519 * libio/clearerr.c (clearerr): Likewise.
3520 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
3521 * libio/feof.c (_IO_feof): Likewise.
3522 * libio/feof_u.c (feof_unlocked): Likewise.
3523 * libio/ferror.c (_IO_ferror): Likewise.
3524 * libio/ferror_u.c (ferror_unlocked): Likewise.
3525 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3526 * libio/fileno.c (__fileno): Likewise.
3527 * libio/fputc.c (fputc): Likewise.
3528 * libio/fputc_u.c (fputc_unlocked): Likewise.
3529 * libio/fputwc.c (fputwc): Likewise.
3530 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
3531 * libio/freopen.c (freopen): Likewise.
3532 * libio/freopen64.c (freopen64): Likewise.
3533 * libio/fseek.c (fseek): Likewise.
3534 * libio/fseeko.c (fseeko): Likewise.
3535 * libio/fseeko64.c (fseeko64): Likewise.
3536 * libio/ftello.c (__ftello): Likewise.
3537 * libio/ftello64.c (ftello64): Likewise.
3538 * libio/fwide.c (fwide): Likewise.
3539 * libio/genops.c (_IO_un_link): Likewise.
3540 (_IO_link_in): Likewise.
3541 (_IO_least_marker): Likewise.
3542 (_IO_switch_to_main_get_area): Likewise.
3543 (_IO_switch_to_backup_area): Likewise.
3544 (_IO_switch_to_get_mode): Likewise.
3545 (_IO_free_backup_area): Likewise.
3546 (_IO_switch_to_put_mode): Likewise.
3547 (__overflow): Likewise.
3548 (__underflow): Likewise.
3549 (__uflow): Likewise.
3550 (_IO_setb): Likewise.
3551 (_IO_doallocbuf): Likewise.
3552 (_IO_default_underflow): Likewise.
3553 (_IO_default_uflow): Likewise.
3554 (_IO_default_xsputn): Likewise.
3555 (_IO_sgetn): Likewise.
3556 (_IO_default_xsgetn): Likewise.
3557 (_IO_sync): Likewise.
3558 (_IO_default_setbuf): Likewise.
3559 (_IO_default_seekpos): Likewise.
3560 (_IO_default_doallocate): Likewise.
3561 (_IO_init): Likewise.
3562 (_IO_old_init): Likewise.
3563 (_IO_default_sync): Likewise.
3564 (_IO_default_finish): Likewise.
3565 (_IO_default_seekoff): Likewise.
3566 (_IO_sputbackc): Likewise.
3567 (_IO_sungetc): Likewise.
3568 (_IO_set_column): Likewise.
3569 (_IO_set_column): Likewise.
3570 (_IO_adjust_column): Likewise.
3571 (_IO_get_column): Likewise.
3572 (_IO_init_marker): Likewise.
3573 (_IO_remove_marker): Likewise.
3574 (_IO_marker_difference): Likewise.
3575 (_IO_marker_delta): Likewise.
3576 (_IO_seekmark): Likewise.
3577 (_IO_unsave_markers): Likewise.
3578 (_IO_nobackup_pbackfail): Likewise.
3579 (_IO_default_pbackfail): Likewise.
3580 (_IO_default_seek): Likewise.
3581 (_IO_default_stat): Likewise.
3582 (_IO_default_read): Likewise.
3583 (_IO_default_write): Likewise.
3584 (_IO_default_showmanyc): Likewise.
3585 (_IO_default_imbue): Likewise.
3586 (_IO_iter_next): Likewise.
3587 (_IO_iter_file): Likewise.
3588 * libio/getc.c (_IO_getc): Likewise.
3589 * libio/getwc.c (_IO_getwc): Likewise.
3590 * libio/iofclose.c (_IO_new_fclose): Likewise.
3591 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
3592 * libio/iofflush.c (_IO_fflush): Likewise.
3593 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
3594 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
3595 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
3596 * libio/iofgets.c (_IO_fgets): Likewise.
3597 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
3598 * libio/iofgetws.c (fgetws): Likewise.
3599 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3600 * libio/iofopen64.c (_IO_fopen64): Likewise.
3601 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3602 (_IO_cookie_write): Likewise.
3603 (_IO_cookie_seek): Likewise.
3604 (_IO_cookie_close): Likewise.
3605 (_IO_cookie_seekoff): Likewise.
3606 (_IO_old_cookie_seek): Likewise.
3607 * libio/iofputs.c (_IO_fputs): Likewise.
3608 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
3609 * libio/iofputws.c (fputws): Likewise.
3610 * libio/iofputws_u.c (fputws_unlocked): Likewise.
3611 * libio/iofread.c (_IO_fread): Likewise.
3612 * libio/iofread_u.c (__fread_unlocked): Likewise.
3613 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3614 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
3615 * libio/ioftell.c (_IO_ftell): Likewise.
3616 * libio/iofwrite.c (_IO_fwrite): Likewise.
3617 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3618 * libio/iogets.c (_IO_gets): Likewise.
3619 * libio/iopadn.c (_IO_padn): Likewise.
3620 * libio/iopopen.c (_IO_new_proc_open): Likewise.
3621 (_IO_new_popen): Likewise.
3622 (_IO_new_proc_close): Likewise.
3623 * libio/ioputs.c (_IO_puts): Likewise.
3624 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
3625 (_IO_seekoff): Likewise.
3626 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
3627 (_IO_seekpos): Likewise.
3628 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
3629 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
3630 * libio/ioungetc.c (_IO_ungetc): Likewise.
3631 * libio/ioungetwc.c (ungetwc): Likewise.
3632 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3633 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
3634 * libio/iowpadn.c (_IO_wpadn): Likewise.
3635 * libio/libc_fatal.c (__libc_fatal): Likewise.
3636 * libio/memstream.c (__open_memstream): Likewise.
3637 (_IO_mem_sync): Likewise.
3638 (_IO_mem_finish): Likewise.
3639 * libio/oldfileops.c (_IO_old_file_init): Likewise.
3640 (_IO_old_file_close_it): Likewise.
3641 (_IO_old_file_finish): Likewise.
3642 (_IO_old_file_fopen): Likewise.
3643 (_IO_old_file_attach): Likewise.
3644 (_IO_old_file_setbuf): Likewise.
3645 (_IO_old_do_write): Likewise.
3646 (old_do_write): Likewise.
3647 (_IO_old_file_underflow): Likewise.
3648 (_IO_old_file_overflow): Likewise.
3649 (_IO_old_file_sync): Likewise.
3650 (_IO_old_file_seekoff): Likewise.
3651 (_IO_old_file_write): Likewise.
3652 (_IO_old_file_xsputn): Likewise.
3653 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3654 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3655 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
3656 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
3657 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3658 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
3659 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
3660 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
3661 (_IO_old_popen): Likewise.
3662 (_IO_old_proc_close): Likewise.
3663 * libio/oldpclose.c (__old_pclose): Likewise.
3664 * libio/pclose.c (__new_pclose): Likewise.
3665 * libio/peekc.c (_IO_peekc_locked): Likewise.
3666 * libio/putc.c (_IO_putc): Likewise.
3667 * libio/putc_u.c (putc_unlocked): Likewise.
3668 * libio/putchar.c (putchar): Likewise.
3669 * libio/putchar_u.c (putchar_unlocked): Likewise.
3670 * libio/putwc.c (putwc): Likewise.
3671 * libio/putwc_u.c (putwc_unlocked): Likewise.
3672 * libio/putwchar.c (putwchar): Likewise.
3673 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3674 * libio/rewind.c (rewind): Likewise.
3675 * libio/setbuf.c (setbuf): Likewise.
3676 * libio/setlinebuf.c (setlinebuf): Likewise.
3677 * libio/vasprintf.c (_IO_vasprintf): Likewise.
3678 * libio/vscanf.c (_IO_vscanf): Likewise.
3679 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
3680 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
3681 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3682 * libio/wgenops.c (_IO_least_wmarker): Likewise.
3683 (_IO_switch_to_main_wget_area): Likewise.
3684 (_IO_switch_to_wbackup_area): Likewise.
3685 (_IO_wsetb): Likewise.
3686 (_IO_wdefault_pbackfail): Likewise.
3687 (_IO_wdefault_finish): Likewise.
3688 (_IO_wdefault_uflow): Likewise.
3689 (__woverflow): Likewise.
3690 (__wuflow): Likewise.
3691 (__wunderflow): Likewise.
3692 (_IO_wdefault_xsputn): Likewise.
3693 (_IO_wdefault_xsgetn): Likewise.
3694 (_IO_wdoallocbuf): Likewise.
3695 (_IO_wdefault_doallocate): Likewise.
3696 (_IO_switch_to_wget_mode): Likewise.
3697 (_IO_free_wbackup_area): Likewise.
3698 (_IO_switch_to_wput_mode): Likewise.
3699 (_IO_sputbackwc): Likewise.
3700 (_IO_sungetwc): Likewise.
3701 (_IO_adjust_wcolumn): Likewise.
3702 (_IO_init_wmarker): Likewise.
3703 (_IO_wmarker_delta): Likewise.
3704 (_IO_seekwmark): Likewise.
3705 (_IO_unsave_wmarkers): Likewise.
3706 * libio/wmemstream.c (open_wmemstream): Likewise.
3707 (_IO_wmem_sync): Likewise.
3708 (_IO_wmem_finish): Likewise.
3709 * locale/nl_langinfo.c (nl_langinfo): Likewise.
3710 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
3711 * locale/programs/simple-hash.c (init_hash): Likewise.
3712 (delete_hash): Likewise.
3713 (insert_entry): Likewise.
3714 (set_entry): Likewise.
3715 (next_prime): Likewise.
3716 (is_prime): Likewise.
3717 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
3718 (xmalloc): Likewise.
3719 (xrealloc): Likewise.
3720 * locale/programs/xstrdup.c (xstrdup): Likewise.
3721 * localedata/collate-test.c (xstrcoll): Likewise.
3722 * localedata/xfrm-test.c (xstrcmp): Likewise.
3723 * login/getlogin_r.c (__getlogin_r): Likewise.
3724 * login/getpt.c (__posix_openpt): Likewise.
3725 * login/login_tty.c (login_tty): Likewise.
3726 * login/setlogin.c (setlogin): Likewise.
3727 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
3728 (mach_msg_destroy_port): Likewise.
3729 (mach_msg_destroy_memory): Likewise.
3730 * malloc/mcheck.c (flood): Likewise.
3731 * misc/acct.c (acct): Likewise.
3732 * misc/brk.c (__brk): Likewise.
3733 * misc/chflags.c (chflags): Likewise.
3734 * misc/chroot.c (chroot): Likewise.
3735 * misc/fchflags.c (fchflags): Likewise.
3736 * misc/fstab.c (getfsspec): Likewise.
3737 (getfsfile): Likewise.
3738 * misc/fsync.c (fsync): Likewise.
3739 * misc/ftruncate.c (__ftruncate): Likewise.
3740 * misc/ftruncate64.c (__ftruncate64): Likewise.
3741 * misc/getdomain.c (getdomainname): Likewise.
3742 (getdomainname): Likewise.
3743 * misc/gethostname.c (__gethostname): Likewise.
3744 * misc/getpass.c (getpass): Likewise.
3745 * misc/getttyent.c (skip): Likewise.
3746 (value): Likewise.
3747 * misc/gtty.c (gtty): Likewise.
3748 * misc/hsearch.c (hsearch): Likewise.
3749 (hcreate): Likewise.
3750 * misc/hsearch_r.c (__hcreate_r): Likewise.
3751 (__hdestroy_r): Likewise.
3752 * misc/ioctl.c (__ioctl): Likewise.
3753 * misc/mkdtemp.c (mkdtemp): Likewise.
3754 * misc/mkostemp.c (mkostemp): Likewise.
3755 * misc/mkostemp64.c (mkostemp64): Likewise.
3756 * misc/mkostemps.c (mkostemps): Likewise.
3757 * misc/mkostemps64.c (mkostemps64): Likewise.
3758 * misc/mkstemp.c (mkstemp): Likewise.
3759 * misc/mkstemp64.c (mkstemp64): Likewise.
3760 * misc/mkstemps.c (mkstemps): Likewise.
3761 * misc/mkstemps64.c (mkstemps64): Likewise.
3762 * misc/mktemp.c (__mktemp): Likewise.
3763 * misc/preadv.c (preadv): Likewise.
3764 * misc/preadv64.c (preadv64): Likewise.
3765 * misc/pwritev.c (pwritev): Likewise.
3766 * misc/pwritev64.c (pwritev64): Likewise.
3767 * misc/readv.c (__readv): Likewise.
3768 * misc/revoke.c (revoke): Likewise.
3769 * misc/setdomain.c (setdomainname): Likewise.
3770 * misc/setegid.c (setegid): Likewise.
3771 * misc/seteuid.c (seteuid): Likewise.
3772 * misc/sethostid.c (sethostid): Likewise.
3773 * misc/sethostname.c (sethostname): Likewise.
3774 * misc/setregid.c (__setregid): Likewise.
3775 * misc/setreuid.c (__setreuid): Likewise.
3776 * misc/sstk.c (sstk): Likewise.
3777 * misc/stty.c (stty): Likewise.
3778 * misc/syscall.c (syscall): Likewise.
3779 * misc/syslog.c (setlogmask): Likewise.
3780 * misc/truncate.c (__truncate): Likewise.
3781 * misc/truncate64.c (truncate64): Likewise.
3782 * misc/ualarm.c (ualarm): Likewise.
3783 * misc/usleep.c (usleep): Likewise.
3784 * misc/ustat.c (ustat): Likewise.
3785 * misc/writev.c (__writev): Likewise.
3786 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
3787 * nptl/old_pthread_cond_broadcast.c
3788 (__pthread_cond_broadcast_2_0): Likewise.
3789 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
3790 Likewise.
3791 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
3792 Likewise.
3793 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
3794 Likewise.
3795 * nptl/pt-raise.c (raise): Likewise.
3796 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
3797 Likewise.
3798 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
3799 * nptl/pthread_barrierattr_destroy.c
3800 (pthread_barrierattr_destroy): Likewise.
3801 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
3802 Likewise.
3803 * nptl/pthread_barrierattr_setpshared.c
3804 (pthread_barrierattr_setpshared): Likewise.
3805 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3806 Likewise.
3807 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
3808 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
3809 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
3810 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
3811 Likewise.
3812 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
3813 Likewise.
3814 * nptl/pthread_condattr_getpshared.c
3815 (pthread_condattr_getpshared): Likewise.
3816 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
3817 Likewise.
3818 * nptl/pthread_condattr_setpshared.c
3819 (pthread_condattr_setpshared): Likewise.
3820 * nptl/pthread_detach.c (pthread_detach): Likewise.
3821 * nptl/pthread_equal.c (__pthread_equal): Likewise.
3822 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
3823 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
3824 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
3825 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
3826 Likewise.
3827 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
3828 Likewise.
3829 * nptl/pthread_mutex_getprioceiling.c
3830 (pthread_mutex_getprioceiling): Likewise.
3831 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
3832 Likewise.
3833 * nptl/pthread_mutexattr_getprotocol.c
3834 (pthread_mutexattr_getprotocol): Likewise.
3835 * nptl/pthread_mutexattr_getpshared.c
3836 (pthread_mutexattr_getpshared): Likewise.
3837 * nptl/pthread_mutexattr_getrobust.c
3838 (pthread_mutexattr_getrobust): Likewise.
3839 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3840 Likewise.
3841 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
3842 Likewise.
3843 * nptl/pthread_mutexattr_setprioceiling.c
3844 (pthread_mutexattr_setprioceiling): Likewise.
3845 * nptl/pthread_mutexattr_setprotocol.c
3846 (pthread_mutexattr_setprotocol): Likewise.
3847 * nptl/pthread_mutexattr_setpshared.c
3848 (pthread_mutexattr_setpshared): Likewise.
3849 * nptl/pthread_mutexattr_setrobust.c
3850 (pthread_mutexattr_setrobust): Likewise.
3851 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
3852 Likewise.
3853 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
3854 Likewise.
3855 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
3856 Likewise.
3857 * nptl/pthread_rwlockattr_getkind_np.c
3858 (pthread_rwlockattr_getkind_np): Likewise.
3859 * nptl/pthread_rwlockattr_getpshared.c
3860 (pthread_rwlockattr_getpshared): Likewise.
3861 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
3862 Likewise.
3863 * nptl/pthread_rwlockattr_setkind_np.c
3864 (pthread_rwlockattr_setkind_np): Likewise.
3865 * nptl/pthread_rwlockattr_setpshared.c
3866 (pthread_rwlockattr_setpshared): Likewise.
3867 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
3868 Likewise.
3869 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
3870 Likewise.
3871 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
3872 Likewise.
3873 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
3874 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
3875 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
3876 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
3877 * nptl/sem_close.c (sem_close): Likewise.
3878 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
3879 * nptl/sem_init.c (__old_sem_init): Likewise.
3880 * nptl/sigaction.c (__sigaction): Likewise.
3881 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3882 * posix/_exit.c (_exit): Likewise.
3883 * posix/alarm.c (alarm): Likewise.
3884 * posix/confstr.c (confstr): Likewise.
3885 * posix/fpathconf.c (__fpathconf): Likewise.
3886 * posix/getgroups.c (__getgroups): Likewise.
3887 * posix/getpgid.c (__getpgid): Likewise.
3888 * posix/group_member.c (__group_member): Likewise.
3889 * posix/pathconf.c (__pathconf): Likewise.
3890 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
3891 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
3892 * posix/setgid.c (__setgid): Likewise.
3893 * posix/setpgid.c (__setpgid): Likewise.
3894 * posix/setuid.c (__setuid): Likewise.
3895 * posix/sleep.c (__sleep): Likewise.
3896 * posix/sysconf.c (__sysconf): Likewise.
3897 * posix/times.c (__times): Likewise.
3898 * posix/uname.c (__uname): Likewise.
3899 * posix/waitid.c (__waitid): Likewise.
3900 * pwd/getpw.c (__getpw): Likewise.
3901 * resolv/base64.c (b64_pton): Likewise.
3902 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
3903 * resolv/gethnamaddr.c (Dprintf): Likewise.
3904 (gethostbyname): Likewise.
3905 (gethostbyname2): Likewise.
3906 (gethostbyaddr): Likewise.
3907 (_sethtent): Likewise.
3908 (_gethtbyname): Likewise.
3909 (_gethtbyname2): Likewise.
3910 (_gethtbyaddr): Likewise.
3911 (map_v4v6_address): Likewise.
3912 (map_v4v6_hostent): Likewise.
3913 (addrsort): Likewise.
3914 (ht_sethostent): Likewise.
3915 (ht_gethostbyname): Likewise.
3916 (ht_gethostbyaddr): Likewise.
3917 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
3918 (inet_net_ntop_ipv4): Likewise.
3919 * resolv/inet_neta.c (inet_neta): Likewise.
3920 * resolv/inet_ntop.c (inet_ntop): Likewise.
3921 (inet_ntop4): Likewise.
3922 (inet_ntop6): Likewise.
3923 * resolv/inet_pton.c (__inet_pton): Likewise.
3924 (inet_pton4): Likewise.
3925 (inet_pton6): Likewise.
3926 * resolv/res_debug.c (loc_aton): Likewise.
3927 (loc_ntoa): Likewise.
3928 * resource/getpriority.c (__getpriority): Likewise.
3929 * resource/getrusage.c (__getrusage): Likewise.
3930 * resource/nice.c (nice): Likewise.
3931 * resource/setpriority.c (__setpriority): Likewise.
3932 * resource/setrlimit64.c (setrlimit64): Likewise.
3933 * resource/vlimit.c (vlimit): Likewise.
3934 * resource/vtimes.c (vtimes): Likewise.
3935 * rt/aio_error.c (aio_error): Likewise.
3936 * rt/aio_return.c (aio_return): Likewise.
3937 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
3938 * signal/kill.c (__kill): Likewise.
3939 * signal/killpg.c (killpg): Likewise.
3940 * signal/raise.c (raise): Likewise.
3941 * signal/sigaction.c (__sigaction): Likewise.
3942 * signal/sigaddset.c (sigaddset): Likewise.
3943 * signal/sigaltstack.c (sigaltstack): Likewise.
3944 * signal/sigandset.c (sigandset): Likewise.
3945 * signal/sigblock.c (__sigblock): Likewise.
3946 * signal/sigdelset.c (sigdelset): Likewise.
3947 * signal/sigempty.c (sigemptyset): Likewise.
3948 * signal/sigfillset.c (sigfillset): Likewise.
3949 * signal/sighold.c (sighold): Likewise.
3950 * signal/sigignore.c (sigignore): Likewise.
3951 * signal/sigintr.c (siginterrupt): Likewise.
3952 * signal/sigisempty.c (sigisemptyset): Likewise.
3953 * signal/sigismem.c (sigismember): Likewise.
3954 * signal/signal.c (signal): Likewise.
3955 * signal/sigorset.c (sigorset): Likewise.
3956 * signal/sigpause.c (__sigpause): Likewise.
3957 * signal/sigpending.c (sigpending): Likewise.
3958 * signal/sigprocmask.c (__sigprocmask): Likewise.
3959 * signal/sigrelse.c (sigrelse): Likewise.
3960 * signal/sigreturn.c (__sigreturn): Likewise.
3961 * signal/sigset.c (sigset): Likewise.
3962 * signal/sigsetmask.c (__sigsetmask): Likewise.
3963 * signal/sigstack.c (sigstack): Likewise.
3964 * signal/sigsuspend.c (__sigsuspend): Likewise.
3965 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
3966 * signal/sysv_signal.c (__sysv_signal): Likewise.
3967 * socket/accept.c (accept): Likewise.
3968 * socket/accept4.c (__libc_accept4): Likewise.
3969 * socket/bind.c (__bind): Likewise.
3970 * socket/connect.c (__connect): Likewise.
3971 * socket/getpeername.c (getpeername): Likewise.
3972 * socket/getsockname.c (__getsockname): Likewise.
3973 * socket/getsockopt.c (getsockopt): Likewise.
3974 * socket/listen.c (__listen): Likewise.
3975 * socket/recv.c (__recv): Likewise.
3976 * socket/recvmsg.c (__recvmsg): Likewise.
3977 * socket/send.c (__send): Likewise.
3978 * socket/sendmsg.c (__sendmsg): Likewise.
3979 * socket/shutdown.c (shutdown): Likewise.
3980 * socket/sockatmark.c (sockatmark): Likewise.
3981 * socket/socket.c (__socket): Likewise.
3982 * stdio-common/ctermid.c (ctermid): Likewise.
3983 * stdio-common/cuserid.c (cuserid): Likewise.
3984 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
3985 * stdio-common/remove.c (remove): Likewise.
3986 * stdio-common/rename.c (rename): Likewise.
3987 * stdio-common/renameat.c (renameat): Likewise.
3988 * stdio-common/tempname.c (__gen_tempname): Likewise.
3989 * stdio-common/xbug.c (InitBuffer): Likewise.
3990 (AppendToBuffer): Likewise.
3991 (ReadFile): Likewise.
3992 * stdlib/a64l.c (a64l): Likewise.
3993 * stdlib/drand48_r.c (drand48_r): Likewise.
3994 * stdlib/getcontext.c (getcontext): Likewise.
3995 * stdlib/getenv.c (getenv): Likewise.
3996 * stdlib/l64a.c (l64a): Likewise.
3997 * stdlib/llabs.c (llabs): Likewise.
3998 * stdlib/lldiv.c (lldiv): Likewise.
3999 * stdlib/lrand48_r.c (lrand48_r): Likewise.
4000 * stdlib/mrand48_r.c (mrand48_r): Likewise.
4001 * stdlib/putenv.c (putenv): Likewise.
4002 * stdlib/random.c (__srandom): Likewise.
4003 (__initstate): Likewise.
4004 (__setstate): Likewise.
4005 * stdlib/random_r.c (__srandom_r): Likewise.
4006 (__setstate_r): Likewise.
4007 (__random_r): Likewise.
4008 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
4009 * stdlib/setcontext.c (setcontext): Likewise.
4010 * stdlib/setenv.c (setenv): Likewise.
4011 (unsetenv): Likewise.
4012 * stdlib/srand48.c (srand48): Likewise.
4013 * stdlib/srand48_r.c (__srand48_r): Likewise.
4014 * stdlib/swapcontext.c (swapcontext): Likewise.
4015 * stdlib/system.c (__libc_system): Likewise.
4016 * stdlib/tst-strtod.c (expand): Likewise.
4017 * stdlib/tst-strtol.c (expand): Likewise.
4018 * stdlib/tst-strtoll.c (expand): Likewise.
4019 * streams/fattach.c (fattach): Likewise.
4020 * streams/fdetach.c (fdetach): Likewise.
4021 * streams/getmsg.c (getmsg): Likewise.
4022 * streams/isastream.c (isastream): Likewise.
4023 * string/ffs.c (__ffs): Likewise.
4024 * string/ffsll.c (ffsll): Likewise.
4025 * string/memcmp.c (memcmp_common_alignment): Likewise.
4026 (memcmp_not_common_alignment): Likewise.
4027 (MEMCMP): Likewise.
4028 * string/memcpy.c (memcpy): Likewise.
4029 * string/memmove.c (MEMMOVE): Likewise.
4030 * string/memset.c (memset): Likewise.
4031 * string/rawmemchr.c (RAWMEMCHR): Likewise.
4032 * string/strchrnul.c (STRCHRNUL): Likewise.
4033 * string/strerror.c (strerror): Likewise.
4034 * string/strndup.c (__strndup): Likewise.
4035 * string/strverscmp.c (__strverscmp): Likewise.
4036 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
4037 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
4038 (clnttcp_freeres): Likewise.
4039 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
4040 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
4041 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
4042 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
4043 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
4044 (xdr_callhdr): Likewise.
4045 * sunrpc/rpcinfo.c (udpping): Likewise.
4046 (tcpping): Likewise.
4047 (pstatus): Likewise.
4048 (pmapdump): Likewise.
4049 (brdcst): Likewise.
4050 (deletereg): Likewise.
4051 (getprognum): Likewise.
4052 (getvers): Likewise.
4053 (get_inet_address): Likewise.
4054 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
4055 * sunrpc/svc_udp.c (svcudp_create): Likewise.
4056 (svcudp_stat): Likewise.
4057 (svcudp_recv): Likewise.
4058 (svcudp_reply): Likewise.
4059 (svcudp_getargs): Likewise.
4060 (svcudp_freeargs): Likewise.
4061 (svcudp_destroy): Likewise.
4062 * sunrpc/xdr.c (xdr_bytes): Likewise.
4063 (xdr_netobj): Likewise.
4064 (xdr_string): Likewise.
4065 (xdr_wrapstring): Likewise.
4066 * sunrpc/xdr_float.c (xdr_float): Likewise.
4067 (xdr_double): Likewise.
4068 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
4069 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
4070 * sysvipc/ftok.c (ftok): Likewise.
4071 * sysvipc/msgctl.c (msgctl): Likewise.
4072 * sysvipc/msgget.c (msgget): Likewise.
4073 * sysvipc/msgrcv.c (msgrcv): Likewise.
4074 * sysvipc/msgsnd.c (msgsnd): Likewise.
4075 * sysvipc/semget.c (semget): Likewise.
4076 * sysvipc/semop.c (semop): Likewise.
4077 * sysvipc/shmat.c (shmat): Likewise.
4078 * sysvipc/shmctl.c (shmctl): Likewise.
4079 * sysvipc/shmdt.c (shmdt): Likewise.
4080 * sysvipc/shmget.c (shmget): Likewise.
4081 * termios/cfmakeraw.c (cfmakeraw): Likewise.
4082 * termios/speed.c (cfgetospeed): Likewise.
4083 (cfgetispeed): Likewise.
4084 (cfsetospeed): Likewise.
4085 (cfsetispeed): Likewise.
4086 * termios/tcflow.c (tcflow): Likewise.
4087 * termios/tcflush.c (tcflush): Likewise.
4088 * termios/tcgetattr.c (__tcgetattr): Likewise.
4089 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
4090 * termios/tcgetsid.c (tcgetsid): Likewise.
4091 * termios/tcsendbrk.c (tcsendbreak): Likewise.
4092 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
4093 * time/adjtime.c (__adjtime): Likewise.
4094 * time/dysize.c (dysize): Likewise.
4095 * time/ftime.c (ftime): Likewise.
4096 * time/getitimer.c (__getitimer): Likewise.
4097 * time/gettimeofday.c (__gettimeofday): Likewise.
4098 * time/gmtime.c (__gmtime_r): Likewise.
4099 (gmtime): Likewise.
4100 * time/localtime.c (__localtime_r): Likewise.
4101 (localtime): Likewise.
4102 * time/offtime.c (__offtime): Likewise.
4103 * time/settimeofday.c (__settimeofday): Likewise.
4104 * time/stime.c (stime): Likewise.
4105 * time/strftime_l.c (tm_diff): Likewise.
4106 (iso_week_days): Likewise.
4107 * time/strptime.c (strptime): Likewise.
4108 * time/time.c (time): Likewise.
4109 * time/timespec_get.c (timespec_get): Likewise.
4110 * time/tzset.c (tzset_internal): Likewise.
4111 (compute_change): Likewise.
4112 (__tz_compute): Likewise.
4113 * wcsmbs/btowc.c (__btowc): Likewise.
4114 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
4115 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
4116 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
4117 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
4118 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
4119 * wcsmbs/wcscat.c (__wcscat): Likewise.
4120 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4121 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
4122 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
4123 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4124 * wcsmbs/wcsdup.c (wcsdup): Likewise.
4125 * wcsmbs/wcslen.c (__wcslen): Likewise.
4126 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
4127 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
4128 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
4129 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
4130 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4131 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
4132 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4133 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4134 * wcsmbs/wcstok.c (wcstok): Likewise.
4135 * wcsmbs/wctob.c (wctob): Likewise.
4136 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
4137 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4138 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
4139 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
4140 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
4141 * wcsmbs/wmemset.c (__wmemset): Likewise.
4142 * wctype/wcfuncs.c (__towlower): Likewise.
4143 (__towupper): Likewise.
4144
4145 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
4146 (lll_unlock_elision): Add adapt_count parameter.
4147
4148 2015-10-15 Joseph Myers <joseph@codesourcery.com>
4149
4150 * sysdeps/nptl/configure.ac: Do not give errors based on the
4151 results of top-level configure tests.
4152 * sysdeps/nptl/configure: Regenerated.
4153
4154 * configure.ac (libc_cv_Bgroup): Remove configure test.
4155 * configure: Regenerated.
4156 * config.make.in (have-Bgroup): Remove variable.
4157
4158 * configure.ac (sizeof_long_double): Remove configure test.
4159 * configure: Regenerated.
4160 * config.make.in (sizeof-long-double): Remove variable.
4161
4162 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
4163 * configure: Regenerated.
4164 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
4165 variable.
4166 (exceptions): Likewise.
4167 * sysdeps/arm/configure: Regenerated.
4168 * config.make.in (exceptions): Remove variable.
4169 * Makeconfig (uses-callbacks): Use -fexceptions instead of
4170 $(exceptions).
4171 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
4172 (CFLAGS-vdprintf_chk.c): Likewise.
4173 (CFLAGS-printf_chk.c): Likewise.
4174 (CFLAGS-fprintf_chk.c): Likewise.
4175 (CFLAGS-vprintf_chk.c): Likewise.
4176 (CFLAGS-vfprintf_chk.c): Likewise.
4177 (CFLAGS-gets_chk.c): Likewise.
4178 (CFLAGS-fgets_chk.c): Likewise.
4179 (CFLAGS-fgets_u_chk.c): Likewise.
4180 (CFLAGS-fread_chk.c): Likewise.
4181 (CFLAGS-fread_u_chk.c): Likewise.
4182 (CFLAGS-wprintf_chk.c): Likewise.
4183 (CFLAGS-fwprintf_chk.c): Likewise.
4184 (CFLAGS-vwprintf_chk.c): Likewise.
4185 (CFLAGS-vfwprintf_chk.c): Likewise.
4186 (CFLAGS-fgetws_chk.c): Likewise.
4187 (CFLAGS-fgetws_u_chk.c): Likewise.
4188 * libio/Makefile (CFLAGS-fileops.c): Likewise.
4189 (CFLAGS-fputc.c): Likewise.
4190 (CFLAGS-fputwc.c): Likewise.
4191 (CFLAGS-freopen64.c): Likewise.
4192 (CFLAGS-freopen.c): Likewise.
4193 (CFLAGS-fseek.c): Likewise.
4194 (CFLAGS-fseeko64.c): Likewise.
4195 (CFLAGS-fseeko.c): Likewise.
4196 (CFLAGS-ftello64.c): Likewise.
4197 (CFLAGS-ftello.c): Likewise.
4198 (CFLAGS-fwide.c): Likewise.
4199 (CFLAGS-genops.c): Likewise.
4200 (CFLAGS-getc.c): Likewise.
4201 (CFLAGS-getchar.c): Likewise.
4202 (CFLAGS-getwc.c): Likewise.
4203 (CFLAGS-getwchar.c): Likewise.
4204 (CFLAGS-iofclose.c): Likewise.
4205 (CFLAGS-iofflush.c): Likewise.
4206 (CFLAGS-iofgetpos64.c): Likewise.
4207 (CFLAGS-iofgetpos.c): Likewise.
4208 (CFLAGS-iofgets.c): Likewise.
4209 (CFLAGS-iofgetws.c): Likewise.
4210 (CFLAGS-iofputs.c): Likewise.
4211 (CFLAGS-iofputws.c): Likewise.
4212 (CFLAGS-iofread.c): Likewise.
4213 (CFLAGS-iofsetpos64.c): Likewise.
4214 (CFLAGS-iofsetpos.c): Likewise.
4215 (CFLAGS-ioftell.c): Likewise.
4216 (CFLAGS-iofwrite.c): Likewise.
4217 (CFLAGS-iogetdelim.c): Likewise.
4218 (CFLAGS-iogetline.c): Likewise.
4219 (CFLAGS-iogets.c): Likewise.
4220 (CFLAGS-iogetwline.c): Likewise.
4221 (CFLAGS-ioputs.c): Likewise.
4222 (CFLAGS-ioseekoff.c): Likewise.
4223 (CFLAGS-ioseekpos.c): Likewise.
4224 (CFLAGS-iosetbuffer.c): Likewise.
4225 (CFLAGS-iosetvbuf.c): Likewise.
4226 (CFLAGS-ioungetc.c): Likewise.
4227 (CFLAGS-ioungetwc.c): Likewise.
4228 (CFLAGS-oldfileops.c): Likewise.
4229 (CFLAGS-oldiofclose.c): Likewise.
4230 (CFLAGS-oldiofgetpos64.c): Likewise.
4231 (CFLAGS-oldiofgetpos.c): Likewise.
4232 (CFLAGS-oldiofsetpos64.c): Likewise.
4233 (CFLAGS-oldiofsetpos.c): Likewise.
4234 (CFLAGS-peekc.c): Likewise.
4235 (CFLAGS-putc.c): Likewise.
4236 (CFLAGS-putchar.c): Likewise.
4237 (CFLAGS-putwc.c): Likewise.
4238 (CFLAGS-putwchar.c): Likewise.
4239 (CFLAGS-rewind.c): Likewise.
4240 (CFLAGS-wfileops.c): Likewise.
4241 (CFLAGS-wgenops.c): Likewise.
4242 (CFLAGS-oldiofopen.c): Likewise.
4243 (CFLAGS-iofopen.c): Likewise.
4244 (CFLAGS-iofopen64.c): Likewise.
4245 (CFLAGS-oldtmpfile.c): Likewise.
4246 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
4247 (CFLAGS-fprintf.c): Likewise.
4248 (CFLAGS-printf.c): Likewise.
4249 (CFLAGS-vfwprintf.c): Likewise.
4250 (CFLAGS-vfscanf.c): Likewise.
4251 (CFLAGS-vfwscanf.c): Likewise.
4252 (CFLAGS-fscanf.c): Likewise.
4253 (CFLAGS-scanf.c): Likewise.
4254 (CFLAGS-isoc99_vfscanf.c): Likewise.
4255 (CFLAGS-isoc99_vscanf.c): Likewise.
4256 (CFLAGS-isoc99_fscanf.c): Likewise.
4257 (CFLAGS-isoc99_scanf.c): Likewise.
4258 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
4259 (CFLAGS-isoc99_fwscanf.c): Likewise.
4260 (CFLAGS-isoc99_vwscanf.c): Likewise.
4261 (CFLAGS-isoc99_vfwscanf.c): Likewise.
4262
4263 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
4264 after mkstemp64.
4265 * login/tst-utmp.c (do_prepare): Likewise.
4266 * rt/tst-aio.c (do_prepare): Likewise.
4267 * rt/tst-aio64.c (do_prepare): Likewise.
4268
4269 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4270
4271 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4272 (__lll_lock_elision): Remove adapt_count decrement...
4273 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4274 (__lll_trylock_elision): Likewise.
4275 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4276 (__lll_unlock_elision): ... to here. And utilize
4277 new adapt_count parameter.
4278 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4279 (__lll_unlock_elision): Update to include adapt_count
4280 parameter.
4281 (lll_unlock_elision): Pass pointer to adapt_count
4282 variable.
4283
4284 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4285
4286 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
4287 Add elision adapt_count parameter to list of arguments.
4288 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4289 (lll_unlock_elision): Update with new parameter list
4290 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
4291 (lll_unlock_elision): Likewise
4292 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
4293 (lll_unlock_elision): Likewise
4294
4295 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
4296
4297 [BZ #19122]
4298 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
4299 attribute_hidden.
4300
4301 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
4302 attribute_hidden.
4303 [IS_IN (rtld)] (__strdup): Likewise.
4304 [IS_IN (rtld)] (__strerror_r): Likewise.
4305 [IS_IN (rtld)] (__strsep_g): Likewise.
4306 [IS_IN (rtld)] (memchr): Likewise.
4307 [IS_IN (rtld)] (memcmp): Likewise.
4308 [IS_IN (rtld)] (memcpy): Likewise.
4309 [IS_IN (rtld)] (memmove): Likewise.
4310 [IS_IN (rtld)] (memset): Likewise.
4311 [IS_IN (rtld)] (rawmemchr): Likewise.
4312 [IS_IN (rtld)] (stpcpy): Likewise.
4313 [IS_IN (rtld)] (strchr): Likewise.
4314 [IS_IN (rtld)] (strcmp): Likewise.
4315 [IS_IN (rtld)] (strlen): Likewise.
4316 [IS_IN (rtld)] (strnlen): Likewise.
4317 [IS_IN (rtld)] (strsep): Likewise.
4318
4319 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
4320 attribute_hidden.
4321 [IS_IN (rtld)] (__strtoul_internal): Likewise.
4322
4323 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
4324 attribute_hidden.
4325 [IS_IN (rtld)] (__libc_sigaction): Likewise.
4326
4327 * include/setjmp.h (__longjmp): Add attribute_hidden.
4328 [IS_IN (rtld)] (__sigsetjmp): Likewise.
4329
4330 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
4331 Add attribute_hidden.
4332
4333 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
4334 [IS_IN (rtld)] (__open): Likewise.
4335 [IS_IN (rtld)] (__fcntl): Likewise.
4336
4337 * include/dirent.h (__opendirat): Add attribute_hidden.
4338 (__getdents): Likewise.
4339 (__getdents64): Likewise.
4340 (__alloc_dir): Likewise.
4341 [IS_IN (rtld)] (__closedir): Likewise.
4342 [IS_IN (rtld)] (__fdopendir): Likewise.
4343 [IS_IN (rtld)] (__readdir): Likewise.
4344 [IS_IN (rtld)] (__readdir64): Likewise.
4345 [IS_IN (rtld)] (__rewinddir): Likewise.
4346
4347 * include/dlfcn.h (_dl_catch_error): Moved to ...
4348 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
4349 attribute_hidden.
4350
4351 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
4352 (_itoa_word): Likewise.
4353
4354 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
4355 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
4356 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
4357 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
4358 (_dl_higher_prime_number): Likewise.
4359 (_dl_debug_printf_c): Likewise.
4360 (_dl_signal_cerror): Likewise.
4361 (_dl_receive_error): Likewise.
4362 (_dl_reloc_bad_type): Likewise.
4363 (_dl_resolve_conflicts): Likewise.
4364 (_dl_check_all_versions): Likewise.
4365 (_dl_check_map_versions): Likewise.
4366 (_dl_sort_fini): Likewise.
4367 (_dl_debug_initialize): Likewise.
4368 (_dl_init_paths): Likewise.
4369 (_dl_show_auxv): Likewise.
4370 (_dl_next_ld_env_entry): Likewise.
4371 (_dl_important_hwcaps): Likewise.
4372 (_dl_load_cache_lookup): Likewise.
4373 (_dl_update_slotinfo): Likewise.
4374 (_dl_show_scope): Likewise.
4375
4376 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
4377 attribute_hidden.
4378 (_wordcopy_fwd_dest_aligned): Likewise.
4379 (_wordcopy_bwd_aligned): Likewise.
4380 (_wordcopy_bwd_dest_aligned): Likewise.
4381
4382 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4383 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4384 Likewise.
4385 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4386 Likewise.
4387 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
4388
4389 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
4390
4391 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
4392 GCC 5 requirement.
4393
4394 2015-10-15 Joseph Myers <joseph@codesourcery.com>
4395
4396 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
4397 test.
4398 * sysdeps/i386/configure: Regenerated.
4399 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
4400 code unconditional.
4401
4402 * configure.ac (libc_cv_asm_previous_directive): Remove configure
4403 test.
4404 (libc_cv_asm_popsection_directive): Likewise.
4405 * configure: Regenerated.
4406 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
4407 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
4408 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
4409 (__make_section_unallocated): Make definition unconditional.
4410 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
4411 Remove conditional definition.
4412 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
4413 (__make_section_unallocated): Likewise.
4414
4415 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
4416 * configure: Regenerated.
4417 * config.make.in (static-libgcc): Remove variable.
4418 * Makerules (build-shlib-helper): Use -static-libgcc instead of
4419 $(static-libgcc).
4420 (build-module-helper): Likewise.
4421
4422 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
4423 * configure: Regenerated.
4424
4425 2015-10-15 Florian Weimer <fweimer@redhat.com>
4426
4427 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
4428 (struct char_buffer): New type.
4429 (char_buffer_start, char_buffer_size, char_buffer_error)
4430 (char_buffer_rewind, char_buffer_add): New functions.
4431 (ADDW): Remove macro, replaced by the char_buffer_add function.
4432 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
4433 of extend_alloca. Make control flow more explicit.
4434
4435 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
4436
4437 [BZ #19137]
4438 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4439 Add -fomit-frame-pointer.
4440 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
4441
4442 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
4443
4444 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
4445 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
4446 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
4447 only if !__GNUC_PREREQ (5,0).
4448 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
4449 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
4450 (INTERNAL_SYSCALL_NCS): Likewise.
4451 (LOADREGS_0): New macro for GCC 5.
4452 (ASMARGS_0): Likewise.
4453 (LOADREGS_1): Likewise.
4454 (ASMARGS_1): Likewise.
4455 (LOADREGS_2): Likewise.
4456 (ASMARGS_2): Likewise.
4457 (LOADREGS_3): Likewise.
4458 (ASMARGS_3): Likewise.
4459 (LOADREGS_4): Likewise.
4460 (ASMARGS_4): Likewise.
4461 (LOADREGS_5): Likewise.
4462 (ASMARGS_5): Likewise.
4463 (LOADREGS_6): Likewise.
4464 (ASMARGS_6): Likewise.
4465
4466 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
4467
4468 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
4469 -fomit-frame-pointer.
4470 (CFLAGS-mmap64.c): Likewise.
4471 (CFLAGS-semtimedop.c): Likewise.
4472 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
4473 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
4474 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4475 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4476
4477 2015-10-15 Florian Weimer <fweimer@redhat.com>
4478
4479 [BZ #18928]
4480 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
4481 _dl_pointer_guard member.
4482 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
4483 initializer.
4484 (security_init): Always set up pointer guard.
4485 (process_envvars): Do not process LD_POINTER_GUARD.
4486
4487 2015-10-14 Joseph Myers <joseph@codesourcery.com>
4488
4489 [BZ #19134]
4490 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
4491 (.LC2): Likewise.
4492 (.LC3): Likewise.
4493 (__lround): Do not add 0.5 to integer or out-of-range arguments.
4494
4495 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
4496
4497 [BZ #19129]
4498 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
4499 r0 and r1.
4500
4501 2015-10-14 Namhyung Kim <namhyung@gmail.com>
4502
4503 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
4504
4505 2015-10-14 Carlos O'Donell <carlos@redhat.com>
4506
4507 * include/stap-probe.h: Fix macro definition formatting.
4508
4509 2015-10-14 Florian Weimer <fweimer@redhat.com>
4510
4511 [BZ #19074]
4512 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
4513 load and store num_ifs.
4514
4515 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
4516
4517 [BZ #18822]
4518 * sysdeps/unix/sysv/linux/sched_getaffinity.c
4519 (__sched_getaffinity_new): Add libc_hidden_proto and
4520 libc_hidden_def.
4521
4522 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
4523
4524 [BZ #19007]
4525 * scripts/localplt.awk: Also allow GOT references.
4526 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
4527 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
4528 with "+ REL R_386_GLOB_DAT".
4529 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
4530 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
4531
4532 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
4533
4534 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
4535 INLINE_SYSCALL_ERROR_RETURN_VALUE.
4536 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
4537 Likewise.
4538 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
4539 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
4540 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
4541 INTERNAL_SYSCALLINTERNAL_SYSCALL and
4542 INLINE_SYSCALL_ERROR_RETURN_VALUE.
4543 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
4544 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4545 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
4546 Likewise.
4547 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4548
4549 2015-10-13 Joseph Myers <joseph@codesourcery.com>
4550
4551 [BZ #19125]
4552 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
4553 <math_private.h> and <stdint.h>.
4554 (__llround): Avoid conversions to and from long long int, and
4555 subtractions, where those might raise spurious exceptions.
4556 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
4557 <math_private.h> and <stdint.h>.
4558 (__llroundf): Avoid conversions to and from long long int, and
4559 subtractions, where those might raise spurious exceptions.
4560
4561 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
4562
4563 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
4564 INLINE_SYSCALL_ERROR_RETURN_VALUE.
4565 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4566 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
4567 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4568 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4569 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
4570 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
4571 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
4572 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
4573 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4574 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4575 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
4576 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4577 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4578 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
4579 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
4580 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4581 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
4582 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
4583 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
4584 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
4585 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
4586 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
4587 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
4588 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4589 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
4590 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4591 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4592 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
4593 (__xstat64_conv): Likewise.
4594 (__xstat32_conv): Likewise.
4595
4596 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
4597
4598 * sysdeps/unix/sysv/linux/sysdep.h: New file.
4599 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
4600 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
4601 <sysdeps/unix/sysv/linux/sysdep.h>.
4602 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4603 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
4604 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
4605 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4606 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4607 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
4608 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
4609 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4610 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4613 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4614 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4615 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4616 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4617 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4618 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
4619 (sysdep-dl-routines): Add sysdep.
4620 [$(subdir) == nptl] (libpthread-routines): Likewise.
4621 [$(subdir) == rt] (librt-routines): Likewise.
4622 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
4623 PIC when branching to SYSCALL_ERROR_LABEL.
4624 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
4625 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
4626 <sysdeps/unix/sysv/linux/sysdep.h>.
4627 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
4628 (SYSCALL_ERROR_ERRNO): Removed.
4629 (SYSCALL_ERROR_HANDLER): Changed to empty.
4630 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
4631 (__syscall_error): New prototype.
4632 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
4633 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
4634
4635 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
4636
4637 [BZ #19124]
4638 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
4639 (_dl_runtime_resolve_avx512): Make it a hidden alias of
4640 _dl_runtime_resolve_avx.
4641 (_dl_runtime_profile_avx512): Make it a hidden alias of
4642 _dl_runtime_profile_avx.
4643
4644 2015-10-13 Joseph Myers <joseph@codesourcery.com>
4645
4646 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
4647 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
4648 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
4649 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
4650
4651 [BZ #16422]
4652 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
4653 New configure test.
4654 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
4655 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
4656 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
4657 <math_private.h> and <stdint.h>.
4658 (__llrint): Avoid conversions to long long int where those might
4659 raise spurious exceptions.
4660 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
4661 <math_private.h> and <stdint.h>.
4662 (__llrintf): Avoid conversions to long long int where those might
4663 raise spurious exceptions.
4664
4665 2015-10-12 Andreas Schwab <schwab@suse.de>
4666
4667 [BZ #18969]
4668 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
4669 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
4670 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
4671 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
4672 $(gen-locales).
4673 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
4674 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
4675 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
4676 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
4677 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
4678 $(gen-locales).
4679 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
4680 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
4681 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
4682 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
4683 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
4684 ($(objpfx)tst-ftell-active-handler.out)
4685 ($(objpfx)tst-ftell-append.out)
4686 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
4687 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
4688 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
4689 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
4690 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
4691 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
4692 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
4693 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
4694 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
4695 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
4696 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
4697 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
4698 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
4699 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
4700 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
4701 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
4702 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
4703 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
4704 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
4705 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
4706 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
4707 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
4708 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
4709 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
4710 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
4711 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
4712 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
4713 $(gen-locales).
4714 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
4715 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
4716 $(gen-locales).
4717 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
4718 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
4719 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
4720 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
4721 $(gen-locales).
4722 * libio/tst_wprintf2.c (main): Use explicit locale.
4723 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
4724
4725 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4726
4727 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
4728 __msg_sig_post.
4729 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
4730
4731 2015-10-09 Joseph Myers <joseph@codesourcery.com>
4732
4733 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4734 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4735
4736 * sysdeps/arm/libm-test-ulps: Regenerated.
4737
4738 [BZ #15470]
4739 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
4740
4741 [BZ #16399]
4742 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
4743 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
4744 and <fix-fp-int-convert-overflow.h>.
4745 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
4746 FIX_DBL_LLONG_CONVERT_OVERFLOW.
4747 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
4748 and <fix-fp-int-convert-overflow.h>.
4749 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
4750 FIX_DBL_LLONG_CONVERT_OVERFLOW.
4751 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
4752 <fix-fp-int-convert-overflow.h>.
4753 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
4754 FIX_DBL_LLONG_CONVERT_OVERFLOW.
4755 * sysdeps/ieee754/dbl-64/s_lround.c: Include
4756 <fix-fp-int-convert-overflow.h>.
4757 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
4758 FIX_DBL_LLONG_CONVERT_OVERFLOW.
4759 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
4760 and <fix-fp-int-convert-overflow.h>.
4761 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
4762 FIX_DBL_LLONG_CONVERT_OVERFLOW.
4763 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
4764 <limits.h> and <fix-fp-int-convert-overflow.h>.
4765 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
4766 FIX_DBL_LLONG_CONVERT_OVERFLOW.
4767 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
4768 and <fix-fp-int-convert-overflow.h>.
4769 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
4770 FIX_DBL_LLONG_CONVERT_OVERFLOW.
4771 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
4772 and <fix-fp-int-convert-overflow.h>.
4773 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
4774 FIX_DBL_LLONG_CONVERT_OVERFLOW.
4775 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
4776
4777 2015-10-09 Carlos O'Donell <carlos@redhat.com>
4778
4779 [BZ #18589]
4780 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
4781 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
4782 $(gen-locales).
4783
4784 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4785 Phil Blundell <pb@pbcl.net>
4786
4787 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
4788 * nptl/tst-cancel26.c: New file.
4789 * nptl/tst-cancel27.c: Likewise.
4790
4791 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
4792
4793 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
4794 __ILP32__ isn't defined.
4795 (lrint): Likewise.
4796 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
4797 (lrintf): Likewise.
4798 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
4799 (lrintl): Likewise.
4800 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
4801 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
4802 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
4803
4804 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4805
4806 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4807 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4808
4809 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
4810 file.
4811 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
4812 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4813
4814 2015-10-09 Joseph Myers <joseph@codesourcery.com>
4815
4816 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
4817 configure test.
4818 * sysdeps/i386/configure: Regenerated.
4819 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
4820 configure test.
4821 * sysdeps/x86_64/configure: Regenerated.
4822 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
4823 Make code unconditional.
4824
4825 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
4826 test.
4827 * sysdeps/i386/configure: Regenerated.
4828 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
4829 test.
4830 * sysdeps/x86_64/configure: Regenerated.
4831 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
4832 Make code unconditional.
4833 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4834 Likewise.
4835 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
4836 Likewise.
4837 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4838 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
4839 code unconditional.
4840 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4841 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
4842 code unconditional.
4843 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4844 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
4845 code unconditional.
4846 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
4847 code unconditional.
4848 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4849 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
4850 code unconditional.
4851 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4852 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
4853 code unconditional.
4854 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4855 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
4856 code unconditional.
4857 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4858 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
4859 code unconditional.
4860 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4861 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
4862
4863 [BZ #19095]
4864 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
4865 mantissa to long int before shifting left.
4866
4867 2015-10-08 Joseph Myers <joseph@codesourcery.com>
4868
4869 [BZ #19094]
4870 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
4871 <limits.h>.
4872 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4873 when result overflows but exception would not result from cast.
4874 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
4875 <limits.h>.
4876 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4877 when result overflows but exception would not result from cast.
4878 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
4879 <limits.h>.
4880 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4881 when result overflows but exception would not result from cast.
4882 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
4883 <limits.h>.
4884 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4885 when result overflows but exception would not result from cast.
4886 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
4887 <limits.h>.
4888 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4889 when result overflows but exception would not result from cast.
4890 * math/libm-test.inc (lrint_test_data): Add more tests.
4891 (llrint_test_data): Likewise.
4892
4893 2015-10-08 Roland McGrath <roland@hack.frob.com>
4894
4895 [BZ #18872]
4896 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
4897 Move out from under [$(run-built-tests) = yes] conditional.
4898 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
4899 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
4900
4901 2015-10-08 Carlos O'Donell <carlos@redhat.com>
4902
4903 [BZ #18589]
4904 * string/Makefile (tests): Add bug-strcoll2.
4905 (LOCALES): Add cs_CZ.UTF-8.
4906 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
4907
4908 [BZ #18589]
4909 * string/bug-strcoll2.c: New file.
4910 * locale/categories.def: Revert commit
4911 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
4912 * locale/langinfo.h: Likewise.
4913 * locale/localeinfo.h: Likewise.
4914 * locale/C-collate.c: Likewise.
4915 * locale/programs/ld-collate.c (collate_output): Likewise.
4916 * string/strcoll_l.c (STRDIFF): Likewise.
4917 (STRCOLL): Likewise.
4918 * wcsmbs/wcscoll_l.c: Likewise.
4919
4920 2015-10-08 Joseph Myers <joseph@codesourcery.com>
4921
4922 * math/libm-test.inc (lround_test_data): Do not expect the absence
4923 of "inexact" for some tests with non-integer arguments.
4924 (llround_test_data): Likewise.
4925
4926 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
4927 test.
4928 (libc_cv_cc_sse2avx): Likewise.
4929 * sysdeps/i386/configure: Regenerated.
4930 * sysdeps/i386/i686/multiarch/Makefile
4931 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
4932 [$(subdir) = math].
4933 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
4934 code unconditional.
4935 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
4936 Likewise.
4937 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
4938 Likewise.
4939 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
4940 Likewise.
4941 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
4942 test.
4943 (libc_cv_cc_sse2avx): Likewise.
4944 * sysdeps/x86_64/configure: Regenerated.
4945 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
4946 unconditional.
4947 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
4948 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
4949 unconditional.
4950 (_dl_runtime_profile)
4951 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
4952 conditional code.
4953 * sysdeps/x86_64/fpu/multiarch/Makefile
4954 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
4955 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4956 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4957 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4958 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4959 * sysdeps/x86_64/fpu/multiarch/e_log.c
4960 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4961 * sysdeps/x86_64/fpu/multiarch/s_atan.c
4962 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4963 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
4964 Likewise.
4965 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
4966 Likewise.
4967 * sysdeps/x86_64/fpu/multiarch/s_sin.c
4968 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4969 * sysdeps/x86_64/fpu/multiarch/s_tan.c
4970 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4971 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
4972 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
4973 (HAVE_SSE2AVX_SUPPORT): Likewise.
4974
4975 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
4976
4977 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
4978 instead of #pragma optimize.
4979
4980 2015-10-07 Carlos O'Donell <carlos@redhat.com>
4981
4982 [BZ #17195]
4983 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
4984 as is similarly done in systrim and _int_free already.
4985
4986 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4987
4988 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
4989
4990 2015-10-07 Joseph Myers <joseph@codesourcery.com>
4991
4992 [BZ #19088]
4993 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
4994 <limits.h>.
4995 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
4996 overflows but exception would not result from cast.
4997 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
4998 and <limits.h>.
4999 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5000 overflows but exception would not result from cast.
5001 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
5002 <limits.h>.
5003 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5004 overflows but exception would not result from cast.
5005 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
5006 <limits.h>.
5007 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5008 overflows but exception would not result from cast.
5009 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
5010 <limits.h>.
5011 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5012 overflows but exception would not result from cast.
5013 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
5014 <limits.h>.
5015 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5016 overflows but exception would not result from cast.
5017 * math/libm-test.inc (lround_test_data): Add more tests.
5018 (llround_test_data): Likewise.
5019
5020 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
5021
5022 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
5023 (CFLAGS-ialloc.c): Ditto.
5024 (CFLAGS-scheck.c): Ditto.
5025
5026 2015-10-07 Carlos O'Donell <carlos@redhat.com>
5027
5028 [BZ #19086]
5029 * manual/filesys.texi (Storage Allocation): Fix argument order for
5030 posix_fallocate64.
5031
5032 2015-10-07 Joseph Myers <joseph@codesourcery.com>
5033
5034 [BZ #19085]
5035 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
5036 exponent below 48 inside case for non-overflowing exponent.
5037 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
5038
5039 2015-10-07 Florian Weimer <fweimer@redhat.com>
5040
5041 * iconvdata/cp737.h (from_idx): Add const.
5042 * iconvdata/cp775.h (from_idx): Likewise.
5043
5044 2015-10-07 Joseph Myers <joseph@codesourcery.com>
5045
5046 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
5047 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
5048 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
5049
5050 [BZ #19079]
5051 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
5052 file, conditioned on [!_LP64].
5053 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
5054 [!_LP64] (__lround): Do not define as function or alias.
5055 [!_LP64] (lround): Likewise.
5056 [!_LP64] (__lroundl): Likewise.
5057 [!_LP64] (lroundl): Likewise.
5058 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
5059 macro.
5060 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5061 Likewise.
5062
5063 2015-10-06 Joseph Myers <joseph@codesourcery.com>
5064
5065 * math/libm-test.inc (lrint_test_data): Add more tests.
5066 (llrint_test_data): Likewise.
5067 (lround_test_data): Likewise.
5068 (llround_test_data): Likewise.
5069
5070 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
5071 (llrint_test_data): Add tests used for lrint.
5072
5073 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
5074 test.
5075 * sysdeps/i386/configure: Regenerated.
5076 * sysdeps/i386/i686/multiarch/Makefile
5077 [$(config-cflags-sse4) = yes]: Make code unconditional.
5078 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5079 Likewise.
5080 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
5081 Likewise.
5082 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
5083 test.
5084 * sysdeps/x86_64/configure: Regenerated.
5085 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
5086 Make code unconditional.
5087 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5088 Likewise.
5089 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
5090 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
5091
5092 * scripts/rpm2dynsym.sh: Remove file.
5093
5094 2015-10-06 Florian Weimer <fweimer@redhat.com>
5095
5096 * configure.ac (libc_cv_cxx_thread_local): Define.
5097 * configure: Regenerate.
5098 * config.make.in (have-cxx-thread_local): Define.
5099 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
5100 (LDLIBS-tst-thread_local1): Define.
5101 (tests): Add tst-thread_local1.
5102 [have-cxx-thread_local != yes] (tests-unsupported): Add
5103 tst-thread_local1.
5104 * nptl/tst-thread_local1.cc: New file.
5105
5106 2015-10-06 Joseph Myers <joseph@codesourcery.com>
5107
5108 [BZ #19078]
5109 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
5110 (u_thres): Likewise.
5111 (__expl): Determine whether to call __kernel_standard_l based on
5112 value of result, not argument.
5113
5114 * math/libm-test.inc (scalb_test_data): Add more expectations for
5115 the "inexact" exception.
5116
5117 [BZ #19077]
5118 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
5119 0.0L for argument 1.0L.
5120
5121 [BZ #19076]
5122 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
5123 constant 0.0L when computing infinite result.
5124
5125 2015-10-06 Florian Weimer <fweimer@redhat.com>
5126
5127 [BZ #10432]
5128 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
5129 malloc_usable_size.
5130
5131 2015-10-06 Florian Weimer <fweimer@redhat.com>
5132
5133 [BZ #19018]
5134 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5135 Mangle function pointer before storing it.
5136 (__call_tls_dtors): Demangle function pointer before calling it.
5137
5138 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5139
5140 [BZ #19012]
5141 * iconv/gconv_db.c (gen_steps): Check for additional errors.
5142 Clean up on failure.
5143
5144 2015-10-05 Joseph Myers <joseph@codesourcery.com>
5145
5146 [BZ #19071]
5147 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
5148 long int variable to store possibly incremented high part of
5149 mantissa.
5150 * math/libm-test.inc (lround_test_data): Add tests used for
5151 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
5152 for tests requiring 64-bit long. Do not condition tests on
5153 [TEST_FLOAT] unnecessarily.
5154 (llround_test_data): Add tests used for lround. Add another
5155 expectation for the "inexact" exception. Do not condition tests
5156 on [TEST_FLOAT] unnecessarily.
5157
5158 [BZ #887]
5159 [BZ #19049]
5160 [BZ #19050]
5161 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
5162 * sysdeps/ieee754/dbl-64/e_log10.c: Include
5163 <fix-int-fp-convert-zero.h>.
5164 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5165 * sysdeps/ieee754/dbl-64/e_log2.c: Include
5166 <fix-int-fp-convert-zero.h>.
5167 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5168 * sysdeps/ieee754/dbl-64/s_erf.c: Include
5169 <fix-int-fp-convert-zero.h>.
5170 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5171 * sysdeps/ieee754/dbl-64/s_logb.c: Include
5172 <fix-int-fp-convert-zero.h>.
5173 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5174 * sysdeps/ieee754/flt-32/e_log10f.c: Include
5175 <fix-int-fp-convert-zero.h>.
5176 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5177 * sysdeps/ieee754/flt-32/e_log2f.c: Include
5178 <fix-int-fp-convert-zero.h>.
5179 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5180 * sysdeps/ieee754/flt-32/s_erff.c: Include
5181 <fix-int-fp-convert-zero.h>.
5182 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5183 * sysdeps/ieee754/flt-32/s_logbf.c: Include
5184 <fix-int-fp-convert-zero.h>.
5185 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5186 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
5187 <fix-int-fp-convert-zero.h>.
5188 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5189 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
5190 <fix-int-fp-convert-zero.h>.
5191 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5192 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
5193 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
5194 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
5195 file.
5196 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
5197
5198 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5199
5200 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5201
5202 2015-10-02 Joseph Myers <joseph@codesourcery.com>
5203
5204 [BZ #19059]
5205 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
5206 overflowing computation.
5207 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5208 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5209 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5210 Likewise.
5211 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5212 Likewise.
5213 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
5214 Likewise.
5215 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5216 Likewise.
5217 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5218 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5219 Likewise.
5220 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5221 Likewise.
5222 * math/libm-test.inc (nexttoward_test_data): Add more tests.
5223
5224 * nss/rewrite_field.c (__nss_rewrite_field): Use
5225 internal_function.
5226 * nss/valid_field.c (__nss_valid_field): Likewise.
5227 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
5228
5229 2015-10-02 Florian Weimer <fweimer@redhat.com>
5230
5231 [BZ #18724]
5232 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
5233 (__nss_invalid_field_characters, __nss_valid_field)
5234 (__nss_valid_list_field, __nss_rewrite_field): Declare.
5235 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
5236 tst-field.c: New file.
5237 * nss/Makefile (routines): Add valid_field, rewrite_field.
5238 (tests-static): Define unconditionally.
5239 (tests): Include tests-static.
5240 [build-static-nss] (tests-static): Use append.
5241 [build-static-nss] (tests): Remove modification.
5242 * nss/getent.c (print_group): Call putgrent. Report error.
5243 (print_gshadow): Call putsgent. Report error.
5244 (print_passwd): Call putpwent. Report error.
5245 (print_shadow): Call putspent. Report error.
5246 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
5247 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
5248 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
5249 name, password, directory, shell fields for valid syntax. Rewrite
5250 GECOS field to match syntax.
5251 * pwd/Makefile (tests): Add tst-putpwent.
5252 * pwd/tst-putpwent.c: New file.
5253 * grp/putgrent.c (putgrent): Convert to ISO function definition.
5254 Check grName, grpasswd, gr_mem fields for valid syntax.
5255 Change loop variable i to size_t.
5256 * grp/Makefile (tests): Add tst-putgrent.
5257 * grp/tst-putgrent.c: New file.
5258 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
5259 valid syntax.
5260 * shadow/Makefile (tests): Add tst-putspent.
5261 * shadow/tst-putspent.c: New file.
5262 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
5263 sg_mem fields for valid syntax.
5264 * gshadow/Makefile (tests): Add tst-putsgent.
5265 * gshadow/tst-putsgent.c: New file.
5266
5267 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5268
5269 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
5270 assembly instructions.
5271
5272 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5273
5274 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
5275 prefix from operands.
5276
5277 2015-10-01 Joseph Myers <joseph@codesourcery.com>
5278
5279 [BZ #16347]
5280 [BZ #19046]
5281 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
5282 <libc-internal.h>.
5283 (MAXLGM): Do not use diagnostic control macros.
5284 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
5285 threshold for ldbl-128ibm.
5286 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
5287 instead of multiplying by log then subtracting.
5288 * math/auto-libm-test-in: Add more tests of lgamma.
5289 * math/auto-libm-test-out: Regenerated.
5290
5291 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
5292 (TYPE_HEX_DIG): Likewise.
5293 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
5294 precisions when printing floating-point numbers.
5295 (check_float_internal): Likewise.
5296
5297 2015-09-30 Joseph Myers <joseph@codesourcery.com>
5298
5299 [BZ #16620]
5300 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
5301 of log (10) rounded downward to 48 bits.
5302 (log10_low): Use corresponding low part of log (10).
5303
5304 [BZ #19032]
5305 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
5306 compute result as (x - x) / (x - x) not as 0 / 0.
5307 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5308 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
5309
5310 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5311 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
5312 and expm1.
5313 * math/auto-libm-test-out: Regenerated.
5314 * math/libm-test.inc (acos_test_data): Add more tests.
5315 (asin_test_data): Likewise.
5316 (asinh_test_data): Likewise.
5317 (atan_test_data): Likewise.
5318 (atanh_test_data): Likewise.
5319 (atan2_test_data): Likewise.
5320 (cbrt_test_data): Likewise.
5321 (ceil_test_data): Likewise.
5322 (copysign_test_data): Likewise.
5323 (cos_test_data): Likewise.
5324 (cosh_test_data): Likewise.
5325 (erf_test_data): Likewise.
5326 (erfc_test_data): Likewise.
5327 (exp_test_data): Likewise.
5328 (exp10_test_data): Likewise.
5329 (exp2_test_data): Likewise.
5330 (expm1_test_data): Likewise.
5331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5332
5333 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
5334
5335 [BZ #19006]
5336 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
5337 to ...
5338 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
5339 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
5340 to ...
5341 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
5342 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
5343 to ...
5344 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
5345 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
5346 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
5347 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
5348 to ...
5349 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
5350 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5351 Moved to ...
5352 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
5353 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5354 Moved to ...
5355 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
5356 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
5357 to ...
5358 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
5359 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5360 Moved to ...
5361 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
5362 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
5363 to ...
5364 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
5365 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
5366 Removed.
5367 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
5368 Likewise.
5369 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
5370 Likewise.
5371 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
5372 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
5373 Likewise.
5374 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5375 Likewise.
5376 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5377 Likewise.
5378 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5379 Likewise.
5380 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5381 Likewise.
5382 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
5383 Likewise.
5384 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
5385 Likewise.
5386 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
5387 Likewise.
5388 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
5389 Likewise.
5390 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
5391 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
5392 Likewise.
5393 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5394 Likewise.
5395 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5396 Likewise.
5397 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5398 Likewise.
5399 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
5400 Likewise.
5401 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5402 Replace ../i486/pthread_cond_timedwait.S with
5403 ../pthread_cond_timedwait.S.
5404
5405 2015-09-30 Joseph Myers <joseph@codesourcery.com>
5406
5407 * math/libm-test.inc (acos_test_data): Refine expectations for
5408 errno and "inexact" exceptions.
5409 (acosh_test_data): Likewise.
5410 (asin_test_data): Likewise.
5411 (asinh_test_data): Likewise.
5412 (atan_test_data): Likewise.
5413 (atanh_test_data): Likewise.
5414 (atan2_test_data): Likewise.
5415 (cbrt_test_data): Likewise.
5416 (ceil_test_data): Likewise.
5417 (copysign_test_data): Likewise.
5418 (cosh_test_data): Likewise.
5419 (erf_test_data): Likewise.
5420 (erfc_test_data): Likewise.
5421 (exp_test_data): Likewise.
5422 (exp10_test_data): Likewise.
5423 (exp2_test_data): Likewise.
5424 (expm1_test_data): Likewise.
5425 (fabs_test_data): Likewise.
5426 (floor_test_data): Likewise.
5427 (fma_test_data): Likewise.
5428 (fmax_test_data): Likewise.
5429 (fmin_test_data): Likewise.
5430 (fmod_test_data): Likewise.
5431 (fpclassify_test_data): Likewise.
5432 (frexp_test_data): Likewise.
5433 (hypot_test_data): Likewise.
5434 (ilogb_test_data): Likewise.
5435 (isgreater_test_data): Likewise.
5436 (isgreaterequal_test_data): Likewise.
5437 (isinf_test_data): Likewise.
5438 (isless_test_data): Likewise.
5439 (islessequal_test_data): Likewise.
5440 (islessgreater_test_data): Likewise.
5441 (isnan_test_data): Likewise.
5442 (isnormal_test_data): Likewise.
5443 (issignaling_test_data): Likewise.
5444 (isunordered_test_data): Likewise.
5445 (j0_test_data): Likewise.
5446 (j1_test_data): Likewise.
5447 (jn_test_data): Likewise.
5448 (lgamma_test_data): Likewise.
5449 (lrint_test_data): Likewise.
5450 (llrint_test_data): Likewise.
5451 (log_test_data): Likewise.
5452 (log10_test_data): Likewise.
5453 (log1p_test_data): Likewise.
5454 (log2_test_data): Likewise.
5455 (logb_test_data): Likewise.
5456 (lround_test_data): Likewise.
5457 (llround_test_data): Likewise.
5458 (modf_test_data): Likewise.
5459 (nearbyint_test_data): Likewise.
5460 (nextafter_test_data): Likewise.
5461 (nexttoward_test_data): Likewise.
5462 (pow_test_data): Likewise.
5463 (remainder_test_data): Likewise.
5464 (remquo_test_data): Likewise.
5465 (rint_test_data): Likewise.
5466 (round_test_data): Likewise.
5467 (signbit_test_data): Likewise.
5468 (sinh_test_data): Likewise.
5469 (sqrt_test_data): Likewise.
5470 (tanh_test_data): Likewise.
5471 (tgamma_test_data): Likewise.
5472 (trunc_test_data): Likewise.
5473 (y0_test_data): Likewise.
5474 (y1_test_data): Likewise.
5475 (yn_test_data): Likewise.
5476 (significand_test_data): Likewise.
5477
5478 2015-09-29 Carlos O'Donell <carlos@redhat.com>
5479
5480 * manual/filesys.texi (Storage Allocation): Document that
5481 posix_fallocate emulation fails when fd is open with O_WRONLY.
5482
5483 2015-09-28 Joseph Myers <joseph@codesourcery.com>
5484
5485 [BZ #19016]
5486 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
5487 allow more cases with X^2 + Y^2 >= 0.5.
5488 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
5489 normal element in sum instead of special-casing based on values of
5490 arguments.
5491 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
5492 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
5493 -1 as normal element in sum instead of special-casing based on
5494 values of arguments.
5495 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
5496 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
5497 (__x2y2m1): Update comment.
5498 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
5499 as normal element in sum instead of special-casing based on values
5500 of arguments.
5501 * math/s_clog.c (__clog): Handle more cases using log1p without
5502 hypot.
5503 * math/s_clog10.c (__clog10): Likewise.
5504 * math/s_clog10f.c (__clog10f): Likewise.
5505 * math/s_clog10l.c (__clog10l): Likewise.
5506 * math/s_clogf.c (__clogf): Likewise.
5507 * math/s_clogl.c (__clogl): Likewise.
5508 * math/auto-libm-test-in: Add more tests of clog and clog10.
5509 * math/auto-libm-test-out: Regenerated.
5510 * sysdeps/i386/fpu/libm-test-ulps: Update.
5511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5512
5513 2015-09-28 Martin Sebor <msebor@redhat.com>
5514
5515 [BZ #18969]
5516 * string/Makefile (LOCALES): Define.
5517 (gen-locales.mk): Include.
5518 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
5519 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
5520 * string/tst-strxfrm2.c (do_test): Print the name of the locale
5521 on setlocale failure.
5522
5523 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5524
5525 [BZ #18985]
5526 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
5527 (__strftime_internal): Likewise.
5528 * time/tst-strftime.c (do_bz18985): New test.
5529 (do_test): Call it.
5530
5531 2015-09-26 Joseph Myers <joseph@codesourcery.com>
5532
5533 [BZ #18956]
5534 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
5535 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
5536 extracting high part.
5537 * math/auto-libm-test-in: Add another test of pow.
5538 * math/auto-libm-test-out: Regenerated.
5539 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5540
5541 2015-09-25 Joseph Myers <joseph@codesourcery.com>
5542
5543 [BZ #18825]
5544 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
5545 New macro.
5546 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
5547 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5548 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
5549 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
5550 DBL_NARROW_EVAL, reloading the PIC register as needed.
5551 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
5552 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
5553 FLT_NARROW_EVAL. Use separate return path for case when first
5554 argument is NaN.
5555 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
5556 DEFINE_LDBL_MIN.
5557 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
5558 PIC register.
5559 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
5560 math_check_force_underflow_nonneg.
5561 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
5562 underflow for subnormal result.
5563 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5564 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
5565 math_check_force_underflow_nonneg.
5566 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
5567 math_check_force_underflow.
5568 * sysdeps/x86_64/fpu/x86_64-math-asm.h
5569 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
5570 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
5571 DEFINE_LDBL_MIN.
5572 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
5573 * math/auto-libm-test-in: Add more tests of pow.
5574 * math/auto-libm-test-out: Regenerated.
5575
5576 2015-09-25 Florian Weimer <fweimer@redhat.com>
5577
5578 * nss/bug17079.c (init_test_items): Add diagnostic for
5579 inconsistent entries.
5580 (test_buffer_size): Skip inconsistent entries.
5581
5582 2015-09-25 Joseph Myers <joseph@codesourcery.com>
5583
5584 [BZ #13304]
5585 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
5586 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
5587 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
5588
5589 [BZ #13304]
5590 * sysdeps/microblaze/s_fma.c: New file.
5591 * sysdeps/microblaze/s_fmaf.c: Likewise.
5592 * sysdeps/microblaze/sfp-machine.h: Likewise.
5593
5594 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
5595
5596 [BZ #17250]
5597 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
5598 member.
5599
5600 2015-09-24 Joseph Myers <joseph@codesourcery.com>
5601
5602 [BZ #18803]
5603 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
5604 (MO): New macro.
5605 (__ieee754_hypot) [PIC]: Load PIC register.
5606 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
5607 DBL_NARROW_EVAL.
5608 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
5609 math_check_force_underflow_nonneg in case where result might be
5610 tiny.
5611 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5612 Likewise.
5613 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5614 Likewise.
5615 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5616 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
5617 * math/auto-libm-test-in: Add more tests of hypot.
5618 * math/auto-libm-test-out: Regenerated.
5619
5620 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
5621
5622 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
5623
5624 2015-09-24 Joseph Myers <joseph@codesourcery.com>
5625
5626 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
5627 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
5628 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
5629 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
5630 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
5631 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
5632 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
5633
5634 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
5635 LOAD_PIC_REG.
5636
5637 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
5638 (FLT_CHECK_FORCE_UFLOW): Likewise.
5639 (DBL_CHECK_FORCE_UFLOW): Likewise.
5640 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
5641 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
5642 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
5643 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5644 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5645 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5646 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5647 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5648 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
5649 (dbl_min): Replace with use of DEFINE_DBL_MIN.
5650 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
5651 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
5652 (flt_min): Replace with use of DEFINE_FLT_MIN.
5653 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
5654 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
5655 (dbl_min): Replace with use of DEFINE_DBL_MIN.
5656 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
5657 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
5658 (flt_min): Replace with use of DEFINE_FLT_MIN.
5659 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
5660 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
5661 (dbl_min): Replace with use of DEFINE_DBL_MIN.
5662 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
5663 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
5664 (flt_min): Replace with use of DEFINE_FLT_MIN.
5665 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
5666 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
5667 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
5668 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
5669 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
5670 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
5671 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
5672 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
5673 (dbl_min): Replace with use of DEFINE_DBL_MIN.
5674 (__atan): Use DBL_CHECK_FORCE_UFLOW.
5675 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
5676 (flt_min): Replace with use of DEFINE_FLT_MIN.
5677 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
5678 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
5679 (dbl_min): Replace with use of DEFINE_DBL_MIN.
5680 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
5681 main computation.
5682 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
5683 (flt_min): Replace with use of DEFINE_FLT_MIN.
5684 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
5685 main computation.
5686 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
5687 (dbl_min): Replace with use of DEFINE_DBL_MIN.
5688 (MO): New macro.
5689 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
5690 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
5691 (flt_min): Replace with use of DEFINE_FLT_MIN.
5692 (MO): New macro.
5693 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
5694 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
5695 (__log1pl): Use MO.
5696
5697 [BZ #19003]
5698 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
5699 $(config-cflags-nofma).
5700
5701 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
5702
5703 * sysdeps/aarch64/libm-test-ulps: Regenerated.
5704
5705 2015-09-23 Joseph Myers <joseph@codesourcery.com>
5706
5707 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
5708 (TWO127): Likewise.
5709
5710 * sysdeps/generic/math_private.h (fabs_tg): New macro.
5711 (min_of_type): Likewise.
5712 (math_check_force_underflow): Likewise.
5713 (math_check_force_underflow_nonneg): Likewise.
5714 (math_check_force_underflow_complex): Likewise.
5715 * math/e_exp2l.c (__ieee754_exp2l): Use
5716 math_check_force_underflow_nonneg.
5717 * math/k_casinh.c (__kernel_casinh): Likewise.
5718 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5719 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5720 * math/s_catan.c (__catan): Use
5721 math_check_force_underflow_complex.
5722 * math/s_catanf.c (__catanf): Likewise.
5723 * math/s_catanh.c (__catanh): Likewise.
5724 * math/s_catanhf.c (__catanhf): Likewise.
5725 * math/s_catanhl.c (__catanhl): Likewise.
5726 * math/s_catanl.c (__catanl): Likewise.
5727 * math/s_ccosh.c (__ccosh): Likewise.
5728 * math/s_ccoshf.c (__ccoshf): Likewise.
5729 * math/s_ccoshl.c (__ccoshl): Likewise.
5730 * math/s_cexp.c (__cexp): Likewise.
5731 * math/s_cexpf.c (__cexpf): Likewise.
5732 * math/s_cexpl.c (__cexpl): Likewise.
5733 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
5734 * math/s_clog10.c (__clog10): Likewise.
5735 * math/s_clog10f.c (__clog10f): Likewise.
5736 * math/s_clog10l.c (__clog10l): Likewise.
5737 * math/s_clogf.c (__clogf): Likewise.
5738 * math/s_clogl.c (__clogl): Likewise.
5739 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
5740 * math/s_csinf.c (__csinf): Likewise.
5741 * math/s_csinh.c (__csinh): Likewise.
5742 * math/s_csinhf.c (__csinhf): Likewise.
5743 * math/s_csinhl.c (__csinhl): Likewise.
5744 * math/s_csinl.c (__csinl): Likewise.
5745 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
5746 * math/s_csqrtf.c (__csqrtf): Likewise.
5747 * math/s_csqrtl.c (__csqrtl): Likewise.
5748 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
5749 * math/s_ctanf.c (__ctanf): Likewise.
5750 * math/s_ctanh.c (__ctanh): Likewise.
5751 * math/s_ctanhf.c (__ctanhf): Likewise.
5752 * math/s_ctanhl.c (__ctanhl): Likewise.
5753 * math/s_ctanl.c (__ctanl): Likewise.
5754 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
5755 instead of volatile.
5756 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
5757 math_check_force_underflow.
5758 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5759 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
5760 volatile when forcing underflow.
5761 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5762 math_check_force_underflow_nonneg.
5763 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5764 Likewise.
5765 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
5766 math_check_force_underflow.
5767 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5768 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5769 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5770 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
5771 math_check_force_underflow_nonneg.
5772 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
5773 math_check_force_underflow.
5774 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
5775 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
5776 instead of volatile.
5777 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
5778 math_check_force_underflow.
5779 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5780 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5781 math_check_force_underflow_nonneg.
5782 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
5783 math_check_force_underflow.
5784 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
5785 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5786 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
5787 math_check_force_underflow_nonneg.
5788 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5789 Likewise.
5790 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
5791 math_check_force_underflow.
5792 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5793 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
5794 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
5795 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
5796 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5797 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
5798 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
5799 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
5800 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5801 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
5802 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
5803 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
5804 Likewise.
5805 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
5806 math_check_force_underflow_nonneg.
5807 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5808 Likewise.
5809 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
5810 math_check_force_underflow.
5811 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5812 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
5813 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5814 Likewise.
5815 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
5816 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
5817 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
5818 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
5819 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
5820 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
5821 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
5822 instead of volatile.
5823 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
5824 math_check_force_underflow.
5825 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
5826 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
5827 math_check_force_underflow.
5828 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
5829 Likewise.
5830 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5831 Use math_check_force_underflow_nonneg.
5832 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
5833 math_check_force_underflow.
5834 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
5835 Likewise.
5836 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5837 Likewise.
5838 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5839 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5840 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5841 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5842 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
5843 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5844 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
5845 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
5846 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
5847 math_check_force_underflow_nonneg.
5848 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
5849 math_check_force_underflow.
5850 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5851 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
5852 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
5853 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
5854 math_check_force_underflow_nonneg.
5855 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
5856 math_check_force_underflow.
5857 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
5858 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
5859 instead of volatile.
5860 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
5861 math_check_force_underflow.
5862
5863 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
5864 * stdlib/strtod_l.c: Include <math_private.h>.
5865 (overflow_value): Use math_narrow_eval.
5866 (underflow_value): Likewise.
5867 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5868 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5869 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
5870 (__ieee754_gamma_r): Likewise.
5871 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
5872 Likewise.
5873 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5874 Likewise.
5875 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
5876 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
5877 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
5878 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
5879 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5880 (__ieee754_gammaf_r): Likewise.
5881 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5882 Likewise.
5883 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
5884 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
5885 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
5886 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
5887 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
5888 volatile.
5889 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
5890 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
5891 math_narrow_eval.
5892 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
5893 Likewise.
5894 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5895 Likewise.
5896 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
5897 Likewise.
5898 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
5899 volatile.
5900 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
5901 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
5902 math_narrow_eval.
5903 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5904 Likewise.
5905 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5906 Likewise.
5907
5908 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
5909
5910 * nptl/Versions: Remove ignored symbols.
5911
5912 2015-09-22 Florian Weimer <fweimer@redhat.com>
5913
5914 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
5915 * nss/Makefile (tests): Update.
5916
5917 2015-09-22 Florian Weimer <fweimer@redhat.com>
5918
5919 * nss/bug18287.c: New file.
5920 * nss/Makefile (tests): Add bug18287.
5921
5922 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5923
5924 * mach/Versions (__mach_host_self_): Add symbol.
5925
5926 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
5927
5928 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
5929 vm_page_size.
5930
5931 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5932
5933 Really fix sysdeps/i386/fpu/s_scalbn.S build
5934
5935 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
5936 (libc: GLIBC_2_22): Remove unused version set.
5937
5938 2015-09-18 Mike Frysinger <vapier@gentoo.org>
5939
5940 * config.make.in (enable-timezone-tools): New variable.
5941 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
5942 (enable_timezone_tools): Export to generated files.
5943 * configure: Regenerate.
5944 * INSTALL: Regenerate.
5945 * manual/install.texi (--disable-timezone-tools): Document new flag.
5946 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
5947 ifeq ($(enable-timezone-tools),yes) check.
5948
5949 2015-09-18 Joseph Myers <joseph@codesourcery.com>
5950
5951 * timezone/Makefile: Revert previous change.
5952
5953 [BZ #18980]
5954 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
5955 (DEFINE_DBL_MIN): Likewise.
5956 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
5957 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
5958 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
5959 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
5960 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
5961 (dbl_min): Replace with use of DEFINE_DBL_MIN.
5962 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5963 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
5964 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
5965 (dbl_min): Replace with use of DEFINE_DBL_MIN.
5966 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5967 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
5968 (flt_min): Replace with use of DEFINE_FLT_MIN.
5969 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5970 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
5971 (dbl_min): Replace with use of DEFINE_DBL_MIN.
5972 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5973 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
5974 (flt_min): Replace with use of DEFINE_FLT_MIN.
5975 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5976 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
5977 (flt_min): Replace with use of DEFINE_FLT_MIN.
5978 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5979 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
5980 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
5981 (__ieee754_hypot): Use DBL_NARROW_EVAL.
5982 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
5983 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
5984 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
5985 (__ieee754_pow): Use DBL_NARROW_EVAL.
5986 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
5987 (__ieee754_powf): Use FLT_NARROW_EVAL.
5988 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
5989 (__ieee754_expf_sse2): Convert double-precision result to single
5990 precision.
5991 * sysdeps/i386/fpu/libm-test-ulps: Update.
5992
5993 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
5994
5995 * timezone/Makefile: Ignore unused variable errors due to private.h
5996 (time_t_min) and (time_t_max).
5997 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
5998 Likewise.
5999
6000 2015-09-18 Joseph Myers <joseph@codesourcery.com>
6001
6002 [BZ #18981]
6003 * sysdeps/i386/fpu/i386-math-asm.h: New file.
6004 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
6005 (__ieee754_scalb): Use DBL_NARROW_EVAL.
6006 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
6007 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
6008 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
6009 (__scalbn): Use DBL_NARROW_EVAL.
6010 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
6011 (__scalbnf): Use FLT_NARROW_EVAL.
6012
6013 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
6014
6015 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
6016 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
6017 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
6018 * stdio-common/printf_fp.c (___printf_fp):
6019 Use signbit to get the sign. Use isinf macro to allow inlining.
6020 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
6021 * stdio-common/printf_size.c (__printf_size): Likewise.
6022
6023 2015-09-18 Mike Frysinger <vapier@gentoo.org>
6024
6025 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
6026
6027 2015-09-18 Joseph Myers <joseph@codesourcery.com>
6028
6029 [BZ #18980]
6030 * sysdeps/generic/math_private.h: Include <float.h>.
6031 (math_narrow_eval): New macro.
6032 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
6033 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
6034 math_narrow_eval on overflowing return value.
6035 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
6036 Likewise.
6037 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6038 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
6039 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
6040 Likewise.
6041 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6042
6043 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
6044
6045 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
6046 * math/Makefile: Remove isinf_ns.c.
6047 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
6048 * math/multc3.c (__multc3): Likewise.
6049 * math/s_casin.c (__casin): Likewise.
6050 * math/s_casinf.c (__casinf): Likewise.
6051 * math/s_casinl.c (__casinl): Likewise.
6052 * math/s_cproj.c (__cproj): Likewise.
6053 * math/s_cprojf.c (__cprojf): Likewise.
6054 * math/s_cprojl.c (__cprofl): Likewise.
6055 * math/s_ctan.c (__ctan): Likewise.
6056 * math/s_ctanf.c (__ctanf): Likewise.
6057 * math/s_ctanh.c (__ctanh): Likewise.
6058 * math/s_ctanhf.c (__ctanhf): Likewise.
6059 * math/s_ctanhl.c (__ctanhl): Likewise.
6060 * math/s_ctanl.c (__ctanl): Likewise.
6061 * math/w_fmod.c (__fmod): Likewise.
6062 * math/w_fmodf.c (__fmodf): Likewise.
6063 * math/w_fmodl.c (_fmodl): Likewise.
6064 * math/w_remainder.c (__remainder): Likewise.
6065 * math/w_remainderf.c (__remainderf): Likewise.
6066 * math/w_remainderl.c (__remainderl): Likewise.
6067 * math/w_scalb.c (__scalb): Likewise.
6068 * math/w_scalbf.c (__scalbf): Likewise.
6069 * math/w_scalbl.c (__scalbl): Likewise.
6070 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
6071 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
6072 with isinf.
6073 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
6074 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
6075 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
6076 __isinf_nsf with isinf.
6077 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
6078 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
6079 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
6080 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
6081 with isinf.
6082 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
6083 __isinf_nsl with isinf.
6084 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
6085 with isinf.
6086 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
6087 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
6088 __isinf_nsl with isinf.
6089 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
6090 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
6091 with isinf.
6092
6093 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
6094
6095 * resolv/base64.c (rcsid): Remove unused static.
6096 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
6097 static. (tqpi1): Likewise.
6098 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
6099 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
6100 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
6101 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
6102 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
6103 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
6104 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
6105 * timezone/private.h (time_t_min): Likewise. (time_t_max):
6106 Likewise.
6107
6108 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
6109
6110 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
6111 <nptl/pthreadP.h>.
6112 (_longjmp_unwind): Use __libc_ptf_call.
6113 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
6114
6115 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
6116
6117 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
6118 * sysdeps/arm/__longjmp.S: Likewise
6119
6120 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
6121
6122 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
6123 Use __builtin_signbit.
6124 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
6125 Use __builtin_signbitf.
6126 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
6127 Use __builtin_signbitl.
6128 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6129 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
6130
6131 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
6132
6133 [BZ #15367]
6134 [BZ #17441]
6135
6136 * math/Makefile: Build test-snan.c with -fsignaling-nans.
6137 * math/math.h (fpclassify): Use __builtin_fpclassify when
6138 available. (signbit): Use __builtin_signbit(f/l).
6139 (isfinite): Use__builtin_isfinite. (isnormal): Use
6140 __builtin_isnormal. (isnan): Use __builtin_isnan.
6141 (isinf): Use __builtin_isinf_sign.
6142
6143 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
6144
6145 * benchtests/Makefile: Add bench-math-inlines, link with libm.
6146 * benchtests/bench-math-inlines.c: New benchmark.
6147 * benchtests/bench-util.h: New file.
6148 * benchtests/bench-util.c: New file.
6149 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
6150
6151 2015-09-18 Carlos O'Donell <carlos@redhat.com>
6152
6153 * elf/tst-dlmopen1.c: Define TEST_SO.
6154 (do_test): Use TEST_SO.
6155
6156 * elf/dl-load.c: Include libc-internal.h.
6157 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
6158
6159 2015-09-18 Vincent Bernat <vincent@bernat.im>
6160
6161 [BZ #17887]
6162 * time/strptime_l.c (__strptime_internal): Make %z accept
6163 [+-]HH:MM time zones.
6164
6165 2015-09-18 Vincent Bernat <vincent@bernat.im>
6166
6167 [BZ #17886]
6168 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
6169 valid time zone.
6170
6171 2015-09-17 Mike Frysinger <vapier@gentoo.org>
6172
6173 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
6174 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
6175 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6176 (__ASSUME_FDATASYNC): Delete.
6177
6178 2015-09-17 Joseph Myers <joseph@codesourcery.com>
6179
6180 * conform/linknamespace.pl: Require weak undefined symbols to be
6181 in the standard namespace.
6182 (%strong_syms): Rename to %seen_syms.
6183 (%strong_seen): Rename to %seen_where.
6184
6185 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
6186
6187 [BZ #18970]
6188 * misc/error.c (error): Replace pthread_setcancelstate with
6189 __pthread_setcancelstate.
6190 (error_at_line): Likewise.
6191 * posix/wordexp.c (parse_comm): Likewise.
6192 * stdlib/fmtmsg.c (fmtmsg): Likewise.
6193 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
6194 (__pthread_setcancelstate): This.
6195 (pthread_setcancelstate): Add an alias.
6196 * nptl/nptl-init.c (pthread_functions): Replace
6197 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
6198 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
6199 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
6200 hidden_proto.
6201 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
6202 it with hidden_def.
6203 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
6204 (pthread_setcancelstate): Renamed to ...
6205 (__pthread_setcancelstate): This.
6206 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
6207 __libc_ptf_call with __pthread_setcancelstate.
6208
6209 2015-09-17 Joseph Myers <joseph@codesourcery.com>
6210 Andreas Schwab <schwab@suse.de>
6211
6212 [BZ #17118]
6213 * math/s_ctan.c (__ctan): Determine sign of zero real part of
6214 result when imaginary part of argument is infinite using sine and
6215 cosine.
6216 * math/s_ctanf.c (__ctanf): Likewise.
6217 * math/s_ctanl.c (__ctanl): Likewise.
6218 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
6219 of result when real part of argument is infinite using sine and
6220 cosine.
6221 * math/s_ctanhf.c (__ctanhf): Likewise.
6222 * math/s_ctanhl.c (__ctanhl): Likewise.
6223 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
6224 (ctanh_test_data): Add more tests of ctanh.
6225
6226 2015-09-17 Joseph Myers <joseph@codesourcery.com>
6227
6228 [BZ #15384]
6229 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
6230 bit-mask as in subtraction.
6231 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
6232 Likewise.
6233 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
6234 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
6235 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
6236
6237 [BZ #18951]
6238 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
6239 underflow exception for small results.
6240 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6241 Likewise.
6242 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6243 Likewise.
6244 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6245 Likewise.
6246 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6247 Likewise.
6248 * math/auto-libm-test-in: Add more tests of tgamma.
6249 * math/auto-libm-test-out: Regenerated.
6250
6251 2015-09-17 Andreas Schwab <schwab@suse.de>
6252
6253 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
6254
6255 2015-09-16 Joseph Myers <joseph@codesourcery.com>
6256
6257 [BZ #18977]
6258 * math/bits/mathcalls.h
6259 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
6260 not declare.
6261 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
6262 Likewise.
6263 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
6264 Likewise.
6265 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
6266 Likewise.
6267 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
6268 Likewise.
6269 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
6270 Likewise.
6271 * conform/data/math.h-data
6272 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
6273 function.
6274 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
6275 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
6276 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
6277 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
6278 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
6279 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
6280 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
6281 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
6282 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
6283 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
6284 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
6285
6286 [BZ #6803]
6287 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
6288 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
6289 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
6290 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
6291 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
6292 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
6293 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
6294 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
6295 [NO_LONG_DOUBLE] (scalbnl): Likewise.
6296 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
6297 Likewise.
6298 [NO_LONG_DOUBLE] (scalbnl): Likewise.
6299 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
6300 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
6301 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
6302 long_double_symbol calls.
6303 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
6304 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
6305 strong alias of __ldexpl.
6306 (scalbnl): Define using long_double_symbol.
6307 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
6308 Remove alias.
6309 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
6310 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
6311 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
6312 (scalbln_test_data): Add more errno expectations.
6313
6314 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
6315
6316 Cache the host port like we cache the task port. This way we do not
6317 need to call the kernel just to get the port. Furthermore, we no
6318 longer increase the reference count on every invocation of
6319 `mach_host_self'.
6320
6321 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
6322 Protect declarations against the macro expansion.
6323 * mach/mach_init.c (__mach_host_self_): New variable.
6324 (mach_init): Initialize `__mach_host_self_'.
6325 * mach/mach_init.h (__mach_host_self_): New declaration.
6326 (__mach_host_self, mach_host_self): New macros.
6327 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
6328 Release reference.
6329
6330 2015-09-16 Joseph Myers <joseph@codesourcery.com>
6331
6332 [BZ #4404]
6333 * po/de.po: Update from Translation Project.
6334
6335 [BZ #16415]
6336 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
6337 (__expm1l): Remove code to handle positive infinity and overflow.
6338 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
6339 variable.
6340 (__expm1l): Remove code to handle positive infinity and overflow.
6341
6342 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
6343 Paul Pluzhnikov <ppluzhnikov@google.com>
6344
6345 [BZ #18872]
6346 * stdio-common/Makefile (tst-printf-bz18872): New test.
6347 (tst-printf-bz18872-mem.out): Likewise.
6348 * stdio-common/tst-printf-bz18872.sh: Generate new test.
6349 * stdio-common/vfprintf.c: Fix memory leaks.
6350
6351 2015-09-16 Andreas Schwab <schwab@suse.de>
6352
6353 [BZ #17244]
6354 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
6355 Remove extra va_start/va_end calls.
6356
6357 [BZ #17243]
6358 * posix/execl.c (execl): Add missing va_end.
6359 * posix/execle.c (execle): Likewise.
6360 * posix/execlp.c (execlp): Likewise.
6361
6362 2015-09-15 Roland McGrath <roland@hack.frob.com>
6363
6364 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
6365 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
6366
6367 2015-09-15 Joseph Myers <joseph@codesourcery.com>
6368
6369 [BZ #18967]
6370 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
6371 undefine around includes of <bits/mathcalls.h>.
6372 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
6373 not declare function.
6374 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
6375 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
6376 (scalb): Likewise.
6377 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
6378 not define macro.
6379 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
6380 variable.
6381 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6382 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6383 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6384
6385 [BZ #18857]
6386 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
6387 return non-finite argument without doing ordered comparisons on
6388 it.
6389
6390 [BZ #16296]
6391 * math/fenv.h (fegetround): Use __attribute_pure__.
6392 * include/fenv.h (__fegetround): Likewise.
6393
6394 [BZ #18595]
6395 * math/s_ctan.c (__ctan): Force underflow exception for results
6396 whose real or imaginary part has small absolute value.
6397 * math/s_ctanf.c (__ctanf): Likewise.
6398 * math/s_ctanh.c (__ctanh): Likewise.
6399 * math/s_ctanhf.c (__ctanhf): Likewise.
6400 * math/s_ctanhl.c (__ctanhl): Likewise.
6401 * math/s_ctanl.c (__ctanl): Likewise.
6402 * math/auto-libm-test-in: Do not allow missing underflow for ctan
6403 and ctanh. Add more tests of ctan and ctanh.
6404
6405 [BZ #15918]
6406 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
6407 handling of cases where one argument is an infinity.
6408
6409 [BZ #18875]
6410 [BZ #18966]
6411 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
6412 (MO): New macro.
6413 (__ieee754_exp10): For small results, force underflow exception
6414 and remove excess range and precision from return value.
6415 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
6416 (MO): New macro.
6417 (__ieee754_exp10f): For small results, force underflow exception
6418 and remove excess range and precision from return value.
6419 * math/auto-libm-test-in: Add more tests of exp10.
6420 * math/auto-libm-test-out: Regenerated.
6421
6422 2015-09-14 Joseph Myers <joseph@codesourcery.com>
6423
6424 [BZ #18875]
6425 [BZ #18961]
6426 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
6427 (MO): New macro.
6428 (__ieee754_exp): For small results, force underflow exception and
6429 remove excess range and precision from return value.
6430 (__exp_finite): Likewise.
6431 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
6432 (MO): New macro.
6433 (__ieee754_expf): For small results, force underflow exception and
6434 remove excess range and precision from return value.
6435 (__expf_finite): Likewise.
6436 * math/auto-libm-test-in: Add more tests of exp.
6437 * math/auto-libm-test-out: Regenerated.
6438
6439 [BZ #16521]
6440 [BZ #18875]
6441 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
6442 small results.
6443 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
6444 (MO): New macro.
6445 (__ieee754_exp2): For small results, force underflow exception and
6446 remove excess range and precision from return value.
6447 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
6448 (MO): New macro.
6449 (__ieee754_exp2f): For small results, force underflow exception
6450 and remove excess range and precision from return value.
6451 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
6452 (MO): New macro.
6453 (__ieee754_exp2l): Force underflow exception for small results.
6454 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6455 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6456 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
6457 (MO): New macro.
6458 (__ieee754_exp2l): Force underflow exception for small results.
6459 * math/auto-libm-test-in: Add more tests or exp2.
6460 * math/auto-libm-test-out: Regenerated.
6461
6462 2015-09-14 Carlos O'Donell <carlos@redhat.com>
6463
6464 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
6465
6466 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
6467 /dev/null.
6468
6469 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
6470
6471 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6472 io fs process)): Drop spurious backslash.
6473
6474 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6475
6476 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
6477 Use sysinfo system call instead of parsing /proc/meminfo.
6478 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
6479 Likewise.
6480
6481 2015-09-11 Mike Frysinger <vapier@gentoo.org>
6482
6483 [BZ #16985]
6484 * programs/localedef.c (main): Display argv[remaining] when
6485 output_path is NULL.
6486
6487 2015-09-11 Joseph Myers <joseph@codesourcery.com>
6488
6489 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6490 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
6491 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
6492 tanh.
6493 * math/auto-libm-test-out: Regenerated.
6494 * sysdeps/i386/fpu/libm-test-ulps: Update.
6495 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6496 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6498
6499 2015-09-11 Roland McGrath <roland@hack.frob.com>
6500
6501 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
6502 Use 'override' keyword to freeze the value here, preventing
6503 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
6504
6505 2015-09-11 Joseph Myers <joseph@codesourcery.com>
6506
6507 [BZ #14912]
6508 * sysdeps/aarch64/bits/atomic.h: Move to ...
6509 * sysdeps/aarch64/atomic-machine.h: ...here.
6510 (_AARCH64_BITS_ATOMIC_H): Rename macro to
6511 _AARCH64_ATOMIC_MACHINE_H.
6512 * sysdeps/alpha/bits/atomic.h: Move to ...
6513 * sysdeps/alpha/atomic-machine.h: ...here.
6514 * sysdeps/arm/bits/atomic.h: Move to ...
6515 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
6516 * bits/atomic.h: Move to ...
6517 * sysdeps/generic/atomic-machine.h: ...here.
6518 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6519 * sysdeps/i386/bits/atomic.h: Move to ...
6520 * sysdeps/i386/atomic-machine.h: ...here.
6521 * sysdeps/ia64/bits/atomic.h: Move to ...
6522 * sysdeps/ia64/atomic-machine.h: ...here.
6523 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
6524 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
6525 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6526 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
6527 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
6528 * sysdeps/microblaze/bits/atomic.h: Move to ...
6529 * sysdeps/microblaze/atomic-machine.h: ...here.
6530 * sysdeps/mips/bits/atomic.h: Move to ...
6531 * sysdeps/mips/atomic-machine.h: ...here.
6532 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
6533 * sysdeps/powerpc/bits/atomic.h: Move to ...
6534 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
6535 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
6536 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
6537 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
6538 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
6539 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
6540 <atomic-machine.h> instead of <bits/atomic.h>.
6541 * sysdeps/s390/bits/atomic.h: Move to ...
6542 * sysdeps/s390/atomic-machine.h: ...here.
6543 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
6544 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
6545 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6546 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
6547 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
6548 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
6549 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
6550 * sysdeps/tile/bits/atomic.h: Move to ...
6551 * sysdeps/tile/atomic-machine.h: ...here.
6552 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
6553 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
6554 <sysdeps/tile/atomic-machine.h> instead of
6555 <sysdeps/tile/bits/atomic.h>.
6556 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6557 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
6558 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
6559 <sysdeps/tile/atomic-machine.h> instead of
6560 <sysdeps/tile/bits/atomic.h>.
6561 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6562 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
6563 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
6564 <sysdeps/arm/atomic-machine.h> instead of
6565 <sysdeps/arm/bits/atomic.h>.
6566 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
6567 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
6568 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6569 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
6570 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
6571 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6572 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
6573 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
6574 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
6575 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
6576 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
6577 * sysdeps/x86_64/bits/atomic.h: Move to ...
6578 * sysdeps/x86_64/atomic-machine.h: ...here.
6579 * include/atomic.h: Include <atomic-machine.h> instead of
6580 <bits/atomic.h>.
6581
6582 * sysdeps/mips/mips32/libm-test-ulps: Update.
6583 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6584
6585 [BZ #18952]
6586 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
6587 not convert non-integer negative arguments to int to determine the
6588 value of signgam.
6589 * math/auto-libm-test-in: Add more tests of lgamma.
6590 * math/auto-libm-test-out: Regenerated.
6591
6592 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
6593 cosh, csqrt, erfc, expm1 and lgamma.
6594 * math/auto-libm-test-out: Regenerated.
6595 * sysdeps/i386/fpu/libm-test-ulps: Update.
6596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6597
6598 2015-09-10 Joseph Myers <joseph@codesourcery.com>
6599
6600 [BZ #2542]
6601 [BZ #2543]
6602 [BZ #2558]
6603 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
6604 __lgamma_neg for arguments from -28.0 to -2.0.
6605 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
6606 __lgamma_negf for arguments from -15.0 to -2.0.
6607 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6608 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
6609 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
6610 Call __lgamma_negl for arguments from -33.0 to -2.0.
6611 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
6612 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
6613 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6614 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
6615 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6616 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6617 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6618 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
6619 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6620 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
6621 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
6622 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
6623 (__lgamma_neg): Likewise.
6624 (__lgamma_negl): Likewise.
6625 (__lgamma_product): Likewise.
6626 (__lgamma_productl): Likewise.
6627 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
6628 * math/auto-libm-test-in: Add more tests of lgamma.
6629 * math/auto-libm-test-out: Regenerated.
6630 * sysdeps/i386/fpu/libm-test-ulps: Update.
6631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6632
6633 2015-09-09 Justin Maggard <jmaggard@netgear.com>
6634
6635 [BZ #18675]
6636 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
6637
6638 2015-09-08 Joseph Myers <joseph@codesourcery.com>
6639
6640 [BZ #14912]
6641 * bits/libc-lock.h: Move to ...
6642 * sysdeps/generic/libc-lock.h: ...here.
6643 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6644 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
6645 * sysdeps/mach/hurd/libc-lock.h: ...here.
6646 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6647 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
6648 * sysdeps/mach/bits/libc-lock.h: Move to ...
6649 * sysdeps/mach/libc-lock.h: ...here.
6650 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6651 * sysdeps/nptl/bits/libc-lock.h: Move to ...
6652 * sysdeps/nptl/libc-lock.h: ...here.
6653 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6654 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
6655 * sysdeps/nptl/libc-lockP.h: ...here.
6656 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
6657 * crypt/crypt_util.c: Include <libc-lock.h> instead of
6658 <bits/libc-lock.h>.
6659 * dirent/scandir-tail.c: Likewise.
6660 * dlfcn/dlerror.c: Likewise.
6661 * elf/dl-close.c: Likewise.
6662 * elf/dl-iteratephdr.c: Likewise.
6663 * elf/dl-lookup.c: Likewise.
6664 * elf/dl-open.c: Likewise.
6665 * elf/dl-support.c: Likewise.
6666 * elf/dl-writev.h: Likewise.
6667 * elf/rtld.c: Likewise.
6668 * grp/fgetgrent.c: Likewise.
6669 * gshadow/fgetsgent.c: Likewise.
6670 * gshadow/sgetsgent.c: Likewise.
6671 * iconv/gconv_conf.c: Likewise.
6672 * iconv/gconv_db.c: Likewise.
6673 * iconv/gconv_dl.c: Likewise.
6674 * iconv/gconv_int.h: Likewise.
6675 * iconv/gconv_trans.c: Likewise.
6676 * include/link.h: Likewise.
6677 * inet/getnameinfo.c: Likewise.
6678 * inet/getnetgrent.c: Likewise.
6679 * inet/getnetgrent_r.c: Likewise.
6680 * intl/bindtextdom.c: Likewise.
6681 * intl/dcigettext.c: Likewise.
6682 * intl/finddomain.c: Likewise.
6683 * intl/gettextP.h: Likewise.
6684 * intl/loadmsgcat.c: Likewise.
6685 * intl/localealias.c: Likewise.
6686 * intl/textdomain.c: Likewise.
6687 * libidn/idn-stub.c: Likewise.
6688 * libio/libioP.h: Likewise.
6689 * locale/duplocale.c: Likewise.
6690 * locale/freelocale.c: Likewise.
6691 * locale/newlocale.c: Likewise.
6692 * locale/setlocale.c: Likewise.
6693 * login/getutent_r.c: Likewise.
6694 * login/getutid_r.c: Likewise.
6695 * login/getutline_r.c: Likewise.
6696 * login/utmp-private.h: Likewise.
6697 * login/utmpname.c: Likewise.
6698 * malloc/mtrace.c: Likewise.
6699 * misc/efgcvt.c: Likewise.
6700 * misc/error.c: Likewise.
6701 * misc/fstab.c: Likewise.
6702 * misc/getpass.c: Likewise.
6703 * misc/mntent.c: Likewise.
6704 * misc/syslog.c: Likewise.
6705 * nis/nis_call.c: Likewise.
6706 * nis/nis_callback.c: Likewise.
6707 * nis/nss-default.c: Likewise.
6708 * nis/nss_compat/compat-grp.c: Likewise.
6709 * nis/nss_compat/compat-initgroups.c: Likewise.
6710 * nis/nss_compat/compat-pwd.c: Likewise.
6711 * nis/nss_compat/compat-spwd.c: Likewise.
6712 * nis/nss_nis/nis-alias.c: Likewise.
6713 * nis/nss_nis/nis-ethers.c: Likewise.
6714 * nis/nss_nis/nis-grp.c: Likewise.
6715 * nis/nss_nis/nis-hosts.c: Likewise.
6716 * nis/nss_nis/nis-network.c: Likewise.
6717 * nis/nss_nis/nis-proto.c: Likewise.
6718 * nis/nss_nis/nis-pwd.c: Likewise.
6719 * nis/nss_nis/nis-rpc.c: Likewise.
6720 * nis/nss_nis/nis-service.c: Likewise.
6721 * nis/nss_nis/nis-spwd.c: Likewise.
6722 * nis/nss_nisplus/nisplus-alias.c: Likewise.
6723 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6724 * nis/nss_nisplus/nisplus-grp.c: Likewise.
6725 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6726 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
6727 * nis/nss_nisplus/nisplus-network.c: Likewise.
6728 * nis/nss_nisplus/nisplus-proto.c: Likewise.
6729 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6730 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
6731 * nis/nss_nisplus/nisplus-service.c: Likewise.
6732 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6733 * nis/ypclnt.c: Likewise.
6734 * nptl/libc_pthread_init.c: Likewise.
6735 * nss/getXXbyYY.c: Likewise.
6736 * nss/getXXent.c: Likewise.
6737 * nss/getXXent_r.c: Likewise.
6738 * nss/nss_db/db-XXX.c: Likewise.
6739 * nss/nss_db/db-netgrp.c: Likewise.
6740 * nss/nss_db/nss_db.h: Likewise.
6741 * nss/nss_files/files-XXX.c: Likewise.
6742 * nss/nss_files/files-alias.c: Likewise.
6743 * nss/nsswitch.c: Likewise.
6744 * posix/regex_internal.h: Likewise.
6745 * posix/wordexp.c: Likewise.
6746 * pwd/fgetpwent.c: Likewise.
6747 * resolv/res_hconf.c: Likewise.
6748 * resolv/res_libc.c: Likewise.
6749 * shadow/fgetspent.c: Likewise.
6750 * shadow/lckpwdf.c: Likewise.
6751 * shadow/sgetspent.c: Likewise.
6752 * socket/opensock.c: Likewise.
6753 * stdio-common/reg-modifier.c: Likewise.
6754 * stdio-common/reg-printf.c: Likewise.
6755 * stdio-common/reg-type.c: Likewise.
6756 * stdio-common/vfprintf.c: Likewise.
6757 * stdio-common/vfscanf.c: Likewise.
6758 * stdlib/abort.c: Likewise.
6759 * stdlib/cxa_atexit.c: Likewise.
6760 * stdlib/fmtmsg.c: Likewise.
6761 * stdlib/random.c: Likewise.
6762 * stdlib/setenv.c: Likewise.
6763 * string/strsignal.c: Likewise.
6764 * sunrpc/auth_none.c: Likewise.
6765 * sunrpc/bindrsvprt.c: Likewise.
6766 * sunrpc/create_xid.c: Likewise.
6767 * sunrpc/key_call.c: Likewise.
6768 * sunrpc/rpc_thread.c: Likewise.
6769 * sysdeps/arm/backtrace.c: Likewise.
6770 * sysdeps/generic/ldsodefs.h: Likewise.
6771 * sysdeps/generic/stdio-lock.h: Likewise.
6772 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
6773 * sysdeps/i386/backtrace.c: Likewise.
6774 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6775 * sysdeps/m68k/backtrace.c: Likewise.
6776 * sysdeps/mach/hurd/cthreads.c: Likewise.
6777 * sysdeps/mach/hurd/dirstream.h: Likewise.
6778 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
6779 * sysdeps/nptl/malloc-machine.h: Likewise.
6780 * sysdeps/nptl/stdio-lock.h: Likewise.
6781 * sysdeps/posix/dirstream.h: Likewise.
6782 * sysdeps/posix/getaddrinfo.c: Likewise.
6783 * sysdeps/posix/system.c: Likewise.
6784 * sysdeps/pthread/aio_suspend.c: Likewise.
6785 * sysdeps/s390/s390-32/backtrace.c: Likewise.
6786 * sysdeps/s390/s390-64/backtrace.c: Likewise.
6787 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6788 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6789 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
6790 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
6791 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
6792 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6793 * sysdeps/unix/sysv/linux/system.c: Likewise.
6794 * sysdeps/x86_64/backtrace.c: Likewise.
6795 * time/alt_digit.c: Likewise.
6796 * time/era.c: Likewise.
6797 * time/tzset.c: Likewise.
6798 * wcsmbs/wcsmbsload.c: Likewise.
6799 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
6800 instead of <bits/libc-lock.h> in comment.
6801
6802 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
6803
6804 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
6805 Only use .set mips2 if the current ISA is below mips2.
6806 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
6807 Likewise.
6808 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
6809 mips32r2 if the current ISA is below mips32r2.
6810 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
6811 (TLS_IE): Updated to use the TLD_RDHWR macro.
6812 (TLS_LE): Likewise.
6813 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
6814 __ASSEMBLER__ condition.
6815
6816 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
6817
6818 Fix parallel build of before-compile targets.
6819
6820 * sysdeps/mach/Makefile ($(patsubst
6821 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
6822 mach-before-compile target.
6823 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6824 io fs process)): Move rule to dedicated hurd-before-compile target.
6825
6826 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6827
6828 Fix rules generating headers in hurd/ and mach/ when initial make call
6829 has subdir= explicitly set.
6830
6831 * sysdeps/mach/Makefile ($(patsubst
6832 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
6833 calling $(MAKE).
6834 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6835 io fs process)): Force subdir to hurd when calling $(MAKE).
6836 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
6837 subdir to mach when calling $(MAKE).
6838
6839 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
6840
6841 Check sysheaders when looking for Mach and Hurd headers
6842
6843 * sysdeps/mach/configure.ac: Add sysheaders check.
6844 * sysdeps/mach/configure: Regenerate.
6845 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
6846 * sysdeps/mach/hurd/configure: Regenerate.
6847
6848 2015-09-04 Roland McGrath <roland@hack.frob.com>
6849
6850 [BZ #18921]
6851 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
6852 Fix inverted sense of test of 'o_directory_works' value.
6853 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
6854 Bernhard Voelker <mail@bernhard-voelker.de>.
6855
6856 2015-09-04 Joseph Myers <joseph@codesourcery.com>
6857
6858 [BZ #14912]
6859 * bits/linkmap.h: Move to ...
6860 * sysdeps/generic/linkmap.h: ...here.
6861 * sysdeps/aarch64/bits/linkmap.h: Move to ...
6862 * sysdeps/aarch64/linkmap.h: ...here.
6863 * sysdeps/arm/bits/linkmap.h: Move to ...
6864 * sysdeps/arm/linkmap.h: ...here.
6865 * sysdeps/hppa/bits/linkmap.h: Move to ...
6866 * sysdeps/hppa/linkmap.h: ...here.
6867 * sysdeps/ia64/bits/linkmap.h: Move to ...
6868 * sysdeps/ia64/linkmap.h: ...here.
6869 * sysdeps/mips/bits/linkmap.h: Move to ...
6870 * sysdeps/mips/linkmap.h: ...here.
6871 * sysdeps/s390/bits/linkmap.h: Move to ...
6872 * sysdeps/s390/linkmap.h: ...here.
6873 * sysdeps/sh/bits/linkmap.h: Move to ...
6874 * sysdeps/sh/linkmap.h: ...here.
6875 * sysdeps/x86/bits/linkmap.h: Move to ...
6876 * sysdeps/x86/linkmap.h: ...here.
6877 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
6878
6879 2015-09-04 Andreas Schwab <schwab@suse.de>
6880
6881 [BZ #18635]
6882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
6883 (__makecontext): Terminate FDE before return label.
6884 (__novec_makecontext): Likewise.
6885
6886 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
6887
6888 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
6889 first member of struct sv in syscall macro.
6890
6891 2015-09-04 Joseph Myers <joseph@codesourcery.com>
6892
6893 [BZ #14912]
6894 * bits/stdio-lock.h: Move to ...
6895 * sysdeps/generic/stdio-lock.h: ...here.
6896 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
6897 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
6898 * sysdeps/nptl/stdio-lock.h: ...here.
6899 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
6900 * include/libio.h: Include <stdio-lock.h> instead of
6901 <bits/stdio-lock.h>.
6902 * sysdeps/nptl/fork.c: Likewise.
6903 * sysdeps/pthread/flockfile.c: Likewise.
6904 * sysdeps/pthread/ftrylockfile.c: Likewise.
6905 * sysdeps/pthread/funlockfile.c: Likewise.
6906
6907 [BZ #14912]
6908 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
6909 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
6910 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
6911 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
6912 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
6913 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
6914 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
6915
6916 2015-09-03 Roland McGrath <roland@hack.frob.com>
6917
6918 * elf/Makefile (test-xfail-tst-protected1a): New variable.
6919 (test-xfail-tst-protected1b): New variable.
6920
6921 2015-09-03 Joseph Myers <joseph@codesourcery.com>
6922
6923 [BZ #14912]
6924 * bits/libc-tsd.h: Move to ...
6925 * sysdeps/generic/libc-tsd.h: ...here.
6926 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
6927 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
6928 * sysdeps/mach/hurd/libc-tsd.h: ...here.
6929 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
6930 * include/ctype.h: Include <libc-tsd.h> instead of
6931 <bits/libc-tsd.h>.
6932 * include/rpc/rpc.h: Likewise.
6933 * locale/localeinfo.h: Likewise.
6934 * sunrpc/rpc_thread.c: Likewise.
6935 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
6936 * sysdeps/nptl/malloc-machine.h: Likewise.
6937
6938 * Makefile (headers): Remove bits/libc-lock.h.
6939 * libio/Makefile (headers): Remove bits/stdio-lock.h.
6940
6941 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
6942 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
6943 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
6944 <bits/stdio-lock.h>.
6945 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
6946 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
6947
6948 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6949
6950 [BZ #18757]
6951 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
6952 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
6953 BZ #18757.
6954
6955 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6956
6957 * malloc/mtrace.pl: Filter out NULL entries.
6958
6959 2015-09-01 Joseph Myers <joseph@codesourcery.com>
6960
6961 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
6962 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
6963 macro.
6964
6965 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
6966 (TCP_CC_INFO): Likewise.
6967 (TCP_SAVE_SYN): Likewise.
6968 (TCP_SAVED_SYN): Likewise.
6969
6970 2015-08-31 Brett Neumeier <brett@neumeier.us>
6971
6972 [BZ #18870]
6973 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
6974
6975 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
6976
6977 [BZ #18873]
6978 Fix broken overflow check in posix_fallocate
6979 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
6980 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6981 Fix parenthesization typo.
6982
6983 2015-08-28 Mike Frysinger <vapier@gentoo.org>
6984
6985 [BZ #18887]
6986 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
6987 tst-mntent-blank-passno.
6988 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
6989 * misc/tst-mntent-blank-corrupt.c: New test.
6990 * misc/tst-mntent-blank-passno.c: New test ripped from ...
6991 * misc/tst-mntent.c (do_test): ... here.
6992
6993 2015-08-29 Mike Frysinger <vapier@gentoo.org>
6994
6995 [BZ #4404]
6996 * po/de.po: Fix SIGALRM typo.
6997
6998 2015-08-28 James Perkins <james@loowit.net>
6999
7000 * time/tst-strptime2.c (tests): Replace short list of test
7001 strings for strptime %z specifier with code which exhaustively
7002 tests every combination of sign and 0 to 5 digits. Tests for
7003 rejection of invalid strings.
7004
7005 2015-08-28 James Perkins <james@loowit.net>
7006
7007 [BZ #16141]
7008 * time/strptime_l.c (__strptime_internal): Fix %z minutes
7009 calculation, removing incorrect decimal time rounding, so that
7010 all minute values result in a valid seconds value.
7011 * time/strptime_l.c (__strptime_internal): Extend %z time zone
7012 offset range limits to UTC-99:59 through UTC+99:59 to parse
7013 current and historical use cases.
7014 * time/tst-strptime2.c (tests): Modify and add tests for the
7015 strptime %z input field descriptor, specifically conversion of
7016 minutes to seconds and validating an offset range of -9959 to
7017 +9959.
7018
7019 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7020 Dmitry V. Levin <ldv@altlinux.org>
7021
7022 [BZ #18877]
7023 * posix/Makefile (tests): Add tst-mmap-offset.
7024 * posix/tst-mmap.c: New file.
7025 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
7026 offset calculation for negative values.
7027
7028 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
7029
7030 * sysdeps/i386/init-arch.h: New file.
7031 * sysdeps/i386/i586/init-arch.h: Likewise.
7032 * sysdeps/i386/i686/init-arch.h: Likewise.
7033 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
7034 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
7035 * sysdeps/x86/cpu-features.h (bit_I586): New.
7036 (bit_I686): Likewise.
7037 (bit_CX8): Likewise.
7038 (bit_CMOV): Likewise.
7039 (index_CX8): Likewise.
7040 (index_CMOV): Likewise.
7041 (index_I586): Likewise.
7042 (index_I686): Likewise.
7043 (reg_CX8): Likewise.
7044 (reg_CMOV): Likewise.
7045 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
7046 available at compile-time.
7047 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
7048 available at compile-time.
7049 * sysdeps/x86/init-arch.h (USE_I586): New macro.
7050 (USE_I686): Likewise.
7051
7052 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
7053
7054 * sysdeps/i386/bcopy.S: New file.
7055 * sysdeps/i386/bzero.S: Likewise.
7056 * sysdeps/i386/memcpy.S: Likewise.
7057 * sysdeps/i386/memmove.S: Likewise.
7058 * sysdeps/i386/mempcpy.S: Likewise.
7059 * sysdeps/i386/memset.S: Likewise.
7060 * sysdeps/i386/bzero.c: Removed.
7061 * sysdeps/i386/memset.c: Likewise.
7062 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
7063 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
7064 * sysdeps/i386/i586/memset_chk.S: Likewise.
7065 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
7066 * sysdeps/i386/memcpy_chk.S: Here.
7067 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
7068 * sysdeps/i386/memmove_chk.S: Here.
7069 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
7070 * sysdeps/i386/mempcpy_chk.S: Likewise.
7071 * sysdeps/i386/i686/memset_chk.S: Moved to ...
7072 * sysdeps/i386/memset_chk.S: Likewise.
7073
7074 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
7075
7076 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
7077 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
7078 file, move DIAG_POP_NEEDS_COMMENT to end of file.
7079 * soft-fp/fmadf4.c: Ditto.
7080 * soft-fp/fmatf4.c: Ditto.
7081
7082 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
7083
7084 * sysdeps/i386/i586/Implies: Removed.
7085 * sysdeps/i386/i686/Implies: Likewise.
7086
7087 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
7088
7089 * sysdeps/i386/i486/strlen.S: Moved to ...
7090 * sysdeps/i386/strlen.S: Here.
7091
7092 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
7093
7094 * sysdeps/i386/i486/strcat.S: Moved to ...
7095 * sysdeps/i386/strcat.S: Here.
7096
7097 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
7098
7099 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
7100 * sysdeps/i386/pthread_spin_trylock.S: Here.
7101 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
7102 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
7103
7104 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
7105
7106 * sysdeps/i386/i486/string-inlines.c: Moved to ...
7107 * sysdeps/i386/string-inlines.c: Here.
7108
7109 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
7110
7111 * sysdeps/i386/i486/htonl.S: Moved ...
7112 * sysdeps/i386/htonl.S: here.
7113
7114 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
7115
7116 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
7117 * sysdeps/i386/bits/atomic.h: Here.
7118
7119 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
7120
7121 * sysdeps/i386/i486/Versions: Removed.
7122
7123 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
7124
7125 [BZ #2898]
7126 * misc/mktemp.c: Add mkdtemp to the link_warning message.
7127 Based on patch by Aurelien Jarno.
7128
7129 2015-08-26 Stan Shebs <stanshebs@google.com>
7130
7131 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
7132 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7133
7134 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7135
7136 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
7137 * sysdeps/powerpc/dl-procinfo.c:
7138 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
7139 feature so it shows when LD_SHOW_AUXV=1.
7140
7141 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7142
7143 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7144 (__arch_compare_and_exchange_val_32_acq): Remove and use common
7145 definition. ISA 2.07B no longer requires full sync.
7146
7147 2015-08-26 Mike Frysinger <vapier@gentoo.org>
7148
7149 [BZ #18863]
7150 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
7151 (si_call_addr): Define.
7152 (si_syscall): Define.
7153 (si_arch): Define.
7154
7155 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
7156
7157 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
7158 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
7159 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
7160 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7161 (__memset_zero_constant_len_parameter): New.
7162 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
7163 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7164 (__memset_zero_constant_len_parameter): Don't define if
7165 __memset_chk or USE_AS_BZERO are defined.
7166
7167 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
7168 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
7169 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
7170
7171 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
7172 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
7173 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
7174 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
7175 comments.
7176 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
7177 -mno-mmx for $(all-rtld-routines).
7178 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
7179 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
7180 i386.
7181
7182 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7183
7184 * sysdeps/generic/unwind.h
7185 (_Unwind_Word): Use __mode__(__unwind_word__)
7186 instead of __mode__(__word__).
7187 (_Unwind_Sword): Likewise.
7188
7189 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7190 (MAX_NEEDED_INPUT): New define.
7191 (MAX_NEEDED_OUTPUT): New define.
7192
7193 * NEWS: New item for IBM z13 string optimizations.
7194
7195 * sysdeps/s390/multiarch/memrchr-c.c: New File.
7196 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
7197 * sysdeps/s390/multiarch/memrchr.c: Likewise.
7198 * sysdeps/s390/multiarch/Makefile
7199 (sysdep_routines): Add memrchr functions.
7200 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7201 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
7202
7203 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
7204 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
7205 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
7206 * sysdeps/s390/multiarch/Makefile
7207 (sysdep_routines): Add wmemcmp functions.
7208 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7209 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
7210 * benchtests/bench-wmemcmp.c: New File.
7211 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
7212
7213 * sysdeps/s390/multiarch/wmemset-c.c: New File.
7214 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
7215 * sysdeps/s390/multiarch/wmemset.c: Likewise.
7216 * sysdeps/s390/multiarch/Makefile
7217 (sysdep_routines): Add wmemset functions.
7218 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7219 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
7220 * wcsmbs/wmemset.c: Use WMEMSET if defined.
7221 * string/test-memset.c: Add wmemset support.
7222 * wcsmbs/test-wmemset.c: New File.
7223 * wcsmbs/Makefile (strop-tests): Add wmemset.
7224 * benchtests/bench-memset.c: Add wmemset support.
7225 * benchtests/bench-wmemset.c: New File.
7226 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
7227
7228 * sysdeps/s390/multiarch/memccpy-c.c: New File.
7229 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
7230 * sysdeps/s390/multiarch/memccpy.c: Likewise.
7231 * sysdeps/s390/multiarch/Makefile
7232 (sysdep_routines): Add memccpy functions.
7233 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7234 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
7235 * string/memccpy.c: Use MEMCCPY if defined.
7236
7237 * sysdeps/s390/multiarch/memchr-vx.S: New File.
7238 * sysdeps/s390/multiarch/memchr.c: Likewise.
7239 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
7240 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
7241 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
7242 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
7243 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
7244 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
7245 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
7246 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
7247 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
7248 and rawmemchr functions.
7249 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7250 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
7251 and wmemchr.
7252 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
7253 * string/test-memchr.c: Add wmemchr support.
7254 * wcsmbs/test-wmemchr.c: New File.
7255 * wcsmbs/Makefile (strop-tests): Add wmemchr.
7256 * benchtests/bench-memchr.c: Add wmemchr support.
7257 * benchtests/bench-wmemchr.c: New File.
7258 * benchtests/Makefile (wcsmbs-bench): wmemchr.
7259
7260 * sysdeps/s390/multiarch/strcspn-c.c: New File.
7261 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
7262 * sysdeps/s390/multiarch/strcspn.c: Likewise.
7263 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
7264 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
7265 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
7266 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
7267 wcscspn functions.
7268 * sysdeps/s390/multiarch/ifunc-impl-list.c
7269 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
7270 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
7271 * string/test-strcspn.c: Add wcscspn support.
7272 * wcsmbs/test-wcscspn.c: New File.
7273 * wcsmbs/Makefile (strop-tests): Add wcscspn.
7274 * benchtests/bench-strcspn.c: Add wcscspn support.
7275 * benchtests/bench-wcscspn.c: New File.
7276 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
7277
7278 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
7279 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
7280 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
7281 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
7282 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
7283 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
7284 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
7285 wcspbrk functions.
7286 * sysdeps/s390/multiarch/ifunc-impl-list.c
7287 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
7288 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
7289 * string/test-strpbrk.c: Add wcspbrk support.
7290 * wcsmbs/test-wcspbrk.c: New File.
7291 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
7292 * benchtests/bench-strpbrk.c: Add wcspbrk support.
7293 * benchtests/bench-wcspbrk.c: New File.
7294 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
7295
7296 * sysdeps/s390/multiarch/strspn-c.c: New File.
7297 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
7298 * sysdeps/s390/multiarch/strspn.c: Likewise.
7299 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
7300 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
7301 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
7302 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
7303 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
7304 wcsspn functions.
7305 * sysdeps/s390/multiarch/ifunc-impl-list.c
7306 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
7307 * string/test-strspn.c: Add wcsspn support.
7308 * wcsmbs/test-wcsspn.c: New File.
7309 * wcsmbs/Makefile (strop-tests): Add wcsspn.
7310 * benchtests/bench-strspn.c: Add wcsspn support.
7311 * benchtests/bench-wcsspn.c: New File.
7312 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
7313
7314 * sysdeps/s390/multiarch/strrchr-c.c: New File.
7315 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
7316 * sysdeps/s390/multiarch/strrchr.c: Likewise.
7317 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
7318 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
7319 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
7320 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
7321 wcsrchr functions.
7322 * sysdeps/s390/multiarch/ifunc-impl-list.c
7323 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
7324 * benchtests/bench-wcsrchr.c: New File.
7325 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
7326
7327 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
7328 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
7329 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
7330 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
7331 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
7332 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
7333 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
7334 wcschrnul functions.
7335 * sysdeps/s390/multiarch/ifunc-impl-list.c
7336 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
7337 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
7338 * string/test-strchr.c: Add wcschrnul support.
7339 * wcsmbs/test-wcschrnul.c: New File.
7340 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
7341 * benchtests/bench-strchr.c: Add wcschrnul support.
7342 * benchtests/bench-wcschrnul.c: New File.
7343 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
7344
7345 * sysdeps/s390/multiarch/strchr-c.c: New File.
7346 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
7347 * sysdeps/s390/multiarch/strchr.c: Likewise.
7348 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
7349 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
7350 * sysdeps/s390/multiarch/wcschr.c: Likewise.
7351 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
7352 wcschr functions.
7353 * sysdeps/s390/multiarch/ifunc-impl-list.c
7354 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
7355 * string/strchr.c (STRCHR): Define and use macro.
7356 * benchtests/bench-wcschr.c: New File.
7357 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
7358
7359 * sysdeps/s390/multiarch/strncmp-c.c: New File.
7360 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
7361 * sysdeps/s390/multiarch/strncmp.c: Likewise.
7362 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
7363 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
7364 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
7365 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
7366 wcsncmp functions.
7367 * sysdeps/s390/multiarch/ifunc-impl-list.c
7368 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
7369 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
7370 * benchtests/bench-strncmp.c: Add wcsncmp support.
7371 * benchtests/bench-wcsncmp.c: New File.
7372 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
7373
7374 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
7375 * sysdeps/s390/multiarch/strcmp.c: Likewise.
7376 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
7377 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
7378 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
7379 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
7380 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
7381 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
7382 wcscmp functions.
7383 * sysdeps/s390/multiarch/ifunc-impl-list.c
7384 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
7385 * string/strcmp.c (STRCMP): Define and use macro.
7386 * benchtests/bench-wcscmp.c: New File.
7387 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
7388 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
7389 instead of _HAVE_STRING_ARCH_memchr.
7390
7391 * sysdeps/s390/multiarch/strncat-c.c: New File.
7392 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
7393 * sysdeps/s390/multiarch/strncat.c: Likewise.
7394 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
7395 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
7396 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
7397 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
7398 wcsncat functions.
7399 * sysdeps/s390/multiarch/ifunc-impl-list.c
7400 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
7401 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
7402 * string/test-strncat.c: Add wcsncat support.
7403 * wcsmbs/test-wcsncat.c: New File.
7404 * wcsmbs/Makefile (strop-tests): Add wcsncat.
7405 * benchtests/bench-strncat.c: Add wcsncat support.
7406 * benchtests/bench-wcsncat.c: New File.
7407 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
7408
7409 * sysdeps/s390/multiarch/strcat-c.c: New File.
7410 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
7411 * sysdeps/s390/multiarch/strcat.c: Likewise.
7412 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
7413 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
7414 * sysdeps/s390/multiarch/wcscat.c: Likewise.
7415 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
7416 wcscat functions.
7417 * sysdeps/s390/multiarch/ifunc-impl-list.c
7418 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
7419 * string/strcat.c (STRCAT): Define and use macro.
7420 * wcsmbs/wcscat.c: Use WCSCAT if defined.
7421 * string/test-strcat.c: Add wcscat support.
7422 * wcsmbs/test-wcscat.c: New File.
7423 * wcsmbs/Makefile (strop-tests): Add wcscat.
7424 * benchtests/bench-strcat.c: Add wcscat support.
7425 * benchtests/bench-wcscat.c: New File.
7426 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
7427
7428 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
7429 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
7430 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
7431 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
7432 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
7433 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
7434 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
7435 wcpncpy functions.
7436 * sysdeps/s390/multiarch/ifunc-impl-list.c
7437 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
7438 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
7439 * string/test-stpncpy.c: Add wcpncpy support.
7440 * wcsmbs/test-wcpncpy.c: New File.
7441 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
7442 * benchtests/bench-stpncpy.c: Add wcpncpy support.
7443 * benchtests/bench-wcpncpy.c: New File.
7444 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
7445
7446 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
7447 * sysdeps/s390/multiarch/strncpy.c: Likewise.
7448 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
7449 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
7450 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
7451 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
7452 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7453 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
7454 wcsncpy functions.
7455 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
7456 * sysdeps/s390/multiarch/ifunc-impl-list.c
7457 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
7458 * string/test-strncpy.c: Add wcsncpy support.
7459 * wcsmbs/test-wcsncpy.c: New File.
7460 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
7461 * benchtests/bench-strncpy.c: Add wcsncpy support.
7462 * benchtests/bench-wcsncpy.c: New File.
7463 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
7464
7465 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
7466 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
7467 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
7468 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
7469 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
7470 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
7471 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
7472 wcpcpy functions.
7473 * string/stpcpy.c: Use STPCPY if defined.
7474 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
7475 * sysdeps/s390/multiarch/ifunc-impl-list.c
7476 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
7477 * string/test-stpcpy.c: Add wcpcpy support.
7478 * wcsmbs/test-wcpcpy.c: New File.
7479 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
7480 * benchtests/bench-stpcpy.c: Add wcpcpy support.
7481 * benchtests/bench-wcpcpy.c: New File.
7482 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
7483
7484 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
7485 * sysdeps/s390/multiarch/strcpy.c: Likewise.
7486 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
7487 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
7488 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
7489 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
7490 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7491 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
7492 wcscpy functions.
7493 * sysdeps/s390/multiarch/ifunc-impl-list.c
7494 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
7495 * benchtests/bench-wcscpy.c: New File.
7496 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
7497
7498 * sysdeps/s390/multiarch/strnlen-c.c: New File.
7499 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
7500 * sysdeps/s390/multiarch/strnlen.c: Likewise.
7501 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
7502 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
7503 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
7504 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
7505 wcsnlen functions.
7506 * sysdeps/s390/multiarch/ifunc-impl-list.c
7507 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
7508 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
7509 * string/test-strnlen.c: Add wcsnlen support.
7510 * wcsmbs/test-wcsnlen.c: New File.
7511 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
7512 * benchtests/bench-strnlen.c: Add wcsnlen support.
7513 * benchtests/bench-wcsnlen.c: New File.
7514 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
7515
7516 * sysdeps/s390/multiarch/Makefile: New File.
7517 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
7518 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
7519 * sysdeps/s390/multiarch/strlen.c: Likewise.
7520 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
7521 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
7522 * sysdeps/s390/multiarch/wcslen.c: Likewise.
7523 * string/strlen.c (STRLEN): Define and use macro.
7524 * sysdeps/s390/multiarch/ifunc-impl-list.c
7525 (IFUNC_VX_IMPL): New macro function.
7526 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
7527 * benchtests/Makefile (wcsmbs-bench): New variable.
7528 (string-bench-all): Added wcsmbs-bench.
7529 * benchtests/bench-wcslen.c: New File.
7530
7531 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
7532 s390_vx_libc_ifunc2): New macro function.
7533
7534 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
7535 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
7536 assembler support.
7537 * sysdeps/s390/configure: Regenerated.
7538
7539 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
7540 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
7541
7542 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
7543 * sysdeps/s390/dl-procinfo.h: Add vector capability.
7544 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
7545
7546 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7547 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
7548 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
7549 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
7550 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
7551 (memcmp, bcmp): Use __memcmp_default as alias source.
7552 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
7553 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
7554 Rename to __memcmp_default.
7555 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
7556 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
7557 (memcpy): Use __memcpy_default as alias source.
7558 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
7559 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
7560 Rename to __memcpy_default.
7561 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
7562 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
7563 (memset): Use __memset_default as alias source.
7564 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
7565 * sysdeps/s390/s390-32/memset.S (__memset_g5):
7566 Rename to __memset_default.
7567 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
7568 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
7569 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
7570 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
7571 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
7572 (memcmp, bcmp): Use __memcmp_default as alias source.
7573 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
7574 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
7575 Rename to __memcmp_default.
7576 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
7577 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
7578 (memcpy): Use __memcpy_default as alias source.
7579 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
7580 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
7581 Rename to __memcpy_default.
7582 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
7583 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
7584 (memset): Use __memset_default as alias source.
7585 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
7586 * sysdeps/s390/s390-64/memset.S (__memset_z900):
7587 Rename to __memset_default.
7588 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
7589 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
7590
7591 [BZ #18610]
7592 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
7593 __ieee_instruction_pointer to __unused.
7594 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
7595 __ieee_instruction_pointer.
7596 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
7597 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
7598 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7599 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
7600 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
7601 Mark dxc-field as reserved.
7602
7603 2015-08-25 Roland McGrath <roland@hack.frob.com>
7604
7605 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
7606 if the weak reference is not null.
7607
7608 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
7609
7610 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
7611
7612 [BZ #11214]
7613 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
7614
7615 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7616
7617 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
7618 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
7619 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
7620 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
7621 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
7622 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
7623 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
7624 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
7625 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
7626 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
7627 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
7628 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
7629 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
7630 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
7631 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
7632 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
7633 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
7634 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
7635
7636 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7637
7638 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
7639 register other than r0 for tabort, it has special meaning.
7640 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
7641 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
7642 transaction before starting syscall.
7643
7644 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7645
7646 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
7647
7648 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
7649
7650 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
7651
7652 * sysdeps/x86_64/rtld-memcmp.c: Removed.
7653 * sysdeps/x86_64/rtld-memset.S: Likewise.
7654 * sysdeps/x86_64/rtld-strchr.S: Likewise.
7655 * sysdeps/x86_64/rtld-strlen.S: Likewise.
7656 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
7657 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7658
7659 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
7660
7661 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
7662
7663 * debug/strcpy_chk.c: Improve performance.
7664 * debug/stpcpy_chk.c: Likewise.
7665 * sysdeps/x86_64/strcpy_chk.S: Remove.
7666 * sysdeps/x86_64/stpcpy_chk.S: Remove.
7667
7668 [BZ #18240]
7669 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
7670
7671 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
7672
7673 [BZ #15128]
7674 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
7675 ifuncmain8.
7676 (modules-names): Add ifuncmod8.
7677 ($(objpfx)ifuncmain8): New rule.
7678 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
7679 <cpuid.h>.
7680 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
7681 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
7682 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
7683 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
7684 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
7685 * sysdeps/x86_64/dl-trampoline.h: Likewise.
7686 * sysdeps/x86_64/ifuncmain8.c: New file.
7687 * sysdeps/x86_64/ifuncmod8.c: Likewise.
7688 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
7689 Removed.
7690 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
7691 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
7692 Change rtld_savespace_sse to __glibc_unused2.
7693 (RTLD_CHECK_FOREIGN_CALL): Removed.
7694 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
7695 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
7696 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
7697
7698 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
7699
7700 * sysdeps/aarch64/bzero.S (__bzero): Remove.
7701
7702 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
7703
7704 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
7705 Unconditionally set __fpcr to avoid uninialized warning.
7706 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
7707
7708 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7709
7710 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
7711 is corrupt.
7712
7713 * malloc/arena.c (arena_get2): Drop unused argument.
7714 (arena_lock): Adjust.
7715 (arena_get_retry): Likewise.
7716
7717 2015-08-24 Andreas Schwab <schwab@suse.de>
7718
7719 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
7720 Don't define.
7721 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7722 (__ASSUME_IPC64): Don't undef.
7723 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
7724 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7725 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7726 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
7727 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
7728 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
7729 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
7730 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
7731 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
7732 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
7733 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
7734 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
7735 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
7736 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
7737 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
7738 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
7739 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
7740 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
7741 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
7742 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
7743 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
7744
7745 2015-08-21 Mike Frysinger <vapier@gentoo.org>
7746
7747 * manual/Makefile (install): Only build manual when perl is available.
7748
7749 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7750
7751 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
7752 '#undef memcpy' by '#undef memchr'.
7753
7754 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7755
7756 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
7757 memchr not point to the internal __GI_memchr implementation.
7758
7759 2015-08-20 Joseph Myers <joseph@codesourcery.com>
7760
7761 * timezone/Makefile (CFLAGS-zdump.c): Remove
7762 -Wno-strict-prototypes.
7763 (CFLAGS-zic.c): Likewise.
7764 (CFLAGS-ialloc.c): Likewise.
7765 (CFLAGS-scheck.c): Likewise.
7766
7767 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
7768 -Wno-error=undef.
7769
7770 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
7771
7772 * i386/i686/multiarch/strcasestr-c.c: Removed.
7773 * x86_64/multiarch/strcasestr.c: Likewise.
7774 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7775 Remove strcasestr.
7776
7777 2015-08-20 Joseph Myers <joseph@codesourcery.com>
7778
7779 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
7780
7781 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
7782 variables for high and low parts before possibly modifying them.
7783
7784 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
7785
7786 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
7787 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
7788 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
7789 of "multiarch/init-arch.h".
7790 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
7791 * sysdeps/x86/init-arch.h: This.
7792
7793 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
7794
7795 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
7796 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
7797
7798 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
7799
7800 [BZ #17787]
7801 * manual/macros.texi: Add twoexp macro.
7802 * manual/filesys.texi: Fix exponents.
7803 * manual/llio.texi: Likewise.
7804 * manual/stdio.texi: Likewise.
7805
7806 2015-08-20 Florian Weimer <fweimer@redhat.com>
7807
7808 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
7809 incorrect use.
7810
7811 2015-08-19 Joseph Myers <joseph@codesourcery.com>
7812
7813 [BZ #18370]
7814 * math/s_csqrt.c (__csqrt): Force underflow exception for results
7815 whose real or imaginary part has small absolute value.
7816 * math/s_csqrtf.c (__csqrtf): Likewise.
7817 * math/s_csqrtl.c (__csqrtl): Likewise.
7818 * math/auto-libm-test-in: Add more tests of csqrt.
7819 * math/auto-libm-test-out: Regenerated.
7820 * sysdeps/i386/fpu/libm-test-ulps: Update.
7821
7822 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7823
7824 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
7825 __ppc_set_ppr_very_low): New functions.
7826 * manual/platform.texi: Add documentation about
7827 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
7828
7829 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
7830
7831 * string/stpncpy.c (stpncpy): Improve performance using
7832 __strnlen/memcpy/memset.
7833
7834 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
7835
7836 [BZ #18796]
7837 * scripts/test-installation.pl: Don't add -lmvec to build options if
7838 libmvec wasn't built.
7839
7840 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
7841
7842 [BZ #14341]
7843 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
7844 case when there is a gap between DT_REL and DT_JMPREL sections.
7845 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
7846 (LDFLAGS-tst-split-dynreloc): New.
7847 (tst-split-dynreloc-ENV): Likewise.
7848 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
7849 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
7850
7851 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
7852
7853 [BZ #18822]
7854 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
7855 attribute_hidden.
7856 (__xstat64_conv): Likewise.
7857 (__xstat32_conv): Likewise.
7858
7859 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
7860
7861 [BZ #18822]
7862 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
7863 Don't load %ebx when calling __setcontext. Call __setcontext
7864 with HIDDEN_JUMPTARGET.
7865 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
7866 libc_hidden_def.
7867
7868 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
7869
7870 * sysdeps/i386/i686/Makefile
7871 [$(subdir) == string] (sysdep_routines): Moved to ...
7872 * sysdeps/i386/Makefile: Here.
7873 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
7874 * sysdeps/i386/cacheinfo.c: Here.
7875 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
7876 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
7877 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
7878 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
7879
7880 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
7881
7882 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
7883 __i586__ is defined.
7884 (HAS_I686): Defined to 1 if __i686__ is defined.
7885
7886 2015-08-19 Joseph Myers <joseph@codesourcery.com>
7887
7888 * elf/Makefile [$(have-z-execstack) = yes]
7889 (CPPFLAGS-tst-execstack.c): New variable.
7890
7891 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
7892 conditional to [defined UTMPX || _HAVE_UT_TYPE].
7893 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
7894 UTMPX || _HAVE_UT_TV].
7895 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
7896 UTMPX || _HAVE_UT_TV - 0].
7897
7898 2015-08-18 Joseph Myers <joseph@codesourcery.com>
7899
7900 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
7901 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
7902 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
7903
7904 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7905
7906 * sysdeps/powerpc/dl-procinfo.c:
7907 (_dl_powerpc_cap_flags): Added missing strings for some
7908 hwcap features.
7909 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
7910
7911 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
7912
7913 Port the 0x7efe...feff pattern to GCC 6.
7914 See Steve Ellcey's bug report in:
7915 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
7916 * string/memrchr.c (MEMRCHR):
7917 * string/rawmemchr.c (RAWMEMCHR):
7918 * string/strchr.c (strchr):
7919 * string/strchrnul.c (STRCHRNUL):
7920 Rewrite code to avoid issues with signed shift overflow.
7921
7922 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
7923
7924 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
7925 whether cpuid is available only if HAS_CPUID is 0.
7926 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
7927 (HAS_I586): Likewise.
7928 (HAS_I686): Likewise.
7929
7930 2015-08-18 Zack Weinberg <zackw@panix.com>
7931
7932 * misc/Versions (libc): Add GLIBC_2.23.
7933
7934 2015-08-18 Alan Modra <amodra@gmail.com>
7935
7936 [BZ #18421]
7937 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
7938 .Lp__global.
7939 (_start): Load %dp via .Lp__global.
7940 [!SHARED]: Use .section .rodata.
7941
7942 2015-08-18 Mike Frysinger <vapier@gentoo.org>
7943
7944 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
7945 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
7946
7947 2015-08-18 Mike Frysinger <vapier@gentoo.org>
7948
7949 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
7950 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
7951
7952 2015-08-18 Mike Frysinger <vapier@gentoo.org>
7953
7954 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
7955 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
7956
7957 2015-08-18 Mike Frysinger <vapier@gentoo.org>
7958
7959 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
7960 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
7961
7962 2015-08-18 Mike Frysinger <vapier@gentoo.org>
7963
7964 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
7965 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
7966
7967 2015-08-18 Mike Frysinger <vapier@gentoo.org>
7968
7969 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
7970 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
7971
7972 2015-08-18 Mike Frysinger <vapier@gentoo.org>
7973
7974 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
7975
7976 2015-08-18 Mike Frysinger <vapier@gentoo.org>
7977
7978 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
7979 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
7980 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7981 (__ASSUME_LWS_CAS): Delete.
7982
7983 2015-08-18 Mike Frysinger <vapier@gentoo.org>
7984
7985 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
7986 * sysdeps/hppa/configure: Regenerated.
7987 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
7988 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
7989 * sysdeps/hppa/nptl/tls.h: Likewise.
7990
7991 2015-08-17 Joseph Myers <joseph@codesourcery.com>
7992
7993 [BZ #18823]
7994 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
7995 for scaling up small arguments.
7996 * math/s_csqrtf.c (__csqrtf): Likewise.
7997 * math/s_csqrtl.c (__csqrtl): Likewise.
7998 * math/auto-libm-test-in: Add more tests of csqrt.
7999 * math/auto-libm-test-out: Regenerated.
8000
8001 2015-08-17 Andreas Schwab <schwab@suse.de>
8002
8003 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
8004 version set GLIBC_2.19.
8005
8006 2015-08-16 Zack Weinberg <zackw@panix.com>
8007
8008 [BZ #18681]
8009 * misc/regexp.h: This interface is no longer supported.
8010 Remove all contents, leaving only an #error directive.
8011 * misc/regexp.c (loc1, loc2, locs, step, advance):
8012 Demote to compatibility symbols.
8013
8014 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
8015
8016 [BZ #18084]
8017 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
8018 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
8019 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8020 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
8021 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
8022 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
8023 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
8024 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
8025 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8026
8027 2015-08-15 Zack Weinberg <zackw@panix.com>
8028
8029 [BZ #18795]
8030 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
8031 buffer length is known to be too large, not if it's known to be
8032 small enough.
8033 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
8034 overflow at runtime, involving a length parameter, twice: once
8035 with a compile-time constant length parameter, once without.
8036
8037 2015-08-14 Joseph Myers <joseph@codesourcery.com>
8038
8039 [BZ #18824]
8040 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
8041 scaling x * y up instead of down.
8042 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8043 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8044 * math/auto-libm-test-in: Add more tests of fma.
8045 * math/auto-libm-test-out: Regenerated.
8046
8047 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
8048
8049 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8050
8051 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8052
8053 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
8054 unnecessary movq.
8055 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
8056 Likewise.
8057
8058 2015-08-13 Joseph Myers <joseph@codesourcery.com>
8059
8060 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8061 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
8062 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
8063 and tgamma.
8064 * math/auto-libm-test-out: Regenerated.
8065 * sysdeps/i386/fpu/libm-test-ulps: Update.
8066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8067
8068 [BZ #16520]
8069 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
8070 (__tanh): Force underflow exception for arguments with small
8071 absolute value.
8072 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
8073 (__tanhf): Force underflow exception for arguments with small
8074 absolute value.
8075 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
8076 (__tanhl): Force underflow exception for arguments with small
8077 absolute value.
8078 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
8079 (__tanhl): Force underflow exception for arguments with small
8080 absolute value.
8081 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
8082 (__tanhl): Force underflow exception for arguments with small
8083 absolute value.
8084 * math/auto-libm-test-in: Add more tests of tanh.
8085 * math/auto-libm-test-out: Regenerated.
8086 * sysdeps/i386/fpu/libm-test-ulps: Update.
8087
8088 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
8089
8090 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
8091 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
8092
8093 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
8094
8095 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
8096 <cpuid.h>.
8097
8098 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
8099
8100 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
8101 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
8102
8103 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
8104
8105 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
8106 Remove $(objpfx)init-arch.o.
8107 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
8108 init-arch.
8109 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
8110 (INIT_ARCH_EXT): Defined as empty.
8111 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
8112 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
8113 __init_cpu_features call. Replace HAS_XXX with
8114 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8115 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
8116 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
8117 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
8118 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
8119 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
8120 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
8121 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
8122 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
8123 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
8124 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
8125 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
8126 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
8127 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
8128 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
8129 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
8130 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
8131 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
8132 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
8133 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
8134 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
8135 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
8136 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
8137 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
8138 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
8139 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
8140 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
8141 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
8142 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
8143 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
8144 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
8145 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
8146 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
8147 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
8148 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
8149 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
8150
8151 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
8152
8153 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
8154 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8155 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8156 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8157 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
8158 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
8159 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
8160 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
8161 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
8162 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
8163 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
8164 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
8165 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8166 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8167 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8168 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8169 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8170 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8171 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8172 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8173 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8174 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8175 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8176 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8177 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8178 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8179 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8180 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8181 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8182 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8183 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8184 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8185 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8186 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8187 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8188 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8189 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8190 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8191 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8192 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8193 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8194 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8195 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8196
8197 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
8198
8199 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
8200 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8201 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8202 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8203 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8204 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
8205 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8206 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
8207 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8208 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8209 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8210 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
8211 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
8212 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
8213 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
8214 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
8215 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
8216 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
8217 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
8218 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
8219 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8220 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
8221 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
8222 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8223 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8224 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
8225 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
8226 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
8227 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8228 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8229 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8230 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8231 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8232 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8233 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8234 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8235 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8236 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8237 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8238 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8239 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8240 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8241 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8242
8243 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
8244
8245 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
8246 (dl_platform_init): Call init_cpu_features.
8247 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
8248 * sysdeps/i386/i686/cacheinfo.c
8249 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
8250 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
8251 * sysdeps/i386/i686/multiarch/Versions: Removed.
8252 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
8253 Removed.
8254 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
8255 * sysdeps/unix/sysv/linux/x86/Makefile
8256 (libpthread-sysdep_routines): Remove init-arch.
8257 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
8258 <sysdeps/x86_64/dl-procinfo.c> instead of
8259 sysdeps/generic/dl-procinfo.c>.
8260 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
8261 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
8262 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
8263 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
8264 [$(subdir) == elf] (tests-static): Add
8265 tst-get-cpu-features-static.
8266 * sysdeps/x86/Versions: New file.
8267 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
8268 * sysdeps/x86/cpu-features.c: Likewise.
8269 * sysdeps/x86/cpu-features.h: Likewise.
8270 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
8271 * sysdeps/x86/libc-start.c: Likewise.
8272 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8273 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
8274 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
8275 * sysdeps/x86_64/dl-procinfo.c: Likewise.
8276 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
8277 Assume USE_MULTIARCH is defined and don't check it.
8278 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
8279 (is_amd): Likewise.
8280 (max_cpuid): Likewise.
8281 (intel_check_word): Likewise.
8282 (__cache_sysconf): Don't call __init_cpu_features.
8283 (__x86_preferred_memory_instruction): Removed.
8284 (init_cacheinfo): Don't call __init_cpu_features. Replace
8285 __cpu_features with GLRO(dl_x86_cpu_features).
8286 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
8287 (dl_platform_init): Call init_cpu_features.
8288 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
8289 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
8290 * sysdeps/x86_64/multiarch/Versions: Removed.
8291 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
8292 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
8293 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
8294 Removed.
8295 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
8296
8297 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8298
8299 [BZ #18820]
8300 * libio/Makefile (test-fmemopen-mem): New test.
8301 * libio/test-fmemopen.c (do_bz18820): New test.
8302 * libio/fmemopen.c (__fmemopen): Fix memory leak.
8303 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
8304
8305 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8306
8307 [BZ #16734]
8308 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
8309 (FREE_BUF): Delete.
8310 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
8311 * libio/genops.c (_IO_setb): Use malloc and free directly.
8312 (_IO_default_doallocate, _IO_default_finish): Likewise.
8313 ( _IO_unbuffer_all): Likewise.
8314 ( libc_freeres_fn): Likewise.
8315 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8316 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8317 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
8318 (_IO_wdefault_doallocate): Likewise.
8319
8320 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8321
8322 [BZ #18086]
8323 * sysdeps/posix/nice.c (nice): Restore old errno.
8324 * posix/tst-nice.c (do_test): Add test for BZ #18086.
8325
8326 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
8327
8328 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
8329
8330 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8331
8332 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
8333 __bcopy and add a weak_alias to bcopy.
8334 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
8335 for static build.
8336
8337 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
8338 cleanup macro usage.
8339 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
8340 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
8341 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8342 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
8343 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8344 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
8345 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
8346 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8347 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8348 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
8349 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8350 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
8351 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8352 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
8353 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8354 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
8355 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
8356 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
8357 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8358
8359 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
8360 libc_hidden_def.
8361 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
8362
8363 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
8364 (sysdep_routines): Add strstr-ppc64.
8365 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
8366
8367 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
8368
8369 [BZ #18778]
8370 * elf/Makefile (tests): Add Add tst-nodelete2.
8371 (modules-names): Add tst-nodelete2mod.
8372 (tst-nodelete2mod.so-no-z-defs): New.
8373 ($(objpfx)tst-nodelete2): Likewise.
8374 ($(objpfx)tst-nodelete2.out): Likewise.
8375 (LDFLAGS-tst-nodelete2): Likewise.
8376 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
8377 out of loop through all loaded libraries.
8378 * elf/tst-nodelete2.c: New file.
8379 * elf/tst-nodelete2mod.c: Likewise.
8380 * elf/tst-znodelete-zlib.cc: Delete.
8381
8382 2015-08-11 Andreas Schwab <schwab@suse.de>
8383
8384 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
8385 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
8386 (__openat64_nocancel): Likewise.
8387
8388 2015-08-11 Joseph Myers <joseph@codesourcery.com>
8389
8390 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
8391 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
8392 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
8393 * math/auto-libm-test-out: Regenerated.
8394 * sysdeps/i386/fpu/libm-test-ulps: Update.
8395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8396
8397 2015-08-10 Joseph Myers <joseph@codesourcery.com>
8398
8399 [BZ #18790]
8400 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
8401 threshold for returning +/- 1.
8402 * math/auto-libm-test-in: Add more tests of tanh.
8403 * math/auto-libm-test-out: Regenerated.
8404 * sysdeps/i386/fpu/libm-test-ulps: Update.
8405
8406 2015-08-10 Andreas Schwab <schwab@suse.de>
8407
8408 [BZ #18781]
8409 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
8410 MORE_OFLAGS to oflag.
8411 * io/test-lfs.c (do_test): Test openat64.
8412
8413 2015-08-10 Joseph Myers <joseph@codesourcery.com>
8414
8415 [BZ #18789]
8416 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
8417 smaller threshold for returning the argument.
8418 * math/auto-libm-test-in: Add more tests of sinh.
8419 * math/auto-libm-test-out: Regenerated.
8420 * sysdeps/i386/fpu/libm-test-ulps: Update.
8421
8422 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
8423
8424 [BZ #18674]
8425 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
8426 break.
8427
8428 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
8429
8430 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
8431 (generated): Don't add $(addprefix z.,$(tzfiles)).
8432
8433 2015-08-09 Mike Frysinger <vapier@gentoo.org>
8434
8435 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
8436 * scripts/sysd-rules.awk: Likewise.
8437
8438 2015-08-09 Mike Frysinger <vapier@gentoo.org>
8439
8440 * iconvdata/tst-tables.sh: Change echo -n to printf.
8441 * nss/db-Makefile: Likewise.
8442 * posix/tst-getconf.sh: Likewise.
8443 * stdio-common/tst-unbputc.sh: Likewise.
8444
8445 2015-08-09 Mike Frysinger <vapier@gentoo.org>
8446
8447 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
8448 MADV_*_PAGES defines behind this feature check.
8449
8450 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
8451
8452 [BZ #18480]
8453 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
8454 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
8455 Define.
8456 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
8457 LOAD_REGS_5, LOAD_REGS_6): Update.
8458 (INTERNAL_SYSCALL): Update using new LOAD defines.
8459 (INTERNAL_SYSCALL_NCS): Likewise.
8460 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
8461
8462 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8463
8464 [BZ #16734]
8465 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
8466
8467 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8468
8469 [BZ #17905]
8470 * catgets/Makefile (tst-catgets-mem): New test.
8471 * catgets/catgets.c (catopen): Don't use unbounded alloca.
8472 * catgets/open_catalog.c (__open_catalog): Likewise.
8473 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
8474
8475 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
8476
8477 [BZ #18787]
8478 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
8479 clobber registers.
8480 (atomic_compare_and_exchange_val_acq): Use register asms to assign
8481 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
8482 Cast return to __typeof (oldval).
8483
8484 2015-08-08 Mike Frysinger <vapier@gentoo.org>
8485
8486 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
8487 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
8488 and delete sys/syscall.h include.
8489
8490 2015-08-07 Joseph Myers <joseph@codesourcery.com>
8491
8492 [BZ #16517]
8493 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
8494 (tan): Force underflow exception for arguments with small absolute
8495 value.
8496 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
8497 (__kernel_tanf): Force underflow exception for arguments with
8498 small absolute value.
8499 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
8500 (__kernel_tanl): Force underflow exception for arguments with
8501 small absolute value.
8502 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
8503 (__kernel_tanl): Force underflow exception for arguments with
8504 small absolute value.
8505 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
8506 (__kernel_tanl): Force underflow exception for arguments with
8507 small absolute value.
8508 * math/auto-libm-test-in: Add more tests of tan.
8509 * math/auto-libm-test-out: Regenerated.
8510
8511 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8512
8513 Fix sysdeps/i386/fpu/s_scalbn.S build
8514
8515 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
8516
8517 2015-08-07 Mike Frysinger <vapier@gentoo.org>
8518
8519 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
8520
8521 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8522
8523 Fix gcrt0.o compilation
8524
8525 When static-start-installed-name is different from
8526 start-installed-name, we must not use the shared objects.
8527
8528 * csu/Makefile
8529 (extra-objs): Add gmon-start.o when building shared library and
8530 $(static-start-installed-name) is different from
8531 $(start-installed-name).
8532 $(objpfx)g$(static-start-installed-name): When building shared
8533 library and $(static-start-installed-name) is different from
8534 $(static-start-installed-name), revert to non-shared rule,
8535 i.e. using $(objpfx)% and gmon-start.o.
8536
8537 2015-08-06 Joseph Myers <joseph@codesourcery.com>
8538
8539 [BZ #16519]
8540 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
8541 (__ieee754_sinh): Force underflow exception for arguments with
8542 small absolute value.
8543 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
8544 (__ieee754_sinhf): Force underflow exception for arguments with
8545 small absolute value.
8546 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
8547 (__ieee754_sinhl): Force underflow exception for arguments with
8548 small absolute value.
8549 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
8550 (__ieee754_sinhl): Force underflow exception for arguments with
8551 small absolute value.
8552 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
8553 (__ieee754_sinhl): Force underflow exception for arguments with
8554 small absolute value.
8555 * math/auto-libm-test-in: Add more tests of sinh.
8556 * math/auto-libm-test-out: Regenerated.
8557 * sysdeps/i386/fpu/libm-test-ulps: Update.
8558
8559 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8560
8561 * libio/oldfileops.c: Include unistd.h.
8562
8563 2015-08-06 Mike Frysinger <vapier@gentoo.org>
8564
8565 * stdlib/isomac.c: Include ctype.h.
8566
8567 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
8568
8569 * dirent/tst-seekdir.c (main): Converted to ...
8570 (do_test): ... this.
8571 (TEST_FUNCTION): New macro.
8572 Include test-skeleton.c.
8573 * elf/tst-dlmodcount.c (main): Converted to ...
8574 (do_test): ... this.
8575 (TEST_FUNCTION): New macro.
8576 Include test-skeleton.c.
8577 * elf/tst-order-main.c (main): Converted to ...
8578 (do_test): ... this.
8579 (TEST_FUNCTION): New macro.
8580 Include test-skeleton.c.
8581 * elf/tst-pie2.c (main): Converted to ...
8582 (do_test): ... this.
8583 (TEST_FUNCTION): New macro.
8584 Include test-skeleton.c.
8585 * inet/tst-ether_aton.c (main): Converted to ...
8586 (do_test): ... this.
8587 (TEST_FUNCTION): New macro.
8588 Include test-skeleton.c.
8589 * misc/tst-mntent.c (main): Converted to ...
8590 (do_test): ... this.
8591 (TEST_FUNCTION): New macro.
8592 Include test-skeleton.c.
8593 * misc/tst-tsearch.c (main): Converted to ...
8594 (do_test): ... this.
8595 (TEST_FUNCTION): New macro.
8596 Include test-skeleton.c.
8597 * posix/tst-regexloc.c (main): Converted to ...
8598 (do_test): ... this.
8599 (TEST_FUNCTION): New macro.
8600 Include test-skeleton.c.
8601 * resolv/tst-aton.c (main): Converted to ...
8602 (do_test): ... this.
8603 (TEST_FUNCTION): New macro.
8604 Include test-skeleton.c.
8605 * stdio-common/test-fwrite.c (main): Converted to ...
8606 (do_test): ... this.
8607 (TEST_FUNCTION): New macro.
8608 Include test-skeleton.c.
8609 * stdio-common/tst-ferror.c (main): Converted to ...
8610 (do_test): ... this.
8611 (TEST_FUNCTION): New macro.
8612 Include test-skeleton.c.
8613 * stdio-common/tst-printf.c (main): Converted to ...
8614 (do_test): ... this.
8615 (TEST_FUNCTION): New macro.
8616 Include test-skeleton.c.
8617 * stdio-common/tst-printfsz.c (main): Converted to ...
8618 (do_test): ... this.
8619 (TEST_FUNCTION): New macro.
8620 Include test-skeleton.c.
8621 * stdlib/tst-strtod.c (main): Converted to ...
8622 (do_test): ... this.
8623 (TEST_FUNCTION): New macro.
8624 Include test-skeleton.c.
8625 * string/tst-strlen.c (main): Converted to ...
8626 (do_test): ... this.
8627 (TEST_FUNCTION): New macro.
8628 Include test-skeleton.c.
8629 * string/tst-svc.c (main): Converted to ...
8630 (do_test): ... this.
8631 (TEST_FUNCTION): New macro.
8632 Include test-skeleton.c.
8633 * time/tst-strptime.c (main): Converted to ...
8634 (do_test): ... this.
8635 (TEST_FUNCTION): New macro.
8636 Include test-skeleton.c.
8637 * timezone/tst-timezone.c (main): Converted to ...
8638 (do_test): ... this.
8639 (TEST_FUNCTION): New macro.
8640 Include test-skeleton.c.
8641
8642 2015-08-05 Zack Weinberg <zackw@panix.com>
8643
8644 * misc/regexp.h: Update comments.
8645
8646 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
8647
8648 [BZ #18635]
8649 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
8650 before return label.
8651
8652 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
8653
8654 [BZ #18661]
8655 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
8656 when calling __errno_location.
8657 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
8658 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
8659
8660 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
8661
8662 [BZ #18661]
8663 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
8664 (__lll_timedwait_tid): Align stack to 16 bytes when calling
8665 __gettimeofday.
8666
8667 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
8668
8669 [BZ #18661]
8670 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8671 (__start_context): Don't use pop to restore %rdi so that stack
8672 is aligned to 16 bytes when calling __setcontext.
8673
8674 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
8675
8676 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
8677 only for libc.
8678 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8679
8680 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
8681
8682 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
8683 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
8684 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
8685
8686 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
8687
8688 * string/memccpy.c (memccpy):
8689 Improve performance by using memchr/memcpy/__mempcpy.
8690
8691 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
8692
8693 * string/strncpy.c (strncpy):
8694 Improve performance by using __strnlen/memcpy.
8695
8696 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
8697
8698 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8699 Optimize to avoid an unnecessary FPCR read.
8700
8701 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
8702
8703 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8704 Optimize to reduce FPCR/FPSR accesses.
8705
8706 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
8707
8708 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
8709 dead->data[category] != NULL.
8710
8711 2015-08-05 Joseph Myers <joseph@codesourcery.com>
8712
8713 [BZ #18647]
8714 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
8715 and |x| close to 1, use absolute value of x when computing log.
8716 * math/auto-libm-test-in: Add more tests of pow.
8717 * math/auto-libm-test-out: Regenerated.
8718
8719 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8720
8721 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
8722 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
8723 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
8724
8725 2015-08-05 Marko Myllynen <myllynen@redhat.com>
8726
8727 [BZ #18525]
8728 * locales/km_KH: Remove timezone definition.
8729 * locales/lo_LA: Likewise.
8730 * locales/my_MM: Likewise.
8731 * locales/nan_TW@latin: Likewise.
8732 * locales/th_TH: Likewise.
8733 * locales/uk_UA: Likewise.
8734
8735 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
8736
8737 [BZ #18265]
8738 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
8739 (wcsncat): Likewise.
8740 (wcscmp): Likewise.
8741 (wcsncmp): Likewise.
8742
8743 2015-08-05 Mike Frysinger <vapier@gentoo.org>
8744
8745 * test-skeleton.c (usage): New function.
8746 (main): Call usage when opt is '?'.
8747
8748 2015-08-05 Mike Frysinger <vapier@gentoo.org>
8749
8750 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
8751 before first use.
8752
8753 2015-08-05 Mike Frysinger <vapier@gentoo.org>
8754
8755 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
8756 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
8757 in there too.
8758
8759 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
8760
8761 * version.h (RELEASE): Set to "development".
8762 (VERSION): Set to "2.22.90"
8763
8764 * version.h (RELEASE): Set to "stable".
8765 (VERSION): Set to "2.22"
8766 * include/features.h (__GLIBC_MINOR__): Set to 22.
8767
8768 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
8769
8770 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
8771 Restructure macro to avoid "value computed is not used" warning.
8772 (atomic_compare_and_exchange_val_acq): Likewise.
8773
8774 2015-08-04 Andreas Schwab <schwab@suse.de>
8775
8776 [BZ #18635]
8777 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
8778 ret.
8779 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
8780
8781 2015-08-01 Carlos O'Donell <carlos@redhat.com>
8782
8783 * po/pl.po: Updated translation.
8784 * po/uk.po: Likewise.
8785 * po/fi.po: Likewise.
8786 * po/ko.po: Likewise.
8787 * po/ru.po: Likewise.
8788 * po/vi.po: Likewise.
8789
8790 2015-07-31 Zack Weinberg <zackw@panix.com>
8791
8792 [BZ #18681]
8793 * regexp.h: Add unconditional #warning stating that this header
8794 will be removed soon. Revise banner comment to match.
8795 (compile): Consistently use ERROR instead of RETURN to report
8796 errors (partial fix for bz#18681).
8797 * regexp.c: Don't include regexp.h. Remove some unnecessary
8798 declarations.
8799
8800 2015-07-31 Carlos O'Donell <carlos@redhat.com>
8801
8802 * po/libc.pot: Regenerated.
8803
8804 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
8805
8806 [BZ #18740]
8807 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
8808 float-vlen4-arch-ext-cflags): Removed.
8809 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
8810 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
8811
8812 2015-07-30 Mike Frysinger <vapier@gentoo.org>
8813
8814 [BZ #14113]
8815 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
8816 aligned to __aligned__.
8817 (pthread_cond_t, pthread_rwlock_t): Likewise.
8818
8819 2015-07-30 Torvald Riegel <triegel@redhat.com>
8820
8821 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
8822
8823 2015-07-30 Mike Frysinger <vapier@gentoo.org>
8824
8825 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
8826 (struct sigaction): Change sa_flags from a long to an int, and add
8827 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
8828
8829 2015-07-30 Mike Frysinger <vapier@gentoo.org>
8830
8831 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
8832 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
8833 sysdeps/generic/sysdep.h include.
8834 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
8835 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
8836 sysdeps/hppa/sysdep.h.
8837 (ENTRY, PSEUDO): Undefine before defining.
8838
8839 2015-07-30 Mike Frysinger <vapier@gentoo.org>
8840
8841 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
8842 from scratch to use INTERNAL_SYSCALL.
8843
8844 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
8845
8846 [BZ #18078]
8847 * scripts/check-localplt.awk: Support alternate relocations.
8848 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
8849 sections.
8850 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
8851 malloc entries with + REL R_386_GLOB_DAT.
8852 * sysdeps/x86_64/localplt.data: New file.
8853
8854 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
8855
8856 [BZ #18731]
8857 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
8858 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8859 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8860
8861 2015-07-27 Mike Frysinger <vapier@gentoo.org>
8862
8863 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
8864
8865 2015-07-27 Mike Frysinger <vapier@gentoo.org>
8866
8867 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
8868 directly in terms of __sync_fetch_and_add and delete (int) cast.
8869
8870 2015-07-27 Mike Frysinger <vapier@gentoo.org>
8871
8872 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
8873 the -D_ASM_IA64_CURRENT_H flag.
8874
8875 2015-07-27 Mike Frysinger <vapier@gentoo.org>
8876
8877 [BZ #18641]
8878 * pwd/pwd.h (putpwent): Delete __nonnull markings.
8879
8880 2015-07-27 Andreas Schwab <schwab@suse.de>
8881
8882 * conform/conformtest.pl (checknamespace): Filter out string
8883 literals while tokenizing.
8884
8885 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
8886
8887 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8888 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
8889 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8890
8891 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
8892
8893 * nptl/tst-join7mod.c: Add #include <string.h>.
8894
8895 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
8896
8897 * sysdeps/nios2/libm-test-ulps: Update.
8898
8899 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
8900
8901 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
8902 Fix order of arguments to the rt_sigprocmask syscall.
8903 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
8904 Likewise.
8905
8906 2015-07-24 Roland McGrath <roland@hack.frob.com>
8907
8908 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
8909
8910 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8911
8912 [BZ #18457]
8913 * nptl/Makefile (tests): New test case tst-join7.
8914 (modules-names): New test case module tst-join7mod.
8915 * nptl/tst-join7.c: New file.
8916 * nptl/tst-join7mod.c: New file.
8917 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
8918 all translation units in libc.so, libpthread.so and rtld.
8919
8920 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8921
8922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8923
8924 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
8925
8926 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
8927 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
8928 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
8929 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
8930 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
8931 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
8932 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
8933 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
8934 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
8935 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
8936 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
8937 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
8938 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
8939 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
8940 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
8941 implementation.
8942
8943 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
8944
8945 [BZ #17711]
8946 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8947 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
8948 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8949 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8950 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
8951 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8952
8953 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8954
8955 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
8956 instead of just saying load lock in the comments.
8957
8958 2015-07-23 Roland McGrath <roland@hack.frob.com>
8959
8960 * sysdeps/unix/Subdirs: Moved ...
8961 * sysdeps/posix/Subdirs: ... here.
8962 * login/pty.h (struct termios, struct winsize): Add forward decls.
8963 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
8964 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
8965 * sysdeps/arm/nacl/libc.abilist: Updated.
8966 * sysdeps/nacl/libutil.abilist: New file.
8967
8968 * bits/signum.h: Update comments to mention 1003.1-2013 too.
8969 (SIGWINCH): New macro.
8970
8971 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
8972 * sysdeps/arm/nacl/libc.abilist: Add it.
8973
8974 2015-07-23 Mike Frysinger <vapier@gentoo.org>
8975
8976 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
8977
8978 2015-07-23 Mike Frysinger <vapier@gentoo.org>
8979
8980 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
8981 Swap __glibc_reserved0 and sa_flags order.
8982
8983 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8984
8985 [BZ #18657]
8986 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
8987 are pending TLS destructor calls.
8988 * include/link.h (struct link_map): Add concurrency note for
8989 L_TLS_DTOR_COUNT.
8990 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8991 Don't touch the link map flag. Atomically increment
8992 l_tls_dtor_count.
8993 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
8994 Avoid taking the load lock and don't touch the link map flag.
8995 * stdlib/tst-tls-atexit-nodelete.c: New test case.
8996 * stdlib/Makefile (tests): Use it.
8997 * stdlib/tst-tls-atexit.c (do_test): dlopen
8998 tst-tls-atexit-lib.so again before dlclose. Add conditionals
8999 to allow tst-tls-atexit-nodelete test case to use it.
9000
9001 2015-07-22 Mike Frysinger <vapier@gentoo.org>
9002
9003 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
9004 to bits/types.h.
9005 (msgqnum_t): New typedef.
9006 (msglen_t): Likewise.
9007 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
9008 and msg_qbytes type to msglen_t.
9009
9010 2015-07-22 Mike Frysinger <vapier@gentoo.org>
9011
9012 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
9013 pad0 to __glibc_reserved0.
9014 (struct stat64): Likewise.
9015
9016 2015-07-22 Mike Frysinger <vapier@gentoo.org>
9017
9018 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9019 Change sa_flags from a long to an int and add __glibc_reserved0 before
9020 it for padding.
9021
9022 2015-07-22 Mike Frysinger <vapier@gentoo.org>
9023
9024 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
9025 anonymous by deleting "siginfo" name.
9026
9027 2015-07-21 Roland McGrath <roland@hack.frob.com>
9028
9029 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
9030 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
9031 rather than __nacl_irt_filename.
9032 * sysdeps/nacl/xstat.c (__xstat): Likewise.
9033
9034 * NEWS: New item for arm-nacl port.
9035 * sysdeps/arm/nacl/libc.abilist: New file.
9036 * sysdeps/nacl/ld.abilist: New file.
9037 * sysdeps/nacl/libBrokenLocale.abilist: New file.
9038 * sysdeps/nacl/libanl.abilist: New file.
9039 * sysdeps/nacl/libcrypt.abilist: New file.
9040 * sysdeps/nacl/libdl.abilist: New file.
9041 * sysdeps/nacl/libm.abilist: New file.
9042 * sysdeps/nacl/libpthread.abilist: New file.
9043 * sysdeps/nacl/libresolv.abilist: New file.
9044 * sysdeps/nacl/librt.abilist: New file.
9045
9046 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
9047
9048 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
9049 __startcontext to initialize the new context.
9050 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
9051 up CFI directive to forbid further backtracing.
9052
9053 2015-07-21 Marko Myllynen <myllynen@redhat.com>
9054
9055 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
9056 reference.
9057 * charmaps/ANSI_X3.4-1968: Likewise.
9058 * charmaps/BS_4730: Likewise.
9059 * charmaps/BS_VIEWDATA: Likewise.
9060 * charmaps/CP1250: Likewise.
9061 * charmaps/CP1251: Likewise.
9062 * charmaps/CP1252: Likewise.
9063 * charmaps/CP1253: Likewise.
9064 * charmaps/CP1254: Likewise.
9065 * charmaps/CP1255: Likewise.
9066 * charmaps/CP1256: Likewise.
9067 * charmaps/CSN_369103: Likewise.
9068 * charmaps/EBCDIC-DK-NO: Likewise.
9069 * charmaps/GB_1988-80: Likewise.
9070 * charmaps/GREEK-CCITT: Likewise.
9071 * charmaps/GREEK7: Likewise.
9072 * charmaps/INIS-8: Likewise.
9073 * charmaps/ISIRI-3342: Likewise.
9074 * charmaps/ISO_2033-1983: Likewise.
9075 * charmaps/ISO_5427-EXT: Likewise.
9076 * locales/POSIX: Likewise.
9077 * locales/ar_SA: Likewise.
9078 * locales/be_BY: Likewise.
9079 * locales/be_BY@latin: Likewise.
9080 * locales/ca_ES: Likewise.
9081 * locales/cs_CZ: Likewise.
9082 * locales/da_DK: Likewise.
9083 * locales/de_BE: Likewise.
9084 * locales/de_CH: Likewise.
9085 * locales/de_LU: Likewise.
9086 * locales/en_AU: Likewise.
9087 * locales/en_BW: Likewise.
9088 * locales/en_CA: Likewise.
9089 * locales/en_DK: Likewise.
9090 * locales/en_GB: Likewise.
9091 * locales/en_IE: Likewise.
9092 * locales/en_NZ: Likewise.
9093 * locales/en_ZA: Likewise.
9094 * locales/en_ZW: Likewise.
9095 * locales/es_AR: Likewise.
9096 * locales/es_BO: Likewise.
9097 * locales/es_CL: Likewise.
9098 * locales/es_CO: Likewise.
9099 * locales/es_DO: Likewise.
9100 * locales/es_EC: Likewise.
9101 * locales/es_ES: Likewise.
9102 * locales/es_HN: Likewise.
9103 * locales/es_MX: Likewise.
9104 * locales/es_PA: Likewise.
9105 * locales/es_PE: Likewise.
9106 * locales/es_PY: Likewise.
9107 * locales/es_SV: Likewise.
9108 * locales/es_US: Likewise.
9109 * locales/es_UY: Likewise.
9110 * locales/es_VE: Likewise.
9111 * locales/et_EE: Likewise.
9112 * locales/fa_IR: Likewise.
9113 * locales/fo_FO: Likewise.
9114 * locales/fr_CA: Likewise.
9115 * locales/fr_CH: Likewise.
9116 * locales/gv_GB: Likewise.
9117 * locales/he_IL: Likewise.
9118 * locales/hr_HR: Likewise.
9119 * locales/id_ID: Likewise.
9120 * locales/is_IS: Likewise.
9121 * locales/it_CH: Likewise.
9122 * locales/iw_IL: Likewise.
9123 * locales/kl_GL: Likewise.
9124 * locales/ko_KR: Likewise.
9125 * locales/kw_GB: Likewise.
9126 * locales/lg_UG: Likewise.
9127 * locales/lt_LT: Likewise.
9128 * locales/lv_LV: Likewise.
9129 * locales/mi_NZ: Likewise.
9130 * locales/nhn_MX: Likewise.
9131 * locales/nl_BE: Likewise.
9132 * locales/pl_PL: Likewise.
9133 * locales/sk_SK: Likewise.
9134 * locales/sl_SI: Likewise.
9135 * locales/sv_FI: Likewise.
9136 * locales/tl_PH: Likewise.
9137 * locales/tr_TR: Likewise.
9138 * locales/vi_VN: Likewise.
9139
9140 2015-07-21 Khem Raj <raj.khem@gmail.com>
9141
9142 [BZ #17475]
9143 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
9144 of tu_IN and bh_IN.
9145
9146 2015-07-21 Mike Frysinger <vapier@gentoo.org>
9147
9148 [BZ #18694]
9149 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
9150 bits/wordsize.h.
9151 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
9152
9153 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9154
9155 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
9156 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
9157 (spawn_thread): New function.
9158 (load): Rename to reg_dtor_and_close. Move dlopen to...
9159 (do_test): ... here. Use IS_LOADED to test for its
9160 availability.
9161
9162 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
9163
9164 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9165
9166 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
9167
9168 [BZ #18696]
9169 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
9170 si_addr_bnd.
9171 (si_lower): New.
9172 (si_upper): Likewise.
9173
9174 2015-07-16 David S. Miller <davem@davemloft.net>
9175
9176 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9177
9178 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9179
9180 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
9181 buffer.
9182 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
9183 fail output information.
9184
9185 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9186
9187 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
9188 and strstr-ppc64..
9189 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9190 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
9191 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
9192 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
9193 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
9194
9195 2015-07-16 Mike Frysinger <vapier@gentoo.org>
9196
9197 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9198 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9199 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9200 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9201
9202 2015-07-16 Mike Frysinger <vapier@gentoo.org>
9203
9204 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9205 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
9206 rtld_hidden_proto.
9207 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
9208
9209 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9210
9211 * tst-nodelete-opened.c (do_test): Add comment to clarify how
9212 the test can fail.
9213
9214 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
9215
9216 [BZ #18676]
9217 * elf/tst-nodelete-opened.c: New test case.
9218 * elf/tst-nodelete-opened-lib.c: New test case module.
9219 * elf/Makefile (tests, modules-names): Use them.
9220 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
9221 early.
9222
9223 2015-07-15 David S. Miller <davem@davemloft.net>
9224
9225 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
9226 futex-intenal.h
9227 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
9228 * sysdeps/sparc/sparc64/Makefile: Likewise.
9229 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
9230 Remove space from macro define.
9231 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
9232
9233 2015-07-15 Pravin Satpute <psatpute@redhat.com>
9234
9235 [BZ #17475]
9236 * locale/iso-639.def: Update Bhili and Tulu language codes as
9237 per iso639-3.
9238
9239 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
9240
9241 * elf/tst-leaks1.c (main): Converted to ...
9242 (do_test): ... this.
9243 (TEST_FUNCTION): New macro.
9244 Include test-skeleton.c.
9245 * localedata/tst-langinfo.c (main): Converted to ...
9246 (do_test): ... this.
9247 (TEST_FUNCTION): New macro.
9248 Include test-skeleton.c.
9249 * math/test-fpucw.c (main): Converted to ...
9250 (do_test): ... this.
9251 (TEST_FUNCTION): New macro.
9252 Include test-skeleton.c.
9253 * math/test-tgmath.c (main): Converted to ...
9254 (do_test): ... this.
9255 (TEST_FUNCTION): New macro.
9256 Include test-skeleton.c.
9257 * math/test-tgmath2.c (main): Converted to ...
9258 (do_test): ... this.
9259 (TEST_FUNCTION): New macro.
9260 Include test-skeleton.c.
9261 * setjmp/tst-setjmp.c (main): Converted to ...
9262 (do_test): ... this.
9263 (TEST_FUNCTION): New macro.
9264 Include test-skeleton.c.
9265 * stdio-common/tst-sscanf.c (main): Converted to ...
9266 (do_test): ... this.
9267 (TEST_FUNCTION): New macro.
9268 Include test-skeleton.c.
9269 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
9270 (do_test): ... this.
9271 (TEST_FUNCTION): New macro.
9272 Include test-skeleton.c.
9273
9274 * elf/tst-audit9.c (main): Converted to ...
9275 (do_test): ... this.
9276 (TEST_FUNCTION): New macro.
9277 Include test-skeleton.c.
9278
9279 2015-07-15 Mike Frysinger <vapier@gentoo.org>
9280
9281 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
9282
9283 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
9284
9285 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
9286 New variable.
9287
9288 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
9289
9290 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9291
9292 2015-07-14 Roland McGrath <roland@hack.frob.com>
9293
9294 * sysdeps/generic/dl-fileid.h: New file.
9295 * sysdeps/posix/dl-fileid.h: New file.
9296 * sysdeps/nacl/dl-fileid.h: New file.
9297 * include/link.h: Include <dl-fileid.h>.
9298 (struct link_map): Replace l_dev and l_ino with l_file_id.
9299 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
9300 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
9301 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
9302
9303 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9304
9305 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
9306
9307 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9308
9309 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
9310 Add iff $CXX is set.
9311 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
9312 Likewise.
9313 (tst-nodelete-zmodiff): Likewise.
9314 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
9315
9316 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9317
9318 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
9319
9320 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
9321
9322 * sysdeps/aarch64/fpu/math_private.h
9323 (define math_opt_barrier): Add AArch64 version.
9324 (math_force_eval): Likewise.
9325
9326 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
9327
9328 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
9329
9330 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
9331
9332 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
9333 %ld with %jd and cast to intmax_t.
9334 (do_test_length_zero): Likewise.
9335
9336 2015-07-10 Roland McGrath <roland@hack.frob.com>
9337
9338 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
9339
9340 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
9341
9342 * sysdeps/tile/libm-test-ulps: Regenerated.
9343
9344 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
9345 Comment out the whole function, not just its body.
9346
9347 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9348
9349 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
9350 locks.
9351
9352 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
9353
9354 2015-07-10 Torvald Riegel <triegel@redhat.com>
9355
9356 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
9357 (sem_assume_only_signals_cause_futex_EINTR): Remove.
9358
9359 2015-07-10 Torvald Riegel <triegel@redhat.com>
9360
9361 * sysdeps/nptl/futex-internal.h: New file.
9362 * sysdeps/nacl/futex-internal.h: New file.
9363 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
9364 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
9365 error checking.
9366 (setxid_unmark_thread): Likewise.
9367 (__nptl_setxid): Likewise.
9368 (__wait_lookup_done): Likewise.
9369 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
9370 * nptl/nptl-init.c (sighandler_setxid): Likewise.
9371 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
9372 * nptl/pthread_once.c (clear_once_control): Likewise.
9373 (__pthread_once_slow): Likewise.
9374 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9375 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
9376 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
9377 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9378 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
9379 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
9380 Likewise.
9381 (__pthread_rwlock_rdlock): Likewise.
9382 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9383 Likewise.
9384 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9385 Likewise.
9386 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
9387 Likewise.
9388 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
9389 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
9390 Likewise.
9391 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
9392 __ASSUME_PRIVATE_FUTEX check.
9393 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
9394 Check that shared futexes are supported.
9395 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
9396 wrappers with error checking.
9397 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
9398 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
9399 * nptl/pthread_barrierattr_setpshared.c
9400 (pthread_barrierattr_setpshared): Check that shared futexes are
9401 supported.
9402 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
9403 Likewise.
9404 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
9405 Likewise.
9406 * nptl/sem_init.c (futex_private_if_supported): Remove.
9407 (__new_sem_init): Adapt and check that shared futexes are supported.
9408 * nptl/sem_open.c (sem_open): Likewise.
9409 * nptl/sem_post.c (futex_wake): Remove.
9410 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
9411 (do_futex_wait): Use futex wrappers with error checking.
9412 * nptl/sem_wait.c: Include lowlevellock.h.
9413 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
9414 Use futex_supports_pshared.
9415 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
9416 Use futex wrappers with error checking.
9417 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
9418 Likewise.
9419 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
9420 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
9421 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
9422 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
9423 (futex_wake): Likewise.
9424 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
9425 (do_futex_wait): Use futex wrappers with error checking.
9426 (__new_sem_wait_slow): Update EINTR handling.
9427 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
9428
9429 2015-07-09 Martin Sebor <msebor@redhat.com>
9430
9431 [BZ #18435]
9432 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
9433 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
9434 * nptl/Makefile (test-xfail-tst-once5): Define.
9435
9436 2015-07-09 Roland McGrath <roland@hack.frob.com>
9437
9438 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
9439 * elf/dl-minimal.c: For readability, reorder some definitions and
9440 introduce more page breaks. Include <stdio.h>.
9441 (__libc_fatal): New function.
9442
9443 * include/unistd.h: Add rtld_hidden_proto for _exit.
9444 * posix/_exit.c: Add rtld_hidden_def.
9445 * sysdeps/mach/hurd/_exit.c: Likewise.
9446 * sysdeps/nacl/_exit.c: Likewise.
9447 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
9448 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
9449
9450 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
9451
9452 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
9453 bndmov encoding with zero displacement.
9454
9455 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
9456 H.J. Lu <hongjiu.lu@intel.com>
9457
9458 [BZ #18134]
9459 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
9460 * sysdeps/i386/configure: Regenerated.
9461 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
9462 (_dl_runtime_profile): Save and restore Intel MPX return bound
9463 registers when calling _dl_call_pltexit. Add
9464 PRESERVE_BND_REGS_PREFIX before return.
9465 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
9466 (LRV_BND1_OFFSET): Likewise.
9467 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
9468 lrv_bnd1.
9469 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
9470 typo in bndmov encoding.
9471 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
9472 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
9473 branch instructions to preserve bounds.
9474
9475 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9476
9477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9478 [GLIBC_2.22]: Add fmemopen.
9479
9480 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
9481
9482 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
9483 returns an error, also try to use host port from __mach_host_self for
9484 the __vm_wire call.
9485 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
9486
9487 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9488
9489 [BZ #18400]
9490 [BZ #18648]
9491 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
9492 Fix pr_uid and pr_gid members.
9493 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
9494 definition to elf_greg_t.
9495
9496 2015-07-08 Roland McGrath <roland@hack.frob.com>
9497
9498 [BZ #18383]
9499 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
9500 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
9501 * sysdeps/arm/configure: Regenerated.
9502 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
9503 (test-xfail-tst-tlsalign-static): Variable removed.
9504
9505 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
9506 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
9507 rather than explicit 'ln -s'.
9508
9509 * resolv/rpc/netdb.h: New file.
9510 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
9511
9512 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9513
9514 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
9515 length buffers.
9516 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9517 test-skeleton.c.
9518
9519 [BZ #6544]
9520 [BZ #11216]
9521 [BZ #12836]
9522 [BZ #13151]
9523 [BZ #13152]
9524 [BZ #14292]
9525 * include/stdio.h (fmemopen): Remove hidden prototype.
9526 (__fmemopen): Add new hidden prototype.
9527 * libio/Makefile: Add oldfmemopen object.
9528 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
9529 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
9530 compliance.
9531 * libio/oldfmemopen.c: New file: old fmemopen implementation for
9532 symbol compatibility.
9533 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
9534 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
9535 fmemopen.
9536 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
9537 on append and read mode.
9538 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
9539 fmemopen.
9540 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
9541 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
9542 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
9543 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
9544 Likewise.
9545 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9546 [GLIBC_2.22]: Likewise.
9547 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
9548 Likewise.
9549 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
9550 Likewise.
9551 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9552 [GLIBC_2.22]: Likewise.
9553 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9554 [GLIBC_2.22]: Likewise.
9555 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9556 [GLIBC_2.22]: Likewise.
9557 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9558 [GLIBC_2.22]: Likewise.
9559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9560 [GLIBC_2.22]: Likewise.
9561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9562 [GLIBC_2.22]: Likewise.
9563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9564 [GLIBC_2.22]: Likewise.
9565 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
9566 Likewise.
9567 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
9568 Likewise.
9569 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
9570 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9571 [GLIBC_2.22]: Likewise.
9572 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9573 [GLIBC_2.22]: Likewise.
9574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9575 [GLIBC_2.22]: Likewise.
9576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9577 [GLIBC_2.22]: Likewise.
9578 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
9579 Likewise.
9580 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
9581 Likewise.
9582 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
9583 Likewise.
9584 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
9585 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
9586
9587 2015-07-08 Carlos O'Donell <carlos@redhat.com>
9588
9589 [BZ #18643]
9590 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
9591 IPV6_PATHMTU, and IPV6_DONTFRAG.
9592
9593 2015-07-08 Feng Gao <gfree.wind@gmail.com>
9594
9595 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
9596 and _IO_UNBUFFERED.
9597 * libio/oldfileops.c: Likewise.
9598 * libio/wfileops.c: Likewise.
9599
9600 2015-07-08 Mike Frysinger <vapier@gentoo.org>
9601
9602 * nscd/selinux.c: Delete selinux/flask.h include.
9603
9604 2015-07-08 Mike Frysinger <vapier@gentoo.org>
9605
9606 [BZ #18641]
9607 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
9608 (putpwent): Likewise.
9609 (getpwnam): Likewise.
9610 (getpwent_r): Likewise.
9611 (getpwuid_r): Likewise.
9612 (getpwnam_r): Likewise.
9613 (fgetpwent_r): Likewise.
9614
9615 2015-07-08 Carlos O'Donell <carlos@redhat.com>
9616
9617 [BZ #18557]
9618 * inet/rcmd.c (__validuser2_sa): Check user first to
9619 short-circuit host check.
9620
9621 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
9622 Mikhail Ilin <m.ilin@samsung.com>
9623
9624 [BZ #17833]
9625 * elf/Makefile (tests): Add tst-nodelete.
9626 (modules-names): Add tst-nodelete-uniquemod.
9627 (tst-nodelete-uniquemod.so-no-z-defs): New.
9628 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
9629 (tst-nodelete-zmod.so-no-z-defs): Likewise.
9630 ($(objpfx)tst-nodelete): Likewise.
9631 ($(objpfx)tst-nodelete.out): Likewise.
9632 (LDFLAGS-tst-nodelete): Likewise.
9633 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
9634 * elf/dl-close.c (_dl_close_worker): Add a parameter to
9635 implement forced object deletion.
9636 (_dl_close): Pass false to _dl_close_worker.
9637 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
9638 * elf/tst-nodelete.cc: New file.
9639 * elf/tst-nodeletelib.cc: Likewise.
9640 * elf/tst-znodeletelib.cc: Likewise.
9641 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
9642
9643 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
9644
9645 [BZ #18508]
9646 * stdlib/Makefile ($(objpfx)tst-makecontext3):
9647 Depend on $(libdl).
9648 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
9649 is not called infinitely times.
9650 (backtrace_helper): New function.
9651 (trace_arg): New struct.
9652 (st1): Enlarge stack size.
9653 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9654 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
9655 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9656 Likewise.
9657
9658 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
9659
9660 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9661
9662 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
9663
9664 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
9665 Include sys/types.h instead of bits/types.h.
9666 Remove inclusion of bits/wordsize.h.
9667
9668 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
9669
9670 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
9671 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
9672 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
9673 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
9674 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
9675 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
9676
9677 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
9678
9679 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
9680 link-defines.sym.
9681 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
9682 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
9683 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
9684 and LR_SIZE.
9685 * sysdeps/i386/link-defines.sym: New file.
9686
9687 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
9688
9689 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
9690 (modules-names): Add tst-auditmod3a tst-auditmod3b.
9691 ($(objpfx)tst-audit3): New rule.
9692 ($(objpfx)tst-audit3.out): Likewise.
9693 * sysdeps/i386/tst-audit3.c: New file.
9694 * sysdeps/i386/tst-audit3.h: Likewise.
9695 * sysdeps/i386/tst-auditmod3a.c: Likewise.
9696 * sysdeps/i386/tst-auditmod3b.c: Likewise.
9697
9698 2015-07-07 Torvald Riegel <triegel@redhat.com>
9699
9700 [BZ #18633]
9701 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
9702 pointer in C code.
9703 (__strcat_c): Likewise.
9704 (__strcat_g): Likewise.
9705
9706 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
9707
9708 [BZ #18592]
9709 * misc/sbrk.c: Set errno to ENOMEM on overflow.
9710
9711 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
9712
9713 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
9714 New function. (__ieee754_sqrtf): New function.
9715 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
9716 New function.
9717 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
9718 New function.
9719
9720 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
9721
9722 * sysdeps/ieee754/support.c: Remove unused file.
9723
9724 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9725
9726 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
9727 registers instead of d ones so the layout is kernel abi compatible.
9728 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
9729 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
9730 Likewise.
9731
9732 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9733
9734 * sysdeps/aarch64/libm-test-ulps: Regenerated.
9735
9736 2015-07-01 Joseph Myers <joseph@codesourcery.com>
9737
9738 [BZ #18619]
9739 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
9740 and return argument in case of subnormal argument.
9741
9742 2015-07-01 Martin Sebor <msebor@redhat.com>
9743
9744 [BZ #18435]
9745 * nptl/Makefile: Add tst-once5.cc.
9746 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
9747 Remove macro redefinitions.
9748 * nptl/tst-once5.cc: New test.
9749
9750 2015-07-01 Joseph Myers <joseph@codesourcery.com>
9751
9752 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9753
9754 * sysdeps/arm/libm-test-ulps: Regenerated.
9755
9756 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9757 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9758
9759 2015-06-30 Torvald Riegel <triegel@redhat.com>
9760
9761 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
9762 lll_lock_wait_private and lll_futex_wake probes.
9763
9764 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
9765 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
9766 Likewise.
9767 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
9768 atomic_spin_nop.
9769 * sysdeps/x86_64/bits/atomic.h: Likewise.
9770 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
9771 to atomic_spin_nop and move ...
9772 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
9773 ... here and ...
9774 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
9775 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
9776 atomic_spin_nop instead of BUSY_WAIT_NOP.
9777 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
9778 Likewise.
9779 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
9780 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
9781 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
9782 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
9783 instead of atomic_delay.
9784
9785 2015-06-29 Joseph Myers <joseph@codesourcery.com>
9786
9787 [BZ #18613]
9788 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
9789 X_ADJ not X when adjusting exponent.
9790 (__ieee754_gamma_r): Do intermediate computations in
9791 round-to-nearest then adjust overflowing and underflowing results
9792 as needed.
9793 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
9794 of X_ADJ not X when adjusting exponent.
9795 (__ieee754_gammaf_r): Do intermediate computations in
9796 round-to-nearest then adjust overflowing and underflowing results
9797 as needed.
9798 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
9799 log of X_ADJ not X when adjusting exponent.
9800 (__ieee754_gammal_r): Do intermediate computations in
9801 round-to-nearest then adjust overflowing and underflowing results
9802 as needed. Use 1.0L not 1.0f as numerator of division.
9803 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
9804 log of X_ADJ not X when adjusting exponent.
9805 (__ieee754_gammal_r): Do intermediate computations in
9806 round-to-nearest then adjust overflowing and underflowing results
9807 as needed. Use 1.0L not 1.0f as numerator of division.
9808 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
9809 of X_ADJ not X when adjusting exponent.
9810 (__ieee754_gammal_r): Do intermediate computations in
9811 round-to-nearest then adjust overflowing and underflowing results
9812 as needed. Use 1.0L not 1.0f as numerator of division.
9813 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
9814 to auto-libm-test-in.
9815 (tgamma_test): Use ALL_RM_TEST.
9816 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
9817 tests of tgamma with spurious-overflow.
9818 * math/auto-libm-test-out: Regenerated.
9819 * math/gen-libm-have-vector-test.sh: Do not check for START.
9820 * sysdeps/i386/fpu/libm-test-ulps: Update.
9821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9822
9823 [BZ #18612]
9824 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
9825 arguments, just return 0.5 times the argument, with underflow
9826 forced as needed.
9827 * math/auto-libm-test-in: Add more tests of j1.
9828 * math/auto-libm-test-out: Regenerated.
9829
9830 [BZ #16559]
9831 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
9832 (__ieee754_j1): Force underflow exception for small results.
9833 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9834 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
9835 (__ieee754_j1f): Force underflow exception for small results.
9836 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9837 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9838 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9839 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
9840 (__ieee754_j1l): Force underflow exception for small results.
9841 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9842 * math/auto-libm-test-in: Add more tests of j1 and jn.
9843 * math/auto-libm-test-out: Regenerated.
9844
9845 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
9846 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
9847 (PF_MPLS): Likewise.
9848 (AF_IB): Likewise.
9849 (AF_MPLS): Likewise.
9850 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
9851 value and macro.
9852 (MS_RMT_MASK): Include MS_LAZYTIME.
9853
9854 2015-06-26 Mel Gorman <mgorman@suse.de>
9855
9856 [BZ #18502]
9857 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
9858 already minimal.
9859
9860 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
9861
9862 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
9863 (DT_MIPS_NUM): Update.
9864 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
9865 DT_MIPS_RLD_MAP_REL.
9866
9867 2015-06-25 Joseph Myers <joseph@codesourcery.com>
9868
9869 [BZ #16559]
9870 [BZ #18602]
9871 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
9872 round-to-nearest internally then recompute results that
9873 underflowed to zero in the original rounding mode.
9874 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9875 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9876 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9877 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
9878 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
9879 * sysdeps/i386/fpu/libm-test-ulps: Update.
9880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9881
9882 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
9883
9884 * NEWS: Fixed description of link with vector math library.
9885
9886 2015-06-25 Andreas Schwab <schwab@suse.de>
9887
9888 [BZ #18549]
9889 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
9890 * libio/test-fmemopen.c (do_test): Add test for it.
9891
9892 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
9893
9894 [BZ #17841]
9895 * Makeconfig (no-pie-ldflag): New.
9896 (+link): Set to $(+link-pie) if default to PIE.
9897 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
9898 * config.make.in (build-pie-default): New.
9899 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
9900 is default. AC_SUBST.
9901 * configure: Regenerated.
9902 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
9903
9904 2015-06-24 Roland McGrath <roland@hack.frob.com>
9905
9906 * nptl/descr.h (struct pthread): Change type of field setxid_futex
9907 to 'unsigned int'.
9908
9909 * resolv/gai_misc.h (struct waitlist): Change type of field
9910 counterp to 'volatile unsigned int *'.
9911 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
9912 FUTEXADDR and OLDVAL.
9913 * resolv/getaddrinfo_a.c (getaddrinfo_a):
9914 Give local variable TOTAL type 'volatile unsigned int'.
9915 (struct async_waitlist): Change type of field counter to 'unsigned int'.
9916 * resolv/gai_suspend.c (gai_suspend):
9917 Give local variable CNTR type 'unsigned int'.
9918
9919 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
9920 counterp to 'volatile unsigned int *'.
9921 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
9922 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
9923 (aio_suspend): Give local variable CNTR type 'unsigned int'.
9924 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
9925 Give local variable TOTAL type 'volatile unsigned int'.
9926 (struct async_waitlist): Change type of field counter to 'unsigned int'.
9927
9928 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
9929
9930 [BZ #18383]
9931 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
9932 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
9933 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
9934 comment for i386/x86-64.
9935 (test-xfail-tst-tlsalign-extern-static): Removed.
9936
9937 2015-06-24 Joseph Myers <joseph@codesourcery.com>
9938
9939 * math/test-double.h: New file.
9940 * math/test-float.h: Likewise.
9941 * math/test-ldouble.h: Likewise.
9942 * math/test-math-inline.h: Likewise.
9943 * math/test-math-no-inline.h: Likewise.
9944 * math/test-math-scalar.h: Likewise.
9945 * math/test-math-vector.h: Likewise.
9946 * math/test-vec-loop.h: Remove file. Contents moved into
9947 test-math-vector.h.
9948 * math/libm-test.inc (MATHCONST): Do not document macro.
9949 * math/test-double.c: Include test-double.h, test-math-no-inline.h
9950 and test-math-scalar.h.
9951 (FUNC): Remove macro.
9952 (FUNC_TEST): Likewise.
9953 (FLOAT): Likewise.
9954 (MATHCONST): Likewise.
9955 (PRINTF_EXPR): Likewise.
9956 (PRINTF_XEXPR): Likewise.
9957 (PRINTF_NEXPR): Likewise.
9958 (TEST_DOUBLE): Likewise.
9959 (TEST_MATHVEC): Likewise.
9960 (__NO_MATH_INLINES): Likewise.
9961 * math/test-float.c: Include test-float.h, test-math-no-inline.h
9962 and test-math-scalar.h.
9963 (FUNC): Remove macro.
9964 (FUNC_TEST): Likewise.
9965 (FLOAT): Likewise.
9966 (MATHCONST): Likewise.
9967 (PRINTF_EXPR): Likewise.
9968 (PRINTF_XEXPR): Likewise.
9969 (PRINTF_NEXPR): Likewise.
9970 (TEST_FLOAT): Likewise.
9971 (TEST_MATHVEC): Likewise.
9972 (__NO_MATH_INLINES): Likewise.
9973 * math/test-idouble.c: Include test-double.h, test-math-inline.h
9974 and test-math-scalar.h.
9975 (FUNC): Remove macro.
9976 (FUNC_TEST): Likewise.
9977 (FLOAT): Likewise.
9978 (MATHCONST): Likewise.
9979 (PRINTF_EXPR): Likewise.
9980 (PRINTF_XEXPR): Likewise.
9981 (PRINTF_NEXPR): Likewise.
9982 (TEST_DOUBLE): Likewise.
9983 (TEST_MATHVEC): Likewise.
9984 (TEST_INLINE): Likewise.
9985 (__NO_MATH_INLINES): Likewise.
9986 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
9987 test-math-scalar.h.
9988 (FUNC): Remove macro.
9989 (FUNC_TEST): Likewise.
9990 (FLOAT): Likewise.
9991 (MATHCONST): Likewise.
9992 (PRINTF_EXPR): Likewise.
9993 (PRINTF_XEXPR): Likewise.
9994 (PRINTF_NEXPR): Likewise.
9995 (TEST_FLOAT): Likewise.
9996 (TEST_MATHVEC): Likewise.
9997 (TEST_INLINE): Likewise.
9998 (__NO_MATH_INLINES): Likewise.
9999 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
10000 and test-math-scalar.h.
10001 (FUNC): Remove macro.
10002 (FUNC_TEST): Likewise.
10003 (FLOAT): Likewise.
10004 (MATHCONST): Likewise.
10005 (PRINTF_EXPR): Likewise.
10006 (PRINTF_XEXPR): Likewise.
10007 (PRINTF_NEXPR): Likewise.
10008 (TEST_LDOUBLE): Likewise.
10009 (TEST_MATHVEC): Likewise.
10010 (TEST_INLINE): Likewise.
10011 (__NO_MATH_INLINES): Likewise.
10012 * math/test-ldouble.c: Include test-ldouble.h,
10013 test-math-no-inline.h and test-math-scalar.h.
10014 (FUNC): Remove macro.
10015 (FUNC_TEST): Likewise.
10016 (FLOAT): Likewise.
10017 (MATHCONST): Likewise.
10018 (PRINTF_EXPR): Likewise.
10019 (PRINTF_XEXPR): Likewise.
10020 (PRINTF_NEXPR): Likewise.
10021 (TEST_LDOUBLE): Likewise.
10022 (TEST_MATHVEC): Likewise.
10023 (__NO_MATH_INLINES): Likewise.
10024 * math/test-double-vlen2.h: Include test-double.h,
10025 test-math-no-inline.h and test-math-vector.h.
10026 (FLOAT): Remove macro.
10027 (FUNC): Likewise.
10028 (MATHCONST): Likewise.
10029 (PRINTF_EXPR): Likewise.
10030 (PRINTF_XEXPR): Likewise.
10031 (PRINTF_NEXPR): Likewise.
10032 (TEST_DOUBLE): Likewise.
10033 (TEST_MATHVEC): Likewise.
10034 (__NO_MATH_INLINES): Likewise.
10035 (CNCT): Likewise.
10036 (CONCAT): Likewise.
10037 (WRAPPER_NAME): Likewise.
10038 (WRAPPER_DECL): Likewise.
10039 (WRAPPER_DECL_ff): Likewise.
10040 (WRAPPER_DECL_fFF): Likewise.
10041 (VECTOR_WRAPPER): Likewise.
10042 (VECTOR_WRAPPER_ff): Likewise.
10043 (VECTOR_WRAPPER_fFF): Likewise.
10044 (VEC_LEN): New macro.
10045 * math/test-double-vlen4.h: Include test-double.h,
10046 test-math-no-inline.h and test-math-vector.h.
10047 (FLOAT): Remove macro.
10048 (FUNC): Likewise.
10049 (MATHCONST): Likewise.
10050 (PRINTF_EXPR): Likewise.
10051 (PRINTF_XEXPR): Likewise.
10052 (PRINTF_NEXPR): Likewise.
10053 (TEST_DOUBLE): Likewise.
10054 (TEST_MATHVEC): Likewise.
10055 (__NO_MATH_INLINES): Likewise.
10056 (CNCT): Likewise.
10057 (CONCAT): Likewise.
10058 (WRAPPER_NAME): Likewise.
10059 (WRAPPER_DECL): Likewise.
10060 (WRAPPER_DECL_ff): Likewise.
10061 (WRAPPER_DECL_fFF): Likewise.
10062 (VECTOR_WRAPPER): Likewise.
10063 (VECTOR_WRAPPER_ff): Likewise.
10064 (VECTOR_WRAPPER_fFF): Likewise.
10065 (VEC_LEN): New macro.
10066 * math/test-double-vlen8.h: Include test-double.h,
10067 test-math-no-inline.h and test-math-vector.h.
10068 (FLOAT): Remove macro.
10069 (FUNC): Likewise.
10070 (MATHCONST): Likewise.
10071 (PRINTF_EXPR): Likewise.
10072 (PRINTF_XEXPR): Likewise.
10073 (PRINTF_NEXPR): Likewise.
10074 (TEST_DOUBLE): Likewise.
10075 (TEST_MATHVEC): Likewise.
10076 (__NO_MATH_INLINES): Likewise.
10077 (CNCT): Likewise.
10078 (CONCAT): Likewise.
10079 (WRAPPER_NAME): Likewise.
10080 (WRAPPER_DECL): Likewise.
10081 (WRAPPER_DECL_ff): Likewise.
10082 (WRAPPER_DECL_fFF): Likewise.
10083 (VECTOR_WRAPPER): Likewise.
10084 (VECTOR_WRAPPER_ff): Likewise.
10085 (VECTOR_WRAPPER_fFF): Likewise.
10086 (VEC_LEN): New macro.
10087 * math/test-float-vlen4.h: Include test-float.h,
10088 test-math-no-inline.h and test-math-vector.h.
10089 (FLOAT): Remove macro.
10090 (FUNC): Likewise.
10091 (MATHCONST): Likewise.
10092 (PRINTF_EXPR): Likewise.
10093 (PRINTF_XEXPR): Likewise.
10094 (PRINTF_NEXPR): Likewise.
10095 (TEST_FLOAT): Likewise.
10096 (TEST_MATHVEC): Likewise.
10097 (__NO_MATH_INLINES): Likewise.
10098 (CNCT): Likewise.
10099 (CONCAT): Likewise.
10100 (WRAPPER_NAME): Likewise.
10101 (WRAPPER_DECL): Likewise.
10102 (WRAPPER_DECL_ff): Likewise.
10103 (WRAPPER_DECL_fFF): Likewise.
10104 (VECTOR_WRAPPER): Likewise.
10105 (VECTOR_WRAPPER_ff): Likewise.
10106 (VECTOR_WRAPPER_fFF): Likewise.
10107 (VEC_LEN): New macro.
10108 * math/test-float-vlen8.h: Include test-float.h,
10109 test-math-no-inline.h and test-math-vector.h.
10110 (FLOAT): Remove macro.
10111 (FUNC): Likewise.
10112 (MATHCONST): Likewise.
10113 (PRINTF_EXPR): Likewise.
10114 (PRINTF_XEXPR): Likewise.
10115 (PRINTF_NEXPR): Likewise.
10116 (TEST_FLOAT): Likewise.
10117 (TEST_MATHVEC): Likewise.
10118 (__NO_MATH_INLINES): Likewise.
10119 (CNCT): Likewise.
10120 (CONCAT): Likewise.
10121 (WRAPPER_NAME): Likewise.
10122 (WRAPPER_DECL): Likewise.
10123 (WRAPPER_DECL_ff): Likewise.
10124 (WRAPPER_DECL_fFF): Likewise.
10125 (VECTOR_WRAPPER): Likewise.
10126 (VECTOR_WRAPPER_ff): Likewise.
10127 (VECTOR_WRAPPER_fFF): Likewise.
10128 (VEC_LEN): New macro.
10129 * math/test-float-vlen16.h: Include test-float.h,
10130 test-math-no-inline.h and test-math-vector.h.
10131 (FLOAT): Remove macro.
10132 (FUNC): Likewise.
10133 (MATHCONST): Likewise.
10134 (PRINTF_EXPR): Likewise.
10135 (PRINTF_XEXPR): Likewise.
10136 (PRINTF_NEXPR): Likewise.
10137 (TEST_FLOAT): Likewise.
10138 (TEST_MATHVEC): Likewise.
10139 (__NO_MATH_INLINES): Likewise.
10140 (CNCT): Likewise.
10141 (CONCAT): Likewise.
10142 (WRAPPER_NAME): Likewise.
10143 (WRAPPER_DECL): Likewise.
10144 (WRAPPER_DECL_ff): Likewise.
10145 (WRAPPER_DECL_fFF): Likewise.
10146 (VECTOR_WRAPPER): Likewise.
10147 (VECTOR_WRAPPER_ff): Likewise.
10148 (VECTOR_WRAPPER_fFF): Likewise.
10149 (VEC_LEN): New macro.
10150 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
10151 test-vec-loop.h.
10152 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10153 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10154 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10155 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10156 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10157 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10158 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10159
10160 2015-06-24 Roland McGrath <roland@hack.frob.com>
10161
10162 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
10163 (__getlogin_r): ... this.
10164
10165 2015-06-24 Joseph Myers <joseph@codesourcery.com>
10166
10167 [BZ #18594]
10168 * math/s_ccosh.c (__ccosh): Compare with least normal value
10169 instead of comparing class with FP_SUBNORMAL.
10170 * math/s_ccoshf.c (__ccoshf): Likewise.
10171 * math/s_ccoshl.c (__ccoshl): Likewise.
10172 * math/s_cexp.c (__cexp): Likewise.
10173 * math/s_cexpf.c (__cexpf): Likewise.
10174 * math/s_cexpl.c (__cexpl): Likewise.
10175 * math/s_csin.c (__csin): Likewise.
10176 * math/s_csinf.c (__csinf): Likewise.
10177 * math/s_csinh.c (__csinh): Likewise.
10178 * math/s_csinhf.c (__csinhf): Likewise.
10179 * math/s_csinhl.c (__csinhl): Likewise.
10180 * math/s_csinl.c (__csinl): Likewise.
10181 * math/s_ctan.c (__ctan): Likewise.
10182 * math/s_ctanf.c (__ctanf): Likewise.
10183 * math/s_ctanh.c (__ctanh): Likewise.
10184 * math/s_ctanhf.c (__ctanhf): Likewise.
10185 * math/s_ctanhl.c (__ctanhl): Likewise.
10186 * math/s_ctanl.c (__ctanl): Likewise.
10187 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
10188 csin, csinh, ctan and ctanh.
10189 * math/auto-libm-test-out: Regenerated.
10190 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
10191 * sysdeps/i386/fpu/libm-test-ulps: Update.
10192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10193
10194 2015-06-24 Roland McGrath <roland@hack.frob.com>
10195
10196 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
10197 return value is wrong, print the expected value too.
10198
10199 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
10200
10201 [BZ #18585]
10202 * elf/readlib.c (is_gdb_python_file): New.
10203 (process_file): Don't issue errors on filenames with -gdb.py
10204 suffix.
10205
10206 2015-06-24 Joseph Myers <joseph@codesourcery.com>
10207
10208 * math/auto-libm-test-in: Add more tests of csin and csinh.
10209 * math/auto-libm-test-out: Regenerated.
10210 * math/libm-test.inc (csin_test_data): Remove tests moved to
10211 auto-libm-test-in.
10212 (csinh_test_data): Likewise.
10213
10214 [BZ #18593]
10215 * math/s_csin.c (__csin): Negate before rather than after possibly
10216 overflowing multiplication.
10217 * math/s_csinf.c (__csinf): Likewise.
10218 * math/s_csinh.c (__csinh): Likewise.
10219 * math/s_csinhf.c (__csinhf): Likewise.
10220 * math/s_csinhl.c (__csinhl): Likewise.
10221 * math/s_csinl.c (__csinl): Likewise.
10222 * math/auto-libm-test-in: Add some tests of csin and csinh.
10223 * math/auto-libm-test-out: Regenerated.
10224 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
10225 (csinh_test_data): Likewise.
10226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10227
10228 [BZ #18586]
10229 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
10230 underflow exception for small results.
10231
10232 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
10233
10234 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10235 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
10236 variable and included header.
10237 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
10238 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
10239 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
10240 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
10241 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
10242 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
10243 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
10244 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
10245 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
10246 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
10247 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
10248 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
10249 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
10250 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
10251 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
10252 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
10253
10254 2015-06-23 Joseph Myers <joseph@codesourcery.com>
10255
10256 [BZ #16526]
10257 [BZ #16538]
10258 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
10259 (__sin): Force underflow exception for arguments with small
10260 absolute value.
10261 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
10262 (__kernel_sinf): Force underflow exception for arguments with
10263 small absolute value.
10264 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
10265 (__kernel_sincosl): Force underflow exception for arguments with
10266 small absolute value.
10267 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
10268 (__kernel_sinl): Force underflow exception for arguments with
10269 small absolute value.
10270 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
10271 (__kernel_sincosl): Force underflow exception for arguments with
10272 small absolute value.
10273 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
10274 (__kernel_sinl): Force underflow exception for arguments with
10275 small absolute value.
10276 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
10277 (__kernel_sinl): Force underflow exception for arguments with
10278 small absolute value.
10279 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
10280 (__kernel_sinf): Force underflow exception for arguments with
10281 small absolute value.
10282 * math/auto-libm-test-in: Add more tests of sin and sincos.
10283 * math/auto-libm-test-out: Regenerated.
10284
10285 [BZ #18245]
10286 [BZ #18583]
10287 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
10288 (__kernel_standard_l): Use feholdexcept and fesetenv around
10289 conversion to double instead of special-casing overflow and
10290 underflow.
10291 * math/libm-test.inc (fmod_test_data): Add more tests.
10292 (remainder_test_data): Likewise.
10293 (sqrt_test_data): Likewise.
10294
10295 2015-06-23 Torvald Riegel <triegel@redhat.com>
10296
10297 [BZ #17403]
10298 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
10299 atomic_read_barrier, atomic_write_barrier): Define.
10300 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
10301 atomic_read_barrier, atomic_write_barrier): Define.
10302
10303 2015-06-23 Joseph Myers <joseph@codesourcery.com>
10304
10305 * math/Makefile [$(PERL) != no]
10306 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
10307 dependency on libm-test.stmp below the inclusion of Rules.
10308
10309 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
10310
10311 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10312 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
10313 and included header.
10314 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
10315 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
10316 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
10317 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
10318 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
10319 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
10320 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10321 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10322 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
10323 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
10324 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
10325 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
10326 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
10327 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
10328 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
10329 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
10330 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
10331 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
10332 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
10333
10334 2015-06-23 Joseph Myers <joseph@codesourcery.com>
10335
10336 [BZ #18371]
10337 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
10338 intermediate but not final result might underflow.
10339 * math/s_csqrtf.c (__csqrtf): Likewise.
10340 * math/s_csqrtl.c (__csqrtl): Likewise.
10341 * math/auto-libm-test-in: Add more tests of csqrt.
10342 * math/auto-libm-test-out: Regenerated.
10343 * sysdeps/i386/fpu/libm-test-ulps: Update.
10344
10345 [BZ #18219]
10346 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
10347 threshold on absolute value of exponent for which scaling is used.
10348 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10349 * math/auto-libm-test-in: Add more tests of exp2.
10350 * math/auto-libm-test-out: Regenerated.
10351
10352 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
10353
10354 [BZ #17977]
10355 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
10356 when initializing interface list, based on the bug analysis
10357 and the patch proposed by Eric Newton.
10358 * resolv/tst-res_hconf_reorder.c: New test.
10359 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
10360 tst-res_hconf_reorder.
10361 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
10362 and $(shared-thread-library).
10363 (tst-res_hconf_reorder-ENV): New variable.
10364
10365 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
10366 in comment.
10367
10368 2015-06-22 Joseph Myers <joseph@codesourcery.com>
10369
10370 [BZ #16353]
10371 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
10372 (__expm1): Force underflow exception for arguments with small
10373 absolute value.
10374 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
10375 (__expm1f): Force underflow exception for arguments with small
10376 absolute value.
10377 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
10378 (__expm1): Force underflow exception for arguments with small
10379 absolute value.
10380 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
10381 (__expm1f): Force underflow exception for arguments with small
10382 absolute value.
10383 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10384 Check for small arguments before calling __expm1.
10385 * math/auto-libm-test-in: Do not mark underflow exceptions as
10386 possibly missing for bug 16353.
10387 * math/auto-libm-test-out: Regenerated.
10388
10389 2015-06-22 Andreas Schwab <schwab@suse.de>
10390
10391 [BZ #18513]
10392 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
10393 PTR queries.
10394
10395 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
10396
10397 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
10398
10399 * string/strcoll_l.c: Remove unused struct element idxnow.
10400
10401 2015-06-21 Joseph Myers <joseph@codesourcery.com>
10402
10403 [BZ #18569]
10404 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
10405 underflow and return argument in case of subnormal argument.
10406 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10407 Likewise.
10408 * math/auto-libm-test-in: Add more tests of expm1.
10409 * math/auto-libm-test-out: Regenerated.
10410
10411 [BZ #16361]
10412 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10413 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10414 tiny results.
10415 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10416 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10417 tiny results.
10418 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
10419 mark underflow exceptions as possibly missing for bug 16361.
10420 * math/auto-libm-test-out: Regenerated.
10421
10422 2015-06-19 Joseph Myers <joseph@codesourcery.com>
10423
10424 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
10425 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
10426 Remove variable.
10427 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10428 (test-xfail-XOPEN2K8/utmpx.h/conform).
10429
10430 * conform/conformtest.pl ($xerrors): New variable.
10431 (note_error): New function.
10432 (compiletest): New argument $xfail. Use not_error.
10433 (runtest): Likewise.
10434 (top level): Handle xfail- lines. Update calls to compiletest and
10435 runtest. Handle xfail- and optional- in headers listed with
10436 allow-header.
10437 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
10438 (O_EXEC): Likewise.
10439 (O_SEARCH): Likewise.
10440 * conform/data/stropts.h-data (ioctl): Likewise.
10441 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
10442 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
10443 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
10444 (msghdr.msg_controllen): Likewise.
10445 (cmsghdr.cmsg_len): Likewise.
10446 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
10447 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
10448 variable.
10449 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10450 (test-xfail-XPG4/stropts.h/conform): Likewise.
10451 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10452 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10453 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10454 (test-xfail-UNIX98/stropts.h/conform): Likewise.
10455 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10456 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10457 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10458 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10459 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10460 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10461 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10462 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10463 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10464 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10465 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10466 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10467 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10468 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10469 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10470
10471 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
10472
10473 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
10474 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
10475 definitions for proper unfolding of __MATHDECL_VEC.
10476
10477 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
10478
10479 * benchtests/bench-strcoll.c:
10480 Include string.h.
10481 (main): Remove unused variable res.
10482
10483 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
10484
10485 * timezone/Makefile (%/UTC %/Universal):
10486 Generate test-result files for UTC and Universal.
10487
10488 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
10489
10490 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10491
10492 2015-06-18 Joseph Myers <joseph@codesourcery.com>
10493
10494 [BZ #16350]
10495 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
10496 for arguments with small absolute value.
10497 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
10498 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
10499 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
10500 (__asinh): Force underflow exception for arguments with small
10501 absolute value.
10502 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
10503 (__asinhf): Force underflow exception for arguments with small
10504 absolute value.
10505 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
10506 (__asinhl): Force underflow exception for arguments with small
10507 absolute value.
10508 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
10509 (__asinhl): Force underflow exception for arguments with small
10510 absolute value.
10511 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
10512 (__asinhl): Force underflow exception for arguments with small
10513 absolute value.
10514 * math/auto-libm-test-in: Do not mark underflow exceptions as
10515 possibly missing for bug 16350.
10516 * math/auto-libm-test-out: Regenerated.
10517
10518 * include/bits/ipc.h: Remove file.
10519 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
10520 variable.
10521 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10522 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10523 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10524 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10525 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10526 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10527 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10528 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10529 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10530
10531 * math/auto-libm-test-in: Remove spurious underflow allowance for
10532 tests of cexp.
10533 * math/auto-libm-test-out: Regenerated.
10534
10535 [BZ #18558]
10536 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
10537 unconditional definition.
10538 (MCAST_BLOCK_SOURCE): Likewise.
10539 (MCAST_UNBLOCK_SOURCE): Likewise.
10540 (MCAST_LEAVE_GROUP): Likewise.
10541 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10542 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10543 (MCAST_MSFILTER): Likewise.
10544 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
10545 Remove variable.
10546 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10547 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10548 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10549 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10550 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10551
10552 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
10553
10554 * NEWS: Mention addition of x86_64 vector sincosf.
10555 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
10556 * math/test-float-vlen4.h: Likewise.
10557 * math/test-float-vlen8.h: Likewise.
10558 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10559 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
10560 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10561 * sysdeps/x86_64/fpu/Versions: New versions added.
10562 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10563 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10564 Added build of SSE, AVX2 and AVX512 IFUNC versions.
10565 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
10566 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
10567 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
10568 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
10569 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
10570 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
10571 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
10572 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
10573 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
10574 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
10575 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
10576 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
10577 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
10578 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
10579 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10580 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10581 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10582 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10583 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10584 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10585 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10586
10587 * NEWS: Mention addition of x86_64 vector sincos.
10588 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
10589 * math/math.h (__MATHDECL_VEC): New macro.
10590 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
10591 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
10592 declaration under condition.
10593 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
10594 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
10595 TEST_VEC_LOOP change.
10596 * math/test-double-vlen4.h: Likewise.
10597 * math/test-double-vlen8.h: Likewise.
10598 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
10599 * math/test-float-vlen4.h: Likewise.
10600 * math/test-float-vlen8.h: Likewise.
10601 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10602 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
10603 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10604 * sysdeps/x86_64/fpu/Versions: New versions added.
10605 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10606 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10607 Added build of SSE, AVX2 and AVX512 IFUNC versions.
10608 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
10609 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
10610 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
10611 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
10612 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
10613 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
10614 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
10615 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
10616 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
10617 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
10618 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
10619 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
10620 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
10621 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
10622 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10623 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10624 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10625 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10626 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10627 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10628 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10629
10630 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10631 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10632 redirections for powf.
10633 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10634 * sysdeps/x86_64/fpu/Versions: New versions added.
10635 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10636 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10637 Added build of SSE, AVX2 and AVX512 IFUNC versions.
10638 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
10639 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
10640 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
10641 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
10642 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
10643 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
10644 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
10645 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
10646 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
10647 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
10648 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
10649 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
10650 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
10651 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
10652 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10653 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10654 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10655 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10656 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10657 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10658 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10659 * math/test-float-vlen16.h: Fixed 2 argument macro.
10660 * math/test-float-vlen4.h: Likewise.
10661 * math/test-float-vlen8.h: Likewise.
10662 * NEWS: Mention addition of x86_64 vector powf.
10663
10664 2015-06-17 Joseph Myers <joseph@codesourcery.com>
10665
10666 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10667 and redefine.
10668 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10669 and redefine.
10670 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
10671 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10672 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10673
10674 [BZ #18553]
10675 * resource/getpriority.c (getpriority): Rename to __getpriority
10676 and define as weak alias of __getpriority.
10677 * resource/setpriority.c (setpriority): Rename to __setpriority
10678 and define as weak alias of __setpriority.
10679 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
10680 __getpriority and define as weak alias of __getpriority.
10681 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
10682 __setpriority and define as weak alias of __setpriority.
10683 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
10684 strong name.
10685 (setpriority): Use __setpriority as strong name.
10686 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
10687 __getpriority and define as weak alias of __getpriority.
10688 * include/sys/resource.h (__getpriority): Declare. Use
10689 libc_hidden_proto.
10690 (__setpriority): Likewise.
10691 (getpriority): Don't use libc_hidden_proto.
10692 (setpriority): Likewise.
10693 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
10694 getpriority. Call __setpriority instead of setpriority.
10695 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
10696 Remove variable.
10697
10698 [BZ #18547]
10699 * misc/getttyent.c (getttynam): Rename to __getttynam and define
10700 as weak alias of __getttynam. Use prototype function definition.
10701 Call __setttyent, __getttyent and __endttyent instead of
10702 setttyent, getttyent and endttyent.
10703 (getttyent): Rename to __getttyent and define as weak alias of
10704 __getttyent. Call __setttyent instead of setttyent. Call
10705 __fgets_unlocked instead of fgets_unlocked.
10706 (setttyent): Rename to __setttyent and define as weak alias of
10707 __setttyent.
10708 (endttyent): Rename to __endttyent and define as weak alias of
10709 __endttyent.
10710 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
10711 (__setttyent): Likewise.
10712 (__endttyent): Likewise.
10713 (getttyent): Don't use libc_hidden_proto.
10714 (setttyent): Likewise.
10715 (endttyent): Likewise.
10716 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
10717 __endttyent instead of setttyent, getttyent and endttyent.
10718 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
10719 Remove variable.
10720
10721 [BZ #18546]
10722 * socket/recv.c (__recv): Use libc_hidden_def.
10723 * socket/socket.c (__socket): Likewise.
10724 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
10725 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
10726 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
10727 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
10728 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
10729 libc_hidden_def.
10730 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
10731 libc_hidden_weak.
10732 * include/sys/socket.h (__socket): Do not use attribute_hidden.
10733 Use libc_hidden_proto.
10734 (__recv): Likewise.
10735 * socket/Versions (libc): Export __recv and __socket at version
10736 GLIBC_PRIVATE.
10737 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
10738 instead of recv.
10739 (init_mq_netlink): Call __socket instead of socket.
10740 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
10741 Remove variable.
10742
10743 [BZ #18545]
10744 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
10745 __mq_timedreceive and define as alias of __mq_timedreceive. Use
10746 hidden_weak.
10747 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
10748 define as alias of __mq_timedsend. Use hidden_weak.
10749 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
10750 __mq_timedsend as strong name.
10751 (mq_timedreceive): Use __mq_timedreceive as strong name.
10752 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
10753 (__mq_timedreceive): Likewise.
10754 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
10755 __mq_timedreceive instead of mq_timedreceive.
10756 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
10757 instead of mq_timedsend.
10758 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
10759 Remove variable.
10760
10761 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
10762 hidden_def and hidden_weak instead of libc_hidden_def and
10763 libc_hidden_weak.
10764 (top level): Refer to hidden_def in comment.
10765 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
10766 macro. Use it instead of libc_hidden_def.
10767 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
10768 specify __GI_* name explicitly.
10769 (mq_timedreceive): Likewise.
10770 (mq_setattr): Likewise.
10771
10772 [BZ #18544]
10773 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
10774 __pthread_barrier_init and define as weak alias of
10775 __pthread_barrier_init.
10776 * sysdeps/sparc/nptl/pthread_barrier_init.c
10777 (pthread_barrier_init): Likewise.
10778 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
10779 __pthread_barrier_wait and define as weak alias of
10780 __pthread_barrier_wait.
10781 * sysdeps/sparc/nptl/pthread_barrier_wait.c
10782 (pthread_barrier_wait): Likewise.
10783 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
10784 (pthread_barrier_wait): Likewise.
10785 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
10786 (pthread_barrier_wait): Likewise.
10787 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
10788 (pthread_barrier_wait): Likewise.
10789 * nptl/Versions (libpthread): Export __pthread_barrier_init and
10790 __pthread_barrier_wait at version GLIBC_PRIVATE.
10791 * include/pthread.h (__pthread_barrier_init): Declare.
10792 (__pthread_barrier_wait): Likewise.
10793 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
10794 Call __pthread_barrier_wait instead of pthread_barrier_wait.
10795 (helper_thread): Likewise.
10796 (init_mq_netlink): Call __pthread_barrier_init instead of
10797 pthread_barrier_init.
10798
10799 [BZ #18542]
10800 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
10801 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
10802 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
10803 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
10804 vswscanf.
10805 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
10806 Remove variable.
10807
10808 [BZ #18540]
10809 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
10810 strong alias of _IO_fflush. Use libc_hidden_def.
10811 * libio/iofflush_u.c (fflush_unlocked): Rename to
10812 __fflush_unlocked and define as weak alias of __fflush_unlocked.
10813 Use libc_hidden_weak.
10814 * include/stdio.h (__fflush_unlocked): Declare. Use
10815 libc_hidden_proto.
10816 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
10817 fflush_unlocked.
10818 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
10819 Remove variable.
10820
10821 [BZ #18539]
10822 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
10823 define as weak alias of __addseverity.
10824 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
10825 Remove variable.
10826 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10827 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10828 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10829
10830 [BZ #18536]
10831 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
10832 (__tfind): Likewise.
10833 (__tdelete): Likewise.
10834 (__twalk): Likewise.
10835 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
10836 __twalk to GLIBC_PRIVATE.
10837 * include/search.h (__tsearch): Use libc_hidden_proto.
10838 (__tfind): Likewise.
10839 (__tdelete): Likewise.
10840 (__twalk): Likewise.
10841 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
10842 Call __tdelete instead of tdelete.
10843 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
10844 tfind. Call __tsearch instead of tsearch.
10845 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
10846 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
10847 Remove variable.
10848 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10849
10850 [BZ #18534]
10851 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
10852 (dprintf): Define as a weak alias of __dprintf, not a strong
10853 alias.
10854 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
10855 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
10856 dprintf.
10857 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
10858 Remove variable.
10859 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10860 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10861
10862 [BZ #18533]
10863 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
10864 not a strong alias.
10865 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
10866 Remove variable.
10867
10868 [BZ #18532]
10869 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
10870 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
10871 (in6addr_loopback): Rename to __in6addr_loopback and define as
10872 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
10873 * include/netinet/in.h (__in6addr_loopback): Declare. Use
10874 libc_hidden_proto.
10875 (__in6addr_any): Likewise.
10876 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
10877 in6addr_any.
10878 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
10879 variable.
10880 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10881
10882 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
10883
10884 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
10885 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
10886 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10887 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10888 redirections for pow.
10889 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10890 * sysdeps/x86_64/fpu/Versions: New versions added.
10891 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10892 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10893 build of SSE, AVX2 and AVX512 IFUNC versions.
10894 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
10895 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
10896 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
10897 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
10898 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
10899 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
10900 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
10901 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
10902 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
10903 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
10904 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
10905 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
10906 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
10907 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
10908 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10909 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10910 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10911 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10912 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10913 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10914 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10915 * NEWS: Mention addition of x86_64 vector pow.
10916
10917 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10918 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10919 redirections for expf.
10920 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10921 * sysdeps/x86_64/fpu/Versions: New versions added.
10922 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10923 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10924 build of SSE, AVX2 and AVX512 IFUNC versions.
10925 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
10926 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
10927 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
10928 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
10929 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
10930 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
10931 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
10932 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
10933 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
10934 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
10935 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
10936 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
10937 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
10938 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10939 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10940 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10941 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10942 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10943 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10944 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10945 * NEWS: Mention addition of x86_64 vector expf.
10946
10947 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
10948 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
10949 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10950 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10951 redirections for exp.
10952 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10953 * sysdeps/x86_64/fpu/Versions: New versions added.
10954 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10955 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10956 build of SSE, AVX2 and AVX512 IFUNC versions.
10957 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
10958 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
10959 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
10960 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
10961 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
10962 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
10963 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
10964 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
10965 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
10966 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
10967 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
10968 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
10969 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
10970 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10971 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10972 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10973 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10974 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10975 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10976 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10977 * NEWS: Mention addition of x86_64 vector exp.
10978
10979 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10980 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10981 redirections for logf.
10982 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10983 * sysdeps/x86_64/fpu/Versions: New versions added.
10984 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10985 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10986 build of SSE, AVX2 and AVX512 IFUNC versions.
10987 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
10988 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
10989 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
10990 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
10991 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
10992 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
10993 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
10994 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
10995 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
10996 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
10997 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
10998 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
10999 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
11000 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11001 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11002 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11003 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11004 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11005 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11006 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11007 * NEWS: Mention addition of x86_64 vector logf.
11008
11009 * bits/libm-simd-decl-stubs.h: Added stubs for log.
11010 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
11011 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11012 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11013 redirections for log.
11014 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11015 * sysdeps/x86_64/fpu/Versions: New versions added.
11016 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11017 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11018 build of SSE, AVX2 and AVX512 IFUNC versions.
11019 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
11020 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
11021 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
11022 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
11023 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
11024 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
11025 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
11026 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
11027 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
11028 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
11029 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
11030 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
11031 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
11032 test.
11033 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11034 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11035 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11036 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11037 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11038 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11039 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11040 * NEWS: Mention addition of x86_64 vector log.
11041
11042 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
11043
11044 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
11045 cfi_adjust_cfa_offset argument.
11046 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
11047 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
11048
11049 [BZ #18034]
11050 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
11051 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
11052 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
11053 ordering using ldar.
11054 (_dl_tlsdesc_dynamic): Likewise.
11055 (_dl_tlsdesc_return_lazy): Likewise.
11056 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
11057 relaxed atomics instead of volatile and synchronize with release store.
11058 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
11059 volatile.
11060 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11061
11062 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
11063
11064 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11065 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
11066 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11067 * sysdeps/x86_64/fpu/Versions: New versions added.
11068 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11069 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11070 build of SSE, AVX2 and AVX512 IFUNC versions.
11071 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
11072 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
11073 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
11074 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
11075 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
11076 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
11077 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
11078 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
11079 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
11080 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
11081 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
11082 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
11083 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
11084 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11085 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11086 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11087 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11088 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11089 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11090 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11091 * NEWS: Mention addition of x86_64 vector sinf.
11092
11093 2015-06-14 Joseph Myers <joseph@codesourcery.com>
11094
11095 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
11096 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
11097 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
11098 Remove variable.
11099 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11100 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11101
11102 2015-06-12 Joseph Myers <joseph@codesourcery.com>
11103
11104 [BZ #18530]
11105 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
11106 strong alias of _IO_fputs. Use libc_hidden_def.
11107 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
11108 and define as weak alias of __fputs_unlocked. Use
11109 libc_hidden_weak.
11110 * include/stdio.h (__fputs_unlocked): Declare. Use
11111 libc_hidden_proto.
11112 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
11113 fputs_unlocked.
11114
11115 [BZ #18529]
11116 * resolv/netdb.h [__USE_POSIX]: Change condition to
11117 [__USE_XOPEN2K].
11118 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
11119 not expect.
11120 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
11121 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
11122 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
11123 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
11124 [XPG4 || UNIX98] (AI_ALL): Likewise.
11125 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
11126 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
11127 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
11128 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
11129 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
11130 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
11131 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
11132 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
11133 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
11134 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
11135 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
11136 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
11137 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
11138 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
11139 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
11140 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11141 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11142 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
11143 [XPG4 || UNIX98] (gai_strerror): Likewise.
11144 [XPG4 || UNIX98] (getaddrinfo): Likewise.
11145 [XPG4 || UNIX98] (getnameinfo): Likewise.
11146
11147 [BZ #18528]
11148 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
11149 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
11150 __USE_XOPEN2K8].
11151 (getgrent): Likewise.
11152 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
11153 expect.
11154 [XPG3 || POSIX2008] (endgrent): Likewise.
11155 [XPG3] (setgrent): Likewise.
11156 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
11157 variable.
11158 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11159
11160 [BZ #18527]
11161 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
11162 define as weak alias of __getlogin_r. Use libc_hidden_weak.
11163 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
11164 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
11165 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
11166 * include/unistd.h (__getlogin_r): Declare. Use
11167 libc_hidden_proto.
11168 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
11169 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
11170 variable.
11171 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11172 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11173 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11174
11175 2015-06-12 Martin Sebor <msebor@redhat.com>
11176
11177 [BZ #18512]
11178 * Makerules (check-install-supported): New target.
11179 (install): Add check-install-supported as a dependency.
11180 * manual/install.texi (Installing the C Library): Document
11181 that overriding prefix and exec_prefix is not supported.
11182 Mention DESTDIR.
11183 * INSTALL: Regenerate from the above.
11184
11185 2015-06-12 Joseph Myers <joseph@codesourcery.com>
11186
11187 [BZ #18519]
11188 * posix/Versions (libc): Export __libc_pread at version
11189 GLIBC_PRIVATE.
11190 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
11191 instead of pread.
11192 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
11193 variable.
11194
11195 [BZ #18522]
11196 * misc/efgcvt_r.c
11197 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
11198 (cvt_symbol): Use weak_alias instead of strong_alias.
11199 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
11200 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
11201 Remove variable.
11202 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11203 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11204
11205 [BZ #18520]
11206 * inet/herrno.c (h_errno): Rename to __h_errno.
11207 (__libc_h_errno): Define as alias of __h_errno not h_errno.
11208 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
11209 to __h_errno instead of h_errno.
11210 * nptl/herrno.c (h_errno): Rename to __h_errno.
11211 (__h_errno_location): Refer to __h_errno not h_errno.
11212 * resolv/Versions (h_errno): Rename to __h_errno.
11213 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
11214 Remove variable.
11215 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11216
11217 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
11218
11219 * configure.ac: More strict check for AVX512 assembler support.
11220 * configure: Regenerated.
11221
11222 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
11223 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
11224 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11225 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
11226 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11227 * sysdeps/x86_64/fpu/Versions: New versions added.
11228 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11229 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11230 Added build of SSE, AVX2 and AVX512 IFUNC versions.
11231 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
11232 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
11233 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
11234 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
11235 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
11236 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
11237 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
11238 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
11239 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
11240 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
11241 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
11242 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
11243 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
11244 test.
11245 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11246 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11247 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11248 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11249 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11250 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11251 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11252 * NEWS: Mention addition of x86_64 vector sin.
11253
11254 2015-06-11 Florian Weimer <fweimer@redhat.com>
11255
11256 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
11257 comment.
11258
11259 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
11260
11261 [BZ #18479]
11262 * nptl/pt-interp.c: New file.
11263 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
11264 Add pt-interp.
11265 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
11266 $(common-objpfx)runtime-linker.h.
11267
11268 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
11269
11270 * Makeconfig (+interp): Remove unused variable.
11271 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
11272 only. Depend on $(common-objpfx)runtime-linker.h instead of
11273 $(elf-objpfx)runtime-linker.h.
11274 ($(elf-objpfx)runtime-linker.h): Rename to
11275 $(common-objpfx)runtime-linker.h and move ...
11276 * Makerules [$(build-shared) = yes]: ... here.
11277 * elf/interp.c: Include <runtime-linker.h> instead of
11278 <elf/runtime-linker.h>.
11279
11280 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11281
11282 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
11283 (__gettimeofday_syscall): Remove vsyscall fallback.
11284 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
11285 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
11286 Add syscall fallback function.
11287 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
11288 if vDSO is not present.
11289 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
11290 fallback function.
11291 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
11292 present.
11293 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
11294 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11295
11296 2015-06-09 Joseph Myers <joseph@codesourcery.com>
11297
11298 [BZ #18497]
11299 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
11300 of wcscmp.
11301 (wcscmp): Define as weak alias of WCSCMP.
11302 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
11303 wcscoll.
11304 (USE_HIDDEN_DEF): Define.
11305 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
11306 __wcscoll. Don't use libc_hidden_weak.
11307 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
11308 wcscmp.
11309 * sysdeps/i386/i686/multiarch/wcscmp-c.c
11310 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
11311 __GI_wcscmp.
11312 (weak_alias): Undefine and redefine.
11313 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
11314 __wcscmp and define as weak alias of __wcscmp.
11315 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
11316 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
11317 (__wcscoll): Likewise.
11318 (wcscmp): Don't use libc_hidden_proto.
11319 (wcscoll): Likewise.
11320 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
11321 wcscoll.
11322 * posix/regexec.c (check_node_accept_bytes): Likewise.
11323 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
11324 variable.
11325 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11326 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11327
11328 [BZ #18507]
11329 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
11330 __fstatvfs and define as weak alias of __fstatvfs. Use
11331 libc_hidden_weak.
11332 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
11333 and define as weak alias of __statvfs. Use libc_hidden_weak.
11334 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
11335 Define as alias of __fstatvfs, not fstatvfs.
11336 (fstatvfs64): Likewise.
11337 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
11338 Define as alias of __statvfs, not statvfs.
11339 (statvfs64): Likewise.
11340 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
11341 Remove variable.
11342
11343 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11344
11345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11346 (HAVE_GETCPU_VSYSCALL): Define.
11347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11348 (HAVE_GETCPU_VSYSCALL): Likewise.
11349 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
11350 * sysdeps/unix/sysv/linux/sched_getcpu.c
11351 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
11352 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
11353 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
11354 prototype.
11355 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11356 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
11357 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
11358 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
11359 Define.
11360 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
11361 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11362 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
11363 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11364
11365 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
11366
11367 * sysdeps/x86_64/fpu/Makefile: New file.
11368 * sysdeps/x86_64/fpu/Versions: New file.
11369 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
11370 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
11371 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
11372 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
11373 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
11374 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
11375 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
11376 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
11377 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
11378 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
11379 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
11380 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
11381 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
11382 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11383 Added build of SSE, AVX2 and AVX512 IFUNC versions.
11384 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
11385 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
11386 * sysdeps/x86_64/configure.ac: Options for libmvec build.
11387 * sysdeps/x86_64/configure: Regenerated.
11388 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
11389 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
11390 * manual/install.texi (Configuring and compiling): Document
11391 --disable-mathvec.
11392 * INSTALL: Regenerated.
11393 * NEWS: Mention addition of libmvec and x86_64 vector cos.
11394
11395 * math/Makefile: Added rules for vector tests.
11396 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
11397 declaration under condition.
11398 * math/test-double-vlen2.h: New file.
11399 * math/test-double-vlen4.h: New file.
11400 * math/test-double-vlen8.h: New file.
11401 * math/test-vec-loop.h: Added initialization macro.
11402 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
11403 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
11404 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
11405 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
11406 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
11407 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
11408 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
11409 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
11410 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
11411 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
11412 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
11413
11414 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11415 * sysdeps/x86_64/fpu/Versions: New versions added.
11416 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
11417 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
11418 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
11419 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
11420 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
11421 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
11422 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
11423 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
11424 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
11425 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
11426 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
11427 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
11428 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
11429 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11430 Added build of SSE, AVX2 and AVX512 IFUNC versions.
11431 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11432 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
11433 * NEWS: Mention addition of x86_64 vector cosf.
11434
11435 * math/Makefile: Added CFLAGS for new tests.
11436 * math/test-float-vlen16.h: New file.
11437 * math/test-float-vlen4.h: New file.
11438 * math/test-float-vlen8.h: New file.
11439 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
11440 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
11441 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11442 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
11443 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
11444 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
11445 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
11446 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
11447 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
11448 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
11449 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
11450
11451 2015-06-09 Marko Myllynen <myllynen@redhat.com>
11452
11453 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
11454 * locale/programs/ld-ctype.c: Likewise.
11455
11456 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
11457
11458 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
11459 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
11460 bit_ZMM16_31_state): New macro.
11461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11462 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
11463
11464 2015-06-08 Joseph Myers <joseph@codesourcery.com>
11465
11466 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
11467
11468 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
11469
11470 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
11471
11472 2015-06-05 Joseph Myers <joseph@codesourcery.com>
11473
11474 [BZ #18498]
11475 * libio/memstream.c (open_memstream): Rename to __open_memstream
11476 and define as weak alias of __open_memstream.
11477 * include/stdio.h (__open_memstream): Declare. Use
11478 libc_hidden_proto.
11479 (open_memstream): Don't use libc_hidden_proto.
11480 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
11481 open_memstream.
11482 * posix/getopt.c (_getopt_internal_r): Likewise.
11483 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
11484 variable.
11485 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11486 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11487 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11488
11489 [BZ #18496]
11490 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
11491 instead of wcrtomb.
11492
11493 [BZ #18483]
11494 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
11495 [__USE_XOPEN2K8]. Remove redundant #endif.
11496 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
11497 Remove redundant #if.
11498 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
11499 Remove variable.
11500 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11501 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11502
11503 [BZ #18495]
11504 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
11505 (__iswlower): Likewise.
11506 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
11507 (__iswlower): Likewise.
11508 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
11509 instead of towlower.
11510 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
11511 instead of iswlower. Call __towupper instead of towupper.
11512 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
11513 instead of iswalnum.
11514
11515 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11516
11517 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
11518 errors to stderr.
11519
11520 2015-06-05 Florian Weimer <fweimer@redhat.com>
11521
11522 [BZ #15661]
11523 [BZ #17322]
11524 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11525 Check for overflow properly. Check for O_APPEND. Ignore large
11526 file system block sizes. Add comments about problems.
11527 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
11528 * manual/filesys.texi (Storage Allocation): New node.
11529
11530 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11531
11532 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
11533 cancellable syscalls.
11534 (SYS_ify): Add guard to no redefine it.
11535 (INLINE_SYSCALL): Likewise.
11536 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
11537 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
11538 SYSCALL_CANCEL instead.
11539 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
11540 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11541 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11542 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11543 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11544 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
11545 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
11546 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
11547 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
11548 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
11549 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
11550 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
11551 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
11552 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
11553 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
11554 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11555 Likewise.
11556 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11557 (__libc_pread64): Likewise.
11558 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
11559 (__libc_preadv): Likewise.
11560 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
11561 (__libc_readv64): Likewise.
11562 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11563 (__libc_pwrite): Likewise.
11564 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11565 (__libc_pwrite64): Likewise.
11566 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
11567 (__libc_pwritev): Likewise.
11568 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
11569 (__libc_pwritev64): Likewise.
11570 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
11571 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11572 (sync_file_range): Likewise.
11573 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
11574 Likewise.
11575 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
11576 Likewise.
11577 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11578 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11579 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11580 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11581 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11582 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11583 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
11584 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
11585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11586 Likewise.
11587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11588 (__libc_read64): Likewise.
11589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
11590 Likewise.
11591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
11592 Likewise.
11593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
11594 Likewise.
11595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
11596 Likewise.
11597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11598 (__libc_pread64): Likewise.
11599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
11600 Likewise.
11601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11602 (__libc_pwrite64): Likewise.
11603 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
11604 (sync_file_range): Likewise.
11605 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
11606 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11607 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11608 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
11609 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
11610 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11611 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11612 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
11613 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
11614 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11615 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11616 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11617 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11618 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11619 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
11620 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11621 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11622 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11623 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11624 Likewise.
11625 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
11626 Likewise.
11627 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
11628 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
11629 Likewise.
11630 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
11631 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
11632 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
11633 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
11634 Likewise.
11635 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
11636 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
11637 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
11638 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
11639 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
11640
11641 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
11642
11643 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
11644 Include dl-vdso.
11645 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
11646 Use VDSO routines for gettimeofday, clock_gettime if
11647 available.
11648 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
11649 Declare VDSO symbols.
11650 * sysdeps/unix/sysv/linux/arm/sysdep.h:
11651 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
11652 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11653 * sysdeps/unix/sysv/linux/arm/Versions: Add
11654 __vdso_clock_gettime.
11655
11656 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11657
11658 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
11659 be an inline implementation regardless of library is built within.
11660 (open_not_cancel_2): Likewise.
11661 (__read_nocancel): Likewise.
11662 (__write_nocancel): Likewise.
11663 (openat_not_cancel): Likewise.
11664 (openat_not_cancel_3): Likewise.
11665 (openat64_not_cancel): Likewise.
11666 (openat64_not_cancel_3): Likewise.
11667 (__close_nocancel): Likewise.
11668 (pause_not_cancel): Likewise.
11669 (nanosleep_not_cancel): Likewise.
11670 (sigsuspend_not_cancel): Likewise.
11671
11672 2015-06-04 Torvald Riegel <triegel@redhat.com>
11673
11674 [BZ #14958]
11675 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
11676 wake-up.
11677 (__pthread_rwlock_rdlock_slow): Likewise.
11678 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11679 Likewise.
11680 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
11681 Likewise.
11682 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
11683 * nptl/tst-rwlock16.c: New file.
11684 * nptl/Makefile (tests): Add new test.
11685
11686 2015-06-04 Torvald Riegel <triegel@redhat.com>
11687
11688 [BZ #18324]
11689 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
11690 missing wake-up of readers.
11691 * nptl/tst-rwlock15.c: New file.
11692 * nptl/Makefile (tests): Add new test.
11693
11694 2015-06-03 Roland McGrath <roland@hack.frob.com>
11695
11696 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
11697 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
11698 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
11699 and __nacl_supply_interface_rtld.
11700 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
11701 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
11702 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
11703 Add __nacl_supply_interface_rtld.
11704 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
11705
11706 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
11707
11708 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
11709 isfinite.
11710 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11711 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
11712
11713 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
11714
11715 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
11716 __signbit* with standard C99 macros.
11717 * math/e_exp10l.c: Likewise.
11718 * math/e_exp2l.c: Likewise.
11719 * math/e_scalb.c: Likewise.
11720 * math/e_scalbf.c: Likewise.
11721 * math/e_scalbl.c: Likewise.
11722 * math/s_ldexp.c: Likewise.
11723 * math/s_ldexpf.c: Likewise.
11724 * math/s_ldexpl.c: Likewise.
11725 * math/w_atan2.c: Likewise.
11726 * math/w_atan2f.c: Likewise.
11727 * math/w_atan2l.c: Likewise.
11728 * math/w_cosh.c: Likewise.
11729 * math/w_coshf.c: Likewise.
11730 * math/w_coshl.c: Likewise.
11731 * math/w_exp10.c: Likewise.
11732 * math/w_exp10f.c: Likewise.
11733 * math/w_exp10l.c: Likewise.
11734 * math/w_exp2.c: Likewise.
11735 * math/w_exp2f.c: Likewise.
11736 * math/w_exp2l.c: Likewise.
11737 * math/w_fmod.c: Likewise.
11738 * math/w_fmodf.c: Likewise.
11739 * math/w_fmodl.c: Likewise.
11740 * math/w_hypot.c: Likewise.
11741 * math/w_hypotf.c: Likewise.
11742 * math/w_hypotl.c: Likewise.
11743 * math/w_jnl.c: Likewise.
11744 * math/w_lgamma.c: Likewise.
11745 * math/w_lgamma_r.c: Likewise.
11746 * math/w_lgammaf.c: Likewise.
11747 * math/w_lgammaf_r.c: Likewise.
11748 * math/w_lgammal.c: Likewise.
11749 * math/w_lgammal_r.c: Likewise.
11750 * math/w_pow.c: Likewise.
11751 * math/w_powf.c: Likewise.
11752 * math/w_powl.c: Likewise.
11753 * math/w_remainder.c: Likewise.
11754 * math/w_remainderf.c: Likewise.
11755 * math/w_remainderl.c: Likewise.
11756 * math/w_scalb.c: Likewise.
11757 * math/w_scalbf.c: Likewise.
11758 * math/w_scalbl.c: Likewise.
11759 * math/w_scalbln.c: Likewise.
11760 * math/w_scalblnf.c: Likewise.
11761 * math/w_scalblnl.c: Likewise.
11762 * math/w_sinh.c: Likewise.
11763 * math/w_sinhf.c: Likewise.
11764 * math/w_sinhl.c: Likewise.
11765 * math/w_tgamma.c: Likewise.
11766 * math/w_tgammaf.c: Likewise.
11767 * math/w_tgammal.c: Likewise.
11768 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11769 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
11770 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11771 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11772 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11773 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11774 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11775 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11776 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11777 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11778 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11779 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11780 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11781 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11782 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11783 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11784 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11785 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11786 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11787 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11788 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11789 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11790 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11791 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11792 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11793 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11794 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
11795 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11796 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11797 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11798 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
11799 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
11800 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
11801 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
11802 * stdio-common/printf_fp.c: Likewise.
11803 * stdio-common/printf_fphex.c: Likewise.
11804 * stdio-common/printf_size.c: Likewise.
11805
11806 2015-06-03 Joseph Myers <joseph@codesourcery.com>
11807
11808 [BZ #18470]
11809 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
11810 strnlen.
11811 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
11812 Remove variable.
11813 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11814 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11815 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11816 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11817 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11818 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11819 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11820 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11821 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11822 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11823
11824 [BZ #18468]
11825 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
11826 weak alias of __wmemchr. Use libc_hidden_weak.
11827 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
11828 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
11829 instead of wmemchr.
11830
11831 2015-06-02 Roland McGrath <roland@hack.frob.com>
11832
11833 [BZ #18383]
11834 * elf/tst-tlsalign-extern.c: New file.
11835 * elf/tst-tlsalign-extern-static.c: New file.
11836 * elf/tst-tlsalign-vars.c: New file.
11837 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
11838 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
11839 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
11840 ($(objpfx)tst-tlsalign-extern-static): Likewise.
11841 (test-xfail-tst-tlsalign-extern-static): New variable.
11842
11843 2015-06-02 Joseph Myers <joseph@codesourcery.com>
11844
11845 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
11846 Use variable name _sc_err instead of err.
11847 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
11848 instead of ret.
11849 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
11850 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
11851 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
11852 (INLINE_SYSCALL): Likewise.
11853
11854 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
11855 * include/string.h (__strnlen): Use libc_hidden_proto.
11856 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
11857 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
11858 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
11859 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
11860 (libc_hidden_def): Undefine and redefine.
11861 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
11862 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
11863 __GI_strnlen.
11864 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
11865 libc_hidden_def.
11866 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
11867
11868 [BZ #18469]
11869 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
11870 weak alias of __towlower. Use libc_hidden_weak.
11871 (towupper): Rename to __towupper and define as weak alias of
11872 __towupper. Use libc_hidden_weak.
11873 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
11874 (__towupper): Likewise.
11875 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
11876 __towlower instead of towlower.
11877
11878 2015-06-02 Roland McGrath <roland@hack.frob.com>
11879
11880 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
11881 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
11882
11883 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11884
11885 * sysdeps/aarch64/libm-test-ulps: Update.
11886
11887 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11888
11889 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
11890 Define.
11891 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11892 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11893 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
11894 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11895 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
11896 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
11897 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
11898
11899 2015-06-01 Martin Sebor <msebor@redhat.com>
11900
11901 [BZ #18116]
11902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11903 (__setcontext): Use extended four-operand version of mtsf whenever
11904 possible.
11905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11906 (__novec_swapcontext): Likewise.
11907
11908 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11909
11910 * benchtests/scripts/compare_bench.py: New file.
11911 * benchtests/scripts/import_bench.py (mean): New function.
11912 (split_list): Likewise.
11913 (do_for_all_timings): Likewise.
11914 (compress_timings): Likewise.
11915
11916 * benchtests/scripts/import_bench.py: New file.
11917 * benchtests/scripts/validate_benchout.py: Import import_bench
11918 instead of jsonschema.
11919 (validate_bench): Remove function.
11920 (main): Use import_bench.
11921
11922 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
11923
11924 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
11925 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
11926
11927 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11928
11929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11930
11931 2015-05-28 Roland McGrath <roland@hack.frob.com>
11932
11933 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
11934 set THREAD_SELF->tid to a magic value and futex-wake it.
11935 Pass its address to the thread_exit system call.
11936 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
11937 bit is clear.
11938 * sysdeps/nacl/lowlevellock.h: New file.
11939 * sysdeps/nacl/lll_timedwait_tid.c: New file.
11940
11941 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
11942 Add TIMEOUT to current time, don't subtract it.
11943
11944 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
11945
11946 [BZ #2981]
11947 [BZ #18422]
11948 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
11949 ($(objpfx)tst-audit2.out): Also depend on
11950 $(objpfx)tst-auditmod9b.so.
11951 * elf/tst-audit2.c: Include <dlfcn.h>.
11952 (calloc_called): New.
11953 (calloc): Allow to be called more than once.
11954 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
11955
11956 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
11957
11958 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
11959 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
11960
11961 2015-05-27 Marko Myllynen <myllynen@redhat.com>
11962
11963 * stdlib/monetary.h: Fix comment.
11964
11965 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
11966
11967 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
11968 Avoid using variables in #defines that might cause shadowing.
11969 (INTERNAL_VSYSCALL_CALL): Likewise.
11970
11971 2015-05-26 Roland McGrath <roland@hack.frob.com>
11972
11973 * sysdeps/nacl/lll_timedlock_wait.c: New file.
11974
11975 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
11976 * nptl/lll_timedlock_wait.c: ... to this new file.
11977 * nptl/Makefile (libpthread-routines): Add it.
11978 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
11979 * nptl/lll_timedwait_tid.c: ... to this new file.
11980 * nptl/Makefile (libpthread-routines): Add it.
11981 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
11982 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
11983 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
11984 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
11985 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
11986 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
11987 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
11988 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
11989 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
11990 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
11991
11992 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11993
11994 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
11995 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11996 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
11997 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
11998 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11999 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12000 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12001 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12002 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12003 * sysdeps/unix/sysv/linux/tile/sysdep.h
12004 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12005 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
12006 using vDSO syscall macro.
12007
12008 2015-05-26 Andriy Rysin <arysin@gmail.com>
12009
12010 [BZ #17293]
12011 * uk_UA: Fix sorting order for Ukrainian locale
12012
12013 2015-05-26 Marko Myllynen <myllynen@redhat.com>
12014
12015 * stdlib/monetary.h: Fix comment.
12016
12017 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
12018
12019 [BZ #18234]
12020 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
12021 st_mtim and st_ctim members.
12022 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
12023 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
12024 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
12025 (struct stat64): Likewise.
12026 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
12027 (struct stat64): Likewise.
12028 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
12029 (struct stat64): Likewise.
12030
12031 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12032
12033 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
12034 Define and include sysdep-vdso.h.
12035 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
12036 Likewise.
12037 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
12038 Likewise.
12039 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
12040 Define with VDSO_SYMBOL and use PTR_MANGLE.
12041 (__vdso_clock_gettime): Likewise.
12042 (__vdso_clock_getres): Likewise.
12043 (_libc_vdso_platform_setup): Likewise.
12044 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
12045 Likewise.
12046 (_libc_vdso_platform_setup): Likewise.
12047 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
12048 Likewise.
12049 (__vdso_clock_gettime): Likewise.
12050 (__vdso_clock_getres): Likewise.
12051 (__vdso_get_tbfreq): Likewise.
12052 (__vdso_getcpu): Likewise.
12053 (__vdso_time): Likewise.
12054 (__vdso_sigtramp_rt64): Likewise.
12055 (__vdso_signtramp32): Likewise.
12056 (__vdso_sigtramp_rt32): Likewise.
12057 (_libc_vdso_platform_setup): Likewise.
12058 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
12059 Likewise.
12060 (__vdso_clock_gettime): Likewise.
12061 (__vdso_clock_getres): Likewise.
12062 (_libc_vdso_platform_setup): Likewise.
12063 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
12064 Likewise.
12065 (__vdso_clock_gettime): Likewise.
12066 (_libc_vdso_platform_setup): Likewise.
12067 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
12068 Likewise.
12069 (__vdso_getcpu): Likewise.
12070 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
12071 Use VDSO_SYMBOL macro to define.
12072 (__vdso_clock_gettime): Likewise.
12073 (__vdso_clock_getres): Likewise.
12074 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
12075 Likewise.
12076 (__vdso_clock_gettime): Likewise.
12077 (__vdso_clock_getres): Likewise.
12078 (__vdso_get_tbfreq): Likewise.
12079 (__vdso_getcpu): Likewise.
12080 (__vdso_time): Likewise.
12081 (__vdso_sigtramp_rt64): Likewise.
12082 (__vdso_signtramp32): Likewise.
12083 (__vdso_sigtramp_rt32): Likewise.
12084 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
12085 Likewise.
12086 (__vdso_clock_gettime): Likewise.
12087 (__vdso_clock_getres): Likewise.
12088 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
12089 Likewise.
12090 (__vdso_clock_gettime): Likewise.
12091 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
12092 Likewise.
12093 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
12094 macro.
12095 (INTERNAL_VSYSCALL): Likewise.
12096 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
12097 Remove macro.
12098 (INTERNAL_VSYSCALL): Likewise.
12099 (INTERNAL_VSYSCALL_NCS): Likewise.
12100 (INTERNAL_VSYSCALL_CALL): New macro.
12101 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12102 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
12103 Likewise.
12104 (INTERNAL_VSYSCALL): Likewise.
12105 (INTERNAL_VSYSCALL_NCS): Likewise.
12106 (INTERNAL_VSYSCALL_CALL): New macro.
12107 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12109 (INLINE_VSYSCALL): Remove macro.
12110 (INTERNAL_VSYSCALL): Remove macro.
12111 (INTERNAL_VSYSCALL_NCS): Remove macro.
12112 (INTERNAL_VSYSCALL_CALL): New macro.
12113 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
12114 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
12115 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12116 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
12117 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12119 (INLINE_VSYSCALL): Remove macro.
12120 (INTERNAL_VSYSCALL): Likewise.
12121 (INTERNAL_VSYSCALL_NCS): Likewise.
12122 (INTERNAL_VSYSCALL_CALL): New macro.
12123 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
12124 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
12125 PTR_DEMANGLE on vDSO pointer.
12126 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12127 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
12128 macro.
12129 (INTERNAL_SYSCALL): Likewise.
12130 (INTERNAL_VSYSCALL_NCS): Remove macro.
12131 (INTERNAL_VSYSCALL_CALL): New macro.
12132 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
12133 Remove macro.
12134 (INTERNAL_VSYSCALL): Likewise.
12135 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
12136 sysdep-vdso.h instead of libc-vdso.h.
12137 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
12138 definition.
12139 (INLINE_VSYSCALL): Likewise.
12140 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
12141 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
12142 definition.
12143 (INLINE_VSYSCALL): Likewise.
12144 (INTERNAL_VSYSCALL): Likewise.
12145 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12146 * sysdeps/unix/sysv/linux/timespec_get.c
12147 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12148 (timespec_get): Use ANSI prototype.
12149 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
12150 and definition for Linux.
12151
12152 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
12153
12154 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
12155 * include/libc-symbols.h: libmvec_hidden_* macro series added.
12156
12157 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
12158
12159 [BZ #2981]
12160 [BZ #18410]
12161 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
12162 for missing DT_PLTRELSZ.
12163
12164 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
12165
12166 Remove obsolete aliases that broke 'locale -a'
12167 [BZ #18412]
12168 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
12169 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
12170 breaking some applications that use 'locale -a' output.
12171 Change the encoding of this file from Latin-1 to ASCII to avoid
12172 other potential problems with people grepping this file.
12173
12174 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12175
12176 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
12177 -fasynchronous-unwind-tables.
12178 (CFLAGS-sendto.c): Likewise.
12179 (CFLAGS-sendmsg.c): Likewise.
12180 (CFLAGS-connect.c): Likewise.
12181 (CFLAGS-recvmsg.c): Likewise.
12182 (CFLAGS-recvfrom.c): Likewise.
12183 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
12184 (SOCKETCALL): New macro: non-cancellable socketcall.
12185 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
12186 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
12187 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
12188 * sysdeps/unix/sysv/linux/accept.c: New file.
12189 * sysdeps/unix/sysv/linux/bind.c: Likewise.
12190 * sysdeps/unix/sysv/linux/connect.c: Likewise.
12191 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
12192 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
12193 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
12194 * sysdeps/unix/sysv/linux/listen.c: Likewise.
12195 * sysdeps/unix/sysv/linux/recv.c: Likewise.
12196 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
12197 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
12198 * sysdeps/unix/sysv/linux/send.c: Likewise.
12199 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
12200 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
12201 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
12202 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
12203 * sysdeps/unix/sysv/linux/socket.c: Likewise.
12204 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
12205 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
12206 prototype.
12207 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
12208 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12209 instead of __internal_xxx function.
12210 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
12211 prototype.
12212 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
12213 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12214 instead of __internal_xxx function.
12215 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
12216 prototype.
12217 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
12218 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12219 instead of __internal_xxx function.
12220 * sysdeps/unix/sysv/linux/accept.S: Remove file.
12221 * sysdeps/unix/sysv/linux/bind.S: Likewise.
12222 * sysdeps/unix/sysv/linux/connect.S: Likewise.
12223 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
12224 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
12225 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
12226 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
12227 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
12228 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
12229 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
12230 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
12231 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
12232 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
12233 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
12234 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
12235 * sysdeps/unix/sysv/linux/listen.S: Likewise.
12236 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
12237 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
12238 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
12239 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
12240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
12241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
12242 * sysdeps/unix/sysv/linux/recv.S: Likewise.
12243 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
12244 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
12245 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
12246 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12247 * sysdeps/unix/sysv/linux/send.S: Likewise.
12248 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
12249 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
12250 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
12251 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
12252 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
12253 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
12254 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
12255 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
12256 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
12257 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
12258 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
12259 socketcall is implemented in GLIBC.
12260
12261 2015-05-22 Joseph Myers <joseph@codesourcery.com>
12262
12263 * soft-fp/fmadf4.c: Include <libc-internal.h>.
12264 (__fma): Ignore uninitialized warnings around packing.
12265 * soft-fp/fmasf4.c: Include <libc-internal.h>.
12266 (__fmaf): Ignore uninitialized warnings around packing.
12267 * soft-fp/fmatf4.c: Include <libc-internal.h>.
12268 (__fmal): Ignore uninitialized warnings around packing.
12269
12270 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
12271 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12272 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
12273 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12274
12275 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
12276 switch statement into default case.
12277 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
12278
12279 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
12280 a conditional in forcing "inexact".
12281 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12282 Likewise.
12283
12284 2015-05-22 Roland McGrath <roland@hack.frob.com>
12285
12286 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12287 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
12288 for each INTERNAL_SYSCALL use.
12289
12290 2015-05-22 Joseph Myers <joseph@codesourcery.com>
12291
12292 [BZ #438]
12293 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
12294 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
12295 variable.
12296
12297 [BZ #18444]
12298 * string/basename.c (basename): Rename to __basename and define as
12299 weak alias of __basename. Use libc_hidden_weak.
12300 * include/string.h (__basename): Declare. Use libc_hidden_proto.
12301 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
12302 __basename instead of basename.
12303 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
12304 Remove variable.
12305 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12306
12307 2015-05-18 Florian Weimer <fweimer@redhat.com>
12308
12309 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
12310 (_IO_JUMPS_FILE_plus): New.
12311 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
12312 _IO_CAST_FIELD_ACCESS.
12313 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
12314 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
12315 * libio/freopen.c (freopen): Likewise.
12316 * libio/freopen64.c (freopen64): Likewise.
12317 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
12318 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
12319 * libio/iofwide.c (_IO_fwide): Likewise.
12320 * libio/memstream.c (open_memstream): Likewise.
12321 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12322 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12323 * libio/oldiopopen.c (_IO_old_popen): Likewise.
12324
12325 2015-05-21 Joseph Myers <joseph@codesourcery.com>
12326
12327 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
12328 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
12329 NADJ.
12330 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
12331 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
12332 NADJ.
12333 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
12334 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
12335 NADJ.
12336
12337 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
12338 (p == 4) case.
12339
12340 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
12341 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
12342 Remove variable.
12343 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12344 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12345 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12346
12347 2015-05-21 Florian Weimer <fweimer@redhat.com>
12348
12349 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
12350 Adjust jump table label generation macros.
12351
12352 2015-05-21 Florian Weimer <fweimer@redhat.com>
12353
12354 * stdio-common/vfprintf.c (vfprintf): Move local variables
12355 args_malloced, specs, specs_malloced, and the code after
12356 do_positional to the printf_positional function.
12357 (printf_positional): New function.
12358
12359 2015-05-21 Florian Weimer <fweimer@redhat.com>
12360
12361 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
12362 function.
12363 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
12364 STEP4_TABLE, process_arg): Move macro definitions
12365 out of the vfprintf function. (Cosmetic change only.)
12366
12367 2015-05-21 Carlos O'Donell <carlos@redhat.com>
12368
12369 * benchtests/Makefile (stdio-common-bench): Define.
12370 (benchset): Add stdio-common-bench.
12371 * sprintf-inputs: New file.
12372 * sprintf-source.c: New file.
12373
12374 2015-05-21 Andreas Schwab <schwab@suse.de>
12375
12376 [BZ #13028]
12377 [BZ #17053]
12378 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
12379 of struct __res_state.
12380 * resolv/res_send.c (__libc_res_nsend): Likewise.
12381 (get_nsaddr): New function.
12382 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
12383 statp directly.
12384
12385 2015-05-20 Joseph Myers <joseph@codesourcery.com>
12386
12387 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
12388 -D_POSIX_C_SOURCE=199506L.
12389
12390 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
12391
12392 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
12393 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
12394 Do not mention otherwise.
12395 [POSIX] (_XOPEN_VERSION): Do not expect.
12396 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
12397 [POSIX] (_POSIX2_C_BIND): Likewise.
12398 [POSIX] (_POSIX2_VERSION): Likewise.
12399 [POSIX] (_XOPEN_XPG2): Likewise.
12400 [POSIX] (_XOPEN_XPG3): Likewise.
12401 [POSIX] (_XOPEN_XPG4): Likewise.
12402 [POSIX] (_XOPEN_UNIX): Likewise.
12403 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
12404 [POSIX] (_POSIX_BARRIERS): Likewise.
12405 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
12406 [POSIX] (_POSIX_CPUTIME): Likewise.
12407 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
12408 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
12409 [POSIX] (_POSIX_SHELL): Likewise.
12410 [POSIX] (_POSIX_SPAWN): Likewise.
12411 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
12412 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
12413 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
12414 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
12415 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
12416 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
12417 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
12418 [POSIX] (_XBS5_LP64_OFF64): Likewise.
12419 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
12420 [POSIX] (_POSIX_TIMEOUTS): Likewise.
12421 [POSIX] (_POSIX2_PBS): Likewise.
12422 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
12423 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
12424 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
12425 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
12426 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
12427 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
12428 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
12429 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
12430 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
12431 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
12432 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
12433 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
12434 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
12435 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
12436 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
12437 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
12438 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
12439 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
12440 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
12441 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
12442 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
12443 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
12444 [POSIX] (_SC_2_C_BIND): Likewise.
12445 [POSIX] (_SC_2_C_VERSION): Likewise.
12446 [POSIX] (_SC_2_PBS): Likewise.
12447 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
12448 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
12449 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
12450 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
12451 [POSIX] (_SC_2_PBS_TRACK): Likewise.
12452 [POSIX] (_SC_ATEXIT_MAX): Likewise.
12453 [POSIX] (_SC_BARRIERS): Likewise.
12454 [POSIX] (_SC_BASE): Likewise.
12455 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
12456 [POSIX] (_SC_DEVICE_IO): Likewise.
12457 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
12458 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
12459 [POSIX] (_SC_FD_MGMT): Likewise.
12460 [POSIX] (_SC_FIFO): Likewise.
12461 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
12462 [POSIX] (_SC_FILE_LOCKING): Likewise.
12463 [POSIX] (_SC_FILE_SYSTEM): Likewise.
12464 [POSIX] (_SC_IOV_MAX): Likewise.
12465 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
12466 [POSIX] (_SC_NETWORKING): Likewise.
12467 [POSIX] (_SC_PAGE_SIZE): Likewise.
12468 [POSIX] (_SC_PASS_MAX): Likewise.
12469 [POSIX] (_SC_PIPE): Likewise.
12470 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
12471 [POSIX] (_SC_REGEXP): Likewise.
12472 [POSIX] (_SC_SHELL): Likewise.
12473 [POSIX] (_SC_SIGNALS): Likewise.
12474 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
12475 [POSIX] (_SC_SPIN_LOCKS): Likewise.
12476 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
12477 [POSIX] (_SC_USER_GROUPS): Likewise.
12478 [POSIX] (_SC_USER_GROUPS_R): Likewise.
12479 [POSIX] (_SC_STREAMS): Likewise.
12480 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
12481 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
12482 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
12483 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
12484 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
12485 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
12486 [POSIX] (_PC_FILESIZEBITS): Likewise.
12487 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
12488 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
12489 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
12490 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
12491 [POSIX] (uid_t): Likewise.
12492 [POSIX] (gid_t): Likewise.
12493 [POSIX] (off_t): Likewise.
12494 [POSIX] (pid_t): Likewise.
12495 [POSIX] (cuserid): Allow.
12496 (_SC_2_CHAR_TERM): Require constant.
12497 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
12498 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
12499 variable.
12500
12501 2015-05-20 Roland McGrath <roland@hack.frob.com>
12502
12503 * sysdeps/nacl/pthread-pids.h: New file.
12504 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
12505 (create_thread): Use __nacl_get_tid to initialize PD->tid.
12506
12507 * nptl/pthread-pids.h: New file.
12508 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
12509 * nptl/nptl-init.c: Include <pthread-pids.h>.
12510 (__pthread_initialize_minimal_internal):
12511 Call __pthread_initialize_pids instead of set_tid_address syscall.
12512
12513 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
12514 * sysdeps/posix/usleep.c: ... here.
12515
12516 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12517
12518 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
12519 call_pselect6 object.
12520 [$(subdir) = io]: Remove call_sync_file_range object.
12521 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
12522 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
12523 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
12524 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
12525
12526 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
12527
12528 * math/s_cproj.c: Add include "math_private.h".
12529 * math/s_cprojf.c: Likewise.
12530 * math/s_cprojl.c: Likewise.
12531
12532 2015-05-19 Joseph Myers <joseph@codesourcery.com>
12533
12534 [BZ #18244]
12535 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
12536 high mantissa bit when testing whether P is a NaN.
12537 * math/libm-test.inc (remainder_test_data): Add more tests.
12538 (remquo_test_data): Likewise.
12539
12540 [BZ #18049]
12541 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
12542 below -32, return the argument, with underflow if subnormal.
12543 * math/auto-libm-test-in: Add more tests of atanh.
12544 * math/auto-libm-test-out: Regenerated.
12545
12546 2015-05-19 Roland McGrath <roland@hack.frob.com>
12547
12548 [BZ #18434]
12549 * nptl/tst-sem15.c: New file.
12550 * nptl/Makefile (tests): Add it.
12551 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
12552 s/<</>>/ to fix typo in EOVERFLOW check.
12553 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
12554
12555 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12556
12557 * manual/strings.texi (envz_remove): Fix typo in safety
12558 annotations.
12559
12560 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
12561 Steve Ellcey <sellcey@imgtec.com>
12562
12563 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
12564 in order to avoid strict alias warnings.
12565 (iruserok_af): Ditto for ra.
12566
12567 2015-05-19 James Lemke <jwlemke@codesourcery.com>
12568
12569 [BZ #17581]
12570 * malloc/hooks.c
12571 (magicbyte): Convert to a function and avoid returning 0x01.
12572 (mem2mem_check): Avoid using a length byte equal to the magic byte.
12573 (mem2chunk_check): Fix unsigned comparisons to zero.
12574 Hoist defs of sz and magic.
12575
12576 2015-05-19 Richard Henderson <rth@redhat.com>
12577
12578 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
12579
12580 * sysdeps/alpha/fpu/libm-test-ulps: Update.
12581
12582 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12583
12584 [BZ #16159]
12585 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
12586 * malloc/arena.c (arena_lock): Check if arena is corrupt.
12587 (reused_arena): Find a non-corrupt arena.
12588 (heap_trim): Pass arena to unlink.
12589 * malloc/hooks.c (malloc_check_get_size): Pass arena to
12590 malloc_printerr.
12591 (top_check): Likewise.
12592 (free_check): Likewise.
12593 (realloc_check): Likewise.
12594 * malloc/malloc.c (malloc_printerr): Add arena argument.
12595 (unlink): Likewise.
12596 (munmap_chunk): Adjust.
12597 (ARENA_CORRUPTION_BIT): New macro.
12598 (arena_is_corrupt): Likewise.
12599 (set_arena_corrupt): Likewise.
12600 (sysmalloc): Use mmap if there are no usable arenas.
12601 (_int_malloc): Likewise.
12602 (__libc_malloc): Don't fail if arena_get returns NULL.
12603 (_mid_memalign): Likewise.
12604 (__libc_calloc): Likewise.
12605 (__libc_realloc): Adjust for additional argument to
12606 malloc_printerr.
12607 (_int_free): Likewise.
12608 (malloc_consolidate): Likewise.
12609 (_int_realloc): Likewise.
12610 (_int_memalign): Don't touch corrupt arenas.
12611 * malloc/tst-malloc-backtrace.c: New test case.
12612
12613 * Makefile (summarize-tests): Fix return value on success.
12614
12615 * manual/string.texi (Envz Functions): Add envz_remove.
12616
12617 2015-05-18 Roland McGrath <roland@hack.frob.com>
12618
12619 * sysdeps/posix/opendir.c: Include <stdbool.h>.
12620 (invalid_name): New function, broken out of ...
12621 (__opendirat): ... here. Call it.
12622 (need_isdir_precheck): New function, broken out of ...
12623 (__opendirat): ... here. Call it.
12624 Use __fxstatat64, not __xstatat64.
12625 (opendir_oflags): New function, broken out of ...
12626 (__opendirat): ... here. Call it.
12627 (opendir_tail): New function, broken out of ...
12628 (__opendirat): ... here. Call it.
12629 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
12630 opendir_tail, rather than punting to __opendirat.
12631 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
12632
12633 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12634
12635 * .gitignore: Ignore generated *.pyc.
12636
12637 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
12638
12639 * include/stdio.h: Define __need_wint_t.
12640 * test-skeleton.c: Avoid `for' loop initial declaration.
12641 * nptl/tst-initializers1.c: Use test-skeleton.c.
12642
12643 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12644
12645 [BZ #18418]
12646 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
12647
12648 2015-05-15 Joseph Myers <joseph@codesourcery.com>
12649
12650 [BZ #16352]
12651 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
12652 (__ieee754_atanh): Force underflow exception for results with
12653 small absolute value.
12654 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
12655 (__ieee754_atanhf): Force underflow exception for results with
12656 small absolute value.
12657 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
12658 (__ieee754_atanh): Force underflow exception for results with
12659 small absolute value.
12660 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
12661 (__ieee754_atanhf): Force underflow exception for results with
12662 small absolute value.
12663 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
12664 (__ieee754_atanhl): Force underflow exception for results with
12665 small absolute value.
12666 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
12667 (__ieee754_atanhl): Force underflow exception for results with
12668 small absolute value.
12669 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
12670 (__ieee754_atanhl): Force underflow exception for results with
12671 small absolute value.
12672 * math/auto-libm-test-in: Do not allow missing underflow
12673 exceptions from atanh.
12674 * math/auto-libm-test-out: Regenerated.
12675
12676 [BZ #18221]
12677 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
12678 2**-28 as threshold for returning x or +/- 1/x.
12679 * math/auto-libm-test-in: Add more tests of tan.
12680 * math/auto-libm-test-out: Regenerated.
12681
12682 [BZ #18220]
12683 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12684 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
12685 * math/auto-libm-test-in: Add another test of lgamma.
12686 * math/auto-libm-test-out: Regenerated.
12687
12688 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
12689
12690 * stdio-common/printf_fp.c (___printf_fp): Use abs.
12691 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
12692 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
12693 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
12694 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
12695 (ADD2A): Use fabs. (SUB2A): Use fabs.
12696 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
12697 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
12698 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
12699 (log1): Use fabs. (my_log2): Use fabs.
12700 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
12701 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
12702 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
12703 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
12704 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
12705 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
12706 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
12707 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
12708 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
12709 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
12710 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
12711
12712 2015-05-15 Joseph Myers <joseph@codesourcery.com>
12713
12714 [BZ #18217]
12715 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
12716 as threshold for returning 1 - x.
12717 * math/auto-libm-test-in: Add more tests of erfc.
12718 * math/auto-libm-test-out: Regenerated.
12719
12720 2015-05-14 Joseph Myers <joseph@codesourcery.com>
12721
12722 [BZ #18196]
12723 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
12724 threshold for large arguments.
12725 * math/auto-libm-test-in: Add another test of atan.
12726 * math/auto-libm-test-out: Regenerated.
12727
12728 [BZ #16339]
12729 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
12730 (__log1p): Force underflow exception for results with small
12731 absolute value.
12732 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
12733 (__log1pf): Force underflow exception for results with small
12734 absolute value.
12735 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
12736 (__log1p): Force underflow exception for results with small
12737 absolute value.
12738 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
12739 (__log1pf): Force underflow exception for results with small
12740 absolute value.
12741 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
12742 (__log1pl): Force underflow exception for results with small
12743 absolute value.
12744 * math/auto-libm-test-in: Do not allow missing underflow
12745 exceptions from log1p.
12746 * math/auto-libm-test-out: Regenerated.
12747
12748 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
12749 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12750
12751 [BZ #16704]
12752 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
12753
12754 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
12755
12756 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
12757 (libmvec): New variable.
12758 * configure.ac: Added option for mathvec build.
12759 * configure: Regenerated.
12760 * mathvec/Depend: New file.
12761 * mathvec/Makefile: New file.
12762 * shlib-versions: Added libmvec.
12763 * math/Makefile: Added rule for libm.so installation.
12764
12765 * bits/math-vector.h: New file.
12766 * bits/libm-simd-decl-stubs.h: New header.
12767 * math/Makefile (headers): Added new header
12768 libm-simd-decl-stubs.h.
12769 * math/math.h (__MATHCALL_VEC): New macro.
12770
12771 * math/gen-libm-have-vector-test.sh: Script generates series of macros
12772 for conditions in testing functions.
12773 * math/Makefile: Added call of libm-have-vector-test.sh.
12774 * math/libm-test.inc (HAVE_VECTOR): New macros.
12775
12776 * math/libm-test.inc: START refactored.
12777 * math/test-double.c (TEST_MATHVEC): Add define.
12778 * math/test-float.c: Likewise.
12779 * math/test-idouble.c: Likewise.
12780 * math/test-ifloat.c: Likewise.
12781 * math/test-ildoubl.c: Likewise.
12782 * math/test-ldouble.c: Likewise.
12783 * sysdeps/generic/math-tests-arch.h
12784 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
12785 architecture check.
12786
12787 * math/test-double.c (FUNC_TEST): New macro.
12788 * math/test-float.c: Likewise.
12789 * math/test-idouble.c: Likewise.
12790 * math/test-ifloat.c: Likewise.
12791 * math/test-ildoubl.c: Likewise.
12792 * math/test-ldouble.c: Likewise.
12793 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
12794
12795 2015-05-13 Roland McGrath <roland@hack.frob.com>
12796
12797 * sysdeps/nacl/fdopendir.c: New file.
12798
12799 * dirent/scandir-tail.c: New file.
12800 * dirent/scandir64-tail.c: New file.
12801 * dirent/Makefile (routines): Add them.
12802 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
12803 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
12804 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
12805 [!SCANDIR] (SCANDIR_TAIL): New macro.
12806 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
12807 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
12808 (SCANDIRAT): Macro removed.
12809 (SCANDIR_TAIL): New macro.
12810 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
12811 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
12812 (SCANDIRAT): Just call __opendirat and __scandir_tail.
12813 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
12814 (READDIR): Macro removed.
12815 (SCANDIR_TAIL): New macro.
12816 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
12817 (SCANDIR_TAIL): New macro.
12818
12819 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
12820 * dirent/scandir-cancel.c: ... to this new file.
12821 * dirent/Makefile (routines): Add it.
12822 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
12823 * sysdeps/unix/sysv/linux/i386/scandir64.c
12824 (SKIP_SCANDIR_CANCEL): Macro removed.
12825 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
12826
12827 * dirent/tst-scandir.c: New file.
12828 * dirent/tst-scandir64.c: New file.
12829 * dirent/Makefile (tests): Add them.
12830
12831 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
12832
12833 [BZ #18409]
12834 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
12835
12836 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
12837
12838 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
12839 list.
12840
12841 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
12842
12843 * benchtests/bench-strcoll.c: New benchmark.
12844 * benchtests/Makefile: Generate locales and run benchmark.
12845 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
12846 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
12847 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
12848 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
12849 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
12850 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
12851 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
12852 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
12853 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
12854 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
12855 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
12856 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
12857 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
12858 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
12859 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
12860 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
12861 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
12862 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
12863 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
12864 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
12865 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
12866 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
12867 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
12868 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
12869
12870 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
12871
12872 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
12873 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12874
12875 2015-05-12 Roland McGrath <roland@hack.frob.com>
12876
12877 * posix/uname-values.h: New file.
12878 * posix/uname.c: Include that instead of <config-name.h>.
12879 * sysdeps/nacl/uname-values.h: New file.
12880 * sysdeps/arm/nacl/uname-values.h: New file.
12881
12882 2015-05-12 Joseph Myers <joseph@codesourcery.com>
12883
12884 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
12885 splitting into fields.
12886
12887 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
12888
12889 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
12890 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
12891 * locale/localeinfo.h: Add enum collation_encoding_type.
12892 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
12893 * programs/ld-collate.c (collate_output): Add encoding type info.
12894 * string/strcoll_l.c (STRDIFF): New function.
12895 * (STRCOLL): Use STRDIFF to skip over equal prefix.
12896 * wcsmbs/wcscoll_l.c: Define STRDIFF.
12897
12898 2015-05-11 Joseph Myers <joseph@codesourcery.com>
12899
12900 [BZ #18397]
12901 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
12902 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
12903 <fpu_control.h> instead of <math/fpu_control.c>.
12904 * sysdeps/mips/mips32/fpu/Makefile: New file.
12905
12906 2015-05-11 Andreas Schwab <schwab@suse.de>
12907
12908 [BZ #18007]
12909 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
12910 nss_endgrent.
12911 (_nss_compat_endgrent): Call nss_endgrent.
12912 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
12913 nss_endpwent.
12914 (_nss_compat_endpwent): Call nss_endpwent.
12915 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
12916 needent, call nss_setspent only if non-zero.
12917 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
12918 (internal_endspent): Don't call nss_endspent.
12919 (_nss_compat_endspent): Call nss_endspent.
12920 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
12921 Remove. All uses removed.
12922 (internal_setent): Remove parameter stayopen, add parameter
12923 stream. Use it instead of global variable.
12924 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
12925 (internal_endent, internal_getent): Add parameter stream. Use it
12926 instead of global variable.
12927 (CONCAT(_nss_files_end,ENTNAME))
12928 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
12929 (_nss_files_get##name##_r): Pass local stream. Remove locking.
12930 * nss/nss_files/files-alias.c (position, last_use): Remove. All
12931 uses removed.
12932 (internal_setent, internal_endent): Add parameter stream. Use it
12933 instead of global variable.
12934 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
12935 stream.
12936 (get_next_alias): Add parameter stream.
12937 (_nss_files_getaliasent_r): Pass global stream.
12938 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
12939 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
12940 (_nss_files_gethostbyname4_r): Pass local stream to
12941 internal_setent, internal_getent and internal_endent. Remove
12942 locking.
12943
12944 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12945
12946 * tst-strfmon1.c (tests): Update expected currency symbol.
12947
12948 2015-05-08 Roland McGrath <roland@hack.frob.com>
12949
12950 * sysdeps/nacl/gethostname.c: New file.
12951
12952 2015-05-08 Joseph Myers <joseph@codesourcery.com>
12953
12954 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
12955 and sinh.
12956 * math/auto-libm-test-out: Regenerated.
12957 * sysdeps/i386/fpu/libm-test-ulps: Update.
12958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12959
12960 2015-05-08 Carlos O'Donell <carlos@redhat.com>
12961
12962 [BZ #18125]
12963 * stdlib/tst-setcontext3.c: New file.
12964 * stdlib/tst-setcontext3.sh: New file.
12965 * stdlib/Makefile (tests): Add tst-setcontext3.
12966 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
12967 to verify test program created output file.
12968 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
12969 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
12970 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
12971 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
12972
12973 2015-05-06 Roland McGrath <roland@hack.frob.com>
12974
12975 [BZ #18383]
12976 * elf/tst-tlsalign.c: New file.
12977 * elf/tst-tlsalign-static.c: New file.
12978 * elf/tst-tlsalign-lib.c: New file.
12979 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
12980 (tests-static): Add tst-tlsalign-static.
12981 (modules-names): Add tst-tlsalign-lib.
12982 (test-xfail-tst-tlsalign): New variable.
12983 (test-xfail-tst-tlsalign-static): New variable.
12984
12985 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
12986 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
12987
12988 2015-05-06 Joseph Myers <joseph@codesourcery.com>
12989
12990 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
12991 csqrt, erfc, sin and sincos.
12992 * math/auto-libm-test-out: Regenerated.
12993 * sysdeps/i386/fpu/libm-test-ulps: Update.
12994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12995
12996 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12997
12998 * sysdeps/aarch64/libm-test-ulps: Update.
12999
13000 2015-05-05 Joseph Myers <joseph@codesourcery.com>
13001
13002 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
13003 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
13004 * math/auto-libm-test-out: Regenerated.
13005 * sysdeps/i386/fpu/libm-test-ulps: Update.
13006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13007
13008 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
13009
13010 [BZ #18265]
13011 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
13012 (wcsncpy): Likewise.
13013
13014 2015-05-05 Florian Weimer <fweimer@redhat.com>
13015
13016 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13017 Assume __ASSUME_FALLOCATE is always true.
13018 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13019 (__posix_fallocate64_l64): Likweise.
13020 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
13021 (posix_fallocate): Likewise.
13022 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
13023 (__posix_fallocate64_l64): Likewise.
13024 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13025 [!__ASSUME_FALLOCATE]: Add comment.
13026
13027 2015-05-05 Florian Weimer <fweimer@redhat.com>
13028
13029 * sysdeps/unix/sysv/linux/i386/Makefile
13030 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
13031 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
13032 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
13033 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13034 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13035 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
13036 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
13037
13038 2015-05-02 Joseph Myers <joseph@codesourcery.com>
13039
13040 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
13041 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
13042 tgamma.
13043 * math/auto-libm-test-out: Regenerated.
13044 * sysdeps/i386/fpu/libm-test-ulps: Update.
13045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13046
13047 2015-05-01 Joseph Myers <joseph@codesourcery.com>
13048
13049 * math/auto-libm-test-in: Add more tests of tgamma.
13050 * math/auto-libm-test-out: Regenerated.
13051 * sysdeps/i386/fpu/libm-test-ulps: Update.
13052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13053
13054 * math/auto-libm-test-in: Add more tests of tanh.
13055 * math/auto-libm-test-out: Regenerated.
13056 * sysdeps/i386/fpu/libm-test-ulps: Update.
13057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13058
13059 * math/auto-libm-test-in: Add more tests of tan.
13060 * math/auto-libm-test-out: Regenerated.
13061 * sysdeps/i386/fpu/libm-test-ulps: Update.
13062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13063
13064 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
13065 * math/auto-libm-test-out: Regenerated.
13066 * sysdeps/i386/fpu/libm-test-ulps: Update.
13067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13068
13069 * math/auto-libm-test-in: Add another test of pow.
13070 * math/auto-libm-test-out: Regenerated.
13071 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13072
13073 * math/auto-libm-test-in: Add more tests of lgamma.
13074 * math/auto-libm-test-out: Regenerated.
13075 * sysdeps/i386/fpu/libm-test-ulps: Update.
13076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13077
13078 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
13079 log1p.
13080 * math/auto-libm-test-out: Regenerated.
13081 * sysdeps/i386/fpu/libm-test-ulps: Update.
13082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13083
13084 2015-05-01 Mark Wielaard <mjw@redhat.com>
13085
13086 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
13087 Elf64_Chdr structs and ELFCOMPRESS constants.
13088
13089 2015-05-01 Joseph Myers <joseph@codesourcery.com>
13090
13091 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
13092 expm1.
13093 * math/auto-libm-test-out: Regenerated.
13094 * sysdeps/i386/fpu/libm-test-ulps: Update.
13095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13096
13097 * math/auto-libm-test-in: Add more tests of erf and erfc.
13098 * math/auto-libm-test-out: Regenerated.
13099 * sysdeps/i386/fpu/libm-test-ulps: Update.
13100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13101
13102 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
13103
13104 * config.h.in (HAVE_AARCH64_BE): Add.
13105
13106 2015-04-30 Joseph Myers <joseph@codesourcery.com>
13107
13108 * math/auto-libm-test-in: Add more tests of csqrt.
13109 * math/auto-libm-test-out: Regenerated.
13110 * sysdeps/i386/fpu/libm-test-ulps: Update.
13111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13112
13113 * math/auto-libm-test-in: Add more tests of cosh and sinh.
13114 * math/auto-libm-test-out: Regenerated.
13115 * sysdeps/i386/fpu/libm-test-ulps: Update.
13116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13117
13118 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
13119
13120 2015-04-29 Roland McGrath <roland@hack.frob.com>
13121
13122 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
13123 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
13124
13125 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
13126 (euidaccess, eaccess): Define as weak aliases.
13127
13128 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
13129 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
13130 but __suseconds_t is often 'long int' so some sources assume that
13131 type is being used (e.g. they use %ld to print tv_usec).
13132
13133 2015-04-29 Florian Weimer <fweimer@redhat.com>
13134
13135 [BZ #18007]
13136 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
13137 (CVE-2014-8121)
13138 * nss/tst-nss-getpwent.c: New file.
13139 * nss/Makefile (tests): Add new test.
13140
13141 2015-04-28 Joseph Myers <joseph@codesourcery.com>
13142
13143 [BZ #18346]
13144 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
13145 exponents less than 48 as cases where high part of mantissa needs
13146 examining to determine whether argument is integral.
13147 * math/libm-test.inc (round_test_data): Add more tests.
13148
13149 2015-04-28 Mark Wielaard <mjw@redhat.com>
13150
13151 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
13152
13153 2015-04-27 David S. Miller <davem@davemloft.net>
13154
13155 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
13156 __tls_get_addr.
13157 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13158
13159 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
13160
13161 [BZ#18333]
13162 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
13163
13164 2015-04-27 Florian Weimer <fweimer@redhat.com>
13165
13166 [BZ#18333]
13167 * time/tzset.c (parse_tzname): Return error on memory allocation
13168 failure.
13169 * test-skeleton.c (struct temp_name_list): Change type of name
13170 member to non-const.
13171 (add_temp_file): Create a copy of the file name.
13172 (delete_temp_files): Deallocate memory.
13173 (create_temp_file): Add comment.
13174
13175 2015-04-24 Florian Weimer <fweimer@redhat.com>
13176
13177 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
13178 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
13179
13180 2015-04-24 Roland McGrath <roland@hack.frob.com>
13181
13182 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
13183 * sysdeps/arm/configure: Regenerated.
13184
13185 2015-04-24 Florian Weimer <fweimer@redhat.com>
13186
13187 [BZ #17715]
13188 * time/tzfile.c (__tzfile_read): Check for large values of
13189 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
13190 * time/tzset.c (__tzstring_len): New function, based on the old
13191 __tzstring function.
13192 (__tzstring): Call __tzstring_len.
13193 (parse_tzname): New helper function extracted from
13194 __tzset_parse_tz. Call __tzstring_len, without making a copy of
13195 the input string.
13196 (parse_offset): New helper function extracted from
13197 __tzset_parse_tz. Replace switch with fallthrough with
13198 initialization before sscanf.
13199 (parse_rule): Likewise.
13200 (__tzset_parse_tz): Rewrite using the new helper functions. Use
13201 new-style function definition.
13202 * timezone/Makefile (tests): Add tst-tzset.
13203 (tst-tzset.out): Dependencies on time zone files.
13204 (tst-tzset-ENV): Set TZDIR.
13205 (testdata/XT%): Copy crafted time zone files.
13206 * timezone/README: Mention crafted time zone files.
13207 * timezone/testdata/XT1, timezone/testdata/XT2,
13208 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
13209 files.
13210 * timezone/tst-tzset.c: New test.
13211
13212 2015-04-24 Florian Weimer <fweimer@redhat.com>
13213
13214 * Makeconfig (+gccwarn): Remove -Winline.
13215
13216 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13217
13218 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
13219
13220 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13221
13222 * NEWS: Mention sysconf() cache information support for s390.
13223 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
13224
13225 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
13226
13227 * math/k_casinh.c (__kernel_casinh): Use __copysign.
13228 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
13229 (__nearbyint): Likewise.
13230 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
13231 (copysignl): Likewise.
13232
13233 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
13234
13235 [BZ #18287]
13236 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
13237 based on padding. (CVE-2015-1781)
13238
13239 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13240
13241 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
13242 libc-vdso.h.
13243 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
13244 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
13245 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
13246 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13247 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13248 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
13249 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
13250 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13251 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13252 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
13253 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13254 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13255 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13256 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
13257 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13258 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
13259 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
13260 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
13261 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
13262 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
13263 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
13264 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
13265 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
13266
13267 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
13268
13269 * stdlib/setenv.c (__add_to_environ):
13270 Dump core quickly if setenv (..., NULL, ...) is called.
13271 This time, do it the right way, and pacify GCC with a pragma.
13272
13273 2015-04-17 Roland McGrath <roland@hack.frob.com>
13274
13275 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
13276 IMAP->l_prev cannot be null, and #if out the code for the contrary
13277 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
13278 believe that NS (&_dl_ns[NSID]) could point outside the array.
13279
13280 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
13281 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
13282 before using NSID as an index.
13283
13284 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
13285
13286 [BZ #17825]
13287 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
13288 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
13289 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13290
13291 2015-04-17 Roland McGrath <roland@hack.frob.com>
13292
13293 Add preliminary port to Google Native Client on ARM.
13294 * abi-tags (.*-.*-nacl.*): New entry.
13295 * sysdeps/arm/nacl: New directory.
13296 * sysdeps/nacl: New directory.
13297
13298 2015-04-16 David S. Miller <davem@davemloft.net>
13299
13300 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
13301 lowlevellock-futex.h
13302
13303 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
13304
13305 * sysdeps/tile/configure.ac: New file.
13306 * sysdeps/tile/configure: Regenerated.
13307
13308 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13309
13310 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
13311 conditionals for weak_alias and libc_hidden_weak.
13312 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
13313 libc_hidden_weak and weak_alias.
13314 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
13315 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
13316 and weak_alias for static one.
13317
13318 2015-04-15 David S. Miller <davem@davemloft.net>
13319
13320 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13321
13322 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13323
13324 [BZ #18206]
13325 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
13326 Use signed comparision instead of substraction to avoid
13327 overflow bug.
13328 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
13329 Take the sign of ret.
13330 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
13331 Do not expect precise return values. Only the sign matters.
13332 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
13333 * wcsmbs/test-wcsncmp.c: New File.
13334 * string/test-strncmp.c: Add wcsncmp support.
13335
13336 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13337
13338 [BZ #6792]
13339 * math/w_log1p.c: New file.
13340 * math/w_log1pf.c: Likewise.
13341 * math/w_log1pl.c: Likewise.
13342 * math/Makefile (libm-calls): Add w_log1p.
13343 * math/s_log1pl.c (log1pl): Remove weak_alias.
13344 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
13345 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
13346 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
13347 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
13348 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
13349 [NO_LONG_DOUBLE] (log1pl): Likewise.
13350 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
13351 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
13352 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
13353 (log1p): Remove long_double_symbol.
13354 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
13355 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
13356 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
13357 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
13358 remove weak_alias for corresponding log1p function.
13359 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
13360 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13361 * sysdeps/ia64/fpu/w_log1p.c: New file.
13362 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
13363 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
13364 * math/libm-test.inc (log1p_test_data): Add errno expectations.
13365
13366 2015-04-10 Joseph Myers <joseph@codesourcery.com>
13367
13368 [BZ #18247]
13369 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
13370 decimal exponent by 1.
13371 * stdlib/tst-strtod-round-data: Add more tests.
13372 * stdlib/tst-strtod-round.c (tests): Regenerated.
13373
13374 2015-04-09 Joseph Myers <joseph@codesourcery.com>
13375
13376 * math/auto-libm-test-in: Add more tests of clog and clog10.
13377 * math/auto-libm-test-out: Regenerated.
13378 * sysdeps/i386/fpu/libm-test-ulps: Update.
13379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13380
13381 2015-04-09 Roland McGrath <roland@hack.frob.com>
13382
13383 * Makeconfig (module-cppflags): Exclude all .v.i files.
13384 (skip-module-cppflags): Variable removed.
13385
13386 * configure.ac (libc_config_ok): Initialize before reading
13387 preconfigure scripts, not after.
13388 * configure: Regenerated.
13389
13390 * test-skeleton.c (TIMEOUT): Move #define to top level.
13391 (main): Grok environment variable TEST_DIRECT. If set, print
13392 test expectation details into that file and then behave as if
13393 given --direct.
13394
13395 2015-04-09 Florian Weimer <fweimer@redhat.com>
13396
13397 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
13398 warning on 32-bit.
13399
13400 2015-04-08 David S. Miller <davem@davemloft.net>
13401
13402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13403
13404 2015-04-08 Joseph Myers <joseph@codesourcery.com>
13405
13406 * math/auto-libm-test-in: Add more tests of atanh.
13407 * math/auto-libm-test-out: Regenerated.
13408 * sysdeps/i386/fpu/libm-test-ulps: Update.
13409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13410
13411 * math/auto-libm-test-in: Add more tests of atan.
13412 * math/auto-libm-test-out: Regenerated.
13413 * sysdeps/i386/fpu/libm-test-ulps: Update.
13414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13415
13416 2015-04-08 Florian Weimer <fweimer@redhat.com>
13417
13418 * elf/pldd.c (main): Rewrite to use struct
13419 scratch_buffer instead of extend_alloca.
13420 * elf/pldd-xx.c (find_maps): Likewise.
13421 * grp/initgroups.c: Include <scratch_buffer.h> instead of
13422 <alloca.h>.
13423 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
13424 scratch_buffer instead of extend_alloca.
13425 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
13426 grp/compat-initgroups.c.
13427 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
13428 Rewrite to use struct scratch_buffer instead of extend_alloca.
13429 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
13430 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13431
13432 2015-04-08 Joseph Myers <joseph@codesourcery.com>
13433
13434 * math/auto-libm-test-in: Add more tests of cbrt.
13435 * math/auto-libm-test-out: Regenerated.
13436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13437
13438 * math/auto-libm-test-in: Add more tests of cabs.
13439 * math/auto-libm-test-out: Regenerated.
13440 * sysdeps/i386/fpu/libm-test-ulps: Update.
13441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13442
13443 [BZ #18210]
13444 [BZ #18211]
13445 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
13446 (__ieee754_atan2): Set FE_TONEAREST mode for internal
13447 computations.
13448 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
13449 clog10.
13450 * math/auto-libm-test-out: Regenerated.
13451 * sysdeps/i386/fpu/libm-test-ulps: Update.
13452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13453
13454 [BZ #18197]
13455 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
13456 (atan): Set FE_TONEAREST mode for internal computations.
13457 * math/auto-libm-test-in: Add more tests of atan.
13458 * math/auto-libm-test-out: Regenerated.
13459
13460 2015-04-07 James Cowgill <james410@cowgill.org.uk>
13461
13462 [BZ #17930]
13463 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
13464
13465 2015-04-07 Florian Weimer <fweimer@redhat.com>
13466
13467 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
13468
13469 2015-04-07 Florian Weimer <fweimer@redhat.com>
13470
13471 * include/scratch_buffer.h: New file.
13472 * malloc/scratch_buffer_grow.c: Likewise.
13473 * malloc/scratch_buffer_grow_preserve.c: Likewise.
13474 * malloc/scratch_buffer_set_array_size.c: Likewise.
13475 * malloc/tst-scratch_buffer.c: Likewise.
13476 * malloc/Makefile (routines): Add scratch_buffer_grow.
13477 (tests): Add test case.
13478 * malloc/Versions (GLIBC_PRIVATE): Export
13479 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
13480 __libc_scratch_buffer_set_array_size.
13481
13482 2015-04-06 Richard Henderson <rth@redhat.com>
13483
13484 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
13485 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13486
13487 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
13488 unsigned int before printing.
13489
13490 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13491
13492 [BZ #17596]
13493 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
13494 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13495
13496 2015-04-02 Florian Weimer <fweimer@redhat.com>
13497
13498 * include/libc-internal.h (libc_max_align_t): Define.
13499
13500 2015-04-02 Andreas Schwab <schwab@suse.de>
13501
13502 [BZ #16850]
13503 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
13504
13505 2015-04-02 Mel Gorman <mgorman@suse.de>
13506
13507 [BZ #17195]
13508 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
13509 as well as the main arena.
13510
13511 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
13512
13513 [BZ #18185]
13514 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
13515 sharing L2 cache to 2 for Silvermont/Knights Landing.
13516
13517 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
13518
13519 [BZ #17711]
13520 * config.make.in (have-protected-data): New.
13521 * configure.ac: Check linker support for protected data symbol.
13522 * configure: Regenerated.
13523 * elf/Makefile (modules-names): Add tst-protected1moda and
13524 tst-protected1modb if $(have-protected-data) is yes.
13525 (tests): Add tst-protected1a and tst-protected1b if
13526 $(have-protected-data) is yes.
13527 ($(objpfx)tst-protected1a): New.
13528 ($(objpfx)tst-protected1b): Likewise.
13529 (tst-protected1modb.so-no-z-defs): Likewise.
13530 * elf/tst-protected1a.c: New file.
13531 * elf/tst-protected1b.c: Likewise.
13532 * elf/tst-protected1mod.h: Likewise.
13533 * elf/tst-protected1moda.c: Likewise.
13534 * elf/tst-protected1modb.c: Likewise.
13535
13536 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
13537
13538 [BZ #17711]
13539 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
13540 indicates it is called from do_lookup_x on relocation against
13541 protected data, skip the data definion in the executable from
13542 copy reloc.
13543 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
13544 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
13545 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
13546 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
13547 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
13548 otherwise to 0.
13549 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
13550 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
13551 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
13552 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
13553 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
13554 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
13555
13556 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
13557
13558 * sysdeps/nptl/pthread.h: Remove duplicate definition of
13559 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
13560
13561 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
13562
13563 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
13564 THREAD_SETMEM_NC.
13565 * sysdeps/x86_64/nptl/tls.h: Ditto.
13566
13567 2015-03-27 Roland McGrath <roland@hack.frob.com>
13568
13569 * dlfcn/tststatic.c (main): Converted to ...
13570 (do_test): ... this.
13571 (TEST_FUNCTION): New macro.
13572 Include test-skeleton.c.
13573
13574 2015-03-26 Alan Modra <amodra@gmail.com>
13575
13576 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
13577 Don't segfault if ifunc resolver returns a NULL. Do set plt to
13578 zero for undefined weak.
13579 (elf_machine_plt_conflict): Similarly.
13580
13581 2015-03-25 Joseph Myers <joseph@codesourcery.com>
13582
13583 * math/auto-libm-test-in: Add more tests of acosh, asinh and
13584 atanh.
13585 * math/auto-libm-test-out: Regenerated.
13586 * sysdeps/i386/fpu/libm-test-ulps: Update.
13587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13588
13589 * math/auto-libm-test-in: Add another test of asin.
13590 * math/auto-libm-test-out: Regenerated.
13591 * sysdeps/i386/fpu/libm-test-ulps: Update.
13592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13593
13594 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
13595 Remove macro.
13596 (LLL_EBX_REG): Likewise.
13597 (LLL_ENTER_KERNEL): Likewise.
13598
13599 * math/auto-libm-test-in: Add more tests of asin.
13600 * math/auto-libm-test-out: Regenerated.
13601 * sysdeps/i386/fpu/libm-test-ulps: Update.
13602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13603
13604 [BZ #18138]
13605 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
13606 libc_do_syscall_args): New structure.
13607 (INTERNAL_SYSCALL_MAIN_0): New macro.
13608 (INTERNAL_SYSCALL_MAIN_1): Likewise.
13609 (INTERNAL_SYSCALL_MAIN_2): Likewise.
13610 (INTERNAL_SYSCALL_MAIN_3): Likewise.
13611 (INTERNAL_SYSCALL_MAIN_4): Likewise.
13612 (INTERNAL_SYSCALL_MAIN_5): Likewise.
13613 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
13614 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
13615 Replace conditional definitions by conditional definitions of ....
13616 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
13617 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
13618 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
13619 (libpthread-sysdep_routines): Add libc-do-syscall.
13620 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
13621 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
13622 to __NR_futex not 240.
13623
13624 2015-03-25 Alan Modra <amodra@gmail.com>
13625
13626 * NEWS: Advertise TLS optimization.
13627 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
13628 (DT_PPC_NUM): Increment.
13629 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
13630 (CHECK_STATIC_TLS): Use here.
13631 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
13632 TLS descriptors.
13633 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13634 * sysdeps/powerpc/dl-tls.c: New file.
13635 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
13636 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
13637 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
13638 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
13639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
13640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13642
13643 2015-03-25 Alan Modra <amodra@gmail.com>
13644
13645 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
13646 for overlapping .opd entries" to "support...".
13647 * sysdeps/powerpc/powerpc64/configure: Regenerate
13648
13649 2015-03-25 Joseph Myers <joseph@codesourcery.com>
13650
13651 * math/auto-libm-test-in: Add more tests of acos.
13652 * math/auto-libm-test-out: Regenerated.
13653 * sysdeps/i386/fpu/libm-test-ulps: Update.
13654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13655
13656 * math/auto-libm-test-in: Add more tests of expm1.
13657 * math/auto-libm-test-out: Regenerated.
13658 * sysdeps/i386/fpu/libm-test-ulps: Update.
13659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13660
13661 2015-03-24 Joseph Myers <joseph@codesourcery.com>
13662
13663 * math/auto-libm-test-in: Add more tests of cosh and sinh.
13664 * math/auto-libm-test-out: Regenerated.
13665 * sysdeps/i386/fpu/libm-test-ulps: Update.
13666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13667
13668 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13670
13671 * math/auto-libm-test-in: Add more tests of log2.
13672 * math/auto-libm-test-out: Regenerated.
13673 * sysdeps/i386/fpu/libm-test-ulps: Update.
13674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13675
13676 2015-03-23 Roland McGrath <roland@hack.frob.com>
13677
13678 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
13679 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
13680 _IO_IS_APPENDING bit in READ_WRITE instead.
13681
13682 2015-03-23 Florian Weimer <fweimer@redhat.com>
13683
13684 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
13685 (__determine_cpumask_size): Replace extend_alloca with a
13686 variable-length array. Do not treat res == 0 as an error.
13687
13688 2015-03-23 Florian Weimer <fweimer@redhat.com>
13689
13690 [BZ #18100]
13691 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
13692 and integer overflow.
13693 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
13694 (main): Add integer overflow tests.
13695 * manual/pattern.texi (Calling Wordexp): Document additional use
13696 for WRDE_SYNTAX.
13697
13698 2015-03-23 Alan Modra <amodra@gmail.com>
13699
13700 * config.h.in: Remove HAVE_ASM_PPC_REL16.
13701 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
13702 and false branch of conditional.
13703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13704 Likewise.
13705
13706 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
13707
13708 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
13709 libc-modules.h
13710 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
13711 unused declaration of _hurd_intr_rpc_msg_in_trap.
13712 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
13713 defined instead of whether it is non-zero.
13714 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
13715 input constraint instead of both input and output constraint. Use ecx
13716 clobber instead of %ecx.
13717 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
13718 mutex_unlock): Use a statement expression instead of an expression list.
13719 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
13720 type to vm_size_t instead of vm_address_t.
13721 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
13722 defined instead of whether it is non-zero.
13723 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
13724 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
13725 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
13726 comparisons with mapaddr.
13727 * nscd/nscd-client.h: Include <time.h>.
13728 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
13729 9th parameter to __vm_region instead of int.
13730 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
13731 * scripts/check-local-headers.sh (exclude): Add device/,
13732 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
13733 cthreads.h.
13734
13735 2015-03-19 Roland McGrath <roland@hack.frob.com>
13736
13737 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
13738 to account for alignment padding.
13739 * sysdeps/arm/memmove.S: Likewise.
13740
13741 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
13742
13743 * sysdeps/unix/sysv/linux/generic/README: New file.
13744
13745 2015-03-18 Joseph Myers <joseph@codesourcery.com>
13746
13747 [BZ #18138]
13748 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
13749 (futex_abstimed_wait)
13750 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
13751 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
13752 of lll_futex_timed_wait.
13753
13754 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
13755
13756 [BZ #17542]
13757 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
13758
13759 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
13760
13761 [BZ #17090]
13762 [BZ #17620]
13763 [BZ #17621]
13764 [BZ #17628]
13765 * NEWS: Update.
13766 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
13767 entries with Static TLS too. Skip entries past the end of the
13768 allocated DTV, from Alan Modra.
13769 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
13770 Static TLS DTV entry set up from...
13771 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
13772 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
13773 * nptl/allocatestack.c (init_one_static_tls): ... and here...
13774 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
13775 for Static TLS.
13776 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
13777 that the slot we find is associated with the given map before
13778 using its generation count.
13779 * nptl_db/db_info.c: Include ldsodefs.h.
13780 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
13781 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
13782 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
13783 (link_map::l_tls_offset): New struct field.
13784 (dtv_t::counter): Likewise.
13785 (rtld_global): New struct.
13786 (_rtld_global): New rtld variable.
13787 (dl_tls_dtv_slotinfo_list): New rtld global field.
13788 (dtv_slotinfo_list): New struct.
13789 (dtv_slotinfo): Likewise.
13790 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
13791 (td_lookup): Rename to...
13792 (td_mod_lookup): ... this. Use new mod parameter instead of
13793 LIBPTHREAD_SO.
13794 * nptl_db/td_thr_tlsbase.c: Include link.h.
13795 (dtv_slotinfo_list, dtv_slotinfo): New functions.
13796 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
13797 addresses even if the DTV is out of date or missing them.
13798 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
13799 index zero-length arrays.
13800 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
13801 (td_lookup): Make it a macro implemented in terms of...
13802 (td_mod_lookup): ... this declaration.
13803 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
13804 (DB_MAIN_VARIABLE): Likewise.
13805
13806 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
13807
13808 [BZ #18134]
13809 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
13810
13811 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
13812
13813 * stdlib/setenv.c (__add_to_environ): Revert previous change.
13814
13815 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
13816
13817 [BZ #18128]
13818 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
13819 (atomic_add, atomic_increment_and_test)
13820 (atomic_decrement_and_test): Fix 64-bit arithmetic.
13821
13822 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
13823
13824 * stdlib/setenv.c (__add_to_environ):
13825 Dump core quickly if setenv (..., NULL, ...) is called.
13826
13827 2015-03-13 Roland McGrath <roland@hack.frob.com>
13828
13829 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
13830 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
13831 all the necessary asm magic in one place.
13832 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
13833 using those.
13834
13835 2015-03-13 Carlos O'Donell <carlos@redhat.com>
13836
13837 [BZ #14906]
13838 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
13839 traced file mtime. Use consistent log message.
13840 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
13841 (register_traced_file): Call install_watches. Always set mtime.
13842 (invalidate_cache): Iterate over all trace files. Call install_watches.
13843 (inotify_check_files): Don't inline. Handle watching parent
13844 directories and configuration file movement in and out.
13845 (handle_inotify_events): New function.
13846 (main_loop_poll): Call handle_inotify_events.
13847 (main_loop_epoll): Likewise.
13848 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
13849 (struct traced_file): Use array of inotify fds. Add parent directory,
13850 and basename.
13851 (struct database_dyn): Remove unused file_mtime.
13852 (init_traced_file): New inline function.
13853 (define_traced_file): New macro.
13854 * nss/nss_db/db-init.c: Use define_traced_file.
13855 (_nss_db_init): Use init_traced_file.
13856 * nss/nss_files/files-init.c: Use define_traced_file.
13857 (_nss_files_init): Use init_traced_file.
13858
13859 2015-03-12 Joseph Myers <joseph@codesourcery.com>
13860
13861 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
13862 [_LIBC]: Do not include <stdlib.h>.
13863 [!_LIBC] (abort): Remove declaration.
13864 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
13865 _FP_STATIC_ASSERT instead of conditionally calling abort.
13866 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
13867 (_FP_EXTEND_CNAN): Likewise.
13868 (FP_TRUNC): Likewise.
13869 (__FP_CLZ): Likewise.
13870 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
13871
13872 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
13873
13874 * manual/string.texi (XPG basename): Fix prototype.
13875
13876 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13877
13878 [BZ #18080]
13879 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
13880 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
13881 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
13882 (__setcontext): Likewise.
13883 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
13884 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
13885 Call rt_sigprocmask syscall one time to set new signal mask
13886 and retrieve the current signal mask instead of two calls.
13887 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
13888 (__swapcontext): Likewise.
13889 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
13890 * stdlib/tst-setcontext2.c: New file.
13891
13892 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13893
13894 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13895
13896 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
13897
13898 [BZ #18093]
13899 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
13900 the wrong size.
13901
13902 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13903
13904 [BZ #18043]
13905 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
13906
13907 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
13908
13909 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
13910 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
13911 Remove define.
13912 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
13913 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
13914 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
13915 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
13916 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
13917 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
13918 define.
13919 * nptl_db/td_symbol_list.c (td_lookup): Remove
13920 HAVE_ASM_GLOBAL_DOT_NAME code.
13921 * sysdeps/powerpc/powerpc64/configure.ac: Remove
13922 HAVE_ASM_GLOBAL_DOT_NAME check.
13923 * sysdeps/powerpc/powerpc64/configure: Regenerate.
13924 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
13925 (DOT_LABEL): Remove define.
13926 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
13927 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
13928 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
13929 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
13930 (__TLS_GET_ADDR): Likewise.
13931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
13932 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
13933
13934 2015-03-11 Carlos O'Donell <carlos@redhat.com>
13935
13936 [BZ #18111]
13937 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
13938 (_FPU_SETCW): Initialize cw from fpsr before storing.
13939 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
13940 (fesetexceptflag): Rewrite using fpu_control.h.
13941 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
13942
13943 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
13944
13945 [BZ #18110]
13946 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
13947 asms.
13948 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
13949
13950 2015-03-11 Joseph Myers <joseph@codesourcery.com>
13951
13952 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
13953 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
13954 abort.
13955 (_FP_FMA): Likewise.
13956 (_FP_DIV): Likewise.
13957
13958 2015-03-10 Roland McGrath <roland@hack.frob.com>
13959
13960 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
13961 with 0 in that case.
13962 * Makefile (summarize-tests): New canned sequence, factored out of
13963 commands for targets tests and xtests. Display summary lines that
13964 don't start with PASS: or XFAIL: rather than ones that do start with
13965 ERROR: or FAIL:. Make the commands fail if any summary lines fail
13966 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
13967 do start with ERROR: or FAIL:.
13968 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
13969 (except for [$(build-shared) = yes]).
13970 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
13971 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
13972 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
13973 * nptl/Makefile: Revert 2015-03-04 changes.
13974 [$(CXX) empty] (tests-unsupported): New variable.
13975 * debug/Makefile: Likewise.
13976
13977 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
13978 gnulib file. Replace __attribute with __attribute__ throughout.
13979
13980 2015-03-10 Carlos O'Donell <carlos@redhat.com>
13981
13982 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13983
13984 2015-03-10 Joseph Myers <joseph@codesourcery.com>
13985
13986 [BZ #18104]
13987 * math/auto-libm-test-in: Add another test of pow.
13988 * math/auto-libm-test-out: Regenerated.
13989
13990 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13991
13992 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
13993 $(config-cflags-nofma).
13994
13995 2015-03-10 Joseph Myers <joseph@codesourcery.com>
13996
13997 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
13998 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
13999 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
14000 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
14001 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
14002 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
14003 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
14004 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
14005 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
14006 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
14007 Add comment on closing #endif.
14008
14009 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14010
14011 * posix/wordexp.c (CHAR_IN_SET): New macro.
14012 (parse_param): Use it.
14013
14014 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14015
14016 * sysdeps/powerpc/fpu/libm-test-ulps: update.
14017
14018 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14019
14020 [BZ #18043]
14021 * posix/wordexp.c (parse_param): Fix buffer overflow.
14022 * posix/wordexp-test.c (test_case): Add test case.
14023
14024 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14025
14026 [BZ #18042]
14027 * posix/wordexp.c (parse_backtick): Fix off-by-one.
14028 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
14029
14030 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14031
14032 [BZ #18043]
14033 * posix/wordexp-test.c (test_case): Add test for BZ #18043
14034 (do_bz18043): Delete.
14035 (at_page_end): New.
14036 (testit): Refactor to have words at the edge of unreadable page.
14037
14038 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
14039
14040 [BZ #16734]
14041 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
14042 Cleanup read-only streams as well.
14043 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
14044
14045 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
14046
14047 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
14048 <bits/libc-lockP.h>
14049
14050 2015-03-07 Joseph Myers <joseph@codesourcery.com>
14051
14052 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
14053 on [__KERNEL__].
14054 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
14055 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
14056 * soft-fp/op-common.h (_FP_DECL): Likewise.
14057
14058 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
14059
14060 * elf/ifuncdep2.c (global): Replace
14061 __attribute__((visibility("protected"))) with
14062 asm (".protected global").
14063 * elf/ifuncmod1.c (global): Likewise.
14064 * elf/ifuncmod5.c (global): Likewise.
14065
14066 2015-03-06 Joseph Myers <joseph@codesourcery.com>
14067
14068 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
14069 <asm/sfp-machine.h> instead of <sfp-machine.h>.
14070
14071 2015-03-06 Roland McGrath <roland@hack.frob.com>
14072
14073 * manual/install.texi (Configuring and compiling):
14074 Document test-wrapper-env-only.
14075 * INSTALL: Regenerated.
14076
14077 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14078
14079 [BZ #18043]
14080 * posix/wordexp.c (parse_param): Fix buffer overflow.
14081 * posix/wordexp-test.c (do_bz18043): Add test case.
14082
14083 2015-03-06 Vincent Bernat <vincent@bernat.im>
14084
14085 * time/tst-strptime2.c (do_test): Ensure failing tests are
14086 reported correctly.
14087 * time/tst-strptime3.c (do_test): Likewise.
14088
14089 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
14090
14091 Fix aio_error thread-safety.
14092 * sysdeps/pthread/aio_error.c: New file
14093 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
14094 synchronization.
14095
14096 2015-03-06 Florian Weimer <fweimer@redhat.com>
14097
14098 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
14099 (group_number, vfprintf): Use it.
14100 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
14101 (JUMP, REF): Use it.
14102 (WORK_BUFFER_SIZE): New enum constant.
14103 (process_arg, vfprintf): Use it.
14104
14105 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
14106
14107 * manual/errno.texi (Error Messages): Complete example function
14108 by adding missing #define.
14109 (program_invocation_name): Add statement indicating GNU
14110 extension and reference which header file declares the variable.
14111 (program_invocation_short_name): Likewise.
14112
14113 2015-03-06 Mike Frysinger <vapier@gentoo.org>
14114
14115 * manual/errno.texi (Error Messages): Delete strerror ISO C89
14116 compatibility note.
14117
14118 2015-03-05 Roland McGrath <roland@hack.frob.com>
14119
14120 * Makeconfig (test-wrapper-env-only): New variable.
14121 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
14122 then use that with $(test-wrapper-env-only) rather than using
14123 $(test-wrapper-env) $(run-program-env) $($*-ENV).
14124
14125 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
14126
14127 [BZ #18082]
14128 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
14129 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
14130 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
14131 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
14132 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
14133 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
14134 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
14135 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
14136 Likewise.
14137 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
14138 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
14139 Likewise.
14140 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
14141 Likewise.
14142 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
14143 Likewise.
14144 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
14145 Likewise.
14146 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
14147 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
14148 Likewise.
14149 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
14150 Likewise.
14151 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
14152 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
14153
14154 2015-03-04 Roland McGrath <roland@hack.frob.com>
14155
14156 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
14157 (ETH_ALEN): New macro.
14158 (struct ether_addr): Use it for length of ether_addr_octet.
14159
14160 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
14161 (setdb): Don't call __nss_configure_lookup for "rpc".
14162 (do_test): Don't call test_rpc.
14163 (output_rpcent, test_rpc): Functions moved ...
14164 * sunrpc/test-rpcent.c: ... to this new file.
14165 * sunrpc/Makefile (tests): Add it.
14166
14167 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
14168 __xpg_sigpause.
14169 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
14170 * nptl/tst-signal6.c: Likewise.
14171 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
14172 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
14173
14174 * configure.ac (libc_cv_cxx_link_ok): New check.
14175 Reset CXX to empty if it fails to link.
14176 * configure: Regenerated.
14177 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
14178 bug-atexit3-lib only if $(CXX) is nonempty.
14179 * nptl/Makefile (tests): Likewise for tst-cancel24.
14180 (tests, tests-static): Likewise for tst-cancel24-static.
14181 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
14182 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
14183 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
14184 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
14185
14186 2015-03-04 Andreas Schwab <schwab@suse.de>
14187
14188 [BZ #17631]
14189 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
14190 for non-GCC compilers.
14191 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14192 Likewise.
14193
14194 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
14195
14196 [BZ #17776]
14197 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
14198 integer before bitwise and assembly operations.
14199 (feclearexcept): Likewise.
14200 * math/test-fenvinline.c: New file.
14201 * math/Makefile: Add test-fenvinline test.
14202
14203 2015-03-03 Alan Modra <amodra@gmail.com>
14204
14205 [BZ #16512]
14206 * scripts/localplt.awk: Strip off symbol version.
14207 * NEWS: Mention bug fix.
14208
14209 2015-03-02 Roland McGrath <roland@hack.frob.com>
14210
14211 * sysdeps/pthread/timer_routines.c
14212 (timer_free_list, thread_free_list, thread_active_list): Make static.
14213
14214 2015-03-02 Joseph Myers <joseph@codesourcery.com>
14215
14216 [BZ #17779]
14217 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14218 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14219 Undefine.
14220 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14221 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14222 Likewise.
14223 * sysdeps/unix/sysv/linux/sh/kernel-features.h
14224 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14225 Likewise.
14226
14227 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14228
14229 [BZ #18036]
14230 * posix/fnmatch_loop.c (END): Detect invalid pattern.
14231 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
14232
14233 2015-03-02 Andreas Schwab <schwab@suse.de>
14234
14235 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
14236 variable name.
14237
14238 2015-03-02 Florian Weimer <fweimer@redhat.com>
14239
14240 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
14241 Return error status.
14242
14243 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
14244
14245 [BZ #15969]
14246 * locale/findlocale.c (_nl_find_locale): Introduce const
14247 version of loc_name and drop unsafe type casts.
14248
14249 2015-02-27 Roland McGrath <roland@hack.frob.com>
14250
14251 * dlfcn/tststatic2.c (main): Converted to ...
14252 (do_test): ... this.
14253 (TEST_FUNCTION): New macro.
14254 Include test-skeleton.c.
14255
14256 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
14257
14258 [BZ #17711]
14259 * elf/Makefile (tests): Add vismain only if PIE is enabled.
14260 (tests-pie): Add vismain.
14261 (CFLAGS-vismain.c): New.
14262 * elf/vismain.c: Add comments for PIE requirement.
14263
14264 2015-02-27 Joseph Myers <joseph@codesourcery.com>
14265
14266 [BZ #18046]
14267 [BZ #18047]
14268 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
14269 0x1p-56L as threshold for just returning the argument.
14270 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
14271 0x1p-32L as threshold for just returning the argument.
14272 * math/auto-libm-test-in: Add more tests of atanh.
14273 * math/auto-libm-test-out: Regenerated.
14274 * sysdeps/i386/fpu/libm-test-ulps: Update.
14275 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
14276
14277 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
14278
14279 * string/bcopy.c (bcopy): Call memmove for performance.
14280
14281 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
14282
14283 * string/bzero.c (__bzero): Call memset for performance.
14284
14285 2015-02-27 John David Anglin <dave.anglin@bell.net>
14286
14287 [BZ #18068]
14288 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
14289 to 00100000.
14290
14291 2015-02-27 Joseph Myers <joseph@codesourcery.com>
14292
14293 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
14294
14295 2015-02-26 Joseph Myers <joseph@codesourcery.com>
14296
14297 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
14298 (__kernel_standard): Use CSTR macro when setting exc.name.
14299 * sysdeps/ieee754/Makefile [$(subdir) = math]
14300 (CFLAGS-k_standard.c): Remove variable.
14301
14302 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
14303 setting p and q from "else if" to "else".
14304 (qzero): Likewise.
14305 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
14306 (qone): Likewise.
14307 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
14308 (qzerof): Likewise.
14309 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
14310 (qonef): Likewise.
14311 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
14312 (qzero): Likewise.
14313 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
14314 (qone): Likewise.
14315
14316 [BZ #18038]
14317 [BZ #18039]
14318 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
14319 return pi/2 for arguments below 0x1p-113L.
14320 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
14321 return pi/2 for arguments below 0x1p-106L.
14322 * math/auto-libm-test-in: Add more tests of acos.
14323 * math/auto-libm-test-out: Regenerated.
14324
14325 [BZ #16351]
14326 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
14327 (MO): New macro.
14328 (__ieee754_asin): Force underflow exception for results with small
14329 absolute value.
14330 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
14331 (MO): New macro.
14332 (__ieee754_asinf): Force underflow exception for results with
14333 small absolute value.
14334 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
14335 (__ieee754_asin): Force underflow exception for results with small
14336 absolute value.
14337 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
14338 (__ieee754_asinf): Force underflow exception for results with
14339 small absolute value.
14340 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
14341 (__ieee754_asinl): Force underflow exception for results with
14342 small absolute value.
14343 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
14344 (__ieee754_asinl): Force underflow exception for results with
14345 small absolute value.
14346 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
14347 (__ieee754_asinl): Force underflow exception for results with
14348 small absolute value.
14349 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14350 Include <math.h>.
14351 * math/auto-libm-test-in: Do not mark underflow exceptions as
14352 possibly missing for bug 16351.
14353 * math/auto-libm-test-out: Regenerated.
14354
14355 [BZ #18030]
14356 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
14357 of power of 2 down when low part has opposite sign.
14358 * math/libm-test.inc (logb_test_data): Add more tests.
14359
14360 2015-02-26 Andreas Schwab <schwab@suse.de>
14361
14362 [BZ #18032]
14363 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
14364 over collating symbol inside a bracket expression. Minor cleanup.
14365 * posix/tst-fnmatch3.c (do_test): Add test case.
14366
14367 2015-02-26 Joseph Myers <joseph@codesourcery.com>
14368
14369 [BZ #18029]
14370 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
14371 Adjust exponent of power of 2 down when low part has opposite
14372 sign.
14373 * math/libm-test.inc (ilogb_test_data): Add more tests.
14374
14375 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
14376
14377 [BZ #15969]
14378 * locale/findlocale.c (_nl_find_locale): Fix constness error in
14379 the previous change.
14380
14381 [BZ #15969]
14382 * locale/findlocale.c (_nl_find_locale): Retry archive search
14383 after alias expansion.
14384
14385 2015-02-25 Roland McGrath <roland@hack.frob.com>
14386
14387 * iconv/tst-iconv3.c (main): Converted to ...
14388 (do_test): ... this.
14389 (TEST_FUNCTION): New macro.
14390 Include test-skeleton.c.
14391
14392 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
14393 (convert): Make function static.
14394 (test_unalign): Likewise. Add const to argument pointee types.
14395 (main): Replace with static function do_test.
14396 Print "Succeeded." only if RET is zero.
14397 (TEST_FUNCTION): New macro.
14398 Include test-skeleton.c.
14399
14400 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
14401 returns a null pointer.
14402
14403 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14404
14405 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
14406 to __memcpy_ppc only for static builds.
14407
14408 2015-02-25 Joseph Myers <joseph@codesourcery.com>
14409
14410 [BZ #18020]
14411 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
14412 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
14413 * math/auto-libm-test-in: Add more tests of asinh.
14414 * math/auto-libm-test-out: Regenerated.
14415 * sysdeps/i386/fpu/libm-test-ulps: Update.
14416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14417
14418 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
14419
14420 [BZ #15850]
14421 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
14422 and ip6_mtuinfo definitions here.
14423 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
14424 in this define too. Update comment.
14425
14426 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
14427
14428 * elf/sprof.c (load_shobj): Tweak error message to match others.
14429
14430 2015-02-24 Kevin Easton <kevin@guarana.org>
14431
14432 [BZ #16145] (partial fix)
14433 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
14434 to reduce lock contention.
14435
14436 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
14437
14438 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
14439 (struct timex): Update time comment.
14440 (ADJ_SETOFFSET): Define.
14441
14442 2015-02-24 Joseph Myers <joseph@codesourcery.com>
14443
14444 [BZ #18019]
14445 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
14446 2**56 not 2**28 as threshold for log (2x) formula.
14447 * math/auto-libm-test-in: Add more tests of acosh.
14448 * math/auto-libm-test-out: Regenerated.
14449 * sysdeps/i386/fpu/libm-test-ulps: Update.
14450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14451
14452 2015-02-24 Mike Frysinger <vapier@gentoo.org>
14453
14454 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
14455 parenthesis around the buf assignment.
14456 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
14457
14458 2015-02-24 Joseph Myers <joseph@codesourcery.com>
14459
14460 [BZ #16783]
14461 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
14462 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
14463 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
14464 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14465 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14466 * math/libm-test.inc (scalb_test_data): Add more tests.
14467
14468 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14469
14470 [BZ #17916]
14471 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
14472 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
14473
14474 2015-02-24 Eric Rannaud <e@nanocritical.com>
14475
14476 [BZ #17523]
14477 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
14478 * io/bits/fcntl2.h (open): Use it.
14479 (openat): Likewise.
14480 * io/open.c (__libc_open): Likewise.
14481 * io/open64.c (__libc_open64): Likewise.
14482 * io/open64_2.c (__open64_2): Likewise.
14483 * io/open_2.c (__open_2): Likewise.
14484 * io/openat.c (__openat): Likewise.
14485 * io/openat64.c (__openat64): Likewise.
14486 * io/openat64_2.c (__openat64_2): Likewise.
14487 * io/openat_2.c (__openat_2): Likewise.
14488 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
14489 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
14490 * sysdeps/posix/open64.c (__libc_open64): Likewise.
14491 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14492 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
14493 (__open_nocancel): Likewise.
14494 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
14495 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
14496 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
14497
14498 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14499
14500 [BZ #14841]
14501 * resolv/gethnamaddr.c (getanswer): Skip logging if
14502 RES_USE_DNSSEC is set.
14503 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14504
14505 2015-02-24 Mike Frysinger <vapier@gentoo.org>
14506
14507 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
14508
14509 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
14510
14511 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14512 201304L, for Unicode 7.
14513
14514 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
14515
14516 [BZ #17836]
14517 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
14518 shared library. Add gmon-start.os otherwise.
14519 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
14520 $(objpfx)gmon-start.os if builing shared library.
14521 ($(objpfx)g$(static-start-installed-name)): Likewise.
14522
14523 2015-02-23 Andreas Schwab <schwab@suse.de>
14524
14525 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
14526
14527 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
14528
14529 [BZ #17269]
14530 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
14531 (enlarge_userbuf): Likewise.
14532
14533 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
14534
14535 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
14536 * math/atest-exp.c (TIMEOUT): Adjust to 200.
14537 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
14538 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
14539
14540 2015-02-20 Joseph Myers <joseph@codesourcery.com>
14541
14542 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
14543 expression inside statement expression.
14544
14545 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
14546
14547 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
14548 <sysdeps/nptl/lowlevellock.h> and remove macros and
14549 functions that are now defined there.
14550 (SYS_futex): Remove.
14551 (lll_compare_and_swap): Remove.
14552 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
14553
14554 2015-02-19 Joseph Myers <joseph@codesourcery.com>
14555
14556 [BZ #17999]
14557 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
14558 instead of scandirat.
14559 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
14560 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
14561 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
14562 __scandirat.
14563 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
14564 (__scandirat): Declare. Use libc_hidden_proto.
14565 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
14566 Remove variable.
14567 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14568
14569 2015-02-18 Joseph Myers <joseph@codesourcery.com>
14570
14571 [BZ #15319]
14572 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
14573 (MO): New macro.
14574 (__ieee754_atan2): For results with small absolute value, force
14575 underflow exception and remove excess range and precision from
14576 return value.
14577 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
14578 (MO): New macro.
14579 (__ieee754_atan2f): For results with small absolute value, force
14580 underflow exception and remove excess range and precision from
14581 return value.
14582 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
14583 (MO): New macro.
14584 (__atan): For results with small absolute value, force underflow
14585 exception and remove excess range and precision from return value.
14586 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
14587 (MO): New macro.
14588 (__atanf): For results with small absolute value, force underflow
14589 exception and remove excess range and precision from return value.
14590 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
14591 <math.h>.
14592 (__ieee754_atan2): Force underflow exception for results with
14593 small absolute value.
14594 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
14595 <math_private.h>.
14596 (atan): Force underflow exception for results with small absolute
14597 value.
14598 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
14599 (__atanf): Force underflow exception for results with small
14600 absolute value.
14601 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
14602 <math.h>.
14603 (__atanl): Force underflow exception for results with small
14604 absolute value.
14605 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
14606 (__atanl): Force underflow exception for results with small
14607 absolute value.
14608 * sysdeps/x86/fpu/bits/mathinline.h
14609 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
14610 (__ieee754_atan2): Only define inline for long double.
14611 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14612 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
14613 * math/auto-libm-test-in: Do not mark underflow exceptions as
14614 possibly missing for bug 15319. Add more tests of atan2.
14615 * math/auto-libm-test-out: Regenerated.
14616 * math/libm-test.inc (casin_test_data): Do not mark underflow
14617 exceptions as possibly missing for bug 15319.
14618 (casinh_test_data): Likewise.
14619 * sysdeps/i386/fpu/libm-test-ulps: Update.
14620
14621 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
14622
14623 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
14624 * sysdeps/mips/bits/endian.h: Fix comments.
14625
14626 2015-02-18 Joseph Myers <joseph@codesourcery.com>
14627
14628 [BZ #17996]
14629 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
14630 (hdestroy_r): Likewise.
14631 (hsearch_r): Likewise.
14632 (__hcreate_r): Declare and use libc_hidden_proto.
14633 (__hdestroy_r): Likewise.
14634 (__hsearch_r): Likewise.
14635 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
14636 (hcreate): Call __hcreate_r instead of hcreate_r.
14637 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
14638 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
14639 as weak alias of __hcreate_r.
14640 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
14641 __hdestroy_r.
14642 (hsearch_r): Rename to __hsearch_r and define as weak alias of
14643 __hsearch_r.
14644 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
14645 Remove variable.
14646 (test-xfail-XPG4/search.h/linknamespace): Likewise.
14647 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14648 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14649 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
14650
14651 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14652
14653 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
14654 arena_lock into a single arena_get.
14655
14656 2015-02-17 Carlos O'Donell <carlos@redhat.com>
14657
14658 * dl-reloc.c: Inlucde libc-internal.h.
14659 (_dl_try_allocate_static_tls): Call ALIGN_UP.
14660 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
14661 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
14662 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
14663 (grow_heap): Likewise.
14664 * malloc/malloc.c: Include libc-internal.h.
14665 (do_check_malloc): Call powerof2.
14666 (sysmalloc): Use pagesize. Call ALIGN_UP.
14667 (systrim): Use pagesize.
14668 (mremap_chunk): Use pagesize. Call ALIGN_UP.
14669 (__libc_valloc): Use pagesize.
14670 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
14671
14672 2015-02-17 Joseph Myers <joseph@codesourcery.com>
14673
14674 [BZ #17991]
14675 * include/sys/resource.h (__getrlimit64): Declare. Use
14676 libc_hidden_proto.
14677 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
14678 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
14679 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
14680 getrlimit64.
14681 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
14682 __getrlimit64.
14683 [!getrlimit64] (getrlimit64): Define as weak alias of
14684 __getrlimit64. Use libc_hidden_weak.
14685 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
14686 using __getrlimit64 not __new_getrlimit64.
14687 (__GI_getrlimit64): Likewise.
14688 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
14689 Likewise.
14690 (__GI_getrlimit64): Likewise.
14691 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
14692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
14693 (getrlimit): Add __getrlimit64 alias.
14694 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
14695 Likewise.
14696 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
14697 Remove variable.
14698 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14699 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
14700
14701 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14702
14703 * libio/fileops.c: Add missing sys/mman.h
14704 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
14705
14706 2015-02-17 Joseph Myers <joseph@codesourcery.com>
14707
14708 * manual/math.texi (Errors in Math Functions): Clarify goals
14709 regarding inexact and underflow exceptions.
14710
14711 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
14712
14713 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
14714 * sysdeps/mips/memset.S: Ditto.
14715
14716 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
14717
14718 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
14719
14720 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
14721
14722 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
14723 (__v1longjmp): Remove versioned symbol.
14724 (__v1siglongjmp): Remove alias and versioned symbol.
14725 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
14726 (__v2siglongjmp): Likewise.
14727
14728 2015-02-16 Torvald Riegel <triegel@redhat.com>
14729
14730 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
14731
14732 2015-02-16 Mike Frysinger <vapier@gentoo.org>
14733
14734 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
14735
14736 2015-02-16 Joseph Myers <joseph@codesourcery.com>
14737
14738 [BZ #17987]
14739 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
14740 zero result does not depend on the sign resulting from
14741 subtraction.
14742 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14743 Likewise.
14744 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
14745 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
14746 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14747 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14748 * math/libm-test.inc (remquo_test_data): Add more tests.
14749
14750 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
14751
14752 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
14753 Problem reported by J William Piggott.
14754
14755 2015-02-16 Joseph Myers <joseph@codesourcery.com>
14756
14757 [BZ #17978]
14758 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
14759 products 4 * y and 2 * y where those would overflow.
14760 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14761 Likewise.
14762 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
14763 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
14764 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14765 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14766 * math/libm-test.inc (remquo_test_data): Add more tests.
14767
14768 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
14769
14770 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
14771 [defined _COMPILING_NEWLIB].
14772 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
14773 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
14774
14775 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
14776 [!defined __mips_isa_rev || __mips_isa_rev < 6].
14777
14778 2015-02-16 Torvald Riegel <triegel@redhat.com>
14779
14780 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
14781 acquired.
14782
14783 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
14784
14785 [BZ #17792]
14786 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
14787 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
14788 HOST_STACK_END_ADDR): Likewise.
14789
14790 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
14791
14792 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
14793 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
14794 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
14795
14796 2015-02-13 Roland McGrath <roland@hack.frob.com>
14797
14798 * sysdeps/generic/c++-types.data: New file.
14799 * sysdeps/generic/ld.abilist: New file.
14800 * sysdeps/generic/libBrokenLocale.abilist: New file.
14801 * sysdeps/generic/libanl.abilist: New file.
14802 * sysdeps/generic/libc.abilist: New file.
14803 * sysdeps/generic/libcrypt.abilist: New file.
14804 * sysdeps/generic/libdl.abilist: New file.
14805 * sysdeps/generic/libm.abilist: New file.
14806 * sysdeps/generic/libpthread.abilist: New file.
14807 * sysdeps/generic/libresolv.abilist: New file.
14808 * sysdeps/generic/librt.abilist: New file.
14809
14810 2015-02-13 Joseph Myers <joseph@codesourcery.com>
14811
14812 [BZ #17569]
14813 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14814 Compute absolute value of x as modified by fmod, not original
14815 value of x.
14816 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
14817 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
14818 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
14819 RUN_TEST_ffI_f1_mod8.
14820 (remquo_test_data): Add more tests.
14821
14822 2015-02-13 Roland McGrath <roland@hack.frob.com>
14823
14824 * sysdeps/init_array/pt-crti.S: New file.
14825
14826 2015-02-13 Joseph Myers <joseph@codesourcery.com>
14827
14828 [BZ #17967]
14829 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
14830 __builtin_fmaf instead of relying on contraction of a * b + c.
14831
14832 2015-02-12 J William Piggott <elseifthen@gmx.com>
14833
14834 [BZ #17969]
14835 * manual/time.texi: correct the zoneinfo path in the TZ Variable
14836 node.
14837
14838 2015-02-12 Joseph Myers <joseph@codesourcery.com>
14839
14840 [BZ #17964]
14841 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
14842 __builtin_fma instead of relying on contraction of a * b + c.
14843
14844 2015-02-12 Roland McGrath <roland@hack.frob.com>
14845
14846 * Makeconfig (ASFLAGS): Add -Werror=undef.
14847 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
14848 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
14849 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
14850
14851 * Makeconfig (after-link): New variable.
14852 (+link-pie, +link-pie-tests): Use it.
14853 (+link-static, +link-static-tests): Likewise.
14854 (+link, +link-tests): Likewise.
14855 * Makerules (build-module, build-module-asneeded): Likewise.
14856 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
14857 Likewise.
14858 * elf/Makefile ($(objpfx)ld.so): Likewise.
14859
14860 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
14861
14862 [BZ #17965]
14863 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
14864 both struct timeval and struct timespec.
14865
14866 2015-02-12 Joseph Myers <joseph@codesourcery.com>
14867
14868 [BZ #16560]
14869 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14870 and redefine.
14871 (__ieee754_exp2l): Do not multiply small fractional parts by
14872 M_LN2l.
14873 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
14874 small argument.
14875 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14876 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14877 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
14878 * math/auto-libm-test-in: Add more tests of exp2.
14879 * math/auto-libm-test-out: Regenerated.
14880
14881 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14882
14883 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
14884 unaligned path.
14885
14886 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14887
14888 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
14889 little endian.
14890
14891 2015-02-12 Andreas Schwab <schwab@suse.de>
14892
14893 [BZ #15790]
14894 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
14895 Filter out elision flags from value returned in kind.
14896 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
14897 * nptl/tst-pthread-mutexattr.c: New file.
14898
14899 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
14900
14901 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
14902 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
14903 into gnu-gnu, and update comment to refer to abi-tags.
14904
14905 2015-02-11 Joseph Myers <joseph@codesourcery.com>
14906
14907 [BZ #15467]
14908 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
14909 (__sincos): Set errno to EDOM for infinite argument.
14910 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
14911 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
14912 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
14913 (__sincosl): Set errno to EDOM for infinite argument.
14914 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
14915 (__sincosl): Set errno to EDOM for infinite argument.
14916 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
14917 (__sincosl): Set errno to EDOM for infinite argument.
14918 * math/libm-test.inc (sincos_test_data): Test errno setting.
14919
14920 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
14921
14922 * string/strxfrm_l.c: Remove #define STRCMP.
14923 * string/strcoll_l.c: Remove #define STRLEN.
14924 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
14925 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
14926
14927 2015-02-10 Joseph Myers <joseph@codesourcery.com>
14928
14929 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
14930 * sysdeps/mips/mips32/sfp-machine.h: ... here.
14931 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
14932 * sysdeps/mips/mips64/Makefile: ... here.
14933 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
14934 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
14935 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
14936 * sysdeps/mips/mips64/sfp-machine.h: ... here.
14937 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
14938 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
14939 * sysdeps/mips/mips64/n64/Implies: Likewise.
14940
14941 2015-02-10 Roland McGrath <roland@hack.frob.com>
14942
14943 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
14944 <sys/time.h>, <string.h>, and <errno.h>.
14945 (dest_offset, dest_address, value, zero): Remove unused variables.
14946 (ldouble): Remove typedef.
14947 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
14948 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
14949 1). Fix code style.
14950 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
14951 (check): Function removed.
14952 (CHECK): New macro.
14953 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
14954 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
14955 Don't call set_sigaction_FP and remove_sigaction_FP here.
14956 (ldouble_test): Just use 'long double' as macro argument, no need for
14957 the 'ldouble' typedef.
14958 (do_test): Set up SIGFPE handler at start, using plain signal rather
14959 than sigaction. Fix code style.
14960
14961 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
14962
14963 [BZ #17949]
14964 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
14965 jump label.
14966
14967 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
14968
14969 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
14970 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14971
14972 * sysdeps/powerpc/configure.ac: Remove file.
14973 * sysdeps/powerpc/configure: Likewise.
14974
14975 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
14976 [sysdep_routines]: Remove wordcopy-power6 object.
14977 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14978 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
14979 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
14980 (__memmove_ppc32): Likewise.
14981 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
14982 file.
14983 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
14984 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
14985 Remove preprocessor.
14986
14987 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
14988 [sysdep_routines]: Remove wide chars objects.
14989 [wcsmbs]: New rule for wide char objects.
14990
14991 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14992 Remove wordcopy-power6 obejct.
14993 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
14994 Use local call for wordcopy and memcpy symbols.
14995 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
14996 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
14997 implementation for loader.
14998 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
14999
15000 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15001 Remove wordcopy-power7 object.
15002 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
15003 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
15004 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
15005 (_wordcopy_fwd_dest_aligned): Likewise.
15006 (_wordcopy_bwd_aligned): Likewise.
15007 (_wordcopy_bwd_dest_aligned): Likewise.
15008
15009 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
15010 Rewrite to call __memmove_ppc instead of include default
15011 implementation.
15012
15013 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15014 Remove wide chars objects.
15015 [wcsmbs]: New rule for wide char objects.
15016
15017 2015-02-09 Andreas Schwab <schwab@suse.de>
15018
15019 [BZ #17912]
15020 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15021 in terms of __O_DIRECTORY.
15022
15023 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
15024
15025 * time/getdate.c: Include <stdbool.h>.
15026 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
15027 call PTR_MANGLE.
15028 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
15029 PTR_DEMANGLE.
15030
15031 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
15032
15033 Add ersatz _Static_assert on older C hosts
15034 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
15035 pre-C11 C platform that is not known to support _Static_assert.
15036
15037 2015-02-07 Richard Braun <rbraun@sceen.net>
15038
15039 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
15040 sigstate.
15041 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
15042
15043 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
15044
15045 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
15046 priority against unexistent AIO_PRIO_DELTA_MAX.
15047 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
15048 instead of int.
15049 * misc/fchflags.c (fchflags): Likewise.
15050 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
15051 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
15052 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
15053 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
15054 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
15055 Declare macros.
15056 [__USE_MISC] (chflags, fchflags): Declare functions.
15057 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
15058 EINVAL when nfds is greater than FD_SETSIZE.
15059 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
15060 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
15061 45.
15062 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
15063 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
15064 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
15065 MACH_RCV_TIMED_OUT.
15066 * hurd/hurd/signal.h (_hurd_self_sigstate,
15067 _hurd_critical_section_lock, _hurd_critical_section_unlock):
15068 Explicit casts from void *.
15069 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
15070 * abi-tags: Rename gnu-gnu os into gnu.
15071
15072 [BZ #4719]
15073 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
15074 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
15075 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
15076 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
15077 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
15078 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
15079
15080 [BZ #17944]
15081 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
15082 duplicates ADDR->sun_path with sockaddr LEN limitation.
15083 * sysdeps/mach/hurd/connect.c: Include <string.h>
15084 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
15085 * sysdeps/mach/hurd/sendmsg.c: Likewise.
15086 * sysdeps/mach/hurd/sendto.c: Likewise.
15087 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
15088 implementing it by hand.
15089
15090 2015-02-06 Roland McGrath <roland@hack.frob.com>
15091
15092 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
15093 Use sfi_breg on ldr.
15094 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
15095 Likewise.
15096
15097 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
15098 it's defined.
15099 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
15100 Test SIGSETXID only if it's defined.
15101
15102 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
15103
15104 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
15105 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
15106
15107 * nptl/tst-align2.c: Moved ...
15108 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
15109 * nptl/Makefile (tests): Remove tst-align2.
15110 * sysdeps/unix/sysv/linux/Makefile
15111 [$(subdir) = nptl] (tests): Add tst-align-clone.
15112 * nptl/tst-getpid1.c: Moved ...
15113 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
15114 * nptl/tst-getpid2.c: Moved ...
15115 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
15116 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
15117 * sysdeps/unix/sysv/linux/Makefile
15118 [$(subdir) = nptl] (tests): ... here.
15119 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
15120 * sysdeps/unix/sysv/linux/Makefile
15121 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
15122
15123 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
15124 Drop trailing \n from perror argument. Use return rather than exit.
15125
15126 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
15127 on [SA_SIGINFO].
15128 * nptl/tst-cancel21.c (do_test): Likewise.
15129 * debug/tst-backtrace6.c: Include <signal.h> first thing.
15130 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
15131 [!SA_SIGINFO]: Make it a stub test.
15132
15133 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
15134 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
15135
15136 * posix/tst-getlogin.c: Move to ...
15137 * login/tst-getlogin.c: ... here.
15138 * posix/Makefile (tests): Move tst-getlogin to ...
15139 * login/Makefile (tests): ... here.
15140
15141 * libio/tst-atime.c (do_test): Move local variables SV and E
15142 inside [ST_NOATIME] conditional.
15143
15144 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
15145
15146 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
15147
15148 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
15149 (wait_code): New function replaces macro.
15150 Call nanosleep rather than syscall.
15151
15152 * nptl/pt-system.c: Rewritten. Put everything under
15153 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15154 Use IFUNC to redirect when possible.
15155
15156 * nptl/pt-longjmp.c: Rewritten. Put everything under
15157 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15158 Use IFUNC to redirect when possible.
15159
15160 * nptl/pt-fork.c: Rewritten. Put everything under
15161 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15162 Use IFUNC to redirect when possible.
15163 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
15164
15165 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
15166 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
15167 unconditionally nowadays. This included the only reference to
15168 __vdso_clock_gettime that appears outside libc proper.
15169 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
15170 Remove version set (containing only __vdso_clock_gettime).
15171 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
15172 Add attribute_hidden.
15173 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
15174 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
15175 libc_hidden_data_def.
15176 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15177 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15178
15179 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
15180 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
15181 setrpcent, and getrpcport to ...
15182 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
15183 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
15184 getrpcbynumber_r, and getrpcent_r to ...
15185 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
15186 * inet/getrpcbyname.c: Moved ...
15187 * sunrpc/getrpcbyname.c: ... here.
15188 * inet/getrpcbyname_r.c: Moved ...
15189 * sunrpc/getrpcbyname_r.c: ... here.
15190 * inet/getrpcbynumber.c: Moved ...
15191 * sunrpc/getrpcbynumber.c: ... here.
15192 * inet/getrpcbynumber_r.c: Moved ...
15193 * sunrpc/getrpcbynumber_r.c: ... here.
15194 * inet/getrpcent.c: Moved ...
15195 * sunrpc/getrpcent.c: ... here.
15196 * inet/getrpcent_r.c: Moved ...
15197 * sunrpc/getrpcent_r.c: ... here.
15198 * inet/Makefile (routines): Move those to ...
15199 * sunrpc/Makefile (routines): ... here.
15200 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
15201 the $(subdirs) list.
15202 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
15203 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
15204 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
15205 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
15206
15207 * elf/Makefile (routines): Include $(all-dl-routines), not just
15208 $(dl-routines).
15209 (rtld-routines): Likewise. Use = rather than :=.
15210 * sysdeps/aarch64/Makefile [$(subdir) = elf]
15211 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
15212 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
15213 * sysdeps/arm/Makefile: Likewise.
15214 * sysdeps/i386/Makefile: Likewise.
15215 * sysdeps/x86_64/Makefile: Likewise.
15216 * sysdeps/hppa/Makefile [$(subdir) = elf]
15217 (sysdep_routines, sysdep-rtld-routines): Don't add
15218 $(sysdep-dl-routines) to these.
15219 * sysdeps/ia64/Makefile: Likewise.
15220 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
15221 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
15222 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
15223 Don't add dl-static to these; sysdep-dl-routines alone is enough.
15224 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
15225 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
15226 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
15227 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
15228 * sysdeps/powerpc/Makefile [$(subdir) = elf]
15229 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
15230 these; sysdep-dl-routines alone is enough.
15231
15232 2015-02-06 Joseph Myers <joseph@codesourcery.com>
15233
15234 [BZ #17932]
15235 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
15236 where multiplication results in zero and third argument is finite
15237 and nonzero.
15238 * math/auto-libm-test-in: Add more tests of fma.
15239 * math/auto-libm-test-out: Regenerated.
15240
15241 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
15242 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
15243 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
15244 (_FP_CMP_EQ): Likewise.
15245 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
15246
15247 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
15248 extra argument CHECK_NAN. Redefine as wrapper around
15249 _FP_EXTEND_CNAN.
15250
15251 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
15252
15253 * version.h (RELEASE): Set to "stable".
15254 (VERSION): Set to "2.21"
15255 * include/features.h (__GLIBC_MINOR__): Set to 21.
15256
15257 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
15258
15259 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15260 Paul Eggert <eggert@cs.ucla.edu>
15261
15262 [BZ #16618]
15263 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
15264 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
15265 size in bytes. Store needed elements in wpmax. Use needed size
15266 in bytes for extend_alloca.
15267
15268 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
15269
15270 * manual/install.texi: Latest tested versions are GCC 4.9.2,
15271 binutls 2.25, and texinfo 5.2.
15272 * INSTALL: Regenerate.
15273 * sysdeps/nios2/configure: Regenerate.
15274 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
15275 * manual/contrib.texi: Update.
15276 * po/be.po: Update.
15277 * po/bg.po: Update.
15278 * po/ca.po: Update.
15279 * po/cs.po: Update.
15280 * po/da.po: Update.
15281 * po/de.po: Update.
15282 * po/el.po: Update.
15283 * po/eo.po: Update.
15284 * po/es.po: Update.
15285 * po/fi.po: Update.
15286 * po/fr.po: Update.
15287 * po/gl.po: Update.
15288 * po/hr.po: Update.
15289 * po/hu.po: Update.
15290 * po/ia.po: Update.
15291 * po/id.po: Update.
15292 * po/it.po: Update.
15293 * po/ja.po: Update.
15294 * po/ko.po: Update.
15295 * po/lt.po: Update.
15296 * po/nb.po: Update.
15297 * po/nl.po: Update.
15298 * po/pl.po: Update.
15299 * po/pt_BR.po: Update.
15300 * po/ru.po: Update.
15301 * po/rw.po: Update.
15302 * po/sk.po: Update.
15303 * po/sl.po: Update.
15304 * po/sv.po: Update.
15305 * po/tr.po: Update.
15306 * po/uk.po: Update.
15307 * po/vi.po: Update.
15308 * po/zh_CN.po: Update.
15309 * po/zh_TW.po: Update.
15310
15311 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
15312 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
15313 * sysdeps/hppa/dl-irel.h: Remove #warning.
15314 * sysdeps/hppa/entry.h: Provide prototype for
15315 __canonicalize_funcptr_for_compare and cast argument.
15316 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
15317 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
15318 * sysdeps/hppa/sotruss-lib.c: New file.
15319 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
15320 (atomic_compare_and_exchange_val_acq): Use __typeof__.
15321 (atomic_compare_and_exchange_bool_acq): Likewise.
15322 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
15323 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
15324
15325 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
15326 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
15327 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
15328
15329 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
15330
15331 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
15332 called function in non-PIC case.
15333
15334 2015-01-31 David S. Miller <davem@davemloft.net>
15335
15336 * sysdeps/sparc/sparc32/bits/atomic.h
15337 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
15338 unlock not after it.
15339 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
15340 volatile register usage warnings from the compiler.
15341
15342 * sysdeps/sparc/nptl/sem_init.c: Delete.
15343 * sysdeps/sparc/nptl/sem_post.c: Delete.
15344 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
15345 * sysdeps/sparc/nptl/sem_wait.c: Delete.
15346 * sysdeps/sparc/sparc32/sem_init.c: New file.
15347 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
15348 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
15349 padding explicitly initialized.
15350 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
15351 padding for in-semaphore spinlock.
15352 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
15353 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
15354 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
15355 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
15356 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
15357 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
15358 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
15359 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
15360 version.
15361 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
15362 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
15363
15364 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
15365
15366 [BZ #17801]
15367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15368 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
15369 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
15370 New.
15371 (index_AVX_Fast_Unaligned_Load): Likewise.
15372 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
15373 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
15374 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
15375 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
15376 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
15377 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
15378 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
15379 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
15380 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
15381
15382 2015-01-29 Andreas Schwab <schwab@suse.de>
15383
15384 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
15385
15386 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15387
15388 [BZ #17892]
15389 * nscd/nscd_stat.c (send_stats): Initialize DATA.
15390
15391 2015-01-28 Martin Sebor <msebor@redhat.com>
15392
15393 * math/README.libm-test: Clarify. Add "How to read the test output."
15394
15395 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
15396
15397 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
15398 Define to 0.
15399
15400 2015-01-28 Joseph Myers <joseph@codesourcery.com>
15401
15402 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
15403 (__HAVE_64B_ATOMICS): Define to 0.
15404
15405 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
15406
15407 [BZ #17885]
15408 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
15409 value to set as new flag.
15410
15411 [BZ #16576]
15412 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
15413 and use _ARCH_PPCSQ instead.
15414 (__ieee754_sqrt): Likewise.
15415 (__ieee754_sqrtf): Likewise.
15416 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
15417 _ARCH_PPCSQ is defined.
15418 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
15419 fsqrt instruction.
15420 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
15421 _ARCH_PPCSQ is defined.
15422 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
15423 fsqrts instruction.
15424 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
15425
15426 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15427
15428 * iconv/loop.c: Suppress array out of bound warning caused by GCC
15429 bug (GCC BZ #64739).
15430
15431 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
15432
15433 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
15434 Mark _retval as used.
15435 (lll_futex_wake_unlock): Likewise.
15436 (lll_futex_timed_wait_requeue_pi): Likewise.
15437
15438 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
15439 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
15440 register variables.
15441
15442 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
15443 libm_hidden_def.
15444
15445 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
15446 (__bswap_64): Mark as __always_inline.
15447
15448 2015-01-25 Bram <bug_rh@spam.wizbit.be>
15449
15450 [BZ #15378]
15451 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
15452 when none of the search directories exist.
15453
15454 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
15455
15456 [BZ #17869]
15457 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
15458 power8 in .machine directive.
15459
15460 [BZ #17868]
15461 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
15462 set dependency from opd value.
15463
15464 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
15465
15466 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15467 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
15468 architecture.
15469
15470 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
15471
15472 [BZ #17870]
15473 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
15474 with uint64_t.
15475 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
15476 (uint64_t) 1.
15477 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
15478 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
15479 Replace 1UL with (uint64_t) 1.
15480 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
15481 int with uint64_t.
15482
15483 2015-01-23 Roland McGrath <roland@hack.frob.com>
15484
15485 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
15486 (if_freenameindex): Likewise.
15487
15488 * resource/getrlimit64.c: Add missing libc_hidden_def.
15489
15490 2015-01-22 Joseph Myers <joseph@codesourcery.com>
15491
15492 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
15493 __label__.
15494 (_FP_FMA): Likewise.
15495 (_FP_TO_INT_ROUND): Likewise.
15496 (_FP_FROM_INT): Likewise.
15497
15498 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15499
15500 [BZ #16418]
15501 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
15502 Make code racy and cancel safe.
15503
15504 2015-01-21 Carlos O'Donell <carlos@redhat.com>
15505
15506 * sysdeps/arm/unwind-resume.h: Fix copyright year.
15507 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
15508 attribution.
15509
15510 * pwd/tst-getpw.c: Rewrite.
15511
15512 [BZ #17702]
15513 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
15514 (modules-names): Add moddummy1 and moddummy2.
15515 ($(objpfx)tst-rec-dlopen): Define.
15516 * dlfcn/moddummy1.c: New file.
15517 * dlfcn/moddummy2.c: New file.
15518 * dlfcn/tst-rec-dlopen.c: New file.
15519 * elf/dl-cache.c (_dl_load_cache_lookup):
15520 Return char*. Copy result with alloca/strcpy/strdup.
15521 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
15522 returns char*. Free cached. If not saving realname
15523 free cached.
15524 * elf/dl-open.c (dl_open_worker): Do not assert that
15525 _r_debug->r_state is RT_CONSISTENT.
15526 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
15527 returns char*.
15528
15529 2015-01-21 Torvald Riegel <triegel@redhat.com>
15530 Carlos O'Donell <carlos@redhat.com>
15531
15532 [BZ #12674]
15533 * nptl/sem_waitcommon.c: New file.
15534 * nptl/sem_wait.c: Include sem_waitcommon.c.
15535 (__sem_wait_cleanup, do_futex_wait): Remove.
15536 (__new_sem_wait): Adapt.
15537 (__new_sem_trywait): New function.
15538 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
15539 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
15540 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
15541 (sem_timedwait): Adapt.
15542 * nptl/sem_post.c (__new_sem_post): Adapt.
15543 (futex_wake): New function.
15544 (__old_sem_post): Add release MO fence.
15545 * nptl/sem_open.c (sem_open): Adapt.
15546 * nptl/sem_init.c (__new_sem_init): Adapt.
15547 (futex_private_if_supported): New function.
15548 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
15549 (__old_sem_getvalue): Add using previous code.
15550 * sysdeps/nptl/internaltypes.h: Adapt.
15551 * nptl/tst-sem13.c (do_test): Adapt.
15552 * nptl/tst-sem11.c (main): Adapt.
15553 * nptl/sem_trywait.c: Remove.
15554 * nptl/DESIGN-sem.txt: Remove.
15555 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
15556 (gen-as-const-headers): Remove structsem.sym.
15557 * nptl/structsem.sym: Remove.
15558 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
15559 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
15560 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
15561 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
15562 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
15563 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
15564 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
15565 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
15566 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
15567 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
15568 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
15569 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
15570 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
15571 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
15572 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
15573 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
15574 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
15575 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
15576 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
15577 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
15578 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
15579 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
15580
15581 2015-01-20 Carlos O'Donell <carlos@redhat.com>
15582
15583 * INSTALL: Regenerated.
15584
15585 * po/libc.pot: Regenerated.
15586
15587 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
15588 Sandra Loosemore <sandra@codesourcery.com>
15589 Andrew Jenner <andrew@codesourcery.com>
15590 Joseph Myers <joseph@codesourcery.com>
15591 Nathan Sidwell <nathan@codesourcery.com>
15592
15593 * NEWS: Mention new Nios II port.
15594 * sysdeps/nios2/Implies: New file.
15595 * sysdeps/nios2/Makefile: New file.
15596 * sysdeps/nios2/Subdirs: New file.
15597 * sysdeps/nios2/Versions: New file.
15598 * sysdeps/nios2/__longjmp.S: New file.
15599 * sysdeps/nios2/abort-instr.h: New file.
15600 * sysdeps/nios2/backtrace.c: New file.
15601 * sysdeps/nios2/bits/endian.h: New file.
15602 * sysdeps/nios2/bits/fenv.h: New file.
15603 * sysdeps/nios2/bits/link.h: New file.
15604 * sysdeps/nios2/bits/setjmp.h: New file.
15605 * sysdeps/nios2/bsd-_setjmp.S: New file.
15606 * sysdeps/nios2/bsd-setjmp.S: New file.
15607 * sysdeps/nios2/configure: New generated file.
15608 * sysdeps/nios2/configure.ac: New file.
15609 * sysdeps/nios2/crti.S: New file.
15610 * sysdeps/nios2/crtn.S: New file.
15611 * sysdeps/nios2/dl-init.c: New file.
15612 * sysdeps/nios2/dl-machine.h: New file.
15613 * sysdeps/nios2/dl-sysdep.h: New file.
15614 * sysdeps/nios2/dl-tls.h: New file.
15615 * sysdeps/nios2/dl-trampoline.S: New file.
15616 * sysdeps/nios2/gccframe.h: New file.
15617 * sysdeps/nios2/gmp-mparam.h: New file.
15618 * sysdeps/nios2/jmpbuf-offsets.h: New file.
15619 * sysdeps/nios2/jmpbuf-unwind.h: New file.
15620 * sysdeps/nios2/ldsodefs.h: New file.
15621 * sysdeps/nios2/libc-tls.c: New file.
15622 * sysdeps/nios2/libm-test-ulps: New file.
15623 * sysdeps/nios2/machine-gmon.h: New file.
15624 * sysdeps/nios2/math-tests.h: New file.
15625 * sysdeps/nios2/math_private.h: New file.
15626 * sysdeps/nios2/memusage.h: New file.
15627 * sysdeps/nios2/nptl/Makefile: New file.
15628 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
15629 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
15630 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
15631 * sysdeps/nios2/nptl/pthreaddef.h: New file.
15632 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
15633 * sysdeps/nios2/nptl/tls.h: New file.
15634 * sysdeps/nios2/preconfigure: New file.
15635 * sysdeps/nios2/s_fma.c: New file.
15636 * sysdeps/nios2/s_fmaf.c: New file.
15637 * sysdeps/nios2/setjmp.S: New file.
15638 * sysdeps/nios2/sfp-machine.h: New file.
15639 * sysdeps/nios2/sotruss-lib.c: New file.
15640 * sysdeps/nios2/stackguard-macros.h: New file.
15641 * sysdeps/nios2/stackinfo.h: New file.
15642 * sysdeps/nios2/start.S: New file.
15643 * sysdeps/nios2/sysdep.h: New file.
15644 * sysdeps/nios2/tls-macros.h: New file.
15645 * sysdeps/nios2/tst-audit.h: New file.
15646 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
15647 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
15648 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
15649 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
15650 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
15651 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
15652 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
15653 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
15654 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
15655 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
15656 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
15657 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
15658 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
15659 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
15660 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
15661 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
15662 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
15663 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
15664 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
15665 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
15666 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
15667 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
15668 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
15669 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
15670 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
15671 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
15672 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
15673 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
15674 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
15675 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
15676 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
15677 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
15678 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
15679 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
15680 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
15681 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
15682 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
15683 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
15684 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
15685 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
15686 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
15687 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
15688 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
15689 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
15690
15691 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15692
15693 [BZ #17844]
15694 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
15695 (getutent): Use weak_alias in non SHARED case
15696 and default_symbol_version in SHARED case.
15697 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
15698 (getutent_r, pututline): Likewise.
15699 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
15700 (getutid): Likewise.
15701 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
15702 (getutid_r): Likewise.
15703 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
15704 (getutline): Likewise.
15705 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
15706 (getutline_r): Likewise.
15707 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
15708 (updwtmp): Likewise.
15709
15710 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15711
15712 [BZ #17848]
15713 * sysdeps/s390/s390-32/memcmp.S
15714 (memcmp_g5): Rename to __memcmp_g5.
15715 * sysdeps/s390/s390-32/memcpy.S
15716 (memcpy_g5): Rename to __memcpy_g5.
15717 Jump to __memcpy_mvcle instead of memcpy_mvcle.
15718 (memcpy_mvcle) Rename to __memcpy_mvcle.
15719 * sysdeps/s390/s390-32/memset.S
15720 (memset_g5): Rename to __memset_g5.
15721 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15722 (IFUNC_RESOLVE): Prefix ifunc-resolve function
15723 and use prefixed functions.
15724 * sysdeps/s390/s390-32/multiarch/memcmp.S
15725 (memcmp_z196): Rename to __memcmp_z196.
15726 (memcmp_z10): Rename to __memcmp_z10.
15727 (memcmp): Set alias to __memcmp_g5.
15728 (bcmp): Set alias to __memcmp_g5.
15729 * sysdeps/s390/s390-32/multiarch/memcpy.S
15730 (memcpy_z196): Rename to __memcpy_z196.
15731 Jump to __memcpy_mvcle instead of memcpy_mvcle.
15732 (memcpy_z10): Rename to __memcpy_z10.
15733 Jump to __memcpy_mvcle instead of memcpy_mvcle.
15734 (memcpy): Set alias to __memcpy_g5.
15735 * sysdeps/s390/s390-32/multiarch/memset.S
15736 (memset_z196): Rename to __memset_z196.
15737 Jump to __memset_mvcle instead of memset_mvcle.
15738 (memset_z10): Rename to __memset_z10.
15739 Jump to __memset_mvcle instead of memset_mvcle.
15740 (memset_mvcle) Rename to __memset_mvcle.
15741 (memset): Set alias to __memset_g5.
15742 * sysdeps/s390/s390-64/memcmp.S
15743 (memcmp_z900): Rename to __memcmp_z900.
15744 * sysdeps/s390/s390-64/memcpy.S
15745 (memcpy_z900): Rename to __memcpy_z900.
15746 Jump to __memcpy_mvcle instead of memcpy_mvcle.
15747 (memcpy_mvcle) Rename to __memcpy_mvcle.
15748 * sysdeps/s390/s390-64/memset.S
15749 (memset_z900): Rename to __memset_z900.
15750 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
15751 (IFUNC_RESOLVE): Prefix ifunc-resolve function
15752 and use prefixed functions.
15753 * sysdeps/s390/s390-64/multiarch/memcmp.S
15754 (memcmp_z196): Rename to __memcmp_z196.
15755 (memcmp_z10): Rename to __memcmp_z10.
15756 (memcmp): Set alias to __memcmp_z900.
15757 (bcmp): Set alias to __memcmp_z900.
15758 * sysdeps/s390/s390-64/multiarch/memcpy.S
15759 (memcpy_z196): Rename to __memcpy_z196.
15760 Jump to __memcpy_mvcle instead of memcpy_mvcle.
15761 (memcpy_z10): Rename to __memcpy_z10.
15762 Jump to __memcpy_mvcle instead of memcpy_mvcle.
15763 (memcpy): Set alias to __memcpy_z900.
15764 * sysdeps/s390/s390-64/multiarch/memset.S
15765 (memset_z196): Rename to __memset_z196.
15766 Jump to __memset_mvcle instead of memset_mvcle.
15767 (memset_z10): Rename to __memset_z10.
15768 Jump to __memset_mvcle instead of memset_mvcle.
15769 (memset_mvcle) Rename to __memset_mvcle.
15770 (memset): Set alias to __memset_z900.
15771
15772 2015-01-14 Joseph Myers <joseph@codesourcery.com>
15773
15774 [BZ #17748]
15775 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
15776 __fesetenv instead of fesetenv.
15777
15778 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15779
15780 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
15781 macro.
15782
15783 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15784
15785 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
15786 regression on LE.
15787
15788 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
15789 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
15790 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15791 strncmp-power8 object.
15792 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15793 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
15794 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
15795 * NEWS: Update.
15796
15797 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15798 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15799
15800 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
15801 trailing byte check.
15802
15803 2015-01-13 David S. Miller <davem@davemloft.net>
15804
15805 * include/signal.h (__sigreturn): Guard with __USE_MISC.
15806
15807 2015-01-13 Roland McGrath <roland@hack.frob.com>
15808
15809 * login/logout.c (logout): Use memset rather than bzero.
15810 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
15811 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
15812 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
15813 (_gethtbyaddr): Likewise.
15814 * locale/programs/simple-hash.c (bcopy): Macro removed.
15815
15816 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15817
15818 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15819 Add strcmp-power8 object.
15820 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15821 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
15822 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
15823 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
15824 __strcmp_power8 implementation.
15825 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
15826 * NEWS: Update.
15827
15828 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15829 Add strncpy-power8 and stpncpy-power8 objects.
15830 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15831 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
15832 implementations.
15833 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
15834 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
15835 __stpncpy_power8 implementation.
15836 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
15837 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
15838 __strncpy_power8 implementation.
15839 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
15840 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
15841 * NEWS: Update.
15842
15843 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
15844 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
15845 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
15846
15847 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15848 strncat-power8 object.
15849 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
15850 __strcat_power8 implementation.
15851 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15852 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
15853 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
15854 optimized strcat for power8.
15855
15856 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15857 strcpy-power8 and stpcpy-power8 objects.
15858 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15859 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
15860 implementations.
15861 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
15862 multiarch stpcpy implementation for POWER8.
15863 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
15864 multiarch strcpy implementation for POWER8.
15865 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
15866 __strcpy_power8 function.
15867 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
15868 stpcpy for POWER8.
15869 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
15870 strcpy for POWER8.
15871 * NEWS: Update.
15872
15873 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
15874
15875 [BZ #16009]
15876 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
15877 weights and rules. Use do_xfrm_cached if data fits in cache,
15878 do_xfrm otherwise. Moved former main loop to...
15879 * (do_xfrm_cached): New function.
15880 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
15881 find_idx, find_position and stack_push.
15882 * (find_idx): New function.
15883 * (find_position): Likewise.
15884 * localedata/sort-test.sh: Added test run for do_xfrm.
15885 * localedata/xfrm-test.c (main): Added command line option
15886 -nocache to run the test with strings that are too large for
15887 the STRXFRM cache.
15888
15889 2015-01-13 Torvald Riegel <triegel@redhat.com>
15890
15891 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
15892 variable to lll_futex_wake call, not the value itself.
15893
15894 2015-01-12 Joseph Myers <joseph@codesourcery.com>
15895
15896 [BZ #17803]
15897 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
15898 twom64. Adjust value to 0x1p-64L.
15899 (__scalblnl): Only return standard underflowing result for K <=
15900 -64 not K <= -63; adjust exponent for underflowing result by 64
15901 not 63.
15902 * math/libm-test.inc (scalbn_test_data): Add more tests.
15903 (scalbln_test_data): Likewise.
15904
15905 [BZ #17834]
15906 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
15907 0x1p63L.
15908 (__scalblnl): Get new exponent of adjusted subnormal value from ES
15909 not HX.
15910 * math/libm-test.inc (scalbn_test_data): Add more tests.
15911 (scalbln_test_data): Likewise.
15912
15913 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15914 Stefani Seibold <stefani@seibold.net>
15915
15916 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
15917 (sysdep_routines): Add dl-vdso here, ...
15918 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
15919 (sysdep_routines): ... not here.
15920 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
15921 fallback when vDSO is not presented.
15922 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
15923 Define with libc_hidden_proto/libc_hidden_data_def definitions.
15924 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
15925 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
15926 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
15927 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
15928 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
15929 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
15930 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
15931 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
15932 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
15933 fallback configurable symbol when vDSO is not available.
15934 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
15935 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
15936 be able to redefine fallback symbol when vDSO is not available.
15937 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
15938 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
15939
15940 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15941
15942 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
15943 (TLS_INIT_TP): Add tm_capable initialization.
15944 (TLS_DEFINE_INIT_TP): Likewise.
15945 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
15946 TCB.
15947 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
15948 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
15949 calculation.
15950 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
15951 transactoion is lock elision is built and TCB tm_capable is set.
15952 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
15953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15954 (INTERNAL_SYSCALL_NCS): Likewise.
15955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15956 (INTERNAL_SYSCALL_NCS): Likewise.
15957 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
15958
15959 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
15960 for powerpc.
15961 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15962 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
15963 and remove it for 32 bits case.
15964 [pthread_rwlock_t] (__rwelision): New field for lock elision.
15965 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
15966 initialization.
15967 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
15968 Disable lock elision with rdlocks if elision is not available.
15969
15970 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
15971 (sysdep_routines): Add lock elision objects.
15972 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15973 [pthread_mutex_t] (__spins): Rework to add lock elision field.
15974 [pthread_mutex_t] (__elision): Add field.
15975 [__PTHREAD_SPINS]: Adjust to init lock elision field.
15976 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
15977 elision definitions for powerpc.
15978 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
15979 implementation of lock elision for powerpc.
15980 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
15981 implementation of timed lock elision for powerpc.
15982 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
15983 implementation of trylock with lock elision for powerpc.
15984 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
15985 implementaion of unlock for lock elision for powerpc.
15986 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
15987 automatic enable lock elision for mutexes.
15988 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
15989 transaction execution definitions for powerpc.
15990 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
15991 definitions.
15992 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
15993 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
15994 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
15995 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
15996 * NEWS: Update.
15997
15998 2015-01-09 Roland McGrath <roland@hack.frob.com>
15999
16000 * sysdeps/posix/shm-directory.c: Use <> rather than ""
16001 for #include of <shm-directory.h>.
16002
16003 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
16004
16005 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
16006 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
16007
16008 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
16009
16010 [BZ #17791]
16011 * NEWS: Mention bug fix.
16012 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
16013 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
16014 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
16015
16016 2015-01-09 Torvald Riegel <triegel@redhat.com>
16017
16018 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
16019
16020 2015-01-09 Torvald Riegel <triegel@redhat.com>
16021
16022 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
16023
16024 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
16025
16026 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
16027 pointer and cast to uintptr_t.
16028
16029 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
16030
16031 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
16032 removed.
16033 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
16034
16035 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
16036
16037 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
16038 of 0.
16039
16040 2015-01-08 Roland McGrath <roland@hack.frob.com>
16041
16042 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
16043 <nptl/pthreadP.h> instead.
16044 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
16045
16046 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
16047 already defined.
16048 [__SIGRTMIN] (init): Function removed.
16049 [__SIGRTMIN] (initialized): Variable removed.
16050 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
16051 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
16052 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
16053 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
16054 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
16055 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
16056 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
16057 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
16058 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
16059 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
16060 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
16061 * sysdeps/nptl/allocrtsig.c: New file.
16062 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
16063 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
16064 * sysdeps/generic/testrtsig.h: File removed.
16065
16066 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
16067 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
16068
16069 * nptl/nptl-init.c (pthread_functions): Conditionalize
16070 .ptr__nptl_setxid initialization on [SIGSETXID].
16071
16072 * sysdeps/nptl/sys/procfs.h: New file.
16073 * nptl_db/Makefile (headers): Add it.
16074 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
16075
16076 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
16077 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
16078 * nptl/pthread_attr_setaffinity.c: Include it.
16079 * nptl/pthread_setattr_default_np.c: Likewise.
16080 * nptl/check-cpuset.h: New file.
16081
16082 2015-01-08 Richard Henderson <rth@redhat.com>
16083
16084 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
16085 (CFLAGS-tst-execstack-prog.c): Likewise.
16086 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
16087
16088 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
16089 Sandra Loosemore <sandra@codesourcery.com>
16090 Andrew Jenner <andrew@codesourcery.com>
16091 Joseph Myers <joseph@codesourcery.com>
16092 Nathan Sidwell <nathan@codesourcery.com>
16093
16094 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
16095 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
16096 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
16097 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
16098 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
16099 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
16100 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
16101 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
16102 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
16103 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
16104 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
16105 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
16106 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
16107 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
16108 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
16109 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
16110 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
16111
16112 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16113
16114 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
16115 timespec struct member in syscall macro.
16116 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16117 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
16118 first timeval struct member in syscall macro.
16119 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
16120
16121 2015-01-07 Joseph Myers <joseph@codesourcery.com>
16122
16123 [BZ #17748]
16124 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
16125 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
16126 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
16127 __feupdateenv and define as weak alias of __feupdateenv. Use
16128 libm_hidden_weak.
16129 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
16130 libm_hidden_def.
16131 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
16132 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
16133 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16134 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
16135 libm_hidden_def.
16136 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
16137 __feupdateenv and define as weak alias of __feupdateenv. Use
16138 libm_hidden_weak.
16139 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
16140 libm_hidden_def.
16141 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
16142 __feupdateenv and define as weak alias of __feupdateenv. Use
16143 libm_hidden_weak.
16144 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
16145 libm_hidden_def.
16146 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16147 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16148 (__feupdateenv): Likewise.
16149 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
16150 __feupdateenv and define as weak alias of __feupdateenv. Use
16151 libm_hidden_weak.
16152 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16153 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
16154 libm_hidden_def.
16155 * sysdeps/tile/math_private.h (__feupdateenv): New inline
16156 function.
16157 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
16158 libm_hidden_def.
16159 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
16160 __feupdateenv instead of feupdateenv.
16161 (default_libc_feupdateenv_test): Likewise.
16162 (libc_feresetround_ctx): Likewise.
16163
16164 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16165
16166 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
16167 prototype.
16168
16169 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
16170
16171 * posix/regcomp.c (parse_bracket_exp): Initialize type to
16172 COLL_SYM in a couple of places to avoid uninitialized variable
16173 wanings on tilegx gcc 4.8.2.
16174
16175 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
16176
16177 * sysdeps/aarch64/strcpy.S: New file.
16178 * sysdeps/aarch64/stpcpy.S: New file.
16179 * NEWS: Updated.
16180
16181 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
16182
16183 * sysdeps/aarch64/strrchr.S: New file.
16184 * NEWS: Updated.
16185
16186 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
16187
16188 [BZ #17658]
16189 * stdlib/setenv.c: Fix memory leak when setting large,
16190 duplicate string.
16191
16192 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
16193
16194 [BZ #17273]
16195 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
16196 and tabs from buffer before parsing fstab entry.
16197 * misc/tst-mntent.c (main): Add test for mount entry with
16198 trailing spaces and tabs.
16199
16200 2015-01-06 Joseph Myers <joseph@codesourcery.com>
16201
16202 [BZ #17748]
16203 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
16204 * math/fesetround.c (fesetround): Rename to __fesetround and
16205 define as weak alias of __fesetround. Use libm_hidden_weak.
16206 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
16207 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
16208 * sysdeps/arm/fesetround.c (fesetround): Likewise.
16209 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
16210 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
16211 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
16212 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
16213 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
16214 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
16215 __fesetround_inline.
16216 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
16217 __fesetround_inline instead of __fesetround.
16218 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
16219 __fesetround and define as weak alias of __fesetround. Use
16220 libm_hidden_weak. Call __fesetround_inline instead of
16221 __fesetround.
16222 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
16223 __fesetround and define as weak alias of __fesetround. Use
16224 libm_hidden_weak.
16225 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
16226 Likewise.
16227 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
16228 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16229 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
16230 * sysdeps/tile/math_private.h (__fesetround): New inline function.
16231 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
16232 __fesetround and define as weak alias of __fesetround. Use
16233 libm_hidden_weak.
16234 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
16235 __fesetround instead of fesetround.
16236 (default_libc_feholdexcept_setround): Likewise.
16237 (libc_feholdsetround_ctx): Likewise.
16238 (libc_feholdsetround_noex_ctx): Likewise.
16239
16240 [BZ #17748]
16241 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
16242 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
16243 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16244 and define as weak alias of __fesetenv. Use libm_hidden_weak.
16245 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16246 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
16247 define as weak alias of __fesetenv. Use libm_hidden_weak.
16248 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
16249 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16250 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16251 define as weak alias of __fesetenv. Use libm_hidden_weak.
16252 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16253 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16254 define as weak alias of __fesetenv. Use libm_hidden_weak.
16255 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
16256 libm_hidden_def.
16257 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
16258 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
16259 Likewise.
16260 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16261 define as weak alias of __fesetenv. Use libm_hidden_weak.
16262 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16263 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16264 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
16265 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16266 and define as weak alias of __fesetenv. Use libm_hidden_weak.
16267 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
16268 __fesetenv instead of fesetenv.
16269 (libc_feresetround_noex_ctx): Likewise.
16270 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
16271 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16272 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
16273 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
16274 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
16275 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
16276 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16277 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16278 (__feupdateenv): Likewise.
16279 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16280 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16281 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16282 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
16283
16284 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
16285
16286 [BZ #17806]
16287 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
16288 addresses have been freed.
16289
16290 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
16291
16292 * resolv/res_init.c (__res_vinit): Improve comments about nserv
16293 and nservall.
16294
16295 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
16296
16297 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
16298 Clean up check_pf allocation pattern. addresses
16299
16300 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16301
16302 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
16303 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
16304 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
16305 * nptl/pthread_exit.c (__pthread_exit): Likewise.
16306 * nptl/pthread_join.c (pthread_join): Likewise.
16307 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
16308 * sysdeps/posix/waitid.c (__waitid): Likewise.
16309 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16310 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16311 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16312 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16313 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16314 Likewise.
16315 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16316 (__libc_pread64): Likewise.
16317 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16318 (__libc_pwrite): Likewise.
16319 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16320 (__libc_pwrite64): Likewsie.
16321 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16322 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16323 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16324 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16325 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16326 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16327 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16329 Likewise.
16330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16331 (__libc_pread64): Likewise.
16332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
16333 Likewise.
16334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16335 (__libc_pwrite64): Likewise.
16336 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16337 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16338 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
16339 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
16340 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
16341 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
16342 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
16343 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
16344 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
16345 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
16346 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
16347 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
16348 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
16349 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
16350 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
16351 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
16352 Likewise.
16353
16354 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
16355
16356 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
16357 (CFLAGS-test-double.c): Likewise.
16358 (CFLAGS-test-ldouble.c): Likewise.
16359 (CPPFLAGS-test-ifloat.c): Likewise.
16360 (CPPFLAGS-test-idouble.c): Likewise.
16361 (CPPFLAGS-test-ildoubl.c): Likewise.
16362 (CFLAGS-test-test-fenv.c): Remove variable.
16363 (CFLAGS-test-misc.c): Likewise.
16364
16365 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
16366
16367 [BZ #17797]
16368 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
16369 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
16370 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
16371 CLOCKS_PER_SEC == 1000000.
16372 * time/clocktest.c (main): Replace %ld with %jd and cast to
16373 intmax_t.
16374
16375 2015-01-05 Roland McGrath <roland@hack.frob.com>
16376
16377 * sysdeps/generic/unwind-resume.h: New file.
16378 * sysdeps/gnu/unwind-resume.c: Include it.
16379 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
16380 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
16381 argument list.
16382 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
16383 global rather than static.
16384 (_Unwind_Resume): Update user.
16385 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
16386 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
16387 rather than static. Add __attribute__ ((cold)).
16388 (_Unwind_Resume, __gcc_personality_v0): Update callers.
16389 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16390 * sysdeps/arm/arm-unwind-resume.S: New file.
16391 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
16392 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
16393 * sysdeps/arm/Makefile [$(subdir) = csu]
16394 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
16395 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16396 Add rt-arm-unwind-resume.
16397 [$(subdir) = nptl]
16398 (libpthread-sysdep_routines, libpthread-shared-only-routines):
16399 Add pt-arm-unwind-resume.
16400 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
16401 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
16402
16403 2015-01-05 Joseph Myers <joseph@codesourcery.com>
16404
16405 [BZ #17748]
16406 * include/fenv.h (__feholdexcept): Declare. Use
16407 libm_hidden_proto.
16408 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
16409 define as weak alias of __feholdexcept. Use libm_hidden_weak.
16410 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16411 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
16412 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
16413 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
16414 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
16415 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16416 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
16417 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
16418 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16419 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
16420 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
16421 (feholdexcept): Likewise.
16422 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16423 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16424 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16425 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16426 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
16427 __feholdexcept instead of feholdexcept.
16428 (default_libc_feholdexcept_setround): Likewise.
16429
16430 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
16431
16432 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
16433 to avoid using stl/str to align destination.
16434
16435 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
16436
16437 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
16438
16439 2015-01-05 Joseph Myers <joseph@codesourcery.com>
16440
16441 [BZ #17796]
16442 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
16443 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
16444 Define as weak alias not strong alias.
16445
16446 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
16447
16448 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
16449 bltzal with addiupc.
16450 (RTLD_START): Ditto.
16451
16452 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
16453
16454 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
16455 for __vdso_* functions in declarations.
16456 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
16457 definitions.
16458 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
16459 INTERNAL_VSYSCALL): Use struct return types to check for error.
16460
16461 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
16462 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
16463 function with cast from llround().
16464 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
16465 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
16466 Define.
16467
16468 2015-01-05 Joseph Myers <joseph@codesourcery.com>
16469
16470 [BZ #17793]
16471 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
16472 Define as weak alias not strong alias.
16473
16474 [BZ #17635]
16475 * ctype/ctype-c99.c: New file. isblank implementation moved from
16476 ...
16477 * ctype/ctype-extn.c: ... here.
16478 (__isblank_l): Move to ...
16479 * ctype/ctype-c99_l.c: ... here. New file.
16480 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
16481 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
16482 Remove variable.
16483 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
16484 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
16485 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
16486 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
16487 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
16488
16489 [BZ #17777]
16490 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
16491 (posix_fadvise64): Define as weak alias not strong alias.
16492 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16493 (posix_fallocate64): Likewise.
16494 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
16495 Remove variable.
16496 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
16497 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
16498 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
16499 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
16500 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
16501
16502 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
16503
16504 [BZ #16191]
16505 * NEWS: Mention bug fix.
16506 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
16507 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
16508 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
16509 (HOST_STACK_END_ADDR): Likewise.
16510
16511 2015-01-02 Joseph Myers <joseph@codesourcery.com>
16512
16513 [BZ #17748]
16514 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
16515 * math/fegetround.c (fegetround): Rename to __fegetround and
16516 define as weak alias of __fegetround. Use libm_hidden_weak.
16517 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
16518 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
16519 * sysdeps/arm/fegetround.c (fegetround): Likewise.
16520 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
16521 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16522 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
16523 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
16524 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
16525 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16526 Undefine after rather than before function definition; use
16527 parentheses around function name in definition.
16528 (__fegetround): Also undefine macro after function definition.
16529 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
16530 __fegetround and define as weak alias of __fegetround. Use
16531 libm_hidden_weak. Do not undefine as macro.
16532 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16533 Likewise.
16534 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
16535 __fegetround and define as weak alias of __fegetround. Use
16536 libm_hidden_weak.
16537 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16538 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16539 * sysdeps/tile/math_private.h (__fegetround): New inline function.
16540 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
16541 __fegetround and define as weak alias of __fegetround. Use
16542 libm_hidden_weak.
16543 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
16544 __fegetround instead of fegetround.
16545
16546 [BZ #17782]
16547 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
16548 Condition macro definition on [__USE_MISC].
16549
16550 [BZ #17781]
16551 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
16552 (struct sigaction): Change type of sa_flags field to int.
16553
16554 [BZ #17780]
16555 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
16556 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
16557 __glibc_reserved0.
16558
16559 * nptl/version.c (banner): Use single year in copyright notice.
16560
16561 * NEWS: Update copyright dates.
16562 * catgets/gencat.c (print_version): Likewise.
16563 * csu/version.c (banner): Likewise.
16564 * debug/catchsegv.sh: Likewise.
16565 * debug/pcprofiledump.c (print_version): Likewise.
16566 * debug/xtrace.sh (do_version): Likewise.
16567 * elf/ldconfig.c (print_version): Likewise.
16568 * elf/ldd.bash.in: Likewise.
16569 * elf/pldd.c (print_version): Likewise.
16570 * elf/sotruss.sh: Likewise.
16571 * elf/sprof.c (print_version): Likewise.
16572 * iconv/iconv_prog.c (print_version): Likewise.
16573 * iconv/iconvconfig.c (print_version): Likewise.
16574 * locale/programs/locale.c (print_version): Likewise.
16575 * locale/programs/localedef.c (print_version): Likewise.
16576 * login/programs/pt_chown.c (print_version): Likewise.
16577 * malloc/memusage.sh (do_version): Likewise.
16578 * malloc/memusagestat.c (print_version): Likewise.
16579 * malloc/mtrace.pl: Likewise.
16580 * manual/libc.texinfo: Likewise.
16581 * nptl/version.c (banner): Likewise.
16582 * nscd/nscd.c (print_version): Likewise.
16583 * nss/getent.c (print_version): Likewise.
16584 * nss/makedb.c (print_version): Likewise.
16585 * posix/getconf.c (main): Likewise.
16586 * scripts/test-installation.pl: Likewise.
16587 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16588
16589 2015-01-02 Will Newton <will.newton@linaro.org>
16590
16591 * sysdeps/arm/armv7/configure: Removed.
16592 * sysdeps/arm/armv7/configure.ac: Likewise.
16593
16594 2015-01-02 Joseph Myers <joseph@codesourcery.com>
16595
16596 * All files with FSF copyright notices: Update copyright dates
16597 using scripts/update-copyrights.
16598 * intl/plural.c: Regenerated.
16599 * locale/programs/charmap-kw.h: Likewise.
16600 * locale/programs/locfile-kw.h: Likewise.
16601
16602 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16603
16604 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
16605
16606 2014-12-31 Joseph Myers <joseph@codesourcery.com>
16607
16608 [BZ #17748]
16609 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
16610 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
16611 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
16612 and define as weak alias of __fegetenv. Use libm_hidden_weak.
16613 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16614 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
16615 define as weak alias of __fegetenv. Use libm_hidden_weak.
16616 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
16617 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16618 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16619 define as weak alias of __fegetenv. Use libm_hidden_weak.
16620 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16621 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16622 define as weak alias of __fegetenv. Use libm_hidden_weak.
16623 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
16624 libm_hidden_def.
16625 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
16626 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
16627 Likewise.
16628 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16629 define as weak alias of __fegetenv. Use libm_hidden_weak.
16630 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16631 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16632 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
16633 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
16634 and define as weak alias of __fegetenv. Use libm_hidden_weak.
16635 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
16636 __fegetenv instead of fegetenv.
16637 (libc_feholdsetround_noex_ctx): Likewise.
16638
16639 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
16640
16641 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
16642 (Elf_MIPS_ABIFlags_v0): New structure.
16643 (EF_MIPS_FP64): Define.
16644 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
16645 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
16646 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
16647 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
16648 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
16649 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
16650 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
16651 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
16652 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
16653 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
16654 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
16655 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
16656 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
16657 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
16658 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
16659 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
16660 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
16661 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
16662 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
16663 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
16664 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
16665 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
16666 field.
16667 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
16668 EF_MIPS_FP64.
16669 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
16670 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
16671 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
16672 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
16673 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
16674 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
16675 * sysdeps/mips/tst-abi-interlink.c: Likewise.
16676 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
16677 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
16678 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
16679 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
16680 record the current FP ABI extension.
16681 (mips-mode-switch): Define to show if kernel headers support mode
16682 switching.
16683 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16684 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
16685 supported SYSV ABI version to 3.
16686 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
16687 feature.
16688
16689 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16690 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16691
16692 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
16693 path.
16694 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
16695
16696 2014-12-31 Joseph Myers <joseph@codesourcery.com>
16697
16698 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
16699 __fegetround and redefine to call __fegetround. Remove condition
16700 on [!__NO_MATH_INLINES].
16701 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
16702 function.
16703 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
16704 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16705 Remove macro.
16706 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
16707 instead of <fenv_libc.h>.
16708 (__llrintl): Call fegetround instead of __fegetround.
16709 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
16710 instead of <fenv_libc.h>.
16711 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16712 (__lrintl): Call fegetround instead of __fegetround.
16713 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
16714 instead of <fenv_libc.h>.
16715 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16716 (__rintl): Call fegetround instead of __fegetround.
16717
16718 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16719
16720 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
16721 arrays.
16722
16723 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
16724
16725 [BZ #17775]
16726 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
16727 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
16728 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
16729
16730 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
16731
16732 * sysdeps/i386/tls-macros.h: Include <features.h>.
16733 (TLS_LE): Use non-PIC version for GCC >= 5.0.
16734 (TLS_IE): Likewise.
16735 (TLS_LD): Likewise.
16736 (TLS_GD): Likewise.
16737 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
16738 define for GCC >= 5.0.
16739
16740 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
16741
16742 * math/test-fenv.c (test_single_exception, set_single_exc,
16743 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
16744 feexcp_mask_test, feenable_test, fe_single_test): Add
16745 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
16746 case where they are not used.
16747 * math/libm-test.inc: Likewise.
16748 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
16749 unused in the absence of FP rounding/exception support.
16750 * stdio-common/tst-printf-round.c: Likewise.
16751 * stdlib/tst-strtod-round.c: Likewise.
16752 * stdlib/tst-strtod-underflow.c: Likewise.
16753
16754 2014-12-30 Joseph Myers <joseph@codesourcery.com>
16755
16756 [BZ #17723]
16757 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
16758 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
16759 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16760 __feraiseexcept and define as weak alias of __feraiseexcept. Use
16761 libm_hidden_weak.
16762 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
16763 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
16764 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
16765 libm_hidden_def.
16766 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16767 __feraiseexcept and define as weak alias of __feraiseexcept. Use
16768 libm_hidden_weak.
16769 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
16770 Likewise.
16771 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
16772 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16773 __feraiseexcept and define as weak alias of __feraiseexcept. Use
16774 libm_hidden_weak.
16775 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
16776 libm_hidden_def.
16777 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16778 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
16779 (__feraiseexcept): Likewise.
16780 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16781 __feraiseexcept and define as weak alias of __feraiseexcept. Use
16782 libm_hidden_weak.
16783 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
16784 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
16785 libm_hidden_def.
16786 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
16787 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
16788 Use libm_hidden_def.
16789 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
16790 libm_hidden_def.
16791 (feraiseexcept): Define as weak not strong alias. Use
16792 libm_hidden_weak.
16793 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
16794 New inline function. Factored out of ...
16795 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
16796 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
16797 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
16798 feraiseexcept.
16799 * math/w_acos.c (__acos): Likewise.
16800 * math/w_asin.c (__asin): Likewise.
16801 * math/w_ilogb.c (__ilogb): Likewise.
16802 * math/w_j0.c (y0): Likewise.
16803 * math/w_j1.c (y1): Likewise.
16804 * math/w_jn.c (yn): Likewise.
16805 * math/w_log.c (__log): Likewise.
16806 * math/w_log10.c (__log10): Likewise.
16807 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
16808 * sysdeps/aarch64/fpu/math_private.h
16809 (libc_feupdateenv_test_aarch64): Likewise.
16810 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
16811 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
16812 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
16813 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
16814 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
16815 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
16816 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
16817 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16818 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16819 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16820
16821 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
16822
16823 [BZ #17732]
16824 * io/test-utime.c (main): Replace %ld with %jd and cast to
16825 intmax_t.
16826 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
16827 * nptl/tst-mutex5.c: Include <stdint.h>.
16828 (do_test): Replace %ld with %jd and cast to intmax_t.
16829 * posix/tst-regex.c (run_test): Likewise.
16830 (run_test_backwards): Likewise.
16831 * rt/tst-clock.c: Include <stdint.h>.
16832 (clock_test): Replace %ld with %jd and cast to intmax_t.
16833 * rt/tst-cpuclock1.c: Include <stdint.h>.
16834 (do_test): Replace %lu with %ju and cast to uintmax_t.
16835 * rt/tst-cpuclock2.c: Include <stdint.h>.
16836 (do_test): Replace %lu with %ju and cast to uintmax_t.
16837 * rt/tst-mqueue1.c: Include <stdint.h>.
16838 (check_attrs): Replace %ld with %jd and cast to intmax_t.
16839 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
16840 intmax_t.
16841 * rt/tst-mqueue4.c (do_test): Likewise.
16842 * rt/tst-timer4.c: Include <stdint.h>.
16843 (check_ts): Replace %ld with %jd and cast to intmax_t.
16844 (do_test): Likewise.
16845 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
16846 and cast to intmax_t.
16847 * sysdeps/pthread/tst-timer.c (main): Likewise.
16848 * time/clocktest.c (main): Likewise.
16849 * time/tst-posixtz.c (do_test): Likewise.
16850 * timezone/tst-timezone.c (main): Likewise.
16851
16852 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
16853 H.J. Lu <hongjiu.lu@intel.com>
16854
16855 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
16856 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
16857 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
16858 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
16859 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
16860 version if bit_Fast_Unaligned_Load is set.
16861 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16862 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16863 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16864 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16865 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16866 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16867 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16868 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
16869 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
16870 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
16871 to 4.
16872 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
16873 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
16874 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
16875 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
16876
16877 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
16878
16879 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
16880 instead of #if to avoid a Wundef warning.
16881 * stdlib/tst-limits.c (do_test): Likewise.
16882
16883 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
16884 parallel other exception macros.
16885 (fegetenv): Convert from macro to extern inline so that it applies
16886 retroactively to inline functions already seen by the compiler.
16887 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
16888
16889 * posix/Makefile (before-compile): Use $(objpfx) for
16890 posix-conf-vars-def.h.
16891
16892 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16893
16894 * posix/getconf.c (main): Use size_t for type of I.
16895 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
16896 NSPEC.
16897
16898 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
16899 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
16900 * posix/posix-envs.def: Likewise.
16901 * sysdeps/posix/sysconf.c: Likewise.
16902 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
16903 (specs): Remove array.
16904 * scripts/gen-posix-conf-vars.awk: Support generation of specs
16905 array.
16906
16907 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
16908 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
16909 (__sysconf): Use CONF_IS_* macros.
16910
16911 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
16912 ($(objpfx)posix-conf-vars-def.h): New target.
16913 * posix/posix-conf-vars.list: New file.
16914 * posix/posix-conf-vars.h: New file.
16915 * posix/confstr.c: Include posix-conf-vars.h.
16916 (confstr): Use CONF_IS_* macros.
16917 * posix/posix-envs.def: Include posix-conf-vars.h. Use
16918 CONF_IS_* macros.
16919 * scripts/gen-posix-conf-vars.awk: New file.
16920
16921 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
16922
16923 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
16924 fegetround): Add no-op macros to avoid linknamespace issues.
16925
16926 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
16927 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
16928
16929 * sysdeps/unix/sysv/linux/tile/sysdep.h
16930 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
16931 assembly-specific section to avoid a redefinition warning.
16932
16933 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
16934 long before casting to pointer to avoid a cast warning.
16935
16936 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
16937
16938 * sysdeps/tile/tilegx/Implies: New file.
16939
16940 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
16941
16942 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
16943
16944 2014-12-23 Florian Weimer <fweimer@redhat.com>
16945
16946 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
16947
16948 2014-12-22 Joseph Myers <joseph@codesourcery.com>
16949
16950 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
16951 not define.
16952 * sysdeps/unix/sysv/linux/utimes.c: Do not include
16953 <kernel-features.h>.
16954 (__utimes) [__NR_utimes]: Make code unconditional.
16955 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
16956 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16957 (__ASSUME_UTIMES): Do not undefine.
16958 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16959 (__ASSUME_UTIMES): Likewise.
16960 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16961 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
16962 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
16963 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
16964
16965 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
16966
16967 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
16968
16969 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
16970
16971 [BZ #17747]
16972 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
16973 alias to weak alias for j0l, y0l.
16974 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
16975 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
16976
16977 [BZ #17746]
16978 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
16979 conversion.
16980
16981 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
16982
16983 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
16984 to zero if not already defined.
16985
16986 2014-12-22 Joseph Myers <joseph@codesourcery.com>
16987
16988 [BZ #17724]
16989 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
16990 (__kernel_standard_f): Remove. Moved to k_standardf.c.
16991 (__kernel_standard_l): Remove. Moved to k_standardl.c with
16992 (char *) casts added.
16993 * sysdeps/ieee754/k_standardf.c: New file.
16994 * sysdeps/ieee754/k_standardl.c: Likewise.
16995 * math/Makefile (libm-support): Remove k_standard.
16996 (libm-calls): Add k_standard.
16997
16998 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
16999
17000 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17001 Optimize to avoid an unnecessary FPCR read.
17002
17003 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
17004
17005 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17006 Optimize to reduce FPCR/FPSR accesses.
17007
17008 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
17009
17010 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
17011 Call libc_fetestexcept_aarch64.
17012
17013 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
17014
17015 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
17016 Call libc_fesetround_aarch64.
17017
17018 2014-12-22 Joseph Myers <joseph@codesourcery.com>
17019
17020 [BZ #17733]
17021 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
17022 (__bind): Do not define as weak alias.
17023 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
17024 define.
17025 (__getsockname): Do not define as weak alias.
17026
17027 2014-12-22 Will Newton <will.newton@linaro.org>
17028
17029 * manual/install.texi: Document that we require bison 2.7
17030 or above.
17031 * INSTALL: Regenerate.
17032 * configure.ac: Use AC_CHECK_PROG_VER instead of
17033 AC_PATH_PROG when checking for bison and check for
17034 version 2.7 or above.
17035 * configure: Regenerate.
17036
17037 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
17038
17039 [BZ #17745]
17040 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
17041 * sysdeps/tile/ffsll.c (ffsll): To here.
17042
17043 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
17044
17045 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
17046
17047 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
17048 if not defined.
17049 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
17050 definition.
17051 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17052 hidden ___tls_get_addr.
17053 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17054 hidden __tls_get_addr.
17055 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
17056 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
17057 Likewise.
17058
17059 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
17060
17061 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
17062 _dl_init call.
17063
17064 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
17065
17066 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
17067 from "call _dl_init@PLT".
17068 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
17069
17070 2014-12-21 Anders Kaseorg <andersk@mit.edu>
17071
17072 * manual/search.texi: (Array Sort Function): Clarify stable sorting
17073 guarantees.
17074
17075 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
17076
17077 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
17078
17079 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
17080
17081 [BZ #17744]
17082 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
17083 strnlen.
17084
17085 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
17086
17087 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
17088 of multu on MIPSr6.
17089 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
17090 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
17091 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
17092 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
17093 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
17094
17095 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
17096
17097 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
17098 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
17099 (PTR_SUBU): Use subu for mips32r6/mips64r6.
17100 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
17101 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
17102 mips32r6/mips64r6.
17103 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
17104
17105 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
17106
17107 * string/strncat.c (STRNCAT): Simplify implementation.
17108
17109 2014-12-19 David S. Miller <davem@davemloft.net>
17110
17111 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
17112 access the quad as both a long double and as a series of 4 words.
17113
17114 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
17115 link_map->l_info array access.
17116
17117 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
17118
17119 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
17120
17121 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
17122 * math/atest-exp2.c (TIMEOUT): Likewise.
17123 * math/atest-sincos.c (TIMEOUT): Likewise.
17124
17125 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
17126
17127 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
17128 -Wno-error with -fno-builtin-lround.
17129
17130 2014-12-19 Torvald Riegel <triegel@redhat.com>
17131
17132 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
17133 Contains futex constants and functions moved over from ...
17134 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
17135 <lowlevellock-futex.h>.
17136 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17137 (lll_timedwait_tid): Add comments and parentheses around macro
17138 arguments.
17139
17140 2014-12-19 Torvald Riegel <triegel@redhat.com>
17141
17142 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
17143 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
17144 (__lll_private_flag): Remove.
17145 (lll_futex_wait): Likewise.
17146 (lll_futex_timed_wait): Likewise.
17147 (lll_futex_wake): Likewise.
17148 (lll_futex_requeue): Likewise.
17149 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17150 (__lll_timedwait_tid): Spell out argument names.
17151 (lll_timedwait_tid): Add comments and parentheses around macro
17152 arguments.
17153 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
17154 LLL_SHARED and LLL_PRIVATE usable from assembly code.
17155
17156 2014-12-19 Torvald Riegel <triegel@redhat.com>
17157
17158 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
17159 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
17160 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17161 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
17162 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
17163 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
17164 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
17165 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
17166 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
17167 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
17168 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
17169 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
17170 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
17171 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
17172 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
17173 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
17174 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
17175 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
17176 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
17177
17178 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
17179
17180 * sysdeps/x86_64/x32/Makefile: New file.
17181
17182 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
17183
17184 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
17185 1L with (mp_limb_t) 1.
17186
17187 2014-12-17 Roland McGrath <roland@hack.frob.com>
17188
17189 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
17190 * nptl/libc_pthread_init.c: ... here.
17191 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
17192 * nptl/register-atfork.c: ... here.
17193
17194 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
17195 Use pthread_sigmask rather than INTERNAL_SYSCALL.
17196 Use assert_perror to check its return value.
17197 (__gai_create_helper_thread): Likewise.
17198
17199 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
17200
17201 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
17202
17203 2014-12-17 Joseph Myers <joseph@codesourcery.com>
17204
17205 [BZ #17725]
17206 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
17207 __profil_counter.
17208 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
17209 Likewise.
17210 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
17211 Likewise.
17212 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
17213 Likewise.
17214 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
17215 (profil_counter): Likewise.
17216 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
17217 (profil_counter): Likewise.
17218 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
17219 Likewise.
17220 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
17221 Likewise.
17222 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
17223 (profil_counter): Likewise.
17224 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
17225 Likewise.
17226 [!__profil_counter] (profil_counter): Define as weak alias of
17227 __profil_counter.
17228 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
17229 (profil_counter): Rename to __profil_counter.
17230 [!__profil_counter] (profil_counter): Define as weak alias of
17231 __profil_counter.
17232 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
17233 (profil_counter): Rename to __profil_counter.
17234 [!__profil_counter] (profil_counter): Define as weak alias of
17235 __profil_counter.
17236 * sysdeps/posix/profil.c: Update comment referring to
17237 profil_counter.
17238 (__profil): Use __profil_counter instead of profil_counter.
17239 * sysdeps/posix/sprofil.c (profil_counter): Rename to
17240 __profil_counter. Use __profil_counter_ushort and
17241 __profil_counter_uint in definitions.
17242 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
17243 instead of profil_counter_uint and profil_counter_ushort.
17244
17245 [BZ #17722]
17246 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
17247 define as weak alias of __inet_makeaddr.
17248 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
17249 as weak alias of __inet_addr.
17250 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
17251 as weak alias of __inet_pton. Use libc_hidden_weak.
17252 * include/arpa/inet.h (__inet_pton): Declare. Use
17253 libc_hidden_proto.
17254 (inet_makeaddr): Don't use libc_hidden_proto.
17255 (__inet_makeaddr): Declare. Use libc_hidden_proto.
17256 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
17257 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
17258 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
17259 Remove variable.
17260 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
17261 (test-xfail-POSIX/time.h/linknamespace): Likewise.
17262
17263 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
17264
17265 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
17266
17267 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
17268
17269 * stdio-common/bug-vfprintf-nargs.c (do_test):
17270 Cast value to intptr_t to avoid format warning
17271 for usage with PRIdPTR printing macro.
17272
17273 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
17274
17275 * libio/tst-widetext.c (do_test):
17276 Use format type %td instead of %Zd for ptrdiff_t
17277 in order to avoid format warning.
17278
17279 2014-12-17 Andreas Schwab <schwab@suse.de>
17280
17281 * nscd/mem.c (gc): Add size_t cast to match printf format.
17282
17283 2014-12-16 Roland McGrath <roland@hack.frob.com>
17284
17285 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
17286 (init): Apply PTR_MANGLE to pointers before storing them.
17287 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
17288 before using them.
17289
17290 2014-12-16 Joseph Myers <joseph@codesourcery.com>
17291
17292 [BZ #17719]
17293 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
17294 define as weak alias of __memrchr.
17295 (__memrchr): Do not define as strong alias of memrchr.
17296 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
17297 Remove variable.
17298 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
17299 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
17300 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
17301
17302 [BZ #17717]
17303 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
17304 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
17305 (if_indextoname): Rename to __if_indextoname and define as weak
17306 alias of __if_indextoname. Use libc_hidden_weak.
17307 (if_freenameindex): Rename to __if_freenameindex and define as
17308 weak alias of __if_freenameindex.
17309 (if_nameindex): Rename to __if_nameindex and define as weak alias
17310 of __if_nameindex.
17311 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
17312 __if_nametoindex and define as weak alias of __if_nametoindex.
17313 Use libc_hidden_weak.
17314 (if_freenameindex): Rename to __if_freenameindex and define as
17315 weak alias of __if_freenameindex.
17316 (if_nameindex): Rename to __if_nameindex and define as weak alias
17317 of __if_nameindex.
17318 (if_indextoname): Rename to __if_indextoname and define as weak
17319 alias of __if_indextoname. Use libc_hidden_weak.
17320 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
17321 __if_nametoindex and define as weak alias of __if_nametoindex.
17322 Use libc_hidden_weak.
17323 (if_freenameindex): Rename to __if_freenameindex and define as
17324 weak alias of __if_freenameindex. Use libc_hidden_weak.
17325 (if_nameindex_netlink): Use __if_freenameindex instead of
17326 if_freenameindex.
17327 (if_nameindex): Rename to __if_nameindex and define as weak alias
17328 of __if_nameindex. Use libc_hidden_weak.
17329 (if_indextoname): Rename to __if_indextoname and define as weak
17330 alias of __if_indextoname. Use libc_hidden_weak.
17331 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
17332 libc_hidden_proto.
17333 [!_ISOMAC] (__if_freenameindex): Likewise.
17334 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
17335 if_nametoindex.
17336 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
17337 variable.
17338 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
17339 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
17340 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
17341 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
17342 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
17343 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
17344 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
17345
17346 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
17347 Remove variable.
17348 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
17349 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
17350
17351 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17352
17353 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
17354 subscript above bounds'
17355
17356 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
17357 bounds.
17358
17359 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
17360
17361 * libio/tst-fopenloc.c: Use test-skeleton.c.
17362
17363 * stdlib/tst-bsearch.c: Use test-skeleton.c.
17364 (entry): Rename to ITEM.
17365 (do_test, comp): Adjust.
17366
17367 * stdio-common/tst-fseek.c: Use test-skeleton.c.
17368
17369 2014-12-16 Torvald Riegel <triegel@redhat.com>
17370
17371 * string/tester.c: Include <libc-internal.h>.
17372 (test_memset): Ignore -Wmemset-transposed-args.
17373
17374 2014-12-16 Torvald Riegel <triegel@redhat.com>
17375
17376 * misc/tst-mntent2.c (do_test): Fix warning.
17377
17378 2014-12-16 Torvald Riegel <triegel@redhat.com>
17379
17380 * elf/tst-unique4lib.cc(a): Mark as used.
17381
17382 2014-12-16 Florian Weimer <fweimer@redhat.com>
17383
17384 [BZ #17630]
17385 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
17386 names.
17387
17388 2014-12-16 Allan McRae <allan@archlinux.org>
17389
17390 * stdio-common/Makefile (tests): Re-add bug26.
17391
17392 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
17393
17394 [BZ #17657]
17395 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
17396 static array.
17397
17398 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
17399
17400 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
17401 (__lll_lock_wait): Likewise.
17402 (__lll_timedlock_wait): Likewise.
17403 (__lll_timedwait_tid): Likewise.
17404 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
17405 (__lll_robust_timedlock_wait): Likewise.
17406 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
17407 (lll_cond_trylock): Likewise.
17408 (__lll_lock): Likewise.
17409 (__lll_robust_lock): Likewise.
17410 (__lll_cond_lock): Likewise.
17411 (lll_robust_cond_lock): Likewise.
17412 (__lll_timedlock): Likewise.
17413 (__lll_robust_timedlock): Likewise.
17414 (__lll_unlock): Likewise.
17415 (__lll_robust_unlock): Likewise.
17416 (lll_wait_tid): Likewise.
17417 (lll_timedwait_tid): Likewise.
17418
17419 2014-12-15 Torvald Riegel <triegel@redhat.com>
17420
17421 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
17422
17423 2014-12-15 Torvald Riegel <triegel@redhat.com>
17424
17425 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
17426
17427 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
17428
17429 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
17430 * stdio-common/tst-sprintf.c: Likewise.
17431
17432 2014-12-15 Torvald Riegel <triegel@redhat.com>
17433
17434 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
17435
17436 2014-12-15 Jeff Law <law@redhat.com>
17437
17438 [BZ #16617]
17439 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
17440 on the heap. (CVE-2012-3406)
17441 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
17442 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
17443 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
17444
17445 2014-12-15 Will Newton <will.newton@linaro.org>
17446
17447 * manual/install.texi: Bump required version of texinfo
17448 to 4.7 from 4.5.
17449 * INSTALL: Regenerated.
17450 * configure.ac: Check for makeinfo version 4.7 and above.
17451 * configure: Regenerated.
17452
17453 2014-12-12 Roland McGrath <roland@hack.frob.com>
17454
17455 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
17456 PREFIX, string constant to insert between directory and name.
17457 * sysdeps/posix/shm_open.c: Update caller.
17458 * sysdeps/posix/shm_unlink.c: Likewise.
17459 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
17460 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
17461 (SEM_SHM_PREFIX): New macro.
17462 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
17463 [$(have-thread-library) = no].
17464 * nptl/Makefile (libpthread-routines): Add shm-directory.
17465 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
17466 * sysdeps/nptl/shm-directory.h: New file.
17467 * sysdeps/posix/shm-directory.c
17468 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
17469 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
17470 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
17471 INTERNAL_SYSCALL.
17472 (__where_is_shmfs): Function removed.
17473 (mountpoint, defaultmount, defaultdir, __namedsem_once):
17474 Variables removed.
17475 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
17476 Use SHM_GET_NAME.
17477 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
17478
17479 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
17480 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
17481 unconditional for use inside libpthread.
17482 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
17483
17484 2014-12-12 Roland McGrath <roland@hack.frob.com>
17485
17486 * nptl/pthread_getaffinity.c: New file.
17487 * nptl/pthread_setaffinity.c: New file.
17488 * nptl/pthread_getname.c: New file.
17489 * nptl/pthread_setname.c: New file.
17490
17491 * nptl/pthread_create.c (START_THREAD_DEFN)
17492 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
17493
17494 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
17495 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17496
17497 * resolv/res_send.c (send_vc): Disable warning resplen may
17498 be used uninitialized.
17499
17500 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
17501
17502 * nptl/tst-mutex6.c
17503 (ATTR_NULL): New define checks ATTR against NULL.
17504 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
17505 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
17506
17507 2014-12-11 James Lemke <jwlemke@codesourcery.com>
17508
17509 [BZ #17581]
17510 * malloc/hooks.c
17511 (mem2mem_check): Revert my previous change.
17512 (malloc_check_get_size): Revert my previous change.
17513 (mem2chunk_check): Revert my previous change.
17514
17515 2014-12-11 Roland McGrath <roland@hack.frob.com>
17516
17517 * sysdeps/posix/shm-directory.c: New file.
17518 * sysdeps/posix/shm-directory.h: New file.
17519 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
17520 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
17521 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
17522 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
17523 Transmute EPERM to EACCES.
17524 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
17525 from ...
17526 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
17527 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
17528
17529 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17530
17531 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
17532 pointer and cast to uintptr_t.
17533 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
17534 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
17535 Add cast to avoid warning.
17536 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
17537
17538 2014-12-11 Joseph Myers <joseph@codesourcery.com>
17539
17540 * nptl/semaphore.h: Move to ...
17541 * sysdeps/pthread/semaphore.h: ... here.
17542 * Makefile (installed-headers): Change nptl/semaphore.h to
17543 sysdeps/pthread/semaphore.h.
17544
17545 2014-12-11 Roland McGrath <roland@hack.frob.com>
17546
17547 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
17548 generated error format strings.
17549
17550 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
17551 -Wformat-extra-args warnings for scanf formats.
17552 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
17553 test of zero-length format (duh).
17554 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
17555 corner-case scanf format test.
17556 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
17557 generated fprintf format string.
17558 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
17559 corner-case sprintf format tests.
17560 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
17561 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
17562 -Wformat-extra-args warnings throughout.
17563 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
17564 (CFLAGS-scanf4.c): Likewise.
17565 (CFLAGS-scanf7.c): Likewise.
17566 (CFLAGS-tst-sprintf.c): Likewise.
17567 (CFLAGS-tst-printf.c): Likewise.
17568 (CFLAGS-tst-printfsz.c): Likewise.
17569
17570 2014-12-11 Joseph Myers <joseph@codesourcery.com>
17571
17572 * include/cpio.h: New file.
17573 * include/fmtmsg.h: Likewise.
17574
17575 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
17576 corresponding format argument to size_t.
17577 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
17578 arguments.
17579 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
17580 corresponding format argument to size_t.
17581 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
17582 arguments.
17583 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
17584 corresponding format argument to size_t.
17585 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
17586 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
17587 (CFLAGS-tst-mbswcs2.c): Likewise.
17588 (CFLAGS-tst-mbswcs3.c): Likewise.
17589 (CFLAGS-tst-mbswcs4.c): Likewise.
17590 (CFLAGS-tst-mbswcs5.c): Likewise.
17591 (CFLAGS-tst-trans.c): Likewise
17592
17593 2014-12-11 Roland McGrath <roland@hack.frob.com>
17594
17595 * posix/regexbug1.c (main): Use "%s" format with regerror results,
17596 rather than assuming they won't contain any '%'s.
17597
17598 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
17599
17600 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
17601 inhibit_loop_to_libcall to avoid recursive calls.
17602 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
17603 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
17604
17605 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
17606
17607 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
17608 prototype.
17609
17610 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
17611
17612 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
17613 integer value instead of boolean.
17614
17615 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
17616
17617 * malloc/malloc.c: Fix powerof2 check.
17618
17619 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17620
17621 * locale/programs/locfile.h (maybe_swap_uint32):
17622 Remove inline and add unused attribute.
17623
17624 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17625
17626 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
17627 Truncating assembler expression to a .long expression.
17628
17629 2014-12-11 Andreas Schwab <schwab@suse.de>
17630
17631 * elf/rtld.c (struct map_args): Constify str member.
17632 (do_preload): Constify fname argument.
17633
17634 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17635
17636 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
17637 constants definition.
17638
17639 2014-12-11 Andreas Schwab <schwab@suse.de>
17640
17641 [BZ #16657]
17642 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
17643 FORCE_ELISION instead of DO_ELISION.
17644 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
17645 Remove.
17646 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
17647 Likewise.
17648
17649 * iconvdata/gconv-modules: Remove duplicate entry.
17650
17651 2014-12-11 Will Newton <will.newton@linaro.org>
17652
17653 Merge gettext 0.19.3 into intl/.
17654
17655 This involves a number of cosmetic changes to comments
17656 and ANSI function definitions and prototypes throughout
17657 all the files. The gettext copyright header is used but
17658 with the date ranges taken from the glibc copy.
17659
17660 * NEWS: Add gettext merge to 2.21.
17661 * intl/bindtextdom.c: Switch to gettext copyright.
17662 Use ANSI definitions and prototypes.
17663 Use gl_* locking primitives rather than __libc_* ones.
17664 Use __builtin_expect rather than __glibc_likely/unlikely.
17665 * intl/dcgettext.c: Switch to gettext copyright.
17666 Use ANSI definitions and prototypes.
17667 * intl/dcigettext.c: Switch to gettext copyright.
17668 Use ANSI definitions and prototypes.
17669 (INTDIV0_RAISES_SIGFPE): New define.
17670 Use gl_* locking primitives rather than __libc_* ones.
17671 Include eval-plural.h instead of plural-eval.c.
17672 Use __builtin_expect rather than __glibc_likely/unlikely.
17673 * intl/dcngettext.c: Switch to gettext copyright.
17674 Use ANSI definitions and prototypes.
17675 * intl/dgettext.c: Likewise.
17676 * intl/dngettext.c: Likewise.
17677 * intl/plural-eval.c: Renamed to...
17678 * intl/eval-plural.h: ...this.
17679 * intl/explodename.c: Switch to gettext copyright.
17680 Use ANSI definitions and prototypes.
17681 (_nl_explode_name): Use strchr instead of __rawmemchr.
17682 * intl/finddomain.c: Switch to gettext copyright.
17683 Use ANSI definitions and prototypes.
17684 Use gl_* locking primitives rather than __libc_* ones.
17685 (_nl_find_domain): Use malloc rather than alloca for
17686 allocation of temporary locale name.
17687 * intl/gettext.c: Switch to gettext copyright.
17688 Use ANSI definitions and prototypes.
17689 * intl/gettextP.h: Switch to gettext copyright.
17690 Use ANSI definitions and prototypes.
17691 Use gl_* locking primitives rather than __libc_* ones.
17692 * intl/gmo.h: Switch to gettext copyright.
17693 (struct sysdep_string): Move struct segment_pair outside of
17694 struct definition.
17695 * intl/hash-string.c: Use ANSI definitions and prototypes.
17696 * intl/hash-string.h: Switch to gettext copyright.
17697 Use ANSI definitions and prototypes.
17698 * intl/l10nflist.c: Switch to gettext copyright.
17699 Use ANSI definitions and prototypes.
17700 (_nl_normalize_codeset): Avoid integer overflow.
17701 * intl/loadinfo.h: Switch to gettext copyright.
17702 Use ANSI definitions and prototypes.
17703 (LIBINTL_DLL_EXPORTED): New define.
17704 (PATH_SEPARATOR): New define.
17705 * intl/loadmsgcat.c: Switch to gettext copyright.
17706 * intl/localealias.c: Switch to gettext copyright.
17707 Use ANSI definitions and prototypes.
17708 (_nl_expand_alias): Use PATH_SEPARATOR.
17709 * intl/ngettext.c: Switch to gettext copyright.
17710 Use ANSI definitions and prototypes.
17711 * intl/plural-exp.c: Likewise.
17712 * intl/plural-exp.h: Switch to gettext copyright.
17713 Use ANSI definitions and prototypes.
17714 (struct expression): Move definition of enum operator outside
17715 of struct definition.
17716 * intl/plural.c: Regenerate.
17717 * intl/plural.y: Switch to gettext copyright.
17718 Use ANSI definitions and prototypes.
17719 Port to bison 3.0.
17720 * intl/textdomain.c: Switch to gettext copyright.
17721 Use ANSI definitions and prototypes.
17722 Use gl_* locking primitives rather than __libc_* ones.
17723
17724 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
17725
17726 * debug/warning-nop.c: Add used atrribute.
17727
17728 2014-12-10 Joseph Myers <joseph@codesourcery.com>
17729
17730 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
17731
17732 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
17733 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
17734 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
17735
17736 2014-12-10 Joseph Myers <joseph@codesourcery.com>
17737 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17738
17739 [BZ #17634]
17740 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
17741 Undefine after defining function. Define as weak alias of
17742 __wcschr. Use libc_hidden_weak.
17743 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
17744 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
17745 (libc_hidden_def): Also define __GI___wcschr alias.
17746 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
17747 __wcschr and define as weak alias of __wcschr.
17748 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
17749 __wcschr.
17750 [!WCSCHR] (DEFAULT_WCSCHR): Define.
17751 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
17752 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
17753 libc_hidden_weak. Do not use libc_hidden_def.
17754 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
17755 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
17756 __GI___wcschr alias.
17757 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
17758 [IS_IN (libc)] (wcschr): Define as macro expanding to
17759 __redirect_wcschr.
17760 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
17761 [IS_IN (libc)] (__wcschr_power6): Likewise.
17762 [IS_IN (libc)] (__wcschr_power7): Likewise.
17763 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
17764 instead of wcschr.
17765 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
17766 __libc_wcschr.
17767 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
17768 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
17769 __wcschr and define as weak alias of __wcschr. Use
17770 libc_hidden_builtin_def.
17771 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
17772 as weak alias of __wcschr. Use libc_hidden_weak.
17773 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
17774 wcschr.
17775 * time/era.c (_nl_init_era_entries): Likewise.
17776 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
17777 variable.
17778 (test-xfail-XPG3/time.h/linknamespace): Likewise.
17779 (test-xfail-XPG4/time.h/linknamespace): Likewise.
17780
17781 2014-12-10 Joseph Myers <joseph@codesourcery.com>
17782
17783 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
17784 format for long int variable.
17785
17786 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
17787
17788 [BZ #10672]
17789 * manual/search.texi: (Array Sort Function): Remove claim how to make
17790 qsort stable.
17791
17792 2014-12-10 Andreas Schwab <schwab@suse.de>
17793
17794 [BZ #12847]
17795 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
17796 user-controlled locks.
17797
17798 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
17799
17800 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
17801 register.
17802
17803 2014-12-10 Joseph Myers <joseph@codesourcery.com>
17804
17805 * configure.ac (--disable-werror): New configure option.
17806 (enable_werror): New AC_SUBST.
17807 * configure: Regenerated.
17808 * config.make.in (enable-werror): New variable.
17809 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
17810 -Wno-error=undef.
17811 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
17812 * manual/install.texi (Configuring and compiling): Document
17813 --disable-werror.
17814 * INSTALL: Regenerated.
17815 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
17816 (CFLAGS-tst-chk2.c): Likewise.
17817 (CFLAGS-tst-chk3.c): Likewise.
17818 (CFLAGS-tst-chk4.cc): Likewise.
17819 (CFLAGS-tst-chk5.cc): Likewise.
17820 (CFLAGS-tst-chk6.cc): Likewise.
17821 (CFLAGS-tst-lfschk1.c): Likewise.
17822 (CFLAGS-tst-lfschk2.c): Likewise.
17823 (CFLAGS-tst-lfschk3.c): Likewise.
17824 (CFLAGS-tst-lfschk4.cc): Likewise.
17825 (CFLAGS-tst-lfschk5.cc): Likewise.
17826 (CFLAGS-tst-lfschk6.cc): Likewise.
17827
17828 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
17829 (main): Disable -Wdeprecated-declarations around calls to
17830 register_printf_function.
17831
17832 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
17833 (do_test): Disable -Wdiv-by-zero around some calls to
17834 fwrite_unlocked and fread_unlocked.
17835
17836 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
17837 (DIAG_POP_NEEDS_COMMENT): Likewise.
17838 (_DIAG_STR1): Likewise.
17839 (_DIAG_STR): Likewise.
17840 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
17841 * stdio-common/bug21.c: Include <libc-internal.h>.
17842 (do_test): Disable -Wformat around call to sscanf.
17843 * stdio-common/scanf14.c: Include <libc-internal.h>.
17844 (main): Disable -Wformat around some calls to scanf functions.
17845
17846 2014-12-09 Torvald Riegel <triegel@redhat.com>
17847
17848 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
17849
17850 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17851
17852 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
17853 stack variable alignment.
17854
17855 2014-12-06 Joseph Myers <joseph@codesourcery.com>
17856
17857 [BZ #17682]
17858 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
17859 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
17860 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
17861 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
17862 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
17863 __getrlimit instead of getrlimit.
17864 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
17865 __gettimeofday instead of gettimeofday.
17866 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17867 Likewise.
17868 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17869 Likewise.
17870 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17871 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
17872 Remove variable.
17873 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
17874 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
17875
17876 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17877
17878 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
17879 for wide-character tests.
17880
17881 2014-12-04 Roland McGrath <roland@hack.frob.com>
17882
17883 * io/openat64.c: #include <libc-internal.h>
17884 (__openat64): Prototypify. Use ignore_value on MODE.
17885 * io/openat.c: Likewise.
17886 * misc/reboot.c: #include <libc-internal.h>
17887 (reboot): Prototypify. Use ignore_value on HOWTO.
17888 * misc/ptrace.c: #include <libc-internal.h>
17889 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
17890
17891 2014-12-04 Joseph Myers <joseph@codesourcery.com>
17892
17893 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
17894 XPG4, UNIX98 and XOPEN2K.
17895 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
17896 Remove variable.
17897 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
17898
17899 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17900
17901 * libio/fileops.c: Use ISO C style for function definitions.
17902 * libio/iofopen.c: Likewise.
17903 * libio/wfileops.c: Likewise.
17904
17905 [BZ #17653]
17906 * libio/fileops.c (_IO_new_file_underflow): Unset cached
17907 offset on EOF.
17908 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17909 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
17910 (fgets_func): Function pointer to fgets and fgetws.
17911 (do_ftell_test): Add test to verify ftell value after read
17912 EOF.
17913 (do_test): Set fgets_func.
17914
17915 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
17916 O_TRUNC flag for w and w+ modes.
17917 (do_rewind_test): Likewise.
17918 (do_ftell_test): Likewise.
17919 (do_write_test): Likewise.
17920
17921 [BZ #17647]
17922 * libio/fileops.c (do_ftell): Seek only when there are
17923 unflushed writes.
17924 * libio/wfileops.c (do_ftell_wide): Likewise.
17925 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
17926 test case.
17927 (do_one_test): Call it.
17928
17929 2014-12-03 Joseph Myers <joseph@codesourcery.com>
17930
17931 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
17932 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
17933 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
17934 Remove variable.
17935 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
17936 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
17937 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
17938
17939 2014-12-02 Joseph Myers <joseph@codesourcery.com>
17940
17941 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
17942 Remove variable.
17943 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
17944
17945 [BZ #17668]
17946 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
17947 as weak alias of __getifaddrs. Use libc_hidden_weak.
17948 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17949 __freeifaddrs. Use libc_hidden_weak.
17950 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
17951 define as weak alias of __getifaddrs. Use libc_hidden_weak.
17952 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17953 __freeifaddrs. Use libc_hidden_weak.
17954 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
17955 __getifaddrs and define as weak alias of __getifaddrs. Use
17956 libc_hidden_weak.
17957 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17958 __freeifaddrs. Use libc_hidden_weak.
17959 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
17960 Remove variable.
17961 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
17962 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
17963
17964 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
17965
17966 [BZ #17601]
17967 * sysdeps/mips/start.S (__start): Use indirect jump to call
17968 __libc_start_main.
17969
17970 2014-12-02 Joseph Myers <joseph@codesourcery.com>
17971
17972 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
17973
17974 * nptl/tst-mutex1.c: Include <stdbool.h>.
17975 [!ATTR] (ATTR_NULL): New macro.
17976 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
17977 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
17978 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
17979
17980 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
17981 to char *.
17982
17983 [BZ #17665]
17984 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
17985 Change conditional to [__USE_MISC].
17986
17987 [BZ #17664]
17988 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
17989 fgets_unlocked.
17990 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
17991 __fgets_unlocked.
17992 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
17993 fgets_unlocked.
17994 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
17995 Remove variable.
17996 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
17997 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
17998 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
17999 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
18000 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
18001 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
18002 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
18003 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
18004 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
18005
18006 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
18007
18008 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18009
18010 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18011 Remove strpbrk objects.
18012 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18013 (__libc_ifunc_impl_list): Remove strpbrk implementation.
18014 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
18015 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
18016 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
18017 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
18018
18019 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18020 Remove strcspn objects.
18021 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18022 (__libc_ifunc_impl_list): Remove strcspn implementation.
18023 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
18024 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
18025 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
18026 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
18027
18028 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18029 Remove strspn objetcs.
18030 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18031 (__libc_ifunc_impl_list): Remove strspn implementation.
18032 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
18033 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18034 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
18035 * sysdeps/powerpc/powerpc64/strspn.S: New file.
18036
18037 2014-12-01 James Lemke <jwlemke@codesourcery.com>
18038
18039 [BZ #17581]
18040 * malloc/hooks.c
18041 (mem2mem_check): Add a terminator to the chain of checking blocks.
18042 (malloc_check_get_size): Use it here.
18043 (mem2chunk_check): Ditto.
18044
18045 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18046
18047 * sysdeps/powerpc/powerpc64/strtok.S: New file.
18048 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
18049
18050 2014-11-29 Carlos O'Donell <carlos@redhat.com>
18051
18052 * bits/ioctl-types.h: Indent preprocessor directives correctly.
18053
18054 * nptl/nptl-init.c: Include libc-internal.h.
18055 (__pthread_initialize_minimal_internal): Use ROUND_UP.
18056
18057 * elf/ldconfig.c (search_dir): Expand comment.
18058
18059 2014-11-29 Joseph Myers <joseph@codesourcery.com>
18060
18061 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
18062 variable.
18063 (linknamespace-symlist-stdlibs-tests): Likewise.
18064 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
18065 instead of $(objpfx)symlist-stdlibs.
18066 (linknamespace-libs-isoc): New variable.
18067 (linknamespace-libs): Use $(linknamespace-libs-isoc).
18068 (linknamespace-libs-ISO): New variable.
18069 (linknamespace-libs-ISO99): Likewise.
18070 (linknamespace-libs-ISO11): Likewise.
18071 (linknamespace-libs-XPG3): Likewise.
18072 (linknamespace-libs-XPG4): Likewise.
18073 (linknamespace-libs-POSIX): Likewise.
18074 (linknamespace-libs-UNIX98): Likewise.
18075 (linknamespace-libs-XOPEN2K): Likewise.
18076 (linknamespace-libs-POSIX2008): Likewise.
18077 (linknamespace-libs-XOPEN2K8): Likewise.
18078 ($(objpfx)symlist-stdlibs): Replace by
18079 $(linknamespace-symlist-stdlibs-tests). Use
18080 $(linknamespace-libs-$*) as set of libraries.
18081 ($(linknamespace-header-tests)): Update dependencies. Use
18082 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
18083 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
18084 * conform/linknamespace.pl: Remove comment about considering
18085 definitions of symbols from irrelevant libraries.
18086
18087 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
18088
18089 [BZ #13862]
18090 * elf/dl-tls.c: Include <atomic.h>.
18091 (oom): Remove #ifdef SHARED/#endif.
18092 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
18093 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
18094 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
18095 big enough.
18096 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
18097 * nptl/Makefile (tests): Add tst-stack4.
18098 (modules-names): Add tst-stack4mod.
18099 ($(objpfx)tst-stack4): New.
18100 (tst-stack4mod.sos): Likewise.
18101 ($(objpfx)tst-stack4.out): Likewise.
18102 ($(tst-stack4mod.sos)): Likewise.
18103 (clean): Likewise.
18104 * nptl/tst-stack4.c: New file.
18105 * nptl/tst-stack4mod.c: Likewise.
18106
18107 2014-11-27 J. Brown <jb999@gmx.de>
18108
18109 * sysdeps/x86/bits/string.h: Add recent CPUs.
18110
18111 2014-11-27 Joseph Myers <joseph@codesourcery.com>
18112
18113 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
18114 sigblock.
18115
18116 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
18117 feof.
18118
18119 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
18120 variable.
18121
18122 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
18123
18124 * nscd/connections.c: Include libc-internal.h because of macro
18125 usage ignore_value.
18126
18127 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18128
18129 * string/bits/string3.h (__warn_memset_zero_len): Don't
18130 declare for gcc newer than 5.0.
18131 (memset): Don't test for zero-length __LEN for gcc newer than
18132 5.0.
18133
18134 2014-11-27 Joseph Myers <joseph@codesourcery.com>
18135
18136 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
18137 size_t for %zu format.
18138
18139 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
18140 difference, not %ju.
18141
18142 2014-11-26 Joseph Myers <joseph@codesourcery.com>
18143
18144 * include/libc-internal.h (ignore_value): New macro.
18145 * nscd/connections.c (restart): Wrap calls to setuid and setgid
18146 with ignore_value.
18147
18148 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
18149 definition.
18150
18151 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
18152 pthread_cleanup_push to void *.
18153
18154 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
18155 Undefine.
18156
18157 [BZ #16619]
18158 [BZ #16740]
18159 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
18160 instead of 1L << 52.
18161
18162 * libio/bug-rewind.c (do_test): Check fwscanf return values.
18163 * libio/bug-rewind2.c (do_test): Likewise.
18164
18165 * debug/test-stpcpy_chk-ifunc.c: Remove file.
18166 * debug/test-strcpy_chk-ifunc.c: Likewise.
18167 * wcsmbs/test-wcschr-ifunc.c: Likewise.
18168 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18169 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18170 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18171 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18172 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18173 * Rules [$(multi-arch) = no] (tests): Do not filter out
18174 $(tests-ifunc).
18175 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
18176 * debug/Makefile (tests-ifunc): Remove variable.
18177 (tests): Do not add $(tests-ifunc).
18178 * wcsmbs/Makefile (tests-ifunc): Remove variable.
18179 (tests): Do not add $(tests-ifunc).
18180 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
18181 [TEST_IFUNC]: Remove conditionals.
18182 * string/test-string.h (TEST_IFUNC): Remove macro.
18183 [TEST_IFUNC]: Remove conditionals.
18184
18185 * string/test-strchr.c [!WIDE] (L): New macro.
18186 [WIDE] (L): Likewise.
18187 (check1): Use CHAR instead of char. Use L on string and character
18188 constants.
18189
18190 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
18191
18192 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
18193 tests.
18194 * sysdeps/powerpc/bits/atomic.h
18195 (__arch_atomic_exchange_and_add_32_acq): Add definition.
18196 (__arch_atomic_exchange_and_add_32_rel): Likewise.
18197 (atomic_exchange_and_add_acq): Likewise.
18198 (atomic_exchange_and_add_rel): Likewise.
18199 * sysdeps/powerpc/powerpc32/bits/atomic.h
18200 (__arch_atomic_exchange_and_add_64_acq): Add definition.
18201 (__arch_atomic_exchange_and_add_64_rel): Likewise.
18202 * sysdeps/powerpc/powerpc64/bits/atomic.h
18203 (__arch_atomic_exchange_and_add_64_acq): Add definition.
18204 (__arch_atomic_exchange_and_add_64_rel): Likewise.
18205
18206 2014-11-26 Torvald Riegel <triegel@redhat.com>
18207
18208 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
18209 Change synchronization of __sched_fifo_min_prio and
18210 __sched_fifo_max_prio.
18211 * nptl/pthread_mutexattr_getprioceiling.c
18212 (pthread_mutexattr_getprioceiling): Likewise.
18213 * nptl/pthread_mutexattr_setprioceiling.c
18214 (pthread_mutexattr_setprioceiling): Likewise.
18215 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
18216 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
18217 Likewise.
18218
18219 2014-11-26 Joseph Myers <joseph@codesourcery.com>
18220
18221 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
18222 void.
18223
18224 2014-11-25 Joseph Myers <joseph@codesourcery.com>
18225
18226 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
18227 third argument const.
18228
18229 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
18230
18231 fnmatch: work around GCC compiler warning bug with uninit var
18232 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
18233 This works around a bug with x86-64 GCC 4.9.2 and earlier
18234 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
18235 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
18236 used uninitialized in this function [-Wmaybe-uninitialized]".
18237
18238 2014-11-25 Joseph Myers <joseph@codesourcery.com>
18239
18240 * posix/bug-regex31.c (main): Return RES not 0.
18241
18242 2014-11-25 Anton Blanchard <anton@samba.org>
18243
18244 * sysdeps/powerpc/bits/atomic.h
18245 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
18246
18247 2014-11-24 Sterling Augustine <saugustine@google.com>
18248
18249 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
18250
18251 2014-11-24 Ryan Cumming <etaoins@gmail.com>
18252
18253 [BZ #17608]
18254 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
18255
18256 2014-11-24 Joseph Myers <joseph@codesourcery.com>
18257
18258 [BZ #17633]
18259 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
18260 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
18261 variable.
18262 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
18263 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
18264
18265 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
18266
18267 * string/strncpy.c (strncpy): Improve performance by using memset.
18268
18269 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
18270
18271 * string/strcpy.c (strcpy):
18272 Improve performance by using strlen and memcpy.
18273
18274 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
18275
18276 * string/strcoll_l.c (get_next_seq): __always_inline.
18277 * string/strcoll_l.c (do_compare): __always_inline.
18278
18279 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18280
18281 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
18282 defined.
18283 * include/mqueue.h: Likewise.
18284 * include/stdlib.h: Likewise.
18285
18286 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
18287 (get_null_defines): Adjust.
18288 * sunrpc/Makefile: Adjust comment.
18289 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
18290 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
18291 (CFLAGS-interp.c): Likewise.
18292 (CFLAGS-ldconfig.c): Likewise.
18293 (CPPFLAGS-.os): Likewise.
18294 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18295 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
18296 * extra-modules.mk (extra-modules.mk): Likewise.
18297 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
18298 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
18299 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
18300 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
18301 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
18302 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
18303 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
18304 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
18305 * iconvdata/Makefile (CPPFLAGS): Likewise.
18306 (cpp-srcs-left): Add libof for all iconvdata routines.
18307 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
18308 * include/assert.h: Likewise.
18309 * include/ctype.h: Likewise.
18310 * include/errno.h: Likewise.
18311 * include/libc-symbols.h: Likewise.
18312 * include/math.h: Likewise.
18313 * include/netdb.h: Likewise.
18314 * include/resolv.h: Likewise.
18315 * include/stdio.h: Likewise.
18316 * include/stdlib.h: Likewise.
18317 * include/string.h: Likewise.
18318 * include/sys/stat.h: Likewise.
18319 * include/wctype.h: Likewise.
18320 * intl/l10nflist.c: Likewise.
18321 * libidn/idn-stub.c: Likewise.
18322 * libio/libioP.h: Likewise.
18323 * nptl/libc_multiple_threads.c: Likewise.
18324 * nptl/pthreadP.h: Likewise.
18325 * posix/regex_internal.h: Likewise.
18326 * resolv/res_hconf.c: Likewise.
18327 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
18328 * sysdeps/arm/memmove.S: Likewise.
18329 * sysdeps/arm/sysdep.h: Likewise.
18330 * sysdeps/generic/_itoa.h: Likewise.
18331 * sysdeps/generic/symbol-hacks.h: Likewise.
18332 * sysdeps/gnu/errlist.awk: Likewise.
18333 * sysdeps/gnu/errlist.c: Likewise.
18334 * sysdeps/i386/i586/memcpy.S: Likewise.
18335 * sysdeps/i386/i586/memset.S: Likewise.
18336 * sysdeps/i386/i686/memcpy.S: Likewise.
18337 * sysdeps/i386/i686/memmove.S: Likewise.
18338 * sysdeps/i386/i686/mempcpy.S: Likewise.
18339 * sysdeps/i386/i686/memset.S: Likewise.
18340 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18341 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18342 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
18343 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
18344 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18345 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18346 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
18347 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18348 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18349 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18350 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18351 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18352 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18353 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18354 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18355 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18356 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
18357 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
18358 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
18359 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18360 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18361 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18362 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18363 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18364 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18365 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18366 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
18367 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18368 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
18369 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18370 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18371 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18372 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18373 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18374 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18375 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18376 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18377 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18378 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18379 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18380 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18381 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18382 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18383 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18384 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18385 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18386 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
18387 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
18388 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18389 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18390 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18391 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
18392 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
18393 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18394 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18395 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
18396 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18397 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
18398 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
18399 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18400 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18401 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18402 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
18403 * sysdeps/nptl/bits/libc-lock.h: Likewise.
18404 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
18405 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
18406 * sysdeps/posix/closedir.c: Likewise.
18407 * sysdeps/posix/opendir.c: Likewise.
18408 * sysdeps/posix/readdir.c: Likewise.
18409 * sysdeps/posix/rewinddir.c: Likewise.
18410 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
18411 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
18412 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18413 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18414 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18415 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
18416 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
18417 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
18418 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
18419 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
18420 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
18421 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
18422 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
18423 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
18424 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
18425 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
18426 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
18427 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
18428 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
18429 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
18430 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
18431 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
18432 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
18433 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
18434 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
18435 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
18436 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
18437 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
18438 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
18439 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
18440 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
18441 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
18442 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
18443 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
18444 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
18445 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
18446 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18447 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18448 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
18449 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
18450 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
18451 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
18452 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
18453 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
18454 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18455 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
18456 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
18457 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
18458 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
18459 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
18460 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
18461 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
18462 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
18463 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
18464 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
18465 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
18466 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
18467 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
18468 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
18469 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
18470 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
18471 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
18472 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
18473 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
18474 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
18475 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
18476 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
18477 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
18478 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
18479 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
18480 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
18481 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
18482 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
18483 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
18484 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
18485 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
18486 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
18487 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
18488 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18489 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
18490 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
18491 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18492 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
18493 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
18494 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18495 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
18496 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
18497 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18498 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18499 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18500 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
18501 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
18502 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
18503 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18504 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18505 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
18506 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18507 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18508 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
18509 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
18510 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18511 * sysdeps/unix/alpha/sysdep.S: Likewise.
18512 * sysdeps/unix/alpha/sysdep.h: Likewise.
18513 * sysdeps/unix/make-syscalls.sh: Likewise.
18514 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18515 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18516 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18517 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
18518 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18519 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18520 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
18521 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18522 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18523 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
18524 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18525 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18526 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18527 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
18528 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18529 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18530 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18531 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
18532 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
18533 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18534 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18535 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
18536 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18537 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18538 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18539 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18540 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
18541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
18542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
18543 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
18544 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18545 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18546 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18547 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18548 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18549 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18550 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18551 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18552 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18553 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
18554 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18555 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18556 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18557 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18558 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
18559 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18560 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18561 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18562 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18563 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18564 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
18565 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18566 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18567 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18568 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
18569 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
18570 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18571 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18572 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
18573 * sysdeps/x86_64/memcpy.S: Likewise.
18574 * sysdeps/x86_64/memmove.c: Likewise.
18575 * sysdeps/x86_64/memset.S: Likewise.
18576 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
18577 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18578 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18579 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
18580 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
18581 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18582 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18583 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18584 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18585 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18586 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18587 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18588 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
18589 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18590 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18591 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
18592 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18593 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18594 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18595 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18596 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
18597 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18598 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18599 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18600 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18601 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18602 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18603 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
18604 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18605 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18606 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
18607 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18608 * sysdeps/x86_64/strcmp.S: Likewise.
18609
18610 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
18611
18612 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
18613 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
18614 * elf/rtld-Rules: Likewise.
18615 * elf/setup-vdso.h: Likewise.
18616 * include/assert.h: Likewise.
18617 * include/bits/stdlib-float.h: Likewise.
18618 * include/errno.h: Likewise.
18619 * include/sys/stat.h: Likewise.
18620 * include/unistd.h: Likewise.
18621 * sysdeps/aarch64/setjmp.S: Likewise.
18622 * sysdeps/alpha/setjmp.S: Likewise.
18623 * sysdeps/arm/__longjmp.S: Likewise.
18624 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
18625 * sysdeps/arm/setjmp.S: Likewise.
18626 * sysdeps/arm/sysdep.h: Likewise.
18627 * sysdeps/generic/_itoa.h: Likewise.
18628 * sysdeps/generic/dl-sysdep.h: Likewise.
18629 * sysdeps/generic/ldsodefs.h: Likewise.
18630 * sysdeps/i386/dl-tls.h: Likewise.
18631 * sysdeps/i386/setjmp.S: Likewise.
18632 * sysdeps/m68k/setjmp.c: Likewise.
18633 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
18634 * sysdeps/mach/hurd/opendir.c: Likewise.
18635 * sysdeps/posix/getcwd.c: Likewise.
18636 * sysdeps/posix/opendir.c: Likewise.
18637 * sysdeps/posix/profil.c: Likewise.
18638 * sysdeps/powerpc/dl-procinfo.h: Likewise.
18639 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18640 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18641 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18642 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18643 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
18644 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
18645 * sysdeps/s390/dl-tls.h: Likewise.
18646 * sysdeps/s390/s390-32/setjmp.S: Likewise.
18647 * sysdeps/s390/s390-64/setjmp.S: Likewise.
18648 * sysdeps/sh/sh3/setjmp.S: Likewise.
18649 * sysdeps/sh/sh4/setjmp.S: Likewise.
18650 * sysdeps/unix/alpha/sysdep.h: Likewise.
18651 * sysdeps/unix/arm/sysdep.S: Likewise.
18652 * sysdeps/unix/i386/sysdep.S: Likewise.
18653 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18654 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18655 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18656 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18657 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18658 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
18659 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
18660 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18661 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
18662 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
18663 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18664 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
18665 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
18666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18668 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18669 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18670 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18671 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18672 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18673 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
18674 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18675 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18676 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
18677 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18678 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
18679 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18680 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18681 * sysdeps/x86_64/setjmp.S: Likewise.
18682
18683 * include/math.h: Use IS_IN instead of IS_IN_libm.
18684 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
18685 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18686 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18687 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18688 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18689 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18690 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18691 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18692 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18693 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18694 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
18695 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
18696 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
18697 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
18698 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
18699 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
18700 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
18701 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
18702 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
18703 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
18704 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
18705 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
18706 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
18707 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
18708 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
18709 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
18710 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
18711 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
18712 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
18713 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
18714 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
18715 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18716 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
18718 Likewise.
18719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
18720 Likewise.
18721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
18722 Likewise.
18723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
18724 Likewise.
18725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
18726 Likewise.
18727 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18728 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
18729 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18730 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18731 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18732 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
18734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
18735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
18736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
18737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
18738 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
18739 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
18740 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18741 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18742 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18743 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18744 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18745 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18746 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18747 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
18748 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
18749 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
18750 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
18751 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
18752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18753 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
18754
18755 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
18756 * nptl/pthreadP.h: Likewise.
18757 * nptl_db/structs.def: Likewise.
18758 * sysdeps/arm/sysdep.h: Likewise.
18759 * sysdeps/nptl/bits/libc-lock.h: Likewise.
18760 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
18761 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
18762 * sysdeps/unix/alpha/sysdep.h: Likewise.
18763 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18764 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18765 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18766 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18767 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18768 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18769 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18770 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18771 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18772 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18773 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18774 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18775 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18776 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
18778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
18779 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18780 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18781 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18782 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18783 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18784 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18785 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18786 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18787 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
18788 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18789
18790 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
18791 * nptl/pthreadP.h: Likewise.
18792 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18793 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18794 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18795 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18796 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18797 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18798 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18799 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18800 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18801 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18802 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18803 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18805 Likewise.
18806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18807 Likewise.
18808 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18809 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18810 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18811 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18812 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18813 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18814 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18815 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18816
18817 * dlfcn/dladdr.c: Use IS_IN.
18818 * dlfcn/dladdr1.c: Likewise.
18819 * dlfcn/dlclose.c: Likewise.
18820 * dlfcn/dlerror.c: Likewise.
18821 * dlfcn/dlinfo.c: Likewise.
18822 * dlfcn/dlmopen.c: Likewise.
18823 * dlfcn/dlopen.c: Likewise.
18824 * dlfcn/dlsym.c: Likewise.
18825 * dlfcn/dlvsym.c: Likewise.
18826
18827 * include/ifaddrs.h: Use IS_IN.
18828 * inet/check_pf.c: Likewise.
18829 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18830 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
18831
18832 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
18833 IS_IN_ldconfig.
18834 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
18835 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
18836
18837 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
18838 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
18839 IS_IN (libc).
18840
18841 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
18842
18843 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
18844 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18845 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
18846 * include/libc-symbols.h (IS_IN_LIB): New macro.
18847 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
18848 * include/netdb.h: Likewise.
18849 * include/stap-probe.h: Remove all uses of IN_LIB.
18850
18851 * Makeconfig (module-cppflags-real): Define MODULE_NAME
18852 instead of IN_MODULE.
18853 * include/libc-symbols.h (IN_MODULE): Define using
18854 MODULE_NAME.
18855 (PASTE_NAME, PASTE_NAME1): New macros.
18856 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
18857 of IN_LIB.
18858 (STAP_PROBE_ASM): Likewise.
18859
18860 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
18861
18862 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
18863 __mach_init in dlopened libc.
18864
18865 2014-11-22 Mike Frysinger <vapier@gentoo.org>
18866
18867 * sysdeps/arm/preconfigure.ac: Delete EABI check.
18868 * sysdeps/arm/preconfigure: Regenerate.
18869
18870 2014-11-21 Roland McGrath <roland@hack.frob.com>
18871
18872 * nptl/pthread_create.c (__pthread_create_2_1): Set
18873 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
18874 when copying values from IATTR into PD.
18875
18876 2014-11-21 Will Newton <will.newton@linaro.org>
18877 Andrew Pinski <andrew.pinski@caviumnetworks.com>
18878
18879 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
18880 Refactor inline-asm. Also add comment.
18881
18882 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
18883 ElfW macro instead of hardcoded Elf64 types.
18884 (la_aarch64_gnu_pltenter): Likewise.
18885 * sysdeps/aarch64/dl-machine.h
18886 (elf_machine_runtime_setup): Use ElfW(Addr).
18887
18888 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
18889 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
18890 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
18891 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
18892 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
18893 (R_AARCH64_TLS_DTPMOD64): Rename to ..
18894 (R_AARCH64_TLS_DTPMOD): This.
18895 (R_AARCH64_TLS_DTPREL64): Rename to ...
18896 (R_AARCH64_TLS_DTPREL): This.
18897 (R_AARCH64_TLS_TPREL64): Rename to ...
18898 (R_AARCH64_TLS_TPREL): This.
18899 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
18900 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
18901 R_AARCH64_TLS_TPREL64.
18902 (elf_machine_rela): Likewise.
18903
18904 2014-11-21 Torvald Riegel <triegel@redhat.com>
18905
18906 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
18907 by setting it to 0. 64b atomics are not supported currently.
18908
18909 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
18910
18911 [BZ #16469]
18912 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
18913 search domain names.
18914
18915 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
18916
18917 [BZ #16469]
18918 * NEWS: Update.
18919 * resolv/res_query.c (__libc_res_nquerydomain): Retain
18920 trailing dot.
18921 * posix/tst-getaddrinfo5.c: New.
18922 * posix/Makefile (tests): Add it.
18923
18924 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
18925
18926 [BZ #14498]
18927 * NEWS: Fixed.
18928 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
18929 after parsing line but before break_if_match.
18930 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
18931 if there is a protocol mismatch.
18932
18933 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
18934
18935 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
18936 because the potential race is on the user-supplied stream.
18937
18938 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
18939
18940 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
18941 string literal if not passed a buffer.
18942 * manual/job.texi (ctermid): Update reasoning, note deviation
18943 from posix, suggest mtasurace when not passed a buffer, for
18944 future non-preliminary safety notes.
18945
18946 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
18947
18948 * manual/users.texi (cuserid): Fix MT-Safety note for the case
18949 of not passing it a buffer.
18950 Reported by Peng Haitao.
18951
18952 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
18953
18954 * manual/Makefile ($(objpfx)stamp-summary): Require
18955 check-safety.sh to pass.
18956 * manual/check-safety.sh: Wish for verification that every
18957 @deftypefn and @deftypefun is followed by a @safety remark.
18958
18959 2014-11-20 Roland McGrath <roland@hack.frob.com>
18960
18961 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
18962
18963 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
18964 PTHREAD_CANCEL_ASYNCHRONOUS.
18965 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
18966 send SIGCANCEL.
18967
18968 * nptl/default-sched.h: New file.
18969 * sysdeps/unix/sysv/linux/default-sched.h: New file.
18970 * nptl/pthread_create.c: Include it.
18971 (__pthread_create_2_1): Use collect_default_sched instead of making
18972 Linux syscalls here directly.
18973
18974 2014-11-20 Torvald Riegel <triegel@redhat.com>
18975
18976 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
18977 __pthread_once): Use C11 atomics.
18978
18979 2014-11-20 Torvald Riegel <triegel@redhat.com>
18980
18981 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
18982
18983 2014-11-20 Torvald Riegel <triegel@redhat.com>
18984
18985 * include/atomic.h (__atomic_link_error, __atomic_check_size,
18986 atomic_thread_fence_acquire, atomic_thread_fence_release,
18987 atomic_thread_fence_seq_cst, atomic_load_relaxed,
18988 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
18989 atomic_compare_exchange_weak_relaxed,
18990 atomic_compare_exchange_weak_acquire,
18991 atomic_compare_exchange_weak_release,
18992 atomic_exchange_acquire, atomic_exchange_release,
18993 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
18994 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
18995 atomic_fetch_and_acquire,
18996 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
18997
18998 2014-11-20 Torvald Riegel <triegel@redhat.com>
18999
19000 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
19001 USE_ATOMIC_COMPILER_BUILTINS): Define.
19002 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
19003 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19004 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
19005 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19006 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
19007 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19008 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
19009 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19010 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
19011 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19012 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
19013 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19014 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
19015 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19016 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
19017 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19018 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19019 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19020 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19021 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19022 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
19023 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19024 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19025 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19026 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
19027 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19028 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19029 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19030 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
19031 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19032 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
19033 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19034 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
19035 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19036 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19037 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19038 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
19039 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19040 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
19041 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19042
19043 2014-11-19 Roland McGrath <roland@hack.frob.com>
19044
19045 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
19046 the sched_priority value here. It was already checked when the user
19047 called pthread_attr_setschedparam.
19048
19049 * nptl/tst-bad-schedattr.c: New file.
19050 * nptl/Makefile (tests): Add it.
19051
19052 2014-11-19 Carlos O'Donell <carlos@redhat.com>
19053 Florian Weimer <fweimer@redhat.com>
19054 Joseph Myers <joseph@codesourcery.com>
19055 Adam Conrad <adconrad@0c3.net>
19056 Andreas Schwab <schwab@suse.de>
19057 Brooks <bmoses@google.com>
19058
19059 [BZ #17625]
19060 * wordexp-test.c (__dso_handle): Add prototype.
19061 (__register_atfork): Likewise.
19062 (__app_register_atfork): New function.
19063 (registered_forks): New global.
19064 (register_fork): New function.
19065 (test_case): Add 3 new tests for WRDE_CMDSUB.
19066 (main): Call __app_register_atfork.
19067 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
19068 fork count is non-zero fail the test.
19069 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
19070 is set.
19071 (parse_dollars): Remove check for WRDE_NOCMD.
19072 (parse_dquote): Likewise.
19073
19074 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19075
19076 * Makeconfig (built-modules): List non-library modules to be
19077 built.
19078 (module-cppflags): Include libc-modules.h for
19079 everything except shlib-versions.v.i.
19080 (CPPFLAGS): Use it.
19081 (before-compile): Add libc-modules.h.
19082 ($(common-objpfx)libc-modules.h,
19083 $(common-objpfx)libc-modules.stmp): New targets.
19084 (common-generated): Add libc-modules.h and libc-modules.stmp.
19085 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
19086 * include/libc-symbols.h: Don't include libc-modules.h.
19087 * include/libc-modules.h: Remove file.
19088 * scripts/gen-libc-modules.awk: New script to generate
19089 libc-modules.h.
19090 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
19091 Depend on libc-modules.stmp.
19092
19093 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
19094
19095 * Makeconfig (in-module): Get value of libof set for the
19096 translation unit.
19097 (CPPFLAGS): Use $(in-module).
19098 * Makerules: Don't suffix routine names for nonlib.
19099 * include/libc-modules.h: New file.
19100 * include/libc-symbols.h: Include libc-modules.h
19101 (IS_IN): New macro to replace IS_IN_* macros.
19102 * elf/Makefile: Set libof-* for each routine.
19103 * elf/rtld-Rules: Likewise.
19104 * extra-modules.mk: Likewise.
19105 * iconv/Makefile: Likewise.
19106 * iconvdata/Makefile: Likewise.
19107 * locale/Makefile: Likewise.
19108 * malloc/Makefile: Likewise.
19109 * nss/Makefile: Likewise.
19110 * sysdeps/gnu/Makefile: Likewise.
19111 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
19112 * sysdeps/unix/sysv/linux/Makefile: Likewise.
19113 * sysdeps/s390/s390-64/Makefile: Likewise.
19114 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
19115 CPPFLAGS for nscd instead of nonlib.
19116
19117 2014-11-18 Roland McGrath <roland@hack.frob.com>
19118
19119 * nptl/createthread.c: New file.
19120
19121 * nptl/createthread.c: Moved ...
19122 * sysdeps/unix/sysv/linux/createthread.c: ... here.
19123
19124 * nptl/createthread.c: Add proper top-line comment.
19125 (do_clone): Folded into ...
19126 (create_thread): ... here. Take new arguments STOPPED_START and
19127 THREAD_RAN. Always set PD->stopped_start to something here. Don't
19128 increment __nptl_threads, do event-reporting logic, do
19129 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
19130 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
19131 resource cleanup if sched_setaffinity or sched_setscheduler fails,
19132 just send SIGCANCEL.
19133 * nptl/pthread_create.c: Forward-declare create_thread before
19134 including createthread.c.
19135 (start_thread): Use new macro START_THREAD_DEFN to replace defining
19136 declaration, and new macro START_THREAD_SELF to replace argument.
19137 Remove return statement.
19138 (report_thread_creation): New function.
19139 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
19140 synchronization logic, and __nptl_nthreads increment here, around
19141 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
19142 PD->parent_cancelhandling here, before create_thread. When
19143 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
19144 __deallocate_stack, and ENOMEM translation here.
19145
19146 2014-11-18 Joseph Myers <joseph@codesourcery.com>
19147
19148 [BZ #17616]
19149 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
19150 (mptwo): Rename to __mptwo.
19151 (__inv): Use __mptwo instead of mptwo.
19152 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
19153 (mptwo): Rename to __mptwo.
19154 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
19155 of mpone and __mptwo instead of mptwo.
19156 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
19157 instead of mpone.
19158 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19159 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
19160 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
19161 of mpone and __mptwo instead of mptwo.
19162 (__mpranred): Use __mpone instead of mpone.
19163 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
19164 variable.
19165 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19166 (test-xfail-ISO99/math.h/linknamespace): Likewise.
19167 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19168 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19169 (test-xfail-ISO11/math.h/linknamespace): Likewise.
19170 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19171 (test-xfail-XPG3/math.h/linknamespace): Likewise.
19172 (test-xfail-XPG4/math.h/linknamespace): Likewise.
19173 (test-xfail-POSIX/math.h/linknamespace): Likewise.
19174 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
19175 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19176 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19177 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19178 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19179 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19180 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19181 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19182 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
19183 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
19184
19185 2014-11-18 Tom de Vries <tom@codesoucery.com>
19186
19187 * manual/signal.texi (Primitives Interrupted by Signals): In section,
19188 replace BSD Handler xref with BSD Signal Handling.
19189
19190 2014-11-17 Richard Henderson <rth@redhat.com>
19191
19192 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
19193 (_FP_PACK_RAW_2): Remove.
19194 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
19195 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
19196 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
19197 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
19198 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
19199 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
19200 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
19201 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
19202 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
19203 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
19204 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
19205 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
19206 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
19207 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
19208 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
19209 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
19210
19211 2014-11-14 Roland McGrath <roland@hack.frob.com>
19212
19213 * signal/signal.h [__USE_MISC]
19214 (struct sigvec): Remove type.
19215 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
19216 (sigvec): Remove declaration.
19217 * sysdeps/posix/sigvec.c: Moved ...
19218 * signal/sigvec.c: ... here, replacing old file.
19219 (struct sigvec): New type, copied from old signal.h definition.
19220 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
19221 (__sigvec): Convert definition to prototype.
19222 (sigvec): Replace weak_alias with compat_symbol.
19223 * signal/Versions (libc: GLIBC_2.21): New version set.
19224 * include/signal.h: Remove __sigvec declaration.
19225 * sysdeps/unix/bsd/sigvec.c: Remove file.
19226 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
19227 * manual/signal.texi (BSD Handler): Remove subsection.
19228 Move siginterrupt up to ...
19229 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
19230 (Blocking in BSD): Fold subsection into its parent.
19231 * NEWS: Mention sigvec removal.
19232
19233 2014-11-14 Joseph Myers <joseph@codesourcery.com>
19234
19235 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
19236 (DLA_FMS): Make definition conditional only on [__FMA4__].
19237 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
19238 definition.
19239
19240 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
19241 Make definition conditional only on [PROF].
19242 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
19243 definition.
19244 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
19245 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
19246
19247 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
19248 !__GNUC__].
19249 * include/signal.h (__sigpause): Move declaration above call to
19250 libc_hidden_proto.
19251 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
19252 variable.
19253 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19254 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19255
19256 2014-11-14 David S. Miller <davem@davemloft.net>
19257
19258 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
19259 Define before including <string/memcpy.c> and <string/mempcpy.c>.
19260
19261 2014-11-14 Joseph Myers <joseph@codesourcery.com>
19262
19263 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
19264 * configure: Regenerated.
19265 * manual/install.texi (Tools for Compilation): Document a
19266 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
19267 compiler verified to work.
19268 * INSTALL: Regenerated.
19269
19270 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
19271 redeclare with asm name.
19272 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
19273 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
19274 including <string.h>.
19275 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19276 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
19277 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19278 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
19279 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19280 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19281 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19282
19283 2014-11-13 Joseph Myers <joseph@codesourcery.com>
19284
19285 * stdlib/strtol.c (__strtol): Use prototype definition.
19286
19287 [BZ #17594]
19288 * stdlib/strtol.c (SYM__): New macro.
19289 (SYM__1): Likewise.
19290 (__strtol): Likewise.
19291 (strtol): Rename to __strtol and define as weak alias of
19292 __strtol. Use libc_hidden_weak.
19293
19294 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19295
19296 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
19297 Use numbered labels in inline assembly.
19298
19299 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19300
19301 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
19302 Add setjmp LIBC_PROBE.
19303 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
19304 Likewise.
19305 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
19306 Add longjmp, longjmp_target LIBC_PROBE.
19307 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
19308 Likewise.
19309
19310 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19311
19312 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19313 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
19314 to get rid of unused variable warning.
19315
19316 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19317
19318 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
19319 Check for unwind_backtrace == NULL only in SHARED case.
19320 (__backchain_backtrace): Compile only in SHARED case.
19321 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
19322 Likewise.
19323 (__backchain_backtrace): Declare as static.
19324
19325 2014-11-12 Roland McGrath <roland@hack.frob.com>
19326
19327 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
19328 (__libc_multiple_threads_ptr): Variable moved ...
19329 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
19330
19331 2014-11-12 Joseph Myers <joseph@codesourcery.com>
19332
19333 * conform/GlibcConform.pm: New file.
19334 * conform/conformtest.pl: Use GlibcConform module.
19335 * conform/linknamespace.pl: New file.
19336 * conform/list-header-symbols.pl: Likewise.
19337 * conform/Makefile (linknamespace-symlists-base): New variable.
19338 (linknamespace-symlists-tests): Likewise.
19339 (linknamespace-header-base): Likewise.
19340 (linknamespace-header-tests): Likewise.
19341 (tests-special): Add new tests.
19342 ($(linknamespace-symlists-tests)): New rule.
19343 (linknamespace-libs): New variable.
19344 ($(objpfx)symlist-stdlibs): New rule.
19345 ($(linknamespace-header-tests)): Likewise.
19346 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
19347 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
19348 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
19349 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
19350 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
19351 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
19352 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
19353 (test-xfail-ISO/math.h/linknamespace): Likewise.
19354 (test-xfail-ISO/signal.h/linknamespace): Likewise.
19355 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
19356 (test-xfail-ISO/time.h/linknamespace): Likewise.
19357 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19358 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
19359 (test-xfail-ISO99/math.h/linknamespace): Likewise.
19360 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19361 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
19362 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19363 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19364 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
19365 (test-xfail-ISO11/math.h/linknamespace): Likewise.
19366 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19367 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
19368 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19369 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
19370 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
19371 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
19372 (test-xfail-XPG3/math.h/linknamespace): Likewise.
19373 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
19374 (test-xfail-XPG3/search.h/linknamespace): Likewise.
19375 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
19376 (test-xfail-XPG3/time.h/linknamespace): Likewise.
19377 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
19378 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19379 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
19380 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
19381 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19382 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19383 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
19384 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
19385 (test-xfail-XPG4/math.h/linknamespace): Likewise.
19386 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
19387 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19388 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19389 (test-xfail-XPG4/search.h/linknamespace): Likewise.
19390 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19391 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
19392 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
19393 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
19394 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
19395 (test-xfail-XPG4/time.h/linknamespace): Likewise.
19396 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
19397 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19398 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
19399 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19400 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19401 (test-xfail-POSIX/math.h/linknamespace): Likewise.
19402 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
19403 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
19404 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19405 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19406 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
19407 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19408 (test-xfail-POSIX/time.h/linknamespace): Likewise.
19409 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
19410 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19411 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19412 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
19413 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19414 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19415 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19416 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19417 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19418 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
19419 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
19420 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19421 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
19422 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
19423 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
19424 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19425 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
19426 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
19427 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19428 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19429 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19430 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19431 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19432 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19433 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
19434 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
19435 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19436 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
19437 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19438 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
19439 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19440 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19441 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19442 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
19443 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19444 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19445 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
19446 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
19447 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
19448 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
19449 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19450 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
19451 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
19452 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19453 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
19454 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
19455 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19456 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19457 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19458 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19459 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19460 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19461 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19462 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19463 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19464 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19465 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
19466 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19467 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
19468 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
19469 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
19470 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19471 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19472 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
19473 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19474 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19475 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19476 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
19477 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19478 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
19479 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19480 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19481 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19482 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19483 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
19484 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19485 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19486 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
19487 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
19488 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19489 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
19490 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19491 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
19492 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
19493 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19494 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19495 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19496 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19497 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
19498 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
19499 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
19500 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
19501 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19502 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19503 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
19504 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
19505 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19506 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
19507
19508 [BZ #17589]
19509 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
19510 of fgets_unlocked.
19511
19512 [BZ #17585]
19513 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
19514 (memmem): Rename to __memmem and define as weak alias of
19515 __memmem. Use libc_hidden_weak.
19516 (__memmem): Use libc_hidden_def.
19517 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
19518 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
19519 memmem.
19520
19521 [BZ #17582]
19522 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
19523 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
19524 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
19525 and define as weak alias of __fgets_unlocked. Use
19526 libc_hidden_weak.
19527 (__fgets_unlocked): Use libc_hidden_def.
19528 * include/stdio.h (__fgets_unlocked): Declare. Use
19529 libc_hidden_proto.
19530 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
19531 __fgets_unlocked instead of fgets_unlocked.
19532 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
19533 (GET_NPROCS_CONF_PARSER): Likewise.
19534 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
19535 (GET_NPROCS_CONF_PARSER): Likewise.
19536
19537 [BZ #17574]
19538 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
19539 weak alias of __wmemset. Use libc_hidden_weak.
19540 (__wmemset): Use libc_hidden_def.
19541 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
19542 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
19543 of wmemset.
19544
19545 [BZ #17573]
19546 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
19547 with asm name __mempcpy.
19548 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
19549
19550 [BZ #17572]
19551 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
19552 and define as weak alias of __rawmemchr.
19553 (__rawmemchr): Do not define as strong alias of rawmemchr.
19554
19555 [BZ #17571]
19556 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
19557 alias of __qsort_r.
19558 (qsort): Call __qsort_r instead of qsort_r.
19559 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
19560 (__qsort_r): Declare. Call libc_hidden_proto.
19561 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
19562 instead of qsort_r.
19563 * nscd/gai.c (__qsort_r): Define to qsort_r.
19564 * posix/tst-rfc3484.c (__qsort_r): Likewise.
19565 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
19566 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
19567
19568 [BZ #17570]
19569 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
19570 define as weak alias of __malloc_info.
19571
19572 [BZ #17584]
19573 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
19574 as weak alias of __rewinddir. Don't use libc_hidden_def.
19575 (__rewinddir): Use libc_hidden_def.
19576 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
19577 as weak alias of __rewinddir. Don't use libc_hidden_def.
19578 (__rewinddir): Use libc_hidden_def.
19579 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
19580 weak alias of __rewinddir. Don't use libc_hidden_def.
19581 (__rewinddir): Use libc_hidden_def.
19582 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
19583 (__rewinddir): Use libc_hidden_proto.
19584 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
19585 rewinddir.
19586 (__getcwd): Use __rewinddir instead of rewinddir.
19587
19588 [BZ #17583]
19589 * libio/fileno.c (fileno): Rename to __fileno and define as weak
19590 alias of __fileno. Use libc_hidden_weak.
19591 (__fileno): Use libc_hidden_def.
19592 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
19593 * libio/ftello.c (ftello): Rename to __ftello and define as weak
19594 alias of __ftello.
19595 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
19596 __ftello.
19597 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
19598 (__fread_unlocked): Define as strong alias of _IO_fread. Use
19599 libc_hidden_def.
19600 (fread_unlocked): Don't use libc_hidden_ver.
19601 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
19602 and define as weak alias of __fread_unlocked. Don't use
19603 libc_hidden_def.
19604 (__fread_unlocked): Use libc_hidden_def.
19605 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
19606 (ftello): Don't use libc_hidden_proto.
19607 (__ftello): Declare. Use libc_hidden_proto.
19608 (fread_unlocked): Don't use libc_hidden_proto.
19609 (__fread_unlocked): Declare. Use libc_hidden_proto.
19610 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
19611 and __ftello instead of fileno, fread_unlocked and ftello.
19612
19613 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19614
19615 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
19616 GOT12.
19617 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
19618 Likewise.
19619 (_dl_start_user): Likewise.
19620 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
19621
19622 2014-11-12 Carlos O'Donell <carlos@redhat.com>
19623 Siddhesh Poyarekar <siddhesh@redhat.com>
19624
19625 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
19626 Move argv and envp down instead of moving argc up.
19627 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
19628
19629 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
19630
19631 [BZ #17506]
19632 * test-skeleton.c (main): Return successful if one of
19633 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
19634 * string/tst-strcoll-overflow.c: Define expected status.
19635
19636 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
19637
19638 [BZ #17475]
19639 * locale/iso-639.def: Define Bhili and Tulu language codes.
19640
19641 2014-11-11 Alan Hayward <alan.hayward@arm.com>
19642
19643 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
19644
19645 2014-11-10 Renlin Li <Renlin.Li@arm.com>
19646
19647 [BZ #17555]
19648 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
19649
19650 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
19651
19652 * configure.ac: Updated check of minimal required version to
19653 2.22.
19654 * manual/install.texi (Tools for Compilation): Updated version
19655 number.
19656 * configure: Regenerated.
19657 * INSTALL: Likewise.
19658
19659 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
19660
19661 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
19662 __tls_get_addr.
19663
19664 2014-11-07 Joseph Myers <joseph@codesourcery.com>
19665
19666 * include/sys/wait.h (__libc_waitpid): Remove declaration.
19667 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
19668 (__waitpid): Don't define as alias. Use libc_hidden_def not
19669 libc_hidden_weak.
19670 (waitpid): Define as alias of __waitpid.
19671 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
19672 __waitpid.
19673 (__waitpid): Don't define as alias. Use libc_hidden_def not
19674 libc_hidden_weak.
19675 (waitpid): Define as alias of __waitpid.
19676 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
19677 __libc_waitpid alias.
19678 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
19679 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
19680 Likewise.
19681 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
19682 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
19683 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
19684 alias.
19685 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
19686 __waitpid.
19687 (__waitpid): Don't define as alias. Use libc_hidden_def not
19688 libc_hidden_weak.
19689 (waitpid): Define as alias of __waitpid.
19690
19691 2014-11-06 Carlos O'Donell <carlos@redhat.com>
19692
19693 * manual/llio.texi: Add comment that write safety has been
19694 fixed in Linux.
19695
19696 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
19697 (localplt-build-dso): Add elf/ld.so.
19698 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
19699 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
19700 and free for ld.so.
19701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
19702 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
19703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
19704 Likewise.
19705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19706 Likewise.
19707 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
19708 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
19709 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
19710 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
19711 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
19712 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
19713 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
19714 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
19715 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
19716 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
19717 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19718
19719 2014-11-05 Joseph Myers <joseph@codesourcery.com>
19720
19721 [BZ #14132]
19722 * include/libc-symbols.h (INTUSE): Remove macro.
19723 (INTDEF): Likewise.
19724 (INTVARDEF): Likewise.
19725 (_INTVARDEF): Likewise.
19726 (INTDEF2): Likewise.
19727 (INTVARDEF2): Likewise.
19728 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
19729 rtld_hidden_def instead of INTVARDEF.
19730 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
19731 (_dl_starting_up_internal): Remove declaration.
19732 (_dl_starting_up): Use rtld_hidden_proto.
19733 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
19734 declaration.
19735 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
19736 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
19737 _dl_starting_up.
19738 * elf/dl-writev.h (_dl_writev): Likewise.
19739 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
19740 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
19741 _dl_starting_up_internal.
19742
19743 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19744
19745 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
19746 test-skeleton.c.
19747
19748 2014-11-05 Will Newton <will.newton@linaro.org>
19749
19750 * benchtests/Makefile: (bench-malloc): Add malloc thread
19751 scalability benchmark.
19752 * benchtests/bench-malloc-threads.c: New file.
19753
19754 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
19755
19756 * sysdeps/aarch64/strchrnul.S: New file.
19757
19758 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19759
19760 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
19761 definition.
19762 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19763 Likwise.
19764 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19765 Likewise.
19766 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19767 Likewise.
19768 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19769 Likewise.
19770 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19771 Likewise.
19772
19773 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
19774
19775 * catgets/test-gencat.c: Use test-skeleton.c.
19776 * catgets/tst-catgets.c: Likewise.
19777 * csu/tst-empty.c: Likewise.
19778 * elf/tst-audit2.c: Likewise.
19779 * elf/tst-global1.c: Likewise.
19780 * elf/tst-pathopt.c: Likewise.
19781 * elf/tst-piemod1.c: Likewise.
19782 * elf/tst-tls10.c: Likewise.
19783 * elf/tst-tls11.c: Likewise.
19784 * elf/tst-tls12.c: Likewise.
19785 * gnulib/tst-gcc.c: Likewise.
19786 * iconvdata/tst-e2big.c: Likewise.
19787 * iconvdata/tst-loading.c: Likewise.
19788 * iconv/tst-iconv1.c: Likewise.
19789 * iconv/tst-iconv2.c: Likewise.
19790 * inet/test-inet6_opt.c: Likewise.
19791 * inet/tst-gethnm.c: Likewise.
19792 * inet/tst-network.c: Likewise.
19793 * inet/tst-ntoa.c: Likewise.
19794 * intl/tst-codeset.c: Likewise.
19795 * intl/tst-gettext2.c: Likewise.
19796 * intl/tst-gettext3.c: Likewise.
19797 * intl/tst-ngettext.c: Likewise.
19798 * intl/tst-translit.c: Likewise.
19799 * io/test-stat.c: Likewise.
19800 * libio/test-fmemopen.c: Likewise.
19801 * libio/tst-freopen.c: Likewise.
19802 * libio/tst-sscanf.c: Likewise.
19803 * libio/tst-ungetwc1.c: Likewise.
19804 * libio/tst-ungetwc2.c: Likewise.
19805 * libio/tst-widetext.c: Likewise.
19806 * localedata/tst-ctype.c: Likewise.
19807 * localedata/tst-digits.c: Likewise.
19808 * localedata/tst-leaks.c: Likewise.
19809 * localedata/tst-mbswcs1.c: Likewise.
19810 * localedata/tst-mbswcs2.c: Likewise.
19811 * localedata/tst-mbswcs3.c: Likewise.
19812 * localedata/tst-mbswcs4.c: Likewise.
19813 * localedata/tst-mbswcs5.c: Likewise.
19814 * localedata/tst-setlocale.c: Likewise.
19815 * localedata/tst-trans.c: Likewise.
19816 * localedata/tst-wctype.c: Likewise.
19817 * localedata/tst-xlocale1.c: Likewise.
19818 * login/tst-grantpt.c: Likewise.
19819 * malloc/tst-calloc.c: Likewise.
19820 * malloc/tst-malloc.c: Likewise.
19821 * malloc/tst-mallocstate.c: Likewise.
19822 * malloc/tst-mcheck.c: Likewise.
19823 * malloc/tst-mtrace.c: Likewise.
19824 * malloc/tst-obstack.c: Likewise.
19825 * math/atest-exp2.c: Likewise.
19826 * math/atest-exp.c: Likewise.
19827 * math/atest-sincos.c: Likewise.
19828 * math/test-matherr.c: Likewise.
19829 * math/test-misc.c: Likewise.
19830 * math/test-powl.c: Likewise.
19831 * math/tst-definitions.c: Likewise.
19832 * misc/tst-dirname.c: Likewise.
19833 * misc/tst-efgcvt.c: Likewise.
19834 * misc/tst-fdset.c: Likewise.
19835 * misc/tst-hsearch.c: Likewise.
19836 * misc/tst-mntent2.c: Likewise.
19837 * nptl/tst-sem7.c: Likewise.
19838 * nptl/tst-sem8.c: Likewise.
19839 * nptl/tst-sem9.c: Likewise.
19840 * nss/test-netdb.c: Likewise.
19841 * posix/tst-fnmatch.c: Likewise.
19842 * posix/tst-getlogin.c: Likewise.
19843 * posix/tst-gnuglob.c: Likewise.
19844 * posix/tst-mmap.c: Likewise.
19845 * pwd/tst-getpw.c: Likewise.
19846 * resolv/tst-inet_ntop.c: Likewise.
19847 * rt/tst-timer.c: Likewise.
19848 * stdio-common/test-fseek.c: Likewise.
19849 * stdio-common/test-popen.c: Likewise.
19850 * stdio-common/test-vfprintf.c: Likewise.
19851 * stdio-common/tst-cookie.c: Likewise.
19852 * stdio-common/tst-fileno.c: Likewise.
19853 * stdio-common/tst-gets.c: Likewise.
19854 * stdio-common/tst-obprintf.c: Likewise.
19855 * stdio-common/tst-perror.c: Likewise.
19856 * stdio-common/tst-sprintf2.c: Likewise.
19857 * stdio-common/tst-sprintf3.c: Likewise.
19858 * stdio-common/tst-sprintf.c: Likewise.
19859 * stdio-common/tst-swprintf.c: Likewise.
19860 * stdio-common/tst-tmpnam.c: Likewise.
19861 * stdio-common/tst-unbputc.c: Likewise.
19862 * stdio-common/tst-wc-printf.c: Likewise.
19863 * stdlib/tst-environ.c: Likewise.
19864 * stdlib/tst-fmtmsg.c: Likewise.
19865 * stdlib/tst-limits.c: Likewise.
19866 * stdlib/tst-rand48-2.c: Likewise.
19867 * stdlib/tst-rand48.c: Likewise.
19868 * stdlib/tst-random2.c: Likewise.
19869 * stdlib/tst-random.c: Likewise.
19870 * stdlib/tst-strtol.c: Likewise.
19871 * stdlib/tst-strtoll.c: Likewise.
19872 * stdlib/tst-tls-atexit.c: Likewise.
19873 * stdlib/tst-xpg-basename.c: Likewise.
19874 * string/test-ffs.c: Likewise.
19875 * string/tst-bswap.c: Likewise.
19876 * string/tst-inlcall.c: Likewise.
19877 * string/tst-strtok.c: Likewise.
19878 * string/tst-strxfrm.c: Likewise.
19879 * sysdeps/x86_64/tst-audit10.c: Likewise.
19880 * sysdeps/x86_64/tst-audit3.c: Likewise.
19881 * sysdeps/x86_64/tst-audit4.c: Likewise.
19882 * sysdeps/x86_64/tst-audit5.c: Likewise.
19883 * time/tst-ftime_l.c: Likewise.
19884 * time/tst-getdate.c: Likewise.
19885 * time/tst-mktime3.c: Likewise.
19886 * time/tst-mktime.c: Likewise.
19887 * time/tst-posixtz.c: Likewise.
19888 * time/tst-strptime2.c: Likewise.
19889 * time/tst-strptime3.c: Likewise.
19890 * wcsmbs/tst-btowc.c: Likewise.
19891 * wcsmbs/tst-mbrtowc.c: Likewise.
19892 * wcsmbs/tst-mbsrtowcs.c: Likewise.
19893 * wcsmbs/tst-wchar-h.c: Likewise.
19894 * wcsmbs/tst-wcpncpy.c: Likewise.
19895 * wcsmbs/tst-wcrtomb.c: Likewise.
19896 * wcsmbs/tst-wcsnlen.c: Likewise.
19897 * wcsmbs/tst-wcstof.c: Likewise.
19898
19899 2014-11-04 Joseph Myers <joseph@codesourcery.com>
19900
19901 [BZ #14132]
19902 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
19903 INTDEF.
19904 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
19905 declaration.
19906 (_dl_mcount): Use rtld_hidden_proto.
19907 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
19908 _dl_mcount.
19909 * elf/rtld.c (_rtld_global_ro): Likewise.
19910
19911 [BZ #14132]
19912 * elf/dl-init.c (_dl_init): Don't use INTDEF.
19913 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
19914 of _dl_init_internal.
19915 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
19916 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
19917 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
19918 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
19919 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
19920 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
19921 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
19922 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
19923 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
19924 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
19925 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
19926 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
19927 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19928 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19929 * sysdeps/tile/dl-start.S (_start): Likewise.
19930 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
19931 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
19932
19933 [BZ #14132]
19934 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
19935 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
19936 (rtld_progname): Make macro definition unconditional.
19937 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
19938 INTDEF.
19939 (dlmopen_doit): Do not use INTUSE with _dl_argv.
19940 (dl_main): Likewise.
19941 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19942 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
19943 instead of _dl_argv_internal.
19944 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19945 __GI__dl_argv instead of INTUSE(_dl_argv).
19946 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
19947 __GI__dl_argv instead of _dl_argv_internal.
19948
19949 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
19950 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
19951 macro.
19952 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
19953 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
19954 New macro.
19955 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
19956 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
19957 macro.
19958 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
19959 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
19960
19961 2014-11-04 Andreas Schwab <schwab@suse.de>
19962
19963 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
19964
19965 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19966
19967 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
19968 mtvsrd instruction in binary form.
19969
19970 2014-11-03 Andreas Schwab <schwab@suse.de>
19971
19972 [BZ #17522]
19973 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
19974 for less than MB_LEN_MAX use a local buffer of that size.
19975 * libio/tst-fputws.c: New file.
19976 * libio/Makefile (tests): Add tst-fputws.
19977
19978 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
19979
19980 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
19981 the size of the fpu_fr.fpu_dregs[] array.
19982
19983 2014-11-01 Joseph Myers <joseph@codesourcery.com>
19984
19985 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
19986 (__nanosleep): Do not define as alias.
19987 (nanosleep): Define as alias of __nanosleep.
19988 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
19989 __libc_nanosleep name.
19990
19991 2014-10-31 Joseph Myers <joseph@codesourcery.com>
19992
19993 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
19994 install.texi in comment.
19995
19996 2014-10-31 Torvald Riegel <triegel@redhat.com>
19997
19998 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
19999 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
20000 ... add here and use lwsync or sync ...
20001 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
20002 ... and add here using lwsync.
20003
20004 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
20005
20006 * elf/dl-machine-reject-phdr.h: New file.
20007 * elf/dl-load.c: #include that.
20008 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
20009 if that returned true.
20010
20011 2014-10-31 Roland McGrath <roland@hack.frob.com>
20012
20013 [BZ #17496]
20014 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
20015 gen-as-const-headers chunk. Add a big scare comment after the last
20016 safe place to touch before-compile.
20017
20018 2014-10-31 Joseph Myers <joseph@codesourcery.com>
20019
20020 * manual/install.texi (Tools for Compilation): Update autoconf
20021 version requirements.
20022 * INSTALL: Regenerated.
20023
20024 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
20025 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
20026 (__libc_pselect): Likewise.
20027
20028 [BZ #14138]
20029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
20030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20033
20034 2014-10-31 Torvald Riegel <triegel@redhat.com>
20035
20036 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
20037 correct barrier instruction.
20038 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
20039 Likewise.
20040 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
20041 Likewise.
20042
20043 2014-10-30 Roland McGrath <roland@hack.frob.com>
20044
20045 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
20046 after defining inlines. Instead, just use parens to defeat macro
20047 expansion of __isctype in its declaration.
20048
20049 2014-10-30 Joseph Myers <joseph@codesourcery.com>
20050
20051 * include/sys/uio.h (__libc_readv): Remove declaration.
20052 (__libc_writev): Likewise.
20053 * misc/readv.c (__libc_readv): Rename to __readv.
20054 (__readv): Do not define as alias.
20055 (readv): Define as alias of __readv.
20056 * misc/writev.c (__libc_writev): Rename to __writev.
20057 (__writev): Do not define as alias.
20058 (writev): Define as alias of __writev.
20059 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
20060 (__readv): Do not define as alias.
20061 (readv): Define unconditionally as alias of __readv.
20062 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
20063 (__writev): Do not define as alias.
20064 (writev): Define unconditionally as alias of __writev.
20065 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
20066 name.
20067 (writev): Do not define __libc_writev name.
20068
20069 2014-10-30 Roland McGrath <roland@hack.frob.com>
20070
20071 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
20072 (convert_charseq): New function, broken out of ...
20073 (use_from_charmap): ... here. Call it.
20074 (use_to_charmap): Use convert_charseq and free instead of duplicating
20075 its code with a variable-length stack struct.
20076
20077 2014-10-30 Joseph Myers <joseph@codesourcery.com>
20078
20079 * include/fcntl.h (__libc_creat): Remove declaration.
20080 * io/creat.c (__libc_creat): Rename to creat.
20081 (creat): Do not define as alias.
20082 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
20083 of creat instead of __libc_creat.
20084 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
20085 to creat.
20086 (creat): Do not define as alias.
20087 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
20088 __libc_creat.
20089 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
20090 __libc_creat name.
20091 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
20092 Likewise.
20093
20094 2014-10-29 Carlos O'Donell <carlos@redhat.com>
20095
20096 * manual/llio.texi: Add comments discussing why write() may be
20097 considered MT-unsafe on Linux.
20098
20099 2014-10-28 Carlos O'Donell <carlos@redhat.com>
20100
20101 * dl-load.c (local_strdup): Remove.
20102 (expand_dynamic_string_token): Use __strdup.
20103 (decompose_rpath): Likewise.
20104 (_dl_map_object): Likewise.
20105
20106 2014-10-28 Joseph Myers <joseph@codesourcery.com>
20107
20108 [BZ #14132]
20109 * sysdeps/generic/unwind-dw2-fde.c
20110 (__register_frame_info_bases_internal): Do not declare.
20111 (__register_frame_info_table_bases_internal): Likewise.
20112 (__deregister_frame_info_bases_internal): Likewise.
20113 (__register_frame_info_bases): Declare and use hidden_proto before
20114 definition. Use hidden_def instead of INTDEF.
20115 (__register_frame_info_table_bases): Likewise.
20116 (__deregister_frame_info_bases): Likewise.
20117 (__register_frame_info): Do not use INTUSE.
20118 (__register_frame): Likewise.
20119 (__register_frame_info_table): Likewise.
20120 (__register_frame_table): Likewise.
20121 (__deregister_frame_info): Likewise.
20122 (__deregister_frame): Likewise.
20123
20124 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
20125
20126 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20127 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
20128 not undefine.
20129 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
20130 Likewise.
20131 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
20132 Likewise.
20133
20134 2014-10-27 Joseph Myers <joseph@codesourcery.com>
20135
20136 [BZ #14138]
20137 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
20138 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
20139 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
20140 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
20141 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
20142 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
20143 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
20144 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
20145 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
20146 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
20147 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
20148 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
20149 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
20150 syscall.
20151 (setfsuid): Likewise.
20152 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
20153 (setfsuid): Likewise.
20154 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
20155 (setfsuid): Likewise.
20156 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
20157 Likewise.
20158 (setfsuid): Likewise.
20159 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
20160 (setfsuid): Likewise.
20161 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
20162 Likewise.
20163 (setfsuid): Likewise.
20164
20165 2014-10-27 Andreas Schwab <schwab@suse.de>
20166
20167 [BZ #17501]
20168 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
20169 check for Slow_SSE4_2 feature bit.
20170 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
20171 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20172 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
20173 Likewise. Fix check for Fast_Unaligned_Load feature bit.
20174
20175 2014-10-24 Roland McGrath <roland@hack.frob.com>
20176
20177 * configure.ac: Validate compiler version with a empirical test of
20178 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
20179 $CC -v output.
20180 * configure: Regenerated.
20181
20182 * inet/htons.c (htons): Prototypify.
20183 * inet/htonl.c (htonl): Likewise.
20184
20185 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
20186
20187 * string/strncat.c (strncat): Improve performance by using strlen.
20188
20189 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
20190
20191 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
20192
20193 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
20194
20195 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
20196 Call libc_fetestexcept_aarch64.
20197
20198 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
20199
20200 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
20201 Call libc_feholdexcept_aarch64.
20202
20203 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
20204
20205 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
20206 Call get_rounding_mode.
20207
20208 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
20209
20210 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20211 Simplify logic.
20212
20213 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
20214
20215 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
20216 Simplify logic.
20217
20218 2014-10-24 Joseph Myers <joseph@codesourcery.com>
20219
20220 [BZ #14138]
20221 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
20222 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
20223 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
20224 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
20225 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
20226 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
20227 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
20228 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
20229 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
20230 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
20231 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20232 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
20233 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
20234 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
20235 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
20236 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
20237 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
20238 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
20239 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
20240 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
20241 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
20242 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
20243 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
20244 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
20245 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
20246 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
20247 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
20248 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
20249 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
20250 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
20251 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
20252 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
20253 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
20254 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
20255 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
20256 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
20257 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
20258 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
20259 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
20260 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
20261 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
20262 syscall.
20263 (geteuid): Likewise.
20264 (getgid): Likewise.
20265 (getuid): Likewise.
20266 (getresgid): Likewise.
20267 (getresuid): Likewise.
20268 (getgroups): Likewise.
20269 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
20270 (geteuid): Likewise.
20271 (getgid): Likewise.
20272 (getuid): Likewise.
20273 (getresgid): Likewise.
20274 (getresuid): Likewise.
20275 (getgroups): Likewise.
20276 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
20277 (geteuid): Likewise.
20278 (getgid): Likewise.
20279 (getuid): Likewise.
20280 (getresgid): Likewise.
20281 (getresuid): Likewise.
20282 (getgroups): Likewise.
20283 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
20284 Likewise.
20285 (geteuid): Likewise.
20286 (getgid): Likewise.
20287 (getuid): Likewise.
20288 (getresgid): Likewise.
20289 (getresuid): Likewise.
20290 (getgroups): Likewise.
20291 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
20292 (geteuid): Likewise.
20293 (getgid): Likewise.
20294 (getuid): Likewise.
20295 (getresgid): Likewise.
20296 (getresuid): Likewise.
20297 (getgroups): Likewise.
20298 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
20299 Likewise.
20300 (geteuid): Likewise.
20301 (getgid): Likewise.
20302 (getuid): Likewise.
20303 (getgroups): Likewise.
20304
20305 [BZ #14138]
20306 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
20307 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
20308 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
20309 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20310 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
20311 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
20312 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
20313 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
20314 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
20315 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
20316 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
20317 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
20318 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
20319 __chown.
20320 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
20321 (lchown): Likewise.
20322 (fchown): Likewise.
20323 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
20324 Likewise.
20325 (lchown): Likewise.
20326 (fchown): Likewise.
20327 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
20328 (lchown): Likewise.
20329 (fchown): Likewise.
20330 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
20331 Likewise.
20332 (lchown): Likewise.
20333 (fchown): Likewise.
20334
20335 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
20336
20337 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
20338 Simplify logic.
20339
20340 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
20341
20342 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20343 Cleanup logic.
20344
20345 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
20346
20347 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20348 Remove unused include.
20349
20350 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
20351
20352 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
20353 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
20354 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
20355 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
20356
20357 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
20358 Helge Deller <deller@gmx.de>
20359
20360 [BZ #17508]
20361 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
20362 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
20363 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
20364
20365 2014-10-23 Joseph Myers <joseph@codesourcery.com>
20366
20367 [BZ #14132]
20368 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
20369 Remove macro definition.
20370 (__ashrdi3_v_glibc20): Likewise.
20371 (__lshrdi3_v_glibc20): Likewise.
20372 (__cmpdi2_v_glibc20): Likewise.
20373 (__ucmpdi2_v_glibc20): Likewise.
20374 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
20375 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20376 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20377 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20378 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20379 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
20380
20381 2014-10-22 Roland McGrath <roland@hack.frob.com>
20382
20383 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
20384 old GNU extension [0] syntax.
20385 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
20386 alloca rather than an array member with variable length.
20387 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
20388 * nscd/nscd.c (invalidate_db): New function, broken out of ...
20389 (parse_opt): ... here. Likewise use alloca there.
20390 Validate the -i argument before checking for rootness.
20391 (send_shutdown): New function, broken out of ...
20392 (parse_opt): ... here.
20393
20394 2014-10-22 Roland McGrath <roland@hack.frob.com>
20395
20396 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
20397 macro to get at the _rt_local_ro field.
20398 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
20399 ([PIC] case) or _dl_hwcap ([!PIC] case).
20400 * sysdeps/arm/setjmp.S: Likewise.
20401
20402 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
20403 * sysdeps/arm/configure.ac: New check to define it.
20404 * sysdeps/arm/configure: Regenerated.
20405 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
20406 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
20407 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
20408 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
20409 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
20410 Use move/movt pair instead of a load.
20411 (LDST_GLOBAL): Macro removed.
20412 (LDR_GLOBAL): New macro replaces it.
20413 (LDR_HIDDEN): New macro.
20414 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
20415 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
20416
20417 * setjmp/tst-setjmp-static.c: New file.
20418 * setjmp/Makefile (tests): Add it.
20419 (tests-static): New variable.
20420
20421 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
20422
20423 [BZ #17485]
20424 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
20425
20426 2014-10-21 Joseph Myers <joseph@codesourcery.com>
20427
20428 [BZ #14132]
20429 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
20430
20431 2014-10-21 Roland McGrath <roland@hack.frob.com>
20432
20433 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
20434
20435 2014-10-20 Roland McGrath <roland@hack.frob.com>
20436
20437 * io/fts.c (dirent_not_directory): New function.
20438 (fts_build): Call it.
20439
20440 2014-10-20 Roland McGrath <roland@hack.frob.com>
20441
20442 * nptl/version.c (__nptl_main): Use normal __write rather than
20443 INTERNAL_SYSCALL.
20444 (banner): Update copyright years.
20445
20446 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
20447 gettimeofday.
20448 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
20449 * nptl/pthread_cond_timedwait.c: Likewise.
20450 * nptl/pthread_mutex_timedlock.c: Likewise.
20451 * nptl/sem_timedwait.c: Likewise.
20452
20453 * sysdeps/nptl/bits/libc-lock.h
20454 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20455 (__libc_lock_init_recursive): Return void, not 0.
20456 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
20457 (__libc_rwlock_init): Likewise.
20458 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
20459
20460 2014-10-20 Torvald Riegel <triegel@redhat.com>
20461
20462 [BZ #15215]
20463 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
20464 (__pthread_once_slow): ... here.
20465 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
20466 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
20467
20468 2014-10-20 Torvald Riegel <triegel@redhat.com>
20469
20470 [BZ #15215]
20471 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
20472 __PTHREAD_ONCE_FORK_GEN_INCR): New.
20473 * sysdeps/nptl/fork.c (__libc_fork): Use them.
20474 * nptl/pthread_once.c (__pthread_once): Likewise.
20475 Update comments.
20476
20477 2014-10-20 Joseph Myers <joseph@codesourcery.com>
20478
20479 [BZ #14138]
20480 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
20481 name.
20482 (writev): Use __libc_writev as strong name.
20483 * sysdeps/unix/sysv/linux/readv.c: Remove file.
20484 * sysdeps/unix/sysv/linux/writev.c: Likewise.
20485
20486 2014-10-17 Roland McGrath <roland@hack.frob.com>
20487
20488 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
20489
20490 * sysdeps/i386/nptl/tls.h
20491 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
20492 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
20493 New macros.
20494 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
20495 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
20496 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
20497 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
20498 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
20499 Call CHECK_THREAD_SYSINFO instead of doing an assert.
20500
20501 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20502 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
20503 on [__NR_futex].
20504 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
20505 broken out of ...
20506 (__pthread_mutex_init): ... here. Call it.
20507 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
20508 Conditionalize PI cases on [__NR_futex].
20509 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
20510 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
20511 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
20512
20513 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
20514 conditional on [SIGSETXID].
20515 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
20516 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
20517 is defined. Likewise for SIGSETXID.
20518 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
20519 Conditionalize definitions on [SIGSETXID].
20520 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
20521 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
20522 unblocking on [SIGCANCEL].
20523
20524 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
20525 [__NR_set_robust_list].
20526
20527 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20528
20529 * string/strcoll_l.c (get_next_seq): Fix up formatting.
20530 (do_compare): Likewise.
20531
20532 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
20533
20534 [BZ #15884]
20535 * string/strcoll_l.c: Don't include stdio.h.
20536 (coll_seq): Remove members idxarr and rulearr.
20537 (get_next_seq_cached): Remove function.
20538 (get_next_seq): Likewise.
20539 (get_next_seq_nocache): Rename to get_next_seq.
20540 (do_compare): Remove function.
20541 (do_compare_nocache): Rename to do_compare.
20542 (STRCOLL): Remove weight and rules cache.
20543
20544 2014-10-16 Roland McGrath <roland@hack.frob.com>
20545
20546 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
20547 * sysdeps/arm/sfp-machine.h: ... to here.
20548 * sysdeps/arm/Implies: Remove arm/soft-fp.
20549
20550 2014-10-14 Joseph Myers <joseph@codesourcery.com>
20551
20552 * conform/data/sys/utsname.h-data (*_t): Allow.
20553 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
20554 [POSIX] (WEXITED): Do not expect constant.
20555 [POSIX] (WSTOPPED): Likewise.
20556 [POSIX] (WNOHANG): Likewise.
20557 [POSIX] (WNOWAIT): Likewise.
20558 [POSIX] (siginfo_t): Do not expect type or elements.
20559 [POSIX] (pid_t): Do not expect type.
20560 [POSIX] (signal.h): Do not allow header.
20561 [POSIX] (sys/resource.h): Likewise.
20562 [POSIX] (si_*): Do not allow pattern.
20563 [POSIX] (W*): Likewise.
20564 [POSIX] (P_*): Likewise.
20565 [POSIX] (BUS_*): Likewise.
20566 [POSIX] (CLD_*): Likewise.
20567 [POSIX] (FPE_*): Likewise.
20568 [POSIX] (ILL_*): Likewise.
20569 [POSIX] (POLL_*): Likewise.
20570 [POSIX] (SEGV_*): Likewise.
20571 [POSIX] (SI_*): Likewise.
20572 [POSIX] (TRAP_*): Likewise.
20573 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
20574 variable.
20575
20576 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
20577
20578 [BZ #12926]
20579 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
20580 infinite loop when __recvmsg returns 0.
20581
20582 2014-10-10 Joseph Myers <joseph@codesourcery.com>
20583
20584 * CANCEL-FCT-WAIVE: Remove file.
20585 * CANCEL-FILE-WAIVE: Likewise.
20586
20587 [BZ #14132]
20588 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
20589 instead of INTVARDEF.
20590 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
20591 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
20592 rtld_hidden_data_def instead of INTVARDEF.
20593 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
20594 * elf/dl-deps.c (expand_dst): Likewise.
20595 * elf/dl-load.c (_dl_dst_count): Likewise.
20596 (_dl_dst_substitute): Likewise.
20597 (decompose_rpath): Likewise.
20598 (_dl_init_paths): Likewise.
20599 (open_path): Likewise.
20600 (_dl_map_object): Likewise.
20601 * elf/rtld.c (dl_main): Likewise.
20602 (process_dl_audit): Likewise.
20603 (process_envvars): Likewise.
20604 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
20605 Remove declaration.
20606 (__libc_enable_secure): Use rtld_hidden_proto.
20607
20608 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20609
20610 * elf/dl-load.c
20611 (add_path): New function broken out of _dl_rtld_di_serinfo.
20612 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
20613
20614 2014-10-09 Joseph Myers <joseph@codesourcery.com>
20615
20616 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
20617 parentheses around macro arguments.
20618 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
20619 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
20620 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
20621 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
20622 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
20623 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
20624 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
20625 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
20626 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
20627 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
20628 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
20629 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
20630 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
20631 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
20632 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
20633 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
20634 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
20635 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
20636 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
20637 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
20638 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
20639 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
20640 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
20641 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
20642 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
20643 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
20644 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
20645 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
20646 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
20647 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
20648 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
20649 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
20650 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
20651 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
20652 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
20653 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
20654 Likewise.
20655 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
20656 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
20657 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
20658 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
20659 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
20660 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
20661 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
20662 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
20663 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
20664 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
20665 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
20666 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
20667 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
20668 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
20669 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
20670 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
20671 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
20672 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
20673 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
20674 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
20675 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
20676 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
20677 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
20678 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
20679 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
20680 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
20681 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
20682 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
20683 (_FP_FRAC_SRS_1): Likewise.
20684 (_FP_FRAC_CLZ_1): Likewise.
20685 (_FP_MUL_MEAT_1_imm): Likewise.
20686 (_FP_MUL_MEAT_1_wide): Likewise.
20687 (_FP_MUL_MEAT_1_hard): Likewise.
20688 (_FP_SQRT_MEAT_1): Likewise.
20689 (_FP_FRAC_ASSEMBLE_1): Likewise.
20690 (_FP_FRAC_DISASSEMBLE_1): Likewise.
20691 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
20692 (__FP_CLZ_2): Likewise.
20693 (_FP_MUL_MEAT_2_wide): Likewise.
20694 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
20695 (_FP_MUL_MEAT_2_gmp): Likewise.
20696 (_FP_MUL_MEAT_2_120_240_double): Likewise.
20697 (_FP_SQRT_MEAT_2): Likewise.
20698 (_FP_FRAC_ASSEMBLE_2): Likewise.
20699 (_FP_FRAC_DISASSEMBLE_2): Likewise.
20700 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
20701 (_FP_FRAC_CLZ_4): Likewise.
20702 (_FP_MUL_MEAT_4_wide): Likewise.
20703 (_FP_MUL_MEAT_4_gmp): Likewise.
20704 (_FP_SQRT_MEAT_4): Likewise.
20705 (_FP_FRAC_ASSEMBLE_4): Likewise.
20706 (_FP_FRAC_DISASSEMBLE_4): Likewise.
20707 * soft-fp/op-common.h (_FP_CMP): Likewise.
20708 (_FP_CMP_EQ): Likewise.
20709 (_FP_CMP_UNORD): Likewise.
20710 (_FP_TO_INT): Likewise.
20711 (_FP_FROM_INT): Likewise.
20712 [!__FP_CLZ] (__FP_CLZ): Likewise.
20713 (_FP_DIV_HELP_imm): Likewise.
20714 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
20715 Likewise.
20716 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
20717 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
20718 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
20719 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
20720 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
20721 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
20722 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
20723 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
20724 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
20725 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
20726 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
20727 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
20728 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
20729 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
20730 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
20731 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
20732 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
20733 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
20734 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
20735 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
20736 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
20737 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
20738 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
20739 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
20740 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
20741 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
20742 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
20743 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
20744 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
20745 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
20746 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
20747 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
20748 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
20749 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
20750 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
20751 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
20752 (FP_UNPACK_RAW_SP): Likewise.
20753 (FP_PACK_RAW_S): Likewise.
20754 (FP_PACK_RAW_SP): Likewise.
20755 (FP_UNPACK_S): Likewise.
20756 (FP_UNPACK_SP): Likewise.
20757 (FP_UNPACK_SEMIRAW_S): Likewise.
20758 (FP_UNPACK_SEMIRAW_SP): Likewise.
20759 (FP_PACK_S): Likewise.
20760 (FP_PACK_SP): Likewise.
20761 (FP_PACK_SEMIRAW_S): Likewise.
20762 (FP_PACK_SEMIRAW_SP): Likewise.
20763 (_FP_SQRT_MEAT_S): Likewise.
20764 (FP_CMP_S): Likewise.
20765 (FP_CMP_EQ_S): Likewise.
20766 (FP_CMP_UNORD_S): Likewise.
20767 (FP_TO_INT_S): Likewise.
20768 (FP_FROM_INT_S): Likewise.
20769
20770 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
20771
20772 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
20773 (FP_EX_INVALID_IMZ): Likewise.
20774 (FP_EX_INVALID_IMZ_FMA): Likewise.
20775 (FP_EX_INVALID_ISI): Likewise.
20776 (FP_EX_INVALID_ZDZ): Likewise.
20777 (FP_EX_INVALID_IDI): Likewise.
20778 (FP_EX_INVALID_SQRT): Likewise.
20779 (FP_EX_INVALID_CVI): Likewise.
20780 (FP_EX_INVALID_VC): Likewise.
20781 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
20782 "invalid" exceptions.
20783 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
20784 (_FP_ADD_INTERNAL): Likewise.
20785 (_FP_MUL): Likewise.
20786 (_FP_FMA): Likewise.
20787 (_FP_DIV): Likewise.
20788 (_FP_CMP_CHECK_NAN): Likewise.
20789 (_FP_SQRT): Likewise.
20790 (_FP_TO_INT): Likewise.
20791 (FP_EXTEND): Likewise.
20792
20793 2014-10-09 Allan McRae <allan@archlinux.org>
20794
20795 * po/fr.po: Update French translation from translation project.
20796
20797 2014-10-09 Joseph Myers <joseph@codesourcery.com>
20798
20799 [BZ #14132]
20800 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
20801 of INTDEF.
20802 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
20803 (__cxa_atexit): Use libc_hidden_proto.
20804 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
20805
20806 [BZ #14132]
20807 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
20808 declaration.
20809 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
20810 [!_ISOMAC] (__iswspace_l_internal): Likewise.
20811 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
20812 [!_ISOMAC] (__iswctype_internal): Likewise.
20813 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
20814 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
20815 alias.
20816 (fcntl): Remove __fcntl_internal alias.
20817 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
20818 __connect_internal alias.
20819 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
20820 Likewise.
20821
20822 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
20823 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
20824 FP_DENORM_ZERO.
20825 (_FP_CHECK_FLUSH_ZERO): New macro.
20826 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
20827 (_FP_CMP): Likewise.
20828 (_FP_CMP_EQ): Likewise.
20829 (_FP_TO_INT): Do not set inexact for subnormal arguments if
20830 FP_DENORM_ZERO.
20831 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
20832 (FP_TRUNC): Likewise.
20833
20834 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
20835 treated as invalid conversion, not as normal exponent.
20836
20837 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
20838 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
20839 (_FP_CMP_EQ): Likewise.
20840 (_FP_CMP_UNORD): Likewise.
20841 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
20842 (FP_CMP_EQ_D): Likewise.
20843 (FP_CMP_UNORD_D): Likewise.
20844 * soft-fp/extended.h (FP_CMP_E): Likewise.
20845 (FP_CMP_EQ_E): Likewise.
20846 (FP_CMP_UNORD_E): Likewise.
20847 * soft-fp/quad.h (FP_CMP_Q): Likewise.
20848 (FP_CMP_EQ_Q): Likewise.
20849 (FP_CMP_UNORD_Q): Likewise.
20850 * soft-fp/single.h (FP_CMP_S): Likewise.
20851 (FP_CMP_EQ_S): Likewise.
20852 (FP_CMP_UNORD_S): Likewise.
20853 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
20854 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
20855 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
20856 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
20857 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
20858 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
20859 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
20860 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
20861 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
20862 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
20863 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
20864 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
20865 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
20866 to FP_CMP_Q.
20867 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
20868 FP_CMP_Q.
20869 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
20870 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
20871 FP_CMP_EQ_Q.
20872 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
20873 FP_CMP_Q.
20874 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
20875 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
20876 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
20877 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
20878 FP_CMP_EQ_Q.
20879 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
20880 FP_CMP_Q.
20881 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
20882 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
20883 FP_CMP_EQ_Q.
20884 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
20885 FP_CMP_Q.
20886 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
20887 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
20888 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
20889 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
20890 FP_CMP_EQ_Q.
20891
20892 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
20893 a subnormal result, set the underflow exception if trapping on
20894 underflow is enabled.
20895 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
20896 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
20897 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
20898 redefine to 0.
20899 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
20900 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
20901 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
20902 * soft-fp/extendxftf2.c (__extendxftf2): Use
20903 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
20904
20905 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
20906 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
20907 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20908 FP_HANDLE_EXCEPTIONS.
20909 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
20910 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20911 FP_HANDLE_EXCEPTIONS.
20912 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
20913 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20914 FP_HANDLE_EXCEPTIONS.
20915 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
20916 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20917 FP_HANDLE_EXCEPTIONS.
20918
20919 2014-10-08 Joseph Myers <joseph@codesourcery.com>
20920
20921 [BZ #14132]
20922 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
20923 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
20924 use INTUSE.
20925 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
20926 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
20927 Remove alias.
20928 (__adjtimex): Define using libc_hidden_ver.
20929 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
20930 Remove declaration.
20931 (ntp_gettime): Call __adjtimex directly.
20932 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
20933 Remove declaration.
20934 (ntp_gettimex): Call __adjtimex directly.
20935 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
20936 __adjtimex_internal alias.
20937
20938 2014-10-08 Roland McGrath <roland@hack.frob.com>
20939
20940 [BZ #17460]
20941 * nscd/nscd.c (more_help): Rewrite list of tables collection
20942 using xstrdup and asprintf.
20943
20944 * nscd/nscd_conf.c: Remove local xstrdup declaration.
20945
20946 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20947 Roland McGrath <roland@hack.frob.com>
20948
20949 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
20950 (do_lookup_unique): ... local function 'enter' here; update callers.
20951
20952 2014-10-06 Joseph Myers <joseph@codesourcery.com>
20953
20954 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
20955 compat_symbol calls on [SHARED].
20956 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
20957 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
20958 Remove.
20959 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20960 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
20961 (oldsetrlimit): Remove.
20962 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
20964 (lchown): New syscall entry.
20965 (oldsetrlimit): Remove.
20966 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20967 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
20968 (oldsetrlimit): Remove.
20969 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20970
20971 [BZ #14138]
20972 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
20973 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
20974 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
20975 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
20976 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
20977 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
20978 (fchown): Likewise.
20979 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
20980 (fchown): Likewise.
20981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
20982 Likewise.
20983
20984 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20985
20986 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
20987 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
20988 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
20989 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
20990 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
20991 Likewise.
20992 (__old_sem_post): Likewise.
20993
20994 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
20995
20996 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
20997 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
20998 HAVE_CLOCK_GETTIME_VSYSCALL macros.
20999 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
21000 Use INLINE_VSYSCALL macro.
21001 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
21002 __vdso_clock_gettime.
21003 * sysdeps/unix/sysv/linux/tile/init-first.c
21004 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
21005 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
21006 __vdso_clock_gettime.
21007
21008 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
21009 to set up frame more cleanly.
21010
21011 * sysdeps/tile/memcmp.c: New file.
21012
21013 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
21014
21015 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
21016 * sysdeps/tile/tilegx/strcasestr.c: New file.
21017 * sysdeps/tile/tilegx/strnlen.c: New file.
21018 * sysdeps/tile/tilegx/strstr.c: New file.
21019
21020 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
21021
21022 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
21023
21024 * nptl/tst-setuid3.c: Write errors to stdout.
21025
21026 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21027
21028 * elf/dl-deps.c
21029 (preload): New functions broken out of _dl_map_object_deps.
21030 (_dl_map_object_deps): Remove a nested function. Update call sites.
21031
21032 2014-10-01 Joseph Myers <joseph@codesourcery.com>
21033
21034 [BZ #14138]
21035 * sysdeps/unix/sysv/linux/execve.c: Remove file.
21036 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
21037
21038 2014-10-01 Steve Ellcey <sellcey@mips.com>
21039
21040 * sysdeps/mips/strcmp.S: New.
21041
21042 2014-09-30 Joseph Myers <joseph@codesourcery.com>
21043
21044 [BZ #14138]
21045 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
21046 (linkat): Likewise.
21047 (mkdirat): Likewise.
21048 (readlinkat): Likewise.
21049 (renameat): Likewise.
21050 (symlinkat): Likewise.
21051 (unlinkat): Likewise.
21052 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
21053 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
21054 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
21055 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
21056 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
21057 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
21058 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
21059
21060 2014-09-30 Will Newton <will.newton@linaro.org>
21061
21062 * math/math.h: Define long double math functions if
21063 _LIBC_TEST is defined.
21064 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
21065
21066 * localedata/Makefile: Move assignment to tests-special
21067 into an ifdef testing run-built-tests.
21068 * timezone/Makefile: Likewise.
21069
21070 2014-09-29 Joseph Myers <joseph@codesourcery.com>
21071
21072 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
21073 with $(BASH) not $(SHELL).
21074
21075 2014-09-29 Carlos O'Donell <carlos@redhat.com>
21076 Matthew LeGendre <legendre1@llnl.gov>
21077
21078 [BZ #17411]
21079 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
21080 l_reloc_result.
21081
21082 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21083
21084 * stdio-common/printf_fp.c
21085 (hack_digit): New function, broken out of ...
21086 (__printf_fp): ... local function here. Update call sites.
21087 hack_digit now takes an additional parameter that is a pointer
21088 to a struct of the referenced locals. Those locals moved inside
21089 the struct and references updated.
21090
21091 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
21092
21093 * aclocal.m4: Require autoconf 2.69.
21094 * configure: Regenerated.
21095 * sysdeps/aarch64/configure: Likewise.
21096 * sysdeps/alpha/configure: Likewise.
21097 * sysdeps/arm/armv7/configure: Likewise.
21098 * sysdeps/arm/configure: Likewise.
21099 * sysdeps/ia64/configure: Likewise.
21100 * sysdeps/mach/configure: Likewise.
21101 * sysdeps/mips/configure: Likewise.
21102 * sysdeps/s390/configure: Likewise.
21103 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
21104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
21105
21106 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
21107 file.
21108 * sysdeps/ia64/configure.ac: Likewise.
21109
21110 2014-09-26 Joseph Myers <joseph@codesourcery.com>
21111
21112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
21113 specify symbol version for ld.so. Do not include entry for
21114 libpthread.
21115 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21116 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21117 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21118
21119 [BZ #14171]
21120 * Makeconfig [$(build-shared) = yes]
21121 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
21122 makefiles.
21123 [$(build-shared) = yes && $(soversions.mk-done) = t]
21124 ($(common-objpfx)gnu/lib-names.h): Remove rule.
21125 [$(build-shared) = yes && $(soversions.mk-done) = t]
21126 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
21127 to Makerules.
21128 [$(build-shared) = yes && $(soversions.mk-done) = t]
21129 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
21130 here.
21131 [$(build-shared) = yes && $(soversions.mk-done) = t]
21132 (common-generated): Don't append gnu/lib-names.h and
21133 gnu/lib-names.stmp here.
21134 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
21135 (lib-names-h-abi): New variable.
21136 [$(build-shared) = yes && $(soversions.mk-done) = t]
21137 (lib-names-stmp-abi): Likewise.
21138 [$(build-shared) = yes && $(soversions.mk-done) = t &&
21139 abi-variants] (before-compile): Append
21140 $(common-objpfx)$(lib-names-h-abi).
21141 [$(build-shared) = yes && $(soversions.mk-done) = t &&
21142 abi-variants] (common-generated): Append gnu/lib-names.h.
21143 [$(build-shared) = yes && $(soversions.mk-done) = t &&
21144 abi-variants] (install-others-nosubdir): Depend on
21145 $(inst_includedir)/$(lib-names-h-abi).
21146 [$(build-shared) = yes && $(soversions.mk-done) = t &&
21147 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
21148 [$(build-shared) = yes && $(soversions.mk-done) = t]
21149 ($(common-objpfx)$(lib-names-h-abi)): New rule.
21150 [$(build-shared) = yes && $(soversions.mk-done) = t]
21151 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
21152 [$(build-shared) = yes && $(soversions.mk-done) = t]
21153 (common-generated): Append $(lib-names-h-abi) and
21154 $(lib-names-stmp-abi).
21155 * scripts/lib-names.awk: Do not handle multi being set.
21156 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
21157 Remove variable.
21158 (abi-lp64_be-ld-soname): Likewise.
21159 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
21160 Likewise.
21161 (abi-hard-ld-soname): Likewise.
21162 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
21163 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
21164 Remove variable.
21165 (abi-o32_hard-ld-soname): Likewise.
21166 (abi-o32_soft_2008-ld-soname): Likewise.
21167 (abi-o32_hard_2008-ld-soname): Likewise.
21168 (abi-n32_soft-ld-soname): Likewise.
21169 (abi-n32_hard-ld-soname): Likewise.
21170 (abi-n32_soft_2008-ld-soname): Likewise.
21171 (abi-n32_hard_2008-ld-soname): Likewise.
21172 (abi-n64_soft-ld-soname): Likewise.
21173 (abi-n64_hard-ld-soname): Likewise.
21174 (abi-n64_soft_2008-ld-soname): Likewise.
21175 (abi-n64_hard_2008-ld-soname): Likewise.
21176 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
21177 Likewise.
21178 (abi-64-v2-ld-soname): Likewise.
21179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
21180 ld.so entries.
21181 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
21182 variable.
21183 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
21184 entry.
21185 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
21186 variable.
21187 (abi-64-ld-soname): Likewise.
21188 (abi-x32-ld-soname): Likewise.
21189 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
21190 entry.
21191 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21192
21193 2014-09-23 Joseph Myers <joseph@codesourcery.com>
21194
21195 [BZ #14138]
21196 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
21197 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
21198 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
21199 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
21200 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
21201 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
21202 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
21203 syscall entry for GLIBC_2.2 symbol version.
21204 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
21205 Likewise.
21206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21207 (setrlimit): Likewise.
21208 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
21209 Likewise.
21210
21211 2014-09-23 Will Newton <will.newton@linaro.org>
21212
21213 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
21214 _LINUX_ARM_SYSDEP_H include guard too.
21215 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
21216 define.
21217
21218 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
21219
21220 * sysdeps/unix/sysv/linux/eventfd.c:
21221 Make first argument unsigned.
21222 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
21223 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
21224
21225 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
21226
21227 * socket/recvmmsg.c (recvmmsg): Drop const argument.
21228 * socket/sys/socket.h: Likewise
21229 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
21230
21231 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21232
21233 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
21234
21235 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
21236
21237 * time/tst-ftime.c: New test.
21238 * time/Makefile (tests): Add tst-ftime.
21239
21240 2014-09-17 Joseph Myers <joseph@codesourcery.com>
21241
21242 * soft-fp/extended.h: Fix comment formatting.
21243 * soft-fp/op-1.h: Likewise.
21244 * soft-fp/op-2.h: Likewise.
21245 * soft-fp/op-4.h: Likewise.
21246 * soft-fp/op-8.h: Likewise.
21247 * soft-fp/op-common.h: Likewise.
21248 * soft-fp/soft-fp.h: Likewise.
21249
21250 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
21251
21252 2014-09-16 Joseph Myers <joseph@codesourcery.com>
21253
21254 [BZ #6652]
21255 * Makeconfig (soversions-default-setname): Remove variable.
21256 ($(common-objpfx)soversions.i): Don't pass default_setname to
21257 soversions.awk.
21258 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
21259 oldest_abi to abi-versions.awk.
21260 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
21261 * config.make.in (oldest-abi): Remove variable.
21262 * configure.ac (--enable-oldest-abi): Remove configure option.
21263 * configure: Regenerated.
21264 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
21265 text.
21266 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
21267 * scripts/soversions.awk: Do not handle default_setname variable.
21268 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
21269 variable.
21270 * sysdeps/mach/hurd/configure: Regenerated.
21271 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
21272 variable.
21273 * sysdeps/unix/sysv/linux/configure: Regenerated.
21274
21275 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21276
21277 * elf/Makefile (CFLAGS-interp.c): Remove.
21278 ($(elf-objpfx)runtime-linker.h): Generate header with linker
21279 path string.
21280 * elf/interp.c: Include generated runtime-linker.h
21281
21282 * Makerules (lib%.so): Don't include $(+interp) in
21283 prerequisites.
21284 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
21285 * dlfcn/eval.c: Remove file.
21286
21287 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
21288 macros.
21289
21290 [BZ #17266]
21291 * misc/sys/cdefs.h: Define __extern_always_inline for clang
21292 4.2 and newer.
21293
21294 [BZ #17370]
21295 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
21296
21297 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21298 Jakub Jelinek <jakub@redhat.com>
21299
21300 [BZ #17266]
21301 * libio/stdio.h: Check definition of __fortify_function
21302 instead of __extern_always_inline to include bits/stdio2.h.
21303 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
21304 check if __extern_always_inline is defined.
21305 [__USE_MISC || __USE_XOPEN]: Likewise.
21306 [__USE_ISOC99] Likewise.
21307 * misc/sys/cdefs.h (__fortify_function): Define only if
21308 __extern_always_inline is defined.
21309 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
21310 __extern_always_inline and __extern_inline only for g++-4.3
21311 and newer or a compatible gcc.
21312
21313 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
21314
21315 [BZ #17371]
21316 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21317 last change to handle zero prefix length.
21318
21319 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21320
21321 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
21322 _SC_REGEX_VERSION.
21323
21324 * posix/getconf.c (vars): Add _POSIX_IPV6 and
21325 _POSIX_RAW_SOCKETS.
21326
21327 2014-09-13 Allan McRae <allan@archlinux.org>
21328
21329 * po/ru.po: Update Russian translation from translation project.
21330
21331 2014-09-12 Roland McGrath <roland@hack.frob.com>
21332
21333 * locale/programs/locale.c (show_locale_vars): Inline local function
21334 into its sole call site. Clean up some style nits.
21335 (print_item): New function, broken out of ...
21336 (show_info): ... local function here. Clean up style nits.
21337
21338 * locale/programs/ld-ctype.c (set_one_default): New function, broken
21339 out of ...
21340 (set_class_defaults): ... local function set_default here.
21341 Define set_default as a macro locally to pass constant parameters.
21342 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
21343 rather than a shared local.
21344
21345 * stdlib/rpmatch.c (try): New function, broken out of ...
21346 (rpmatch): ... local function here. Also, prototypify definition.
21347
21348 2014-09-12 Joseph Myers <joseph@codesourcery.com>
21349
21350 * scripts/soversions.awk: Do not handle configuration names.
21351 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
21352 vendor and os variables to soversions.awk.
21353 * configure.ac: Do not modify gnu-* host_os.
21354 * configure: Regenerated
21355 * shlib-versions: Remove first column with configuration names.
21356 * nptl/shlib-versions: Likewise.
21357 * nptl_db/shlib-versions: Likewise.
21358 * sysdeps/hppa/shlib-versions: Likewise.
21359 * sysdeps/m68k/shlib-versions: Likewise.
21360 * sysdeps/mach/hurd/shlib-versions: Likewise.
21361 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
21362 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
21363 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
21364 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
21365 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
21366 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
21367 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
21368 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
21369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21370 Likewise.
21371 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21372 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21373 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21374 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21375 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21376 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
21377 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21378 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21379
21380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21381 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
21382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21383 Regenerated.
21384 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
21385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21386 Condition symbol version definitions on [HAVE_ELFV2_ABI].
21387
21388 * shlib-versions: Remove OS-specific entries. Moved to files in
21389 sysdeps.
21390 * sysdeps/mach/hurd/shlib-versions: New file.
21391 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21392
21393 * nptl/shlib-versions: Remove architecture-specific entries.
21394 Moved to files in sysdeps.
21395 * shlib-versions: Likewise.
21396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
21397 file.
21398 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21399 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21400 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21401 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21402
21403 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
21404 (UDP_NO_CHECK6_RX): Likewise.
21405
21406 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21407
21408 * sysdeps/posix/sysconf.c (__sysconf): Spell
21409 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
21410
21411 2014-08-12 Florian Weimer <fweimer@redhat.com>
21412
21413 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
21414 loading.
21415 * iconv/Versions (__gconv_transliterate): Export for use from
21416 gconv modules.
21417 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
21418 (struct __gconv_trans_data, __gconv_trans_fct,
21419 __gconv_trans_context_fct, __gconv_trans_query_fct,
21420 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
21421 definitions.
21422 (struct __gconv_step_data): Remove __trans member.
21423 (__gconv_transliterate): Declaration moved from gconv_int.h. No
21424 longer hidden. Remove unused trans_data argument.
21425 * iconv/gconv_int.h (struct trans_struct): Remove definition.
21426 (__gconv_translit_find): Remove declaration.
21427 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
21428 prototype.
21429 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
21430 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
21431 trans_data argument. Add hidden definition.
21432 (__gconv_translit_find): Remove.
21433 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
21434 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
21435 * iconv/skeleton.c: Remove transliteration initialization.
21436 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
21437 __gconv_step_data initialization.
21438 * libio/iofwide.c (__libio_translit_): Remove.
21439 (_IO_fwide): Adjust struct __gconv_step_data initialization.
21440 * wcsmbs/btowc.c (__btowc): Likewise.
21441 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21442 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21443 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
21444 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
21445 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
21446 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
21447 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
21448 * wcsmbs/wctob.c (wctob): Likewise.
21449
21450 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21451
21452 [BZ #16194]
21453 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
21454 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
21455 register usage.
21456 * sysdeps/x86/Makefile: Adjust.
21457
21458 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21459 Roland McGrath <roland@hack.frob.com>
21460
21461 * locale/weight.h: Add include guard.
21462 (findidx): Make static rather than auto; take new parameters
21463 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
21464 * locale/weightwc.h: Likewise.
21465 * posix/fnmatch_loop.c
21466 (FCT): Change type of EXTRA from int32_t to wint_t.
21467 Don't include either header inside the function.
21468 Call FINDIDX rather than findidx, and pass new arguments.
21469 #undef FINDIDX at the end of the file.
21470 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
21471 FINDIDX before including fnmatch_loop.c for the non-wide version.
21472 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
21473 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
21474 for the wide version.
21475 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
21476 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
21477 Pass new arguments to findidx.
21478 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
21479 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
21480 Don't #include it inside the function. Pass new arguments to findidx.
21481 * posix/regex_internal.h
21482 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
21483 (re_string_elem_size_at): Don't #include it inside the function.
21484 Pass new arguments to findidx.
21485 * string/strcoll_l.c: #include WEIGHT_H at top level.
21486 (get_next_seq): Don't #include it inside the function.
21487 Pass new arguments to findidx.
21488 (get_next_seq_nocache): Likewise.
21489 * string/strxfrm_l.c: #include WEIGHT_H at top level.
21490 (STRXFRM): Don't #include it inside the function.
21491 Pass new arguments to findidx.
21492
21493 2014-09-11 Florian Weimer <fweimer@redhat.com>
21494
21495 [BZ #17344]
21496 * malloc/malloc.c (unlink): Turn asserts into a call to
21497 malloc_printerr.
21498
21499 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
21500
21501 [BZ #17370]
21502 * libio/wfileops (do_ftell_wide): Free OUT.
21503
21504 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
21505
21506 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
21507
21508 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21509
21510 [BZ #17363]
21511 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
21512 group if the current group is empty.
21513
21514 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21515
21516 * benchtests/bench-memset.c (test_main): Add more test from size
21517 from 32 to 512 bytes.
21518 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21519 Add POWER8 memset object.
21520 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21521 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
21522 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
21523 implementation.
21524 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
21525 Likewise.
21526 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
21527 multiarch POWER8 memset optimization.
21528 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
21529 POWER8 memset optimization.
21530
21531 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21532 Remove bzero multiarch objects.
21533 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
21534 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
21535 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
21536 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
21537 Remove define.
21538 [__bzero]: Redefine to specific name.
21539 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
21540 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
21541 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
21542 define.
21543 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21544 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21545
21546 2014-09-10 Florian Weimer <fweimer@redhat.com>
21547
21548 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
21549 warnings into errors.
21550
21551 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
21552 __cxa_thread_atexit_impl prototype.
21553
21554 2014-09-09 Steve Ellcey <sellcey@mips.com>
21555
21556 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
21557 Fix capitalization of error message.
21558
21559 2014-09-09 Steve Ellcey <sellcey@mips.com>
21560
21561 * sysdeps/mips/preconfigure: Modify ABI tests.
21562
21563 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
21564
21565 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
21566
21567 2014-09-07 Roland McGrath <roland@hack.frob.com>
21568 Carlos O'Donell <carlos@systemhalted.org>
21569
21570 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
21571 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
21572 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
21573 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
21574 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
21575 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
21576 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
21577 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
21578 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
21579 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
21580 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
21581 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
21582 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
21583 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
21584 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
21585 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
21586 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
21587 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
21588 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
21589 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
21590 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
21591 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
21592 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
21593 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
21594 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
21595 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
21596 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
21597 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
21598 Deconditionalize the code that was previously under [RESET_PID].
21599 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
21600 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
21601 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
21602 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
21603 include sysdep.h.
21604
21605 2014-09-08 Allan McRae <allan@archlinux.org>
21606
21607 * version.h (RELEASE): Set to "development".
21608 (VERSION): Set to "2.20.90"
21609
21610 2014-09-07 Allan McRae <allan@archlinux.org
21611
21612 * version.h (RELEASE): Set to "stable".
21613 (VERSION): Set to "2.20"
21614 * include/features.h (__GLIBC_MINOR__): Set to 20.
21615
21616 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
21617 Liebler.
21618
21619 * po/ko.po: Update Korean translation from translation project.
21620
21621 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
21622
21623 [BZ #17354]
21624 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
21625 macro for handling signed relocations.
21626
21627 2014-09-03 Florian Weimer <fweimer@redhat.com>
21628
21629 [BZ #17325]
21630 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
21631 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
21632 assert.
21633 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
21634 * iconvdata/ibm935.c (BODY): Likewise.
21635 * iconvdata/ibm937.c (BODY): Likewise.
21636 * iconvdata/ibm939.c (BODY): Likewise.
21637 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
21638 assert.
21639 * iconvdata/Makefile (iconv-test.out): Pass module list to test
21640 script.
21641 * iconvdata/run-iconv-test.sh: New test loop for checking for
21642 decoder crashers.
21643
21644 2014-09-02 Khem Raj <raj.khem@gmail.com>
21645
21646 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
21647 libm_hidden_ver.
21648
21649 2014-09-01 Allan McRae <allan@archlinux.org>
21650
21651 * po/eo.po: Update Esperanto translation from translation project.
21652
21653 * po/ca.po: Update Catalan translation from translation project.
21654
21655 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
21656
21657 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
21658 __proc_dostop call.
21659
21660 2014-08-27 Mark Wielaard <mjw@redhat.com>
21661
21662 [BZ #17319]
21663 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
21664 to call set_thread_area instead of hand written asm.
21665 (__NR_set_thread_area): Removed define.
21666 (TLS_FLAG_WRITABLE): Likewise.
21667 (__ASSUME_SET_THREAD_AREA): Remove check.
21668 (TLS_EBX_ARG): Remove define.
21669 (TLS_LOAD_EBX): Likewise.
21670
21671 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
21672
21673 Simplify atomicity of socket creation in bind.
21674
21675 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
21676 looking up the name after linking the file.
21677
21678 2014-08-27 Allan McRae <allan@archlinux.org>
21679
21680 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21681
21682 2014-08-26 Florian Weimer <fweimer@redhat.com>
21683
21684 [BZ #17187]
21685 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
21686 trans_compare, open_translit, __gconv_translit_find):
21687 Remove module loading code.
21688
21689 2014-08-26 Allan McRae <allan@archlinux.org>
21690
21691 * po/vi.po: Update Vietnamese translation from translation project.
21692
21693 * po/uk.po: Update Ukrainian translation from translation project.
21694
21695 * po/fr.po: Update French translation from translation project.
21696
21697 * po/ru.po: Update Russian translation from translation project.
21698
21699 * po/pl.po: Update Polish translation from translation project.
21700
21701 * po/cs.po: Update Czech translation from translation project.
21702
21703 * po/de.po: Update German translation from translation project.
21704
21705 * po/bg.po: Update Bulgarian translation from translation project.
21706
21707 * po/sv.po: Update Sweedish translation from translation project.
21708
21709 * po/nl.po: Update Dutch translation from translation project.
21710
21711 * po/es.po: Update Spanish translation from translation project.
21712
21713 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21714
21715 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
21716
21717 * catgets/Makefile (CPPFLAGS-gencat): Remove.
21718 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
21719 (CPPFLAGS-iconvconfig): Likewise.
21720 * timezone/Makefile (CPPFLAGS-zic): Likewise.
21721
21722 * include/libc-symbols.h: Remove unnecessary check for
21723 NOT_IN_libc.
21724 * nptl/pthreadP.h: Likewise.
21725 * sysdeps/aarch64/setjmp.S: Likewise.
21726 * sysdeps/alpha/setjmp.S: Likewise.
21727 * sysdeps/arm/sysdep.h: Likewise.
21728 * sysdeps/i386/setjmp.S: Likewise.
21729 * sysdeps/m68k/setjmp.c: Likewise.
21730 * sysdeps/posix/getcwd.c: Likewise.
21731 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21732 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
21733 * sysdeps/s390/s390-32/setjmp.S: Likewise.
21734 * sysdeps/s390/s390-64/setjmp.S: Likewise.
21735 * sysdeps/sh/sh3/setjmp.S: Likewise.
21736 * sysdeps/sh/sh4/setjmp.S: Likewise.
21737 * sysdeps/unix/alpha/sysdep.h: Likewise.
21738 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21739 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21740 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
21741 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21744 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21745 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21746 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21747 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21748 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21749 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21750 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21751 * sysdeps/x86_64/setjmp.S: Likewise.
21752
21753 2014-08-13 Joseph Myers <joseph@codesourcery.com>
21754
21755 [BZ #17263]
21756 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
21757 <stdint.h>.
21758 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
21759 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
21760
21761 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21762
21763 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
21764
21765 [BZ #17262]
21766 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
21767 and __x86_64__ when disabling x87 inline functions.
21768
21769 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
21770
21771 [BZ #17259]
21772 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
21773 asm statement with __cpuid_count.
21774
21775 2014-08-12 Mike Frysinger <vapier@gentoo.org>
21776
21777 * configure.ac: Change __ehdr_start code to dereference the struct.
21778 Run readelf on the output to look for relocations.
21779 * configure: Regenerated.
21780
21781 2014-08-12 Joseph Myers <joseph@codesourcery.com>
21782
21783 [BZ #17261]
21784 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
21785 value to 0.
21786 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
21787
21788 2014-08-12 Roland McGrath <roland@hack.frob.com>
21789
21790 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
21791
21792 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
21793
21794 [BZ #16892]
21795 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
21796 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
21797
21798 2014-08-12 Sean Anderson <seanga2@gmail.com>
21799
21800 * malloc/malloc.c: Fix typo in comment.
21801
21802 2014-08-09 Allan McRae <allan@archlinux.org>
21803
21804 * Regenerate libc.po.
21805
21806 2014-08-08 Mike Frysinger <vapier@gentoo.org>
21807
21808 * intl/tst-gettext2.sh: Check every lang file for creation.
21809
21810 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
21811
21812 * sysdeps/aarch64/fpu/math_private.h
21813 (libc_feholdsetround_noex_aarch64_ctx): New function.
21814
21815 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
21816
21817 * sysdeps/arm/armv6/strcpy.S (strcpy):
21818 Fix performance issue in misaligned cases.
21819
21820 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21821
21822 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
21823 Move definition from termios.h.
21824 (struct termio): Likewise.
21825 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21826 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
21827 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
21828 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
21829 Likewise.
21830 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
21831 Move definition to ioctl-types.h
21832 (struct termio): Likewise.
21833 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21834 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
21835 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
21836 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
21837 Likewise.
21838
21839 2014-08-05 Richard Henderson <rth@redhat.com>
21840
21841 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
21842 exceptions.
21843 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
21844 Add fraiseexcpt.
21845 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
21846 Use __feraiseexcept.
21847 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
21848 Protect libm symbols with IS_IN_libm.
21849
21850 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
21851
21852 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
21853
21854 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
21855
21856 2014-08-04 Will Newton <will.newton@linaro.org>
21857
21858 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
21859 file.
21860
21861 2014-08-04 Mike Frysinger <vapier@gentoo.org>
21862
21863 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
21864 variants for each function.
21865
21866 2014-08-04 Roland McGrath <roland@hack.frob.com>
21867
21868 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
21869 appended ...
21870 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
21871 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
21872 appended ...
21873 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
21874 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
21875 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
21876 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
21877 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
21878 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
21879 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
21880 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
21881 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
21882 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
21883 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
21884 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
21885 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
21886 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
21887 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
21888 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
21889 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
21890 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
21891 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
21892 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
21893 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
21894 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
21895 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
21896 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
21897 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
21898 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
21899 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
21900 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
21901 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
21902 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
21903 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
21904 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
21905 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
21906 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
21907 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
21908 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
21909 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
21910 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
21911 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
21912 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
21913 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
21914 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
21915 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
21916 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
21917 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
21918 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
21919 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
21920 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
21921 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
21922 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
21923 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
21924 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
21925 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
21926 Update #include.
21927 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
21928 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
21929
21930 2014-08-04 Roland McGrath <roland@hack.frob.com>
21931
21932 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
21933 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
21934 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
21935 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
21936 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
21937 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
21938
21939 2014-08-04 Roland McGrath <roland@hack.frob.com>
21940
21941 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
21942 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
21943 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21944 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
21945
21946 2014-08-04 Roland McGrath <roland@hack.frob.com>
21947
21948 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
21949 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
21950 (__libc_vfork): Define function under this name.
21951 (__vfork): Define as an alias.
21952 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
21953 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
21954
21955 2014-08-04 Roland McGrath <roland@hack.frob.com>
21956
21957 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
21958 that was previously under [RESET_PID].
21959 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
21960
21961 2014-08-04 Andreas Schwab <schwab@suse.de>
21962
21963 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
21964
21965 2014-08-03 Mike Frysinger <vapier@gentoo.org>
21966
21967 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
21968 (main): Likewise.
21969
21970 2014-08-01 Roland McGrath <roland@hack.frob.com>
21971
21972 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
21973
21974 2014-08-01 Richard Henderon <rth@redhat.com>
21975
21976 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
21977 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
21978 typo in exact zero test.
21979 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21980 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21981 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21982
21983 2014-08-01 Roland McGrath <roland@hack.frob.com>
21984
21985 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
21986 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
21987 * sysdeps/arm/sysdep.h: ... here.
21988 [!__ASSEMBLER__]: Include <stdint.h>.
21989
21990 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21991
21992 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
21993 (HAVE_WCTYPE_H): Likewise.
21994 (HAVE_ISWCTYPE): Likewise.
21995 (ENABLE_NLS): Likewise.
21996 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
21997 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
21998
21999 * posix/regex_internal.c: Check if DEBUG is defined and is
22000 set.
22001
22002 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
22003 (HAVE_MBSRTOWCS): Likewise.
22004 * posix/fnmatch.c: Include string.h unconditionally.
22005
22006 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
22007
22008 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
22009 reversal.
22010
22011 2014-07-31 Roland McGrath <roland@hack.frob.com>
22012
22013 * sysdeps/generic/safe-fatal.h: New file.
22014 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
22015 * nptl/forward.c: Include it.
22016 (__pthread_unwind): Use __safe_fatal as default action, rather
22017 than a bogus use of INTERNAL_SYSCALL that could never work.
22018
22019 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
22020 * configure.ac (libc_cv_builtin_trap): New test.
22021 * configure: Regenerated.
22022 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
22023 (ABORT_INSTRUCTION): Define using __builtin_trap.
22024
22025 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
22026 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
22027 * sysdeps/nptl/nptl-signals.h: New file.
22028 * nptl/pthreadP.h: Include <nptl-signals.h>.
22029
22030 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
22031
22032 * sysdeps/s390/s390-64/utf16-utf32-z9.c
22033 (ONE_DIRECTION): Define.
22034 * sysdeps/s390/s390-64/utf8-utf16-z9.c
22035 (ONE_DIRECTION): Define.
22036 * sysdeps/s390/s390-64/utf8-utf32-z9.c
22037 (ONE_DIRECTION): Define.
22038
22039 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
22040
22041 * sysdeps/s390/Makefile: Delete file.
22042 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
22043 * sysdeps/s390/__longjmp.c: Delete file.
22044 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
22045 Remove fields __flags and __reserved.
22046 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
22047 and add versioning.
22048 * sysdeps/s390/rtld-__longjmp.c: Delete file.
22049 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
22050 * sysdeps/s390/rtld-setjmp.S: Likewise.
22051 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
22052 * sysdeps/s390/s390-32/__longjmp.c: ... here.
22053 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
22054 * sysdeps/s390/s390-32/setjmp.S: ... here.
22055 Add versioning.
22056 (__sigsetjmp): Remove setting __flags field.
22057 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
22058 * sysdeps/s390/s390-64/__longjmp.c: ... here.
22059 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
22060 * sysdeps/s390/s390-64/setjmp.S: ... here.
22061 Add versioning.
22062 (__sigsetjmp): Remove setting __flags field.
22063 * sysdeps/s390/setjmp.S: Delete file.
22064 * sysdeps/s390/sigjmp.c: Likewise.
22065 * sysdeps/s390/v1-longjmp.c: Likewise.
22066 * sysdeps/s390/v1-setjmp.h: Likewise.
22067 * sysdeps/s390/v1-sigjmp.c: Likewise.
22068 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
22069 Remove v1-longjmp_chk.
22070 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
22071 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
22072 Include debug/longjmp_chk.c and add versioning.
22073 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
22074 Include nptl/pt-longjmp.c and add versioning.
22075 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
22076 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
22077 Include __longjmp.c.
22078 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22079 Move to ...
22080 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
22081 (__getcontext): Remove setting __flags field.
22082 Add versioning.
22083 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22084 Don't restore upper high grps.
22085 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
22086 Likewise.
22087 (__swapcontext): Remove setting uc_flags field.
22088 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
22089 Delete file.
22090 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22091 Include __longjmp.c.
22092 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22093 Move to ...
22094 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
22095 (__getcontext): Remove setting __flags field.
22096 Add versioning.
22097 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
22098 (__swapcontext): Remove setting uc_flags field.
22099 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
22100 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
22101 Remove fields uc_high_gprs and __reserved.
22102 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
22103 New file with reverted content.
22104 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
22105 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
22106 Regenerated.
22107 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
22108 Regenerated.
22109
22110 2014-07-31 Andreas Schwab <schwab@suse.de>
22111
22112 * config.h.in (HAVE_IFUNC): Define to 0.
22113 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
22114 definedness.
22115
22116 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
22117
22118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22119 memmove-avx-unaligned, memcpy-avx-unaligned and
22120 mempcpy-avx-unaligned.
22121 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22122 Add tests for AVX memcpy functions.
22123 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
22124 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
22125 memcpy_chk.
22126 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
22127 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
22128 memmove_chk.
22129 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
22130 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
22131 mempcpy_chk.
22132 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
22133 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
22134 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
22135
22136 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22137
22138 [BZ #17213]
22139 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
22140 powerpc64le.
22141
22142 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
22143
22144 [BZ #16839]
22145 * manual/llio.texi: Add section about open file description locks.
22146 * manual/examples/ofdlocks.c: Example of open file description
22147 lock usage.
22148 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
22149 F_OFD_SETLK, and F_OFD_SETLKW.
22150
22151 2014-07-23 Allan McRae <allan@archlinux.org>
22152
22153 * po/es.po: Update Spanish translation from translation project.
22154
22155 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
22156
22157 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
22158
22159 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
22160
22161 [BZ #17078]
22162 * sysdeps/arm/dl-machine.h (elf_machine_rela)
22163 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
22164 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
22165
22166 2014-07-17 Joseph Myers <joseph@codesourcery.com>
22167
22168 [BZ #17088]
22169 * math/fesetenv.c (__fesetenv)
22170 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
22171 * math/feupdateenv.c (__feupdateenv)
22172 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
22173
22174 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
22175 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22176 (__ASSUME_SOCKETCALL): Do not define.
22177
22178 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
22179 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
22180 (__ASSUME_SOCKETCALL): Do not define.
22181 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
22182 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22183 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22184 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22185 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22186 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
22187 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22188 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22189
22190 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
22191 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
22192 (__ASSUME_SOCKETCALL): Do not define.
22193 (__ASSUME_IPC64): Define unconditionally.
22194 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22195 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22196 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22197 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22198 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
22199 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22200 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
22201 Likewise.
22202
22203 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
22204 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
22205 (__ASSUME_SOCKETCALL): Do not define.
22206 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
22207 (__ASSUME_FUTEX_LOCK_PI): Likewise.
22208 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22209 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22210 (__ASSUME_REQUEUE_PI): Define unconditionally.
22211 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
22212 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22213 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22214 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
22215 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22216 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22217
22218 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
22219 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
22220 (__ASSUME_SOCKETCALL): Do not define.
22221 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
22222 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22223 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22224 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
22225 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22226 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22227
22228 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
22229 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
22230 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22231 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
22232 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22233 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
22234 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22235 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
22236 (__ASSUME_GETCPU_SYSCALL): Likewise.
22237
22238 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
22239 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
22240 cases for individual architectures.
22241 * sysdeps/gnu/configure: Regenerated.
22242 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
22243 LIBC_SLIBDIR_RTLDDIR.
22244 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
22245 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
22246 LIBC_SLIBDIR_RTLDDIR.
22247 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
22248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
22249 LIBC_SLIBDIR_RTLDDIR.
22250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22251 Regenerated.
22252 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
22253 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
22254 file.
22255 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
22256 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
22257 file.
22258 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
22259 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
22260 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
22261 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
22262
22263 * sysdeps/aarch64/shlib-versions: Move to ...
22264 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
22265 * sysdeps/alpha/shlib-versions: Move to ...
22266 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
22267 * sysdeps/arm/shlib-versions: Move to ...
22268 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
22269 * sysdeps/hppa/shlib-versions: Move all contents except for
22270 libgcc_s entry to ...
22271 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
22272 entry from ...
22273 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
22274 * sysdeps/ia64/shlib-versions: Move to ...
22275 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
22276 entry from ...
22277 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
22278 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
22279 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
22280 * sysdeps/microblaze/shlib-versions: Move to ...
22281 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
22282 * sysdeps/mips/shlib-versions: Move to ...
22283 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
22284 entry from ...
22285 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
22286 * sysdeps/tile/shlib-versions: Move to ...
22287 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
22288 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
22289 from ...
22290 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
22291 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
22292 entry from ...
22293 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
22294
22295 2014-07-17 Will Newton <will.newton@linaro.org>
22296
22297 * sysdeps/arm/bits/atomic.h
22298 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
22299 (__arch_compare_and_exchange_bool_16_int): Likewise.
22300 (__arch_compare_and_exchange_bool_64_int): Likewise.
22301
22302 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
22303 into an #else block.
22304
22305 2014-07-16 Roland McGrath <roland@hack.frob.com>
22306
22307 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
22308 just Linux configurations. Test empirically that the compiler sets
22309 __ARM_EABI__, rather than using the tuple to decide.
22310 * sysdeps/arm/preconfigure: Regenerated.
22311 * sysdeps/unix/sysv/linux/arm/configure: File removed.
22312 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
22313 contents appended ...
22314 * sysdeps/arm/configure.ac: ... here.
22315 * sysdeps/arm/configure: Regenerated.
22316
22317 2014-07-15 Roland McGrath <roland@hack.frob.com>
22318
22319 * nptl/pthread_kill.c: New file.
22320 * nptl/pthread_sigmask.c: New file.
22321 * nptl/pthread_sigqueue.c: New file.
22322
22323 * sysdeps/nptl/lowlevellock.h: New file.
22324 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
22325 * sysdeps/nptl/lowlevellock-futex.h: New file.
22326
22327 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
22328 Remove dead declarations.
22329
22330 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
22331
22332 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
22333 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
22334 config-cflags-avx2.
22335 * sysdeps/x86_64/configure.ac: Likewise.
22336 * sysdeps/i386/configure: Regenerated.
22337 * sysdeps/x86_64/configure: Likewise.
22338 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22339 memset-avx2 only if config-cflags-avx2 is yes.
22340 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22341 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
22342 defined.
22343 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
22344 only if HAVE_AVX2_SUPPORT is defined.
22345 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22346
22347 2014-07-14 Alan Modra <amodra@gmail.com>
22348
22349 [BZ #17153]
22350 * elf/elf.h (DT_PPC64_NUM): Correct value.
22351 * NEWS: Add to fixed bug list.
22352
22353 2014-07-13 Jim Meyering <meyering@fb.com>
22354
22355 [BZ 17150]
22356 regex: don't deref NULL upon heap allocation failure
22357 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
22358 failure in one more place.
22359 To trigger the segfault, configure grep -with-included-regex,
22360 build it, and run these commands:
22361 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
22362
22363 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
22364
22365 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22366
22367 2014-07-11 Richard Henderson <rth@redhat.com>
22368
22369 * sysdeps/aarch64/libm-test-ulps: Update.
22370
22371 2014-07-10 Florian Weimer <fweimer@redhat.com>
22372
22373 [BZ #17135]
22374 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
22375 * nptl/allocatestack.c (__nptl_setxid_error): New function.
22376 (__nptl_setxid): Initialize error member. Call
22377 __nptl_setxid_error.
22378 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
22379 * nptl/descr.h (struct xid_command): Add error member.
22380 * nptl/tst-setuid3.c: New file.
22381 * nptl/Makefile (tests): Add it.
22382
22383 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22384
22385 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
22386 New define.
22387 (__lll_trylock): Use __lll_base_trylock.
22388 (__lll_cond_trylock): Likewise.
22389
22390 2014-07-10 Roland McGrath <roland@hack.frob.com>
22391
22392 * nptl/pthread_create.c (start_thread): Use atomic_or and
22393 lll_futex_wake directly rather than lll_robust_dead.
22394 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22395 (lll_robust_dead): Macro removed.
22396 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
22397 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22398 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
22399 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22400 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22401 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
22402 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
22403 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22404 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22405 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22406 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22407 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22408 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22409 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22410 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22411
22412 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
22413 Use atomic_compare_and_exchange_val_acq directly rather than
22414 lll_robust_trylock.
22415 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22416 (__lll_robust_trylock, lll_robust_trylock): Removed.
22417 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22418 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
22419 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22420 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22421 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
22422 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
22423 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22424 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22425 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22426 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22427 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22428 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22429 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22430 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22431
22432 2014-07-02 Florian Weimer <fweimer@redhat.com>
22433
22434 * manual/locale.texi (Locale Names): New section documenting
22435 locale name syntax. Adjust menu and node chaining accordingly.
22436 (Choosing Locale): Reference Locale Names, Locale Categories.
22437 Mention setting LC_ALL=C. Reflect that name syntax is now
22438 documented.
22439 (Locale Categories): New section title. Reference Locale Names.
22440 LC_ALL is an environment variable, but not a category.
22441 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
22442 description, now in Locale Name. Reference that section. Locale
22443 name syntax is now documented.
22444
22445 2014-07-02 Florian Weimer <fweimer@redhat.com>
22446
22447 [BZ #17137]
22448 * locale/findlocale.c (name_present, valid_locale_name): New
22449 functions.
22450 (_nl_find_locale): Use the loc_name variable to store name
22451 candidates. Call name_present and valid_locale_name to check and
22452 validate locale names. Return an error if the locale is invalid.
22453
22454 2014-07-02 Florian Weimer <fweimer@redhat.com>
22455
22456 * locale/setlocale.c (setlocale): Use strdup for allocating
22457 composite name copy.
22458
22459 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22460
22461 Sync up with gnulib.
22462 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
22463 [!_LIBC && ENABLE_NLS]: Include gettext.h.
22464 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
22465 and _GL_ARG_NONNULL.
22466 [USE_UNLOCKED_IO]: Include unlocked-io.h.
22467 [!_LIBC]: Include code for Windows and Cygwin.
22468 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
22469 Include prototype for int strerror_r.
22470 [!_LIBC] (is_open): New function.
22471 (flush_stdout): New function.
22472 (print_errno_message): Use it.
22473 (error): Likewise.
22474 (error_at_line): Likewise.
22475 (error_tail) Add function attribute macros. Use
22476 __builtin_expect.
22477
22478 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
22479
22480 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
22481
22482 * io/ftw.c: Include sys/param.h unconditionally.
22483
22484 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
22485
22486 [BZ #17125]
22487 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
22488 libc_freeres_ptr.
22489 (freecache): New function to free CACHE on exit.
22490
22491 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
22492 initialization.
22493
22494 2014-07-09 David S. Miller <davem@davemloft.net>
22495
22496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22497
22498 * sysdeps/sparc/nptl/internaltypes.h: Delete.
22499 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
22500 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
22501 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
22502 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
22503 * sysdeps/sparc/nptl/sem_init.c: Likewise.
22504 * sysdeps/sparc/nptl/sem_post.c: Likewise.
22505 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
22506 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
22507 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
22508 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
22509 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
22510 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
22511
22512 2014-07-09 Andreas Schwab <schwab@suse.de>
22513
22514 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
22515 output.
22516 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
22517 (do_test): Likewise.
22518
22519 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22520
22521 2014-07-09 Will Newton <will.newton@linaro.org>
22522
22523 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
22524 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
22525 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
22526 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
22527 * sysdeps/hppa/start.S (_start): Likewise.
22528
22529 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22530
22531 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
22532
22533 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
22534 defined.
22535
22536 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22537
22538 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
22539 after checking that it is non-NULL.
22540
22541 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
22542
22543 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22544
22545 * sysdeps/powerpc/memmove.c: Remove file.
22546 * sysdeps/powerpc/powerpc32/power4/memcopy.h
22547 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
22548 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
22549 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
22550 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
22551 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
22552 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
22553 string memmove instead of removed powerpc one.
22554
22555 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22556 [weak_alias]: Fix compiler warning due trailing data.
22557 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
22558 [weak_alias]: Likewise.
22559 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
22560 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
22561
22562 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22563 (__libc_ifunc_impl_list): Add memmove functions.
22564
22565 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22566
22567 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
22568 Remove code.
22569 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
22570 Likewise
22571 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
22572 Likewise
22573 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
22574 Likewise
22575 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
22576 Likewise
22577 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
22578 Likewise
22579 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
22580 Likewise
22581 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
22582 Likewise
22583 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
22584 Likewise
22585 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
22586 Likewise
22587 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
22588 Likewise
22589 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
22590 Likewise
22591 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
22592 Likewise
22593 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
22594 Likewise
22595 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
22596 Likewise
22597 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
22598 Likewise
22599 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
22600 Likewise
22601
22602 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22603
22604 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
22605 to avoid alignment traps in non-cacheable memory.
22606 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22607
22608 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
22609 multiarch objects.
22610 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
22611 file: multiarch power7 memmove.
22612 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
22613 multiarch default memmove.
22614 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
22615 multiarch memove for powerpc32/power4.
22616
22617 * string/bcopy.c: Use full path to include memmove.c.
22618 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
22619 multiarch objects.
22620 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
22621 bcopy for powerpc64.
22622 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
22623 bcopy for powerpc64.
22624 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
22625 and memmove implementations.
22626 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
22627 optimized multiarch memmove for POWER7/powerpc64.
22628 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
22629 default multiarch memmove for powerpc64.
22630 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
22631 multiarch for powerpc64.
22632 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
22633 for POWER7/powerpc64.
22634 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
22635 memmove for POWER7/powerpc64.
22636
22637 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
22638 glibc default one.
22639
22640 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
22641 __ELF_NATIVE_CLASS equal to 64.
22642
22643 2014-07-07 Roland McGrath <roland@hack.frob.com>
22644
22645 * sysdeps/nptl/lowlevellock.h: File removed.
22646
22647 * NEWS: NPTL is no longer an add-on!
22648 * nptl/internaltypes.h: Moved ...
22649 * sysdeps/nptl/internaltypes.h: ... here.
22650 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
22651 * sysdeps/nptl/fork.c: Likewise.
22652 * sysdeps/nptl/gai_misc.h: Likewise.
22653 * sysdeps/nptl/librt-cancellation.c: Likewise.
22654 * sysdeps/nptl/jmp-unwind.c: Likewise.
22655 * sysdeps/nptl/setxid.h: Likewise.
22656 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
22657 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
22658 * sysdeps/unix/sysv/linux/arm/Implies: New file.
22659 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
22660 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
22661 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
22662 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
22663 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
22664 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
22665 * sysdeps/unix/sysv/linux/mips/Implies: New file.
22666 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
22667 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
22668 * sysdeps/unix/sysv/linux/sh/Implies: New file.
22669 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
22670 * sysdeps/unix/sysv/linux/tile/Implies: New file.
22671 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
22672 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
22673 * nptl/Makeconfig: Moved ...
22674 * sysdeps/nptl/Makeconfig: ... here.
22675 * nptl/configure: File removed.
22676 * nptl/ANNOUNCE: File removed.
22677 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
22678 * sysdeps/unix/sysv/linux/configure: Regenerated.
22679
22680 * nptl/Makefile (routines): Add libc_pthread_init,
22681 libc_multiple_threads, register-atfork and unregister-atfork.
22682 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
22683 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
22684 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
22685 pthread-pi-defines.sym, structsem.sym.
22686 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
22687 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
22688 [$(subdir) = nptl] (tests): Add tst-setgetname.
22689 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
22690 * sysdeps/unix/sysv/linux/sigaction.c: Just include
22691 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
22692 [!LIBC_SIGACTION]: Remove aliases.
22693 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
22694 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
22695 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
22696 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
22697 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
22698 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
22699 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22700 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22701 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
22702 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
22703 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
22704 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
22705 __libc_allocate_rtsig_private.
22706 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
22707 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
22708 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22709 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22710 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
22711 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
22712 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
22713 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
22714 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
22715 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
22716 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
22717 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
22718 * nptl/internaltypes.h: ... here.
22719 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
22720 * sysdeps/nptl/jmp-unwind.c: ... here.
22721 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
22722 * nptl/libc-lowlevellock.c: ... here.
22723 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
22724 * nptl/libc_multiple_threads.c: ... here.
22725 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
22726 * nptl/libc_pthread_init.c: ... here.
22727 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
22728 * nptl/lowlevelbarrier.sym: ... here.
22729 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
22730 * nptl/lowlevelcond.sym: ... here.
22731 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
22732 * nptl/lowlevellock.c: ... here.
22733 * nptl/lowlevellock.h: Moved ...
22734 * sysdeps/nptl/lowlevellock.h: ... here.
22735 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
22736 * nptl/lowlevelrobustlock.c: ... here.
22737 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
22738 * nptl/lowlevelrobustlock.sym: ... here.
22739 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
22740 * nptl/lowlevelrwlock.sym: ... here.
22741 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
22742 * nptl/pt-fork.c: ... here.
22743 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
22744 * nptl/pthread-pi-defines.sym: ... here.
22745 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
22746 * nptl/pthread_attr_getaffinity.c: ... here.
22747 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
22748 * nptl/pthread_attr_setaffinity.c: ... here.
22749 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
22750 * nptl/pthread_mutex_cond_lock.c: ... here.
22751 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
22752 Update #include.
22753 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
22754 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
22755 * nptl/pthread_once.c: ... here, replacing old file.
22756 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
22757 * nptl/pthread_yield.c: ... here.
22758 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
22759 * nptl/register-atfork.c: ... here.
22760 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
22761 * nptl/sem_post.c: ... here.
22762 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
22763 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
22764 * nptl/sem_timedwait.c: ... here.
22765 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
22766 * nptl/sem_trywait.c: ... here.
22767 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
22768 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
22769 * nptl/sem_wait.c: ... here.
22770 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
22771 * nptl/structsem.sym: ... here.
22772 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
22773 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
22774 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
22775 * nptl/unregister-atfork.c: ... here.
22776 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
22777 * nptl/unwindbuf.sym: ... here.
22778 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
22779 * sysdeps/nptl/fork.c: ... here.
22780 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
22781 * sysdeps/nptl/fork.h: ... here.
22782 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
22783 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
22784 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
22785 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
22786 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
22787 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
22788 * sysdeps/unix/sysv/linux/getpid.c: ... here.
22789 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
22790 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
22791 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
22792 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
22793 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
22794 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
22795 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
22796 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
22797 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
22798 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
22799 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
22800 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
22801 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
22802 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
22803 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
22804 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
22805 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
22806 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
22807 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
22808 * sysdeps/unix/sysv/linux/raise.c: ... here.
22809 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
22810 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
22811 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
22812 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
22813 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
22814 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
22815 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
22816 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
22817 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
22818 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
22819 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
22820 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
22821 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
22822 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
22823 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
22824
22825 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22826
22827 * sysdeps/generic/memcopy.h: Add comment for
22828 MEMCPY_OK_FOR_FWD_MEMMOVE.
22829
22830 2014-07-04 Will Newton <will.newton@linaro.org>
22831
22832 * string/memchr.c: Merge from gnulib.
22833 [_LIBC]: Remove conditionals.
22834 (__ptr_t): Remove define.
22835 (LONG_MAX_32_BITS): Likewise.
22836 (LONG_MAX): Likewise.
22837 (MEMCHR): Use ANSI prototype and optimize algorithm.
22838
22839 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
22840
22841 2014-07-03 Roland McGrath <roland@hack.frob.com>
22842
22843 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
22844 (lll_futex_timed_wait_bitset): Fix syscall argument count.
22845
22846 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
22847 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
22848 in a bare environment with no <stdlib.h> installed.
22849 * sysdeps/nptl/configure: Regenerated.
22850
22851 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
22852
22853 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
22854 AC_EGREP_CPP for kernel header checks, so they only succeed if
22855 including <linux/version.h> actually works right.
22856 * sysdeps/unix/sysv/linux/configure: Regenerated.
22857
22858 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
22859 value so it's not diagnosed as unused.
22860
22861 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
22862 thing) with "ifeq ($(subdir),rt)".
22863
22864 2014-07-03 Richard Henderson <rth@redhat.com>
22865
22866 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
22867 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
22868 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
22869
22870 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
22871 (math_force_eval): New.
22872
22873 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
22874 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
22875
22876 * sysdeps/alpha/fpu/s_round.c: Remove file.
22877 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
22878
22879 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
22880 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
22881 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
22882 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
22883 (_dl_start, print_statistics): Likewise.
22884 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
22885 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
22886
22887 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22888 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22889 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22890 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22891 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22892 (HP_SMALL_TIMING_AVAIL): Define.
22893 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22894 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
22895 (HP_SMALL_TIMING_AVAIL): Define.
22896 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22897 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22898
22899 * sysdeps/aarch64/hp-timing.h: New file.
22900
22901 * sysdeps/generic/hp-timing.h: Remove dead comment.
22902 * sysdeps/generic/hp-timing-common.h: New file.
22903 * sysdeps/alpha/hp-timing.h: Include it.
22904 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
22905 * sysdeps/i386/i686/hp-timing.h: Likewise.
22906 * sysdeps/ia64/hp-timing.h: Likewise.
22907 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22908 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22909 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22910 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22911 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
22912 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
22913 (hp_timing_t): New.
22914
22915 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
22916 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
22917 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
22918 * elf/rtld.c (_dl_start_final): Likewise.
22919 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
22920 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22921 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22922 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22923 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22924 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22925 (HP_TIMING_DIFF_INIT): Remove.
22926 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22927 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
22928 (HP_TIMING_DIFF_INIT): Remove.
22929 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22930 * sysdeps/i386/i686/hp-timing.c: Remove file.
22931 * sysdeps/x86_64/hp-timing.c: Remove file.
22932 * sysdeps/ia64/hp-timing.c: Remove file.
22933 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
22934 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
22935 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
22936 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
22937
22938 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
22939 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
22940 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
22941 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22942 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22943 (HP_TIMING_ACCUM): Remove.
22944 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22945 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
22946 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22947
22948 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
22949 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
22950 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
22951 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
22952 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
22953 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
22954 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
22955 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
22956
22957 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
22958
22959 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
22960
22961 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
22962
22963 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22964
22965 Sync up with gettext.
22966 * intl/loadmsgcat.c: Define O_BINARY if not defined.
22967 [_MSC_VER]: Include malloc.h
22968 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
22969 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
22970 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
22971 TEMP_FAILURE_RETRY. Cast return of alloca.
22972 [!_LIBC] Call gl_rwlock_init.
22973 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
22974
22975 2014-07-02 Roland McGrath <roland@hack.frob.com>
22976
22977 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
22978 before checking its value.
22979
22980 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22981
22982 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
22983
22984 * debug/memcpy_chk.c: Don't include pagecopy.h.
22985 * debug/mempcpy_chk.c: Likewise.
22986 * string/memcpy.c: Likewise.
22987 * string/memmove.c: Likewise.
22988 * sysdeps/powerpc/memmove.c: Likewise.
22989 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
22990 definition of PAGE_COPY_FWD_MAYBE here...
22991 * sysdeps/generic/pagecopy.h: ... from here.
22992 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
22993
22994 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22995 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22996
22997 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
22998 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
22999 optimizations.
23000 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23001 (__libc_ifunc_impl_list): Likewise.
23002 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
23003 multiarch strcat for PPC64.
23004 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
23005 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
23006
23007 2014-07-02 Roland McGrath <roland@hack.frob.com>
23008
23009 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
23010
23011 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23012
23013 * intl/loadmsgcat.c: Remove declaration of
23014 get_sysdep_segment_value.
23015 (get_sysdep_segment_value): Use ISO C style.
23016 (_nl_load_domain): Use ISO C style. Get rid of redundant
23017 semicolon. Fix typo and formatting in comment.
23018 (_nl_unload_domain): Use ISO C style.
23019
23020 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
23021
23022 2014-07-02 Will Newton <will.newton@linaro.org>
23023
23024 * malloc/obstack.c: Merge from gnulib master.
23025 [HAVE_CONFIG_H]: Remove conditional code.
23026 [!_LIBC]: Include config.h.
23027 [!ELIDE_CODE]: Don't include inttypes.h, include
23028 stdint.h unconditionally.
23029 (print_and_abort): Mark as _Noreturn.
23030 (_obstack_allocated_p): Mark as __attribute_pure__.
23031 (obstack_free): Rename to __obstack_free.
23032 [!__attribute__]: Remove conditional code.
23033 * malloc/obstack.h: Merge from gnulib master.
23034 [__cplusplus]: Move conditional down.
23035 [!__attribute_pure__]: Define __attribute_pure__ here
23036 if it is not already defined.
23037 (_obstack_memory_used): Mark as __attribute_pure__.
23038 [!__obstack_free]: Define as obstack_free.
23039 [__GNUC__]: Remove check for ancient NeXT gcc.
23040
23041 2014-07-02 Will Newton <will.newton@linaro.org>
23042 Paul Eggert <eggert@cs.ucla.edu>
23043
23044 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
23045
23046 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23047
23048 * resolv/gethnamaddr.c: Add comment warning that the file is
23049 not maintained.
23050
23051 2014-07-01 Carlos O'Donell <carlos@redhat.com>
23052
23053 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
23054 entries.
23055
23056 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
23057 entry for aio_cancel and aio_cancel64.
23058 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
23059 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
23060 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
23061 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
23062 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
23063 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
23064 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
23065 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
23066 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
23067 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
23068 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
23069 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
23070 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
23071
23072 2014-07-01 Roland McGrath <roland@hack.frob.com>
23073
23074 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
23075 * nptl/pthread_mutex_lock.c: Likewise.
23076 * nptl/pthread_mutex_timedlock.c: Likewise.
23077 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
23078
23079 2014-07-01 Richard henderson <rth@redhat.com>
23080
23081 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
23082 (__isnan, __isnanl): Remove.
23083 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
23084
23085 * sysdeps/alpha/fpu/libm-test-ulps: Update.
23086
23087 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
23088
23089 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23090
23091 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23092
23093 * resolv/nss_dns/dns-host.c (getanswer_r)
23094 [MULTI_PTRS_ARE_ALIASES]: Remove code.
23095
23096 2014-07-01 Joseph Myers <joseph@codesourcery.com>
23097
23098 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23099 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
23100 undefine.
23101 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
23102 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
23103
23104 2014-07-01 Roland McGrath <roland@hack.frob.com>
23105
23106 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
23107 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
23108
23109 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
23110 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
23111
23112 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
23113 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
23114 ... here.
23115 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
23116 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
23117
23118 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
23119 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
23120 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
23121 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
23122
23123 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
23124 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
23125 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
23126 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
23127 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
23128 Moved ...
23129 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
23130 ... here.
23131 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
23132 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
23133 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
23134 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
23135 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
23136 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
23137 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
23138 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
23139 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
23140 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
23141 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
23142 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
23143 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
23144 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
23145 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
23146 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
23147 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
23148 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
23149 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
23150 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
23151 ... here.
23152 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
23153 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
23154 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
23155 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
23156 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
23157 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
23158 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
23159 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
23160
23161 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
23162
23163 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
23164 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
23165 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
23166 Add sysdep.
23167
23168 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23169
23170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23171
23172 2014-06-30 Joseph Myers <joseph@codesourcery.com>
23173
23174 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23175 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23176
23177 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23178
23179 * sysdeps/arm/libm-test-ulps: Regenerated.
23180
23181 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
23182 Roland McGrath <roland@hack.frob.com>
23183
23184 * test-skeleton.c (signal_handler): Kill the whole process group
23185 before killing the child individually.
23186 (main): Report any failure on `setpgid'.
23187
23188 2014-06-30 Roland McGrath <roland@hack.frob.com>
23189
23190 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
23191 from _TLS_H to _ARM_NPTL_TLS_H.
23192 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
23193 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
23194
23195 2014-06-30 Joseph Myers <joseph@codesourcery.com>
23196
23197 [BZ #16539]
23198 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
23199 (__expm1l): Return argument unchanged when small but not
23200 subnormal.
23201
23202 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
23203 include macro name.
23204 (_FP_UNPACK_RAW_1_P): Likewise.
23205 (_FP_PACK_RAW_1): Likewise.
23206 (_FP_PACK_RAW_1_P): Likewise.
23207 (_FP_MUL_MEAT_1_wide): Likewise.
23208 (_FP_MUL_MEAT_DW_1_hard): Likewise.
23209 (_FP_MUL_MEAT_1_hard): Likewise.
23210 (_FP_DIV_MEAT_1_imm): Likewise.
23211 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
23212 (_FP_DIV_MEAT_1_udiv): Likewise.
23213 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
23214 (_FP_UNPACK_RAW_2): Likewise.
23215 (_FP_UNPACK_RAW_2_P): Likewise.
23216 (_FP_PACK_RAW_2): Likewise.
23217 (_FP_PACK_RAW_2_P): Likewise.
23218 (_FP_MUL_MEAT_DW_2_wide): Likewise.
23219 (_FP_MUL_MEAT_2_wide): Likewise.
23220 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
23221 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
23222 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
23223 (_FP_MUL_MEAT_2_gmp): Likewise.
23224 (_FP_DIV_MEAT_2_udiv): Likewise.
23225 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
23226 (_FP_FRAC_SRL_4): Likewise.
23227 (_FP_FRAC_SRST_4): Likewise.
23228 (_FP_FRAC_SRS_4): Likewise.
23229 (_FP_UNPACK_RAW_4): Likewise.
23230 (_FP_UNPACK_RAW_4_P): Likewise.
23231 (_FP_PACK_RAW_4): Likewise.
23232 (_FP_PACK_RAW_4_P): Likewise.
23233 (_FP_MUL_MEAT_DW_4_wide): Likewise.
23234 (_FP_MUL_MEAT_4_wide): Likewise.
23235 (_FP_MUL_MEAT_4_gmp): Likewise.
23236 (umul_ppppmnnn): Likewise.
23237 (_FP_DIV_MEAT_4_udiv): Likewise.
23238 (__FP_FRAC_ADD_4): Likewise.
23239 (__FP_FRAC_SUB_3): Likewise.
23240 (__FP_FRAC_SUB_4): Likewise.
23241 (__FP_FRAC_DEC_3): Likewise.
23242 (__FP_FRAC_DEC_4): Likewise.
23243 (__FP_FRAC_ADDI_4): Likewise.
23244 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
23245 (_FP_FRAC_SRL_8): Likewise.
23246 (_FP_FRAC_SRS_8): Likewise.
23247
23248 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
23249 include macro name.
23250 (FP_UNPACK_RAW_EP): Likewise.
23251 (FP_PACK_RAW_E): Likewise.
23252 (FP_PACK_RAW_EP): Likewise.
23253 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
23254 (_FP_ISSIGNAN): Likewise.
23255 (_FP_ADD_INTERNAL): Likewise.
23256 (_FP_FMA): Likewise.
23257 (_FP_CMP): Likewise.
23258 (_FP_SQRT): Likewise.
23259 (_FP_TO_INT): Likewise.
23260 (_FP_FROM_INT): Likewise.
23261 (FP_EXTEND): Likewise.
23262 (_FP_DIV_MEAT_N_loop): Likewise.
23263
23264 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
23265
23266 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
23267 throughout.
23268
23269 2014-06-29 Joseph Myers <joseph@codesourcery.com>
23270
23271 [BZ #17097]
23272 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
23273 result with correct sign in case of exponents that produce
23274 overflow except for X very close to 1.
23275
23276 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
23277
23278 mktime: merge #if/#ifdef usage from glibc
23279 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
23280 as that works with both Glibc's and Gnulib's style.
23281 See thread starting at Siddhesh Poyarekar's bug report at:
23282 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
23283
23284 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23285
23286 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
23287 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
23288 * sysdeps/tile/tilegx/memmove.c: Remove file.
23289
23290 2014-06-27 Joseph Myers <joseph@codesourcery.com>
23291
23292 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
23293 abi-name definition.
23294 * scripts/soversions.awk: Do not handle or generate ABI lines.
23295 * shlib-versions: Remove ABI entries.
23296 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
23297 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
23298
23299 2014-06-27 Roland McGrath <roland@hack.frob.com>
23300
23301 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
23302 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
23303 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
23304 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
23305 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
23306 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
23307 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
23308 Moved ...
23309 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
23310 ... here.
23311 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
23312 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
23313 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
23314 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
23315 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
23316 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
23317 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
23318 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
23319 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
23320 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
23321 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
23322 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
23323 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
23324 Moved ...
23325 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
23326 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
23327 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
23328 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
23329 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
23330 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
23331 Moved ...
23332 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
23333 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
23334 Moved ...
23335 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
23336 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
23337 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
23338 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
23339 Moved ...
23340 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
23341 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
23342 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
23343 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
23344 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
23345 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
23346 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
23347 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
23348 Moved ...
23349 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
23350 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
23351 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
23352 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
23353 Moved ...
23354 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
23355 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
23356 Moved ...
23357 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
23358 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
23359 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
23360 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
23361 Moved ...
23362 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
23363 ... here.
23364 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
23365 Identical file removed.
23366 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
23367 Moved ...
23368 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
23369 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
23370 Identical file removed.
23371 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
23372 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
23373 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
23374 Moved ...
23375 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
23376 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
23377 Identical file removed.
23378 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
23379 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
23380 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
23381 Identical file removed.
23382 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
23383 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
23384 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
23385 Identical file removed.
23386 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
23387 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
23388 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
23389 Identical file removed.
23390 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
23391 Moved ...
23392 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
23393 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
23394 Identical file removed.
23395 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
23396 Moved ...
23397 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
23398 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
23399 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
23400 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
23401 Identical file removed.
23402 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
23403 Moved ...
23404 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
23405 ... here.
23406 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
23407 Identical file removed.
23408 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
23409 Moved ...
23410 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
23411 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
23412 Identical file removed.
23413 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
23414 Moved ...
23415 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
23416 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
23417 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
23418 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
23419 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
23420 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
23421 Moved ...
23422 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
23423 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
23424 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
23425
23426 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
23427 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
23428 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
23429 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
23430 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
23431
23432 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
23433
23434 [BZ #17092]
23435 * nscd/nscd.c (monitor_child): Return exit status of child
23436 instead of return value from wait syscall.
23437
23438 2014-06-27 Joseph Myers <joseph@codesourcery.com>
23439
23440 * configure.ac (libc_commonpagesize): Remove variable.
23441 (libc_relro_required): Likewise.
23442 (libc_cv_z_relro): Remove configure test.
23443 * configure: Regenerated.
23444 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
23445 variable.
23446 (libc_relro_required): Likewise.
23447 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
23448 (libc_relro_required): Likewise.
23449 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
23450 (libc_relro_required): Likewise.
23451 * sysdeps/arm/preconfigure: Regenerated.
23452 * sysdeps/ia64/preconfigure: Remove file.
23453 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
23454 variable.
23455 (libc_relro_required): Likewise.
23456
23457 [BZ #16561]
23458 [BZ #16562]
23459 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
23460 (__ieee754_yn): Set FE_TONEAREST mode internally and then
23461 recompute overflowing results in original rounding mode.
23462 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
23463 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
23464 recompute overflowing results in original rounding mode.
23465 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
23466 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23467 recompute overflowing results in original rounding mode.
23468 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
23469 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23470 recompute overflowing results in original rounding mode.
23471 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
23472 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23473 recompute overflowing results in original rounding mode.
23474 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
23475 (libc_feholdsetround_ctx): New macro.
23476 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
23477 * sysdeps/i386/fpu/libm-test-ulps: Update.
23478 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
23479
23480 2014-06-26 Joseph Myers <joseph@codesourcery.com>
23481
23482 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
23483 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
23484 corresponding .cpsetup call.
23485
23486 2014-06-26 Roland McGrath <roland@hack.frob.com>
23487
23488 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
23489 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
23490 * sysdeps/arm/Makefile [$(subdir) = csu]
23491 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
23492 (static-only-routines): Add aeabi_read_tp here.
23493 (shared-only-routines): Add libc-aeabi_read_tp here.
23494 (CFLAGS-libc-start.c): Add -fexceptions here.
23495 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
23496 (sysdep_routines, static-only-routines, shared-only-routines):
23497 Don't add to these here.
23498 (CFLAGS-libc-start.c): Likewise.
23499
23500 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
23501 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
23502 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
23503 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
23504 * sysdeps/arm/Makefile [$(subdir) = rt]
23505 (librt-sysdep_routines, librt-shared-only-routines):
23506 Append rt-aeabi_unwind_cpp_pr1 here.
23507 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
23508 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
23509 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
23510 (libpthread-sysdep_routines, libpthread-shared-only-routines):
23511 Append nptl-aeabi_unwind_cpp_pr1 here.
23512 (tests): Filter out tst-cleanupx4 here.
23513 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
23514 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
23515 Don't do those here.
23516
23517 2014-06-26 Joseph Myers <joseph@codesourcery.com>
23518
23519 * scripts/list-sources.sh: Do not handle ports specially.
23520
23521 2014-06-26 Roland McGrath <roland@hack.frob.com>
23522
23523 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
23524 * sysdeps/arm/feupdateenv.c: Likewise.
23525
23526 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
23527
23528 2014-06-26 Joseph Myers <joseph@codesourcery.com>
23529
23530 * manual/texinfo.tex: Update to version 2014-05-05.10 with
23531 trailing whitespace removed.
23532 * scripts/config.guess: Update to version 2014-03-23.
23533 * scripts/config.sub: Update to version 2014-05-01
23534 * scripts/install-sh: Update to version 2013-12-25.23.
23535 * scripts/move-if-change: Update from gnulib.
23536
23537 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23538
23539 * debug/memmove_chk.c: Remove pagecopy.h include.
23540
23541 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
23542
23543 * time/mktime.c (leapyear): Remove inline keyword. The code is now
23544 identical to gnulib mktime.
23545
23546 2014-06-26 Joseph Myers <joseph@codesourcery.com>
23547
23548 * configure.ac: Do not test for machine being rs6000. Do not test
23549 for powerpc*-*soft.
23550 * configure: Regenerated.
23551
23552 [BZ #11505]
23553 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
23554 test.
23555 * configure: Regenerated.
23556 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
23557 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
23558 Remove configure test.
23559 * sysdeps/arm/configure: Regenerated.
23560 * sysdeps/nptl/configure.ac: Do not check
23561 libc_cv_asm_cfi_directives.
23562 * sysdeps/nptl/configure: Regenerated.
23563 * sysdeps/x86_64/nptl/configure.ac: Remove file.
23564 * sysdeps/x86_64/nptl/configure: Remove generated file.
23565 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
23566 unconditional.
23567 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
23568
23569 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23570
23571 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
23572 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
23573 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
23574 it is defined.
23575
23576 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
23577 instead of whether it is defined.
23578 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
23579 * sysdeps/hppa/dl-machine.h: Likewise.
23580 * sysdeps/ia64/dl-machine.h: Likewise.
23581 * sysdeps/m68k/dl-machine.h: Likewise.
23582 * sysdeps/microblaze/dl-machine.h: Likewise.
23583 * sysdeps/mips/dl-machine.: Likewise.
23584 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23585 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23586 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23587 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23588 * sysdeps/sh/dl-machine.h: Likewise.
23589 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23590 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23591 * sysdeps/tile/dl-machine.h: Likewise.
23592 * sysdeps/x86_64/dl-machine.h: Likewise.
23593
23594 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
23595 code.
23596 (verify_persistent_db): Likewise.
23597
23598 2014-06-26 Roland McGrath <roland@hack.frob.com>
23599
23600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
23601 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
23602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
23603 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
23604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23605 Moved ...
23606 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
23607 ... here.
23608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
23609 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
23610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
23611 Identical file removed.
23612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
23613 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
23614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
23615 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
23616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
23617 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
23618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
23619 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
23620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
23621 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
23622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23623 Moved ...
23624 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
23625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
23626 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
23627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
23628 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
23629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23630 Moved ...
23631 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
23632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
23633 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
23634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
23635 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
23636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23637 Identical file removed.
23638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
23639 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
23640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
23641 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
23642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23643 Moved ...
23644 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
23645 ... here.
23646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
23647 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
23648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
23649 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
23650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
23651 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
23652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
23653 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
23654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
23655 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
23656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23657 Moved ...
23658 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
23659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
23660 Moved ...
23661 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
23662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
23663 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
23664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23665 Moved ...
23666 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
23667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
23668 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
23669
23670 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
23671 folded into ...
23672 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
23673 * sysdeps/unix/sysv/linux/s390/Versions
23674 (libpthread: GLIBC_2.19): New version set.
23675 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
23676 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
23677 (librt: GLIBC_2.3.3): New version set.
23678 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
23679 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
23680 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
23681 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
23682 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
23683 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
23684 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
23685 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
23686 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
23687 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
23688 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
23689 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
23690 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
23691 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
23692 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
23693 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
23694 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
23695 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
23696 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
23697 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
23698 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
23699 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
23700 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
23701 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
23702 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
23703 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
23704 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
23705 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
23706 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
23707 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
23708 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
23709 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
23710 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
23711 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
23712 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
23713 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
23714 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
23715 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
23716 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
23717 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
23718 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
23719 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
23720 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
23721 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
23722 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
23723
23724 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
23725 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
23726 (__libc_vfork): Define the function under this name.
23727 [!NOT_IN_libc] (__vfork): Make this an alias.
23728 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
23729 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
23730 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
23731 (__libc_vfork): Define the function under this name.
23732 [!NOT_IN_libc] (__vfork): Make this an alias.
23733 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
23734 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
23735 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
23736 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
23737 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
23738 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23739
23740 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
23741 code that was previously under [RESET_PID].
23742 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
23743 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
23744 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
23745
23746 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
23747 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
23748 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
23749 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
23750 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
23751 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
23752 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
23753 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
23754 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
23755 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
23756 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
23757 Moved ...
23758 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
23759 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
23760 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
23761 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
23762 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
23763 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
23764 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
23765 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
23766 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
23767 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
23768 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
23769 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
23770 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
23771 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
23772 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
23773 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
23774 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
23775 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
23776 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
23777 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
23778 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
23779 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
23780 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
23781 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
23782 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
23783 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
23784 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
23785 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
23786 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
23787
23788 2014-06-25 Roland McGrath <roland@hack.frob.com>
23789
23790 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
23791 that was previously under [RESET_PID].
23792 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
23793
23794 2014-06-25 Joseph Myers <joseph@codesourcery.com>
23795
23796 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
23797 not undefine and redefine.
23798 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
23799 [O_CLOEXEC]: Make code unconditional.
23800 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
23801 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
23802 <kernel-features.h>.
23803 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
23804 conditional variable definition.
23805 (shm_open) [O_CLOEXEC]: Make code unconditional.
23806 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
23807 code.
23808
23809 * configure.ac (USE_REGPARMS): Don't define here.
23810 * configure: Regenerated.
23811 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
23812 * sysdeps/i386/configure: Regenerated.
23813
23814 * nptl/createthread.c: Don't include kernel-features.h.
23815 * nptl/pthread_cancel.c: Likewise.
23816 * nptl/pthread_condattr_setclock.c: Likewise.
23817 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
23818 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
23819 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
23820 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
23821 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
23822 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
23823 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
23824 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
23825 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
23826 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
23827 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
23828 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
23829 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
23830 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
23831 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
23832 * nscd/gai.c: Likewise.
23833 * nss/nss_db/db-open.c: Likewise.
23834 * sysdeps/generic/ldsodefs.h: Likewise.
23835 * sysdeps/sh/nptl/tls.h: Likewise.
23836 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
23837 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
23838 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
23839 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
23840 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
23841 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
23842 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
23843 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23844 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23845 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
23846 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
23847 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23848 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
23849 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
23850 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
23851 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
23852 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
23853 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
23854 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
23855 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
23856 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
23857 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
23858 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
23859 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
23860 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
23861 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
23862 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
23863 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
23864 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
23865 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
23866 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
23867 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
23868 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
23869 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
23870 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23871 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23872 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
23873 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
23874 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
23875 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
23876 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23877 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
23878 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
23879 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23880 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
23881 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
23882 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
23883 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
23884 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
23885 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
23886 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
23887 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
23888 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
23889 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23890 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
23891 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23892 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
23893 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
23894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
23896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
23897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
23898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
23899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
23900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
23901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
23902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
23905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
23906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
23907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
23908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
23914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
23915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
23916 * sysdeps/unix/sysv/linux/pread.c: Likewise.
23917 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
23918 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
23919 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
23920 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
23921 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
23922 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
23923 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
23924 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
23925 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
23926 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
23927 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
23928 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
23929 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
23930 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
23931 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
23932 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
23933 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
23934 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
23935 * sysdeps/unix/sysv/linux/system.c: Likewise.
23936 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
23937 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
23938 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23939 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23940 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23941 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
23942 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23943
23944 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
23945 * configure: Regenerated.
23946 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
23947
23948 * configure.ac (base_machine): Do not set specially for particular
23949 machines here.
23950 * configure: Regenerated.
23951 * sysdeps/powerpc/preconfigure: Move machine and base_machine
23952 settings from configure.ac.
23953 * sysdeps/i386/preconfigure: New file.
23954 * sysdeps/s390/preconfigure: Likewise.
23955 * sysdeps/sh/preconfigure: Likewise.
23956 * sysdeps/sparc/preconfigure: Likewise.
23957
23958 2014-06-25 Roland McGrath <roland@hack.frob.com>
23959
23960 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
23961 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
23962 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
23963 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
23964 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
23965 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
23966 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
23967 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
23968 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
23969 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
23970 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
23971 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
23972 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
23973 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
23974 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
23975 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
23976 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
23977 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
23978 * sysdeps/sparc/sparc64/Makefile: ... appended here.
23979
23980 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
23981 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
23982 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
23983 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
23984 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
23985 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
23986 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
23987 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
23988 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
23989 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
23990 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
23991 * sysdeps/sparc/sparc32/sem_post.c: ... here.
23992 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
23993 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
23994 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
23995 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
23996 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
23997 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
23998 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
23999 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
24000 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
24001 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
24002 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
24003 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
24004 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
24005 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
24006 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
24007 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
24008 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
24009 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
24010 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
24011 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
24012 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
24013 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
24014 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
24015 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
24016 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
24017 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
24018
24019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
24020 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
24021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
24022 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
24023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24024 Moved ...
24025 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
24026 ... here.
24027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
24028 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
24029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
24030 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
24031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
24032 Moved ...
24033 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
24034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
24035 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
24036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
24037 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
24038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
24039 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
24040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24041 Moved ...
24042 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
24043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24044 Moved ...
24045 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
24046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
24047 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
24048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24049 Moved ...
24050 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
24051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
24052 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
24053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
24054 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
24055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
24056 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
24057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
24058 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
24059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24060 Moved ...
24061 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
24062 ... here.
24063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
24064 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
24065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
24066 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
24067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
24068 Moved ...
24069 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
24070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
24071 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
24072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
24073 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
24074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
24075 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
24076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24077 Moved ...
24078 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
24079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24080 Moved ...
24081 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
24082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
24083 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
24084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24085 Moved ...
24086 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
24087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
24088 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
24089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
24090 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
24091
24092 2014-06-25 Joseph Myers <joseph@codesourcery.com>
24093
24094 * timezone/checktab.awk: Update from tzcode 2014e.
24095 * timezone/private.h: Likewise.
24096 * timezone/tzfile.h: Likewise.
24097 * timezone/zdump.c: Likewise.
24098 * timezone/zic.c: Likewise.
24099
24100 * sysdeps/unix/sysv/linux/kernel-features.h
24101 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
24102 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
24103 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
24104 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24105 Remove conditional code.
24106
24107 2014-06-25 Will Newton <will.newton@linaro.org>
24108
24109 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
24110 (_dl_arm_cap_flags): Add HWCAP2 values.
24111 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
24112 (_DL_HWCAP_COUNT): Increase to 37.
24113 (_DL_HWCAP_LAST): New define.
24114 (_DL_HWCAP2_LAST): New define.
24115 (_dl_procinfo): Add support for printing
24116 AT_HWCAP2 entries.
24117 (_dl_string_hwcap): Use _dl_hwcap_string.
24118
24119 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24120
24121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24122
24123 2014-06-25 Joseph Myers <joseph@codesourcery.com>
24124
24125 * README: Do not mention ports directory.
24126
24127 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
24128 Remove macro.
24129 * sysdeps/unix/sysv/linux/futimes.c: Do not include
24130 <kernel-features.h>.
24131 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
24132 conditional variable definition.
24133 (__futimes): Update comment.
24134 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
24135 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
24136
24137 [BZ #16560]
24138 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
24139 arguments close to 0.
24140 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
24141 Likewise.
24142 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
24143 Likewise.
24144 * math/auto-libm-test-in: Add more tests of exp10.
24145 * math/auto-libm-test-out: Regenerated.
24146 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24147
24148 * sysdeps/unix/sysv/linux/kernel-features.h
24149 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
24150 * sysdeps/unix/sysv/linux/readv.c: Do not include
24151 <kernel-features.h>.
24152 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24153 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24154 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24155 unconditional.
24156 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24157 conditional code.
24158 * sysdeps/unix/sysv/linux/writev.c: Do not include
24159 <kernel-features.h>.
24160 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24161 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24162 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24163 unconditional.
24164 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24165 conditional code.
24166
24167 2014-06-25 Will Newton <will.newton@linaro.org>
24168
24169 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
24170 comment changes throughout the file. Remove checks
24171 for HAVE_*_H definitions that are not required.
24172 (__gen_tempname): Call abort if an unknown kind value is
24173 passed.
24174
24175 2014-06-25 Andreas Schwab <schwab@suse.de>
24176
24177 [BZ #17086]
24178 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
24179 scalbln, scalblnf, scalblnl in libc.
24180
24181 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24182
24183 [BZ #17086]
24184 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
24185 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24186 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24187
24188 2014-06-24 Roland McGrath <roland@hack.frob.com>
24189
24190 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
24191 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
24192 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
24193 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
24194 Update #include.
24195 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
24196 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
24197 Update #include.
24198 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
24199 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
24200 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
24201 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
24202 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
24203 * sysdeps/x86/bits/pthreadtypes.h: ... here.
24204 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
24205 * sysdeps/x86/bits/semaphore.h: ... here.
24206 * sysdeps/x86/nptl/elide.h: Moved ...
24207 * sysdeps/x86/elide.h: ... here.
24208 * sysdeps/x86_64/nptl/Implies: File removed.
24209 * sysdeps/i386/nptl/Implies: File removed.
24210
24211 2014-06-24 Joseph Myers <joseph@codesourcery.com>
24212
24213 [BZ #16539]
24214 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
24215 return the argument for normal arguments with exponent below -64.
24216 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24217 Likewise.
24218 * math/auto-libm-test-in: Add another test of expm1.
24219 * math/auto-libm-test-out: Regenerated.
24220
24221 [BZ #16287]
24222 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
24223 calling __erfcl for arguments at least 16.
24224 * math/auto-libm-test-in: Add more tests of erf.
24225 * math/auto-libm-test-out: Regenerated.
24226
24227 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
24228 individual architectures.
24229 * sysdeps/unix/sysv/linux/configure: Regenerated.
24230 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
24231 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
24232 * sysdeps/unix/sysv/linux/powerpc/configure.ac
24233 (ldd_rewrite_script): Define variable.
24234 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
24236 file.
24237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
24238 generated file.
24239 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
24240 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
24241 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
24242 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
24243 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
24244 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
24245 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
24246 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
24247
24248 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24249
24250 [BZ #17084]
24251 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
24252 Rename member __data.d to __data.__elision_data.
24253
24254 2014-06-24 Wilco <wdijkstr@arm.com>
24255
24256 * NEWS: Add 16918 to fixed bug list.
24257
24258 2014-06-24 Wilco <wdijkstr@arm.com>
24259
24260 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
24261
24262 2014-06-24 Wilco <wdijkstr@arm.com>
24263
24264 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
24265 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
24266 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
24267 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
24268 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
24269 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
24270 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
24271 Use _FPU_MASK_RM.
24272
24273 2014-06-24 Wilco <wdijkstr@arm.com>
24274
24275 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
24276
24277 2014-06-24 Wilco <wdijkstr@arm.com>
24278
24279 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
24280 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
24281 * sysdeps/arm/fesetround.c (fesetround): Remove space.
24282 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
24283
24284 2014-06-24 Wilco <wdijkstr@arm.com>
24285
24286 [BZ #16918]
24287 * sysdeps/arm/feupdateenv.c (feupdateenv):
24288 Rewrite to reduce FPSCR accesses and fix return value.
24289
24290 2014-06-24 Wilco <wdijkstr@arm.com>
24291
24292 * sysdeps/arm/fclrexcpt.c (feclearexcept):
24293 Optimize to avoid unnecessary FPSCR writes.
24294 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
24295 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
24296 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
24297 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
24298
24299 2014-06-24 Wilco <wdijkstr@arm.com>
24300
24301 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
24302 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
24303 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
24304 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
24305 Call libc_fetestexcept_vfp.
24306 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
24307 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
24308 __SOFTFP__ ifdef so that they can be built for softfp.
24309
24310 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24311
24312 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
24313 argument type signed char.
24314
24315 * Makerules (check-abi): Dump diff of symlist if the test
24316 fails.
24317
24318 2014-06-23 Roland McGrath <roland@hack.frob.com>
24319
24320 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
24321 using abort.
24322
24323 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
24324 Remove unused variable ST.
24325
24326 2014-06-23 Joseph Myers <joseph@codesourcery.com>
24327
24328 [BZ #16354]
24329 [BZ #17061]
24330 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
24331 small arguments before calling __expm1.
24332 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
24333 small arguments before calling __expm1f.
24334 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
24335 small arguments before calling __expm1l.
24336 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24337 Likewise.
24338 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
24339 * math/auto-libm-test-in: Add more cosh tests. Do not allow
24340 spurious underflow for some cosh tests.
24341 * math/auto-libm-test-out: Regenerated.
24342 * sysdeps/i386/fpu/libm-test-ulps: Update.
24343
24344 [BZ #17050]
24345 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
24346 (__ieee754_y1): Set errno if return value overflows.
24347 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
24348 (__ieee754_y1f): Set errno if return value overflows.
24349 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
24350 (__ieee754_y1l): Set errno if return value overflows.
24351 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
24352 (__ieee754_y1l): Set errno if return value overflows.
24353 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
24354 * math/auto-libm-test-out: Regenerated.
24355
24356 * math/gen-auto-libm-tests.c: Document use of
24357 ignore-zero-inf-sign.
24358 (input_flag_type): Add value flag_ignore_zero_inf_sign.
24359 (input_flags): Add ignore-zero-inf-sign.
24360 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
24361 * math/gen-libm-test.pl (generate_testfile): Handle
24362 ignore-zero-inf-sign.
24363 * math/auto-libm-test-in: Mark some cpow tests with
24364 ignore-zero-inf-sign and some with xfail-rounding.
24365 * math/auto-libm-test-out: Regenerated.
24366 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
24367 * sysdeps/i386/fpu/libm-test-ulps: Update.
24368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24369
24370 [BZ #16315]
24371 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
24372 overflowing or underflowing operations take place with sign of
24373 result.
24374 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24375 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
24376 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
24377 (__ieee754_pow): Recompute overflowing and underflowing results in
24378 original rounding mode.
24379 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
24380 (__powl_helper): Allow negative argument X and scale negated value
24381 as needed. Avoid passing value outside [-1, 1] to f2xm1.
24382 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
24383 overflowing or underflowing operations take place with sign of
24384 result.
24385 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
24386 Include <math.h>.
24387 * math/auto-libm-test-in: Add more tests of pow.
24388 * math/auto-libm-test-out: Regenerated.
24389 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
24390 (pow_tonearest_test_data): Remove.
24391 (pow_test_tonearest): Likewise.
24392 (pow_towardzero_test_data): Likewise.
24393 (pow_test_towardzero): Likewise.
24394 (pow_downward_test_data): Likewise.
24395 (pow_test_downward): Likewise.
24396 (pow_upward_test_data): Likewise.
24397 (pow_test_upward): Likewise.
24398 (main): Don't call removed functions.
24399 * sysdeps/i386/fpu/libm-test-ulps: Update.
24400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24401
24402 2014-06-23 Roland McGrath <roland@hack.frob.com>
24403
24404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
24405 Moved ...
24406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
24407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24408 Moved ...
24409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
24410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24411 Moved ...
24412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
24413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24414 Moved ...
24415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
24416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24417 File removed.
24418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24419 File removed.
24420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
24421 File removed.
24422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
24423 File removed.
24424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
24425 File removed.
24426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
24427 File removed.
24428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
24429 File removed.
24430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24431 File removed.
24432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
24433 File removed.
24434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24435 File removed.
24436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
24437 File removed.
24438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
24439 File removed.
24440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
24441 Moved ...
24442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
24443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
24444 Moved ...
24445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
24446 ... here.
24447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
24448 Moved ...
24449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
24450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
24451 Moved ...
24452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
24453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
24454 Moved ...
24455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
24456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
24457 Moved ...
24458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
24459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
24460 Moved ...
24461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
24462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
24463 Moved ...
24464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
24465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
24466 Moved ...
24467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
24468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
24469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
24470 ... here.
24471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
24472 Moved ...
24473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
24474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24475 Moved ...
24476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24477 ... here.
24478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
24479 Moved ...
24480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24481 ... here.
24482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24483 Moved ...
24484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
24485 ... here.
24486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24487 Moved ...
24488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
24489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24490 Moved ...
24491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
24492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
24493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
24494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24495 Moved ...
24496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
24497 ... here.
24498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24499 Moved ...
24500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
24501 ... here.
24502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24503 Moved ...
24504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
24505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24506 Moved ...
24507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
24508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24509 Moved ...
24510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
24511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24512 Moved ...
24513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
24514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24515 Moved ...
24516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
24517 ... here.
24518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24519 Moved ...
24520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
24521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24522 Moved ...
24523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
24524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24525 Moved ...
24526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
24527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24528 Moved ...
24529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
24530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
24531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
24532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24533 Moved ...
24534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
24535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24536 Moved ...
24537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
24538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24539 Moved ...
24540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
24541 ... here.
24542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24543 Moved ...
24544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
24545 ... here.
24546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24547 Moved ...
24548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
24549 ... here.
24550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24551 Moved ...
24552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
24553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24554 Moved ...
24555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
24556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24557 Moved ...
24558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
24559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24560 Moved ...
24561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
24562 ... here.
24563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24564 Moved ...
24565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
24566 ... here.
24567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24568 Moved ...
24569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
24570 ... here.
24571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24572 Moved ...
24573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
24574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24575 Moved ...
24576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
24577
24578 2014-06-23 Will Newton <will.newton@linaro.org>
24579 Wilco <wdijkstr@arm.com>
24580
24581 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
24582 implementation. Include get-rounding-mode.h.
24583 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
24584 [!libc_feholdsetround_noex_ctx]: Define
24585 libc_feholdsetround_noex_ctx.
24586 [!libc_feholdsetround_noexf_ctx]: Define
24587 libc_feholdsetround_noexf_ctx.
24588 [!libc_feholdsetround_noexl_ctx]: Define
24589 libc_feholdsetround_noexl_ctx.
24590 (libc_feholdsetround_ctx): New function.
24591 (libc_feresetround_ctx): New function.
24592 (libc_feholdsetround_noex_ctx): New function.
24593 (libc_feresetround_noex_ctx): New function.
24594
24595 2014-06-23 Roland McGrath <roland@hack.frob.com>
24596
24597 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
24598 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
24599 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
24600 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
24601 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
24602 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
24603
24604 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
24605 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
24606 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
24607 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
24608 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
24609 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
24610 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
24611 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
24612 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
24613 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
24614 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
24615 Moved ...
24616 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
24617 ... here.
24618 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
24619 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
24620 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
24621 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
24622 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
24623 Moved ...
24624 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
24625 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
24626 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
24627 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
24628 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
24629 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
24630 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
24631 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
24632 Moved ...
24633 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
24634 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
24635 Moved ...
24636 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
24637 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
24638 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
24639 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
24640 Moved ...
24641 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
24642 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
24643 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
24644 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
24645 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
24646 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
24647 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
24648 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
24649 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
24650 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
24651 Moved ...
24652 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
24653 ... here.
24654 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
24655 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
24656 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
24657 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
24658 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
24659 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
24660 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
24661 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
24662 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
24663 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
24664 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
24665 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
24666 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
24667 Moved ...
24668 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
24669 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
24670 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
24671 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
24672 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
24673 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
24674 Moved ...
24675 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
24676 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
24677 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
24678 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
24679 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
24680
24681 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
24682 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
24683 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
24684 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
24685 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
24686 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
24687 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
24688 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
24689 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
24690 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
24691 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
24692 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
24693 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
24694 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
24695 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
24696 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
24697 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
24698 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
24699 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
24700 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
24701 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
24702 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
24703 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
24704 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
24705 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
24706 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
24707 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
24708 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
24709
24710 2014-06-23 Joseph Myers <joseph@codesourcery.com>
24711
24712 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
24713 (FALLOC_FL_COLLAPSE_RANGE): New macro.
24714 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
24715 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
24716 (IPV6_PMTUDISC_INTERFACE): Likewise.
24717 (IPV6_PMTUDISC_OMIT): Likewise.
24718
24719 2014-06-23 Andreas Schwab <schwab@suse.de>
24720
24721 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
24722 Remove unused errout label.
24723
24724 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24725
24726 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
24727 macro: hardware supports Vector Crypto instructions.
24728
24729 2014-06-23 Will Newton <will.newton@linaro.org>
24730
24731 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
24732 rather than __builtin_expect.
24733
24734 * elf/dl-lookup.c (undefined_msg): Remove variable.
24735 (_dl_lookup_symbol_x): Replace undefined_msg with string
24736 literal.
24737
24738 * elf/dl-lookup.c (do_lookup_unique): New function.
24739 (do_lookup_x): Move STB_GNU_UNIQUE handling code
24740 to a separate function.
24741
24742 2014-06-23 Andreas Schwab <schwab@suse.de>
24743
24744 [BZ #17079]
24745 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
24746 before reading the next line.
24747
24748 2014-06-23 Will Newton <will.newton@linaro.org>
24749
24750 * test-skeleton.c (signal_handler): Use printf and %m
24751 rather than perror. Use printf rather than fprintf to
24752 stderr. Use puts rather than fputs to stderr.
24753 (main): Likewise.
24754
24755 2014-06-22 Ludovic Courtès <ludo@gnu.org>
24756
24757 * nscd/nscd.c (thread_info_t): Remove typedef.
24758 (thread_info): Remove variable.
24759
24760 2014-06-21 Allan McRae <allan@archlinux.org>
24761
24762 * NEWS: Mention CVE-2014-4043.
24763
24764 2014-06-20 Roland McGrath <roland@hack.frob.com>
24765
24766 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
24767 * nptl/smp.h: ... here.
24768
24769 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
24770
24771 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
24772 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
24773 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
24774 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
24775
24776 * nptl/allocatestack.c: Include <stack-aliasing.h>.
24777 * nptl/stack-aliasing.h: New file.
24778 * sysdeps/i386/i686/stack-aliasing.h: New file.
24779 * sysdeps/i386/i686/nptl/Makefile: File removed.
24780 * sysdeps/x86_64/stack-aliasing.h: New file.
24781 * sysdeps/x86_64/nptl/Makefile
24782 (CFLAGS-pthread_create.c): Variable removed.
24783
24784 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
24785 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
24786 old file.
24787 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
24788 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
24789 old file.
24790
24791 2014-06-21 Joseph Myers <joseph@codesourcery.com>
24792
24793 * sysdeps/unix/sysv/linux/arm/kernel-features.h
24794 (__ASSUME_SIGFRAME_V2): Remove macro.
24795 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
24796 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
24797 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
24798 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
24799 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
24800 Declare as function. Remove conditional macro definitions.
24801 (__default_rt_sa_restorer): Likewise.
24802 (__default_sa_restorer_v1): Remove declaration.
24803 (__default_sa_restorer_v2): Likewise.
24804 (__default_rt_sa_restorer_v1): Likewise.
24805 (__default_rt_sa_restorer_v2): Likewise.
24806 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
24807 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
24808 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
24809
24810 2014-06-20 Roland McGrath <roland@hack.frob.com>
24811
24812 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
24813 (libpthread-routines): Add sysdep.
24814 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
24815 * sysdeps/unix/sysv/linux/sparc/Versions
24816 (libpthread: GLIBC_2.3.3): New version set.
24817 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
24818 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
24819 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
24820 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
24821 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
24822 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
24823 Moved ...
24824 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
24825 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
24826 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
24827 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
24828 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
24829 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
24830 * sysdeps/sparc/nptl/sem_init.c: ... here.
24831 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
24832 * sysdeps/sparc/nptl/sem_post.c: ... here.
24833 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
24834 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
24835 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
24836 * sysdeps/sparc/nptl/sem_wait.c: ... here.
24837 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
24838 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
24839 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
24840 (libpthread-routines): Add cpu_relax.
24841 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
24842 File removed.
24843 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
24844 (librt: GLIBC_2.3.3): New version set.
24845 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
24846 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
24847 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
24848 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
24849 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
24850 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
24851 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
24852 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
24853 Moved ...
24854 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
24855 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
24856 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
24857 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
24858 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
24859 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
24860 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
24861 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
24862 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
24863 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
24864 Moved ...
24865 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
24866 Update #include.
24867 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
24868 Moved ...
24869 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
24870 Update #include.
24871 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
24872 Moved ...
24873 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
24874 Update #include.
24875 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
24876 Moved ...
24877 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
24878 Update #include.
24879 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
24880 Moved ...
24881 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
24882 Update #include.
24883 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
24884 Moved ...
24885 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
24886 Update #include.
24887 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
24888 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
24889 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
24890 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
24891 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
24892 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
24893 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
24894 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
24895 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
24896 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
24897 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
24898 Moved ...
24899 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
24900 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
24901 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
24902 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
24903 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
24904
24905 2014-06-20 Joseph Myers <joseph@codesourcery.com>
24906
24907 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
24908 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
24909 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
24910 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
24911 * nscd/nscd.c: Likewise.
24912 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
24913 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
24914 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
24915 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
24916
24917 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
24918 <kernel-features.h>.
24919 (init_mq_netlink): Remove conditional have_sock_cloexec
24920 definitions. Remove code conditional on have_sock_cloexec < 0.
24921 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
24922 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
24923 * sysdeps/unix/sysv/linux/opensock.c: Do not include
24924 <kernel-features.h>.
24925 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
24926 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
24927
24928 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
24929
24930 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24931 Add tests for memset_chk and memset.
24932
24933 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
24934 with AVX2_Usable.
24935
24936 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
24937
24938 [BZ #16046]
24939 * elf/tst-dl-iter-static.c: New file.
24940 * elf/Makefile (tests-static): Add tst-dl-iter-static.
24941
24942 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
24943 error.
24944
24945 2014-06-20 Joseph Myers <joseph@codesourcery.com>
24946
24947 * sysdeps/unix/sysv/linux/kernel-features.h
24948 (__ASSUME_F_GETOWN_EX): Remove macro.
24949 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
24950 <kernel-features.h>.
24951 (miss_F_GETOWN_EX): Remove variable or macro.
24952 (do_fcntl): Do not check miss_F_GETOWN_EX.
24953 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
24954
24955 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
24956 Remove macro.
24957 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
24958 [!__ASSUME_AT_RANDOM]: Remove conditional code.
24959 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
24960
24961 * sysdeps/unix/sysv/linux/kernel-features.h
24962 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
24963 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
24964 [ADJ_OFFSET_SS_READ]: Make code unconditional.
24965 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
24966
24967 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
24968
24969 [BZ #17075]
24970 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
24971 Fix calculation of the symbol's value.
24972 * sysdeps/arm/tst-armtlsdescloc.c: New file.
24973 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
24974 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
24975 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
24976 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
24977 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
24978 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
24979 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
24980 (modules-names): Add `tst-armtlsdescmod',
24981 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
24982 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
24983 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
24984 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
24985 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
24986 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
24987 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
24988 ($(objpfx)tst-armtlsdescloc): New dependency.
24989 ($(objpfx)tst-armtlsdescextnow): Likewise.
24990 ($(objpfx)tst-armtlsdescextlazy): Likewise.
24991 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
24992 TLS scheme support.
24993 * sysdeps/arm/configure: Regenerate.
24994
24995 2014-06-20 Joseph Myers <joseph@codesourcery.com>
24996
24997 * include/fcntl.h (__atfct_seterrno): Remove prototype.
24998 (__atfct_seterrno_2): Likewise.
24999 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
25000 <kernel-features.h>.
25001 (__ASSUME_ATFCTS): Do not undefine and redefine.
25002 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
25003 (__have_atfcts): Remove conditional definition.
25004 (__fxstatat([__NR_fstatat64]: Make code unconditional.
25005 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
25006 unreachable if [__ASSUME_ATFCTS].
25007 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
25008 not undefine and redefine.
25009 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
25010 <kernel-features.h>.
25011 (faccessat) [__NR_faccessat]: Make code unconditional.
25012 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
25013 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
25014 <kernel-features.h>.
25015 (fchmodat) [__NR_fchmodat]: Make code unconditional.
25016 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25017 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
25018 <kernel-features.h>.
25019 (fchownat) [__NR_fchownat]: Make code unconditional.
25020 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
25021 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
25022 <kernel-features.h>.
25023 (futimesat) [__NR_futimesat]: Make code unconditional.
25024 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
25025 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25026 <kernel-features.h>.
25027 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25028 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25029 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25030 <kernel-features.h>.
25031 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
25032 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25033 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
25034 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25035 <kernel-features.h>.
25036 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
25037 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25038 * sysdeps/unix/sysv/linux/linkat.c: Do not include
25039 <kernel-features.h>.
25040 (linkat) [__NR_linkat]: Make code unconditional.
25041 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25042 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
25043 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
25044 <kernel-features.h>.
25045 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
25046 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25047 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
25048 <kernel-features.h>.
25049 (mkdirat) [__NR_mkdirat]: Make code unconditional.
25050 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
25051 * sysdeps/unix/sysv/linux/openat.c: Do not include
25052 <kernel-features.h>.
25053 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
25054 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
25055 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
25056 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
25057 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
25058 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
25059 <kernel-features.h>.
25060 (readlinkat) [__NR_readlinkat]: Make code unconditional.
25061 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
25062 result of INLINE_SYSCALL directly, not via int variable.
25063 * sysdeps/unix/sysv/linux/renameat.c: Do not include
25064 <kernel-features.h>.
25065 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
25066 (renameat) [__NR_renameat]: Make code unconditional.
25067 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
25068 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
25069 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
25070 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
25071 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
25072 (__ASSUME_ATFCTS): Do not undefine and redefine.
25073 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
25074 <kernel-features.h>.
25075 (symlinkat) [__NR_symlinkat]: Make code unconditional.
25076 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25077 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
25078 <kernel-features.h>.
25079 (unlinkat) [__NR_unlinkat]: Make code unconditional.
25080 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25081 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
25082 (__ASSUME_ATFCTS): Do not undefine and redefine.
25083 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25084 <kernel-features.h>.
25085 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25086 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25087 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25088 <kernel-features.h>.
25089 (__xmknodat) [__NR_mknodat]: Make code unconditional.
25090 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25091
25092 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
25093
25094 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
25095
25096 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
25097
25098 [BZ #17069]
25099 * posix/regcomp.c (parse_reg_exp): Deallocate partially
25100 constructed tree before returning error.
25101 * posix/bug-regexp36.c: Expand test case.
25102
25103 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
25104
25105 [BZ #6803]
25106 * math/libm-test.inc (scalbln_test_date):
25107 Add errno expectations.
25108 * math/w_scalblnf.c: New File.
25109 Add wrapper which checks for setting errno to ERANGE.
25110 Add weak_alias for corresponding scalbln function.
25111 * math/w_scalbln.c: Likewise.
25112 * math/w_scalblnl.c: Likewise.
25113 * math/Makefile (libm-calls): Add w_scalbln.
25114 * sysdeps/ieee754/flt-32/s_scalblnf.c:
25115 Remove weak_alias for corresponding scalbln function.
25116 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25117 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25118 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25119 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25120 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25121 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25122 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
25123 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25124 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
25125 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
25126 Remove long_double_symbol for scalblnl function in libm, libc.
25127 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
25128 Add wrapper which checks for setting errno to ERANGE.
25129 Add long_double_symbol for scalblnl function in libm, libc.
25130 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
25131 Remove long_double_symbol for scalblnl in libm.
25132 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
25133 Add wrapper which checks for setting errno to ERANGE.
25134 Add long_double_symbol for scalblnl function in libm.
25135 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
25136 Do not use wrapper because of own implementation.
25137
25138 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
25139
25140 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
25141 3 bytes for __pad1 for x32.
25142 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
25143
25144 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
25145 H.J. Lu <hongjiu.lu@intel.com>
25146
25147 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
25148 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
25149 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25150 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25151 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
25152
25153 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
25154
25155 [BZ #17069]
25156 * posix/regcomp.c (parse_expression): Deallocate partially
25157 constructed tree before returning error.
25158 * posix/Makefile.c (tests): Add bug-regex36.
25159 (generated): Add bug-regex36.mtrace.
25160 (tests-special): Add $(objpfx)bug-regex36-mem.out
25161 (bug-regex36-ENV): New variable.
25162 ($(objpfx)bug-regex36-mem.out): New rule.
25163 * posix/bug-regex36.c: New file.
25164
25165 2014-06-19 Will Newton <will.newton@linaro.org>
25166
25167 * malloc/malloc.c (systrim): If extra is zero then return
25168 early.
25169
25170 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25171
25172 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
25173
25174 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
25175
25176 * sysdeps/aarch64/strchr.S: New file.
25177
25178 2014-06-18 Joseph Myers <joseph@codesourcery.com>
25179
25180 [BZ #17022]
25181 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
25182 from arguments -2 or below.
25183 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
25184 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
25185
25186 2014-06-18 Andreas Schwab <schwab@suse.de>
25187
25188 [BZ #17062]
25189 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
25190 of a bracket expr not to run off the end of the string.
25191 * posix/Makefile (tests): Add tst-fnmatch3.
25192 * posix/tst-fnmatch3.c: New file.
25193
25194 2014-06-18 Joseph Myers <joseph@codesourcery.com>
25195
25196 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
25197 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25198 [$(cross-compiling) = no]: Likewise.
25199 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25200 [$(cross-compiling) = no]: Likewise.
25201
25202 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25203
25204 [BZ #17031]
25205 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
25206 double, adjusted for any remainder from the high double.
25207 * math/libm-test.inc (nearbyint): Add tests.
25208 (rint): Likewise.
25209
25210 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25211
25212 * nptl/sysdeps/powerpc/Makefile: Moved ...
25213 * sysdeps/powerpc/nptl/Makefile: ... here.
25214 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
25215 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
25216 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
25217 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
25218 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
25219 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
25220 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
25221 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
25222 * nptl/sysdeps/powerpc/tls.h: Moved ...
25223 * sysdeps/powerpc/nptl/tls.h: ... here.
25224
25225 2014-06-16 Joseph Myers <joseph@codesourcery.com>
25226
25227 [BZ #16681]
25228 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
25229 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
25230 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
25231 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
25232 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
25233 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
25234 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
25235 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
25236 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
25237
25238 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
25239
25240 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25241
25242 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
25243
25244 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
25245 defined operator.
25246
25247 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
25248 $TIMEOUTFACTOR.
25249
25250 2014-06-16 Florian Weimer <fweimer@redhat.com>
25251
25252 [BZ #17058]
25253 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
25254 non-executed part of the test.
25255
25256 2014-06-16 Andreas Schwab <schwab@suse.de>
25257
25258 * string/bits/string2.h (strdup, strndup): Update feature guard.
25259
25260 2014-06-14 David S. Miller <davem@davemloft.net>
25261
25262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25263
25264 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
25265
25266 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
25267 that was previously under [RESET_PID].
25268 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
25269
25270 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
25271 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
25272 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
25273 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25274 (__libc_vfork): New strong alias.
25275 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
25276
25277 2014-06-14 Andi Kleen <ak@linux.intel.com>
25278
25279 * sysdeps/generic/elide.h: New file.
25280
25281 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
25282
25283 * Makefile (installed-headers): Adjust path of pthread.h header.
25284
25285 2014-06-13 Roland McGrath <roland@hack.frob.com>
25286
25287 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
25288 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
25289 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
25290 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
25291
25292 * nptl/sysdeps/s390/Makefile: Moved ...
25293 * sysdeps/s390/nptl/Makefile: ... here.
25294 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
25295 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
25296 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
25297 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
25298 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
25299 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
25300 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
25301 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
25302 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
25303 * sysdeps/s390/nptl/pthreaddef.h: ... here.
25304 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
25305 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
25306 * nptl/sysdeps/s390/tls.h: Moved ...
25307 * sysdeps/s390/nptl/tls.h: ... here.
25308
25309 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
25310 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
25311
25312 2014-06-13 David S. Miller <davem@davemloft.net>
25313
25314 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
25315 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
25316 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
25317 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
25318 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
25319 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
25320 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
25321 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
25322 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
25323 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
25324 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
25325 Remove RESET_PID cpp guards.
25326 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
25327 Remove RESET_PID cpp guards.
25328 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
25329
25330 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
25331
25332 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
25333 __sp to uintptr_t.
25334
25335 2014-06-13 Andi Kleen <ak@linux.intel.com>
25336
25337 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
25338 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
25339 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
25340 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
25341 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
25342 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
25343 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
25344 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
25345 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
25346 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
25347 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
25348 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
25349 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
25350 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
25351 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
25352 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
25353 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
25354 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
25355 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
25356 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
25357
25358 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
25359 (pthread_rwlock_rdlock): Add elision.
25360 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
25361 (pthread_rwlock_wrlock): Add elision.
25362 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
25363 (pthread_rwlock_trywrlock): Add elision.
25364 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
25365 (pthread_rwlock_tryrdlock): Add elision.
25366 * nptl/pthread_rwlock_unlock.c: Include elide.h.
25367 (pthread_rwlock_tryrdlock): Add elision unlock.
25368 * nptl/sysdeps/pthread/pthread.h:
25369 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
25370 (PTHREAD_RWLOCK_INITIALIZER,
25371 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
25372 Handle new elision field.
25373 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
25374 * sysdeps/arm/nptl/bits/pthreadtypes.h
25375 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25376 * sysdeps/sh/nptl/bits/pthreadtypes.h
25377 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25378 * sysdeps/tile/nptl/bits/pthreadtypes.h
25379 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25380 * sysdeps/a/nptl/bits/pthreadtypes.h
25381 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25382 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
25383 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25384 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
25385 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25386 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
25387 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25388 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
25389 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25390 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
25391 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25392 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
25393 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25394 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
25395 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25396 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
25397 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25398 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
25399 (elision_init): Set try_xbegin to zero when no RTM.
25400 * sysdeps/x86/nptl/bits/pthreadtypes.h
25401 (pthread_rwlock_t): Change __pad1 to __rwelision.
25402 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25403
25404 2014-06-13 Andi Kleen <ak@linux.intel.com>
25405
25406 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
25407 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
25408 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
25409 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
25410
25411 2014-06-13 Meador Inge <meadori@codesourcery.com>
25412
25413 [BZ #16996]
25414 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
25415 that the cached result has been set before returning it.
25416
25417 2014-06-12 Roland McGrath <roland@hack.frob.com>
25418
25419 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
25420 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
25421 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
25422 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
25423 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
25424 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
25425
25426 * nptl/sysdeps/sparc/Makefile: Moved ...
25427 * sysdeps/sparc/nptl/Makefile: ... here.
25428 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
25429 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
25430 * nptl/sysdeps/sparc/tls.h: Moved ...
25431 * sysdeps/sparc/nptl/tls.h: ... here.
25432 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
25433 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
25434 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
25435 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
25436 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
25437 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
25438 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
25439 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
25440 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
25441 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
25442 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
25443 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
25444 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
25445 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
25446 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
25447 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
25448 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
25449 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
25450 Update #include.
25451 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
25452 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
25453 Update #include.
25454 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
25455 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
25456 Update #include.
25457 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
25458 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
25459 Update #include.
25460
25461 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
25462
25463 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
25464 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
25465
25466 * sysdeps/pthread/posix-timer.h: Include <list.h>.
25467 (struct list_links): Type removed.
25468 (struct thread_node, struct timer_node): Replace struct list_links
25469 with struct list_head.
25470 (list_unlink_ip): Likewise.
25471 * sysdeps/pthread/timer_routines.c
25472 (timer_free_list, thread_free_list, thread_active_list): Likewise.
25473 (list_append, list_insbefore): Likewise.
25474 (list_init): Function removed.
25475 (thread_init, init_module): Use INIT_LIST_HEAD instead.
25476 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
25477 * sysdeps/pthread/Makefile: ... here, new file.
25478
25479 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
25480 * sysdeps/nptl/Implies: ... here.
25481 * sysdeps/unix/sysv/linux/Implies: Add nptl.
25482 * nptl/sysdeps/pthread/list.h: Moved ...
25483 * include/list.h: ... here.
25484 * nptl/sysdeps/pthread/createthread.c: Moved ...
25485 * nptl/createthread.c: ... here.
25486 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
25487 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
25488 * nptl/pt-longjmp.c: ... here.
25489 * nptl/sysdeps/pthread/Makefile: Moved ...
25490 * sysdeps/nptl/Makefile: ... here.
25491 * nptl/sysdeps/pthread/Subdirs: Moved ...
25492 * sysdeps/nptl/Subdirs: ... here.
25493 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
25494 * sysdeps/nptl/aio_misc.h: ... here.
25495 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
25496 * sysdeps/nptl/bits/libc-lock.h: ... here.
25497 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
25498 * sysdeps/nptl/bits/libc-lockP.h: ... here.
25499 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
25500 * sysdeps/nptl/bits/stdio-lock.h: ... here.
25501 * nptl/sysdeps/pthread/configure: Moved ...
25502 * sysdeps/nptl/configure: ... here.
25503 * nptl/sysdeps/pthread/configure.ac: Moved ...
25504 * sysdeps/nptl/configure.ac: ... here.
25505 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
25506 * sysdeps/nptl/gai_misc.h: ... here.
25507 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
25508 * sysdeps/nptl/librt-cancellation.c: ... here.
25509 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
25510 * sysdeps/nptl/malloc-machine.h: ... here.
25511 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
25512 * sysdeps/nptl/pthread-functions.h: ... here.
25513 * nptl/sysdeps/pthread/pthread.h: Moved ...
25514 * sysdeps/nptl/pthread.h: ... here.
25515 * nptl/sysdeps/pthread/setxid.h: Moved ...
25516 * sysdeps/nptl/setxid.h: ... here.
25517 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
25518 * sysdeps/nptl/sigfillset.c: ... here.
25519 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
25520 * sysdeps/nptl/tcb-offsets.h: ... here.
25521 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
25522 * sysdeps/nptl/tst-mqueue8x.c: ... here.
25523 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
25524 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
25525 * nptl/sysdeps/pthread/allocalim.h: Moved ...
25526 * sysdeps/pthread/allocalim.h: ... here.
25527 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
25528 * sysdeps/pthread/bits/sigthread.h: ... here.
25529 * nptl/sysdeps/pthread/flockfile.c: Moved ...
25530 * sysdeps/pthread/flockfile.c: ... here.
25531 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
25532 * sysdeps/pthread/ftrylockfile.c: ... here.
25533 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
25534 * sysdeps/pthread/funlockfile.c: ... here.
25535 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
25536 * sysdeps/pthread/posix-timer.h: ... here.
25537 * nptl/sysdeps/pthread/timer_create.c: Moved ...
25538 * sysdeps/pthread/timer_create.c: ... here.
25539 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
25540 * sysdeps/pthread/timer_delete.c: ... here.
25541 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
25542 * sysdeps/pthread/timer_getoverr.c: ... here.
25543 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
25544 * sysdeps/pthread/timer_gettime.c: ... here.
25545 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
25546 * sysdeps/pthread/timer_routines.c: ... here.
25547 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
25548 * sysdeps/pthread/timer_settime.c: ... here.
25549 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
25550 * sysdeps/pthread/tst-timer.c: ... here.
25551 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
25552 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
25553
25554 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
25555 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
25556
25557 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
25558 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
25559 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
25560 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
25561 Update #include target.
25562 * nptl/sysdeps/i386/i686/Makefile: Moved ...
25563 * sysdeps/i386/i686/nptl/Makefile: ... here.
25564 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
25565 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
25566 Update #include target.
25567 * nptl/sysdeps/i386/i686/tls.h: Moved ...
25568 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
25569 * nptl/sysdeps/i386/Makefile: Moved ...
25570 * sysdeps/i386/nptl/Makefile: ... here.
25571 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
25572 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
25573 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
25574 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
25575 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
25576 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
25577 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
25578 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
25579 * sysdeps/i386/nptl/pthreaddef.h: ... here.
25580 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
25581 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
25582 * nptl/sysdeps/i386/tls.h: Moved ...
25583 * sysdeps/i386/nptl/tls.h: ... here.
25584
25585 * sysdeps/sh/Makefile [$(subdir) = csu]
25586 (gen-as-const-headers): Add tcb-offsets.sym.
25587 * nptl/sysdeps/sh/Makefile: File removed.
25588 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
25589 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
25590 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
25591 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
25592 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
25593 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
25594 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
25595 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
25596 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
25597 * sysdeps/sh/nptl/pthreaddef.h: ... here.
25598 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
25599 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
25600 * nptl/sysdeps/sh/tls.h: Moved ...
25601 * sysdeps/sh/nptl/tls.h: ... here.
25602 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
25603 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
25604 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
25605 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
25606 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
25607 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
25608 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
25609 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
25610 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
25611 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
25612 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
25613 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
25614 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
25615 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
25616 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
25617 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
25618 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
25619 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
25620 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
25621 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
25622 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
25623 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
25624 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
25625 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
25626 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
25627 Moved ...
25628 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
25629 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
25630 Moved ...
25631 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
25632 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
25633 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
25634 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
25635 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
25636 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
25637 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
25638 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
25639 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
25640 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
25641 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
25642 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
25643 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
25644 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
25645 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
25646 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
25647 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
25648 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
25649 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
25650
25651 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
25652
25653 * posix/spawn_faction_addopen.c: Include string.h.
25654
25655 2014-06-11 Roland McGrath <roland@hack.frob.com>
25656
25657 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
25658 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
25659 * nptl/sysdeps/x86_64/Makefile: Moved ...
25660 * sysdeps/x86_64/nptl/Makefile: ... here.
25661 * nptl/sysdeps/x86_64/configure: Moved ...
25662 * sysdeps/x86_64/nptl/configure: ... here.
25663 * nptl/sysdeps/x86_64/configure.ac: Moved ...
25664 * sysdeps/x86_64/nptl/configure.ac: ... here.
25665 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
25666 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
25667 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
25668 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
25669 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
25670 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
25671 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
25672 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
25673 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
25674 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
25675 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
25676 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
25677 * nptl/sysdeps/x86_64/tls.h: Moved ...
25678 * sysdeps/x86_64/nptl/tls.h: ... here.
25679 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
25680 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
25681 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
25682 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
25683
25684 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
25685
25686 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25687
25688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25689
25690 2014-06-11 Joseph Myers <joseph@codesourcery.com>
25691
25692 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
25693 type.
25694 [POSIX] (off_t): Likewise.
25695 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
25696 [POSIX] (S_ISBLK): Require macro.
25697 [POSIX] (S_ISCHR): Likewise.
25698 [POSIX] (S_ISDIR): Likewise.
25699 [POSIX] (S_ISFIFO): Likewise.
25700 [POSIX] (S_ISREG): Likewise.
25701 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
25702 optional-macro.
25703 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
25704 type.
25705 [POSIX] (time_t): Likewise.
25706 [POSIX] (timer_t): Likewise.
25707
25708 2014-06-11 Florian Weimer <fweimer@redhat.com>
25709
25710 [BZ #17048]
25711 * posix/spawn_int.h (struct __spawn_action): Make the path string
25712 non-const to support deallocation.
25713 * posix/spawn_faction_addopen.c
25714 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
25715 * posix/spawn_faction_destroy.c
25716 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
25717 path in all spawn_do_open actions.
25718 * posix/tst-spawn.c (do_test): Exercise the copy operation in
25719 posix_spawn_file_actions_addopen.
25720
25721 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
25722
25723 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
25724 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
25725 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
25726 conditional code always true.
25727 (__libc_vfork): New alias.
25728
25729 2014-06-11 Roland McGrath <roland@hack.frob.com>
25730
25731 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25732 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
25733
25734 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
25735
25736 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25737 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
25738
25739 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
25740 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
25741
25742 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25743 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
25744
25745 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
25746
25747 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
25748 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
25749 multiarch strcmp for PPC64.
25750 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
25751 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
25752 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
25753 multiarch optimizations.
25754 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25755 (__libc_ifunc_impl_list): Likewise.
25756
25757 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25758
25759 * benchtests/scripts/validate_benchout.py: New script.
25760 * benchtests/Makefile (bench-func): Call it.
25761 * benchtests/scripts/benchout.schema.json: New file.
25762
25763 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
25764
25765 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
25766 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
25767 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
25768 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
25769 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
25770 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
25771 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
25772 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
25773 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
25774 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
25775 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
25776 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
25777 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
25778 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
25779 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
25780 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
25781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
25782 Moved ...
25783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
25784 ... here.
25785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
25786 Moved ...
25787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
25788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
25789 Moved ...
25790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
25791 ... here.
25792 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
25793 Moved ...
25794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
25795 ... here.
25796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
25797 Moved ...
25798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
25799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
25800 Moved ...
25801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
25802 ... here.
25803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
25804 Moved ...
25805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
25806 ... here.
25807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
25808 Moved ...
25809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
25810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
25811 Moved ...
25812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
25813 ... here.
25814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
25815 Moved ...
25816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
25817 ... here.
25818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
25819 Moved ...
25820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
25821 ... here.
25822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
25823 Moved ...
25824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
25825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
25826 Moved ...
25827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
25828 ... here.
25829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
25830 Moved ...
25831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
25832 ... here.
25833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
25834 Moved ...
25835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
25836 ... here.
25837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
25838 Moved ...
25839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
25840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
25841 Moved ...
25842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
25843 ... here.
25844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
25845 Moved ...
25846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
25847 ... here.
25848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
25849 Moved ...
25850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
25851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
25852 Moved ...
25853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
25854 ... here.
25855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
25856 Moved ...
25857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
25858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
25859 Moved ...
25860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
25861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
25862 Moved ...
25863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
25864 ... here.
25865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
25866 Moved ...
25867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
25868 ... here.
25869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
25870 Moved ...
25871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
25872 ... here.
25873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
25874 Moved ...
25875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
25876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
25877 Moved ...
25878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
25879 ... here.
25880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
25881 Moved ...
25882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
25883 ... here.
25884 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
25885 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
25886 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
25887 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
25888 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
25889 Moved ...
25890 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
25891 ... here.
25892 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
25893 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
25894 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
25895 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
25896 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
25897 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
25898 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
25899 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
25900 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
25901 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
25902 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
25903 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
25904 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
25905 Moved ...
25906 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
25907 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
25908 Moved ...
25909 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
25910 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
25911 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
25912 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
25913 Moved ...
25914 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
25915 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
25916 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
25917 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
25918 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
25919 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
25920 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
25921
25922 2014-06-10 Wilco <wdijkstr@arm.com>
25923
25924 * math/test-fenv-return.c: New file.
25925 * math/Makefile: Add new test test-fenv-return.
25926
25927 2014-06-10 Joseph Myers <joseph@codesourcery.com>
25928
25929 [BZ #17042]
25930 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
25931 when x - 1 is zero.
25932 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
25933 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
25934 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
25935 0.0L for an argument of 1.0L.
25936 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
25937 Likewise.
25938 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
25939 value when x - 1 is zero.
25940 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
25941 * sysdeps/i386/fpu/libm-test-ulps: Update.
25942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25943
25944 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
25945
25946 [BZ #15119]
25947 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
25948
25949 2014-06-09 Roland McGrath <roland@hack.frob.com>
25950
25951 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
25952 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
25953
25954 2014-06-09 Roland McGrath <roland@hack.frob.com>
25955
25956 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25957 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
25958
25959 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25960 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
25961
25962 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25963 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
25964
25965 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25966 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
25967
25968 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
25969 if not already defined.
25970 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
25971 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
25972 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
25973 (TLS_INIT_TP): Use it.
25974 (TLS_DEFINE_INIT_TP): New macro.
25975 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
25976
25977 2014-06-09 Joseph Myers <joseph@codesourcery.com>
25978
25979 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
25980 constant.
25981 [POSIX] (IXANY): Likewise.
25982 [POSIX] (OLCUC): Likewise.
25983 [POSIX || POSIX2008] (CBAUD): Do not allow.
25984 [POSIX || POSIX2008] (DEFECHO): Likewise.
25985 [POSIX || POSIX2008] (ECHOCTL): Likewise.
25986 [POSIX || POSIX2008] (ECHOKE): Likewise.
25987 [POSIX || POSIX2008] (ECHOPRT): Likewise.
25988 [POSIX || POSIX2008] (EXTA): Likewise.
25989 [POSIX || POSIX2008] (EXTB): Likewise.
25990 [POSIX || POSIX2008] (FLUSHO): Likewise.
25991 [POSIX || POSIX2008] (LOBLK): Likewise.
25992 [POSIX || POSIX2008] (PENDIN): Likewise.
25993 [POSIX || POSIX2008] (SWTCH): Likewise.
25994 [POSIX || POSIX2008] (VDISCARD): Likewise.
25995 [POSIX || POSIX2008] (VDSUSP): Likewise.
25996 [POSIX || POSIX2008] (VLNEXT): Likewise.
25997 [POSIX || POSIX2008] (VREPRINT): Likewise.
25998 [POSIX || POSIX2008] (VSTATUS): Likewise.
25999 [POSIX || POSIX2008] (VWERASE): Likewise.
26000 (B*): Change to B[0123456789]*.
26001 * conform/data/time.h-data [POSIX || UNIX98]
26002 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
26003 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26004 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
26005 [POSIX] (tm_*): Do not allow.
26006
26007 2014-06-07 Joseph Myers <joseph@codesourcery.com>
26008
26009 * Makefile (install): Don't set LANGUAGE.
26010 * Makefile.in (install): Likewise.
26011 * assert/Makefile (test-assert-ENV): Remove variable.
26012 (test-assert-perr-ENV): Likewise.
26013 * elf/Makefile (neededtest4-ENV): Likewise.
26014 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26015 [$(cross-compiling) = no]: Don't set LANGUAGE.
26016 * io/ftwtest-sh (LANG): Remove variable.
26017 * libio/Makefile (tst-widetext-ENV): Likewise.
26018 * manual/install.texi (Running make install): Don't refer to
26019 environment settings for make install.
26020 * INSTALL: Regenerated.
26021 * nptl/tst-tls6.sh: Don't set LANG.
26022 * posix/globtest.sh (LANG): Remove variable.
26023 * string/Makefile (tester-ENV): Likewise.
26024 (inl-tester-ENV): Likewise.
26025 (noinl-tester-ENV): Likewise.
26026 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26027 [$(cross-compiling) = no]: Don't set LANGUAGE.
26028 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
26029 without explicit environment settings.
26030
26031 2014-06-06 Roland McGrath <roland@hack.frob.com>
26032
26033 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
26034 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
26035 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
26036 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
26037
26038 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
26039
26040 * crypt/crypt-private.h [DOS]: Add some includes taken from the
26041 other files in the crypt directory.
26042 * crypt/crypt.c: Remove duplicate includes.
26043 * crypt/crypt-entry.c: Likewise.
26044 * crypt/crypt_util.c: Likewise.
26045
26046 2014-06-06 Joseph Myers <joseph@codesourcery.com>
26047
26048 * Makeconfig (run-program-env): New variable.
26049 (run-program-prefix-before-env): Likewise.
26050 (run-program-prefix-after-env): Likewise.
26051 (run-program-prefix): Define in terms of new variables.
26052 (built-program-cmd-before-env): New variable.
26053 (built-program-cmd-after-env): Likewise.
26054 (built-program-cmd): Define in terms of new variables.
26055 (test-program-prefix-before-env): New variable.
26056 (test-program-prefix-after-env): Likewise.
26057 (test-program-prefix): Define in terms of new variables.
26058 (test-program-cmd-before-env): New variable.
26059 (test-program-cmd-after-env): Likewise.
26060 (test-program-cmd): Define in terms of new variables.
26061 * Rules (make-test-out): Use $(run-program-env).
26062 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
26063 (help): Do not mention environment variables. Mention
26064 --timeoutfactor option.
26065 (timeoutfactor): New variable.
26066 (blacklist_exports): Remove function.
26067 (exports): Remove variable.
26068 (command): Do not include ${exports}.
26069 * manual/install.texi (Configuring and compiling): Do not mention
26070 test wrappers preserving environment variables. Mention that last
26071 assignment to a variable must take precedence.
26072 * INSTALL: Regenerated.
26073 * benchtests/Makefile (run-bench): Use $(run-program-env).
26074 * catgets/Makefile ($(objpfx)test1.cat): Use
26075 $(built-program-cmd-before-env), $(run-program-env) and
26076 $(built-program-cmd-after-env).
26077 ($(objpfx)test2.cat): Do not specify environment variables
26078 explicitly.
26079 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
26080 $(run-program-env) and $(built-program-cmd-after-env).
26081 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
26082 $(run-program-env) and $(test-program-cmd-after-env).
26083 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
26084 explicitly.
26085 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
26086 run_program_env and test_program_cmd_after_env arguments.
26087 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
26088 * elf/tst-pathopt.sh: Use run_program_env argument.
26089 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
26090 $(test-wrapper-env) and $(run-program-env).
26091 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
26092 run_program_env arguments.
26093 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
26094 * intl/Makefile ($(objpfx)tst-gettext.out): Use
26095 $(test-program-prefix-before-env), $(run-program-env) and
26096 $(test-program-prefix-after-env).
26097 ($(objpfx)tst-gettext2.out): Likewise.
26098 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
26099 run_program_env and test_program_prefix_after_env arguments.
26100 * intl/tst-gettext2.sh: Likewise.
26101 * intl/tst-gettext4.sh: Do not set environment variables
26102 explicitly.
26103 * intl/tst-gettext6.sh: Likewise.
26104 * intl/tst-translit.sh: Likewise.
26105 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
26106 $(test-program-prefix-before-env), $(run-program-env) and
26107 $(test-program-prefix-after-env).
26108 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
26109 run_program_env and test_program_prefix_after_env arguments.
26110 * math/Makefile (run-regen-ulps): Use $(run-program-env).
26111 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
26112 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
26113 explicitly with each use of ${test_wrapper_env}.
26114 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
26115 $(test-program-prefix-before-env), $(run-program-env) and
26116 $(test-program-prefix-after-env).
26117 * posix/tst-getconf.sh: Do not set environment variables
26118 explicitly.
26119 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
26120 run_program_env and test_program_prefix_after_env arguments.
26121 * stdio-common/tst-printf.sh: Do not set environment variables
26122 explicitly.
26123 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
26124 $(test-program-prefix-before-env), $(run-program-env) and
26125 $(test-program-prefix-after-env).
26126 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
26127 run_program_env and test_program_prefix_after_env arguments.
26128 Split $test calls into $test_pre and $test.
26129 * timezone/Makefile (build-testdata): Use
26130 $(built-program-cmd-before-env), $(run-program-env) and
26131 $(built-program-cmd-after-env).
26132
26133 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26134
26135 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
26136 strlen for non SHARED builds.
26137
26138 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26139
26140 * nptl/allocatestack.c (check_list): Inlined function...
26141 (__reclaim_stacks): ... here.
26142
26143 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
26144
26145 [BZ #15698]
26146 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26147 memory overrun.
26148
26149 2014-06-05 Joseph Myers <joseph@codesourcery.com>
26150
26151 * Rules (make-test-out): Include
26152 LOCPATH=$(common-objpfx)localedata in default environment.
26153 * debug/Makefile (tst-chk1-ENV): Remove variable.
26154 (tst-chk2-ENV): Likewise.
26155 (tst-chk3-ENV): Likewise.
26156 (tst-chk4-ENV): Likewise.
26157 (tst-chk5-ENV): Likewise.
26158 (tst-chk6-ENV): Likewise.
26159 (tst-lfschk1-ENV): Likewise.
26160 (tst-lfschk2-ENV): Likewise.
26161 (tst-lfschk3-ENV): Likewise.
26162 (tst-lfschk4-ENV): Likewise.
26163 (tst-lfschk5-ENV): Likewise.
26164 (tst-lfschk6-ENV): Likewise.
26165 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
26166 (tst-iconv7-ENV): Likewise.
26167 * intl/Makefile (LOCPATH-ENV): Likewise.
26168 (tst-codeset-ENV): Likewise.
26169 (tst-gettext3-ENV): Likewise.
26170 (tst-gettext5-ENV): Likewise.
26171 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
26172 (tst-fopenloc-ENV): Likewise.
26173 (tst-fgetws-ENV): Remove variable.
26174 (tst-ungetwc1-ENV): Likewise.
26175 (tst-ungetwc2-ENV): Likewise.
26176 (bug-ungetwc2-ENV): Likewise.
26177 (tst-swscanf-ENV): Likewise.
26178 (bug-ftell-ENV): Likewise.
26179 (tst-fgetwc-ENV): Likewise.
26180 (tst-fseek-ENV): Likewise.
26181 (tst-ftell-partial-wide-ENV): Likewise.
26182 (tst-ftell-active-handler-ENV): Likewise.
26183 (tst-ftell-append-ENV): Likewise.
26184 * posix/Makefile (tst-fnmatch-ENV): Likewise.
26185 (tst-regexloc-ENV): Likewise.
26186 (bug-regex1-ENV): Likewise.
26187 (tst-regex-ENV): Likewise.
26188 (tst-regex2-ENV): Likewise.
26189 (bug-regex5-ENV): Likewise.
26190 (bug-regex6-ENV): Likewise.
26191 (bug-regex17-ENV): Likewise.
26192 (bug-regex18-ENV): Likewise.
26193 (bug-regex19-ENV): Likewise.
26194 (bug-regex20-ENV): Likewise.
26195 (bug-regex22-ENV): Likewise.
26196 (bug-regex23-ENV): Likewise.
26197 (bug-regex25-ENV): Likewise.
26198 (bug-regex26-ENV): Likewise.
26199 (bug-regex30-ENV): Likewise.
26200 (bug-regex32-ENV): Likewise.
26201 (bug-regex33-ENV): Likewise.
26202 (bug-regex34-ENV): Likewise.
26203 (bug-regex35-ENV): Likewise.
26204 (tst-rxspencer-ENV): Likewise.
26205 (tst-rxspencer-no-utf8-ENV): Likewise.
26206 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
26207 (tst-sscanf-ENV): Likewise.
26208 (tst-swprintf-ENV): Likewise.
26209 (tst-swscanf-ENV): Likewise.
26210 (test-vfprintf-ENV): Likewise.
26211 (scanf13-ENV): Likewise.
26212 (bug14-ENV): Likewise.
26213 (tst-grouping-ENV): Likewise.
26214 * stdlib/Makefile (tst-strtod-ENV): Likewise.
26215 (tst-strtod3-ENV): Likewise.
26216 (tst-strtod4-ENV): Likewise.
26217 (tst-strtod5-ENV): Likewise.
26218 (testmb2-ENV): Likewise./
26219 * string/Makefile (tst-strxfrm-ENV): Likewise.
26220 (tst-strxfrm2-ENV): Likewise.
26221 (bug-strcoll1-ENV): Likewise.
26222 (test-strcasecmp-ENV): Likewise.
26223 (test-strncasecmp-ENV): Likewise.
26224 * time/Makefile (tst-strptime-ENV): Likewise.
26225 (tst-ftime_l-ENV): Likewise.
26226 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
26227 (tst-mbrtowc-ENV): Likewise.
26228 (tst-wcrtomb-ENV): Likewise.
26229 (tst-mbrtowc2-ENV): Likewise.
26230 (tst-c16c32-1-ENV): Likewise.
26231 (tst-mbsnrtowcs-ENV): Likewise.
26232
26233 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
26234
26235 * manual/resource.texi (How to get information about the memory
26236 subsystem?): Fix typo.
26237 Reported by Peon de la Parra Ivan <peon@keba.com>
26238
26239 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
26240
26241 [BZ #16882]
26242 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
26243 (pthread_spin_lock): Branch out of spin loop to proper location.
26244 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
26245 (pthread_spin_lock): Likewise.
26246
26247 * nptl/tst-spin4.c: New test.
26248 * nptl/Makefile (tests): Add tst-spin4.
26249
26250 2014-06-03 Andreas Schwab <schwab@suse.de>
26251
26252 [BZ #15946]
26253 * resolv/res_send.c (send_dg): Reload file descriptor after
26254 calling reopen.
26255
26256 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
26257
26258 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26259
26260 2014-06-03 Richard Henderson <rth@redhat.com>
26261
26262 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
26263 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
26264 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
26265 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
26266 in the SAVE_PID block.
26267 (__libc_vfork): New alias.
26268 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
26269
26270 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
26271 child in registers, not on the stack. Remove RESET_PID conditionals.
26272 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
26273
26274 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
26275
26276 * sysdeps/aarch64/libm-test-ulps: Regenerate.
26277
26278 2014-06-03 Wilco <wdijkstr@arm.com>
26279
26280 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
26281 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
26282 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26283 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
26284 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
26285 Likewise.
26286
26287 2014-06-03 Wilco <wdijkstr@arm.com>
26288
26289 * sysdeps/aarch64/fpu/math_private.h
26290 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
26291 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
26292 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
26293 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26294 Fix declarations.
26295
26296 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
26297
26298 * crypt/crypt-private.h: Include ufc-crypt.h.
26299 (__b64_from_24bit): Declare extern.
26300 * crypt/crypt_util.c(__b64_from_24bit): New function.
26301 (b64t): New static const variable.
26302 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
26303 (b64t): Remove variable.
26304 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
26305 * crypt/sha256-crypt.c: Include crypt-private.h.
26306 (b64t): Remove variable.
26307 (__sha256_crypt_r): Remove b64_from_24bit and replace
26308 with __b64_from_24bit.
26309 * crypt/sha512-crypt.c: Likewise.
26310
26311 2014-06-02 Roland McGrath <roland@hack.frob.com>
26312
26313 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
26314 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
26315 Label the code __libc_vfork rather than __vfork.
26316 [!NOT_IN_libc] (vfork): Define as weak alias.
26317 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
26318 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
26319 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
26320
26321 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26322
26323 * malloc/malloc.c (malloc_info): Fix format specifier for
26324 n_mmaps.
26325
26326 2014-06-02 Wilco <wdijkstr@arm.com>
26327
26328 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
26329 FPCR write.
26330
26331 2014-06-02 Wilco <wdijkstr@arm.com>
26332
26333 [BZ #17009]
26334 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
26335 Rewrite to reduce FPCR/FPSR accesses.
26336
26337 2014-06-01 David S. Miller <davem@davemloft.net>
26338
26339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26340
26341 2014-05-31 David S. Miller <davem@davemloft.net>
26342
26343 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
26344 to occur in round to nearest mode when |x| >= 2.0
26345
26346 2014-05-30 Richard Henderson <rth@twiddle.net>
26347
26348 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
26349 (PSEUDO_RET_NOERRNO): Remove.
26350 (ret): Don't redefine.
26351 (ret_NOERRNO): Define in terms of ret.
26352 (ret_ERRVAL): Likewise.
26353
26354 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
26355 use of PSEUDO_RET; perform the error check directly.
26356
26357 2014-05-30 Marko Myllynen <myllynen@redhat.com>
26358
26359 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
26360 with __int128_t.
26361
26362 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26363
26364 * malloc/malloc (malloc_info): Fix formatting.
26365
26366 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26367 Roland McGrath <roland@hack.frob.com>
26368
26369 * malloc/malloc (malloc_info): Also print mmapped statistics.
26370
26371 2014-05-30 Roland McGrath <roland@hack.frob.com>
26372
26373 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
26374 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
26375
26376 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
26377
26378 * malloc/malloc.c (malloc_info): Inline mi_arena.
26379
26380 2014-05-29 Richard Henderson <rth@twiddle.net>
26381
26382 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
26383 Remove comma before expanding ASM_ARGS_##nr.
26384 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
26385 Make _x0 a strict output; make _x8 a strict input; adjust expansion
26386 of ASM_ARGS_##nr.
26387 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
26388 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
26389 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
26390 (ASM_ARGS_1): Add leading comma.
26391
26392 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
26393 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
26394 to __errno_location.
26395 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
26396 Remove the expected plt for __errno_location.
26397
26398 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26399 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
26400 call to __read_tp.
26401
26402 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26403 Always allocate 64 bytes of stack frame. Use ldp/stp to create
26404 it and break it down.
26405 (DOCARGS_0, DOCARGS_1): Do nothing.
26406 (DOCARGS_2): Update to store into the new stack frame.
26407 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
26408 (UNDOCARGS_1): Update to restore from the new stack frame.
26409 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
26410 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
26411
26412 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26413 (SINGLE_THREAD_P): New parameter for result regno.
26414 (PSEUDO): Update to match; use cbz instead of beq.
26415
26416 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26417 Use ENTRY to define the _nocancel entry point. Share the syscall
26418 and syscall error check paths with the cancel path.
26419 (PSEUDO_END): New.
26420
26421 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
26422 whitespace; tabs before and after asm mnemonics.
26423
26424 2014-05-29 Eric Wong <normalperson@yhbt.net>
26425
26426 [BZ #15132]
26427 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26428 Call fstat64 or stat64 internally, depending on arguments passed.
26429 Replace stat buffer argument with file descriptor argument.
26430 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
26431 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26432 Pass fd to __internal_statvfs instead of calling fstat64.
26433 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
26434 Pass fd to __internal_statvfs64 instead of calling fstat64.
26435 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
26436 Pass -1 to __internal_statvfs instead of calling stat64.
26437 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
26438 Pass -1 to __internal_statvfs64 instead of calling stat64.
26439
26440 2014-05-28 Roland McGrath <roland@hack.frob.com>
26441
26442 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
26443 that was previously under [RESET_PID].
26444 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
26445
26446 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
26447 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
26448
26449 2014-05-27 Roland McGrath <roland@hack.frob.com>
26450
26451 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
26452
26453 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
26454 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
26455
26456 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
26457
26458 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
26459
26460 2014-05-27 Andreas Schwab <schwab@suse.de>
26461
26462 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
26463 TLS_INIT_TP macro.
26464 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
26465 * elf/rtld.c (init_tls, dl_main): Likewise.
26466 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
26467 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
26468 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
26469 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
26470 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
26471 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
26472 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
26473 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
26474 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
26475 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
26476 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
26477 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
26478 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
26479 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
26480 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
26481 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
26482 * sysdeps/generic/tls.h: Update description.
26483
26484 2014-05-27 Will Newton <will.newton@linaro.org>
26485
26486 [BZ #16990]
26487 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
26488 and restore r2 rather than just restoring.
26489
26490 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26491
26492 [BZ #16724]
26493 * libio/tst-ftell-append.c: New test case.
26494 * libio/Makefile (tests): Add test case.
26495 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
26496 append mode.
26497 * libio/wfileops.c (do_ftell_wide): Likewise.
26498
26499 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26500
26501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26502
26503 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
26504 ...
26505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
26506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26507 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
26508 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
26509 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
26510 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
26511 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
26512 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
26513 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26514 Moved ...
26515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
26516 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26517 Moved ...
26518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
26519 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
26520 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
26521 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
26522 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
26523 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
26524 ...
26525 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
26526 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
26527 Moved ...
26528 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
26529 here.
26530 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
26531 ...
26532 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
26533 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
26534 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
26535
26536 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
26537 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
26538 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
26539 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
26540
26541 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
26542 merge into ...
26543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
26544 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
26545 ...
26546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
26547 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
26548 ...
26549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
26550 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
26551 Moved ...
26552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
26553 here.
26554 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
26555 Moved ...
26556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
26557 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
26558 Moved ...
26559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
26560
26561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
26562 conditional [RESET_PID].
26563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
26564 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
26565 removed.
26566 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
26567 removed.
26568
26569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
26570 <tcb-offsets.h>.
26571 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26572 (__libc_vfork): New strong alias.
26573 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
26574 removed.
26575 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
26576 Removed.
26577
26578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
26579 <tcb-offsets.h>.
26580 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
26581 (__libc_vfork): New strong alias.
26582 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
26583 removed.
26584 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
26585 removed.
26586
26587 2014-05-26 Carlos O'Donell <carlos@redhat.com>
26588
26589 * malloc/malloc.c (mi_arena): New function.
26590 (malloc_info): Remove nested function mi_arena. Call non-nosted
26591 function mi_arena.
26592
26593 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26594
26595 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
26596 by insrwi.
26597 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
26598 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
26599 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
26600 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
26601 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
26602 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
26603 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
26604
26605 2014-05-26 Andreas Schwab <schwab@suse.de>
26606
26607 [BZ #16984]
26608 * locale/programs/repertoire.c (repertoire_read): Add slash
26609 between I18NPATH element and file name.
26610 * locale/programs/locfile.c (locfile_read): Likewise.
26611
26612 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
26613
26614 * nptl/pthread_mutexattr_settype.c
26615 (__pthread_mutexattr_settype):
26616 Disable lock elision for PTHREAD_MUTEX_NORMAL.
26617
26618 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
26619
26620 * nptl/tst-mutex5 (do_test):
26621 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
26622
26623 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26624
26625 * benchtests/README: Document 'init' directive.
26626 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
26627 BENCH_INIT.
26628 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
26629 (parse_file): Recognize 'init' directive.
26630
26631 2014-05-26 Kyle McMartin <kyle@redhat.com>
26632
26633 [BZ #16796]
26634 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
26635 alignment of struct pthread.
26636
26637 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26638
26639 [BZ #16878]
26640 * nscd/netgroupcache.c (addgetnetgrentX): Look for
26641 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
26642 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
26643 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
26644
26645 2014-05-25 Richard Henderson <rth@twiddle.net>
26646
26647 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26648 (SINGLE_THREAD_P_PIC): Remove.
26649 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
26650 (SINGLE_THREAD_P_PIC): Remove.
26651
26652 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
26653 branch to syscall error ...
26654 (PSEUDO): ... here.
26655 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
26656 from __local_syscall_error to .Lsyscall_error.
26657 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
26658 (SYSCALL_ERROR): Update label name.
26659
26660 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26661 Do not use DOARGS/UNDOARGS.
26662 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
26663 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
26664 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
26665 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
26666 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
26667
26668 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
26669 block comment.
26670
26671 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
26672 define if !NOT_IN_libc.
26673 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
26674 define with non-default symbol versions.
26675
26676 2014-05-23 Richard Henderson <rth@twiddle.net>
26677
26678 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
26679 (vfork, __vfork): Define via compat_symbol.
26680
26681 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
26682 [!HAVE_IFUNC] (vfork_compat): Remove.
26683 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
26684
26685 2014-05-23 Joseph Myers <joseph@codesourcery.com>
26686
26687 [BZ #16978]
26688 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
26689 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
26690 variable.
26691
26692 2014-05-23 Richard Henderson <rth@twiddle.net>
26693
26694 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
26695 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
26696 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
26697 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
26698
26699 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
26700 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
26701 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
26702 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
26703 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
26704 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
26705 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
26706 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
26707 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
26708 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
26709 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
26710 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
26711 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
26712 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
26713 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
26714 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
26715 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
26716 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
26717 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
26718 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
26719 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
26720 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
26721 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
26722 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
26723 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
26724 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
26725 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
26726 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
26727 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
26728 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
26729 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
26730 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
26731 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
26732 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
26733 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
26734 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
26735 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
26736 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
26737 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
26738 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
26739 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
26740 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
26741 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
26742 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
26743 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
26744 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
26745 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
26746 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
26747 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
26748 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
26749 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
26750 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
26751 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
26752 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
26753 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
26754 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
26755
26756 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
26757 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
26758 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
26759 before exiting on error.
26760 (__libc_vfork): New strong alias.
26761 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
26762 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
26763
26764 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
26765 that was previously under [RESET_PID].
26766 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
26767
26768 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
26769
26770 2014-05-23 Joseph Myers <joseph@codesourcery.com>
26771
26772 [BZ #16977]
26773 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
26774 value when x - 1 is zero.
26775 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
26776 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
26777 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
26778 0.0L for an argument of 1.0L.
26779 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
26780 Likewise.
26781 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
26782 value when x - 1 is zero.
26783 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
26784 * sysdeps/i386/fpu/libm-test-ulps: Update.
26785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26786
26787 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
26788
26789 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
26790 alphasort and versionsort.
26791
26792 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26793
26794 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
26795 macro.
26796 [copysignf]: Likewise.
26797
26798 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26799
26800 * crypt/md5-crypt.c: Fix formatting.
26801
26802 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
26803
26804 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
26805 (b64_from_24bit): New function.
26806
26807 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26808
26809 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
26810 libc_hidden_builtin_def to ifunc.
26811 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
26812 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
26813
26814 2014-05-21 Roland McGrath <roland@hack.frob.com>
26815
26816 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
26817 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
26818
26819 2014-05-21 Joseph Myers <joseph@codesourcery.com>
26820
26821 * nscd/Depend (linuxthreads): Remove.
26822 (nptl): Add.
26823 * resolv/Depend (linuxthreads): Remove.
26824 * rt/Depend (linuxthreads): Remove.
26825
26826 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
26827 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
26828 $(common-objpfx)elf/.
26829 (link-libc-before-gnulib): Likewise.
26830 (elfobjdir): Remove variable.
26831 * Makefile (install): Use $(elf-objpfx) instead of
26832 $(common-objpfx)elf/.
26833 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
26834 $(elfobjdir)/.
26835 (link-libc-deps): Likewise.
26836 ($(common-objpfx)libc.so): Likewise.
26837 ($(common-objpfx)linkobj/libc.so): Likewise.
26838 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
26839 instead of $(common-objpfx)elf/.
26840 (symbolic-link-list): Likewise.
26841 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26842 [$(cross-compiling) = no]: Likewise.
26843 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
26844 $(elfobjdir)/.
26845 (static-gnulib-arch): Likewise.
26846 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26847 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
26848 $(common-objpfx)elf/.
26849
26850 2014-05-21 Richard Henderson <rth@redhat.com>
26851
26852 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26853 (SINGLE_THREAD_P): Use the correct width load. Fold
26854 into the ldr offset.
26855
26856 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
26857 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
26858
26859 2014-05-20 Joseph Myers <joseph@codesourcery.com>
26860
26861 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
26862 (libgcc_s_resume): Use __attribute_used__.
26863 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
26864 Likewise.
26865
26866 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26867
26868 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
26869 optimization when used with float constants.
26870
26871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26872
26873 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
26874
26875 [BZ #16915]
26876 * locale/nl_langinfo_l.c: Make direct reference to every
26877 _nl_current_CATEGORY symbol.
26878 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
26879 (tests-static): Add tst-langinfo-static.
26880 (tests-special): Add tst-langinfo-static.out.
26881 ($(objpfx)tst-langinfo.out): Redirect output.
26882 ($(objpfx)tst-langinfo-static.out): New.
26883 * localedata/tst-langinfo.sh: Send output to stdout.
26884 * localedata/tst-langinfo-static.c: New file.
26885
26886 [BZ #16965]
26887 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
26888 when the shift amount is modulo the limb size.
26889
26890 2014-05-20 Richard Henderson <rth@redhat.com>
26891
26892 [BZ #16967]
26893 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
26894 Change type of sa_flags from unsigned int to int.
26895
26896 [BZ #16966]
26897 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
26898
26899 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
26900
26901 2014-05-20 Will Newton <will.newton@linaro.org>
26902
26903 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26904 Test the return value of the system call in the nocancel case.
26905
26906 2014-05-20 Will Newton <will.newton@linaro.org>
26907 Yvan Roux <yvan.roux@linaro.org>
26908
26909 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
26910 #include of asm/ptrace.h.
26911 (PTRACE_GET_THREAD_AREA): Remove #undef.
26912 (PTRACE_GETHBPREGS): Likewise.
26913 (PTRACE_SETHBPREGS): Likewise.
26914 (struct user_regs_struct): New structure.
26915 (struct user_fpsimd_struct): New structure.
26916 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
26917 #include of asm/ptrace.h and second #include of sys/user.h.
26918 (PTRACE_GET_THREAD_AREA): Remove #undef.
26919 (PTRACE_GETHBPREGS): Likewise.
26920 (PTRACE_SETHBPREGS): Likewise.
26921 (ELF_NGREG): Use new struct user_regs_struct.
26922 (elf_fpregset_t): Use new struct user_fpsimd_struct.
26923
26924 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26925
26926 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
26927 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
26928
26929 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
26930
26931 [BZ #16958]
26932 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
26933 membar to avoid block loads/stores to overlap previous stores.
26934
26935 2014-05-17 Richard Henderson <rth@redhat.com>
26936
26937 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
26938 Create the __##syscall_name##_nocancel entry point.
26939 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
26940 Remove; let the sysdep-cancel.h code create it.
26941
26942 2014-05-17 David S. Miller <davem@davemloft.net>
26943
26944 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
26945 Protect with __USE_GNU.
26946 (TIOCSET_TEMPT): Likewise.
26947 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26948 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
26949 these are already provided in bits/ioctl-types.h
26950
26951 2014-05-16 Roland McGrath <roland@hack.frob.com>
26952
26953 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
26954 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
26955
26956 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
26957 Use wait4 regardless of [__NR_waitpid].
26958
26959 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
26960
26961 PR libgcc/60166
26962 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
26963 (_FP_NANSIGN_Q): Set the quiet bit.
26964
26965 2014-05-16 Joseph Myers <joseph@codesourcery.com>
26966
26967 * benchtests/Makefile
26968 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
26969 not $(common-objpfx)math/libm.so.
26970 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
26971 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
26972 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
26973 $(common-objpfx)dlfcn/libdl.so.
26974 ($(objpfx)tst-audit8): Depend on $(libm), not
26975 $(common-objpfx)math/libm.so.
26976 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
26977 not $(common-objpfx)dlfcn/libdl.so.
26978 * math/Makefile
26979 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
26980 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
26981 [$(build-shared) = yes].
26982 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
26983 $(common-objpfx)nptl/libpthread.so.
26984 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
26985 $(common-objpfx)math/libm.so$(libm.so-version) or
26986 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
26987 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
26988 $(common-objpfx)dlfcn/libdl.so.
26989 * setjmp/Makefile (link-libm): Remove variable.
26990 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
26991 * stdio-common/Makefile (link-libm): Remove variable.
26992 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
26993 * stdlib/Makefile (link-libm): Remove variable.
26994 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
26995 ($(objpfx)tst-strtod-round): Likewise.
26996 ($(objpfx)tst-tininess): Likewise.
26997 ($(objpfx)tst-strtod-underflow): Likewise.
26998 ($(objpfx)tst-strtod6): Likewise.
26999 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
27000 $(libdl), not $(common-objpfx)nptl/libpthread.so and
27001 $(common-objpfx)dlfcn/libdl.so.
27002
27003 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27004
27005 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
27006 BSD terminal modes definitions.
27007
27008 2014-05-16 Roland McGrath <roland@hack.frob.com>
27009
27010 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
27011 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
27012
27013 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
27014 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
27015 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
27016 Don't do #include_next.
27017 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
27018 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
27019 Don't do #include_next.
27020 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
27021 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
27022 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
27023 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
27024
27025 2014-05-16 Allan McRae <allan@archlinux.org>
27026
27027 * po/sv.po: Update Swedish translation from translation project.
27028
27029 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
27030 in sed expression.
27031
27032 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
27033
27034 [BZ #16917]
27035 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
27036 errno if the TIOCGPTN ioctl fails with an error different than
27037 EINVAL.
27038 * login/tst-ptsname.c: New file.
27039 * login/Makefile (tests): Add tst-ptsname.
27040
27041 [BZ #16943]
27042 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
27043 and prlimit64.
27044
27045 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27046
27047 [BZ #16849]
27048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
27049 herrno to return EAI_AGAIN.
27050
27051 2014-05-14 Roland McGrath <roland@hack.frob.com>
27052
27053 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
27054 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
27055 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
27056 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
27057 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
27058 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
27059 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
27060 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
27061 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
27062 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
27063 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
27064 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
27065 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
27066 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
27067 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
27068 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
27069 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
27070 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
27071 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
27072 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
27073 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
27074 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
27075 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
27076 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
27077 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
27078 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
27079 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
27080 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
27081 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
27082 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
27083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
27084 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
27085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
27086 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
27087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27088 Moved ...
27089 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
27090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
27091 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
27092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
27093 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
27094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
27095 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
27096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
27097 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
27098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
27099 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
27100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
27101 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
27102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
27103 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
27104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
27105 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
27106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
27107 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
27108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
27109 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
27110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
27111 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
27112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
27113 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
27114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
27115 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
27116 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27117 Moved ...
27118 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
27119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
27120 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
27121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
27122 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
27123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
27124 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
27125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
27126 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
27127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
27128 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
27129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
27130 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
27131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
27132 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
27133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
27134 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
27135 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
27136 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
27137 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27138 Moved ...
27139 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
27140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
27141 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
27142
27143 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
27144 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
27145 (libpthread-sysdep_routines): Add elision-related stuff here instead.
27146 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
27147 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
27148 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
27149 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
27150 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
27151 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
27152 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
27153 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
27154 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
27155 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
27156 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
27157 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
27158 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
27159 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
27160 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
27161 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
27162 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
27163 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
27164 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
27165 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
27166 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
27167 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
27168 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
27169 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
27170 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
27171 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
27172 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
27173 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
27174
27175 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
27176 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
27177
27178 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
27179 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
27180 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
27181 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
27182 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
27183 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
27184 Moved ...
27185 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
27186 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
27187 Moved ...
27188 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
27189 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
27190 Moved ...
27191 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
27192 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
27193 Moved ...
27194 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
27195 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
27196 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
27197 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
27198 Moved ...
27199 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
27200 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
27201 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
27202 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
27203 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
27204 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
27205 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
27206 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
27207 Moved ...
27208 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
27209 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27210 Moved ...
27211 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27212 ... here.
27213 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
27214 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
27215 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
27216 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
27217 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27218 Moved ...
27219 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27220 ... here.
27221 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
27222 Moved ...
27223 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
27224 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
27225 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
27226 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
27227 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
27228 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
27229 Moved ...
27230 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
27231 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
27232 Moved ...
27233 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
27234 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
27235 Moved ...
27236 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
27237 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
27238 Moved ...
27239 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
27240 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
27241 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
27242 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
27243 Moved ...
27244 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
27245 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
27246 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
27247 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
27248 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
27249 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
27250 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
27251 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
27252 Moved ...
27253 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
27254 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27255 Moved ...
27256 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27257 ... here.
27258 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
27259 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
27260 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
27261 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
27262 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27263 Moved ...
27264 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27265 ... here.
27266 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
27267 Moved ...
27268 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
27269 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
27270 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
27271 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
27272 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
27273 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
27274 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
27275 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
27276 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
27277 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
27278 Moved ...
27279 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
27280 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
27281 Moved ...
27282 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
27283 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
27284 Moved ...
27285 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
27286 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
27287 Moved ...
27288 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
27289 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
27290 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
27291 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
27292 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
27293 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
27294 Moved ...
27295 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
27296 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
27297 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
27298 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
27299 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
27300 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
27301 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
27302 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
27303 Moved ...
27304 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
27305 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27306 Moved ...
27307 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27308 ... here.
27309 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
27310 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
27311 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
27312 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
27313 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27314 Moved ...
27315 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27316 ... here.
27317 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
27318 Moved ...
27319 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
27320 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
27321 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
27322 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
27323 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
27324 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
27325 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
27326 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
27327 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
27328 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
27329 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
27330
27331 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
27332 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
27333
27334 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
27335 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
27336
27337 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
27338 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
27339 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
27340 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
27341 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
27342 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
27343 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
27344 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
27345 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
27346 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
27347 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
27348 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
27349 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
27350 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
27351 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
27352 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
27353 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
27354 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
27355 Moved ...
27356 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
27357 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
27358 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
27359 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
27360 Moved ...
27361 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
27362 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
27363 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
27364 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
27365 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
27366 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
27367 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
27368 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
27369 Moved ...
27370 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
27371 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
27372 Moved ...
27373 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
27374 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
27375 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
27376 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
27377 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
27378 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
27379 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
27380 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
27381 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
27382 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
27383 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
27384 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
27385 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
27386 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
27387 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
27388 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
27389 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
27390
27391 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
27392 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
27393 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
27394 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
27395 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
27396
27397 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
27398 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
27399 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
27400 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
27401 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
27402 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
27403 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
27404 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
27405 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
27406 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
27407
27408 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
27409 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
27410
27411 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
27412 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
27413 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
27414 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
27415 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
27416 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
27417 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
27418 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
27419 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
27420 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
27421 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
27422 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
27423 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
27424 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
27425 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
27426 Update #include.
27427 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
27428 Likewise.
27429 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27430 Likewise.
27431 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27432 Likewise.
27433 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27434 Likewise.
27435 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
27436 Likewise.
27437 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
27438 Likewise.
27439 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
27440 Likewise.
27441 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
27442 Likewise.
27443 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
27444 Likewise.
27445 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
27446 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
27447 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
27448 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
27449 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
27450 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
27451 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
27452 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
27453 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
27454 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
27455 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
27456 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
27457 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
27458 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
27459 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
27460
27461 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
27462 that was previously under [RESET_PID].
27463 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27464 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
27465 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
27466
27467 * sysdeps/i386/nptl/Implies: New file.
27468 * sysdeps/x86_64/nptl/Implies: New file.
27469 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
27470 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
27471 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
27472 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
27473
27474 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
27475 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27476 (__libc_vfork): New strong alias.
27477 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
27478 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
27479
27480 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
27481 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27482 (__libc_vfork): New strong alias.
27483 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
27484 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
27485
27486 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
27487 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27488 (__libc_vfork): New strong alias.
27489 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
27490 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
27491 * nptl/pt-vfork.c: New file.
27492 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
27493 (libpthread: GLIBC_2.20): New version set (empty).
27494
27495 2014-05-14 Will Newton <will.newton@linaro.org>
27496
27497 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
27498 rather than #if.
27499
27500 2014-05-14 Joseph Myers <joseph@codesourcery.com>
27501
27502 [BZ #16564]
27503 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
27504 arguments with exponent 65 or above.
27505 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
27506 arguments 0x1p113L or above.
27507 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
27508 to arguments 0x1p107L or above.
27509 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
27510 positive arguments with exponent 65 or above.
27511 * math/auto-libm-test-in: Add more tests of log1p.
27512 * math/auto-libm-test-out: Regenerated.
27513
27514 [BZ #16928]
27515 * math/s_cacos.c (__cacos): Ensure zero real part of result from
27516 non-finite arguments is +0.
27517 * math/s_cacosf.c (__cacosf): Likewise.
27518 * math/s_cacosl.c (__cacosl): Likewise.
27519 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
27520 * sysdeps/i386/fpu/libm-test-ulps: Update.
27521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27522
27523 [BZ #16927]
27524 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
27525 value.
27526 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
27527 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
27528 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
27529 for explicit high bit of mantissa when testing for argument equal
27530 to 1.
27531 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
27532 * sysdeps/i386/fpu/libm-test-ulps: Update.
27533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27534
27535 [BZ #16516]
27536 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
27537 (__erf): Scale by 16 instead of 8 in potentially underflowing
27538 case. Ensure exception if result actually underflows.
27539 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
27540 (__erff): Scale by 16 instead of 8 in potentially underflowing
27541 case. Ensure exception if result actually underflows.
27542 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
27543 (efx8): Remove variable.
27544 (__erfl): Scale by 16 instead of 8 in potentially underflowing
27545 case. Ensure exception if result actually underflows.
27546 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
27547 (efx8): Remove variable.
27548 (__erfl): Scale by 16 instead of 8 in potentially underflowing
27549 case. Ensure exception if result actually underflows.
27550 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
27551 (efx8): Remove variable.
27552 (__erfl): Scale by 16 instead of 8 in potentially underflowing
27553 case. Ensure exception if result actually underflows.
27554 * math/auto-libm-test-in: Add more tests of erf.
27555 * math/auto-libm-test-out: Regenerated.
27556
27557 2014-05-14 Andreas Schwab <schwab@suse.de>
27558
27559 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
27560 Remove code conditionalized on USE___THREAD.
27561
27562 * config.h.in (HAVE_PT_CHOWN): Define as 0.
27563 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
27564 not definedness.
27565
27566 2014-05-14 Joseph Myers <joseph@codesourcery.com>
27567
27568 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
27569 Define unconditionally.
27570 (__ASSUME_O_CLOEXEC): Likewise.
27571 (__ASSUME_SOCK_CLOEXEC): Likewise.
27572 (__ASSUME_IN_NONBLOCK): Likewise.
27573 (__ASSUME_PIPE2): Likewise.
27574 (__ASSUME_EVENTFD2): Likewise.
27575 (__ASSUME_SIGNALFD4): Likewise.
27576 (__ASSUME_DUP3): Likewise.
27577 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27578 (__ASSUME_DUP3): Do not define.
27579 (__ASSUME_EVENTFD2): Likewise.
27580 (__ASSUME_IN_NONBLOCK): Likewise.
27581 (__ASSUME_O_CLOEXEC): Likewise.
27582 (__ASSUME_PIPE2): Likewise.
27583 (__ASSUME_SIGNALFD4): Likewise.
27584 (__ASSUME_SOCK_CLOEXEC): Likewise.
27585 (__ASSUME_UTIMES): Undefine.
27586 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27587 (__ASSUME_UTIMES): Do not define.
27588 (__ASSUME_O_CLOEXEC): Likewise.
27589 (__ASSUME_SOCK_CLOEXEC): Likewise.
27590 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
27591 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
27592 0x020621].
27593 (__ASSUME_PIPE2): Likewise.
27594 (__ASSUME_EVENTFD2): Likewise.
27595 (__ASSUME_SIGNALFD4): Likewise.
27596 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
27597 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
27598 Do not define.
27599 (__ASSUME_EVENTFD2): Likewise.
27600 (__ASSUME_SIGNALFD4): Likewise.
27601 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27602 (__ASSUME_32BITUIDS): Likewise.
27603 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27604 (__ASSUME_IPC64): Likewise.
27605 (__ASSUME_ST_INO_64_BIT): Likewise.
27606 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
27607 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
27608 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27609 (__ASSUME_UTIMES): Do not define.
27610 (__ASSUME_PSELECT): Likewise.
27611 (__ASSUME_PPOLL): Likewise.
27612 (__ASSUME_O_CLOEXEC): Likewise.
27613 (__ASSUME_SOCK_CLOEXEC): Likewise.
27614 (__ASSUME_IN_NONBLOCK): Likewise.
27615 (__ASSUME_PIPE2): Likewise.
27616 (__ASSUME_EVENTFD2): Likewise.
27617 (__ASSUME_SIGNALFD4): Likewise.
27618 (__ASSUME_DUP3): Likewise.
27619 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27620 (__ASSUME_UTIMES): Likewise.
27621 (__ASSUME_O_CLOEXEC): Likewise.
27622 (__ASSUME_SOCK_CLOEXEC): Likewise.
27623 (__ASSUME_IN_NONBLOCK): Likewise.
27624 (__ASSUME_PIPE2): Likewise.
27625 (__ASSUME_EVENTFD2): Likewise.
27626 (__ASSUME_SIGNALFD4): Likewise.
27627 (__ASSUME_DUP3): Likewise.
27628 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27629 (__ASSUME_UTIMES): Likewise.
27630 (__ASSUME_O_CLOEXEC): Likewise.
27631 (__ASSUME_SOCK_CLOEXEC): Likewise.
27632 (__ASSUME_IN_NONBLOCK): Likewise.
27633 (__ASSUME_PIPE2): Likewise.
27634 (__ASSUME_EVENTFD2): Likewise.
27635 (__ASSUME_SIGNALFD4): Likewise.
27636 (__ASSUME_DUP3): Likewise.
27637 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
27638 Likewise.
27639 (__ASSUME_UTIMES): Likewise.
27640 (__ASSUME_EVENTFD2): Likewise.
27641 (__ASSUME_SIGNALFD4): Likewise.
27642 * sysdeps/unix/sysv/linux/tile/kernel-features.h
27643 (__ASSUME_O_CLOEXEC): Likewise.
27644 (__ASSUME_SOCK_CLOEXEC): Likewise.
27645 (__ASSUME_IN_NONBLOCK): Likewise.
27646 (__ASSUME_PIPE2): Likewise.
27647 (__ASSUME_EVENTFD2): Likewise.
27648 (__ASSUME_SIGNALFD4): Likewise.
27649 (__ASSUME_DUP3): Likewise.
27650 (__ASSUME_UTIMES): Undefine.
27651
27652 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
27653 feclearexcept. Remove symbol versioning code.
27654 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
27655 symbol versioning code.
27656 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
27657 symbol versioning code.
27658 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
27659 feupdateenv. Remove symbol versioning code.
27660 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
27661 fegetexceptflag. Remove symbol versioning code.
27662 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
27663 fesetexceptflag. Remove symbol versioning code.
27664 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
27665 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
27666 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
27667 (__posix_fadvise64_l32): Remove prototype.
27668 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
27669 code.
27670
27671 2014-05-13 Roland McGrath <roland@hack.frob.com>
27672
27673 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
27674 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
27675 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
27676 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
27677
27678 2014-05-13 Sami Kerola <kerolasa@iki.fi>
27679
27680 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
27681 current working directory
27682
27683 2014-05-13 Roland McGrath <roland@hack.frob.com>
27684
27685 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
27686 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
27687 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
27688 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
27689 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
27690 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
27691 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
27692 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
27693 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
27694 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
27695 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
27696 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
27697 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
27698 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
27699 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
27700 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
27701 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
27702 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
27703 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
27704 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
27705 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
27706 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
27707 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
27708 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
27709 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
27710 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
27711 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
27712 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
27713 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
27714 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
27715 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
27716 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
27717 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
27718 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
27719 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
27720 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
27721 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
27722 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
27723 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
27724 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
27725 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
27726 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
27727
27728 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
27729 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
27730
27731 * sysdeps/unix/sysv/linux/arm/Makefile
27732 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
27733 Add rt-aeabi_unwind_cpp_pr1.
27734 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
27735 Add nptl-aeabi_unwind_cpp_pr1.
27736 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
27737 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
27738 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
27739 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
27740 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
27741 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
27742
27743 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
27744 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
27745 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
27746 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
27747
27748 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
27749 Deconditionalize the code that was previously under [RESET_PID].
27750 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
27751
27752 * sysdeps/generic/exit-thread.h: New file.
27753 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
27754 * include/unistd.h (__exit_thread): Remove declaration.
27755 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
27756 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
27757 * csu/libc-start.c: Include <exit-thread.h>.
27758 (LIBC_START_MAIN): Pass no argument to __exit_thread.
27759 * nptl/pthread_create.c: Include <exit-thread.h>.
27760 (start_thread): Call __exit_thread in place of __exit_thread_inline.
27761 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
27762 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
27763 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
27764 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
27765 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
27766 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
27767 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
27768 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
27769 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
27770 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
27771 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
27772 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
27773 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
27774 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
27775 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
27776 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
27777
27778 2014-05-13 Andreas Schwab <schwab@suse.de>
27779
27780 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
27781
27782 2014-05-12 Joseph Myers <joseph@codesourcery.com>
27783
27784 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
27785 (__ASSUME_UTIMES): Do not condition on kernel version.
27786 (__ASSUME_PSELECT): Define unconditionally.
27787 (__ASSUME_PPOLL): Likewise.
27788 (__ASSUME_ATFCTS): Likewise.
27789 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
27790 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
27791 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
27792 (__ASSUME_UTIMENSAT): Define unconditionally.
27793 (__ASSUME_PRIVATE_FUTEX): Likewise.
27794 (__ASSUME_FALLOCATE): Likewise.
27795 (__ASSUME_O_CLOEXEC): Likewise.
27796 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
27797 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
27798 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
27799 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
27800 (__ASSUME_IN_NONBLOCK): Likewise.
27801 (__ASSUME_PIPE2): Likewise.
27802 (__ASSUME_EVENTFD2): Likewise.
27803 (__ASSUME_SIGNALFD4): Likewise.
27804 (__ASSUME_DUP3): Likewise.
27805 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
27806 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
27807 (__ASSUME_AT_RANDOM): Likewise.
27808 (__ASSUME_PREADV): Likewise.
27809 (__ASSUME_PWRITEV): Likewise.
27810 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
27811 (__ASSUME_F_GETOWN_EX): Define unconditionally.
27812 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
27813 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27814 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
27815 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27816 (__ASSUME_O_CLOEXEC): Define unconditionally.
27817 (__ASSUME_PSELECT): Do not undefine conditionally.
27818 (__ASSUME_PPOLL): Likewise.
27819 (__ASSUME_ATFCTS): Likewise.
27820 (__ASSUME_SET_ROBUST_LIST): Likewise.
27821 (__ASSUME_UTIMENSAT): Likewise.
27822 (__ASSUME_FDATASYNC): Define unconditionally.
27823 * sysdeps/unix/sysv/linux/arm/kernel-features.h
27824 (__ASSUME_SIGFRAME_V2): Likewise.
27825 )__ASSUME_EVENTFD2): Likewise.
27826 (__ASSUME_SIGNALFD4): Likewise.
27827 (__ASSUME_PSELECT): Do not undefine conditionally.
27828 (__ASSUME_PPOLL): Likewise.
27829 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27830 (__ASSUME_PSELECT): Define unconditionally.
27831 (__ASSUME_PPOLL): Likewise.
27832 (__ASSUME_O_CLOEXEC): Likewise.
27833 (__ASSUME_SOCK_CLOEXEC): Likewise.
27834 (__ASSUME_IN_NONBLOCK): Likewise.
27835 (__ASSUME_PIPE2): Likewise.
27836 (__ASSUME_EVENTFD2): Likewise.
27837 (__ASSUME_SIGNALFD4): Likewise.
27838 (__ASSUME_DUP3): Likewise.
27839 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27840 (__ASSUME_O_CLOEXEC): Likewise.
27841 (__ASSUME_SOCK_CLOEXEC): Likewise.
27842 (__ASSUME_IN_NONBLOCK): Likewise.
27843 (__ASSUME_PIPE2): Likewise.
27844 (__ASSUME_EVENTFD2): Likewise.
27845 (__ASSUME_SIGNALFD4): Likewise.
27846 (__ASSUME_DUP3): Likewise.
27847 * sysdeps/unix/sysv/linux/mips/kernel-features.h
27848 (__ASSUME_EVENTFD2): Likewise.
27849 (__ASSUME_SIGNALFD4): Likewise.
27850 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
27851
27852 2014-05-12 Andreas Schwab <schwab@suse.de>
27853
27854 [BZ #16932]
27855 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
27856 (_nss_nis_gethostbyname4_r): Return error if item length is larger
27857 than maximum RPC packet size.
27858 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
27859 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
27860 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
27861 (_nss_nis_getservbyport_r): Likewise.
27862
27863 2014-05-12 Will Newton <will.newton@linaro.org>
27864
27865 * malloc/Makefile (tests): Add tst-mallopt.
27866 * malloc/tst-mallopt.c: New file.
27867
27868 2014-05-09 Roland McGrath <roland@hack.frob.com>
27869
27870 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
27871 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
27872
27873 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27874
27875 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
27876 (tst-tlsmod6.so): Likewise.
27877
27878 2014-05-09 Roland McGrath <roland@hack.frob.com>
27879
27880 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
27881
27882 2014-05-09 Joseph Myers <joseph@codesourcery.com>
27883
27884 [BZ #16064]
27885 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
27886 and <dl-procinfo.h>.
27887 (__fegetenv): Save SSE state in envp->__eip if supported.
27888 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
27889 envp->__eip if supported.
27890 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
27891 and <dl-procinfo.h>.
27892 (__fesetenv): Always set __eip, __cs_selector, __opcode,
27893 __data_offset and __data_selector in environment to 0. Set SSE
27894 state if supported.
27895 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27896 test-fenv-sse.
27897 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
27898 -mfpmath=sse.
27899 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
27900
27901 2014-05-09 Will Newton <will.newton@linaro.org>
27902
27903 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
27904 and libc_relro_required for ARM.
27905 * sysdeps/arm/preconfigure: Regenerate.
27906
27907 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
27908 Stefan Liebler <stli@linux.vnet.ibm.com>
27909
27910 * config.make.in (enable-lock-elision): New Makefile variable.
27911 * configure.ac: Likewise.
27912 * configure: Regenerate.
27913 * sysdeps/s390/configure.ac:
27914 Add check for gcc transactions support.
27915 * sysdeps/s390/configure: Regenerate.
27916 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
27917 Build elision files if enabled.
27918 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
27919 Add lock elision support for s390.
27920 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
27921 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
27922 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
27923 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
27924 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
27925 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
27926 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
27927 Likewise.
27928 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
27929 Likewise.
27930 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
27931 Likewise.
27932 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
27933 Likewise.
27934 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
27935 (__lll_timedlock_elision, __lll_lock_elision)
27936 (__lll_unlock_elision, __lll_trylock_elision)
27937 (lll_timedlock_elision, lll_lock_elision)
27938 (lll_unlock_elision, lll_trylock_elision): Add.
27939 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27940 (pthread_mutex_t): Add lock elision support for s390.
27941
27942 2014-05-14 Wilco <wdijkstr@arm.com>
27943
27944 * sysdeps/arm/fclrexcpt.c: Cleanup.
27945 * sysdeps/arm/fedisblxcpt.c: Cleanup.
27946 * sysdeps/arm/feenablxcpt.c: Cleanup.
27947 * sysdeps/arm/fegetenv.c: Cleanup.
27948 * sysdeps/arm/fegetexcept.c: Cleanup.
27949 * sysdeps/arm/fegetround.c: Cleanup.
27950 * sysdeps/arm/feholdexcpt.c: Cleanup.
27951 * sysdeps/arm/fesetenv.c: Cleanup.
27952 * sysdeps/arm/fesetround.c: Cleanup.
27953 * sysdeps/arm/feupdateenv.c: Cleanup.
27954 * sysdeps/arm/fgetexcptflg.c: Cleanup.
27955 * sysdeps/arm/fraiseexcpt.c: Cleanup.
27956 * sysdeps/arm/fsetexcptflg.c: Cleanup.
27957 * sysdeps/arm/ftestexcept.c: Cleanup.
27958 * sysdeps/arm/get-rounding-mode.h: Cleanup.
27959 * sysdeps/arm/setfpucw.c: Cleanup.
27960
27961 2014-05-09 Will Newton <will.newton@linaro.org>
27962
27963 * sysdeps/arm/armv7/strcmp.S: New file.
27964 * NEWS: Mention addition of ARMv7 optimized strcmp.
27965
27966 2014-05-08 Roland McGrath <roland@hack.frob.com>
27967
27968 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
27969 look for %.ac rather than %.in.
27970
27971 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
27972 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
27973 * sysdeps/mach/hurd/configure: Regenerated.
27974 * sysdeps/unix/sysv/linux/configure: Regenerated.
27975
27976 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
27977
27978 2014-05-07 Steve Ellcey <sellcey@mips.com>
27979
27980 [BZ# 16922]
27981 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
27982 (LONG_SUB): Ditto.
27983 (PTR_SUB): Ditto.
27984
27985 2014-05-07 Andreas Schwab <schwab@suse.de>
27986
27987 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
27988 when skipping over non-matching result from nscd.
27989
27990 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
27991
27992 [BZ #16876]
27993 * nptl/sockperf.c (client): Check socket return value.
27994
27995 [BZ #16877]
27996 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
27997 nscd security class.
27998
27999 2014-05-06 Roland McGrath <roland@hack.frob.com>
28000
28001 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
28002 * sysdeps/arm/unwind.h: ... here.
28003
28004 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
28005
28006 [BZ# 16916]
28007 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
28008 Define.
28009
28010 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
28011
28012 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
28013 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
28014 multiarch strncpy for PPC64.
28015 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
28016 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
28017 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
28018 multiarch optimizations.
28019 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28020 (__libc_ifunc_impl_list): Likewise.
28021 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
28022 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
28023 multiarch stpncpy for PPC64.
28024 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
28025 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
28026
28027 2014-05-06 Andreas Schwab <schwab@suse.de>
28028
28029 [BZ #16912]
28030 * gmon/mcount.c (_MCOUNT_DECL): Use
28031 atomic_compare_and_exchange_bool_acq instead of
28032 catomic_compare_and_exchange_bool_acq.
28033
28034 2014-05-05 Roland McGrath <roland@hack.frob.com>
28035
28036 * elf/Makefile (others, install-bin): Remove pldd.
28037 (pldd-modules): Variable removed.
28038 ($(objpfx)pldd): Target removed.
28039 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
28040 (others, install-bin): Append pldd here.
28041 ($(objpfx)pldd): New target.
28042
28043 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
28044 to 0, so the first #if test emitted later doesn't see it undefined.
28045 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
28046 * sysdeps/gnu/errlist.c: Regenerated.
28047
28048 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28049
28050 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28051 [libc_hidden_builtin_def]: Define to empty value.
28052 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
28053 [libc_hidden_builtin_def]: Likewise.
28054 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
28055 [libc_hidden_builtin_def]: Likewise.
28056 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
28057 [libc_hidden_builtin_def]: Likewise.
28058 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
28059 __redirect_memcpy and define ifunc as default hidden symbol.
28060 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
28061 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
28062
28063 2014-05-04 Adam Conrad <adconrad@0c3.net>
28064
28065 * locale/iso-4217.def: Reintroduce XDR currency.
28066
28067 2014-05-04 Allan McRae <allan@archlinux.org>
28068
28069 * po/eo.po: Update Esperanto translation from translation project.
28070
28071 2014-05-02 Carlos O'Donell <carlos@redhat.com>
28072
28073 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
28074 and FEATURE_INDEX_MAX to 1.
28075 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
28076
28077 2014-05-01 Steve Ellcey <sellcey@mips.com>
28078
28079 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
28080 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
28081 * iconvdata/big5.c (ONE_DIRECTION): Define.
28082 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
28083 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
28084 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
28085 * iconvdata/cp932.c (ONE_DIRECTION): Define.
28086 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
28087 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
28088 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
28089 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
28090 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
28091 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
28092 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
28093 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
28094 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
28095 * iconvdata/gbk.c (ONE_DIRECTION): Define.
28096 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
28097 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
28098 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
28099 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
28100 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
28101 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
28102 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
28103 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
28104 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
28105 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
28106 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
28107 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
28108 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
28109 * iconvdata/iso646.c (ONE_DIRECTION): Define.
28110 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
28111 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
28112 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
28113 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
28114 * iconvdata/johab.c (ONE_DIRECTION): Define.
28115 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
28116 * iconvdata/sjis.c (ONE_DIRECTION): Define.
28117 * iconvdata/t.61.c (ONE_DIRECTION): Define.
28118 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
28119 * iconvdata/tscii.c (ONE_DIRECTION): Define.
28120 * iconvdata/uhc.c (ONE_DIRECTION): Define.
28121 * iconvdata/unicode.c (ONE_DIRECTION): Define.
28122 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
28123 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
28124 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
28125
28126 2014-05-01 Roland McGrath <roland@hack.frob.com>
28127
28128 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
28129 (_IO_JUMPS_OFFSET): Define to 0.
28130
28131 * nptl/sysdeps/pthread/bits/libc-lock.h
28132 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28133 (__libc_lock_define_initialized_recursive): Always define using
28134 initializer. Modern compilers treat uninitialized (implicit zero) and
28135 explicit zero initializers the same (i.e. put the datum in bss).
28136
28137 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
28138
28139 * nscd/nscd-client.h: Include <string.h>.
28140
28141 2014-05-01 David S. Miller <davem@davemloft.net>
28142
28143 [BZ #16885]
28144 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
28145 multiple zero bytes exist at the end of a string.
28146 Reported by Aurelien Jarno <aurelien@aurel32.net>
28147
28148 * string/test-strcmp.c (check): Add explicit test for situations where
28149 there are multiple zero bytes after the first.
28150
28151 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
28152
28153 [BZ #16890]
28154 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
28155 when compiling wprintf.
28156 * stdio-common/tstdiomisc.c (t3): New function.
28157 (main): Call it.
28158
28159 2014-05-01 Steve Ellcey <sellcey@mips.com>
28160
28161 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
28162 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
28163 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
28164 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
28165
28166 2014-05-01 Steve Ellcey <sellcey@mips.com>
28167
28168 * stdlib/longlong.h: Updated from GCC.
28169
28170 2014-05-01 Will Newton <will.newton@linaro.org>
28171 Bernard Ogden <bernie.ogden@linaro.org>
28172
28173 * NEWS: Update fixed bug list.
28174
28175 [BZ #15119]
28176 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
28177
28178 2014-04-30 David S. Miller <davem@davemloft.net>
28179
28180 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
28181 (libc_feholdexcept_setround_sparc_ctx): New function.
28182 (libc_fesetenv_sparc_ctx): Likewise.
28183 (libc_feupdateenv_sparc_ctx): Likewise.
28184 (libc_feholdsetround_sparc_ctx): Likewise.
28185 (libc_feholdexcept_setround_ctx): Define.
28186 (libc_feholdexcept_setroundf_ctx): Likewise.
28187 (libc_feholdexcept_setroundl_ctx): Likewise.
28188 (libc_fesetenv_ctx): Likewise.
28189 (libc_fesetenvf_ctx): Likewise.
28190 (libc_fesetenvl_ctx): Likewise.
28191 (libc_feupdateenv_ctx): Likewise.
28192 (libc_feupdateenvf_ctx): Likewise.
28193 (libc_feupdateenvl_ctx): Likewise.
28194 (libc_feresetround_ctx): Likewise.
28195 (libc_feresetroundf_ctx): Likewise.
28196 (libc_feresetroundl_ctx): Likewise.
28197 (libc_feholdsetround_ctx): Likewise.
28198 (libc_feholdsetroundf_ctx): Likewise.
28199 (libc_feholdsetroundl_ctx): Likewise.
28200
28201 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28202 with __USE_GNU instead of XOPEN cpp guards.
28203
28204 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
28205 0.
28206
28207 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28208 with XOPEN cpp guards.
28209
28210 2014-04-30 Julian Brown <julian@codesourcery.com>
28211
28212 [BZ #16888]
28213 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
28214 handling.
28215
28216 2014-04-30 Joseph Myers <joseph@codesourcery.com>
28217
28218 [BZ #9894]
28219 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
28220 Change to 2.6.32.
28221 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
28222 * sysdeps/unix/sysv/linux/configure: Regenerated.
28223 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
28224 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
28225 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
28226 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
28227 * README: Update reference to required Linux kernel version.
28228 * manual/install.texi (Linux): Update reference to required Linux
28229 kernel headers version.
28230 * INSTALL: Regenerated.
28231
28232 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
28233 header inclusion.
28234 [POSIX] (limits.h): Likewise.
28235 [POSIX] (math.h): Likewise.
28236 [POSIX] (sys/wait.h): Likewise.
28237 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
28238 function.
28239 [POSIX] (stddef.h): Do not allow header inclusion.
28240
28241 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28242
28243 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
28244
28245 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
28246
28247 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28248 Return immediately after lll_futex_wake.
28249
28250 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28251
28252 [BZ #16791]
28253 * nscd/nscd-client.h (datahead_init_common): Initialize entire
28254 structure.
28255 (datahead_init_pos): Call datahead_init_common early.
28256 (datahead_init_neg): Likewise.
28257
28258 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
28259 datahead_init_neg): New functions.
28260 * nscd/aicache.c (addhstaiX): Use them.
28261 * nscd/grpcache.c (cache_addgr): Likewise.
28262 * nscd/hstcache.c (cache_addhst): Likewise.
28263 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28264 * nscd/netgroupcache.c (do_notfound): Likewise.
28265 (addgetnetgrentX): Likewise.
28266 (addinnetgrX): Likewise.
28267 * nscd/pwdcache.c (cache_addpw): Likewise.
28268 * nscd/servicescache.c (cache_addserv): Likewise.
28269
28270 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28271 Atsushi Onoe <atsushi@onoe.org>
28272
28273 [BZ #14308]
28274 [BZ #12994]
28275 [BZ #13651]
28276 * resolv/res_query.c (__libc_res_nsearch): Return if at least
28277 one response is valid.
28278 * resolv/res_send.c (send_dg): Check for validity of other
28279 response if the current response is a referral.
28280
28281 2014-04-29 Steve Ellcey <sellcey@mips.com>
28282
28283 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
28284
28285 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
28286
28287 [BZ #16823]
28288 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
28289 Always divide by positive zero when computing -Inf result.
28290 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
28291 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
28292
28293 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28294
28295 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
28296 FPSCR if value do not change.
28297 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28298 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
28299 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28300 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28301 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
28302 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
28303 function.
28304
28305 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
28306
28307 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
28308 * sysdeps/unix/sysv/linux/hppa: Move directory from
28309 ports/systeps/unix/sysv/linux/hppa.
28310 * README: Update listing for hppa-*-linux-gnu.
28311
28312 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
28313
28314 [BZ #16754]
28315 * manual/stdio.texi (Hook functions): Fix types of stream hook
28316 functions.
28317 [BZ #16854]
28318 * socket/sys/socket.h: Fix typo in comment.
28319
28320 2014-04-28 Wilco <wdijkstr@arm.com>
28321
28322 * sysdeps/arm/fenv_private.h: New file.
28323 * sysdeps/arm/math_private.h: New file.
28324 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
28325
28326 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
28327
28328 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
28329 with __int128_t.
28330 (La_x86_64_retval): Likewise.
28331
28332 2014-04-24 Ian Bolton <ian.bolton@arm.com>
28333
28334 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
28335 fpsr if value didn't change.
28336 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
28337 to fpcr if value didn't change.
28338 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
28339 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
28340 fpsr or fpcr if value didn't change.
28341 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
28342 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
28343 fpcr if value didn't change.
28344 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
28345 to fpsr if value didn't change.
28346
28347 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28348
28349 * nptl/tst-sem3.c: Use test-skeleton.c
28350 (main): Rename to do_test. Use return instead of
28351 exit.
28352 * nptl/tst-sem4.c: Use test-skeleton.c
28353 (main): Rename to do_test.
28354
28355 2014-04-22 David S. Miller <davem@davemloft.net>
28356
28357 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
28358 (struct sigaction): New struct member __glibc_reserved0, change
28359 type of sa_flags to int.
28360
28361 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
28362
28363 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
28364 (COUNT_LEADING_ZEROS_0): Define for AArch64.
28365
28366 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28367
28368 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
28369 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
28370
28371 2014-04-22 Will Newton <will.newton@linaro.org>
28372 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
28373
28374 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
28375 (__longjmp): Add longjmp and longjmp_target SystemTap
28376 probes.
28377 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
28378 (__sigsetjmp): Add setjmp SystemTap probe.
28379
28380 2014-04-17 Carlos O'Donell <carlos@redhat.com>
28381
28382 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
28383 match manual order.
28384
28385 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28386
28387 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
28388
28389 * sysdeps/powerpc/fpu/fenv_private.h
28390 (libc_feholdexcept_setroundl_ctx): Define to
28391 libc_feholdexcept_setround_ppc_ctx.
28392 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
28393 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
28394 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
28395 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
28396
28397 2014-04-17 Ian Bolton <ian.bolton@arm.com>
28398
28399 * sysdeps/aarch64/math-tests.h: New file.
28400
28401 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
28402
28403 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
28404 New.
28405 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28406 Check and set bit_AVX2_Usable.
28407 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
28408 macro.
28409 (bit_AVX2): Likewise.
28410 (index_AVX2_Usable): Likewise.
28411 (CPUID_AVX2): Likewise.
28412 (HAS_AVX2): Likewise.
28413
28414 2014-04-17 Will Newton <will.newton@linaro.org>
28415
28416 * manual/setjmp.texi (System V contexts): Add note that
28417 calling setcontext on a context created by a call to a
28418 signal handler is undefined. Update text to note that
28419 setcontext from a signal handler is possible but not
28420 recommended.
28421
28422 [BZ #16629]
28423 * stdlib/tst-setcontext.c: Include signal.h.
28424 (main): Check that the signal stack before and
28425 after swapcontext is the same.
28426
28427 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
28428 Re-implement to restore registers in user code and avoid
28429 rt_sigreturn system call.
28430
28431 2014-04-17 Wilco <wdijkstr@arm.com>
28432
28433 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
28434 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
28435 * math/test-fenv.c: Skip exception trap tests on targets which only
28436 support non-stop mode.
28437
28438 2014-04-17 Ian Bolton <ian.bolton@arm.com>
28439 Wilco Dijkstra <wilco.dijkstra@arm.com>
28440
28441 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
28442 (libc_feholdsetround_aarch64_ctx)
28443 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
28444 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
28445 (libc_feresetround_ctx, libc_feresetroundf_ctx)
28446 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
28447 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
28448 (libc_feresetround_noexl_ctx): Define.
28449
28450 2014-04-16 Richard Henderson <rth@redhat.com>
28451
28452 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
28453
28454 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
28455 unwind tables.
28456
28457 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
28458 const from the non-libc, non-ldso copy.
28459
28460 * sysdeps/alpha/libm-test-ulps: Regenerate.
28461
28462 2014-04-16 Ian Bolton <ian.bolton@arm.com>
28463 Wilco Dijkstra <wilco.dijkstra@arm.com>
28464
28465 * sysdeps/aarch64/fpu/math_private.h: New file.
28466
28467 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
28468
28469 * sysdeps/aarch64/libm-test-ulps: Regenerate.
28470
28471 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
28472
28473 [BZ #16275]
28474 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
28475 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
28476 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
28477 Intel MPX bound registers before _dl_profile_fixup.
28478 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
28479 registers after _dl_profile_fixup. Save and restore bound
28480 registers bnd0/bnd1 when calling _dl_call_pltexit.
28481 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
28482 (LR_BND_OFFSET): Likewise.
28483 (LRV_BND0_OFFSET): Likewise.
28484 (LRV_BND1_OFFSET): Likewise.
28485
28486 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
28487
28488 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
28489 to...
28490 * sysdeps/mach/hurd/i386/tls.h: ... here.
28491 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
28492 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
28493 fields.
28494
28495 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
28496
28497 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
28498
28499 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
28500
28501 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28502
28503 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
28504
28505 [BZ #14770]
28506 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
28507 * sysdeps/s390/configure: Regenerate.
28508
28509 [BZ #16824]
28510 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
28511 Set round-to-nearest internally to reduce error accumulation.
28512
28513 2014-04-16 Alan Modra <amodra@gmail.com>
28514
28515 [BZ #16740]
28516 [BZ #16619]
28517 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
28518 * math/libm-test.inc (frexp_test_data): Add tests.
28519 * NEWS: Update fixed bug list.
28520
28521 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28522
28523 * benchtests/Makefile: Depend on libraries in build directory.
28524 (bench-math): Separate out math tests.
28525 (bench-pthread): Separate out pthread tests.
28526 (bench): Include math and pthread tests.
28527
28528 2014-04-14 Carlos O'Donell <carlos@redhat.com>
28529
28530 [BZ #16831]
28531 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
28532 _dl_debug_initialize.
28533
28534 * configure.ac: Remove SELinux header check.
28535 * configure: Regenerate.
28536 * nscd/selinux.c (perms): Array of const char* to permission names.
28537 (nscd_request_avc_has_perm): Call security_deny_unknown to find
28538 default policy. Call string_to_security_class and string_to_av_perm to
28539 translate strings. Enforce default policy and call avs_has_perm with
28540 results of translated strings.
28541
28542 2014-04-13 David S. Miller <davem@davemloft.net>
28543
28544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28545
28546 2014-04-12 Allan McRae <allan@archlinux.org>
28547
28548 [BZ #16838]
28549 * manual/string.texi (Collation Functions): Fix qsort argument
28550 order in example.
28551 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28552
28553 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
28554
28555 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
28556 Make the test a no-op if there are no exceptions defined.
28557
28558 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
28559
28560 * elf/Makefile (tests): make tst-dlopen-aout conditional on
28561 enable-hardcoded-path-in-tests
28562
28563 2014-04-11 Will Newton <will.newton@linaro.org>
28564
28565 * benchtests/Makefile (extra-objs): Add json-lib.o.
28566 (bench-func): Tidy up JSON output.
28567 * benchtests/bench-skeleton.c: Include json-lib.h.
28568 (main): Use JSON library functions to do output of
28569 benchmark results.
28570 * benchtests/bench-timing-type.c (main): Output the
28571 timing type simply, leaving formatting to the user.
28572 * benchtests/json-lib.c: New file.
28573 * benchtests/json-lib.h: Likewise.
28574
28575 2014-04-11 Torvald Riegel <triegel@redhat.com>
28576
28577 [BZ #15215]
28578 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
28579 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
28580 memory barriers. Add comments.
28581 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
28582 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
28583 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
28584 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
28585 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
28586 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
28587
28588 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
28589
28590 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
28591 * sysdeps/s390/s390-64/configure.ac: ... this ...
28592 * sysdeps/s390/configure.ac: ... to here.
28593 * sysdeps/s390/s390-32/configure: Delete file.
28594 * sysdeps/s390/s390-64/configure: Delete file.
28595 * sysdeps/s390/configure: Regenerate.
28596
28597 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
28598
28599 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
28600
28601 2014-04-11 Will Newton <will.newton@linaro.org>
28602
28603 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
28604 to zero if it is not defined elsewhere. (mtrim): Test
28605 the value of MALLOC_DEBUG with #if rather than #ifdef.
28606
28607 2014-04-10 Torvald Riegel <triegel@redhat.com>
28608
28609 * benchtests/pthread_once-inputs: New file.
28610 * benchtests/pthread_once-source.c: New file.
28611 * benchtests/README: Update documentation.
28612
28613 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
28614 H.J. Lu <hongjiu.lu@intel.com>
28615
28616 [BZ #16275]
28617 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
28618 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
28619 * sysdeps/x86_64/configure: Regenerated.
28620 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
28621 macro.
28622 (REGISTER_SAVE_RAX): Likewise.
28623 (REGISTER_SAVE_RCX): Likewise.
28624 (REGISTER_SAVE_RDX): Likewise.
28625 (REGISTER_SAVE_RSI): Likewise.
28626 (REGISTER_SAVE_RDI): Likewise.
28627 (REGISTER_SAVE_R8): Likewise.
28628 (REGISTER_SAVE_R9): Likewise.
28629 (REGISTER_SAVE_BND0): Likewise.
28630 (REGISTER_SAVE_BND1): Likewise.
28631 (REGISTER_SAVE_BND2): Likewise.
28632 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
28633 bound registers when calling _dl_fixup.
28634
28635 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28636
28637 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
28638 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
28639 of its definition.
28640 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
28641 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
28642 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
28643 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
28644 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
28645 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
28646 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
28647
28648 2014-04-09 Peter Brett <peter@peter-b.co.uk>
28649
28650 [BZ #15514]
28651 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
28652 pathconf(_PC_NAME_MAX).
28653
28654 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28655
28656 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
28657 Remove macro usage.
28658 (__PTHREAD_SPINS): Move definition to ...
28659 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28660 (__PTHREAD_SPINS): ... here.
28661 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28662 (__PTHREAD_SPIN): Likewise.
28663 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
28664 (__PTHREAD_SPIN): Likewise.
28665 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
28666 (__PTHREAD_SPIN): Likewise.
28667 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
28668 (__PTHREAD_SPIN): Likewise.
28669 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
28670 (__PTHREAD_SPIN): Likewise.
28671 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
28672 (__PTHREAD_SPIN): Likewise.
28673 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
28674 (__PTHREAD_SPIN): Likewise.
28675 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
28676 (__PTHREAD_SPIN): Likewise.
28677 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
28678 (__PTHREAD_SPIN): Likewise.
28679 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
28680 (__PTHREAD_SPIN): Likewise.
28681 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
28682 (__PTHREAD_SPIN): Likewise.
28683 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
28684 (__PTHREAD_SPIN): Likewise.
28685
28686 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
28687 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
28688 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
28689 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
28690 imply folder.
28691 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
28692 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
28693 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
28694 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
28695 correct imply path.
28696 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
28697 strlen symbol for non multi-arch builds.
28698 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
28699 missing hidden_def and weak_alias.
28700
28701 2014-04-08 Carlos O'Donell <carlos@redhat.com>
28702
28703 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
28704
28705 2014-04-07 Will Newton <will.newton@linaro.org>
28706
28707 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
28708 and contents. [!_LIBC] Remove #ifndef and contents.
28709 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
28710 * string/memccpy.c (__memccpy): Use ANSI prototype.
28711 * string/memfrob.c (memfrob): Likewise.
28712 * string/strcoll.c (STRCOLL): Likewise.
28713 * string/strlen.c (strlen): Likewise.
28714 * string/strtok.c (STRTOK): Likewise.
28715 * string/strcat.c: Remove unused #include of memcopy.h.
28716 (strcat): Use ANSI prototype.
28717 * string/strchr.c: Remove unused #include of memcopy.h.
28718 (strchr): Use ANSI prototype.
28719 * string/strcmp.c: Remove unused #include of memcopy.h.
28720 (strcmp): Use ANSI prototype.
28721 * string/strcpy.c: Remove unused #include of memcopy.h.
28722 (strcpy): Use ANSI prototype.
28723
28724 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28725
28726 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
28727 * config.make.in (config-extra-cppflags): Set it from
28728 libc_extra_cppflags.
28729 * configure.ac (libc_extra_cflags): Make it accumulate over
28730 configure fragments.
28731 (libc_extra_cppflags): New flag.
28732 * configure. Regenerate.
28733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
28734 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
28735 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
28736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
28737
28738 [BZ #16815]
28739 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
28740 result for FE_DOWNWARD rounding mode.
28741 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
28742 Likewise.
28743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28744
28745 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
28746
28747 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
28748 in function argument name.
28749
28750 2014-04-03 David Svoboda <svoboda@cert.org>
28751
28752 [BZ #5666]
28753 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
28754 explicitly.
28755
28756 2014-04-03 Roland McGrath <roland@hack.frob.com>
28757
28758 * elf/dl-unmap-segments.h: New file.
28759 * sysdeps/generic/ldsodefs.h
28760 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
28761 * elf/dl-close.c: Include <dl-unmap-segments.h>.
28762 * elf/dl-fptr.c: Likewise.
28763 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
28764 * sysdeps/aarch64/tlsdesc.c: Likewise.
28765 * sysdeps/arm/tlsdesc.c: Likewise.
28766 * sysdeps/i386/tlsdesc.c: Likewise.
28767 * sysdeps/tile/dl-runtime.c: Likewise.
28768 * sysdeps/x86_64/tlsdesc.c: Likewise.
28769 * elf/dl-load.h: New file.
28770 * elf/dl-load.c: Include it.
28771 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
28772 Macros moved to dl-load.h.
28773 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
28774 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
28775 Use _dl_unmap_segments in place of __munmap.
28776 Break out segment-mapping loop into ...
28777 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
28778
28779 2014-04-03 Will Newton <will.newton@linaro.org>
28780
28781 * elf/dl-lookup.c (do_lookup_x): Remove comment
28782 referring to nested function and move variable
28783 declarations down to before first use.
28784
28785 2014-04-02 Joseph Myers <joseph@codesourcery.com>
28786
28787 [BZ #16799]
28788 [BZ #16800]
28789 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
28790 with 0 numerator.
28791 * math/s_catanf.c (__catanf): Likewise.
28792 * math/s_catanh.c (__catanh): Likewise.
28793 * math/s_catanhf.c (__catanhf): Likewise.
28794 * math/s_catanhl.c (__catanhl): Likewise.
28795 * math/s_catanl.c (__catanl): Likewise.
28796 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
28797 by positive zero when computing -Inf result.
28798 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
28799 (catanh_test): Likewise.
28800 * sysdeps/i386/fpu/libm-test-ulps: Update.
28801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28802
28803 [BZ #16789]
28804 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
28805 instead of using underflowing value in computing result.
28806 * math/s_clog10.c (__clog10): Likewise.
28807 * math/s_clog10f.c (__clog10f): Likewise.
28808 * math/s_clog10l.c (__clog10l): Likewise.
28809 * math/s_clogf.c (__clogf): Likewise.
28810 * math/s_clogl.c (__clogl): Likewise.
28811 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
28812 (clog10_test): Likewise.
28813 * sysdeps/i386/fpu/libm-test-ulps: Update.
28814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28815
28816 2014-04-02 Alan Modra <amodra@gmail.com>
28817
28818 [BZ #16739]
28819 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
28820 output when value is near a power of two. Use int64_t for lx and
28821 remove casts. Use decimal rather than hex exponent constants.
28822 Don't use long double multiplication when double will suffice.
28823 * math/libm-test.inc (nextafter_test_data): Add tests.
28824 * NEWS: Add 16739 and 16786 to bug list.
28825
28826 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
28827
28828 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
28829
28830 2014-04-01 Will Newton <will.newton@linaro.org>
28831
28832 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
28833 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
28834
28835 2014-04-01 Florian Weimer <fweimer@redhat.com>
28836
28837 [BZ #13347]
28838 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
28839 * nptl/tst-setuid2.c: New file.
28840 * nptl/Makefile (xtests): Add tst-setuid2.
28841
28842 2014-04-01 Alan Modra <amodra@gmail.com>
28843
28844 [BZ #16786]
28845 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
28846
28847 2014-03-31 Joseph Myers <joseph@codesourcery.com>
28848
28849 [BZ #6803]
28850 [BZ #6804]
28851 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
28852 set errno as appropriate.
28853 * math/w_scalbf.c (__scalbf): Likewise.
28854 * math/w_scalbl.c (__scalbl): Likewise.
28855 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
28856 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
28857 * math/libm-test.inc (scalb_test_data): Add errno expectations.
28858 Add more NaN tests.
28859
28860 [BZ #16349]
28861 * math/w_atan2.c: Include <errno.h>.
28862 (__atan2): Set errno for result underflowing to zero.
28863 * math/w_atan2f.c: Include <errno.h>.
28864 (__atan2f): Set errno for result underflowing to zero.
28865 * math/w_atan2l.c: Include <errno.h>.
28866 (__atan2l): Set errno for result underflowing to zero.
28867 * math/auto-libm-test-in: Don't allow missing errno for some atan2
28868 tests.
28869 * math/auto-libm-test-out: Regenerated.
28870
28871 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28872
28873 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28874 Encode instruction correctly in little endian.
28875 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28876 Likewise.
28877 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28878 Likewise.
28879 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28880 Likewise.
28881 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28882 Likewise.
28883
28884 2014-03-31 Joseph Myers <joseph@codesourcery.com>
28885
28886 [BZ #9894]
28887 * sysdeps/unix/sysv/linux/kernel-features.h
28888 [__sparc__ && !__arch64__ && !__sparc_v9__]
28889 (__ASSUME_SET_ROBUST_LIST): Do not define.
28890 [__sparc__ && !__arch64__ && !__sparc_v9__]
28891 (__ASSUME_FUTEX_LOCK_PI): Likewise.
28892 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
28893 Likewise.
28894 * sysdeps/unix/sysv/linux/arm/kernel-features.h
28895 (__ASSUME_FUTEX_LOCK_PI): Undefine.
28896 (__ASSUME_REQUEUE_PI): Likewise.
28897 (__ASSUME_SET_ROBUST_LIST): Likewise.
28898 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28899 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
28900 Undefine.
28901 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28902 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
28903 Likewise.
28904 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
28905 Likewise.
28906 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
28907 Likewise.
28908 * sysdeps/unix/sysv/linux/mips/kernel-features.h
28909 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
28910 Undefine.
28911 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
28912 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
28913 Likewise.
28914
28915 [BZ #16648]
28916 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28917 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
28918 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
28919
28920 2014-03-31 Will Newton <will.newton@linaro.org>
28921
28922 * benchtests/Makefile (bench): Add ffs and ffsll to list
28923 of tests.
28924 * benchtests/ffs-inputs: New file.
28925 * benchtests/ffsll-inputs: Likewise.
28926
28927 2014-03-29 Joseph Myers <joseph@codesourcery.com>
28928
28929 [BZ #16770]
28930 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
28931 too large before casting to int.
28932 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
28933 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
28934 * math/libm-test.inc (scalb_test_data): Add more tests.
28935
28936 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28937
28938 * benchtests/Makefile (DETAILED_OPT): New make option.
28939 (bench-func): Run benchmark program with -d if DETAILED_OPT is
28940 set.
28941 * benchtests/bench-skeleton.c: Include stdbool.h.
28942 (main): Store and print timings per input.
28943 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
28944 member to each argument value.
28945 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
28946 (_print_arg_data): Initialize per-input timing to 0.
28947
28948 * benchtests/Makefile (timing-type): New binary.
28949 (bench-clean): Also remove bench-timing-type.
28950 (bench): New target for timing-type.
28951 (bench-func): Print output in JSON format.
28952 * benchtests/bench-skeleton.c (main): Print output in JSON
28953 format.
28954 * benchtests/bench-timing-type.c: New file.
28955 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
28956 (TIMING_PRINT_STATS): Remove.
28957 * benchtests/scripts/bench.py (_print_arg_data): Store variant
28958 name separately.
28959
28960 * benchtests/bench-modf.c: Remove.
28961 * benchtests/modf-inputs: New inputs file.
28962
28963 2014-03-28 Joseph Myers <joseph@codesourcery.com>
28964
28965 [BZ #16362]
28966 * math/s_clog10.c (M_PI_LOG10E): New macro.
28967 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
28968 imaginary parts are 0.
28969 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
28970 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
28971 imaginary parts are 0.
28972 * math/s_clog10l.c (M_PI_LOG10El): New macro.
28973 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
28974 imaginary parts are 0.
28975 * math/libm-test.inc (clog10_test_data): Update expected results
28976 for when real and imaginary parts are 0.
28977
28978 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
28979
28980 * elf/dl-load.c: Finish conversion of __builtin_expect into
28981 __glibc_{un}likely.
28982
28983 2014-03-27 Joseph Myers <joseph@codesourcery.com>
28984
28985 [BZ #16348]
28986 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
28987 1+x for argument with exponent below -67.
28988 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
28989 Likewise.
28990 * math/auto-libm-test-in: Add more tests of exp.
28991 * math/auto-libm-test-out: Regenerated.
28992
28993 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28994
28995 [BZ #16759]
28996 * inet/getnetgrent_r.c (get_nonempty_val): New function.
28997 (nscd_getnetgrent): Use it.
28998
28999 [BZ #16760]
29000 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
29001 of stpcpy.
29002
29003 2014-03-27 Andi Kleen <ak@linux.intel.com>
29004
29005 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
29006 (lll_robust_lock, lll_cond_lock, lll_timedlock)
29007 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29008 (lll_robust_unlock): Remove out of line section. Use cfi
29009 intrinsics.
29010 (LLL_STUB_UNWIND_INFO*): Remove.
29011 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
29012 (lll_robust_lock, lll_cond_lock, lll_timedlock)
29013 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29014 (lll_robust_unlock): Remove out of line section. Use cfi
29015 intrinsics.
29016 (LLL_STUB_UNWIND_INFO*): Remove.
29017
29018 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29019
29020 [BZ #16758]
29021 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
29022 blank values.
29023
29024 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
29025
29026 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
29027
29028 2014-03-26 Joseph Myers <joseph@codesourcery.com>
29029
29030 [BZ #16198]
29031 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
29032 fnstenv.
29033 * math/test-fenv-preserve.c: New file.
29034 * math/Makefile (tests): Add test-fenv-preserve.
29035
29036 2014-03-26 Will Newton <will.newton@linaro.org>
29037
29038 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
29039
29040 2014-03-25 Roland McGrath <roland@hack.frob.com>
29041
29042 * scripts/versionlist.awk: Partition the version sets and emit all
29043 GLIBC_* (sorted) before all others (sorted).
29044
29045 2014-03-25 Joseph Myers <joseph@codesourcery.com>
29046
29047 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
29048 GLIBC_2.2.5 version.
29049
29050 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29051
29052 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
29053 calls.
29054
29055 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
29056 previous change.
29057
29058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29059
29060 2014-03-25 Andreas Schwab <schwab@suse.de>
29061
29062 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
29063 label to be used after in6ailist is initialized.
29064
29065 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29066
29067 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29068 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29069
29070 2014-03-25 Joseph Myers <joseph@codesourcery.com>
29071
29072 [BZ #16357]
29073 [BZ #16599]
29074 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
29075 min_plus_half.
29076 (fp_formats): Update initializers.
29077 (init_fp_formats): Initialize new field.
29078 (output_for_one_input_case): Allow underflow for results up to
29079 min_plus_half.
29080 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
29081 * math/auto-libm-test-in: Don't mark some underflows from asin and
29082 atanh as spurious.
29083 * math/auto-libm-test-out: Regenerated.
29084 * sysdeps/i386/fpu/libm-test-ulps: Update.
29085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29086
29087 2014-03-25 Andreas Schwab <schwab@suse.de>
29088
29089 * libio/Makefile (tst-ftell-partial-wide-ENV)
29090 (tst-ftell-active-handler-ENV): Define.
29091
29092 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29093
29094 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
29095
29096 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
29097
29098 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
29099
29100 2014-03-24 Joseph Myers <joseph@codesourcery.com>
29101
29102 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
29103 * sysdeps/x86_64/fpu/multiarch/e_exp.c
29104 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29105
29106 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
29107
29108 [BZ #16634]
29109 * elf/dl-load.c (open_verify): Add mode parameter.
29110 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
29111 (open_path): Change from boolean 'secure' to complete flag 'mode'
29112 (_dl_map_object): Adjust.
29113 * elf/Makefile (tests): Add tst-dlopen-aout.
29114 * elf/tst-dlopen-aout.c: New test.
29115
29116 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
29117
29118 [BZ #16714]
29119 * sysdeps/unix/sysv/linux/s390/bits/stat.h
29120 (struct stat): Rename member pad0 to __glibc_reserved0.
29121
29122 [BZ #16712]
29123 * sysdeps/s390/s390-32/bits/wordsize.h
29124 (__WORDSIZE32_SIZE_ULONG): New define.
29125 * sysdeps/s390/s390-64/bits/wordsize.h
29126 (__WORDSIZE32_SIZE_ULONG): Likewise.
29127 * sysdeps/generic/stdint.h (SIZE_MAX):
29128 Define as UL if __WORDSIZE32_SIZE_ULONG.
29129
29130 [BZ #16713]
29131 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
29132 (__glibc_reserved0): New variable.
29133 (sa_flags): Change type to int.
29134
29135 * posix/Makefile (before-compile): Use += before-compile instead
29136 of a :=.
29137
29138 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29139 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29140
29141 2014-03-20 Andreas Schwab <schwab@suse.de>
29142
29143 [BZ #16743]
29144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
29145 non-matching result from nscd.
29146
29147 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29148
29149 * scripts/bench.py: Moved to ...
29150 * benchtests/scripts/bench.py: ... here.
29151 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
29152
29153 2014-03-24 Andreas Schwab <schwab@suse.de>
29154
29155 [BZ #16002]
29156 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
29157 alloca_account and account alloca use for struct in6ailist.
29158
29159 2014-03-24 Joseph Myers <joseph@codesourcery.com>
29160
29161 [BZ #16284]
29162 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
29163 rounding mode to recompute results that overflow to infinity or
29164 underflow to zero.
29165 * math/auto-libm-test-in: Don't mark tests as expected to fail for
29166 bug 16284.
29167 * math/auto-libm-test-out: Regenerated.
29168 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
29169 (ccosh_test): Likewise.
29170 (csin_test_data): Use plus_oflow.
29171 (csin_test): Use ALL_RM_TEST.
29172 (csinh_test_data): Use plus_oflow.
29173 (csinh_test): Use ALL_RM_TEST.
29174 * sysdeps/i386/fpu/libm-test-ulps: Update.
29175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29176
29177 2014-03-21 Joseph Myers <joseph@codesourcery.com>
29178
29179 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
29180 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
29181 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
29182
29183 [BZ #16731]
29184 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
29185 when x - 1 is zero.
29186 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
29187 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
29188 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29189 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
29190 argument is 1.
29191 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
29192 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
29193 zero.
29194 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
29195 * sysdeps/i386/fpu/libm-test-ulps: Update.
29196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29197
29198 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29199
29200 * scripts/bench.pl: Remove file.
29201 * scripts/bench.py: New benchmark script.
29202 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
29203 * benchtests/README: Mention python dependency.
29204 * scripts/pylintrc: New file.
29205 * scripts/pylint: New file.
29206
29207 * bits/mathdef.h: Use #ifdef instead of #if.
29208 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
29209 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29210 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
29211 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29212 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
29213 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29214
29215 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29216 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
29217
29218 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
29219 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
29220 and strpbrk-ppc64 objects.
29221 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29222 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
29223 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
29224 multiarch strpbrk for POWER7.
29225 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
29226 multiarch strpbrk for PPC64.
29227 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
29228 ifunc selector.
29229 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
29230 strpbrk for POWER7.
29231
29232 2014-03-20 Joseph Myers <joseph@codesourcery.com>
29233
29234 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
29235 (atan_test): Likewise.
29236 (atanh_test_data): Use NO_TEST_INLINE for two tests.
29237 (atanh_test): Use ALL_RM_TEST.
29238 (atan2_test_data): Likewise.
29239 (cabs_test): Likewise.
29240 (cacosh_test): Likewise.
29241 (carg_test): Likewise.
29242 (casin_test): Likewise.
29243 (casinh_test): Likewise.
29244 (cbrt_test): Likewise.
29245 (csqrt_test): Likewise.
29246 (erf_test): Likewise.
29247 (erfc_test): Likewise.
29248 (pow10_test): Likewise.
29249 (exp2_test): Likewise.
29250 (hypot_test): Likewise.
29251 (j0_test): Likewise.
29252 (j1_test): Likewise.
29253 (lgamma_test): Likewise.
29254 (gamma_test): Likewise.
29255 (sincos_test): Likewise.
29256 (tanh_test): Likewise.
29257 (y0_test): Likewise.
29258 (y1_test): Likewise.
29259 * sysdeps/i386/fpu/libm-test-ulps: Update.
29260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29261
29262 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29263
29264 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
29265 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
29266 and strcspn-ppc64 objects.
29267 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29268 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
29269 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
29270 multiarch strcspn for POWER7.
29271 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
29272 multiarch strcspn for PPC64.
29273 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
29274 ifunc selector.
29275 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
29276 strcspn for POWER7.
29277
29278 2014-03-20 Joseph Myers <joseph@codesourcery.com>
29279
29280 * math/gen-libm-test.pl (generate_testfile): Expect only function
29281 name as argument to AUTO_TESTS_* and pass results for all rounding
29282 modes to parse_args.
29283 (parse_auto_input): Separate inputs of automatic tests from
29284 outputs before storing in %auto_tests.
29285 * math/libm-test.inc (acos_test_data): Update call to
29286 AUTO_TESTS_f_f.
29287 (acos_test): Use ALL_RM_TEST.
29288 (acos_tonearest_test_data): Remove.
29289 (acos_test_tonearest): Likewise.
29290 (acos_towardzero_test_data): Likewise.
29291 (acos_test_towardzero): Likewise.
29292 (acos_downward_test_data): Likewise.
29293 (acos_test_downward): Likewise.
29294 (acos_upward_test_data): Likewise.
29295 (acos_test_upward): Likewise.
29296 (acosh_test_data): Update call to AUTO_TESTS_f_f.
29297 (asin_test_data): Likewise.
29298 (asin_test): Use ALL_RM_TEST.
29299 (asin_tonearest_test_data): Remove.
29300 (asin_test_tonearest): Likewise.
29301 (asin_towardzero_test_data): Likewise.
29302 (asin_test_towardzero): Likewise.
29303 (asin_downward_test_data): Likewise.
29304 (asin_test_downward): Likewise.
29305 (asin_upward_test_data): Likewise.
29306 (asin_test_upward): Likewise.
29307 (asinh_test_data): Update call to AUTO_TESTS_f_f.
29308 (atan_test_data): Likewise.
29309 (atanh_test_data): Likewise.
29310 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
29311 (cabs_test_data): Update call to AUTO_TESTS_c_f.
29312 (carg_test_data): Likewise.
29313 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
29314 (ccos_test_data): Update call to AUTO_TESTS_c_c.
29315 (ccosh_test_data): Likewise.
29316 (cexp_test_data): Likewise.
29317 (clog_test_data): Likewise.
29318 (clog10_test_data): Likewise.
29319 (cos_test_data): Update call to AUTO_TESTS_f_f.
29320 (cos_test): Use ALL_RM_TEST.
29321 (cos_tonearest_test_data): Remove.
29322 (cos_test_tonearest): Likewise.
29323 (cos_towardzero_test_data): Likewise.
29324 (cos_test_towardzero): Likewise.
29325 (cos_downward_test_data): Likewise.
29326 (cos_test_downward): Likewise.
29327 (cos_upward_test_data): Likewise.
29328 (cos_test_upward): Likewise.
29329 (cosh_test_data): Update call to AUTO_TESTS_f_f.
29330 (cosh_test): Use ALL_RM_TEST.
29331 (cosh_tonearest_test_data): Remove.
29332 (cosh_test_tonearest): Likewise.
29333 (cosh_towardzero_test_data): Likewise.
29334 (cosh_test_towardzero): Likewise.
29335 (cosh_downward_test_data): Likewise.
29336 (cosh_test_downward): Likewise.
29337 (cosh_upward_test_data): Likewise.
29338 (cosh_test_upward): Likewise.
29339 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
29340 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
29341 (ctan_test_data): Likewise.
29342 (ctan_test): Use ALL_RM_TEST.
29343 (ctan_tonearest_test_data): Remove.
29344 (ctan_test_tonearest): Likewise.
29345 (ctan_towardzero_test_data): Likewise.
29346 (ctan_test_towardzero): Likewise.
29347 (ctan_downward_test_data): Likewise.
29348 (ctan_test_downward): Likewise.
29349 (ctan_upward_test_data): Likewise.
29350 (ctan_test_upward): Likewise.
29351 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
29352 (ctanh_test): Use ALL_RM_TEST.
29353 (ctanh_tonearest_test_data): Remove.
29354 (ctanh_test_tonearest): Likewise.
29355 (ctanh_towardzero_test_data): Likewise.
29356 (ctanh_test_towardzero): Likewise.
29357 (ctanh_downward_test_data): Likewise.
29358 (ctanh_test_downward): Likewise.
29359 (ctanh_upward_test_data): Likewise.
29360 (ctanh_test_upward): Likewise.
29361 (erf_test_data): Update call to AUTO_TESTS_f_f.
29362 (erfc_test_data): Likewise.
29363 (exp_test_data): Likewise.
29364 (exp_test): Use ALL_RM_TEST.
29365 (exp_tonearest_test_data): Remove.
29366 (exp_test_tonearest): Likewise.
29367 (exp_towardzero_test_data): Likewise.
29368 (exp_test_towardzero): Likewise.
29369 (exp_downward_test_data): Likewise.
29370 (exp_test_downward): Likewise.
29371 (exp_upward_test_data): Likewise.
29372 (exp_test_upward): Likewise.
29373 (exp10_test_data): Update call to AUTO_TESTS_f_f.
29374 (exp10_test): Use ALL_RM_TEST.
29375 (exp10_tonearest_test_data): Remove.
29376 (exp10_test_tonearest): Likewise.
29377 (exp10_towardzero_test_data): Likewise.
29378 (exp10_test_towardzero): Likewise.
29379 (exp10_downward_test_data): Likewise.
29380 (exp10_test_downward): Likewise.
29381 (exp10_upward_test_data): Likewise.
29382 (exp10_test_upward): Likewise.
29383 (exp2_test_data): Update call to AUTO_TESTS_f_f.
29384 (expm1_test_data): Likewise.
29385 (expm1_test): Use ALL_RM_TEST.
29386 (expm1_tonearest_test_data): Remove.
29387 (expm1_test_tonearest): Likewise.
29388 (expm1_towardzero_test_data): Likewise.
29389 (expm1_test_towardzero): Likewise.
29390 (expm1_downward_test_data): Likewise.
29391 (expm1_test_downward): Likewise.
29392 (expm1_upward_test_data): Likewise.
29393 (expm1_test_upward): Likewise.
29394 (fma_test_data): Update call to AUTO_TESTS_fff_f.
29395 (fma_test): Use ALL_RM_TEST.
29396 (fma_towardzero_test_data): Remove.
29397 (fma_test_towardzero): Likewise.
29398 (fma_downward_test_data): Likewise.
29399 (fma_test_downward): Likewise.
29400 (fma_upward_test_data): Likewise.
29401 (fma_test_upward): Likewise.
29402 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
29403 (j0_test_data): Update call to AUTO_TESTS_f_f.
29404 (j1_test_data): Likewise.
29405 (jn_test_data): Update call to AUTO_TESTS_if_f.
29406 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
29407 (log_test_data): Update call to AUTO_TESTS_f_f.
29408 (log10_test_data): Likewise.
29409 (log1p_test_data): Likewise.
29410 (log2_test_data): Likewise.
29411 (pow_test_data): Update call to AUTO_TESTS_ff_f.
29412 (pow_tonearest_test_data): Likewise.
29413 (sin_test_data): Update call to AUTO_TESTS_f_f.
29414 (sin_test): Use ALL_RM_TEST.
29415 (sin_tonearest_test_data): Remove.
29416 (sin_test_tonearest): Likewise.
29417 (sin_towardzero_test_data): Likewise.
29418 (sin_test_towardzero): Likewise.
29419 (sin_downward_test_data): Likewise.
29420 (sin_test_downward): Likewise.
29421 (sin_upward_test_data): Likewise.
29422 (sin_test_upward): Likewise.
29423 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
29424 (sinh_test_data): Update call to AUTO_TESTS_f_f.
29425 (sinh_test): Use ALL_RM_TEST.
29426 (sinh_tonearest_test_data): Remove.
29427 (sinh_test_tonearest): Likewise.
29428 (sinh_towardzero_test_data): Likewise.
29429 (sinh_test_towardzero): Likewise.
29430 (sinh_downward_test_data): Likewise.
29431 (sinh_test_downward): Likewise.
29432 (sinh_upward_test_data): Likewise.
29433 (sinh_test_upward): Likewise.
29434 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
29435 (sqrt_test): Use ALL_RM_TEST.
29436 (sqrt_tonearest_test_data): Remove.
29437 (sqrt_test_tonearest): Likewise.
29438 (sqrt_towardzero_test_data): Likewise.
29439 (sqrt_test_towardzero): Likewise.
29440 (sqrt_downward_test_data): Likewise.
29441 (sqrt_test_downward): Likewise.
29442 (sqrt_upward_test_data): Likewise.
29443 (sqrt_test_upward): Likewise.
29444 (tan_test_data): Update call to AUTO_TESTS_f_f.
29445 (tan_test): Use ALL_RM_TEST.
29446 (tan_tonearest_test_data): Remove.
29447 (tan_test_tonearest): Likewise.
29448 (tan_towardzero_test_data): Likewise.
29449 (tan_test_towardzero): Likewise.
29450 (tan_downward_test_data): Likewise.
29451 (tan_test_downward): Likewise.
29452 (tan_upward_test_data): Likewise.
29453 (tan_test_upward): Likewise.
29454 (tanh_test_data): Update call to AUTO_TESTS_f_f.
29455 (tgamma_test_data): Likewise.
29456 (y0_test_data): Likewise.
29457 (y1_test_data): Likewise.
29458 (yn_test_data): Update call to AUTO_TESTS_if_f.
29459 (main): Do not call removed functions.
29460
29461 2014-03-19 Joseph Myers <joseph@codesourcery.com>
29462
29463 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
29464 (ldexp_test_data): Remove.
29465 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
29466 scalbn_test_data.
29467 (scalb_test): Use ALL_RM_TEST.
29468
29469 2014-03-19 Andreas Schwab <schwab@suse.de>
29470
29471 * nscd/nscd.service: Also invalidate netgroup cache on reload.
29472
29473 2014-03-19 Joseph Myers <joseph@codesourcery.com>
29474
29475 [BZ #16649]
29476 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29477 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
29478 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
29479 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29480 (__ASSUME_PREADV): Undefine.
29481 (__ASSUME_PWRITEV): Likewise.
29482
29483 2014-03-18 Roland McGrath <roland@hack.frob.com>
29484
29485 * bits/mman-linux.h: Add comment about non-Linux use.
29486 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
29487 bits/mman-linux.h resting place.
29488
29489 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
29490 * bits/mman-linux.h: ... here.
29491
29492 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29493
29494 * conform/conformtest.pl: Add standard definition when calling C
29495 preprocessor on data files.
29496 (checknamespace): Remove unused variable.
29497
29498 2014-03-18 Joseph Myers <joseph@codesourcery.com>
29499
29500 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
29501 minus_oflow, plus_uflow and minus_uflow in expected results.
29502 * math/libm-test.inc (scalbn_test_data): Add more tests of
29503 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
29504 minus_uflow.
29505 (scalbn_test): Use ALL_RM_TEST.
29506 (scalbln_test_data): Add more tests of negative arguments. Use
29507 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
29508 (scalbln_test): Use ALL_RM_TEST.
29509
29510 2014-03-18 Roland McGrath <roland@hack.frob.com>
29511
29512 * scripts/abilist.awk: Ignore symbols marked with .hidden.
29513
29514 2014-03-18 Will Newton <will.newton@linaro.org>
29515
29516 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
29517 inaccurate comment.
29518
29519 2014-03-18 Joseph Myers <joseph@codesourcery.com>
29520
29521 * Makerules [!subdir] (check-abi): Exit with error status if a
29522 test failed.
29523
29524 2014-03-17 Joseph Myers <joseph@codesourcery.com>
29525
29526 * math/libm-test.inc (nearbyint_test_data): Include all tests used
29527 for rint. Include results for all rounding modes.
29528 (nearbyint_test): Use ALL_RM_TEST.
29529 (rint_test_data): Include all tests used for nearbyint.
29530
29531 2014-03-17 Will Newton <will.newton@linaro.org>
29532
29533 * nptl/sysdeps/pthread/pthread.h: Revert previous
29534 change.
29535
29536 * sysdeps/generic/ldsodefs.h: Revert previous
29537 change.
29538
29539 * libio/genops.c: Revert previous change.
29540 * libio/libioP.h: Likewise.
29541 * stdio-common/vfprintf.c: Likewise.
29542
29543 * sysdeps/generic/math_private.h: Revert previous
29544 change.
29545
29546 * sysdeps/generic/math_private.h: Check whether
29547 HAVE_RM_CTX is defined with #ifdef rather
29548 than #if.
29549
29550 * argp/argp-fmtstream.h: Check whether
29551 __STRICT_ANSI__ is defined with #ifdef rather
29552 than #if.
29553 * argp/argp.h: Likewise.
29554
29555 * libio/genops.c: Check whether
29556 _IO_JUMPS_OFFSET is defined with #ifdef rather
29557 than #if.
29558 * libio/libioP.h: Likewise.
29559 * stdio-common/vfprintf.c: Likewise.
29560
29561 * sysdeps/generic/ldsodefs.h: Check whether
29562 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
29563 than #if.
29564
29565 * nptl/sysdeps/pthread/pthread.h: Check
29566 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
29567 its value.
29568
29569 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29570
29571 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
29572 setting O_APPEND.
29573 * libio/tst-ftell-active-handler.c (do_append_test): Add a
29574 test case.
29575
29576 [BZ #16680]
29577 * libio/fileops.c (_IO_file_open): Seek to end of file but
29578 don't cache the offset.
29579 (get_file_offset): Remove function.
29580 (do_ftell): Use cached offset when available.
29581 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
29582 don't cache the offset.
29583 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
29584 case.
29585 (do_one_test): Call it.
29586 (do_ftell_test): Fix up expected old offset for a+ mode.
29587 * libio/wfileops.c (do_ftell_wide): Used cached offset when
29588 available.
29589
29590 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
29591 up test status with function return status.
29592 (do_write_test): Likewise.
29593 (do_append_test): Likewise.
29594
29595 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
29596 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
29597 Remove.
29598
29599 2014-03-17 Joseph Myers <joseph@codesourcery.com>
29600
29601 * math/gen-libm-test.pl (parse_args): Handle results specified for
29602 each rounding mode separately.
29603 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
29604 tests and results from lrint_tonearest_test_data,
29605 lrint_towardzero_test_data, lrint_downward_test_data and
29606 lrint_upward_test_data.
29607 (lrint_test): Use ALL_RM_TEST.
29608 (lrint_tonearest_test_data): Remove.
29609 (lrint_test_tonearest): Likewise.
29610 (lrint_towardzero_test_data): Likewise.
29611 (lrint_test_towardzero): Likewise.
29612 (lrint_downward_test_data): Likewise.
29613 (lrint_test_downward): Likewise.
29614 (lrint_upward_test_data): Likewise.
29615 (lrint_test_upward): Likewise.
29616 (llrint_test_data): Merge in per-rounding-mode tests and results
29617 from llrint_tonearest_test_data, llrint_towardzero_test_data,
29618 llrint_downward_test_data and llrint_upward_test_data.
29619 (llrint_test): Use ALL_RM_TEST.
29620 (llrint_tonearest_test_data): Remove.
29621 (llrint_test_tonearest): Likewise.
29622 (llrint_towardzero_test_data): Likewise.
29623 (llrint_test_towardzero): Likewise.
29624 (llrint_downward_test_data): Likewise.
29625 (llrint_test_downward): Likewise.
29626 (llrint_upward_test_data): Likewise.
29627 (llrint_test_upward): Likewise.
29628 (rint_test_data): Merge in per-rounding-mode tests and results
29629 from rint_tonearest_test_data, rint_towardzero_test_data,
29630 rint_downward_test_data and rint_upward_test_data. Add
29631 per-rounding-mode results for tests not in those arrays.
29632 (rint_test): Use ALL_RM_TEST.
29633 (rint_tonearest_test_data): Remove.
29634 (rint_test_tonearest): Likewise.
29635 (rint_towardzero_test_data): Likewise.
29636 (rint_test_towardzero): Likewise.
29637 (rint_downward_test_data): Likewise.
29638 (rint_test_downward): Likewise.
29639 (rint_upward_test_data): Likewise.
29640 (rint_test_upward): Likewise.
29641 (main): Don't call removed functions.
29642
29643 2014-03-14 Roland McGrath <roland@hack.frob.com>
29644
29645 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
29646 "Compiled on ..." crapola. It is anti-useful.
29647
29648 2014-03-14 Joseph Myers <joseph@codesourcery.com>
29649
29650 * scripts/evaluate-test.sh: Handle fourth argument to determine
29651 whether test run should stop on failure.
29652 * Makeconfig (stop-on-test-failure): New variable.
29653 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
29654 $(stop-on-test-failure).
29655 * Makefile (tests): Give a summary of results from testing and
29656 exit with failure status if they include an ERROR or FAIL.
29657 (xtests): Likewise.
29658 * manual/install.texi (Configuring and compiling): Mention
29659 stop-on-test-failure=y.
29660 * INSTALL: Regenerated.
29661
29662 2014-03-14 Roland McGrath <roland@hack.frob.com>
29663
29664 * scripts/versionlist.awk: New file.
29665 * Makerules [$(build-shared) = yes]
29666 (postclean-generated): Add Versions.def, not Versions.def.v and
29667 Versions.def.v.i.
29668 ($(common-objpfx)Versions.def.v.i): Target removed.
29669 ($(common-objpfx)Versions.def): New target.
29670 ($(common-objpfx)Versions.all): Depend on that rather that
29671 $(common-objpfx)Versions.def.v.
29672 * Versions.def: File removed.
29673
29674 * Makeconfig (+gccwarn): Add -Wundef.
29675 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
29676 a dl-sysdep.h breaking its contract.
29677 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
29678 * include/stackinfo.h: New file.
29679 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
29680 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
29681 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
29682 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
29683 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
29684 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
29685 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29686 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29687 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29688 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29689 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29690 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
29691 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29692 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29693 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29694
29695 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29696
29697 [BZ #16707]
29698 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
29699 implementation.
29700 * math/libm-test.inc (round_test_data): Add more tests.
29701
29702 [BZ #16706]
29703 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
29704 implementation.
29705 * math/libm-test.inc (nearbyint_test_data): Add more tests.
29706
29707 [BZ #16701]
29708 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
29709 implementation.
29710 * math/libm-test.inc (ceil_test_data): Add more tests.
29711
29712 * math/libm-test.inc (trunc_test_data): Add more tests related to
29713 BZ#16414.
29714
29715 2014-03-14 Roland McGrath <roland@hack.frob.com>
29716
29717 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
29718 with #if rather than #ifdef.
29719 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
29720
29721 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
29722
29723 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
29724 first. Disable AVX-512 GCC support if assembler doesn't support
29725 it.
29726 * sysdeps/x86_64/configure: Regenerated.
29727
29728 2014-03-13 Carlos O'Donell <carlos@redhat.com>
29729
29730 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
29731 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
29732 (__old_pthread_attr_setstack): Likewise.
29733 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
29734 [!_STACK_GROWS_DOWN]: Likewise.
29735
29736 2014-03-13 Mike Frysinger <vapier@gentoo.org>
29737
29738 * config.make.in (have-bash2): Delete.
29739 * configure.ac (libc_cv_have_bash2): Delete.
29740 * configure: Regenerate.
29741 * elf/Makefile (common-ldd-rewrite): Rename to ...
29742 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
29743 (sh-ldd-rewrite): Delete.
29744 (bash-ldd-rewrite): Delete.
29745 (have-bash2): Delete checks.
29746 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
29747 ldd-rewrite.
29748
29749 * config.make.in (have-ksh): Delete.
29750 (KSH): Delete.
29751 * configure.ac (libc_cv_have_ksh): Delete.
29752 * configure: Regenerate.
29753
29754 * elf/Makefile: Delete $(have-ksh) check.
29755 ($(objpfx)sotruss): Change KSH to BASH.
29756 * elf/sotruss.ksh: Rename to ...
29757 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
29758 function style to match POSIX. Drop ksh vim mode setting.
29759
29760 * manual/time.texi (Specifying the Time Zone with TZ): Change
29761 Tuesday to Thursday.
29762
29763 * debug/tst-longjmp_chk2.c: Update header comment.
29764 (stackoverflow_handler): Add comment. Call assert on pass value.
29765
29766 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
29767
29768 [BZ #16194]
29769 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
29770 (HAVE_AVX512_ASM_SUPPORT): Likewise.
29771 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
29772 (La_x86_64_vector): Add zmm.
29773 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
29774 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
29775 ($(objpfx)tst-audit10): New target.
29776 ($(objpfx)tst-audit10.out): Likewise.
29777 (tst-audit10-ENV): New.
29778 (AVX512-CFLAGS): Likewise.
29779 (CFLAGS-tst-audit10.c): Likewise.
29780 (CFLAGS-tst-auditmod10a.c): Likewise.
29781 (CFLAGS-tst-auditmod10b.c): Likewise.
29782 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
29783 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
29784 * sysdeps/x86_64/configure: Regenerated.
29785 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
29786 AVX-512 zmm register support.
29787 (_dl_x86_64_save_sse): Likewise.
29788 (_dl_x86_64_restore_sse): Likewise.
29789 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
29790 size vector registers.
29791 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
29792 (ZMM_SIZE): Likewise.
29793 * sysdeps/x86_64/tst-audit10.c: New file.
29794 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
29795 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
29796
29797 2014-03-13 Roland McGrath <roland@hack.frob.com>
29798
29799 * configure.ac (HAVE_EHDR_START): New check.
29800 * configure: Regenerated.
29801 * config.h.in (HAVE_EHDR_START): New #undef.
29802 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
29803 assuming the lowest-addressed segment maps the start of the file.
29804
29805 2014-03-13 Joseph Myers <joseph@codesourcery.com>
29806
29807 * INSTALL: Regenerated.
29808
29809 2014-03-13 Will Newton <will.newton@linaro.org>
29810
29811 * manual/setjmp.texi (System V contexts): Improve
29812 clarity and grammar of documentation.
29813
29814 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
29815
29816 [BZ #16381]
29817 * elf/Makefile (tests): Add tst-pie2.
29818 (tests-pie): Add tst-pie2.
29819 * elf/tst-pie2.c: New file.
29820 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
29821 for ET_EXEC.
29822 * elf/rtld.c (map_doit): Load executable as lt_executable.
29823 (dl_main): Likewise.
29824
29825 2014-03-12 Joseph Myers <joseph@codesourcery.com>
29826
29827 [BZ #16642]
29828 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29829 (__ASSUME_PSELECT): Undefine.
29830
29831 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29832
29833 [BZ #16689]
29834 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
29835 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
29836 static build.
29837 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
29838 selector for static builds.
29839
29840 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29841
29842 [BZ #16695]
29843 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
29844 key in the buffer.
29845
29846 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29847
29848 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
29849 IFUNC selector for static builds.
29850
29851 2014-03-11 Joseph Myers <joseph@codesourcery.com>
29852
29853 * sysdeps/mips/math_private.h [__mips_hard_float]
29854 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
29855 libc_feresetround_mips_ctx.
29856 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
29857 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
29858 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
29859
29860 [BZ #16677]
29861 * math/s_nextafter.c (__nextafter): Do not return value from
29862 overflowing computation.
29863 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
29864 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
29865 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
29866 Likewise.
29867 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
29868 Likewise.
29869 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
29870 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
29871
29872 2014-03-11 Roland McGrath <roland@hack.frob.com>
29873
29874 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
29875 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
29876 Move sfi_sp use from the load-multiple (that no longer sets sp) to
29877 the new mov targetting sp.
29878
29879 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29880
29881 [BZ #16683]
29882 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
29883 Define it for static builds as well.
29884 (NO_BZERO_IMPL): Likewise.
29885
29886 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
29887
29888 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
29889 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
29890 multiarch strspn for PPC64.
29891 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
29892 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
29893 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29894 (__libc_ifunc_impl_list): Likewise.
29895 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
29896 multiarch optimizations
29897 * string/strspn.c (strspn): Using macro to redefine symbol name.
29898
29899 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
29900 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29901
29902 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
29903 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
29904 multiarch strncat for PPC64.
29905 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
29906 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
29907 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29908 (__libc_ifunc_impl_list): Likewise.
29909 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
29910 multiarch optimizations
29911
29912 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29913
29914 [BZ #16639]
29915 * nscd/nscd.service: Make service type forking.
29916
29917 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29918
29919 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
29920 sign in non default rounding modes.
29921 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
29922
29923 2014-03-08 Joseph Myers <joseph@codesourcery.com>
29924
29925 * math/libm-test.inc (ALL_RM_TEST): New macro.
29926 (ceil_test): Use ALL_RM_TEST.
29927 (cimag_test): Likewise.
29928 (conj_test): Likewise.
29929 (copysign_test): Likewise.
29930 (cproj_test): Likewise.
29931 (creal_test): Likewise.
29932 (fabs_test): Likewise.
29933 (floor_test): Likewise.
29934 (fmax_test): Likewise.
29935 (fmin_test): Likewise.
29936 (fmod_test): Likewise.
29937 (fpclassify_test): Likewise.
29938 (frexp_test): Likewise.
29939 (ilogb_test): Likewise.
29940 (isfinite_test): Likewise.
29941 (finite_test): Likewise.
29942 (isgreater_test): Likewise.
29943 (isgreaterequal_test): Likewise.
29944 (isinf_test): Likewise.
29945 (isless_test): Likewise.
29946 (islessequal_test): Likewise.
29947 (islessgreater_test): Likewise.
29948 (isnan_test): Likewise.
29949 (isnormal_test): Likewise.
29950 (issignaling_test): Likewise.
29951 (isunordered_test): Likewise.
29952 (logb_test): Likewise.
29953 (logb_downward_test_data): Remove.
29954 (logb_test_downward): Likewise.
29955 (lround_test): Use ALL_RM_TEST.
29956 (llround_test): Likewise.
29957 (modf_test): Likewise.
29958 (nexttoward_test): Likewise.
29959 (remainder_test): Likewise.
29960 (drem_test): Likewise.
29961 (remainder_tonearest_test_data): Likewise.
29962 (remainder_test_tonearest): Likewise.
29963 (drem_test_tonearest): Likewise.
29964 (remainder_towardzero_test_data): Likewise.
29965 (remainder_test_towardzero): Likewise.
29966 (drem_test_towardzero): Likewise.
29967 (remainder_downward_test_data): Likewise.
29968 (remainder_test_downward): Likewise.
29969 (drem_test_downward): Likewise.
29970 (remainder_upward_test_data): Likewise.
29971 (remainder_test_upward): Likewise.
29972 (drem_test_upward): Likewise.
29973 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
29974 (round_test): Use ALL_RM_TEST.
29975 (signbit_test): Likewise.
29976 (trunc_test): Likewise.
29977 (significand_test): Likewise.
29978 (main): Don't call removed functions.
29979
29980 2014-03-07 Joseph Myers <joseph@codesourcery.com>
29981
29982 [BZ #16674]
29983 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
29984 || __USE_XOPEN2K8].
29985 (ILL_ILLOPN): Likewise.
29986 (ILL_ILLADR): Likewise.
29987 (ILL_ILLTRP): Likewise.
29988 (ILL_PRVOPC): Likewise.
29989 (ILL_PRVREG): Likewise.
29990 (ILL_COPROC): Likewise.
29991 (ILL_BADSTK): Likewise.
29992 (FPE_INTDIV): Likewise.
29993 (FPE_INTOVF): Likewise.
29994 (FPE_FLTDIV): Likewise.
29995 (FPE_FLTOVF): Likewise.
29996 (FPE_FLTUND): Likewise.
29997 (FPE_FLTRES): Likewise.
29998 (FPE_FLTINV): Likewise.
29999 (FPE_FLTSUB): Likewise.
30000 (SEGV_MAPERR): Likewise.
30001 (SEGV_ACCERR): Likewise.
30002 (BUS_ADRALN): Likewise.
30003 (BUS_ADRERR): Likewise.
30004 (BUS_OBJERR): Likewise.
30005 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30006 (TRAP_TRACE): Likewise.
30007 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30008 __USE_XOPEN2K8].
30009 (CLD_KILLED): Likewise.
30010 (CLD_DUMPED): Likewise.
30011 (CLD_TRAPPED): Likewise.
30012 (CLD_STOPPED): Likewise.
30013 (CLD_CONTINUED): Likewise.
30014 (POLL_IN): Likewise.
30015 (POLL_OUT): Likewise.
30016 (POLL_MSG): Likewise.
30017 (POLL_ERR): Likewise.
30018 (POLL_PRI): Likewise.
30019 (POLL_HUP): Likewise.
30020 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
30021 Likewise.
30022 (ILL_ILLOPN): Likewise.
30023 (ILL_ILLADR): Likewise.
30024 (ILL_ILLTRP): Likewise.
30025 (ILL_PRVOPC): Likewise.
30026 (ILL_PRVREG): Likewise.
30027 (ILL_COPROC): Likewise.
30028 (ILL_BADSTK): Likewise.
30029 (FPE_INTDIV): Likewise.
30030 (FPE_INTOVF): Likewise.
30031 (FPE_FLTDIV): Likewise.
30032 (FPE_FLTOVF): Likewise.
30033 (FPE_FLTUND): Likewise.
30034 (FPE_FLTRES): Likewise.
30035 (FPE_FLTINV): Likewise.
30036 (FPE_FLTSUB): Likewise.
30037 (SEGV_MAPERR): Likewise.
30038 (SEGV_ACCERR): Likewise.
30039 (BUS_ADRALN): Likewise.
30040 (BUS_ADRERR): Likewise.
30041 (BUS_OBJERR): Likewise.
30042 (BUS_MCEERR_AR): Likewise.
30043 (BUS_MCEERR_AO): Likewise.
30044 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30045 (TRAP_TRACE): Likewise.
30046 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30047 __USE_XOPEN2K8].
30048 (CLD_KILLED): Likewise.
30049 (CLD_DUMPED): Likewise.
30050 (CLD_TRAPPED): Likewise.
30051 (CLD_STOPPED): Likewise.
30052 (CLD_CONTINUED): Likewise.
30053 (POLL_IN): Likewise.
30054 (POLL_OUT): Likewise.
30055 (POLL_MSG): Likewise.
30056 (POLL_ERR): Likewise.
30057 (POLL_PRI): Likewise.
30058 (POLL_HUP): Likewise.
30059 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
30060 (ILL_ILLOPN): Likewise.
30061 (ILL_ILLADR): Likewise.
30062 (ILL_ILLTRP): Likewise.
30063 (ILL_PRVOPC): Likewise.
30064 (ILL_PRVREG): Likewise.
30065 (ILL_COPROC): Likewise.
30066 (ILL_BADSTK): Likewise.
30067 (FPE_INTDIV): Likewise.
30068 (FPE_INTOVF): Likewise.
30069 (FPE_FLTDIV): Likewise.
30070 (FPE_FLTOVF): Likewise.
30071 (FPE_FLTUND): Likewise.
30072 (FPE_FLTRES): Likewise.
30073 (FPE_FLTINV): Likewise.
30074 (FPE_FLTSUB): Likewise.
30075 (SEGV_MAPERR): Likewise.
30076 (SEGV_ACCERR): Likewise.
30077 (BUS_ADRALN): Likewise.
30078 (BUS_ADRERR): Likewise.
30079 (BUS_OBJERR): Likewise.
30080 (BUS_MCEERR_AR): Likewise.
30081 (BUS_MCEERR_AO): Likewise.
30082 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30083 (TRAP_TRACE): Likewise.
30084 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30085 __USE_XOPEN2K8].
30086 (CLD_KILLED): Likewise.
30087 (CLD_DUMPED): Likewise.
30088 (CLD_TRAPPED): Likewise.
30089 (CLD_STOPPED): Likewise.
30090 (CLD_CONTINUED): Likewise.
30091 (POLL_IN): Likewise.
30092 (POLL_OUT): Likewise.
30093 (POLL_MSG): Likewise.
30094 (POLL_ERR): Likewise.
30095 (POLL_PRI): Likewise.
30096 (POLL_HUP): Likewise.
30097 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
30098 Likewise.
30099 (ILL_ILLOPN): Likewise.
30100 (ILL_ILLADR): Likewise.
30101 (ILL_ILLTRP): Likewise.
30102 (ILL_PRVOPC): Likewise.
30103 (ILL_PRVREG): Likewise.
30104 (ILL_COPROC): Likewise.
30105 (ILL_BADSTK): Likewise.
30106 (ILL_BADIADDR): Likewise.
30107 (ILL_BREAK): Likewise.
30108 (FPE_INTDIV): Likewise.
30109 (FPE_INTOVF): Likewise.
30110 (FPE_FLTDIV): Likewise.
30111 (FPE_FLTOVF): Likewise.
30112 (FPE_FLTUND): Likewise.
30113 (FPE_FLTRES): Likewise.
30114 (FPE_FLTINV): Likewise.
30115 (FPE_FLTSUB): Likewise.
30116 (FPE_DECOVF): Likewise.
30117 (FPE_DECDIV): Likewise.
30118 (FPE_DECERR): Likewise.
30119 (FPE_INVASC): Likewise.
30120 (FPE_INVDEC): Likewise.
30121 (SEGV_MAPERR): Likewise.
30122 (SEGV_ACCERR): Likewise.
30123 (SEGV_PSTKOVF): Likewise.
30124 (BUS_ADRALN): Likewise.
30125 (BUS_ADRERR): Likewise.
30126 (BUS_OBJERR): Likewise.
30127 (BUS_MCEERR_AR): Likewise.
30128 (BUS_MCEERR_AO): Likewise.
30129 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30130 (TRAP_TRACE): Likewise.
30131 (TRAP_BRANCH): Likewise.
30132 (TRAP_HWBKPT): Likewise.
30133 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30134 __USE_XOPEN2K8].
30135 (CLD_KILLED): Likewise.
30136 (CLD_DUMPED): Likewise.
30137 (CLD_TRAPPED): Likewise.
30138 (CLD_STOPPED): Likewise.
30139 (CLD_CONTINUED): Likewise.
30140 (POLL_IN): Likewise.
30141 (POLL_OUT): Likewise.
30142 (POLL_MSG): Likewise.
30143 (POLL_ERR): Likewise.
30144 (POLL_PRI): Likewise.
30145 (POLL_HUP): Likewise.
30146 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
30147 (ILL_ILLOPN): Likewise.
30148 (ILL_ILLADR): Likewise.
30149 (ILL_ILLTRP): Likewise.
30150 (ILL_PRVOPC): Likewise.
30151 (ILL_PRVREG): Likewise.
30152 (ILL_COPROC): Likewise.
30153 (ILL_BADSTK): Likewise.
30154 (FPE_INTDIV): Likewise.
30155 (FPE_INTOVF): Likewise.
30156 (FPE_FLTDIV): Likewise.
30157 (FPE_FLTOVF): Likewise.
30158 (FPE_FLTUND): Likewise.
30159 (FPE_FLTRES): Likewise.
30160 (FPE_FLTINV): Likewise.
30161 (FPE_FLTSUB): Likewise.
30162 (SEGV_MAPERR): Likewise.
30163 (SEGV_ACCERR): Likewise.
30164 (BUS_ADRALN): Likewise.
30165 (BUS_ADRERR): Likewise.
30166 (BUS_OBJERR): Likewise.
30167 (BUS_MCEERR_AR): Likewise.
30168 (BUS_MCEERR_AO): Likewise.
30169 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30170 (TRAP_TRACE): Likewise.
30171 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30172 __USE_XOPEN2K8].
30173 (CLD_KILLED): Likewise.
30174 (CLD_DUMPED): Likewise.
30175 (CLD_TRAPPED): Likewise.
30176 (CLD_STOPPED): Likewise.
30177 (CLD_CONTINUED): Likewise.
30178 (POLL_IN): Likewise.
30179 (POLL_OUT): Likewise.
30180 (POLL_MSG): Likewise.
30181 (POLL_ERR): Likewise.
30182 (POLL_PRI): Likewise.
30183 (POLL_HUP): Likewise.
30184 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
30185 (ILL_ILLOPN): Likewise.
30186 (ILL_ILLADR): Likewise.
30187 (ILL_ILLTRP): Likewise.
30188 (ILL_PRVOPC): Likewise.
30189 (ILL_PRVREG): Likewise.
30190 (ILL_COPROC): Likewise.
30191 (ILL_BADSTK): Likewise.
30192 (FPE_INTDIV): Likewise.
30193 (FPE_INTOVF): Likewise.
30194 (FPE_FLTDIV): Likewise.
30195 (FPE_FLTOVF): Likewise.
30196 (FPE_FLTUND): Likewise.
30197 (FPE_FLTRES): Likewise.
30198 (FPE_FLTINV): Likewise.
30199 (FPE_FLTSUB): Likewise.
30200 (SEGV_MAPERR): Likewise.
30201 (SEGV_ACCERR): Likewise.
30202 (BUS_ADRALN): Likewise.
30203 (BUS_ADRERR): Likewise.
30204 (BUS_OBJERR): Likewise.
30205 (BUS_MCEERR_AR): Likewise.
30206 (BUS_MCEERR_AO): Likewise.
30207 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30208 (TRAP_TRACE): Likewise.
30209 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30210 __USE_XOPEN2K8].
30211 (CLD_KILLED): Likewise.
30212 (CLD_DUMPED): Likewise.
30213 (CLD_TRAPPED): Likewise.
30214 (CLD_STOPPED): Likewise.
30215 (CLD_CONTINUED): Likewise.
30216 (POLL_IN): Likewise.
30217 (POLL_OUT): Likewise.
30218 (POLL_MSG): Likewise.
30219 (POLL_ERR): Likewise.
30220 (POLL_PRI): Likewise.
30221 (POLL_HUP): Likewise.
30222 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
30223 (ILL_ILLOPN): Likewise.
30224 (ILL_ILLADR): Likewise.
30225 (ILL_ILLTRP): Likewise.
30226 (ILL_PRVOPC): Likewise.
30227 (ILL_PRVREG): Likewise.
30228 (ILL_COPROC): Likewise.
30229 (ILL_BADSTK): Likewise.
30230 (FPE_INTDIV): Likewise.
30231 (FPE_INTOVF): Likewise.
30232 (FPE_FLTDIV): Likewise.
30233 (FPE_FLTOVF): Likewise.
30234 (FPE_FLTUND): Likewise.
30235 (FPE_FLTRES): Likewise.
30236 (FPE_FLTINV): Likewise.
30237 (FPE_FLTSUB): Likewise.
30238 (SEGV_MAPERR): Likewise.
30239 (SEGV_ACCERR): Likewise.
30240 (BUS_ADRALN): Likewise.
30241 (BUS_ADRERR): Likewise.
30242 (BUS_OBJERR): Likewise.
30243 (BUS_MCEERR_AR): Likewise.
30244 (BUS_MCEERR_AO): Likewise.
30245 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30246 (TRAP_TRACE): Likewise.
30247 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30248 __USE_XOPEN2K8].
30249 (CLD_KILLED): Likewise.
30250 (CLD_DUMPED): Likewise.
30251 (CLD_TRAPPED): Likewise.
30252 (CLD_STOPPED): Likewise.
30253 (CLD_CONTINUED): Likewise.
30254 (POLL_IN): Likewise.
30255 (POLL_OUT): Likewise.
30256 (POLL_MSG): Likewise.
30257 (POLL_ERR): Likewise.
30258 (POLL_PRI): Likewise.
30259 (POLL_HUP): Likewise.
30260 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
30261 (ILL_ILLOPN): Likewise.
30262 (ILL_ILLADR): Likewise.
30263 (ILL_ILLTRP): Likewise.
30264 (ILL_PRVOPC): Likewise.
30265 (ILL_PRVREG): Likewise.
30266 (ILL_COPROC): Likewise.
30267 (ILL_BADSTK): Likewise.
30268 (ILL_DBLFLT): Likewise.
30269 (ILL_HARDWALL): Likewise.
30270 (FPE_INTDIV): Likewise.
30271 (FPE_INTOVF): Likewise.
30272 (FPE_FLTDIV): Likewise.
30273 (FPE_FLTOVF): Likewise.
30274 (FPE_FLTUND): Likewise.
30275 (FPE_FLTRES): Likewise.
30276 (FPE_FLTINV): Likewise.
30277 (FPE_FLTSUB): Likewise.
30278 (SEGV_MAPERR): Likewise.
30279 (SEGV_ACCERR): Likewise.
30280 (BUS_ADRALN): Likewise.
30281 (BUS_ADRERR): Likewise.
30282 (BUS_OBJERR): Likewise.
30283 (BUS_MCEERR_AR): Likewise.
30284 (BUS_MCEERR_AO): Likewise.
30285 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30286 (TRAP_TRACE): Likewise.
30287 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30288 __USE_XOPEN2K8].
30289 (CLD_KILLED): Likewise.
30290 (CLD_DUMPED): Likewise.
30291 (CLD_TRAPPED): Likewise.
30292 (CLD_STOPPED): Likewise.
30293 (CLD_CONTINUED): Likewise.
30294 (POLL_IN): Likewise.
30295 (POLL_OUT): Likewise.
30296 (POLL_MSG): Likewise.
30297 (POLL_ERR): Likewise.
30298 (POLL_PRI): Likewise.
30299 (POLL_HUP): Likewise.
30300 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
30301 (ILL_ILLOPN): Likewise.
30302 (ILL_ILLADR): Likewise.
30303 (ILL_ILLTRP): Likewise.
30304 (ILL_PRVOPC): Likewise.
30305 (ILL_PRVREG): Likewise.
30306 (ILL_COPROC): Likewise.
30307 (ILL_BADSTK): Likewise.
30308 (FPE_INTDIV): Likewise.
30309 (FPE_INTOVF): Likewise.
30310 (FPE_FLTDIV): Likewise.
30311 (FPE_FLTOVF): Likewise.
30312 (FPE_FLTUND): Likewise.
30313 (FPE_FLTRES): Likewise.
30314 (FPE_FLTINV): Likewise.
30315 (FPE_FLTSUB): Likewise.
30316 (SEGV_MAPERR): Likewise.
30317 (SEGV_ACCERR): Likewise.
30318 (BUS_ADRALN): Likewise.
30319 (BUS_ADRERR): Likewise.
30320 (BUS_OBJERR): Likewise.
30321 (BUS_MCEERR_AR): Likewise.
30322 (BUS_MCEERR_AO): Likewise.
30323 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30324 (TRAP_TRACE): Likewise.
30325 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30326 __USE_XOPEN2K8].
30327 (CLD_KILLED): Likewise.
30328 (CLD_DUMPED): Likewise.
30329 (CLD_TRAPPED): Likewise.
30330 (CLD_STOPPED): Likewise.
30331 (CLD_CONTINUED): Likewise.
30332 (POLL_IN): Likewise.
30333 (POLL_OUT): Likewise.
30334 (POLL_MSG): Likewise.
30335 (POLL_ERR): Likewise.
30336 (POLL_PRI): Likewise.
30337 (POLL_HUP): Likewise.
30338 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
30339 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30340
30341 [BZ #16670]
30342 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
30343 before #include of <time.h>.
30344 [!__USE_XOPEN2K] (__need_timespec): Likewise.
30345 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
30346 (test-xfail-UNIX98/sched.h/conform): Likewise.
30347
30348 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
30349
30350 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
30351 error absence of trapping exception support.
30352 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30353
30354 2014-03-07 Joseph Myers <joseph@codesourcery.com>
30355
30356 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
30357 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
30358 * timezone/Makefile (testdata): Move definition above include of
30359 Rules.
30360 (test-zones): New variable.
30361 (tests-special): Add zone files.
30362 (build-testdata): Use $(evaluate-test).
30363
30364 * elf/Makefile (tests-special): Rename tests to end with .out.
30365 ($(objpfx)noload-mem): Likewise.
30366 ($(objpfx)tst-leaks1-mem): Likewise.
30367 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
30368 * iconv/Makefile (xtests-special): Change test-iconvconfig to
30369 $(objpfx)test-iconvconfig.out.
30370 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
30371 set -e inside subshell and redirect output to file.
30372 * iconvdata/Makefile (generated): Rename tests to end with .out.
30373 Correct type.
30374 (tests-special): Rename tests to end with .out.
30375 ($(objpfx)mtrace-tst-loading): Likewise.
30376 * intl/Makefile (generated): Likewise.
30377 (tests-special): Likewise.
30378 ($(objpfx)mtrace-tst-gettext): Likewise.
30379 * misc/Makefile (generated): Likewise.
30380 (tests-special): Likewise.
30381 ($(objpfx)tst-error1-mem): Likewise.
30382 * nptl/Makefile (tests-special): Likewise.
30383 ($(objpfx)tst-stack3-mem): Likewise.
30384 (generated): Likewise.
30385 * posix/Makefile (generated): Likewise.
30386 (tests-special): Likewise.
30387 (xtests-special): Likewise.
30388 ($(objpfx)tst-fnmatch-mem): Likewise.
30389 ($(objpfx)bug-regex2-mem): Likewise.
30390 ($(objpfx)bug-regex14-mem): Likewise.
30391 ($(objpfx)bug-regex21-mem): Likewise.
30392 ($(objpfx)bug-regex31-mem): Likewise.
30393 ($(objpfx)tst-vfork3-mem): Likewise.
30394 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
30395 ($(objpfx)tst-pcre-mem): Likewise.
30396 ($(objpfx)tst-boost-mem): Likewise.
30397 ($(objpfx)bug-ga2-mem): Likewise.
30398 ($(objpfx)bug-glob2-mem): Likewise.
30399 * resolv/Makefile (generate): Likewise.
30400 (tests-special): Likewise.
30401 (xtests-special): Likewise.
30402 (generated): Likewise.
30403 ($(objpfx)mtrace-tst-leaks): Likewise.
30404 ($(objpfx)mtrace-tst-leaks2): Likewise.
30405
30406 * scripts/merge-test-results.sh: New file.
30407 * Makefile (tests-special-notdir): New variable.
30408 (tests): Run merge-test-results.sh.
30409 (xtests): Likewise.
30410 * Rules (tests-special-notdir): New variable.
30411 (xtests-special-notdir): Likewise.
30412 (tests): Run merge-test-results.sh
30413 (xtests): Likewise.
30414
30415 * Makeconfig (test-xfail-name): New variable.
30416 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
30417 compute variable name for expected failures.
30418 * conform/Makefile (conformtest-headers-data): New variable.
30419 (conformtest-standards): Likewise.
30420 (conformtest-headers-ISO): Likewise.
30421 (conformtest-headers-ISO99): Likewise.
30422 (conformtest-headers-ISO11): Likewise.
30423 (conformtest-headers-POSIX): Likewise.
30424 (conformtest-headers-XPG3): Likewise.
30425 (conformtest-headers-XPG4): Likewise.
30426 (conformtest-headers-UNIX98): Likewise.
30427 (conformtest-headers-XOPEN2K): Likewise.
30428 (conformtest-headers-POSIX2008): Likewise.
30429 (conformtest-headers-XOPEN2K8): Likewise.
30430 (conformtest-header-list-base): Likewise.
30431 (conformtest-header-list-tests): Likewise.
30432 (conformtest-header-base): Likewise.
30433 (conformtest-header-tests): Likewise.
30434 (tests-special): Add $(conformtest-header-list-tests). If
30435 [$(fast-check) && !$(cross-compiling)], add
30436 $(conformtest-header-tests) instead of
30437 $(objpfx)run-conformtest.out.
30438 (generated): Add $(conformtest-header-list-base). If
30439 [$(fast-check) && !$(cross-compiling)], add
30440 $(conformtest-header-base). Remove previous setting.
30441 ($(conformtest-header-list-tests)): New target.
30442 (test-xfail-run-conformtest): Remove variable.
30443 ($(objpfx)run-conformtest.out): Remove target.
30444 (test-xfail-ISO11/complex.h/conform): New variable.
30445 (test-xfail-ISO11/stdalign.h/conform): Likewise.
30446 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
30447 (test-xfail-XPG3/varargs.h/conform): Likewise.
30448 (test-xfail-XPG4/varargs.h/conform): Likewise.
30449 (test-xfail-UNIX98/varargs.h/conform): Likewise.
30450 (test-xfail-XPG4/ndbm.h/conform): Likewise.
30451 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
30452 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
30453 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
30454 (test-xfail-XPG3/fcntl.h/conform): Likewise.
30455 (test-xfail-XPG3/ftw.h/conform): Likewise.
30456 (test-xfail-XPG3/grp.h/conform): Likewise.
30457 (test-xfail-XPG3/langinfo.h/conform): Likewise.
30458 (test-xfail-XPG3/limits.h/conform): Likewise.
30459 (test-xfail-XPG3/pwd.h/conform): Likewise.
30460 (test-xfail-XPG3/search.h/conform): Likewise.
30461 (test-xfail-XPG3/signal.h/conform): Likewise.
30462 (test-xfail-XPG3/stdio.h/conform): Likewise.
30463 (test-xfail-XPG3/stdlib.h/conform): Likewise.
30464 (test-xfail-XPG3/string.h/conform): Likewise.
30465 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
30466 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
30467 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
30468 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
30469 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
30470 (test-xfail-XPG3/sys/types.h/conform): Likewise.
30471 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
30472 (test-xfail-XPG3/termios.h/conform): Likewise.
30473 (test-xfail-XPG3/time.h/conform): Likewise.
30474 (test-xfail-XPG3/unistd.h/conform): Likewise.
30475 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
30476 (test-xfail-XPG4/fcntl.h/conform): Likewise.
30477 (test-xfail-XPG4/langinfo.h/conform): Likewise.
30478 (test-xfail-XPG4/netdb.h/conform): Likewise.
30479 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
30480 (test-xfail-XPG4/signal.h/conform): Likewise.
30481 (test-xfail-XPG4/stdio.h/conform): Likewise.
30482 (test-xfail-XPG4/stdlib.h/conform): Likewise.
30483 (test-xfail-XPG4/stropts.h/conform): Likewise.
30484 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
30485 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
30486 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
30487 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
30488 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
30489 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
30490 (test-xfail-XPG4/sys/time.h/conform): Likewise.
30491 (test-xfail-XPG4/sys/types.h/conform): Likewise.
30492 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
30493 (test-xfail-XPG4/termios.h/conform): Likewise.
30494 (test-xfail-XPG4/ucontext.h/conform): Likewise.
30495 (test-xfail-XPG4/unistd.h/conform): Likewise.
30496 (test-xfail-XPG4/utmpx.h/conform): Likewise.
30497 (test-xfail-POSIX/sched.h/conform): Likewise.
30498 (test-xfail-POSIX/signal.h/conform): Likewise.
30499 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30500 (test-xfail-POSIX/tar.h/conform): Likewise.
30501 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
30502 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
30503 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
30504 (test-xfail-UNIX98/netdb.h/conform): Likewise.
30505 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
30506 (test-xfail-UNIX98/sched.h/conform): Likewise.
30507 (test-xfail-UNIX98/signal.h/conform): Likewise.
30508 (test-xfail-UNIX98/stdio.h/conform): Likewise.
30509 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
30510 (test-xfail-UNIX98/stropts.h/conform): Likewise.
30511 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
30512 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
30513 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
30514 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
30515 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
30516 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
30517 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30518 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30519 (test-xfail-UNIX98/unistd.h/conform): Likewise.
30520 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
30521 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
30522 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
30523 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
30524 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
30525 (test-xfail-XOPEN2K/math.h/conform): Likewise.
30526 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
30527 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
30528 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
30529 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
30530 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30531 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
30532 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
30533 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
30534 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
30535 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
30536 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
30537 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
30538 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
30539 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30540 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
30541 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
30542 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30543 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
30544 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
30545 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
30546 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
30547 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
30548 (test-xfail-POSIX2008/signal.h/conform): Likewise.
30549 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
30550 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
30551 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30552 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
30553 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
30554 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
30555 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
30556 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
30557 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
30558 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30559 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
30560 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
30561 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
30562 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
30563 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
30564 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
30565 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
30566 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
30567 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
30568 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30569 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
30570 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
30571 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
30572 (conformtest-cc-flags): Likewise.
30573 ($(conformtest-header-tests): New target.
30574 * conform/check-header-lists.sh: New file.
30575 * conform/run-conformtest.sh: Remove.
30576
30577 * conform/conformtest.pl: Allow ' and \ in values given for
30578 constants.
30579 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
30580 inclusion.
30581 [POSIX] (sys/types.h): Likewise.
30582 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
30583 inclusion.
30584 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
30585 inclusion.
30586 * conform/data/signal.h-data (SIGIO): Remove expectation.
30587 [XPG3] (SIGBUS): Do not expect.
30588 [POSIX || XPG3] (SIGPOLL): Likewise.
30589 [POSIX || XPG3] (SIGPROF): Likewise.
30590 [POSIX || XPG3] (SIGSYS): Likewise.
30591 [XPG3] (SIGTRAP): Likewise.
30592 [POSIX || XPG3] (SIGURG): Likewise.
30593 [POSIX || XPG3] (SIGVTALRM): Likewise.
30594 [POSIX || XPG3] (SIGXCPU): Likewise.
30595 [POSIX || XPG3] (SIGXFSZ): Likewise.
30596 [POSIX] (SA_SIGINFO): Expect.
30597 [XPG3] (siginfo_t): Do not expect type or contents.
30598 [POSIX] (si_pid): Do not expect element.
30599 [POSIX] (si_uid): Likewise.
30600 [POSIX] (si_addr): Likewise.
30601 [POSIX] (si_status): Likewise.
30602 [POSIX] (si_band): Likewise.
30603 [XPG4] (si_value): Likewise.
30604 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
30605 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
30606 [POSIX || XPG3] (ILL_ILLADR): Likewise.
30607 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
30608 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
30609 [POSIX || XPG3] (ILL_PRVREG): Likewise.
30610 [POSIX || XPG3] (ILL_COPROC): Likewise.
30611 [POSIX || XPG3] (ILL_BADSTK): Likewise.
30612 [POSIX || XPG3] (FPE_INTDIV): Likewise.
30613 [POSIX || XPG3] (FPE_INTOVF): Likewise.
30614 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
30615 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
30616 [POSIX || XPG3] (FPE_FLTUND): Likewise.
30617 [POSIX || XPG3] (FPE_FLTRES): Likewise.
30618 [POSIX || XPG3] (FPE_FLTINV): Likewise.
30619 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
30620 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
30621 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
30622 [POSIX || XPG3] (BUS_ADRALN): Likewise.
30623 [POSIX || XPG3] (BUS_ADRERR): Likewise.
30624 [POSIX || XPG3] (BUS_OBJERR): Likewise.
30625 [POSIX || XPG3] (CLD_EXITED): Likewise.
30626 [POSIX || XPG3] (CLD_KILLED): Likewise.
30627 [POSIX || XPG3] (CLD_DUMPED): Likewise.
30628 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
30629 [POSIX || XPG3] (CLD_STOPPED): Likewise.
30630 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
30631 [POSIX || XPG3] (POLL_IN): Likewise.
30632 [POSIX || XPG3] (POLL_OUT): Likewise.
30633 [POSIX || XPG3] (POLL_MSG): Likewise.
30634 [POSIX || XPG3] (POLL_ERR): Likewise.
30635 [POSIX || XPG3] (POLL_PRI): Likewise.
30636 [POSIX || XPG3] (POLL_HUP): Likewise.
30637 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
30638 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
30639 (SIG*): Do not allow.
30640 [XPG3] (si_*): Likewise.
30641 [XPG3] (SI_*): Likewise.
30642 [XPG3 || XPG4] (sigev_*): Likewise.
30643 [XPG3 || XPG4] (SIGEV_*): Likewise.
30644 [XPG3 || XPG4] (sival_*): Likewise.
30645 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
30646 [POSIX || XPG3] (BUS_*): Likewise.
30647 [POSIX || XPG3] (CLD_*): Likewise.
30648 [POSIX || XPG3] (FPE_*): Likewise.
30649 [POSIX || XPG3] (ILL_*): Likewise.
30650 [POSIX || XPG3] (POLL_*): Likewise.
30651 [POSIX || XPG3] (SEGV_*): Likewise.
30652 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
30653 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
30654 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
30655 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
30656 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
30657 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
30658 Specify type and value.
30659 (TVERSLEN): Likewise.
30660 (REGTYPE): Likewise.
30661 (AREGTYPE): Likewise.
30662 (LNKTYPE): Likewise.
30663 (SYMTYPE): Likewise.
30664 (CHRTYPE): Likewise.
30665 (BLKTYPE): Likewise.
30666 (DIRTYPE): Likewise.
30667 (FIFOTYPE): Likewise.
30668 (CONTTYPE): Likewise.
30669 (TSUID): Likewise.
30670 (TSGID): Likewise.
30671 (TSVTX): Likewise.
30672 (TUREAD): Likewise.
30673 (TUWRITE): Likewise.
30674 (TUEXEC): Likewise.
30675 (TGREAD): Likewise.
30676 (TGWRITE): Likewise.
30677 (TGEXEC): Likewise.
30678 (TOREAD): Likewise.
30679 (TOWRITE): Likewise.
30680 (TOEXEC): Likewise.
30681 [POSIX] (TSVTX): Expect constant.
30682
30683 2014-03-06 Joseph Myers <joseph@codesourcery.com>
30684
30685 * Makefile (tests): Change dependencies to ....
30686 (tests-special): ... additions to this variable.
30687 (tests): Depend on $(tests-special).
30688 * Makerules (check-abi-list): New variable.
30689 (check-abi): Depend on $(check-abi-list).
30690 [$(subdir) = elf] (tests-special): Add
30691 $(objpfx)check-abi-libc.out.
30692 [$(build-shared) = yes && subdir] (tests-special): Add
30693 $(check-abi-list).
30694 [$(build-shared) = yes && subdir] (tests): Do not depend on
30695 check-abi.
30696 * Rules (tests): Depend on $(tests-special).
30697 (xtests): Depend on $(xtests-special).
30698 * catgets/Makefile (tests): Change dependencies to ....
30699 (tests-special): ... additions to this variable.
30700 * conform/Makefile (tests): Change dependencies to ....
30701 (tests-special): ... additions to this variable.
30702 * elf/Makefile (tests): Change dependencies to ....
30703 (tests-special): ... additions to this variable.
30704 * grp/Makefile (tests): Change dependencies to ....
30705 (tests-special): ... additions to this variable.
30706 * iconv/Makefile (xtests): Change dependencies to ....
30707 (xtests-special): ... additions to this variable.
30708 * iconvdata/Makefile (tests): Change dependencies to ....
30709 (tests-special): ... additions to this variable.
30710 * intl/Makefile (tests): Change dependencies to ....
30711 (tests-special): ... additions to this variable. Also add
30712 $(objpfx)tst-gettext.out.
30713 * io/Makefile (tests): Change dependencies to ....
30714 (tests-special): ... additions to this variable.
30715 * libio/Makefile (tests): Change dependencies to ....
30716 (tests-special): ... additions to this variable.
30717 * malloc/Makefile (tests): Change dependencies to ....
30718 (tests-special): ... additions to this variable.
30719 * misc/Makefile (tests): Change dependencies to ....
30720 (tests-special): ... additions to this variable.
30721 * nptl/Makefile (tests): Change dependencies to ....
30722 (tests-special): ... additions to this variable.
30723 * nptl_db/Makefile (tests): Change dependencies to ....
30724 (tests-special): ... additions to this variable.
30725 * posix/Makefile (tests): Change dependencies to ....
30726 (tests-special): ... additions to this variable.
30727 (xtests): Change dependencies to ....
30728 (xtests-special): ... additions to this variable.
30729 * resolv/Makefile (tests): Change dependencies to ....
30730 (tests-special): ... additions to this variable.
30731 (xtests): Change dependencies to ....
30732 (xtests-special): ... additions to this variable.
30733 * stdio-common/Makefile (tests): Change dependencies to ....
30734 (tests-special): ... additions to this variable.
30735 (do-tst-unbputc): Remove target.
30736 (do-tst-printf): Likewise.
30737 * stdlib/Makefile (tests): Change dependencies to ....
30738 (tests-special): ... additions to this variable.
30739 * string/Makefile (tests): Change dependencies to ....
30740 (tests-special): ... additions to this variable.
30741 * sysdeps/x86/Makefile (tests): Change dependencies to ....
30742 (tests-special): ... additions to this variable.
30743
30744 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
30745 whole file.
30746 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
30747 whole file.
30748 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
30749 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
30750
30751 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
30752 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
30753 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
30754 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
30755 * conform/data/libgen.h-data [XPG3]: Likewise.
30756 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
30757 * conform/data/ndbm.h-data [XPG3]: Likewise.
30758 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
30759 * conform/data/netdb.h-data [XPG3]: Likewise.
30760 * conform/data/netinet/in.h-data [XPG3]: Likewise.
30761 * conform/data/poll.h-data [XPG3]: Likewise.
30762 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
30763 * conform/data/strings.h-data [XPG3]: Likewise.
30764 * conform/data/stropts.h-data [XPG3]: Likewise.
30765 * conform/data/sys/mman.h-data [XPG3]: Likewise.
30766 * conform/data/sys/resource.h-data [XPG3]: Likewise.
30767 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
30768 Likewise.
30769 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
30770 * conform/data/sys/time.h-data [XPG3]: Likewise.
30771 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
30772 * conform/data/sys/uio.h-data [XPG3]: Likewise.
30773 * conform/data/sys/un.h-data [XPG3]: Likewise.
30774 * conform/data/syslog.h-data [XPG3]: Likewise.
30775 * conform/data/ucontext.h-data [XPG3]: Likewise.
30776 * conform/data/utmpx.h-data [XPG3]: Likewise.
30777 * conform/data/varargs.h-data [UNIX98]: Enable file.
30778
30779 * manual/Makefile (INSTALL_INFO): Remove variable setting.
30780
30781 * math/libm-test.inc (struct test_f_f_data): Move expected results
30782 into structure for each rounding mode.
30783 (struct test_ff_f_data): Likewise.
30784 (struct test_ff_f_data_nexttoward): Likewise.
30785 (struct test_fi_f_data): Likewise.
30786 (struct test_fl_f_data): Likewise.
30787 (struct test_if_f_data): Likewise.
30788 (struct test_fff_f_data): Likewise.
30789 (struct test_c_f_data): Likewise.
30790 (struct test_f_f1_data): Likewise.
30791 (struct test_fF_f1_data): Likewise.
30792 (struct test_ffI_f1_data): Likewise.
30793 (struct test_c_c_data): Likewise.
30794 (struct test_cc_c_data): Likewise.
30795 (struct test_f_i_data): Likewise.
30796 (struct test_ff_i_data): Likewise.
30797 (struct test_f_l_data): Likewise.
30798 (struct test_f_L_data): Likewise.
30799 (struct test_fFF_11_data): Likewise.
30800 (RM_): New macro.
30801 (RM_FE_DOWNWARD): Likewise.
30802 (RM_FE_TONEAREST): Likewise.
30803 (RM_FE_TOWARDZERO): Likewise.
30804 (RM_FE_UPWARD): Likewise.
30805 (RUN_TEST_LOOP_f_f): Update references to expected results.
30806 (RUN_TEST_LOOP_2_f): Likewise.
30807 (RUN_TEST_LOOP_fff_f): Likewise.
30808 (RUN_TEST_LOOP_c_f): Likewise.
30809 (RUN_TEST_LOOP_f_f1): Likewise.
30810 (RUN_TEST_LOOP_fF_f1): Likewise.
30811 (RUN_TEST_LOOP_fI_f1): Likewise.
30812 (RUN_TEST_LOOP_ffI_f1): Likewise.
30813 (RUN_TEST_LOOP_c_c): Likewise.
30814 (RUN_TEST_LOOP_cc_c): Likewise.
30815 (RUN_TEST_LOOP_f_i): Likewise.
30816 (RUN_TEST_LOOP_f_i_tg): Likewise.
30817 (RUN_TEST_LOOP_ff_i_tg): Likewise.
30818 (RUN_TEST_LOOP_f_b): Likewise.
30819 (RUN_TEST_LOOP_f_b_tg): Likewise.
30820 (RUN_TEST_LOOP_f_l): Likewise.
30821 (RUN_TEST_LOOP_f_L): Likewise.
30822 (RUN_TEST_LOOP_fFF_11): Likewise.
30823 * math/gen-libm-test.pl (parse_args): Output four copies of
30824 expected results for each test.
30825
30826 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30827 (__ASSUME_UTIMES): Remove.
30828 * sysdeps/unix/sysv/linux/tile/kernel-features.h
30829 (__ASSUME_UTIMES): Likewise.
30830
30831 * math/gen-auto-libm-tests.c: Update comment on output format.
30832 (output_for_one_input_case): Generate before-rounding and
30833 after-rounding information as conditions on output flags not
30834 floating-point format.
30835 * math/auto-libm-test-out: Regenerated.
30836 * math/gen-libm-test.pl (cond_value): New function.
30837 (or_cond_value): Use cond_value.
30838 (generate_testfile): Handle conditional exceptions.
30839
30840 2014-03-05 Joseph Myers <joseph@codesourcery.com>
30841
30842 * math/libm-test.inc (max_valid_error): New variable.
30843 (init_max_error): Take new argument specifying whether function
30844 results are exactly determined. Set max_valid_error and bound
30845 other variables for errors based on this argument.
30846 (set_max_error): Do not record results above max_valid_error.
30847 (check_float_internal): Only accept errors of up to 0.5ulps if
30848 also at most max_valid_error.
30849 (START): Take new argument EXACT and pass it to init_max_error.
30850 (acos_test): Update call to START.
30851 (acos_test_tonearest): Likewise.
30852 (acos_test_towardzero): Likewise.
30853 (acos_test_downward): Likewise.
30854 (acos_test_upward): Likewise.
30855 (acosh_test): Likewise.
30856 (asin_test): Likewise.
30857 (asin_test_tonearest): Likewise.
30858 (asin_test_towardzero): Likewise.
30859 (asin_test_downward): Likewise.
30860 (asin_test_upward): Likewise.
30861 (asinh_test): Likewise.
30862 (atan_test): Likewise.
30863 (atanh_test): Likewise.
30864 (atan2_test): Likewise.
30865 (cabs_test): Likewise.
30866 (cacos_test): Likewise.
30867 (cacosh_test): Likewise.
30868 (carg_test): Likewise.
30869 (casin_test): Likewise.
30870 (casinh_test): Likewise.
30871 (catan_test): Likewise.
30872 (catanh_test): Likewise.
30873 (cbrt_test): Likewise.
30874 (ccos_test): Likewise.
30875 (ccosh_test): Likewise.
30876 (ceil_test): Likewise.
30877 (cexp_test): Likewise.
30878 (cimag_test): Likewise.
30879 (clog_test): Likewise.
30880 (clog10_test): Likewise.
30881 (conj_test): Likewise.
30882 (copysign_test): Likewise.
30883 (cos_test): Likewise.
30884 (cos_test_tonearest): Likewise.
30885 (cos_test_towardzero): Likewise.
30886 (cos_test_downward): Likewise.
30887 (cos_test_upward): Likewise.
30888 (cosh_test): Likewise.
30889 (cosh_test_tonearest): Likewise.
30890 (cosh_test_towardzero): Likewise.
30891 (cosh_test_downward): Likewise.
30892 (cosh_test_upward): Likewise.
30893 (cpow_test): Likewise.
30894 (cproj_test): Likewise.
30895 (creal_test): Likewise.
30896 (csin_test): Likewise.
30897 (csinh_test): Likewise.
30898 (csqrt_test): Likewise.
30899 (ctan_test): Likewise.
30900 (ctan_test_tonearest): Likewise.
30901 (ctan_test_towardzero): Likewise.
30902 (ctan_test_downward): Likewise.
30903 (ctan_test_upward): Likewise.
30904 (ctanh_test): Likewise.
30905 (ctanh_test_tonearest): Likewise.
30906 (ctanh_test_towardzero): Likewise.
30907 (ctanh_test_downward): Likewise.
30908 (ctanh_test_upward): Likewise.
30909 (erf_test): Likewise.
30910 (erfc_test): Likewise.
30911 (exp_test): Likewise.
30912 (exp_test_tonearest): Likewise.
30913 (exp_test_towardzero): Likewise.
30914 (exp_test_downward): Likewise.
30915 (exp_test_upward): Likewise.
30916 (exp10_test): Likewise.
30917 (exp10_test_tonearest): Likewise.
30918 (exp10_test_towardzero): Likewise.
30919 (exp10_test_downward): Likewise.
30920 (exp10_test_upward): Likewise.
30921 (pow10_test): Likewise.
30922 (exp2_test): Likewise.
30923 (expm1_test): Likewise.
30924 (expm1_test_tonearest): Likewise.
30925 (expm1_test_towardzero): Likewise.
30926 (expm1_test_downward): Likewise.
30927 (expm1_test_upward): Likewise.
30928 (fabs_test): Likewise.
30929 (fdim_test): Likewise.
30930 (floor_test): Likewise.
30931 (fma_test): Likewise.
30932 (fma_test_towardzero): Likewise.
30933 (fma_test_downward): Likewise.
30934 (fma_test_upward): Likewise.
30935 (fmax_test): Likewise.
30936 (fmin_test): Likewise.
30937 (fmod_test): Likewise.
30938 (fpclassify_test): Likewise.
30939 (frexp_test): Likewise.
30940 (hypot_test): Likewise.
30941 (ilogb_test): Likewise.
30942 (isfinite_test): Likewise.
30943 (finite_test): Likewise.
30944 (isgreater_test): Likewise.
30945 (isgreaterequal_test): Likewise.
30946 (isinf_test): Likewise.
30947 (isless_test): Likewise.
30948 (islessequal_test): Likewise.
30949 (islessgreater_test): Likewise.
30950 (isnan_test): Likewise.
30951 (isnormal_test): Likewise.
30952 (issignaling_test): Likewise.
30953 (isunordered_test): Likewise.
30954 (j0_test): Likewise.
30955 (j1_test): Likewise.
30956 (jn_test): Likewise.
30957 (ldexp_test): Likewise.
30958 (lgamma_test): Likewise.
30959 (gamma_test): Likewise.
30960 (lrint_test): Likewise.
30961 (lrint_test_tonearest): Likewise.
30962 (lrint_test_towardzero): Likewise.
30963 (lrint_test_downward): Likewise.
30964 (lrint_test_upward): Likewise.
30965 (llrint_test): Likewise.
30966 (llrint_test_tonearest): Likewise.
30967 (llrint_test_towardzero): Likewise.
30968 (llrint_test_downward): Likewise.
30969 (llrint_test_upward): Likewise.
30970 (log_test): Likewise.
30971 (log10_test): Likewise.
30972 (log1p_test): Likewise.
30973 (log2_test): Likewise.
30974 (logb_test): Likewise.
30975 (logb_test_downward): Likewise.
30976 (lround_test): Likewise.
30977 (llround_test): Likewise.
30978 (modf_test): Likewise.
30979 (nearbyint_test): Likewise.
30980 (nextafter_test): Likewise.
30981 (nexttoward_test): Likewise.
30982 (pow_test): Likewise.
30983 (pow_test_tonearest): Likewise.
30984 (pow_test_towardzero): Likewise.
30985 (pow_test_downward): Likewise.
30986 (pow_test_upward): Likewise.
30987 (remainder_test): Likewise.
30988 (drem_test): Likewise.
30989 (remainder_test_tonearest): Likewise.
30990 (drem_test_tonearest): Likewise.
30991 (remainder_test_towardzero): Likewise.
30992 (drem_test_towardzero): Likewise.
30993 (remainder_test_downward): Likewise.
30994 (drem_test_downward): Likewise.
30995 (remainder_test_upward): Likewise.
30996 (drem_test_upward): Likewise.
30997 (remquo_test): Likewise.
30998 (rint_test): Likewise.
30999 (rint_test_tonearest): Likewise.
31000 (rint_test_towardzero): Likewise.
31001 (rint_test_downward): Likewise.
31002 (rint_test_upward): Likewise.
31003 (round_test): Likewise.
31004 (scalb_test): Likewise.
31005 (scalbn_test): Likewise.
31006 (scalbln_test): Likewise.
31007 (signbit_test): Likewise.
31008 (sin_test): Likewise.
31009 (sin_test_tonearest): Likewise.
31010 (sin_test_towardzero): Likewise.
31011 (sin_test_downward): Likewise.
31012 (sin_test_upward): Likewise.
31013 (sincos_test): Likewise.
31014 (sinh_test): Likewise.
31015 (sinh_test_tonearest): Likewise.
31016 (sinh_test_towardzero): Likewise.
31017 (sinh_test_downward): Likewise.
31018 (sinh_test_upward): Likewise.
31019 (sqrt_test): Likewise.
31020 (sqrt_test_tonearest): Likewise.
31021 (sqrt_test_towardzero): Likewise.
31022 (sqrt_test_downward): Likewise.
31023 (sqrt_test_upward): Likewise.
31024 (tan_test): Likewise.
31025 (tan_test_tonearest): Likewise.
31026 (tan_test_towardzero): Likewise.
31027 (tan_test_downward): Likewise.
31028 (tan_test_upward): Likewise.
31029 (tanh_test): Likewise.
31030 (tgamma_test): Likewise.
31031 (trunc_test): Likewise.
31032 (y0_test): Likewise.
31033 (y1_test): Likewise.
31034 (yn_test): Likewise.
31035 (significand_test): Likewise.
31036
31037 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
31038 individual tests in comment.
31039 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
31040 (prev_max_error): New variable.
31041 (prev_real_max_error): Likewise.
31042 (prev_imag_max_error): Likewise.
31043 (compare_ulp_data): Don't refer to test names in comment.
31044 (find_test_ulps): Remove function.
31045 (find_function_ulps): Likewise.
31046 (find_complex_function_ulps): Likewise.
31047 (init_max_error): Take function name as argument. Look up ulps
31048 for that function.
31049 (print_ulps): Remove function.
31050 (print_max_error): Use prev_max_error instead of calling
31051 find_function_ulps.
31052 (print_complex_max_error): Use prev_real_max_error and
31053 prev_imag_max_error instead of calling find_complex_function_ulps.
31054 (check_float_internal): Take max_ulp parameter instead of calling
31055 find_test_ulps. Don't call print_ulps.
31056 (check_float): Update call to check_float_internal.
31057 (check_complex): Update calls to check_float_internal.
31058 (START): Pass argument to init_max_error.
31059 * math/gen-libm-test.pl (%results): Don't include "kind"
31060 information.
31061 (parse_ulps): Don't handle ulps of individual tests.
31062 (print_ulps_file): Likewise.
31063 (output_ulps): Likewise.
31064 * math/README.libm-test: Update.
31065 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
31066 individual tests.
31067 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
31068 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31069 * sysdeps/arm/libm-test-ulps: Likewise.
31070 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31071 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
31072 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
31073 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
31074 * sysdeps/microblaze/libm-test-ulps: Likewise.
31075 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31076 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31077 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31078 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31079 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31080 * sysdeps/sh/libm-test-ulps: Likewise.
31081 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31082 * sysdeps/tile/libm-test-ulps: Likewise.
31083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31084
31085 2014-03-04 Joseph Myers <joseph@codesourcery.com>
31086
31087 * math/libm-test.inc (print_complex_max_error): Check separately
31088 whether real and imaginary errors are within allowed range and
31089 pass 0 to print_complex_function_ulps instead of value within
31090 allowed range.
31091
31092 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31093
31094 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
31095 formatting.
31096 (get_handles_fopen): Likewise.
31097 (do_write_test): Likewise.
31098
31099 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
31100
31101 * libio/fileops.c (do_ftell): Use cached offset when
31102 available.
31103 * libio/iofwide.c (do_ftell_wide): Likewise.
31104 * libio/iofdopen.c (_IO_new_fdopen): Don't use
31105 _IO_file_attach.
31106 * libio/wfileops.c (_IO_fwide): Don't cache offset.
31107
31108 [BZ #16532]
31109 * libio/libioP.h (get_file_offset): New function.
31110 * libio/fileops.c (get_file_offset): Likewise.
31111 (do_ftell): Likewise.
31112 (_IO_new_file_seekoff): Split out ftell logic.
31113 * libio/wfileops.c (do_ftell_wide): Likewise.
31114 (_IO_wfile_seekoff): Split out ftell logic.
31115 * libio/tst-ftell-active-handler.c: New test case.
31116 * libio/Makefile (tests): Add it.
31117
31118 2014-03-03 Roland McGrath <roland@hack.frob.com>
31119
31120 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
31121 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
31122
31123 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
31124
31125 [BZ #16639]
31126 * nscd/connections.c (nscd_init): Call do_exit.
31127 (start_threads): Call do_exit and notify_parent.
31128 (begin_drop_privileges): Call do_exit.
31129 (finish_drop_privileges): Likewise.
31130 * nscd/selinux.c (preserve_capabilities): Likewise.
31131 (install_real_capabilities): Likewise.
31132 (nscd_selinux_enabled): Likewise.
31133 (avc_create_thread): Likewise.
31134 (avc_alloc_lock): Likewise.
31135 (nscd_avc_init): Likewise.
31136 * nscd/nscd.c (parent_fd): New static variable.
31137 (main): Create a pipe between parent and child processes.
31138 Skip closing parent_fd.
31139 (monitor_child): New function.
31140 (do_exit): Likewise.
31141 (notify_parent): Likewise.
31142 * nscd/nscd.h (notify_parent): Likewise.
31143 (do_exit): Likewise.
31144
31145 2014-03-03 Carlos O'Donell <carlos@redhat.com>
31146
31147 * malloc/malloc.c (__libc_calloc): Revert last change.
31148
31149 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31150
31151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31152
31153 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31154
31155 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
31156 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
31157 implementation.
31158 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31159 (__libc_ifunc_impl_list): Likewise.
31160 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
31161 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
31162 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
31163 * string/strrchr.c: Define STRRCHR.
31164
31165 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
31166
31167 * benchtest/bench-strtok.c (simple_strtok): Delete.
31168 (strtok_string): Use as benchmark.
31169 * string/strtok (STRTOK): New macro.
31170
31171 2014-02-28 Carlos O'Donell <carlos@redhat.com>
31172
31173 * manual/threads.texi: Add header and standard comments to all
31174 functions.
31175
31176 * elf/dl-lookup.c (check_match): New function.
31177 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
31178 (do_lookup_x): Remove nested function check_match. Use non-nested
31179 function check_match.
31180
31181 2014-02-28 Roland McGrath <roland@hack.frob.com>
31182
31183 * csu/Makefile (generated, before-compile): Use += rather than =.
31184 * catgets/Makefile (generated, generated-dirs): Likewise.
31185 * debug/Makefile (generated): Likewise.
31186 * dlfcn/Makefile (generated): Likewise.
31187 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
31188 * iconvdata/Makefile (before-compile, generated): Likewise.
31189 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
31190 * libio/Makefile (generated): Likewise.
31191 * malloc/Makefile (generated): Likewise.
31192 * manual/Makefile (generated, generated-dirs): Likewise.
31193 * misc/Makefile (generated): Likewise.
31194 * posix/Makefile (generated): Likewise.
31195 * resolv/Makefile (generated): Likewise.
31196 * sunrpc/Makefile (generated, generated-dirs): Likewise.
31197 * timezone/Makefile (generated, generated-dirs): Likewise.
31198
31199 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
31200
31201 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31202
31203 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
31204 power8 implementation.
31205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
31206 file: POWER8 llround ifunc implementation.
31207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
31208 (__lllround): Add POWER8 implementation.
31209 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
31210 POWER8 llround implementation.
31211
31212 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
31213 power8 implementation.
31214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
31215 file: POWER8 llrint ifunc implementation.
31216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
31217 Add POWER8 implementation.
31218 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
31219 POWER8 llrint implementation.
31220
31221 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
31222 power8 implementation.
31223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
31224 file: POWER8 finite ifunc implementation.
31225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
31226 Add POWER8 implementation.
31227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
31228 Likewise.
31229 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
31230 POWER8 finite implementation.
31231 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
31232
31233 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
31234 power8 implementation.
31235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
31236 file: POWER8 isinf ifunc implementation.
31237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
31238 POWER8 implementation.
31239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
31240 Likewise.
31241 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
31242 isinf implementation.
31243 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
31244
31245 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
31246 (INIT_ARCH): Add hwcap2 initialization.
31247 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
31248 power8 implementation.
31249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
31250 file: POWER8 isnan ifunc implementation.
31251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
31252 POWER8 implementation.
31253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
31254 Likewise.
31255 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
31256 isnan implementation.
31257 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
31258
31259 2014-02-27 Joey Ye <joey.ye@arm.com>
31260
31261 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31262 (_FP_NANFRAC_Q): Set to zero.
31263
31264 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31265
31266 [BZ #16623]
31267 * math/auto-libm-test-in: New test inputs.
31268 * math/auto-libm-test-out: Regenerate.
31269 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
31270 and DA.
31271 (__cos): Likewise.
31272 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31273
31274 2014-02-27 Joseph Myers <joseph@codesourcery.com>
31275
31276 * scripts/evaluate-test.sh: Take new argument indicating whether
31277 failure is expected.
31278 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
31279 indicating whether failure is expected.
31280 * conform/Makefile (test-xfail-run-conformtest): New variable.
31281 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
31282 level.
31283 * posix/Makefile (test-xfail-annexc): New variable.
31284 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
31285
31286 2014-02-26 Joseph Myers <joseph@codesourcery.com>
31287
31288 * argp/Makefile: Include Makeconfig immediately after defining
31289 subdir.
31290 * assert/Makefile: Likewise.
31291 * benchtests/Makefile: Likewise.
31292 * catgets/Makefile: Likewise.
31293 * conform/Makefile: Likewise.
31294 * crypt/Makefile: Likewise.
31295 * csu/Makefile: Likewise.
31296 (all): Remove target.
31297 * ctype/Makefile: Include Makeconfig immediately after defining
31298 subdir.
31299 * debug/Makefile: Likewise.
31300 * dirent/Makefile: Likewise.
31301 * dlfcn/Makefile: Likewise.
31302 * gmon/Makefile: Likewise.
31303 * gnulib/Makefile: Likewise.
31304 * grp/Makefile: Likewise.
31305 * gshadow/Makefile: Likewise.
31306 * hesiod/Makefile: Likewise.
31307 * hurd/Makefile: Likewise.
31308 (all): Remove target.
31309 * iconvdata/Makefile: Include Makeconfig immediately after
31310 defining subdir.
31311 * inet/Makefile: Likewise.
31312 * intl/Makefile: Likewise.
31313 * io/Makefile: Likewise.
31314 * libio/Makefile: Likewise.
31315 (all): Remove target.
31316 * locale/Makefile: Include Makeconfig immediately after defining
31317 subdir.
31318 * login/Makefile: Likewise.
31319 * mach/Makefile: Likewise.
31320 (all): Remove target.
31321 * malloc/Makefile: Include Makeconfig immediately after defining
31322 subdir.
31323 (all): Remove target.
31324 * manual/Makefile: Include Makeconfig immediately after defining
31325 subdir.
31326 * math/Makefile: Likewise.
31327 * misc/Makefile: Likewise.
31328 * nis/Makefile: Likewise.
31329 * nss/Makefile: Likewise.
31330 * po/Makefile: Likewise.
31331 (all): Remove target.
31332 * posix/Makefile: Include Makeconfig immediately after defining
31333 subdir.
31334 * pwd/Makefile: Likewise.
31335 * resolv/Makefile: Likewise.
31336 * resource/Makefile: Likewise.
31337 * rt/Makefile: Likewise.
31338 * setjmp/Makefile: Likewise.
31339 * shadow/Makefile: Likewise.
31340 * signal/Makefile: Likewise.
31341 * socket/Makefile: Likewise.
31342 * soft-fp/Makefile: Likewise.
31343 * stdio-common/Makefile: Likewise.
31344 * stdlib/Makefile: Likewise.
31345 * streams/Makefile: Likewise.
31346 * string/Makefile: Likewise.
31347 * sunrpc/Makefile: Likewise.
31348 (all): Remove target.
31349 * sysvipc/Makefile: Include Makeconfig immediately after defining
31350 subdir.
31351 * termios/Makefile: Likewise.
31352 * time/Makefile: Likewise.
31353 * timezone/Makefile: Likewise.
31354 (all): Remove target.
31355 * wcsmbs/Makefile: Include Makeconfig immediately after defining
31356 subdir.
31357 * wctype/Makefile: Likewise.
31358
31359 2014-02-26 Steve Ellcey <sellcey@mips.com>
31360
31361 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
31362 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
31363 (libc_feholdexcept_setround_mips): Ditto.
31364 (libc_feholdsetround): New.
31365 (libc_feholdsetroundf): New.
31366 (libc_feholdsetroundl): New.
31367 (libc_feupdateenv_test_mips): New.
31368 (libc_feupdateenv_test): New.
31369 (libc_feupdateenv_testf): New.
31370 (libc_feupdateenv_testl): New.
31371 (libc_feresetround): New.
31372 (libc_feresetroundf): New.
31373 (libc_feresetroundl): New.
31374 (libc_fetestexcept_mips): New.
31375 (libc_fetestexcept): New.
31376 (libc_fetestexceptf): New.
31377 (libc_fetestexceptl): New.
31378 (HAVE_RM_CTX): New.
31379 (libc_feholdexcept_setround_mips_ctx): New.
31380 (libc_feholdexcept_setround_ctx): New.
31381 (libc_feholdexcept_setroundf_ctx): New.
31382 (libc_feholdexcept_setroundl_ctx): New.
31383 (libc_fesetenv_mips_ctx): New.
31384 (libc_fesetenv_ctx): New.
31385 (libc_fesetenv_ctxf): New.
31386 (libc_fesetenv_ctxl): New.
31387 (libc_feupdateenv_mips_ctx): New.
31388 (libc_feupdateenv_ctx): New.
31389 (libc_feupdateenvf_ctx): New.
31390 (libc_feupdateenvl_ctx): New.
31391 (libc_feholdsetround_mips_ctx): New.
31392 (libc_feholdsetround_ctx): New.
31393 (libc_feholdsetroundf_ctx): New.
31394 (libc_feholdsetroundl_ctx): New.
31395 (libc_feresetround_mips_ctx): New.
31396 (libc_feresetround_ctx): New.
31397 (libc_feresetroundf_ctx): New.
31398 (libc_feresetroundl_ctx): New.
31399
31400 2014-02-26 Carlos O'Donell <carlos@redhat.com>
31401
31402 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
31403
31404 * manual/ipc.texi: New file.
31405 * manual/Makefile (chapters): Add ipc.
31406 * manual/job.texi: Add "Inter-Process Communication" to next.
31407 * manual/process.texi: Add "Inter-Process Communication" to prev.
31408
31409 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31410
31411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31412
31413 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
31414
31415 * malloc/malloc.c (__libc_calloc): Simplify implementation.
31416
31417 * manual/arith.texi: Fix spaces after sentences.
31418 * manual/charset.texi: Likewise.
31419 * manual/errno.texi: Likewise.
31420 * manual/install.texi: Likewise.
31421 * manual/llio.texi: Likewise.
31422 * manual/locale.texi: Likewise.
31423 * manual/maint.texi: Likewise.
31424 * manual/math.texi: Likewise.
31425 * manual/memory.texi: Likewise.
31426 * manual/message.texi: Likewise.
31427 * manual/probes.texi: Likewise.
31428 * manual/resource.texi: Likewise.
31429 * manual/signal.texi: Likewise.
31430 * manual/socket.texi: Likewise.
31431 * manual/stdio.texi: Likewise.
31432 * manual/string.texi: Likewise.
31433 * manual/time.texi: Likewise.
31434 * manual/users.texi: Likewise.
31435
31436 2014-02-25 Carlos O'Donell <carlos@redhat.com>
31437
31438 [BZ #16632]
31439 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
31440 _DEFAULT_SOURCE is defined.
31441
31442 2014-02-25 Ulrich Drepper <drepper@gmail.com>
31443 Carlos O'Donell <carlos@redhat.com>
31444
31445 [BZ #16613]
31446 * elf/dl-tls.c (_dl_count_modids): New function.
31447 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
31448 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
31449 audit library and increment generation counter.
31450 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
31451 * elf/tst-audit9.c: New file.
31452 * elf/tst-auditmod9a.c: New file.
31453 * elf/tst-auditmod9b.c: New file.
31454 * elf/Makefile: Add rules to build and run tst-audit9.
31455
31456 2014-02-25 Florian Weimer <fweimer@redhat.com>
31457
31458 [BZ #15347]
31459 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
31460
31461 2014-02-25 Will Newton <will.newton@linaro.org>
31462
31463 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
31464 (__longjmp): Restore sp and lr before restoring callee
31465 saved registers. Add longjmp and longjmp_target
31466 SystemTap probe point.
31467 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
31468 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
31469 Define to zero to match jmpbuf layout.
31470 * sysdeps/arm/setjmp.S: Include stap-probe.h.
31471 (__sigsetjmp): Save sp and lr before saving callee
31472 saved registers. Add setjmp SystemTap probe point.
31473
31474 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
31475
31476 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31477
31478 2014-02-24 Andreas Schwab <schwab@suse.de>
31479
31480 [BZ #15804]
31481 * elf/pldd.c (wait_for_ptrace_stop): New function.
31482 (main): Call it after attaching.
31483
31484 2014-02-22 Roland McGrath <roland@hack.frob.com>
31485
31486 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
31487 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
31488 Versions files is now verboten.
31489 * hurd/Versions (libc: GLIBC_2.0):
31490 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
31491 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
31492 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
31493 * mach/Versions: Likewise.
31494
31495 * csu/Versions: Remove unused %include.
31496 * resolv/Versions: Likewise.
31497
31498 2014-02-21 Joseph Myers <joseph@codesourcery.com>
31499
31500 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
31501 ($(objpfx)check-local-headers.out): Likewise.
31502 ($(objpfx)begin-end-check.out): Likewise.
31503 * Makerules (check-abi-%.out): Likewise.
31504 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
31505 ($(objpfx)test2.cat): Likewise.
31506 ($(objpfx)de/libc.cat): Likewise.
31507 ($(objpfx)test-gencat.out): Likewise.
31508 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
31509 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
31510 ($(objpfx)noload-mem): Likewise.
31511 ($(objpfx)tst-pathopt.out): Likewise.
31512 ($(objpfx)tst-rtld-load-self.out): Likewise.
31513 ($(objpfx)tst-array1-cmp.out): Likewise.
31514 ($(objpfx)tst-array1-static-cmp.out): Likewise.
31515 ($(objpfx)tst-array2-cmp.out): Likewise.
31516 ($(objpfx)tst-array3-cmp.out): Likewise.
31517 ($(objpfx)tst-array4-cmp.out): Likewise.
31518 ($(objpfx)tst-array5-cmp.out): Likewise.
31519 ($(objpfx)tst-array5-static-cmp.out): Likewise.
31520 ($(objpfx)check-textrel.out): Likewise.
31521 ($(objpfx)check-execstack.out): Likewise.
31522 ($(objpfx)check-localplt.out): Likewise.
31523 ($(objpfx)order2-cmp.out): Likewise.
31524 ($(objpfx)tst-leaks1-mem): Likewise.
31525 ($(objpfx)tst-leaks1-static-mem): Likewise.
31526 ($(objpfx)tst-initorder-cmp.out): Likewise.
31527 ($(objpfx)tst-initorder2-cmp.out): Likewise.
31528 ($(objpfx)tst-unused-dep.out): Likewise.
31529 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
31530 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31531 * iconv/Makefile (test-iconvconfig): Likewise.
31532 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
31533 ($(objpfx)iconv-test.out): Likewise.
31534 ($(objpfx)tst-tables.out): Likewise.
31535 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
31536 ($(objpfx)tst-gettext.out): Likewise.
31537 ($(objpfx)tst-translit.out): Likewise.
31538 ($(objpfx)tst-gettext2.out): Likewise.
31539 ($(objpfx)tst-gettext4.out): Likewise.
31540 ($(objpfx)tst-gettext6.out): Likewise.
31541 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
31542 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31543 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
31544 ($(objpfx)tst-fopenloc-mem.out): Likewise.
31545 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31546 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
31547 * posix/Makefile ($(objpfx)globtest.out): Likewise.
31548 ($(objpfx)wordexp-tst.out): Likewise.
31549 ($(objpfx)annexc.out): Likewise.
31550 ($(objpfx)tst-fnmatch-mem): Likewise.
31551 ($(objpfx)bug-regex2-mem): Likewise.
31552 ($(objpfx)bug-regex14-mem): Likewise.
31553 ($(objpfx)bug-regex21-mem): Likewise.
31554 ($(objpfx)bug-regex31-mem): Likewise.
31555 ($(objpfx)tst-vfork3-mem): Likewise.
31556 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
31557 ($(objpfx)tst-pcre-mem): Likewise.
31558 ($(objpfx)tst-boost-mem): Likewise.
31559 ($(objpfx)tst-getconf.out): Likewise.
31560 ($(objpfx)bug-ga2-mem): Likewise.
31561 ($(objpfx)bug-glob2-mem): Likewise.
31562 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
31563 ($(objpfx)mtrace-tst-leaks2): Likewise.
31564 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
31565 ($(objpfx)tst-printf.out): Likewise.
31566 ($(objpfx)tst-setvbuf1.out): Likewise.
31567 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
31568 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
31569 ($(objpfx)tst-fmtmsg.out): Likewise.
31570 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
31571 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
31572
31573 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
31574 * bits/sigaction.h [__USE_MISC]: Likewise.
31575 * bits/waitstatus.h: Update #endif comments.
31576 * ctype/ctype.h: Likewise.
31577 * dirent/dirent.h: Likewise.
31578 [__USE_MISC]: Remove redundant conditionals.
31579 * grp/grp.h: Update #endif comments.
31580 [__USE_GNU]: Remove redundant conditionals.
31581 [__USE_MISC]: Likewise.
31582 * inet/netinet/in.h [__USE_GNU]: Likewise.
31583 * io/sys/stat.h [__USE_MISC]: Likewise.
31584 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
31585 * libio/bits/stdio.h: Update #endif comments.
31586 [__USE_MISC]: Remove redundant conditionals.
31587 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
31588 * libio/stdio.h: Update #endif comments.
31589 [__USE_MISC]: Remove redundant conditionals.
31590 * math/bits/math-finite.h [__USE_MISC]: Likewise.
31591 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
31592 * math/math.h: Update #else and #endif comments.
31593 [__USE_MISC]: Remove redundant conditionals.
31594 * misc/sys/uio.h: Update #endif comments.
31595 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
31596 * posix/glob.h [__USE_MISC]: Likewise.
31597 * posix/sys/types.h: Update #endif comments.
31598 [__USE_MISC]: Remove redundant conditionals.
31599 * posix/sys/wait.h: Update #endif comments.
31600 [__USE_MISC]: Remove redundant conditionals.
31601 * posix/unistd.h: Update #endif comments.
31602 [__USE_MISC]: Remove redundant conditionals.
31603 * pwd/pwd.h [__USE_GNU]: Likewise.
31604 [__USE_MISC]: Likewise.
31605 * resolv/netdb.h [__USE_GNU]: Likewise.
31606 * signal/signal.h: Update #endif comments.
31607 [__USE_MISC]: Remove redundant conditionals.
31608 * stdlib/stdlib.h: Update #else and #endif comments.
31609 [__USE_MISC]: Remove redundant conditionals.
31610 [__USE_GNU]: Likewise.
31611 * string/bits/string2.h [__USE_MISC]: Likewise.
31612 * string/string.h: Update #endif comments.
31613 [__USE_MISC]: Remove redundant conditionals.
31614 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
31615 Likewise.
31616 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
31617 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
31618 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
31619 Likewise.
31620 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
31621 Likewise.
31622 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
31623 comments.
31624 [__USE_MISC]: Remove redundant conditionals.
31625 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
31626 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
31627 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
31628 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
31629 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
31630 Likewise.
31631 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
31632 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
31633 Likewise.
31634 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
31635 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
31636 Likewise.
31637 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
31638 Likewise.
31639 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
31640 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
31641 Likewise.
31642 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
31643 Likewise.
31644 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
31645 * sysdeps/x86/bits/string.h: Update #endif comments.
31646 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
31647 conditionals.
31648 * time/sys/time.h: Update #endif comments.
31649 * time/time.h: Likewise.
31650 [__USE_MISC]: Remove redundant conditionals.
31651
31652 2014-02-21 Yury Gribov <y.gribov@samsung.com>
31653
31654 [BZ #16600]
31655 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
31656
31657 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
31658
31659 * Versions.def (librt): Add GLIBC_2.17.
31660
31661 2014-02-21 Adam Conrad <adconrad@0c3.net>
31662
31663 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
31664 synonym for _SYS_AUXV_H to allow direct inclusion.
31665 * sysdeps/sparc/bits/hwcap.h: Likewise.
31666 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
31667 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
31668 * sysdeps/sparc/sysdep.h: Likewise.
31669
31670 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31671
31672 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
31673
31674 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31675
31676 * benchtests/bench-strrchr.c: Print length instead of position.
31677
31678 2014-02-20 Joseph Myers <joseph@codesourcery.com>
31679
31680 [BZ #16611]
31681 * sysdeps/unix/sysv/linux/kernel-features.h
31682 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
31683 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
31684 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
31685 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
31686 Likewise.
31687 [__i386__ || __powerpc__ || __sh__ || __sparc__]
31688 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31689 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
31690 (__ASSUME_SENDMMSG): Define instead of using previous
31691 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
31692 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31693 (__ASSUME_SENDMMSG_SYSCALL): Define.
31694 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31695 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
31696 Likewise.
31697 * sysdeps/unix/sysv/linux/arm/kernel-features.h
31698 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31699 Likewise.
31700 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31701 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31702 Likewise.
31703 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
31704 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
31705 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
31706 [__ASSUME_SENDMMSG]: Change conditionals to
31707 [__ASSUME_SENDMMSG_SOCKETCALL].
31708 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31709 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
31710 Define.
31711 * sysdeps/unix/sysv/linux/mips/kernel-features.h
31712 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
31713 Likewise.
31714 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
31715 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
31716 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
31717 [!__ASSUME_SENDMMSG]: Change conditional to
31718 [!__ASSUME_SENDMMSG_SOCKETCALL].
31719 * sysdeps/unix/sysv/linux/tile/kernel-features.h
31720 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31721 Define.
31722
31723 [BZ #16610]
31724 * sysdeps/unix/sysv/linux/kernel-features.h
31725 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
31726 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
31727 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
31728 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
31729 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31730 [__i386__ || __sparc__]
31731 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31732 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
31733 (__ASSUME_RECVMMSG): Define instead of using previous
31734 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
31735 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31736 (__ASSUME_RECVMMSG_SYSCALL): Define.
31737 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31738 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31739 Likewise.
31740 * sysdeps/unix/sysv/linux/arm/kernel-features.h
31741 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31742 Likewise.
31743 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31744 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31745 Likewise.
31746 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
31747 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
31748 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
31749 [__ASSUME_RECVMMSG]: Change condition to
31750 [__ASSUME_RECVMMSG_SOCKETCALL].
31751 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31752 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31753 Define.
31754 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31755 * sysdeps/unix/sysv/linux/mips/kernel-features.h
31756 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31757 Likewise.
31758 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
31759 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
31760 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
31761 [!__ASSUME_RECVMMSG]: Change condition to
31762 [!__ASSUME_RECVMMSG_SOCKETCALL].
31763 * sysdeps/unix/sysv/linux/tile/kernel-features.h
31764 (__ASSUME_RECVMMSG_SYSCALL): Define.
31765
31766 [BZ #16609]
31767 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
31768 __powerpc__ || __s390__ || __sh__ || __sparc__]
31769 (__ASSUME_SOCKETCALL): Define.
31770 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
31771 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
31772 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
31773 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
31774 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31775 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31776 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
31777 (__ASSUME_ACCEPT4): Define instead of using previous
31778 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
31779 __powerpc__ || __sparc__ || __s390__)] condition.
31780 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31781 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
31782 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
31783 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
31784 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
31785 [!__ASSUME_ACCEPT4]: Change condition to
31786 [!__ASSUME_ACCEPT4_SOCKETCALL].
31787 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31788 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
31789 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
31790 * sysdeps/unix/sysv/linux/arm/kernel-features.h
31791 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
31792 __ASSUME_ACCEPT4_SYSCALL.
31793 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
31794 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
31795 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31796 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
31797 __ASSUME_ACCEPT4_SYSCALL.
31798 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
31799 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
31800 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
31801 [__ASSUME_ACCEPT4]: Change condition to
31802 [__ASSUME_ACCEPT4_SOCKETCALL].
31803 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31804 (__ASSUME_SOCKETCALL): Define.
31805 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
31806 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31807 (__ASSUME_SOCKETCALL): Define.
31808 (__ASSUME_ACCEPT4): Remove.
31809 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
31810 Define.
31811 * sysdeps/unix/sysv/linux/mips/kernel-features.h
31812 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
31813 Likewise.
31814 * sysdeps/unix/sysv/linux/tile/kernel-features.h
31815 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
31816
31817 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
31818 macro.
31819 (HWCAP_ARM_LPAE): Likewise.
31820 (HWCAP_ARM_EVTSTRM): Likewise.
31821 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
31822 Add vpfd32, lpae and evtstrm.
31823 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
31824 Increase to 22.
31825
31826 2014-02-19 Joseph Myers <joseph@codesourcery.com>
31827
31828 * math/auto-libm-test-in: Add tests of clog10.
31829 * math/auto-libm-test-out: Regenerated.
31830 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
31831 * sysdeps/i386/fpu/libm-test-ulps: Update.
31832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31833
31834 2014-02-18 Andreas Schwab <schwab@suse.de>
31835
31836 [BZ #16574]
31837 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
31838 Store non-zero if the second buffer was newly allocated.
31839 (send_dg): Likewise.
31840 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
31841 to send_vc and send_dg.
31842 (res_nsend): Pass NULL for ansp2_malloced.
31843 * resolv/res_query.c (__libc_res_nquery): Add parameter
31844 answerp2_malloced and pass it down to __libc_res_nsend.
31845 (res_nquery): Pass additional NULL to __libc_res_nquery.
31846 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
31847 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
31848 second answer buffer if answerp2_malloced was set.
31849 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
31850 (__libc_res_nquerydomain): Add parameter
31851 answerp2_malloced and pass it down to __libc_res_nquery.
31852 (res_nquerydomain): Pass additional NULL to
31853 __libc_res_nquerydomain.
31854 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
31855 additional NULL to __libc_res_nsend and __libc_res_nquery.
31856 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
31857 additional NULL to __libc_res_nsearch.
31858 (_nss_dns_gethostbyname4_r): Revert last change. Use new
31859 parameter of __libc_res_nsearch to check for separately allocated
31860 second buffer.
31861 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
31862 __libc_res_nquery.
31863 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
31864 additional NULL to __libc_res_nquery.
31865 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
31866 __libc_res_nsearch.
31867 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
31868 * include/resolv.h: Update prototypes of __libc_res_nquery,
31869 __libc_res_nsearch, __libc_res_nsend.
31870
31871 2014-02-18 Joseph Myers <joseph@codesourcery.com>
31872
31873 * math/auto-libm-test-in: Add tests of fma.
31874 * math/auto-libm-test-out: Regenerated.
31875 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
31876 (fma_towardzero_test_data): Likewise.
31877 (fma_downward_test_data): Likewise.
31878 (fma_upward_test_data): Likewise.
31879 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
31880 mpc_mode.
31881 (rounding_modes): Add values for new field.
31882 (func_calc_method): Add value mpfr_fff_f.
31883 (func_calc_desc): Add mpfr_fff_f union field.
31884 (test_function): Add field exact_args.
31885 (FUNC): Add macro argument EXACT_ARGS.
31886 (FUNC_mpfr_f_f): Update call to FUNC.
31887 (FUNC_mpfr_f_f): Likewise.
31888 (FUNC_mpfr_ff_f): Likewise.
31889 (FUNC_mpfr_if_f): Likewise.
31890 (FUNC_mpc_c_f): Likewise.
31891 (FUNC_mpc_c_c): Likewise.
31892 (test_functions): Add fma. Update calls to FUNC.
31893 (handle_input_arg): Add argument exact_args.
31894 (add_test): Update call to handle_input_arg.
31895 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
31896 (output_for_one_input_case): Update call to calc_generic_results.
31897 Recalculate exact zero results in each rounding mode.
31898
31899 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
31900 non-negative before setting low bit.
31901 * math/auto-libm-test-in: Mark one asin test possibly having
31902 spurious underflow.
31903 * math/auto-libm-test-out: Regenerated.
31904 * sysdeps/i386/fpu/libm-test-ulps: Update.
31905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31906
31907 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
31908
31909 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
31910 * sysdeps/unix/sysv/linux/microblaze: Move directory from
31911 ports/sysdeps/unix/sysv/linux/microblaze.
31912 * README: Add missing listing for microblaze*-*-linux-gnu.
31913
31914 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
31915
31916 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
31917 duplicate code
31918
31919 2014-02-16 Mike Frysinger <vapier@gentoo.org>
31920
31921 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
31922 * sysdeps/unix/sysv/linux/ia64: Move directory from
31923 ports/sysdeps/unix/sysv/linux/ia64.
31924 * README: Update listing for ia64-*-linux-gnu.
31925
31926 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
31927 Joseph Myers <joseph@codesourcery.com>
31928
31929 * Makeconfig (test-name): New variable.
31930 (evaluate-test): Likewise.
31931 * Makerules (do-test-clean): Remove .test-result files.
31932 (common-mostlyclean): Likewise.
31933 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
31934 * scripts/evaluate-test.sh: New file.
31935
31936 2014-02-14 Joseph Myers <joseph@codesourcery.com>
31937
31938 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
31939 separate $(objpfx)tst-fopenloc-cmp.out and
31940 $(objpfx)tst-fopenloc-mem.out targets.
31941 (tests): Update dependencies.
31942 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
31943 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
31944 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
31945 (tst-rxspencer-no-utf8-ARGS): New variable.
31946 (tst-rxspencer-no-utf8-ENV): Likewise.
31947 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
31948 instead of $(objpfx)tst-rxspencer-mem.
31949 ($(objpfx)tst-rxspencer-mem): Change target to
31950 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
31951 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
31952 * posix/tst-rxspencer-no-utf8.c: New file.
31953
31954 * elf/Makefile ($(objpfx)order.out): Remove rule.
31955 [$(run-built-tests) = yes] (tests): Depend on
31956 $(objpfx)order-cmp.out.
31957 ($(objpfx)order-cmp.out): New rule.
31958 [$(run-built-tests) = yes] (tests): Depend on
31959 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
31960 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
31961 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
31962 $(objpfx)tst-array5-static-cmp.out.
31963 ($(objpfx)tst-array1.out): Remove rule.
31964 ($(objpfx)tst-array1-cmp.out): New rule.
31965 ($(objpfx)tst-array1-static.out): Remove rule.
31966 ($(objpfx)tst-array1-static-cmp.out): New rule.
31967 ($(objpfx)tst-array2.out): Remove rule.
31968 ($(objpfx)tst-array2-cmp.out): New rule.
31969 ($(objpfx)tst-array3.out): Remove rule.
31970 ($(objpfx)tst-array3-cmp.out): New rule.
31971 ($(objpfx)tst-array4.out): Remove rule.
31972 ($(objpfx)tst-array4-cmp.out): New rule.
31973 ($(objpfx)tst-array5.out): Remove rule.
31974 ($(objpfx)tst-array5-cmp.out): New rule.
31975 ($(objpfx)tst-array5-static.out): Remove rule.
31976 ($(objpfx)tst-array5-static-cmp.out): New rule.
31977 [$(run-built-tests) = yes] (tests): Depend on
31978 $(objpfx)order2-cmp.out.
31979 ($(objpfx)order2.out): Remove rule.
31980 ($(objpfx)order2-cmp.out): New rule.
31981 ($(objpfx)tst-initorder.out): Remove rule.
31982 [$(run-built-tests) = yes] (tests): Depend on
31983 $(objpfx)tst-initorder-cmp.out.
31984 ($(objpfx)tst-initorder-cmp.out): New rule.
31985 ($(objpfx)tst-initorder2.out): Remove rule.
31986 [$(run-built-tests) = yes] (tests): Depend on
31987 $(objpfx)tst-initorder2-cmp.out.
31988 ($(objpfx)tst-initorder2-cmp.out): New rule.
31989 [$(run-built-tests) = yes] (tests): Depend on
31990 $(objpfx)tst-unused-dep-cmp.out.
31991 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
31992 ($(objpfx)tst-unused-dep-cmp.out): New rule.
31993 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
31994 on $(objpfx)tst-setvbuf1-cmp.out.
31995 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
31996 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
31997 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
31998 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
31999 ($(objpfx)tst-svc.out): Remove rule.
32000 ($(objpfx)tst-svc-cmp.out): New rule.
32001
32002 2014-02-13 Joseph Myers <joseph@codesourcery.com>
32003
32004 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
32005 * ctype/ctype.h [__USE_MISC]: Likewise.
32006 * dirent/dirent.h [__USE_MISC]: Likewise.
32007 * grp/grp.h [__USE_MISC]: Likewise.
32008 * io/fcntl.h [__USE_MISC]: Likewise.
32009 * io/sys/stat.h [__USE_MISC]: Likewise.
32010 * libio/stdio.h [__USE_MISC]: Likewise.
32011 * posix/unistd.h [__USE_MISC]: Likewise.
32012 * pwd/pwd.h [__USE_MISC]: Likewise.
32013 * stdlib.h [__USE_MISC]: Likewise.
32014 * string/bits/string2.h [__USE_MISC]: Likewise.
32015 * string/string.h [__USE_MISC]: Likewise.
32016 * time/time.h [__USE_MISC]: Likewise.
32017
32018 2014-02-13 Andreas Schwab <schwab@suse.de>
32019
32020 [BZ #16574]
32021 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
32022 second answer buffer if it was separately allocated.
32023
32024 2014-02-12 Joseph Myers <joseph@codesourcery.com>
32025
32026 * sysdeps/mips/math-tests.h: Include <features.h>.
32027 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32028 (ROUNDING_TESTS_long_double): Do not define.
32029 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32030 (EXCEPTION_TESTS_long_double): Likewise.
32031 * sysdeps/mips/mips64/libm-test-ulps: Update.
32032
32033 * include/features.h (__USE_BSD): Remove macro definitions.
32034 (__USE_SVID): Likewise.
32035 (_BSD_SOURCE): Likewise.
32036 (_SVID_SOURCE): Likewise.
32037 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
32038 from definition of _DEFAULT_SOURCE.
32039 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
32040 [_DEFAULT_SOURCE].
32041 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
32042 * bits/mman.h [__USE_BSD]: Likewise.
32043 * bits/termios.h [__USE_BSD]: Likewise.
32044 * bits/waitstatus.h [__USE_BSD]: Likewise.
32045 * ctype/ctype.h [__USE_SVID]: Likewise.
32046 * dirent/dirent.h [__USE_BSD]: Likewise.
32047 * grp/grp.h [__USE_SVID]: Likewise.
32048 [__USE_BSD]: Likewise.
32049 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
32050 * io/fcntl.h [__USE_BSD]: Likewise.
32051 * io/ftw.h [__USE_BSD]: Likewise.
32052 * io/sys/stat.h [__USE_BSD]: Likewise.
32053 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
32054 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
32055 * libio/stdio.h [__USE_SVID]: Likewise.
32056 [__USE_BSD]: Likewise.
32057 * math/math.h [__USE_SVID]: Likewise.
32058 [__USE_BSD]: Likewise.
32059 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
32060 * misc/bits/syslog.h [__USE_BSD]: Likewise.
32061 * misc/search.h [__USE_SVID]: Likewise.
32062 * misc/sys/mman.h [__USE_BSD]: Likewise.
32063 * misc/sys/syslog.h [__USE_BSD]: Likewise.
32064 * misc/sys/uio.h [__USE_BSD]: Likewise.
32065 * posix/bits/unistd.h [__USE_BSD]: Likewise.
32066 * posix/glob.h [__USE_BSD]: Likewise.
32067 * posix/regex.h [__USE_BSD]: Likewise.
32068 * posix/sys/types.h [__USE_BSD]: Likewise.
32069 [__USE_SVID]: Likewise.
32070 * posix/sys/utsname.h [__USE_SVID]: Likewise.
32071 * posix/sys/wait.h [__USE_BSD]: Likewise.
32072 [__USE_SVID]: Likewise.
32073 * posix/unistd.h [__USE_BSD]: Likewise.
32074 [__USE_SVID]: Likewise.
32075 * pwd/pwd.h [__USE_SVID]: Likewise.
32076 * resolv/netdb.h [__USE_BSD]: Likewise.
32077 * setjmp/setjmp.h [__USE_BSD]: Likewise.
32078 * signal/signal.h [__USE_BSD]: Likewise.
32079 [__USE_SVID]: Likewise.
32080 * socket/sys/socket.h [__USE_BSD]: Likewise.
32081 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
32082 * stdlib/stdlib.h [__USE_BSD]: Likewise.
32083 [__USE_SVID]: Likewise.
32084 * string/bits/string2.h [__USE_BSD]: Likewise.
32085 [__USE_SVID]: Likewise.
32086 * string/bits/string3.h [__USE_BSD]: Likewise.
32087 * string/endian.h [__USE_BSD]: Likewise.
32088 * string/string.h [__USE_SVID]: Likewise.
32089 [__USE_BSD]: Likewise.
32090 * string/strings.h [__USE_BSD]: Likewise.
32091 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
32092 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
32093 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
32094 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
32095 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
32096 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
32097 Likewise.
32098 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
32099 Likewise.
32100 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
32101 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
32102 Likewise.
32103 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
32104 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
32105 Likewise.
32106 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
32107 Likewise.
32108 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
32109 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
32110 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
32111 Likewise.
32112 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
32113 Likewise.
32114 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
32115 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
32116 * termios/termios.h [__USE_BSD]: Likewise.
32117 * time/sys/time.h [__USE_BSD]: Likewise.
32118 * time/time.h [__USE_BSD]: Likewise.
32119 [__USE_SVID]: Likewise.
32120
32121 * Makefile (subdir_targets): Remove subdir_lint.out.
32122
32123 * stdio-common/Makefile (do-tst-unbputc): Remove target.
32124 (do-tst-printf): Likewise.
32125 (tests): Depend directly on $(objpfx)tst-unbputc.out and
32126 $(objpfx)tst-printf.out.
32127
32128 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
32129
32130 * Makerules (check-abi-%): Change target to
32131 $(objpfx)check-abi-%.out.
32132 (check-abi target): Update dependencies.
32133 (check-abi-pattern variable): Redirect output of diff to $@.
32134 (check-abi variable): Likewise.
32135 * elf/Makefile (check-abi): Update dependencies.
32136
32137 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
32138 unused.
32139 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
32140 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
32141 subnormal range.
32142 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
32143 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
32144 value has largest subnormal exponent.
32145 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
32146 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
32147 * sysdeps/aarch64/soft-fp/sfp-machine.h
32148 (_FP_TININESS_AFTER_ROUNDING): New macro.
32149 * sysdeps/alpha/soft-fp/sfp-machine.h
32150 (_FP_TININESS_AFTER_ROUNDING): Likewise.
32151 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32152 Likewise.
32153 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
32154 (_FP_TININESS_AFTER_ROUNDING): Likewise.
32155 * sysdeps/mips/soft-fp/sfp-machine.h
32156 (_FP_TININESS_AFTER_ROUNDING): Likewise.
32157 * sysdeps/powerpc/soft-fp/sfp-machine.h
32158 (_FP_TININESS_AFTER_ROUNDING): Likewise.
32159 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32160 Likewise.
32161 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32162 (_FP_TININESS_AFTER_ROUNDING): Likewise.
32163 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32164 (_FP_TININESS_AFTER_ROUNDING): Likewise.
32165 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32166 Likewise.
32167
32168 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
32169
32170 [BZ #16545]
32171 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
32172 model 1.
32173
32174 2014-02-12 Richard Henderson <rth@redhat.com>
32175
32176 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
32177 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
32178 * sysdeps/unix/sysv/linux/alpha: Move directory from
32179 ports/sysdeps/unix/sysv/linux/alpha.
32180 * README: Update listing for alpha-*-linux-gnu.
32181
32182 2014-02-11 Joseph Myers <joseph@codesourcery.com>
32183
32184 * include/features.h: Update comment documenting feature test
32185 macros.
32186 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
32187 _DEFAULT_SOURCE.
32188 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
32189 (_SVID_SOURCE): Likewise.
32190 (_DEFAULT_SOURCE): Update description of default features.
32191 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
32192 with _GNU_SOURCE.
32193 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
32194 (S_ISVTX): Likewise.
32195 * manual/math.texi (Mathematical Constants): Likewise.
32196 * manual/signal.texi (Interrupted Primitives): Likewise.
32197 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
32198 * math/test-matherr.c (_SVID_SOURCE): Do not define.
32199 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
32200 Don't refer to _SVID_SOURCE in warning text.
32201
32202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32203
32204 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
32205 already defined.
32206 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
32207 * sysdeps/mips/dl-lookup.c: Remove.
32208 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
32209
32210 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
32211
32212 [BZ #16447]
32213 * math/auto-libm-test-in: Add testcase for expl.
32214 * math/auto-libm-test-out: Regenerate.
32215 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
32216 calculation of unsafe.
32217 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
32218
32219 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
32220
32221 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
32222 * sysdeps/unix/sysv/linux/aarch64: Move directory from
32223 ports/sysdeps/unix/sysv/linux/aarch64.
32224 * README: Update listing for aarch64*-*-linux-gnu.
32225
32226 2014-02-11 Will Newton <will.newton@linaro.org>
32227
32228 * manual/probes.texi (Mathematical Function Probes): Use
32229 "triggered" instead of "hit".
32230
32231 * manual/probes.texi (Internal Probes): Add documentation
32232 of setjmp, longjmp and longjmp_target probes.
32233
32234 * include/stap-probe.h: Add comment about probe argument
32235 format.
32236
32237 * malloc/mtrace.c (attribute_hidden): Remove unused macro
32238 definition. (tr_where, tr_freehook, tr_mallochook,
32239 tr_reallochook, tr_memalignhook): Use ANSI protoype.
32240
32241 2014-02-11 David S. Miller <davem@davemloft.net>
32242
32243 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
32244 processing int_tests.
32245
32246 2014-02-10 Joseph Myers <joseph@codesourcery.com>
32247
32248 * sysdeps/mips: Move directory from ports/sysdeps/mips.
32249 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
32250 * sysdeps/unix/sysv/linux/mips: Move directory from
32251 ports/sysdeps/unix/sysv/linux/mips.
32252 * README: Update listing for mips-*-linux-gnu and
32253 mips64-*-linux-gnu.
32254
32255 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
32256
32257 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
32258 * sysdeps/unix/sysv/linux/m68k: Move directory from
32259 ports/sysdeps/unix/sysv/linux/m68k.
32260 * README: Update listing for m68k-*-linux-gnu.
32261
32262 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
32263
32264 * sysdeps/tile: Move directory from ports/sysdeps/tile.
32265 * sysdeps/unix/sysv/linux/generic: Move directory from
32266 ports/sysdeps/unix/sysv/linux/generic.
32267 * sysdeps/unix/sysv/linux/tile: Move directory from
32268 ports/sysdeps/unix/sysv/linux/tile.
32269 * README: Update listing for tile*-*-linux-gnu.
32270
32271 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
32272
32273 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
32274 __builtin_expect.
32275 * benchtests/bench-memmem.c (simple_memmem): Likewise.
32276 * catgets/open_catalog.c (__open_catalog): Likewise.
32277 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
32278 * debug/confstr_chk.c: Likewise.
32279 * debug/fread_chk.c (__fread_chk): Likewise.
32280 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
32281 * debug/getgroups_chk.c: Likewise.
32282 * debug/mbsnrtowcs_chk.c: Likewise.
32283 * debug/mbsrtowcs_chk.c: Likewise.
32284 * debug/mbstowcs_chk.c: Likewise.
32285 * debug/memcpy_chk.c: Likewise.
32286 * debug/memmove_chk.c: Likewise.
32287 * debug/mempcpy_chk.c: Likewise.
32288 * debug/memset_chk.c: Likewise.
32289 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32290 * debug/strcat_chk.c (__strcat_chk): Likewise.
32291 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
32292 * debug/strncat_chk.c (__strncat_chk): Likewise.
32293 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
32294 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
32295 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
32296 * debug/wcpncpy_chk.c: Likewise.
32297 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32298 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
32299 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
32300 * debug/wcsncpy_chk.c: Likewise.
32301 * debug/wcsnrtombs_chk.c: Likewise.
32302 * debug/wcsrtombs_chk.c: Likewise.
32303 * debug/wcstombs_chk.c: Likewise.
32304 * debug/wmemcpy_chk.c: Likewise.
32305 * debug/wmemmove_chk.c: Likewise.
32306 * debug/wmempcpy_chk.c: Likewise.
32307 * debug/wmemset_chk.c: Likewise.
32308 * dirent/scandirat.c (SCANDIRAT): Likewise.
32309 * dlfcn/dladdr1.c (dladdr1): Likewise.
32310 * dlfcn/dladdr.c (dladdr): Likewise.
32311 * dlfcn/dlclose.c (dlclose_doit): Likewise.
32312 * dlfcn/dlerror.c (__dlerror): Likewise.
32313 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
32314 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
32315 * dlfcn/dlopen.c (dlopen_doit): Likewise.
32316 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
32317 * dlfcn/dlsym.c (dlsym_doit): Likewise.
32318 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
32319 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
32320 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
32321 Likewise.
32322 * elf/dl-conflict.c: Likewise.
32323 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32324 * elf/dl-dst.h: Likewise.
32325 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
32326 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
32327 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32328 * elf/dl-init.c (call_init, _dl_init): Likewise.
32329 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
32330 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
32331 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
32332 Likewise.
32333 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
32334 Likewise.
32335 * elf/dl-minimal.c (__libc_memalign): Likewise.
32336 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
32337 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32338 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
32339 * elf/dl-sym.c (do_sym): Likewise.
32340 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
32341 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
32342 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
32343 * elf/dl-writev.h (_dl_writev): Likewise.
32344 * elf/ldconfig.c (search_dir): Likewise.
32345 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
32346 (dl_main): Likewise.
32347 * elf/setup-vdso.h (setup_vdso): Likewise.
32348 * grp/compat-initgroups.c (compat_call): Likewise.
32349 * grp/fgetgrent.c (fgetgrent): Likewise.
32350 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
32351 * grp/putgrent.c (putgrent): Likewise.
32352 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32353 Likewise.
32354 * hurd/hurdinit.c: Likewise.
32355 * iconvdata/8bit-gap.c (struct): Likewise.
32356 * iconvdata/ansi_x3.110.c : Likewise.
32357 * iconvdata/big5.c : Likewise.
32358 * iconvdata/big5hkscs.c : Likewise.
32359 * iconvdata/cp1255.c: Likewise.
32360 * iconvdata/cp1258.c : Likewise.
32361 * iconvdata/cp932.c : Likewise.
32362 * iconvdata/euc-cn.c: Likewise.
32363 * iconvdata/euc-jisx0213.c : Likewise.
32364 * iconvdata/euc-jp.c: Likewise.
32365 * iconvdata/euc-jp-ms.c : Likewise.
32366 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
32367 * iconvdata/gb18030.c : Likewise.
32368 * iconvdata/gbbig5.c (const): Likewise.
32369 * iconvdata/gbgbk.c: Likewise.
32370 * iconvdata/gbk.c : Likewise.
32371 * iconvdata/ibm1364.c : Likewise.
32372 * iconvdata/ibm930.c : Likewise.
32373 * iconvdata/ibm932.c: Likewise.
32374 * iconvdata/ibm933.c : Likewise.
32375 * iconvdata/ibm935.c : Likewise.
32376 * iconvdata/ibm937.c : Likewise.
32377 * iconvdata/ibm939.c : Likewise.
32378 * iconvdata/ibm943.c: Likewise.
32379 * iconvdata/iso_11548-1.c: Likewise.
32380 * iconvdata/iso-2022-cn.c : Likewise.
32381 * iconvdata/iso-2022-cn-ext.c : Likewise.
32382 * iconvdata/iso-2022-jp-3.c: Likewise.
32383 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
32384 * iconvdata/iso-2022-kr.c : Likewise.
32385 * iconvdata/iso646.c (gconv_end): Likewise.
32386 * iconvdata/iso_6937-2.c : Likewise.
32387 * iconvdata/iso_6937.c : Likewise.
32388 * iconvdata/iso8859-1.c: Likewise.
32389 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
32390 * iconvdata/shift_jisx0213.c : Likewise.
32391 * iconvdata/sjis.c : Likewise.
32392 * iconvdata/t.61.c : Likewise.
32393 * iconvdata/tcvn5712-1.c : Likewise.
32394 * iconvdata/tscii.c: Likewise.
32395 * iconvdata/uhc.c : Likewise.
32396 * iconvdata/unicode.c (gconv_end): Likewise.
32397 * iconvdata/utf-16.c (gconv_end): Likewise.
32398 * iconvdata/utf-32.c (gconv_end): Likewise.
32399 * iconvdata/utf-7.c (base64): Likewise.
32400 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32401 * iconv/gconv_close.c (__gconv_close): Likewise.
32402 * iconv/gconv_open.c (__gconv_open): Likewise.
32403 * iconv/gconv_simple.c (internal_ucs4_loop_single)
32404 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
32405 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
32406 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
32407 (ucs4le_internal_loop_single): Likewise.
32408 * iconv/iconv.c (iconv): Likewise.
32409 * iconv/iconv_close.c: Likewise.
32410 * iconv/loop.c (SINGLE): Likewise.
32411 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
32412 * include/atomic.h: Likewise.
32413 * inet/inet6_option.c (option_alloc): Likewise.
32414 * intl/bindtextdom.c (set_binding_values): Likewise.
32415 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
32416 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
32417 * intl/localealias.c (read_alias_file): Likewise.
32418 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
32419 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
32420 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
32421 * libio/fmemopen.c (fmemopen): Likewise.
32422 * libio/iofgets.c (_IO_fgets): Likewise.
32423 * libio/iofgets_u.c (fgets_unlocked): Likewise.
32424 * libio/iofgetws.c (fgetws): Likewise.
32425 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
32426 * libio/iogetdelim.c (_IO_getdelim): Likewise.
32427 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
32428 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
32429 * locale/findlocale.c (_nl_find_locale): Likewise.
32430 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32431 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
32432 Likewise.
32433 * locale/setlocale.c (setlocale): Likewise.
32434 * login/programs/pt_chown.c (main): Likewise.
32435 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
32436 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
32437 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
32438 (mmap, mmap64, mremap, munmap): Likewise.
32439 * math/e_exp2l.c: Likewise.
32440 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
32441 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
32442 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
32443 * math/s_catan.c (__catan): Likewise.
32444 * math/s_catanf.c (__catanf): Likewise.
32445 * math/s_catanh.c (__catanh): Likewise.
32446 * math/s_catanhf.c (__catanhf): Likewise.
32447 * math/s_catanhl.c (__catanhl): Likewise.
32448 * math/s_catanl.c (__catanl): Likewise.
32449 * math/s_ccosh.c (__ccosh): Likewise.
32450 * math/s_ccoshf.c (__ccoshf): Likewise.
32451 * math/s_ccoshl.c (__ccoshl): Likewise.
32452 * math/s_cexp.c (__cexp): Likewise.
32453 * math/s_cexpf.c (__cexpf): Likewise.
32454 * math/s_cexpl.c (__cexpl): Likewise.
32455 * math/s_clog10.c (__clog10): Likewise.
32456 * math/s_clog10f.c (__clog10f): Likewise.
32457 * math/s_clog10l.c (__clog10l): Likewise.
32458 * math/s_clog.c (__clog): Likewise.
32459 * math/s_clogf.c (__clogf): Likewise.
32460 * math/s_clogl.c (__clogl): Likewise.
32461 * math/s_csin.c (__csin): Likewise.
32462 * math/s_csinf.c (__csinf): Likewise.
32463 * math/s_csinh.c (__csinh): Likewise.
32464 * math/s_csinhf.c (__csinhf): Likewise.
32465 * math/s_csinhl.c (__csinhl): Likewise.
32466 * math/s_csinl.c (__csinl): Likewise.
32467 * math/s_csqrt.c (__csqrt): Likewise.
32468 * math/s_csqrtf.c (__csqrtf): Likewise.
32469 * math/s_csqrtl.c (__csqrtl): Likewise.
32470 * math/s_ctan.c (__ctan): Likewise.
32471 * math/s_ctanf.c (__ctanf): Likewise.
32472 * math/s_ctanh.c (__ctanh): Likewise.
32473 * math/s_ctanhf.c (__ctanhf): Likewise.
32474 * math/s_ctanhl.c (__ctanhl): Likewise.
32475 * math/s_ctanl.c (__ctanl): Likewise.
32476 * math/w_pow.c: Likewise.
32477 * math/w_powf.c: Likewise.
32478 * math/w_powl.c: Likewise.
32479 * math/w_scalb.c (sysv_scalb): Likewise.
32480 * math/w_scalbf.c (sysv_scalbf): Likewise.
32481 * math/w_scalbl.c (sysv_scalbl): Likewise.
32482 * misc/error.c (error_tail): Likewise.
32483 * misc/pselect.c (__pselect): Likewise.
32484 * nis/nis_callback.c (__nis_create_callback): Likewise.
32485 * nis/nis_call.c (__nisfind_server): Likewise.
32486 * nis/nis_creategroup.c (nis_creategroup): Likewise.
32487 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
32488 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
32489 * nis/nis_getservlist.c (nis_getservlist): Likewise.
32490 * nis/nis_lookup.c (nis_lookup): Likewise.
32491 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
32492 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
32493 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
32494 * nis/nis_xdr.c (xdr_endpoint): Likewise.
32495 * nis/nss_compat/compat-grp.c (getgrent_next_file)
32496 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
32497 * nis/nss_compat/compat-initgroups.c (add_group)
32498 (internal_getgrent_r): Likewise.
32499 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
32500 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
32501 * nis/nss_compat/compat-spwd.c (getspent_next_file)
32502 (internal_getspnam_r): Likewise.
32503 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
32504 (_nss_nis_getaliasbyname_r): Likewise.
32505 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
32506 (_nss_nis_getntohost_r): Likewise.
32507 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
32508 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
32509 (_nss_nis_getgrgid_r): Likewise.
32510 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
32511 (internal_nis_gethostent_r, internal_gethostbyname2_r)
32512 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
32513 (_nss_nis_gethostbyname4_r): Likewise.
32514 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
32515 (initgroups_netid): Likewise.
32516 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
32517 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
32518 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
32519 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
32520 (_nss_nis_getprotobynumber_r): Likewise.
32521 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
32522 (_nss_nis_getsecretkey): Likewise.
32523 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
32524 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
32525 (_nss_nis_getpwuid_r): Likewise.
32526 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
32527 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
32528 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
32529 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
32530 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
32531 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
32532 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
32533 Likewise.
32534 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
32535 (_nss_nisplus_getntohost_r): Likewise.
32536 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
32537 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
32538 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
32539 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
32540 Likewise.
32541 * nis/nss_nisplus/nisplus-initgroups.c
32542 (_nss_nisplus_initgroups_dyn): Likewise.
32543 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
32544 (_nss_nisplus_getnetbyaddr_r): Likewise.
32545 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
32546 (_nss_nisplus_getprotobynumber_r): Likewise.
32547 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
32548 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
32549 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
32550 Likewise.
32551 * nis/nss_nisplus/nisplus-service.c
32552 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
32553 (_nss_nisplus_getservbyport_r): Likewise.
32554 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
32555 (_nss_nisplus_getspnam_r): Likewise.
32556 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
32557 Likewise.
32558 * nscd/aicache.c (addhstaiX): Likewise.
32559 * nscd/cache.c (cache_search, prune_cache): Likewise.
32560 * nscd/connections.c (register_traced_file, send_ro_fd)
32561 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
32562 (main_loop_epoll): Likewise.
32563 * nscd/grpcache.c (addgrbyX): Likewise.
32564 * nscd/hstcache.c (addhstbyX): Likewise.
32565 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32566 * nscd/mem.c (gc, mempool_alloc): Likewise.
32567 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
32568 (addinnetgrX): Likewise.
32569 * nscd/nscd-client.h (__nscd_acquire_maplock)
32570 (__nscd_drop_map_ref): Likewise.
32571 * nscd/nscd_getai.c (__nscd_getai): Likewise.
32572 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32573 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
32574 Likewise.
32575 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32576 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32577 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
32578 (__nscd_get_map_ref): Likewise.
32579 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32580 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
32581 Likewise.
32582 * nscd/pwdcache.c (addpwbyX): Likewise.
32583 * nscd/selinux.c (preserve_capabilities): Likewise.
32584 * nscd/servicescache.c (addservbyX): Likewise.
32585 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
32586 * posix/fnmatch.c (fnmatch): Likewise.
32587 * posix/getopt.c (_getopt_internal_r): Likewise.
32588 * posix/glob.c (glob, glob_in_dir): Likewise.
32589 * posix/wordexp.c (exec_comm_child): Likewise.
32590 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
32591 (getanswer_r, gaih_getanswer_slice): Likewise.
32592 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
32593 * resolv/res_init.c: Likewise.
32594 * resolv/res_mkquery.c (res_nmkquery): Likewise.
32595 * resolv/res_query.c (__libc_res_nquery): Likewise.
32596 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
32597 Likewise.
32598 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
32599 * stdio-common/perror.c (perror): Likewise.
32600 * stdio-common/printf_fp.c (___printf_fp): Likewise.
32601 * stdio-common/tmpnam.c (tmpnam): Likewise.
32602 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32603 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
32604 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
32605 Likewise.
32606 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
32607 * stdlib/putenv.c (putenv): Likewise.
32608 * stdlib/setenv.c (__add_to_environ): Likewise.
32609 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32610 * stdlib/strtol_l.c (INTERNAL): Likewise.
32611 * string/memmem.c (memmem): Likewise.
32612 * string/strerror.c (strerror): Likewise.
32613 * string/strnlen.c (__strnlen): Likewise.
32614 * string/test-memmem.c (simple_memmem): Likewise.
32615 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
32616 * sunrpc/pm_getport.c (__get_socket): Likewise.
32617 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
32618 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
32619 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
32620 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
32621 Likewise.
32622 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
32623 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
32624 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32625 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
32626 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32627 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
32628 Likewise.
32629 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
32630 Likewise.
32631 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32632 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32633 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32634 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32635 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
32636 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
32637 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
32638 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
32639 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32640 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
32641 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
32642 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
32643 Likewise.
32644 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
32645 Likewise.
32646 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
32647 Likewise.
32648 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
32649 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32650 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
32651 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
32652 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
32653 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
32654 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32655 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
32656 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
32657 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
32658 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
32659 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32660 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
32661 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
32662 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32663 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32664 Likewise.
32665 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
32666 Likewise.
32667 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
32668 Likewise.
32669 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
32670 Likewise.
32671 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32672 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32673 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
32674 Likewise.
32675 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
32676 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
32677 * sysdeps/posix/opendir.c (__opendirat): Likewise.
32678 * sysdeps/posix/sleep.c: Likewise.
32679 * sysdeps/posix/tempname.c: Likewise.
32680 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
32681 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32682 Likewise.
32683 * sysdeps/powerpc/powerpc32/dl-machine.h
32684 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
32685 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
32686 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32687 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
32688 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
32689 Likewise.
32690 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
32691 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
32692 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
32693 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
32694 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
32695 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
32696 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
32697 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
32698 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32699 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
32700 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
32701 (elf_machine_lazy_rel): Likewise.
32702 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32703 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
32704 (elf_machine_lazy_rel): Likewise.
32705 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
32706 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
32707 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
32708 * sysdeps/unix/grantpt.c (grantpt): Likewise.
32709 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
32710 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
32711 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32712 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32713 Likewise.
32714 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
32715 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
32716 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
32717 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
32718 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32719 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32720 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
32721 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
32722 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
32723 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32724 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32725 Likewise.
32726 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
32727 (__posix_fallocate64_l64): Likewise.
32728 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
32729 (posix_fallocate): Likewise.
32730 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
32731 Likewise.
32732 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32733 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
32734 (getifaddrs_internal): Likewise.
32735 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
32736 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
32737 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
32738 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
32739 * sysdeps/unix/sysv/linux/posix_fallocate64.c
32740 (__posix_fallocate64_l64): Likewise.
32741 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
32742 Likewise.
32743 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
32744 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
32745 (__get_clockfreq): Likewise.
32746 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
32747 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
32748 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
32749 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32750 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32751 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
32752 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
32753 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
32754 Likewise.
32755 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
32756 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
32757 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
32758 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
32759 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32760 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
32761 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
32762 Likewise.
32763 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32764 (posix_fallocate): Likewise.
32765 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32766 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
32767 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
32768 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
32769 (elf_machine_rela, elf_machine_rela_relative)
32770 (elf_machine_lazy_rel): Likewise.
32771 * time/asctime.c (asctime_internal): Likewise.
32772 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
32773 * time/tzset.c (__tzset_parse_tz): Likewise.
32774 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32775 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
32776 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
32777 * wcsmbs/wcsmbsload.h: Likewise.
32778
32779 [BZ #15894]
32780 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
32781
32782 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
32783 (arena_get2): Remove THREAD_STATS conditionals.
32784 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
32785 (__malloc_stats, int): Likewise.
32786
32787 2014-02-08 Mike Frysinger <vapier@gentoo.org>
32788
32789 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
32790 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
32791
32792 * manual/setjmp.texi: Fix typos/grammar errors.
32793
32794 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
32795 Only return early when n is <= 0. Delete unused return statement.
32796
32797 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
32798 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
32799 * debug/tst-longjmp_chk3.c: New file.
32800
32801 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
32802 (test_main): Replace code with set_fortify_handler call.
32803 * debug/test-strcpy_chk.c: Likewise.
32804 * debug/tst-chk1.c: Likewise.
32805 * debug/tst-longjmp_chk.c: Likewise.
32806 * test-skeleton.c: Include fcntl.h & paths.h
32807 (set_fortify_handler): Define.
32808
32809 * debug/tst-longjmp_chk.c: Add header comment and include
32810 ../test-skeleton.c.
32811 (do_test): Mark static.
32812 (TEST_FUNCTION): Define.
32813
32814 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
32815 (IP_PMTUDISC_INTERFACE): Likewise.
32816 (IP_MULTICAST_IF): Likewise.
32817 (IP_MULTICAST_TTL): Likewise.
32818 (IP_MULTICAST_LOOP): Likewise.
32819 (IP_ADD_MEMBERSHIP): Likewise.
32820 (IP_DROP_MEMBERSHIP): Likewise.
32821 (IP_UNBLOCK_SOURCE): Likewise.
32822 (IP_BLOCK_SOURCE): Likewise.
32823 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
32824 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
32825 (IP_MSFILTER): Likewise.
32826 (MCAST_JOIN_GROUP): Likewise.
32827 (MCAST_BLOCK_SOURCE): Likewise.
32828 (MCAST_UNBLOCK_SOURCE): Likewise.
32829 (MCAST_LEAVE_GROUP): Likewise.
32830 (MCAST_JOIN_SOURCE_GROUP): Likewise.
32831 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
32832 (MCAST_MSFILTER): Likewise.
32833 (IP_MULTICAST_ALL): Likewise.
32834 (IP_UNICAST_IF): Likewise.
32835
32836 * timezone/Makefile: Delete $(have-ksh) check.
32837 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
32838 * timezone/tzselect.ksh: Add +x mode bits.
32839
32840 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
32841 (ANON_INODE_FS_MAGIC): Likewise.
32842 (BDEVFS_MAGIC): Likewise.
32843 (BINFMTFS_MAGIC): Likewise.
32844 (BTRFS_TEST_MAGIC): Likewise.
32845 (CRAMFS_MAGIC_WEND): Likewise.
32846 (DEBUGFS_MAGIC): Likewise.
32847 (ECRYPTFS_SUPER_MAGIC): Likewise.
32848 (EXT3_SUPER_MAGIC): Likewise.
32849 (EXT4_SUPER_MAGIC): Likewise.
32850 (FUTEXFS_SUPER_MAGIC): Likewise.
32851 (HOSTFS_SUPER_MAGIC): Likewise.
32852 (HUGETLBFS_MAGIC): Likewise.
32853 (MINIX3_SUPER_MAGIC): Likewise.
32854 (MTD_INODE_FS_MAGIC): Likewise.
32855 (NILFS_SUPER_MAGIC): Likewise.
32856 (OPENPROM_SUPER_MAGIC): Likewise.
32857 (PIPEFS_MAGIC): Likewise.
32858 (PSTOREFS_MAGIC): Likewise.
32859 (QNX6_SUPER_MAGIC): Likewise.
32860 (RAMFS_MAGIC): Likewise.
32861 (REISERFS_SUPER_MAGIC_STRING): Likewise.
32862 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
32863 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
32864 (SECURITYFS_MAGIC): Likewise.
32865 (SELINUX_MAGIC): Likewise.
32866 (SMACK_MAGIC): Likewise.
32867 (SOCKFS_MAGIC): Likewise.
32868 (SQUASHFS_MAGIC): Likewise.
32869 (STACK_END_MAGIC): Likewise.
32870 (TMPFS_MAGIC): Likewise.
32871 (USBDEVICE_SUPER_MAGIC): Likewise.
32872 (V9FS_MAGIC): Likewise.
32873 (XENFS_SUPER_MAGIC): Likewise.
32874 (CRAMFS_MAGIC): Fix typo in comment.
32875 (EXT2_SUPER_MAGIC): Update comment.
32876 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
32877
32878 2014-02-08 Joseph Myers <joseph@codesourcery.com>
32879
32880 * sysdeps/arm: Move directory from ports/sysdeps/arm.
32881 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
32882 * sysdeps/unix/sysv/linux/arm: Move directory from
32883 ports/sysdeps/unix/sysv/linux/arm.
32884 * README: Update listing for arm-*-linux-gnueabi.
32885
32886 * README: Remove mention of am33.
32887
32888 2014-02-07 Roland McGrath <roland@hack.frob.com>
32889
32890 * bits/sigset.h (__sigemptyset): Use a statement expression rather
32891 than the comma operator, to avoid "rhs of comma has no effect"
32892 compiler warnings.
32893 (__sigfillset, __sigandset, __sigorset): Likewise.
32894 * include/signal.h (__sigemptyset): Likewise.
32895 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
32896
32897 2014-02-07 Allan McRae <allan@archlinux.org>
32898
32899 * version.h (RELEASE): Set to "development".
32900 (VERSION): Set to "2.19.90"
32901 * NEWS: Add 2.20 section.
32902
32903 2014-02-06 Carlos O'Donell <carlos@redhat.com>
32904
32905 [BZ #16529]
32906 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
32907
32908 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32909
32910 * manual/contrib.texi: Update entry for Carlos O'Donell,
32911 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
32912
32913 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
32914
32915 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
32916
32917 * sysdeps/unix/sysv/linux/kernel-features.h
32918 [__LINUX_KERNEL_VERSION >= 0x020621]
32919 (__ASSUME_PROC_PID_TASK_COMM): Define.
32920
32921 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32922
32923 [BZ #16398]
32924 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
32925 conversion when destination buffer does not have enough space.
32926 * libio/tst-ftell-partial-wide.c: New test case.
32927 * libio/Makefile (tests): Add tst-ftell-partial-wide.
32928
32929 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
32930 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
32931 Leonard and Allan McRae.
32932
32933 2014-02-04 David S. Miller <davem@davemloft.net>
32934
32935 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
32936 32-bit.
32937
32938 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32939
32940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
32941 New file
32942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
32943 New file
32944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
32945 New file.
32946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
32947 New file.
32948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
32949 New file.
32950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
32951 New file.
32952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
32953 New file.
32954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
32955 New file.
32956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
32957 New file.
32958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
32959 New file.
32960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
32961 New file.
32962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
32963 New file.
32964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
32965 New file.
32966
32967 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32968
32969 * nptl/shlib-versions: Change powerpc*le start to 2.17.
32970 * shlib-versions: Likewise.
32971
32972 2014-02-04 Roland McGrath <roland@hack.frob.com>
32973 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32974
32975 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
32976 (abilist-pattern): New variable, set to %-le.abilist.
32977
32978 * Makerules (abilist-pattern): New variable.
32979 (vpath): Use $(abilist-pattern) in place of %.abilist.
32980 (check-abi-% pattern rule): Likewise.
32981 (check-abi, update-abi): Likewise.
32982
32983 2014-02-04 Eric Wong <normalperson@yhbt.net>
32984
32985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32986
32987 2014-02-03 Carlos O'Donell <carlos@redhat.com>
32988
32989 * manual/startup.texi: Add next, previous, and top entries for
32990 the `Program Arguments' and `Environment Variables' nodes.
32991
32992 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
32993
32994 * manual/macros.texi: Add comments before MTASC-safety macros.
32995
32996 * manual/users.texi: Document MTASC-safety properties.
32997
32998 * manual/threads.texi (pthread_key_create, pthread_key_delete)
32999 (pthread_getspecific, pthread_setspecific): Format with
33000 @deftypefun, and add @safety note.
33001 * manual/signal.texi: Move comments that analyze the above
33002 functions to their home place.
33003
33004 2014-02-03 Allan McRae <allan@archlinux.org>
33005
33006 * po/sl.po: Update Slovenian translation from translation project.
33007
33008 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
33009
33010 * manual/time.texi (timegm): Add missing blank after @c.
33011 Reported by Joseph Myers <joseph@codesourcery.com>.
33012
33013 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
33014
33015 * manual/check-safety.sh: New.
33016 * manual/Makefile ($(objpfx)stamp-summary): Run it.
33017
33018 * manual/terminal.texi: Document MTASC-safety properties.
33019
33020 * manual/filesys.texi: Document MTASC-safety properties.
33021
33022 * manual/errno.texi: Document MTASC-safety properties.
33023
33024 * manual/intro.texi: Document safety identifiers and
33025 conditionals.
33026
33027 * manual/string.texi (wcstok): Fix prototype.
33028 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
33029
33030 * manual/time.texi: Document MTASC-safety properties.
33031
33032 * manual/string.texi: Document MTASC-safety properties.
33033
33034 * manual/threads.texi: Document MTASC-safety properties.
33035
33036 * manual/stdio.texi: Document MTASC-safety properties.
33037
33038 * manual/syslog.texi: Document MTASC-safety properties.
33039
33040 * manual/sysinfo.texi: Document MTASC-safety properties.
33041
33042 * manual/startup.texi: Document MTASC-safety properties.
33043
33044 * manual/socket.texi: Document MTASC-safety properties.
33045
33046 * manual/signal.texi: Document MTASC-safety properties.
33047
33048 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
33049
33050 * manual/setjmp.texi: Document MTASC-safety properties.
33051
33052 * manual/search.texi: Document MTASC-safety properties.
33053
33054 * manual/resource.texi: Document MTASC-safety properties.
33055
33056 * manual/process.texi: Document MTASC-safety properties.
33057
33058 * manual/platform.texi: Document MTASC-safety properties.
33059
33060 * manual/pipe.texi: Document MTASC-safety properties.
33061
33062 * manual/pattern.texi: Document MTASC-safety properties.
33063
33064 * manual/message.texi: Document MTASC-safety properties.
33065
33066 [BZ #12751]
33067 * manual/memory.texi: Document MTASC-safety properties.
33068
33069 * manual/math.texi: Document MTASC-safety properties.
33070
33071 * manual/locale.texi: Document MTASC-safety properties.
33072
33073 * manual/llio.texi: Document MTASC-safety properties.
33074
33075 * manual/libdl.texi: New.
33076
33077 * manual/lang.texi: Document MTASC-safety properties.
33078
33079 * manual/job.texi: Document MTASC-safety properties.
33080
33081 * manual/getopt.texi: Document MTASC-safety properties.
33082
33083 * manual/ctype.texi: Document MTASC-safety properties.
33084
33085 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
33086
33087 [BZ #16046]
33088 * csu/libc-tls.c (static_map): Remove variable.
33089 (__libc_setup_tls): Use main executable's link map for TLS data.
33090 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
33091 casing for LM_ID_BASE and GL(dl_nns).
33092 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
33093 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
33094 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
33095 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
33096 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
33097 member.
33098 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
33099 l_phnum members.
33100
33101 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
33102
33103 * manual/debug.texi: Document MTASC-safety properties.
33104
33105 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
33106
33107 [BZ #16510]
33108 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
33109 of __x86_64__ when disabling x87 inline functions.
33110
33111 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
33112
33113 * manual/charset.texi: Document MTASC-safety properties.
33114
33115 * manual/crypt.texi: Document MTASC-safety properties.
33116
33117 * manual/conf.texi: Document MTASC-safety properties.
33118
33119 * manual/arith.texi: Document MTASC-safety properties.
33120
33121 * manual/argp.texi: Document MTASC-safety properties.
33122
33123 * manual/macros.texi: Introduce macros to document multi
33124 thread, asynchronous signal and asynchronous cancellation
33125 safety properties.
33126 * manual/intro.texi: Introduce the properties themselves.
33127
33128 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33129
33130 * sysdeps/sh/sh4/Makefile: New file.
33131
33132 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
33133
33134 * math/gen-libm-test.pl ($srcdir): New variable.
33135 ($auto_input): Use it.
33136
33137 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33138
33139 [BZ #16506]
33140 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
33141 access beyond array bounds when parsing netgroups file.
33142
33143 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
33144 the old buffer before realloc.
33145
33146 2014-01-27 Allan McRae <allan@archlinux.org>
33147
33148 * po/fr.po: Update French translation from translation project.
33149
33150 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33151
33152 * sysdeps/sh/libm-test-ulps: Regenerate.
33153
33154 2014-01-24 David S. Miller <davem@davemloft.net>
33155
33156 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
33157
33158 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33159
33160 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
33161 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
33162
33163 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33164
33165 [BZ #16474]
33166 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
33167 string pointers after reallocation.
33168
33169 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33170
33171 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
33172 __SH4A__ instead of __SH_FPU_ANY__.
33173
33174 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33175
33176 * sysdeps/sh/fpu_control.h: New file.
33177 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
33178 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
33179 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
33180 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
33181 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
33182 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
33183 * sysdeps/sh/sys/ucontext.h: Remove.
33184 * sysdeps/sh/sys: Remove directory.
33185
33186 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33187
33188 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
33189 s390/sys/ucontext.h.
33190 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
33191 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
33192
33193 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
33194
33195 [BZ #15605]
33196 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
33197
33198 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33199
33200 [BZ#16431]
33201 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33202 Adjust the vDSO correctly for internal calls.
33203 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
33204
33205 2014-01-20 Allan McRae <allan@archlinux.org>
33206
33207 * po/ca.po: Update Catalan translation from translation project.
33208
33209 2014-01-16 Mike Frysinger <vapier@gentoo.org>
33210
33211 * sysdeps/s390/sotruss-lib.c: New file.
33212
33213 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33214
33215 [BZ#16430]
33216 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
33217 (__GI___gettimeofday): Alias for a different internal symbol to avoid
33218 local calls issues by not having a PLT stub required for IFUNC calls.
33219 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
33220
33221 2014-01-16 Joseph Myers <joseph@codesourcery.com>
33222
33223 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
33224 * math/test-fpucw-static.c: Likewise.
33225
33226 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33227
33228 [BZ #16453]
33229 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
33230
33231 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33232
33233 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
33234 implementation for powerpc.
33235
33236 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
33237
33238 [BZ #14782]
33239 * sysdeps/posix/system.c (__libc_system): Do not enable
33240 asynchronous cancellation.
33241
33242 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33243
33244 [BZ #16427]
33245 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
33246 handling only for numbers special also in the IEEE case.
33247
33248 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33249
33250 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33251
33252 2014-01-11 Allan McRae <allan@archlinux.org>
33253
33254 * po/bg.po: Update Bulgarian translation from translation project.
33255
33256 * po/de.po: Update German translation from translation project.
33257
33258 2014-01-10 Roland McGrath <roland@hack.frob.com>
33259
33260 * sysdeps/generic/gcc-compat.h: New file.
33261
33262 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33263
33264 * benchtests/asin-inputs: Correct slow inputs.
33265 * benchtests/acos-inputs: Likewise.
33266
33267 2014-01-10 Allan McRae <allan@archlinux.org>
33268
33269 * po:sv.po: Update Swedish translation from translation project.
33270
33271 * po/vi.po: Update Vietnamese translation from translation project.
33272
33273 * po/eo.po: Update Esperanto translation from translation project.
33274
33275 * po/cs.po: Update Czech translation from translation project.
33276
33277 * po/nl.po: Update Dutch translation from translation project.
33278
33279 * po/pl.po: Update Polish translation from translation project.
33280
33281 * po/ru.po: Update Russian translation from translation project.
33282
33283 * po/uk.po: Update Ukrainian translation from translation project.
33284
33285 2014-01-08 Brooks Moses <bmoses@google.com>
33286
33287 * elf/dl-load.c: Fix comment typo.
33288
33289 2014-01-08 Carlos O'Donell <carlos@redhat.com>
33290
33291 * po/header.pot: Rename to...
33292 * po/pot.header: ... this.
33293 * po/Makefile: Use pot.header.
33294
33295 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
33296 Maxim Kuvyrkov <maxim@kugelworks.com>
33297
33298 [BZ #16394]
33299 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
33300 SRC and DEST against LEN.
33301
33302 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33303
33304 [BZ #16414]
33305 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
33306 implementation.
33307 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
33308
33309 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33310
33311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33312
33313 2014-01-08 Joseph Myers <joseph@codesourcery.com>
33314
33315 [BZ #16408]
33316 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
33317 for large positive arguments.
33318
33319 2014-01-07 Joseph Myers <joseph@codesourcery.com>
33320
33321 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33322
33323 * math/auto-libm-test-in: Mark various tests with
33324 xfail-rounding:ldbl-128ibm.
33325 * math/auto-libm-test-out: Regenerated.
33326
33327 [BZ #16407]
33328 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33329 Increase overflow threshold.
33330
33331 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
33332
33333 [BZ #14286]
33334 * stdio-common/vfprintf.c: Check for integer overflow.
33335
33336 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33337
33338 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
33339 the first argument and return value of __tls_get_addr_internal.
33340
33341 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33342
33343 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
33344 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
33345
33346 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33347
33348 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
33349 * sysdeps/s390/rtld-global-offsets.sym: New file.
33350 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
33351 GLIBC_2.19 symbol.
33352 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
33353 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
33354 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33355 ... this.
33356 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
33357 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
33358 ... this.
33359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33360 Regenerate.
33361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33362 Regenerate.
33363 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
33364 halfs of GPRs for high_gprs contexts.
33365 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
33366 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
33367 field.
33368 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
33369 uc_flags field.
33370 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
33371 64 bit versions:
33372 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
33373 for high GPRs (uc_high_gprs) and for future extensions
33374 (__reserved).
33375 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
33376 for future extensions (__reserved).
33377 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
33378 64 bit versions:
33379 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
33380 SC_HIGHGPRS offset definition.
33381 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
33382 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
33383
33384 * Versions.def: Add GLIBC_2.19 for libpthread.
33385 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
33386 siglongjmp for libpthread with GLIBC_2.19 symver.
33387 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
33388 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
33389 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
33390 * sysdeps/s390/__longjmp.c: New file.
33391 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
33392 * sysdeps/s390/longjmp.c: New file.
33393 * sysdeps/s390/setjmp.S: New file.
33394 * sysdeps/s390/sigjmp.S: New file.
33395 * sysdeps/s390/v1-longjmp.c: New file.
33396 * sysdeps/s390/v1-setjmp.h: New file.
33397 * sysdeps/s390/v1-sigjmp.c: New file.
33398 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
33399 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
33400 GLIBC_2.19 version.
33401 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
33402 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
33403 versioned symbols for ____longjmp_chk.
33404 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
33405 Likewise.
33406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33407 Regenerate.
33408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33409 Regenerate.
33410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33411 Regenerate.
33412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33413 Regenerate.
33414 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
33415 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
33416 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
33417 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
33418 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
33419 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
33420 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
33421 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
33422 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
33423 * sysdeps/s390/rtld-__longjmp.c: New file.
33424 * sysdeps/s390/rtld-setjmp.S: New file.
33425
33426 2014-01-06 Joseph Myers <joseph@codesourcery.com>
33427
33428 [BZ #16400]
33429 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33430 Return -__logl (x) for small positive arguments without evaluating
33431 a polynomial.
33432
33433 2014-01-06 Mike Frysinger <vapier@gentoo.org>
33434
33435 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
33436 Rename to ...
33437 (__ptrace_peeksiginfo_args): ... this.
33438 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33439 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33440 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33441
33442 2014-01-06 Allan McRae <allan@archlinux.org>
33443
33444 * inet/netinet/in.h: Fix typo in comment.
33445
33446 2014-01-05 Andreas Jaeger <aj@suse.de>
33447
33448 * sysdeps/i386/fpu/libm-test-ulps: Update.
33449
33450 2014-01-05 Allan McRae <allan@archlinux.org>
33451
33452 * po/libc.pot: Regenerated.
33453
33454 * malloc/memusagestat.c: Fix gettext call formatting.
33455
33456 2014-01-04 Sami Kerola <kerolasa@iki.fi>
33457
33458 * nscd/nscd.c: Improve usage() output.
33459
33460 2014-01-04 Mike Frysinger <vapier@gentoo.org>
33461
33462 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
33463 * sysdeps/unix/sysv/linux/configure: Regenerated.
33464 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
33465 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
33466
33467 2014-01-03 Joseph Myers <joseph@codesourcery.com>
33468
33469 [BZ #16390]
33470 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
33471 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
33472
33473 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33474
33475 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
33476 extra tokens at end of #undef directive.
33477 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
33478 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
33479 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
33480
33481 2014-01-03 Joseph Myers <joseph@codesourcery.com>
33482
33483 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33484
33485 * math/auto-libm-test-in: Mark various tests with
33486 xfail-rounding:ldbl-128ibm.
33487 * math/auto-libm-test-out: Regenerated.
33488
33489 2014-01-02 Joseph Myers <joseph@codesourcery.com>
33490
33491 [BZ #16386]
33492 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
33493 numbers with subnormal high part when calculating exponent.
33494
33495 [BZ #16385]
33496 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
33497 fabs.
33498
33499 [BZ #16384]
33500 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
33501 M_LN2l.
33502 (__ieee754_acoshl): Use __log1pl not __log1p.
33503
33504 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
33505
33506 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
33507 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
33508 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
33509 (grow_heap, heap_trim, _int_new_arena, get_free_list)
33510 (reused_arena, arena_get2): Convert to GNU style.
33511 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
33512 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
33513 (memalign_check, __malloc_set_state): Likewise.
33514 * malloc/mallocbug.c (main): Likewise.
33515 * malloc/malloc.c (__malloc_assert, malloc_init_state)
33516 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
33517 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
33518 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
33519 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
33520 (__posix_memalign, malloc_info): Likewise.
33521 * malloc/malloc.h: Likewise.
33522 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
33523 (mallochook, memalignhook, reallochook, mabort): Likewise.
33524 * malloc/mcheck.h: Likewise.
33525 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
33526 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
33527 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
33528 * malloc/morecore.c (__default_morecore): Likewise.
33529 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
33530 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
33531 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
33532 (print_and_abort): Likewise.
33533 * malloc/obstack.h: Likewise.
33534 * malloc/set-freeres.c (__libc_freeres): Likewise.
33535 * malloc/tst-mallocstate.c (main): Likewise.
33536 * malloc/tst-mtrace.c (main): Likewise.
33537 * malloc/tst-realloc.c (do_test): Likewise.
33538
33539 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33540
33541 [BZ #16366]
33542 * nscd/netgroupcache.c (do_notfound): New function.
33543 (addgetnetgrentX): Use it.
33544
33545 [BZ # 16365]
33546 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
33547 NSS_STATUS_NOTFOUND.
33548
33549 2014-01-01 Joseph Myers <joseph@codesourcery.com>
33550
33551 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33553
33554 2014-01-01 Allan McRae <allan@archlinux.org>
33555
33556 * scripts/update-copyrights: Update configure input file suffix.
33557
33558 * NEWS: Update copyright year.
33559 * catgets/gencat.c: Likewise.
33560 * csu/version.c: Likewise.
33561 * debug/catchsegv.sh: Likewise.
33562 * debug/pcprofiledump.c: Likewise.
33563 * debug/xtrace.sh: Likewise.
33564 * elf/ldconfig.c: Likewise.
33565 * elf/ldd.bash.in: Likewise.
33566 * elf/pldd.c: Likewise.
33567 * elf/sotruss.ksh: Likewise.
33568 * elf/sprof.c: Likewise.
33569 * iconv/iconv_prog.c: Likewise.
33570 * iconv/iconvconfig.c: Likewise.
33571 * locale/programs/locale.c: Likewise.
33572 * locale/programs/localedef.c: Likewise.
33573 * login/programs/pt_chown.c: Likewise.
33574 * malloc/memusage.sh: Likewise.
33575 * malloc/memusagestat.c: Likewise.
33576 * malloc/mtrace.pl: Likewise.
33577 * manual/libc.texinfo: Likewise.
33578 * nscd/nscd.c: Likewise.
33579 * nss/getent.c: Likewise.
33580 * nss/makedb.c: Likewise.
33581 * posix/getconf.c: Likewise.
33582 * scripts/test-installation.pl: Likewise.
33583
33584 * All files with FSF copyright notices: Update copyright dates
33585 using scripts/update-copyrights.
33586 * intl/plural.c: Regenerated.
33587 * locale/programs/charmap-kw.h: Likewise.
33588 * locale/programs/locfile-kw.h: Likewise.
33589
33590 2013-12-31 Mike Frysinger <vapier@gentoo.org>
33591
33592 * sysdeps/unix/sysv/linux/configure: Regenerated.
33593 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
33594 the linux/fanotify.h header.
33595 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
33596 HAVE_LINUX_FANOTIFY_H is defined.
33597
33598 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33599
33600 * benchtests/cos-inputs: New inputs.
33601 * benchtests/sin-inputs: Likewise.
33602
33603 * benchtests/atan-inputs: New inputs. Fix name of multiple
33604 precision fallback inputs.
33605
33606 * benchtests/atanh-inputs: New inputs.
33607 * benchtests/tanh-inputs: Likewise.
33608
33609 * benchtests/acosh-inputs: New inputs.
33610 * benchtests/asinh-inputs: Likewise.
33611
33612 * benchtests/cosh-inputs: New inputs.
33613 * benchtests/sinh-inputs: Likewise.
33614
33615 * benchtests/acos-inputs: Add more inputs.
33616 * benchtests/asin-inputs: Likewise.
33617
33618 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
33619
33620 [BZ #16375]
33621 * manual/arith.texi: Fix spelling.
33622 * manual/charset.texi: Likewise.
33623 * manual/errno.texi: Likewise.
33624 * manual/filesys.texi: Likewise.
33625 * manual/lang.texi: Likewise.
33626 * manual/llio.texi: Likewise.
33627 * manual/locale.texi: Likewise.
33628 * manual/message.texi: Likewise.
33629 * manual/resource.texi: Likewise.
33630 * manual/search.texi: Likewise.
33631 * manual/setjmp.texi: Likewise.
33632 * manual/stdio.texi: Likewise.
33633 * manual/string.texi: Likewise.
33634 * manual/sysinfo.texi: Likewise.
33635 * manual/time.texi: Likewise.
33636
33637 2013-12-27 Carlos O'Donell <carlos@redhat.com>
33638
33639 * po/sl.po: New file.
33640
33641 2013-12-27 Mike Frysinger <vapier@gentoo.org>
33642
33643 * .gitignore: Add core/.gdbinit/.gdb_history.
33644
33645 2013-12-27 Allan McRae <allan@archlinux.org>
33646
33647 [BZ #16369]
33648 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
33649 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
33650
33651 2013-12-24 Brooks Moses <bmoses@google.com>
33652
33653 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
33654 all compilers that claim C++98 compliance, not just GCC.
33655 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
33656 Likewise.
33657
33658 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
33659
33660 * NEWS: Restore accidentally deleted bug-fix entries.
33661
33662 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
33663 Ondřej Bílka <neleai@seznam.cz>
33664
33665 [BZ #15073]
33666 * malloc/malloc.c (_int_free): Perform sanity check only if we
33667 have_lock.
33668
33669 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
33670
33671 [BZ #12986]
33672 * manual/stdio.texi (String Input Conversions): Clarify that character
33673 classes are not supported.
33674
33675 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33676
33677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33678
33679 2013-12-22 Joseph Myers <joseph@codesourcery.com>
33680
33681 [BZ #16337]
33682 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33683 Calculate results for small negative arguments directly rather
33684 than using reflection formula with special underflow handling.
33685
33686 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
33687 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
33688 sysdeps/unix/bsd/bsd4.4/syscalls.list.
33689 (fchflags): Likewise.
33690 (revoke): Likewise.
33691 (setlogin): Likewise.
33692 (sigaltstack): Likewise.
33693 (wait4): Likewise.
33694 (sigblock): Remove.
33695 (sigsetmask): Likewise.
33696 (wait3): Likewise.
33697 (waitpid): Likewise.
33698 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
33699 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
33700 file.
33701 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
33702 * sysdeps/unix/bsd/Makefile: ... here.
33703 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
33704 * sysdeps/unix/bsd/Versions: ... here.
33705 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
33706 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
33707 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
33708 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
33709 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
33710 * sysdeps/unix/bsd/sigblock.c: ... here.
33711 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
33712 * sysdeps/unix/bsd/sigsetmask.c: ... here.
33713 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
33714 * sysdeps/unix/bsd/sigvec.c: ... here.
33715 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
33716 * sysdeps/unix/bsd/tcdrain.c: ... here.
33717 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
33718 * sysdeps/unix/bsd/tcgetattr.c: ... here.
33719 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
33720 * sysdeps/unix/bsd/tcsetattr.c: ... here.
33721 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
33722 * sysdeps/unix/bsd/wait.c: ... here.
33723 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
33724 * sysdeps/unix/bsd/wait3.c: ... here.
33725 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
33726 * sysdeps/unix/bsd/waitpid.c: ... here.
33727
33728 2013-12-21 Joseph Myers <joseph@codesourcery.com>
33729
33730 [BZ #16356]
33731 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
33732 round-to-nearest for [!USE_AS_EXPM1L].
33733 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
33734 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
33735 more tests of exp and exp10. Expect some exp10 tests to miss
33736 exceptions or fail in directed rounding modes.
33737 * math/auto-libm-test-out: Regenerated.
33738 * math/libm-test.inc (exp10_tonearest_test_data): New array.
33739 (exp10_test_tonearest): New function.
33740 (exp10_towardzero_test_data): New array.
33741 (exp10_test_towardzero): New function.
33742 (exp10_downward_test_data): New array.
33743 (exp10_test_downward): New function.
33744 (exp10_upward_test_data): New array.
33745 (exp10_test_upward): New function.
33746 (main): Call the new functions.
33747 * sysdeps/i386/fpu/libm-test-ulps: Update.
33748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33749
33750 2013-12-20 Joseph Myers <joseph@codesourcery.com>
33751
33752 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
33753 asinh, atan, atan2, atanh, cbrt, cos and cosh.
33754 * math/auto-libm-test-out: Regenerated.
33755 * math/libm-test.inc (acosh_test_data): Add more tests.
33756 (atanh_test_data): Likewise.
33757 (ceil_test_data): Likewise.
33758 (copysign_test_data): Likewise.
33759 * sysdeps/i386/fpu/libm-test-ulps: Update.
33760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33761
33762 * timezone/checktab.awk: Update from tzcode 2013i.
33763 * timezone/private.h: Likewise.
33764 * timezone/scheck.c: Likewise.
33765 * timezone/tzfile.h: Likewise.
33766 * timezone/tzselect.ksh: Likewise.
33767 * timezone/zdump.c: Likewise.
33768 * timezone/zic.c: Likewise.
33769
33770 * math/auto-libm-test-in: Add tests of cpow.
33771 * math/auto-libm-test-out: Regenerated.
33772 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
33773 * math/gen-auto-libm-tests.c (func_calc_method): Add value
33774 mpc_cc_c.
33775 (func_calc_desc): Add mpc_cc_c union field.
33776 (test_functions): Add cpow.
33777 (special_fill_2pi): New function.
33778 (special_real_inputs): Add 2pi.
33779 (calc_generic_results): Handle mpc_cc_c.
33780 * sysdeps/i386/fpu/libm-test-ulps: Update.
33781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33782
33783 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
33784 csqrt, ctan and ctanh.
33785 * math/auto-libm-test-out: Regenerated.
33786 * math/libm-test.inc (TEST_COND_x86_64): New macro.
33787 (TEST_COND_x86): Likewise.
33788 (ccos_test_data): Use AUTO_TESTS_c_c.
33789 (ccosh_test_data): Likewise.
33790 (cexp_test_data): Likewise.
33791 (clog_test_data): Likewise.
33792 (csqrt_test_data): Likewise.
33793 (ctan_test_data): Likewise.
33794 (ctan_tonearest_test_data): Likewise.
33795 (ctan_towardzero_test_data): Likewise.
33796 (ctan_downward_test_data): Likewise.
33797 (ctan_upward_test_data): Likewise.
33798 (ctanh_test_data): Likewise.
33799 (ctanh_tonearest_test_data): Likewise.
33800 (ctanh_towardzero_test_data): Likewise.
33801 (ctanh_downward_test_data): Likewise.
33802 (ctanh_upward_test_data): Likewise.
33803 * math/gen-auto-libm-tests.c (func_calc_method): Add value
33804 mpc_c_c.
33805 (func_calc_desc): Add mpc_c_c union field.
33806 (FUNC_mpc_c_c): New macro.
33807 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
33808 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
33809 ctanh.
33810 (special_fill_min_subnorm_p120): New function.
33811 (special_real_inputs): Add min_subnorm_p120.
33812 (calc_generic_results): Handle mpc_c_c.
33813 * sysdeps/i386/fpu/libm-test-ulps: Update.
33814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33815
33816 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33817
33818 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
33819 (do_sin_slow): New functions.
33820 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
33821 (cslow2, csloww1, csloww2): Use the new functions.
33822
33823 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
33824 Use M to change sign of result instead of X. Assume X is
33825 positive.
33826 (csloww1): Likewise.
33827 (__sin): Adjust.
33828 (__cos): Adjust.
33829
33830 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
33831 arguments A and DA.
33832 (__sin): Adjust.
33833 (__cos): Likewise.
33834
33835 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
33836 (__cos): Likewise.
33837 (sloww1): Don't adjust sign of DX.
33838 (csloww1): Likewise.
33839 (sloww2): Use X directly and don't adjust sign of DX.
33840 (csloww2): Likewise.
33841
33842 2013-12-19 Joseph Myers <joseph@codesourcery.com>
33843
33844 * math/auto-libm-test-in: Add tests of cabs and carg.
33845 * math/auto-libm-test-out: Regenerated.
33846 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
33847 (carg_test_data): Likewise.
33848 * math/gen-auto-libm-tests.c (func_calc_method): Add value
33849 mpc_c_f.
33850 (func_calc_desc): Add mpc_c_f union field.
33851 (test_functions): Add cabs and carg.
33852 (calc_generic_results): Handle mpc_c_f.
33853
33854 * sysdeps/powerpc/powerpc32/libgcc-compat.S
33855 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
33856 as a macro and a compat symbol.
33857 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
33858 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
33859 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
33860 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
33861 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
33862 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
33863 not use .hidden.
33864 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
33865 Likewise.
33866 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
33867 Likewise.
33868 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
33869 Likewise.
33870 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
33871 Likewise.
33872 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
33873 Likewise.
33874 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
33875 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
33876 from GLIBC_2.3.2.
33877
33878 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33879
33880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33881
33882 2013-12-19 Joseph Myers <joseph@codesourcery.com>
33883
33884 * manual/texinfo.tex: Update to version 2013-11-26.10 with
33885 trailing whitespace removed.
33886 * scripts/config.guess: Update to version 2013-11-29.
33887 * scripts/config.sub: Update to version 2013-10-01.
33888
33889 * math/auto-libm-test-in: Add tests of sincos.
33890 * math/auto-libm-test-out: Regenerated.
33891 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
33892 * math/gen-auto-libm-tests.c (func_calc_method): Add value
33893 mpfr_f_11.
33894 (func_calc_desc): Add mpfr_f_11 union field.
33895 (test_functions): Add sincos.
33896 (calc_generic_results): Handle mpfr_f_11.
33897 * sysdeps/i386/fpu/libm-test-ulps: Update.
33898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33899
33900 2013-12-19 Andreas Schwab <schwab@suse.de>
33901
33902 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
33903 CALL_MCOUNT.
33904 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33905 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
33906 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
33907
33908 2013-12-19 Joseph Myers <joseph@codesourcery.com>
33909
33910 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
33911 * sysdeps/i386/fpu/libm-test-ulps: Update.
33912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33913
33914 [BZ #16293]
33915 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
33916 round-to-nearest mode when using frndint.
33917 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
33918 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33919 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33920 Likewise.
33921 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
33922 sinh test to fail.
33923 * math/auto-libm-test-out: Regenerated.
33924 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
33925 (TEST_COND_x86): Likewise.
33926 (expm1_tonearest_test_data): New array.
33927 (expm1_test_tonearest): New function.
33928 (expm1_towardzero_test_data): New array.
33929 (expm1_test_towardzero): New function.
33930 (expm1_downward_test_data): New array.
33931 (expm1_test_downward): New function.
33932 (expm1_upward_test_data): New array.
33933 (expm1_test_upward): New function.
33934 (main): Run the new test functions.
33935 * sysdeps/i386/fpu/libm-test-ulps: Update.
33936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33937
33938 * include/features.h: Update comment documenting feature test
33939 macros. Mention _DEFAULT_SOURCE in comment.
33940 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
33941 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
33942 _BSD_SOURCE and _SVID_SOURCE.
33943 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
33944 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
33945 !_SVID_SOURCE]: Likewise.
33946 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33947 (__USE_POSIX_IMPLICITLY): Define.
33948 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33949 (_POSIX_SOURCE): Undefine and redefine.
33950 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33951 (_POSIX_C_SOURCE): Likewise.
33952 * manual/creature.texi (_DEFAULT_SOURCE): Document.
33953 (Feature Test Macros): Update documentation of default features.
33954
33955 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33956
33957 * benchtests/Makefile: Add bench-strtok.
33958 * benchtests/bench-strtok.c: New file: strtok benchtest.
33959
33960 2013-12-19 Allan McRae <allan@archlinux.org>
33961
33962 * manual/install.texi: Suppress menu for plain text output.
33963 * INSTALL: Regenerated.
33964
33965 2013-12-18 Brooks Moses <bmoses@google.com>
33966
33967 [BZ #15846]
33968 * misc/getauxval.c: Include errno.h.
33969 (__getauxval): Set errno to ENOENT if the requested type is not
33970 found.
33971 * misc/sys/auxv.h (getauxval): Document that it may set errno;
33972 don't declare with __attribute_const__.
33973 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
33974 * manual/startup.texi: Document that getauxval sets errno.
33975
33976 2013-12-18 Joseph Myers <joseph@codesourcery.com>
33977
33978 * math/auto-libm-test-in: Add tests of jn and yn.
33979 * math/auto-libm-test-out: Regenerated.
33980 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
33981 (yn_test_data): Likewise.
33982 * math/gen-auto-libm-tests.c (func_calc_method): Add value
33983 mpfr_if_f.
33984 (func_calc_desc): Add mpfr_if_f union field.
33985 (FUNC_mpfr_if_f): New macro.
33986 (test_functions): Add jn and yn.
33987 (calc_generic_results): Assert type of second input for
33988 mpfr_ff_f. Handle mpfr_if_f.
33989 (output_for_one_input_case): Disable all checking for arguments
33990 fitting floating-point types in case of an integer argument.
33991 * sysdeps/i386/fpu/libm-test-ulps: Update.
33992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33993
33994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33995 Don't expect fegetround reference in libm.so.
33996
33997 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33998
33999 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
34000 $(config-cflags-nofma).
34001
34002 2013-12-18 Joseph Myers <joseph@codesourcery.com>
34003
34004 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
34005 * math/auto-libm-test-out: Regenerated.
34006
34007 [BZ #16338]
34008 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
34009 to determine exponent and adjust argument to have exponent of -1.
34010 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
34011 log2.
34012 * math/auto-libm-test-out: Regenerated.
34013 * sysdeps/i386/fpu/libm-test-ulps: Update.
34014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34015
34016 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
34017
34018 * manual/probes.texi: Remove cases when per-thread arenas are
34019 disabled.
34020
34021 2013-12-18 Andreas Schwab <schwab@suse.de>
34022
34023 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
34024 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
34025 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
34026 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
34027 * sysdeps/i386/i686/multiarch/Makefile: Update.
34028 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
34029
34030 2013-12-17 Joseph Myers <joseph@codesourcery.com>
34031
34032 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
34033 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
34034
34035 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
34036
34037 [BZ #15968]
34038 Support TZ transition times < 00:00:00.
34039 This is needed for version-3 tz-format files; it supports time
34040 stamps past 2037 for America/Godthab (the only entry in the tz
34041 database for which this change is relevant).
34042 * manual/time.texi (TZ Variable): Document transition times
34043 from -167:59:59 through -00:00:01.
34044 * time/tzset.c (tz_rule): Time of day is now signed.
34045 (__tzset_parse_tz): Parse negative time of day.
34046
34047 Document TZ transition times >= 25:00:00.
34048 * manual/time.texi (TZ Variable): Document transition times from
34049 25:00:00 through 167:59:59. These are already supported, and this
34050 support will help with version-3 tz-format files.
34051
34052 * manual/time.texi (TZ Variable): Modernize North America example
34053 to reflect current (i.e., 2007-and-later) daylight saving rules.
34054
34055 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
34056
34057 2013-12-17 Joseph Myers <joseph@codesourcery.com>
34058
34059 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
34060 * sysdeps/unix/bsd/bits/stat.h: Likewise.
34061 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
34062 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34063 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
34064 * sysdeps/unix/bsd/bsdstat.h: Likewise.
34065 * sysdeps/unix/bsd/clock.c: Likewise.
34066 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
34067 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
34068 * sysdeps/unix/bsd/init-posix.c: Likewise.
34069 * sysdeps/unix/bsd/poll.c: Likewise.
34070 * sysdeps/unix/bsd/ptsname.c: Likewise.
34071 * sysdeps/unix/bsd/seekdir.c: Likewise.
34072 * sysdeps/unix/bsd/setegid.c: Likewise.
34073 * sysdeps/unix/bsd/seteuid.c: Likewise.
34074 * sysdeps/unix/bsd/setgid.c: Likewise.
34075 * sysdeps/unix/bsd/setrgid.c: Likewise.
34076 * sysdeps/unix/bsd/setruid.c: Likewise.
34077 * sysdeps/unix/bsd/setsid.c: Likewise.
34078 * sysdeps/unix/bsd/setuid.c: Likewise.
34079 * sysdeps/unix/bsd/sigaction.c: Likewise.
34080 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
34081 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
34082 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
34083 * sysdeps/unix/bsd/telldir.c: Likewise.
34084 * sysdeps/unix/bsd/times.c: Likewise.
34085 * sysdeps/unix/bsd/usleep.c: Likewise.
34086
34087 * misc/Makefile (install-lib): Remove libbsd-compat.a.
34088 ($(objpfx)libbsd-compat.a): Remove rule.
34089
34090 * include/features.h (__FAVOR_BSD): Do not define.
34091 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
34092 features conflicting with POSIX.
34093 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
34094 (_BSD_SOURCE): Remove description of not being a subset of other
34095 feature test macros.
34096 * manual/job.texi (getpgrp): Do not document BSD version.
34097 (getpgid): Do not document by reference to BSD getpgrp.
34098 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
34099 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
34100 * signal/signal.h [__FAVOR_BSD]: Likewise.
34101 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
34102 instead of making contents conditional on [__FAVOR_BSD].
34103 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
34104
34105 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34106
34107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34108
34109 2013-12-17 Joseph Myers <joseph@codesourcery.com>
34110
34111 [BZ #16314]
34112 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
34113 values below 2**-450, not 2**-500.
34114 * math/auto-libm-test-in: Don't allow spurious underflow from
34115 hypot.
34116 * math/auto-libm-test-out: Regenerated.
34117
34118 [BZ #16316]
34119 [BZ #16330]
34120 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
34121 values of ha and hb and sort them after adjusting subnormal
34122 arguments.
34123 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34124 Likewise.
34125 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
34126 values of ea and eb and sort them after adjusting subnormal
34127 arguments.
34128 * math/auto-libm-test-in: Do not expect some hypot tests of
34129 subnormals to fail. Add more hypot tests.
34130 * math/auto-libm-test-out: Regenerated.
34131
34132 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34133
34134 [BZ #13304]
34135 * sysdeps/sh/s_fma.c: New file.
34136 * sysdeps/sh/s_fmaf.c: New file.
34137 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
34138 version.
34139 * sysdeps/sh/Implies: Add sh/soft-fp.
34140
34141 2013-12-16 Roland McGrath <roland@hack.frob.com>
34142
34143 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
34144 level of indirection to members `objname', `errstring', `malloced'.
34145 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
34146 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
34147 it as the __longjmp argument (just pass 1 instead).
34148 (_dl_catch_error): Initialize C with argument pointers and address of
34149 volatile local ERRCODE rather than copying values out of C at return.
34150
34151 2013-12-16 Joseph Myers <joseph@codesourcery.com>
34152
34153 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
34154 * math/auto-libm-test-out: Regenerated.
34155 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
34156 (hypot_test_data): Likewise.
34157 (pow_test_data): Likewise.
34158 (pow_tonearest_test_data): Likewise.
34159 * math/gen-auto-libm-tests.c (func_calc_method): Add value
34160 mpfr_ff_f.
34161 (func_calc_desc): Add mpfr_ff_f union field.
34162 (FUNC_mpfr_ff_f): New macro.
34163 (test_functions): Add atan2, hypot and pow.
34164 (special_fill_min): New function.
34165 (special_fill_minus_min): Likewise.
34166 (special_fill_min_subnorm): Likewise.
34167 (special_fill_minus_min_subnorm): Likewise.
34168 (special_real_inputs): Add min, -min, min_subnorm and
34169 -min_subnorm.
34170 (calc_generic_results): Handle mpfr_ff_f.
34171 * sysdeps/i386/fpu/libm-test-ulps: Update.
34172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34173
34174 2013-12-16 Will Newton <will.newton@linaro.org>
34175
34176 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
34177 (Aligned Memory Blocks): Add documentation for aligned_alloc
34178 and suggest it as an alternative to posix_memalign.
34179 (Hooks for Malloc): Document __memalign_hook is also called
34180 for aligned_alloc. (Summary of Malloc): Add summary for
34181 aligned alloc. Document __memalign_hook is also called
34182 for aligned_alloc.
34183
34184 2013-12-16 Will Newton <will.newton@linaro.org>
34185
34186 * manual/memory.texi (Malloc Examples): Clarify default
34187 alignment documentation. Suggest posix_memalign rather
34188 than memalign or valloc.
34189 (Aligned Memory Blocks): Remove suggestion to use memalign
34190 or valloc. Remove obsolete comment about BSD.
34191 Document memalign errno values and mark the function obsolete.
34192 Document posix_memalign returned error codes. Mark valloc
34193 as obsolete. (Hooks for Malloc): __memalign_hook is also
34194 called for posix_memalign and valloc.
34195 (Summary of Malloc): Add posix_memalign to function summary.
34196 __memalign_hook is also called for posix_memalign and valloc.
34197
34198 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34199
34200 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
34201 TAYLOR_SIN.
34202 (__sin): Adjust.
34203 (__cos): Likewise.
34204 (sloww): Use mynumber union. Expand ternary operator into
34205 if-else statements.
34206 (cslow): use mynumber union.
34207
34208 2013-12-16 Allan McRae <allan@archlinux.org>
34209
34210 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
34211 * configure: Regenerated.
34212
34213 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
34214
34215 [BZ #14120]
34216 * configure.ac: Added --enable-maintainer-mode. Check for
34217 autoconf when enabled.
34218 * configure: Regenerated.
34219
34220 * nscd/nscd.service: New file.
34221 * nscd/nscd.tmpfiles: New file.
34222
34223 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
34224
34225 [BZ #12100]
34226 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
34227 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
34228 * sysdeps/x86_64/multiarch/strstr.c: ... here.
34229 (strstr): Add __strstr_sse2_unaligned ifunc.
34230 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
34231 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
34232 (strcasestr): Remove __strcasestr_sse42 ifunc.
34233 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
34234 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34235 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
34236
34237 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34238
34239 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
34240 * sysdeps/sh/bits/fenv.h: ... here.
34241 * sysdeps/sh/sh4/fpu/bits: Remove directory.
34242
34243 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34244
34245 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
34246
34247 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
34248 hypotf multiarch implementations.
34249 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
34250 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
34251 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
34252 multiarch hypot for PPC64.
34253 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
34254 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
34255 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
34256 multiarch hypotf for PPC64.
34257
34258 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
34259 modff multiarch implementations.
34260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
34261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
34262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
34263 multiarch modf for PPC64.
34264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
34265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
34266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
34267 multiarch modff for PPC64.
34268
34269 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
34270 and logl multiarch implementations.
34271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
34272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
34273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
34274 multiarch logb for PPC64.
34275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
34276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
34277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
34278 multiarch logb for PPC64.
34279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
34280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
34281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
34282 multiarch logb for PPC64.
34283
34284 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
34285 isinff multiarch implementation.
34286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
34287 file.
34288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
34289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
34290 multiarch isinf for PPC64.
34291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
34292 file.
34293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
34294 multiarch isinff for PPC64.
34295
34296 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
34297 finitef multiarch implementation.
34298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
34299 file.
34300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
34301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
34302 multiarch finite for PPC64.
34303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
34304 file.
34305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
34306 multiarch finitef for PPC64.
34307
34308 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
34309 lrint multiarch implementation.
34310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
34311 file.
34312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
34313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
34314 multiarch llrint for PPC64.
34315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
34316 multiarch lrint for PPC64.
34317
34318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
34319 copysignf multiarch implementation.
34320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
34321 file.
34322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
34323 file.
34324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
34325 multiarch copysign for PPC64.
34326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
34327 multiarch copysignf for PPC64.
34328
34329 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
34330 multiarch implementation.
34331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
34332 file.
34333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
34334 file.
34335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
34336 file.
34337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
34338 file.
34339 multiarch llround for PPC64.
34340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
34341 multiarch trunc for PPC64.
34342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
34343 multiarch truncf for PPC64.
34344
34345 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
34346 multiarch implementation.
34347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
34348 file.
34349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
34350 file.
34351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
34352 file.
34353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
34354 file.
34355 multiarch llround for PPC64.
34356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
34357 multiarch round for PPC64.
34358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
34359 multiarch roundf for PPC64.
34360
34361 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
34362 multiarch implementation.
34363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
34364 file.
34365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
34366 file.
34367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
34368 file.
34369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
34370 file.
34371 multiarch llround for PPC64.
34372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
34373 multiarch floor for PPC64.
34374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
34375 multiarch floorf for PPC64.
34376
34377 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
34378 multiarch implementation.
34379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
34380 file.
34381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
34382 file.
34383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
34384 file.
34385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
34386 file.
34387 multiarch llround for PPC64.
34388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
34389 multiarch ceil for PPC64.
34390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
34391 multiarch ceilf for PPC64.
34392
34393 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
34394 multiarch implementation.
34395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
34396 file.
34397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
34398 file.
34399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
34400 file.
34401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
34402 multiarch llround for PPC64.
34403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
34404 multiarch lround for PPC64.
34405
34406 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
34407 multiarch implementation.
34408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
34409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
34410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
34411 file.
34412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
34413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
34414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
34415 multiarch isnan for PPC64.
34416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
34417 multiarch isnanf for PPC64.
34418
34419 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
34420 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
34421 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
34422 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
34423 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
34424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
34425
34426 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
34427 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34428 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34429 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34430
34431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
34432 multiarch implementations.
34433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34434 (__libc_ifunc_impl_list): Likewise.
34435 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
34436 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
34437 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
34438 multiarch stpcpy for PPC64.
34439
34440 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
34441 multiarch implementations.
34442 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34443 (__libc_ifunc_impl_list): Likewise.
34444 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
34445 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
34446 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
34447 multiarch strcpy for PPC64.
34448
34449 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
34450 redefine function name.
34451 (_wordcopy_fwd_dest_aligned): Likewise.
34452 (_wordcopy_bwd_aligned): Likewise.
34453 (_wordcopy_bwd_dest_aligned): Likewise.
34454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
34455 multiarch implementations.
34456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34457 (__libc_ifunc_impl_list): Likewise.
34458 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
34459 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
34460 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
34461 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
34462 multiarch wcscpy for PPC64.
34463
34464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
34465 multiarch implementations.
34466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34467 (__libc_ifunc_impl_list): Likewise.
34468 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
34469 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
34470 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
34471 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
34472 multiarch wcscpy for PPC64.
34473
34474 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
34475 multiarch implementations.
34476 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34477 (__libc_ifunc_impl_list): Likewise.
34478 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
34479 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
34480 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
34481 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
34482 multiarch wcsrchr for PPC64.
34483
34484 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
34485 multiarch implementations.
34486 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34487 (__libc_ifunc_impl_list): Likewise.
34488 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
34489 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
34490 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
34491 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
34492 multiarch wcschr for PPC64.
34493
34494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
34495 multiarch implementations.
34496 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34497 (__libc_ifunc_impl_list): Likewise.
34498 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
34499 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
34500 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
34501 multiarch strchrnul for PPC64.
34502
34503 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
34504 implementations.
34505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34506 (__libc_ifunc_impl_list): Likewise.
34507 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
34508 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
34509 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
34510 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
34511 strchr for PPC64.
34512
34513 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
34514 implementations.
34515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34516 (__libc_ifunc_impl_list): Likewise.
34517 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
34518 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
34519 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
34520 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
34521 strncmp for PPC64.
34522
34523 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
34524 multiarch implementations.
34525 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34526 (__libc_ifunc_impl_list): Likewise.
34527 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
34528 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
34529 strncasecmp for PPC64.
34530 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
34531 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
34532 multiarch strncasecmp_l for PPC64.
34533
34534 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
34535 multiarch implementations.
34536 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34537 (__libc_ifunc_impl_list): Likewise.
34538 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
34539 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
34540 multiarch strcasecmp for PPC64.
34541 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
34542 file.
34543 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
34544 multiarch strcasecmp_l for PPC64.
34545
34546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
34547 implementations.
34548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34549 (__libc_ifunc_impl_list): Likewise.
34550 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
34551 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
34552 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
34553 strnlen for PPC64.
34554
34555 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
34556 implementations.
34557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34558 (__libc_ifunc_impl_list): Likewise.
34559 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
34560 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
34561 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
34562 strlen for PPC64.
34563
34564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
34565 implementations.
34566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34567 (__libc_ifunc_impl_list): Likewise.
34568 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
34569 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
34570 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
34571 rawmemrchr for PPC64.
34572
34573 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
34574 implementation.
34575 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34576 (__libc_ifunc_impl_list): Likewise.
34577 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
34578 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
34579 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
34580 memrchr for PPC64.
34581
34582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
34583 implementation.
34584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34585 (__libc_ifunc_impl_list): Likewise.
34586 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
34587 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
34588 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
34589 memchr for PPC64.
34590
34591 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
34592 implementation.
34593 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34594 (__libc_ifunc_impl_list): Likewise.
34595 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
34596 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
34597 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
34598 mempcpy for PPC64.
34599
34600 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
34601 avoid cretion of __bzero symbol.
34602 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
34603 Likewise.
34604 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
34605 Likewise.
34606 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
34607 Likewise.
34608 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
34609 multiarch implementations.
34610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34611 (__libc_ifunc_impl_list): Likewise.
34612 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
34613 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
34614 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
34615 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
34616 bzero for PPC32.
34617 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
34618 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
34619 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
34620 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
34621 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
34622 memset for PPC64.
34623 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
34624
34625 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
34626 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
34627 implementations.
34628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34629 (__libc_ifunc_impl_list): Likewise.
34630 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
34631 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
34632 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
34633 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
34634 memcmp for PPC64.
34635
34636 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
34637 multiarch for POWER/PPC64.
34638 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34639 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
34640 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
34641 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
34642 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
34643 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
34644 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
34645 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
34646 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
34647 memcpy for PPC64.
34648
34649 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
34650 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
34651 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
34652 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
34653 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
34654 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
34655 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
34656 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
34657 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
34658 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
34659 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
34660 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
34661 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
34662 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
34663 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
34664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
34665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
34666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
34667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
34668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
34669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
34670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
34671
34672 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34673
34674 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
34675
34676 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34677
34678 * benchtests/Makefile (bench): Add exp2 and log2.
34679 (LDLIBS-bench-exp2): Add -lm.
34680 (LDLIBS-bench-log2): Likewise.
34681 * benchtests/exp2-inputs: New inputs file.
34682 * benchtests/log2-inputs: New inputs file.
34683 * benchtests/log-inputs: Add new inputs.
34684 * benchtests/tan-inputs: Likewise.
34685
34686 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34687
34688 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
34689 definition...
34690 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
34691 (csloww2): ... from here.
34692
34693 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
34694 instead of structures.
34695 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
34696 (POLYNOMIAL): Likewise.
34697 (TAYLOR_SLOW): Likewise.
34698 (__sin): Likewise.
34699 (__cos): Likewise.
34700 (slow1): Likewise.
34701 (slow2): Likewise.
34702 (sloww): Likewise.
34703 (sloww1); Likewise.
34704 (sloww2): Likewise.
34705 (bsloww1): Likewise.
34706 (bsloww2): Likewise.
34707 (cslow2): Likewise.
34708 (csloww): Likewise.
34709 (csloww1): Likewise.
34710 (csloww2): Likewise.
34711
34712 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
34713
34714 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
34715 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
34716 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
34717 * malloc/hooks.c (realloc_check): Likewise.
34718
34719 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
34720 * malloc/arena.c: Remove PER_THREAD conditional.
34721 [!PER_THREAD]: Remove code.
34722 (ptmalloc_unlock_all2): Likewise.
34723 (ptmalloc_init): Likewise.
34724 (_int_new_arena): Likewise.
34725 (arena_get2): Likewise.
34726 * malloc/hooks.c (__malloc_get_state): Likewise.
34727 (__malloc_set_state): Likewise.
34728 * malloc/malloc.c: Likewise.
34729 (struct malloc_state): Likewise.
34730 (struct malloc_par): Likewise.
34731 (__libc_realloc): Likewise.
34732 (__libc_mallopt): Likewise.
34733
34734 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34735
34736 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
34737
34738 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
34739
34740 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
34741 macro to a function. Check for zero perturb_byte.
34742 (_int_malloc, _int_free): Remove zero perturb_byte checks.
34743
34744 * malloc/malloc.c: (force_reg): Remove.
34745 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
34746 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
34747 force_reg by atomic_forced_read.
34748 * malloc/arena.c (ptmalloc_init): Likewise.
34749 * malloc/hooks.c (top_check): Likewise.
34750
34751 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34752
34753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34754
34755 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
34756
34757 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34758
34759 2013-12-08 Joseph Myers <joseph@codesourcery.com>
34760
34761 * math/auto-libm-test-in: Add tests of lgamma.
34762 * math/auto-libm-test-out: Regenerated.
34763 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
34764 (M_LOG_2_SQRT_PIl): Likewise.
34765 (lgamma_test_data): Use AUTO_TESTS_f_f1.
34766 * math/gen-auto-libm-tests.c (func_calc_method): Add value
34767 mpfr_f_f1.
34768 (func_calc_desc): Add mpfr_f_f1 union field.
34769 (ARGS1): New macro.
34770 (ARGS2): Likewise.
34771 (ARGS3): Likewise.
34772 (ARGS4): Likewise.
34773 (RET1): Likewise.
34774 (RET2): Likewise.
34775 (CALC): Likewise.
34776 (FUNC): Likewise.
34777 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
34778 (test_functions): Add lgamma.
34779 (calc_generic_results): Handle mpfr_f_f1.
34780 * sysdeps/i386/fpu/libm-test-ulps: Update.
34781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34782
34783 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34784
34785 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
34786 __mpn_add_n for PowerPC64/POWER7.
34787 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
34788 __mpn_sub_n for PowerPC64/POWER7.
34789
34790 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
34791 __mpn_addmul_1 for PowerPC64.
34792 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
34793 __mpn_submul_1 for PowerPC64.
34794 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
34795 for PowerPC64.
34796 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
34797 for PowerPC64.
34798
34799 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
34800
34801 [BZ #15089]
34802 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
34803
34804 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34805
34806 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
34807
34808 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
34809 add multiarch folders.
34810 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
34811 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
34812 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
34813 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
34814 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
34815 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
34816 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
34817 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
34818 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
34819 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
34820 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
34821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
34822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
34823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
34824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
34825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
34826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
34827
34828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
34829 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
34830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
34831 New file.
34832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
34833 New file.
34834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
34835 multiarch __ieee754_hypot for PowerPC32.
34836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
34837 New file.
34838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
34839 New file.
34840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
34841 multiarch __ieee754_hypotf for PowerPC32.
34842
34843 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
34844 long_double_symbol only if __logbl is defined.
34845 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
34846 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
34847 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
34848 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
34849 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
34850 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
34851 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
34852 path for implementation.
34853 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
34854 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
34855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
34856 logb, and logbl multiarch implementations for PowerPC32.
34857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
34858 file.
34859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
34860 file.
34861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
34862 multiarch logb for PowerPC32.
34863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
34864 file.
34865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
34866 file.
34867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
34868 multiarch logbf for PowerPC32.
34869 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
34870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
34871 file.
34872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
34873 multiarch logbl implementation for PowerPC32.
34874
34875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
34876 and modff multiarch implementations.
34877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
34878 New file.
34879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
34880 New file.
34881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
34882 multiarch modf for PowerPC32.
34883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
34884 New file.
34885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
34886 New file.
34887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
34888 multiarch modff for PowerPC32.
34889
34890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
34891 and lrintf multiarch implementations.
34892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
34893 New file.
34894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
34895 New file.
34896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
34897 multiarch lrint for PowerPC32.
34898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
34899 file: multiarch lrintf for PowerPC32.
34900
34901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
34902 and lroundf multiarch implementations.
34903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
34904 New file.
34905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
34906 New file.
34907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
34908 New file.
34909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
34910 multiarch lround for PowerPC32.
34911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
34912 file: multiarch lroundf for PowerPC32.
34913
34914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
34915 copysign and copysignf multiarch implementations.
34916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
34917 New file.
34918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
34919 New file.
34920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
34921 file: multiarch copysign for PowerPC32.
34922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
34923 file: multiarch copysignf for PowerPC32.
34924
34925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
34926 and truncf multiarch implementations.
34927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
34928 New file.
34929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
34930 file.
34931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
34932 multiarch trunc for PowerPC32.
34933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
34934 New file.
34935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
34936 New file.
34937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
34938 multiarch truncf for PowerPC32.
34939
34940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
34941 and roundf multiarch implementations.
34942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
34943 New file.
34944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
34945 file.
34946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
34947 multiarch round for PowerPC32.
34948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
34949 New file.
34950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
34951 New file.
34952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
34953 multiarch roundf for PowerPC32.
34954
34955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
34956 and floorf multiarch implementations.
34957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
34958 New file.
34959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
34960 file.
34961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
34962 multiarch floor for PowerPC32.
34963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
34964 New file.
34965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
34966 New file.
34967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
34968 multiarch floorf for PowerPC32.
34969
34970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
34971 and ceilf multiarch implementations.
34972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
34973 New file.
34974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
34975 file.
34976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
34977 multiarch ceil for PowerPC32.
34978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
34979 New file.
34980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
34981 file.
34982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
34983 multiarch ceilf for PowerPC32.
34984
34985 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
34986 is defined.
34987 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
34988 FINITEF is defined.
34989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
34990 and finitef multiarch implementations.
34991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
34992 New file.
34993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
34994 file.
34995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
34996 multiarch finite for PowerPC32.
34997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
34998 New file.
34999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
35000 file: multiarch finitef for PowerPC32.
35001
35002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
35003 and isinff multiarch implementations.
35004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
35005 file.
35006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
35007 file.
35008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
35009 multiarch isinf for PowerPC32.
35010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
35011 New file.
35012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
35013 multiarch isinff for PowerPC32.
35014
35015 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
35016 alias when __isnan is defined.
35017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
35018 and isnanf multiarch implementations.
35019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
35020 file.
35021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
35022 file.
35023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
35024 file.
35025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
35026 file.
35027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
35028 multiarch isnan for PowerPC32.
35029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
35030 New file.
35031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
35032 New file.
35033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
35034 multiarch isnanf for PowerPC32.
35035
35036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
35037 and sqrtf multiarch implementations.
35038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
35039 file.
35040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
35041 file.
35042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
35043 multiarch sqrt for PowerPC32.
35044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
35045 file.
35046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
35047 file.
35048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
35049 multiarch sqrtf for PowerPC32.
35050
35051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
35052 and llroundf multiarch implementations.
35053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
35054 New file.
35055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
35056 New file.
35057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
35058 New file.
35059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
35060 file: multiarch llround for PowerPC32.
35061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
35062 file: multiarch llroundf for PowerPC32.
35063
35064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
35065 multiarch PowerPC32 fpu implementations.
35066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
35067 New file.
35068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
35069 New file.
35070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
35071 multiarch llrint for PowerPC32.
35072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
35073 New file.
35074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
35075 New file.
35076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
35077 file.
35078
35079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
35080
35081 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
35082 file.
35083 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
35084 file.
35085 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
35086 file.
35087 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
35088 multiarch wordcopy for PPC32.
35089 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35090 wordcopy objects.
35091 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35092 (__libc_ifunc_impl_list): Likewise.
35093 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
35094 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
35095 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
35096 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
35097 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
35098 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
35099
35100 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
35101 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
35102 file.
35103 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
35104 file.
35105 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
35106 file.
35107 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
35108 multiarch wcscpy for PPC32.
35109 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35110 multiarch objects.
35111 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35112 (__libc_ifunc_impl_list): Likewise.
35113 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35114 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35115 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
35116 sysdeps/powerpc/power6/wcscpy.c.
35117
35118 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
35119 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
35120 file.
35121 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
35122 file.
35123 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
35124 file.
35125 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
35126 multiarch wcsrchr for PPC32.
35127 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35128 multiarch objects.
35129 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35130 (__libc_ifunc_impl_list): Likewise.
35131 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35132 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35133 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
35134 sysdeps/powerpc/power6/wcsrchr.c.
35135
35136 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
35137 file.
35138 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
35139 file.
35140 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
35141 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
35142 multiarch wcschr for PPc32.
35143 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35144 multiarch objects.
35145 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35146 (__libc_ifunc_impl_list): Likewise.
35147 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
35148 * sysdeps/powerpc/power6/wcschr.c: ... to here.
35149 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
35150 sysdeps/powerpc/power6/wcschr.c.
35151
35152 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
35153 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
35154 file.
35155 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
35156 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
35157 file: multiarch strchr for PPC32.
35158 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
35159 multiarch objects.
35160 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35161 (__libc_ifunc_impl_list): Likewise.
35162
35163 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
35164 name.
35165 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
35166 file.
35167 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
35168 file.
35169 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
35170 multiarch strchrnul for PPC32.
35171 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
35172 multiarch objects.
35173 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35174 (__libc_ifunc_impl_list): Likewise.
35175
35176 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
35177 file.
35178 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
35179 multiarch strncasecmp for PPC32.
35180 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
35181 file.
35182 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
35183 multiarch strncasecmp_l for PPC32.
35184 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
35185 strncasecmp multiarch objects.
35186 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35187 (__libc_ifunc_impl_list): Likewise.
35188
35189 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
35190 file.
35191 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
35192 multiarch strncasecmp for PPC32.
35193 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
35194 New file.
35195 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
35196 multiarch strcasecmp_l for PPC32.
35197 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
35198 multiarch objects.
35199 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35200 (__libc_ifunc_impl_list): Likewise.
35201
35202 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
35203 file.
35204 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
35205 file.
35206 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
35207 multiarch strncmp for PPC32.
35208 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
35209 multiarch objects.
35210 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35211 (__libc_ifunc_impl_list): Likewise.
35212
35213 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
35214 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
35215 file.
35216 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
35217 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
35218 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
35219 multiarch objects.
35220 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35221 (__libc_ifunc_impl_list): Likewise.
35222
35223 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
35224 file.
35225 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
35226 file.
35227 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
35228 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
35229 multiarch objects.
35230 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35231 (__libc_ifunc_impl_list): Likewise.
35232
35233 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
35234 file.
35235 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
35236 file.
35237 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
35238 multiarch rawmemchr for PPC32.
35239 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
35240 multiarch objects.
35241 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35242 (__libc_ifunc_impl_list): Likewise.
35243
35244 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
35245 file.
35246 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
35247 file.
35248 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
35249 file: memrchr multiarch for PPC32.
35250 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
35251 multiarch objects.
35252 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35253 (__libc_ifunc_impl_list): Likewise.
35254
35255 * string/memchr.c (__memchr): Using macro to redefine symbol name.
35256 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
35257 file.
35258 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
35259 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
35260 multiarch memchr for PPC32.
35261 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
35262 multiarch objects.
35263 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35264 (__libc_ifunc_impl_list): Likewise.
35265
35266 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
35267 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
35268 file.
35269 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
35270 file.
35271 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
35272 file: multiarch mempcpy for PPC32.
35273 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
35274 multiarch objects.
35275 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35276 (__libc_ifunc_impl_list): Likewise.
35277
35278 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
35279 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
35280 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
35281 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
35282 multiarch bzero for PPC32.
35283 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
35284 file.
35285 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
35286 file.
35287 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
35288 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
35289 file: multiarch memset for PPC32.
35290 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
35291 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
35292 memset multiarch objects.
35293 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35294 (__libc_ifunc_impl_list): Likewise.
35295
35296 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
35297 file.
35298 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
35299 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
35300 memcmp for PPC32.
35301 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
35302 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
35303 multiarch objects.
35304 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35305 (__libc_ifunc_impl_list): Likewise.
35306
35307 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
35308 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
35309 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
35310 file.
35311 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
35312 file.
35313 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
35314 file.
35315 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
35316 multiarch memcpy for PPC32.
35317 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
35318 multiarch objects.
35319 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35320 (__libc_ifunc_impl_list): Likewise.
35321
35322 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
35323 support multiarch for POWER/PPC32.
35324 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
35325 Likewise.
35326 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
35327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
35328 Implies file to make multiarch folder appers before the fpu and
35329 default folder for power4 configuration.
35330
35331 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35332
35333 * scripts/bench.pl: Append volatile keyword to type.
35334
35335 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35336
35337 * sysdeps/sh/sotruss-lib.c: New file.
35338 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
35339
35340 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35341
35342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35343
35344 2013-12-05 Joseph Myers <joseph@codesourcery.com>
35345
35346 [BZ #6810]
35347 * math/w_tgamma.c: Include <errno.h>.
35348 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
35349 * math/w_tgammaf.c: Include <errno.h>.
35350 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
35351 * math/w_tgammal.c: Include <errno.h>.
35352 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
35353 * math/auto-libm-test-in: Do not allow missing errno on tgamma
35354 underflow. Add more tgamma tests.
35355 * math/auto-libm-test-out: Regenerated.
35356 * sysdeps/i386/fpu/libm-test-ulps: Update.
35357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35358
35359 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
35360 sin, sinh, tan, tanh, tgamma, y0 and y1.
35361 * math/auto-libm-test-out: Regenerated.
35362 * math/libm-test.inc (TEST_COND_x86_64): New macro.
35363 (TEST_COND_x86): Likewise.
35364 (M_E2l): Remove macro.
35365 (M_E3l): Likewise.
35366 (M_2_SQRT_PIl): Likewise.
35367 (M_SQRT_PIl): Likewise.
35368 (M_1_DIV_El): Likewise.
35369 (log_test_data): Use AUTO_TESTS_f_f.
35370 (log10_test_data): Likewise.
35371 (log1p_test_data): Likewise.
35372 (log2_test_data): Likewise.
35373 (sin_test_data): Likewise.
35374 (sin_tonearest_test_data): Likewise.
35375 (sin_towardzero_test_data): Likewise.
35376 (sin_downward_test_data): Likewise.
35377 (sin_upward_test_data): Likewise.
35378 (sinh_test_data): Likewise.
35379 (sinh_tonearest_test_data): Likewise.
35380 (sinh_towardzero_test_data): Likewise.
35381 (sinh_downward_test_data): Likewise.
35382 (sinh_upward_test_data): Likewise.
35383 (tan_test_data): Likewise.
35384 (tan_tonearest_test_data): Likewise.
35385 (tan_towardzero_test_data): Likewise.
35386 (tan_downward_test_data): Likewise.
35387 (tan_upward_test_data): Likewise.
35388 (tanh_test_data): Likewise.
35389 (tgamma_test_data): Likewise.
35390 (y0_test_data): Likewise.
35391 (y1_test_data): Likewise.
35392 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
35393 (special_real_inputs): Add pi/4.
35394 * sysdeps/i386/fpu/libm-test-ulps: Update.
35395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35396
35397 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35398
35399 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
35400 "longjmp_target" static probes.
35401 (__longjmp): Rename to __longjmp_symbol.
35402 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35403 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
35404 on which longjmp to generate.
35405 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35406 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
35407 probe.
35408 (__sigsetjmp): Rename to __sigsetjmp_symbol.
35409 (__sigjmp_save): Rename to __sigjmp_save_symbol.
35410 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35411 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
35412 and __sigjmp_save_symbol based on which sigsetjmp to generated.
35413 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
35414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
35415 __longjmp_symbol based on which __longjmp to generate.
35416 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
35417 probe.
35418 (setjmp): Rename to setjmp_symbol.
35419 (__sigsetjmp): Rename to __sigsetjmp_symbol.
35420 (_setjmp): Rename to _setjmp_symbol.
35421 (__sigsetjmp): Rename to __sigsetjmp_symbol.
35422 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
35423 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
35424 which setjmp to generate.
35425 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
35426 "longjmp_target" static probes.
35427
35428 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35429
35430 * benchtests/README: Add note about output arguments.
35431 * benchtests/bench-sincos.c: Remove file.
35432 * benchtests/sincos-inputs: New file.
35433 * scripts/bench.pl: Identify output arguments and define
35434 static variables for them.
35435
35436 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
35437
35438 [BZ #15941]
35439 * Makefile (INSTALL): Add install-plain.texi as the primary
35440 dependency.
35441 * manual/install-plain.texi: New file.
35442 * manual/install.texi: Include node directive only for
35443 non-plaintext output.
35444
35445 2013-12-04 Joseph Myers <joseph@codesourcery.com>
35446
35447 * stdlib/longlong.h: Update from GCC.
35448
35449 [BZ #6807]
35450 [BZ #15901]
35451 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
35452 * math/w_j0f.c (y0f): Likewise.
35453 * math/w_j0l.c (__y0l): Likewise.
35454 * math/w_j1.c (y1): Likewise.
35455 * math/w_j1f.c (y1f): Likewise.
35456 * math/w_j1l.c (__y1l): Likewise
35457 * math/w_jn.c (yn): Likewise.
35458 * math/w_jnf.c (ynf): Likewise.
35459 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
35460 Bessel function pole errors in _POSIX_ mode. Use NAN as return
35461 value for Bessel function domain errors outside _SVID_ mode.
35462 Adjust sign of return value for yn (negative integer, 0).
35463 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
35464 by zero in return for negative x and set sign appropriately for
35465 negative n.
35466 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
35467 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35468 * math/libm-test.inc (y0_test_data): Add more tests and adjust
35469 expectations in error cases.
35470 (y1_test_data): Likewise.
35471 (yn_test_data): Likewise.
35472 * sysdeps/i386/fpu/libm-test-ulps: Update.
35473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35474
35475 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
35476
35477 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
35478 "64" to "64-v1". Add "64-v2".
35479 (abi-64-options): Rename to ...
35480 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
35481 (abi-64-condition): Rename to ...
35482 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
35483 (abi-64-ld-soname): Rename to ...
35484 (abi-64-v1-ld-soname): ... this.
35485 (abi-64-v2-options): Define.
35486 (abi-64-v2-condition): Likewise.
35487 (abi-64-v2-ld-soname): Likewise.
35488 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
35489 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
35490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
35491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
35492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
35493
35494 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
35495 Alan Modra <amodra@gmail.com>
35496
35497 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
35498 New versions for use with the ELFv2 ABI.
35499 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
35500 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
35501 declaration.
35502 (struct La_ppc64v2_retval): Likewise.
35503 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
35504 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
35505 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
35506 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
35507 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
35508 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35509 Do not save or restore CR.
35510 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
35511 (_dl_profile_resolve): Do no save or restore CR. Support extended
35512 return values for ELFv2 ABI. Fix location of FPR return registers.
35513 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
35514 updated values for _CALL_ELF == 2.
35515 (La_regs, La_retval, int_retval): Likewise.
35516
35517 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
35518
35519 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
35520 (FRAME_MIN_SIZE_PARM): Likewise.
35521 (FRAME_BACKCHAIN): Likewise.
35522 (FRAME_CR_SAVE): Likewise.
35523 (FRAME_LR_SAVE): Likewise.
35524 (FRAME_TOC_SAVE): Likewise.
35525 (FRAME_PARM_SAVE): Likewise.
35526 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
35527 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
35528 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
35529 (call_mcount_parm_offset): New macro.
35530 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
35531 (PROF): Use symbolic stack frame offsets.
35532 (TAIL_CALL_SYSCALL_ERROR): Likewise.
35533 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
35534 Redefine in terms of FRAME_MIN_SIZE.
35535 (_dl_runtime_resolve): Use symbolic stack frame offsets.
35536 (_dl_profile_resolve): Likewise. Update comment.
35537 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
35538 symbols stack frame offsets.
35539 (__sigsetjmp): Likewise.
35540 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
35541 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
35542 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
35543 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
35544
35545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
35546 (FRAME_BACKCHAIN): Remove.
35547 (FRAME_CR_SAVE): Likewise.
35548 (FRAME_LR_SAVE): Likewise.
35549 (FRAME_COMPILER_DW): Likewise.
35550 (FRAME_LINKER_DW): Likewise.
35551 (FRAME_TOC_SAVE): Likewise.
35552 (FRAME_PARM_SAVE): Likewise.
35553 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
35554 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
35555 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
35556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
35557 (CHECK_SP): Use symbolic stack frame offsets.
35558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
35559 zone" instead of caller's parameter save area for temp storage.
35560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35561 Likewise. Also, use symbolic stack frame offsets.
35562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
35563 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
35564 our own stack frame instead of the caller's.
35565 (__socket): Use symbolic stack frame offsets.
35566
35567 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
35568 Alan Modra <amodra@gmail.com>
35569
35570 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
35571 Define.
35572 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
35573 (PPC64_LOCAL_ENTRY_OFFSET): Define.
35574 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
35575 New function.
35576 (elf_machine_fixup_plt): Call it.
35577 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
35578 reloc arguments.
35579 (elf_machine_rela): Update call to elf_machine_plt_conflict.
35580 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
35581 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
35582 r2 before calling target.
35583
35584 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
35585 Alan Modra <amodra@gmail.com>
35586
35587 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
35588 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
35589 versions of macros to support ELFv2 ABI.
35590 (LOCALENTRY): New macro.
35591 (ENTRY, EALIGN): Use it.
35592 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
35593 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
35594 fall through into ENTRY entry point.
35595 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
35596 Only define if _CALL_ELF != 2.
35597
35598 (elf_machine_matches_host): Verify ABI version matches.
35599 (RTLD_START): Use LOCALENTRY.
35600 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
35601 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
35602 (PLT_ENTRY_WORDS): New macro.
35603 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
35604 (elf_machine_runtime_setup): Support ELFv2 ABI.
35605 (elf_machine_fixup_plt): Likewise.
35606 (elf_machine_plt_conflict): Likewise.
35607 (resolve_ifunc): Likewise.
35608 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
35609 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
35610 Likewise.
35611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
35612 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
35613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35614 (makecontext): Support ELFv2 ABI.
35615 * elf/elf.h (EF_PPC64_ABI): Define.
35616
35617 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
35618
35619 * sysdeps/powerpc/powerpc64/sysdep.h
35620 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
35621 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
35622 (ENTRY) [ASSEMBLER]: ... but instead here ...
35623 (EALIGN) [ASSEMBLER]: ... and here.
35624 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
35625 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
35626 (ENTRY_2) [!ASSEMBLER]: Use it.
35627 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
35628 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
35629 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
35630 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
35631 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
35632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
35633 Use PPC64_LOAD_FUNCPTR.
35634
35635 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
35636
35637 2013-12-04 Alan Modra <amodra@gmail.com>
35638
35639 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
35640 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
35641 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
35642 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
35643
35644 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
35645 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
35646 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
35647 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
35648 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
35649 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
35650
35651 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
35652
35653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35654 (__makecontext): Fix incorrect CFI when backtracing out of
35655 context created via makecontext.
35656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
35657 (__setcontext): Fix incorrect CFI during switch to new context.
35658 (__novec_setcontext): Likewise.
35659
35660 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
35661
35662 [BZ #4772]
35663 * time/strptime_l.c (__strptime_internal): Allow modifiers
35664 in strptime.
35665 * time/tst-strptime.c (day_tests): Add testcase.
35666
35667 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35668
35669 * scripts/bench.pl: Skip over blank lines.
35670
35671 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
35672
35673 [BZ #926]
35674 * manual/time.texi (Calendar Time): Clarify what timezone functions
35675 use.
35676
35677 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35678
35679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35680
35681 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
35682
35683 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
35684 implementation.
35685 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
35686 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
35687 * debug/memset_chk.c (__memset_chk): Likewise.
35688 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
35689 * debug/strncpy_chk.c: Likewise.
35690
35691 2013-12-03 Joseph Myers <joseph@codesourcery.com>
35692
35693 [BZ #15268]
35694 [BZ #15425]
35695 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
35696 (__ieee754_exp): For possibly underflowing results, check size of
35697 result and force underflow exception if required.
35698 * math/auto-libm-test-in: Add more tests of exp.
35699 * math/auto-libm-test-out: Regenerated.
35700 * sysdeps/i386/fpu/libm-test-ulps: Update.
35701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35702
35703 [BZ #16283]
35704 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
35705 * math/w_exp2f.c (__exp2f): Likewise.
35706 * math/w_exp2l.c (__exp2l): Likewise.
35707 * math/auto-libm-test-in: Do not allow missing errno on exp2
35708 underflow.
35709 * math/auto-libm-test-out: Regenerated.
35710
35711 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
35712
35713 [BZ #16274]
35714 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
35715 handle filename validation.
35716 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
35717 (do_open): Delete.
35718
35719 2013-12-03 Joseph Myers <joseph@codesourcery.com>
35720
35721 [BZ #6786]
35722 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
35723 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
35724 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
35725 <float.h>.
35726 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
35727 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
35728 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35729 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
35730 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35731 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
35732 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35733 * math/auto-libm-test-in: Don't allow missing errno from erfc.
35734 Add more erfc tests.
35735 * math/auto-libm-test-out: Regenerated.
35736 * sysdeps/i386/fpu/libm-test-ulps: Update.
35737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35738
35739 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
35740 exp2, expm1, j0 and j1.
35741 * math/auto-libm-test-out: Regenerated.
35742 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
35743 (erfc_test_data): Likewise.
35744 (exp_test_data): Likewise.
35745 (exp_tonearest_test_data): Likewise.
35746 (exp_towardzero_test_data): Likewise.
35747 (exp_downward_test_data): Likewise.
35748 (exp_upward_test_data): Likewise.
35749 (exp10_test_data): Likewise.
35750 (exp2_test_data): Likewise.
35751 (expm1_test_data): Likewise.
35752 (j0_test_data): Likewise.
35753 (j1_test_data): Likewise.
35754 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
35755 (input_flag_type): Add flag_xfail_rounding.
35756 (input_flags): Add xfail-rounding.
35757 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
35758 (output_for_one_input_case): Handle flag_xfail_rounding.
35759 * sysdeps/i386/fpu/libm-test-ulps: Update.
35760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35761
35762 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
35763
35764 [BZ #16289]
35765 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
35766 division by 0.
35767
35768 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
35769
35770 [BZ #16195]
35771 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
35772 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
35773 (STAP_PROBE0): New macro.
35774 (STAP_PROBE1): Likewise.
35775 (STAP_PROBE2): Likewise.
35776 (STAP_PROBE3): Likewise.
35777 (STAP_PROBE4): Likewise.
35778
35779 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
35780
35781 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
35782
35783 2013-12-02 Steve Ellcey <sellcey@mips.com>
35784
35785 * benchtests/Makefile (bench): Add sqrt.
35786 (LDLIBS-bench-sqrt): New.
35787 * benchtests/sqrt-input: New.
35788
35789 2013-12-02 Pavel Simerda <psimerda@redhat.com>
35790
35791 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
35792 (GAIH_EAI): Likewise.
35793 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
35794 (gaih_inet): Likewise.
35795 (getaddrinfo): Don't use GAIH_EAI.
35796
35797 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
35798 (struct gaih): Remove definition.
35799
35800 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
35801
35802 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
35803 Use HERRNOP directly.
35804
35805 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35806
35807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35808
35809 2013-11-30 Joseph Myers <joseph@codesourcery.com>
35810
35811 * math/gen-auto-libm-tests.c (test_functions): Add more
35812 single-argument functions.
35813 (special_fill_pi_2): New function.
35814 (special_fill_minus_pi_2): Likewise.
35815 (special_fill_pi_6): Likewise.
35816 (special_fill_minus_pi_6): Likewise.
35817 (special_fill_pi_3): Likewise.
35818 (special_fill_2pi_3): Likewise.
35819 (special_fill_e): Likewise.
35820 (special_fill_1_e): Likewise.
35821 (special_fill_e_minus_1): Likewise.
35822 (special_real_inputs): Add more special inputs.
35823 (output_for_one_input_case): Do not require ERANGE on underflow to
35824 zero if round-to-nearest result does not underflow to zero, unless
35825 exact results required.
35826 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
35827 atan, atanh, cbrt, cos and cosh.
35828 * math/auto-libm-test-out: Regenerated.
35829 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
35830 (acos_tonearest_test_data): Likewise.
35831 (acos_towardzero_test_data): Likewise.
35832 (acos_downward_test_data): Likewise.
35833 (acos_upward_test_data): Likewise.
35834 (acosh_test_data): Likewise.
35835 (asin_test_data): Likewise.
35836 (asin_tonearest_test_data): Likewise.
35837 (asin_towardzero_test_data): Likewise.
35838 (asin_upward_test_data): Likewise.
35839 (asinh_test_data): Likewise.
35840 (atan_test_data): Likewise.
35841 (atanh_test_data): Likewise.
35842 (cbrt_test_data): Likewise.
35843 (cos_test_data): Likewise.
35844 (cos_tonearest_test_data): Likewise.
35845 (cos_towardzero_test_data): Likewise.
35846 (cos_downward_test_data): Likewise.
35847 (cos_upward_test_data): Likewise.
35848 (cosh_test_data): Likewise.
35849 (cosh_tonearest_test_data): Likewise.
35850 (cosh_towardzero_test_data): Likewise.
35851 (cosh_downward_test_data): Likewise.
35852 (cosh_upward_test_data): Likewise.
35853 * sysdeps/i386/fpu/libm-test-ulps: Update.
35854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35855
35856 2013-11-29 Joseph Myers <joseph@codesourcery.com>
35857
35858 [BZ #6787]
35859 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
35860 * math/w_exp10f.c (__exp10f): Likewise.
35861 * math/w_exp10l.c (__exp10l): Likewise.
35862 * math/libm-test.inc (exp10_test_data): Add more tests and expect
35863 errno settings in existing tests.
35864
35865 [BZ #14032]
35866 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
35867 precision control set to double precision.
35868 * sysdeps/i386/fpu/w_sqrt.c: New file.
35869 * math/auto-libm-test-in: Add more tests.
35870 * math/auto-libm-test-out: Update.
35871
35872 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
35873 (sqrt_test_tonearest): New function.
35874 (sqrt_towardzero_test_data): New variable.
35875 (sqrt_test_towardzero): New function.
35876 (sqrt_downward_test_data): New variable.
35877 (sqrt_test_downward): New function.
35878 (sqrt_upward_test_data): New variable.
35879 (sqrt_test_upward): New function.
35880 (main): Call the new functions.
35881
35882 * math/gen-auto-libm-tests.c: New file.
35883 * math/auto-libm-test-in: Likewise.
35884 * math/auto-libm-test-out: New generated file.
35885 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
35886 variables.
35887 (%beautify): Add generated representations of zero.
35888 (top level): Set $auto_input and call parse_auto_input.
35889 (beautify): Remove trailing "f" from hex float constants.
35890 (parse_args): Handle XFAIL_TEST.
35891 (convert_condition): New function.
35892 (or_value): Likewise.
35893 (or_cond_value): Likewise.
35894 (generate_testfile): Handle AUTO_TESTS_* lines.
35895 (parse_auto_input): New function.
35896 * math/libm-test.inc (XFAIL_TEST): New macro.
35897 (ERRNO_UNCHANGED): Update value.
35898 (ERRNO_EDOM): Likewise.
35899 (ERRNO_ERANGE): Likewise.
35900 (IGNORE_RESULT): Likewise.
35901 (TEST_COND_flt_32): New macro.
35902 (TEST_COND_dbl_64): Likewise.
35903 (TEST_COND_ldbl_96_intel): Likewise.
35904 (TEST_COND_ldbl_96_m68k): Likewise.
35905 (TEST_COND_ldbl_128): Likewise.
35906 (TEST_COND_ldbl_128ibm): Likewise.
35907 (TEST_COND_long32): Likewise.
35908 (TEST_COND_long64): Likewise.
35909 (TEST_COND_before_rounding): Likewise.
35910 (TEST_COND_after_rounding): Likewise.
35911 (enable_test): Handle XFAIL_TEST flag.
35912 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
35913 with finite results.
35914 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
35915 auto-libm-test-out.
35916
35917 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35918 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35919
35920 [BZ #16214]
35921 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
35922 __tls_get_addr_internal instead of __tls_get_offset in order to
35923 avoid GOT pointer dependency. Make rtld export
35924 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
35925 __tls_get_addr since we are a __tls_get_offset platform.
35926 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
35927 GOT pointer being set up before.
35928 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
35929
35930 2013-11-28 Joseph Myers <joseph@codesourcery.com>
35931
35932 * manual/math.texi (Errors in Math Functions): Document accuracy
35933 goals.
35934
35935 [BZ #15004]
35936 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
35937 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
35938 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35939 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35940 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35941 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35942 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35943 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35944 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35945 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35946 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35947 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35948 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35949 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35950 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35951 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35952
35953 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
35954 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
35955 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
35956 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
35957 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
35958 Likewise.
35959 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
35960 Likewise.
35961 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
35962 Likewise.
35963 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
35964 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
35965 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
35966 atomic-feupdateenv and flt-rounds.
35967 * sysdeps/powerpc/nofpu/Versions (libc): Add
35968 __atomic_feholdexcept, __atomic_feclearexcept,
35969 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
35970 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
35971 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
35972 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
35973 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
35974 here.
35975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
35976 Update.
35977
35978 * manual/arith.texi (FP Exceptions): Document that exceptions may
35979 not be raised when matherr is used.
35980 (Math Error Reporting): Document overflow in directed rounding
35981 modes. Document that errno may not be set when finite values are
35982 returned on overflow. Document intent to set errno on underflow
35983 only for underflow to zero.
35984
35985 [BZ #16271]
35986 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
35987 round-to-nearest then adjust result for other rounding modes.
35988 * include/fenv.h (fegetround): Use libm_hidden_proto.
35989 * math/fegetround.c (fegetround): Use libm_hidden_def.
35990 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
35991 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
35992 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
35993 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
35994 Likewise.
35995 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
35996 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35997 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
35998 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
35999
36000 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36001
36002 [BZ #16077]
36003 * nss/Versions (libnss_files): Add
36004 _nss_files_gethostbyname3_r.
36005 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
36006 New function.
36007 (HOST_DB_LOOKUP): Remove macro.
36008 (_nss_files_gethostbyname_r): Implement function without the
36009 HOST_DB_LOOKUP macro.
36010 (_nss_files_gethostbyname2_r): Likewise.
36011
36012 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
36013
36014 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
36015
36016 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
36017
36018 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
36019 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
36020 warning.
36021
36022 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36023
36024 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
36025 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
36026 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36027 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36028 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
36029 __fe_nomask_env_priv and attribute_hidden.
36030 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
36031 (libc_feupdateenv_test_ppc): Likewise.
36032 (libc_feresetround_ppc): Likewise.
36033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36034 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
36035 compat_symbol macro.
36036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36037 (__fe_nomask_env): Likewise.
36038 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
36039
36040 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
36041
36042 * string/Makefile: Remove ifunc tests.
36043 * string/test-string.h: Define TEST_IFUNC.
36044 * string/test-bcopy-ifunc.c: Remove.
36045 * string/test-bzero-ifunc.c: Likewise.
36046 * string/test-memccpy-ifunc.c: Likewise.
36047 * string/test-memchr-ifunc.c: Likewise.
36048 * string/test-memcmp-ifunc.c: Likewise.
36049 * string/test-memcpy-ifunc.c: Likewise.
36050 * string/test-memmem-ifunc.c: Likewise.
36051 * string/test-memmove-ifunc.c: Likewise.
36052 * string/test-mempcpy-ifunc.c: Likewise.
36053 * string/test-memrchr-ifunc.c: Likewise.
36054 * string/test-memset-ifunc.c: Likewise.
36055 * string/test-rawmemchr-ifunc.c: Likewise.
36056 * string/test-stpcpy-ifunc.c: Likewise.
36057 * string/test-stpncpy-ifunc.c: Likewise.
36058 * string/test-strcasecmp-ifunc.c: Likewise.
36059 * string/test-strcasestr-ifunc.c: Likewise.
36060 * string/test-strcat-ifunc.c: Likewise.
36061 * string/test-strchr-ifunc.c: Likewise.
36062 * string/test-strchrnul-ifunc.c: Likewise.
36063 * string/test-strcmp-ifunc.c: Likewise.
36064 * string/test-strcpy-ifunc.c: Likewise.
36065 * string/test-strcspn-ifunc.c: Likewise.
36066 * string/test-strlen-ifunc.c: Likewise.
36067 * string/test-strncasecmp-ifunc.c: Likewise.
36068 * string/test-strncat-ifunc.c: Likewise.
36069 * string/test-strncmp-ifunc.c: Likewise.
36070 * string/test-strncpy-ifunc.c: Likewise.
36071 * string/test-strnlen-ifunc.c: Likewise.
36072 * string/test-strpbrk-ifunc.c: Likewise.
36073 * string/test-strrchr-ifunc.c: Likewise.
36074 * string/test-strspn-ifunc.c: Likewise.
36075 * string/test-strstr-ifunc.c: Likewise.
36076
36077 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
36078
36079 * benchtests/Makefile: Remove ifunc tests.
36080 * benchtests/bench-string.h: Define TEST_IFUNC.
36081 * benchtests/bench-bcopy-ifunc.c: Remove.
36082 * benchtests/bench-bzero-ifunc.c: Likewise.
36083 * benchtests/bench-memccpy-ifunc.c: Likewise.
36084 * benchtests/bench-memchr-ifunc.c: Likewise.
36085 * benchtests/bench-memcmp-ifunc.c: Likewise.
36086 * benchtests/bench-memcpy-ifunc.c: Likewise.
36087 * benchtests/bench-memmem-ifunc.c: Likewise.
36088 * benchtests/bench-memmove-ifunc.c: Likewise.
36089 * benchtests/bench-mempcpy-ifunc.c: Likewise.
36090 * benchtests/bench-memrchr-ifunc.c: Likewise.
36091 * benchtests/bench-memset-ifunc.c: Likewise.
36092 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
36093 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
36094 * benchtests/bench-stpcpy-ifunc.c: Likewise.
36095 * benchtests/bench-stpncpy-ifunc.c: Likewise.
36096 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
36097 * benchtests/bench-strcasestr-ifunc.c: Likewise.
36098 * benchtests/bench-strcat-ifunc.c: Likewise.
36099 * benchtests/bench-strchr-ifunc.c: Likewise.
36100 * benchtests/bench-strchrnul-ifunc.c: Likewise.
36101 * benchtests/bench-strcmp-ifunc.c: Likewise.
36102 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
36103 * benchtests/bench-strcpy-ifunc.c: Likewise.
36104 * benchtests/bench-strcspn-ifunc.c: Likewise.
36105 * benchtests/bench-strlen-ifunc.c: Likewise.
36106 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
36107 * benchtests/bench-strncat-ifunc.c: Likewise.
36108 * benchtests/bench-strncmp-ifunc.c: Likewise.
36109 * benchtests/bench-strncpy-ifunc.c: Likewise.
36110 * benchtests/bench-strnlen-ifunc.c: Likewise.
36111 * benchtests/bench-strpbrk-ifunc.c: Likewise.
36112 * benchtests/bench-strrchr-ifunc.c: Likewise.
36113 * benchtests/bench-strsep-ifunc.c: Likewise.
36114 * benchtests/bench-strspn-ifunc.c: Likewise.
36115 * benchtests/bench-strstr-ifunc.c: Likewise.
36116
36117 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
36118
36119 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
36120
36121 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
36122
36123 * resolv/netdb.h: Use __glibc_reserved instead __unused.
36124 * rt/aio.h: Likewise.
36125 * sysdeps/gnu/bits/utmp.h: Likewise.
36126 * sysdeps/gnu/bits/utmpx.h: Likewise.
36127 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36128 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
36129 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
36130 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
36131 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
36132 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
36133 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
36134 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
36135 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
36136 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
36137 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
36138 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
36139 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
36140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
36141 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
36142 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
36143 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
36144 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
36145 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
36146 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
36147 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
36148 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
36149 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
36150 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36151 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
36152 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36153 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
36154 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
36155 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
36156 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
36157 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
36158 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
36159 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
36160 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
36161 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
36162 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
36163 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
36164 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
36165 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
36166 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
36167 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
36168 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
36169
36170 2013-11-25 Carlos O'Donell <carlos@redhat.com>
36171
36172 [BZ #16245]
36173 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
36174 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
36175
36176 2013-11-25 Joseph Myers <joseph@codesourcery.com>
36177
36178 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
36179 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
36180 Likewise.
36181
36182 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36183
36184 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
36185 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
36186 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
36187 (__fesetround): Remove define.
36188 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
36189 rounding and exceptions handling.
36190 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
36191 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
36192 (__fe_nomask_env): Likewise.
36193 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
36194 __fegetround instead of fegetround.
36195 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36196 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
36197
36198 2013-11-21 Roland McGrath <roland@hack.frob.com>
36199
36200 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
36201 it's there.
36202
36203 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
36204
36205 2013-11-21 Meador Inge <meadori@codesourcery.com>
36206
36207 [BZ #11157]
36208 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
36209 (encrypt_r): Likewise.
36210 * malloc/obstack.h (obstack_free): Likewise.
36211 * posix/unistd.h (encrypt): Likewise.
36212
36213 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
36214
36215 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
36216 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
36217 DL_CALL_DT_FINI() that call the functions directly.
36218 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
36219 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
36220 * elf/dl-fini.c: Likewise.
36221
36222 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
36223
36224 * malloc/hooks.c (memalign_check): Add alignment rounding.
36225 * malloc/malloc.c (_mid_memalign): New function.
36226 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
36227 Implement by calling _mid_memalign.
36228 * manual/probes.texi (Memory Allocation Probes): Remove
36229 memory_valloc_retry and memory_pvalloc_retry.
36230
36231 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36232
36233 * locale/programs/locarchive.c (open_archive): Add const
36234 qualifier to ARCHIVEFNAME and copy default fname to
36235 DEFAULT_FNAME.
36236
36237 [BZ #15601]
36238 * libio/tst-widetext.input: Rename Oriya to Odia.
36239 * locale/iso-639.def: Likewise.
36240
36241 * manual/probes.texi (Mathematical Function Probes): Add
36242 documentation for sin, cos, asin and acos probes.
36243 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
36244 (__sin32): Add slowasin probe.
36245 (__cos32): Add slowacos probe.
36246 (__mpsin): Add slowsin probe.
36247 (__mpcos): Add slowcos probe.
36248
36249 2013-11-19 Joseph Myers <joseph@codesourcery.com>
36250
36251 [BZ #15483]
36252 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
36253 thread-local __sim_exceptions_thread and global
36254 __sim_exceptions_global.
36255 (__sim_disabled_exceptions): Change to thread-local
36256 __sim_disabled_exceptions_thread and global
36257 __sim_disabled_exceptions_global.
36258 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36259 and global __sim_round_mode_global.
36260 (__simulate_exceptions): Use thread-local floating-point state and
36261 set global state from it as needed.
36262 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
36263 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
36264 __sim_round_mode_thread.
36265 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
36266 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
36267 and global __sim_exceptions_global.
36268 (__sim_disabled_exceptions): Change to thread-local
36269 __sim_disabled_exceptions_thread and global
36270 __sim_disabled_exceptions_global.
36271 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36272 and global __sim_round_mode_global.
36273 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
36274 (SIM_SET_GLOBAL): Likewise.
36275 * sysdeps/powerpc/soft-fp/sfp-machine.h
36276 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
36277 __sim_round_mode_thread.
36278 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
36279 __sim_disabled_exceptions_thread.
36280 (__sim_exceptions): Change to __sim_exceptions_thread.
36281 (__sim_disabled_exceptions): Change to
36282 __sim_disabled_exceptions_thread.
36283 (__sim_round_mode): Change to __sim_round_mode_thread.
36284 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
36285 thread-local floating-point state and set global state from it as
36286 needed.
36287 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
36288 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
36289 (__sim_disabled_exceptions): Remove extern declaration.
36290 (feenableexcept): Use thread-local floating-point state and set
36291 global state from it as needed.
36292 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
36293 extern declaration.
36294 (__sim_disabled_exceptions): Likewise.
36295 (__sim_round_mode): Likewise.
36296 (__fegetenv): Use thread-local floating-point state.
36297 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
36298 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36299 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
36300 floating-point state and set global state from it as needed.
36301 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
36302 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36303 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
36304 Likewise.
36305 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
36306 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
36307 Likewise.
36308 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
36309 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
36310 Use __sim_round_mode_thread.
36311 * math/test-fenv-tls.c: New file.
36312 * math/Makefile (tests): Add test-fenv-tls.
36313 ($(objpfx)test-fenv-tls): Depend on
36314 $(common-objpfx)nptl/libpthread.so.
36315
36316 2013-11-19 Andreas Schwab <schwab@suse.de>
36317
36318 * locale/programs/locale.c (show_info): Decode wordarray elements.
36319 * locale/categories.def (LC_MONETARY): Add element for
36320 _NL_MONETARY_CRNCYSTR.
36321 * locale/C-monetary.c (conversion_rate): New variable.
36322 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
36323 element.
36324
36325 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
36326
36327 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
36328 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
36329
36330 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
36331
36332 * elf/Makefile (tst-auxv): New test.
36333 * elf/tst-auxv.c: New
36334 * elf/rtld.c (dl_main): Adjust AT_EXECFN
36335
36336 2013-11-18 Joseph Myers <joseph@codesourcery.com>
36337
36338 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
36339 (hidden_proto): Caller changed.
36340 (hidden_tls_proto): New macro.
36341 (libc_hidden_tls_proto): Likewise.
36342 (rtld_hidden_tls_proto): Likewise.
36343 (libm_hidden_tls_proto): Likewise.
36344 (libresolv_hidden_tls_proto): Likewise.
36345 (librt_hidden_tls_proto): Likewise.
36346 (libdl_hidden_tls_proto): Likewise.
36347 (libnss_files_hidden_tls_proto): Likewise.
36348 (libnsl_hidden_tls_proto): Likewise.
36349 (libnss_nisplus_hidden_tls_proto): Likewise.
36350 (libutil_hidden_tls_proto): Likewise.
36351
36352 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
36353
36354 [BZ #10253]
36355 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
36356 (decompose_rpath): Defer expansion to fillin_rpath.
36357 (_dl_init_paths): Pass linkmap to fillin_rpath.
36358
36359 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36360
36361 * benchtests/Makefile: Add strsep.
36362 * benchtests/bench-strsep.c: New file: strsep benchtest.
36363 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
36364
36365 2013-11-18 Andreas Schwab <schwab@suse.de>
36366
36367 * locale/programs/locale.c (show_info) [case byte]: Check for
36368 '\377' instead of '\177'.
36369 * locale/C-monetary.c (not_available): Always use "\377".
36370 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
36371 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
36372 detect unavailable sign_posn locale elements.
36373 * locale/localeconv.c (__localeconv): For grouping and
36374 mon_grouping handle "\177" and "\377" like no grouping.
36375 (INT_ELEM): New macro. Use it to set all numeric members.
36376 * locale/programs/ld-monetary.c (monetary_read)
36377 <tok_mon_grouping>: Normalize single -1 to the empty string.
36378 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
36379 Likewise.
36380
36381 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
36382
36383 [BZ #16055]
36384 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
36385 when we match (nil).
36386 * stdio-common/tst-sscanf.c (struct test): Add testcase.
36387
36388 2013-11-16 Joseph Myers <joseph@codesourcery.com>
36389
36390 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
36391 (NO_TEST_INLINE): Update value.
36392 (ERRNO_UNCHANGED): Likewise.
36393 (ERRNO_EDOM): Likewise.
36394 (ERRNO_ERANGE): Likewise.
36395 (IGNORE_RESULT): Likewise.
36396 (check_float_internal): Check signs of NaN results if
36397 TEST_NAN_SIGN used.
36398 (check_complex): Pass TEST_NAN_SIGN flag through to second
36399 check_float_internal call.
36400 (copysign_test_data): Add tests with quiet NaNs as second
36401 argument. Use TEST_NAN_SIGN.
36402 (fabs_test_data): Add test of negative quiet NaN argument. Use
36403 TEST_NAN_SIGN.
36404 (signbit_test_data): Add tests of quiet NaN argument.
36405 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
36406
36407 * math/gen-libm-test.pl (show_exceptions): Take extra argument
36408 $ignore_result.
36409 (parse_args): Handle function results specified as IGNORE.
36410 * math/libm-test.inc (IGNORE_RESULT): New macro.
36411 (check_float_internal): Do not check numerical result if flag
36412 IGNORE_RESULT set.
36413 (check_complex): Pass through IGNORE_RESULT to second
36414 check_float_internal call.
36415 (check_int): Do not check numerical result if flag IGNORE_RESULT
36416 set.
36417 (check_long): Likewise.
36418 (check_bool): Likewise.
36419 (check_longlong): Likewise.
36420 (lrint_test_data): Add tests of infinite and NaN arguments.
36421 (lrint_tonearest_test_data): Likewise.
36422 (lrint_towardzero_test_data): Likewise.
36423 (lrint_downward_test_data): Likewise.
36424 (lrint_upward_test_data): Likewise.
36425 (llrint_test_data): Likewise.
36426 (llrint_tonearest_test_data): Likewise.
36427 (llrint_towardzero_test_data): Likewise.
36428 (llrint_downward_test_data): Likewise.
36429 (llrint_upward_test_data): Likewise.
36430 (lround_test_data): Likewise.
36431 (llround_test_data): Likewise.
36432
36433 * math/libm-test.inc (NO_TEST_INLINE): New macro.
36434 (ERRNO_UNCHANGED): Update value.
36435 (ERRNO_EDOM): Likewise.
36436 (ERRNO_ERANGE): Likewise.
36437 (NO_TEST_INLINE_FLOAT): New macro.
36438 (NO_TEST_INLINE_DOUBLE): Likewise.
36439 (enable_test): New function.
36440 (RUN_TEST_f_f): Check enable_test before running test.
36441 (RUN_TEST_2_f): Likewise.
36442 (RUN_TEST_fff_f): Likewise.
36443 (RUN_TEST_c_f): Likewise.
36444 (RUN_TEST_f_f1): Likewise.
36445 (RUN_TEST_fF_f1): Likewise.
36446 (RUN_TEST_fI_f1): Likewise.
36447 (RUN_TEST_ffI_f1): Likewise.
36448 (RUN_TEST_c_c): Likewise.
36449 (RUN_TEST_cc_c): Likewise.
36450 (RUN_TEST_f_i): Likewise.
36451 (RUN_TEST_f_i_tg): Likewise.
36452 (RUN_TEST_ff_i_tg): Likewise.
36453 (RUN_TEST_f_b): Likewise.
36454 (RUN_TEST_f_b_tg): Likewise.
36455 (RUN_TEST_f_l): Likewise.
36456 (RUN_TEST_f_L): Likewise.
36457 (RUN_TEST_fFF_11): Likewise.
36458 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
36459 conditionals.
36460 (cosh_test_data): Likewise.
36461 (exp_test_data): Likewise.
36462 (expm1_test_data): Likewise.
36463 (hypot_test_data): Likewise.
36464 (pow_test_data): Likewise.
36465 (sinh_test_data): Likewise.
36466 (tanh_test_data): Likewise.
36467 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
36468 flags argument.
36469
36470 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
36471 tests with quiet NaN input and output.
36472 (acosh_test_data): Likewise.
36473 (asin_test_data): Likewise.
36474 (asinh_test_data): Likewise.
36475 (atan_test_data): Likewise.
36476 (atanh_test_data): Likewise.
36477 (atan2_test_data): Likewise.
36478 (cbrt_test_data): Likewise.
36479 (cos_test_data): Likewise.
36480 (cosh_test_data): Likewise.
36481 (erf_test_data): Likewise.
36482 (erfc_test_data): Likewise.
36483 (exp_test_data): Likewise.
36484 (exp10_test_data): Likewise.
36485 (exp2_test_data): Likewise.
36486 (expm1_test_data): Likewise.
36487 (hypot_test_data): Likewise.
36488 (j0_test_data): Likewise.
36489 (j1_test_data): Likewise.
36490 (jn_test_data): Likewise.
36491 (lgamma_test_data): Likewise.
36492 (log_test_data): Likewise.
36493 (log10_test_data): Likewise.
36494 (log1p_test_data): Likewise.
36495 (log2_test_data): Likewise.
36496 (pow_test_data): Likewise.
36497 (scalb_test_data): Likewise.
36498 (sin_test_data): Likewise.
36499 (sincos_test_data): Likewise.
36500 (sinh_test_data): Likewise.
36501 (tan_test_data): Likewise.
36502 (tanh_test_data): Likewise.
36503 (tgamma_test_data): Likewise.
36504 (y0_test_data): Likewise.
36505 (y1_test_data): Likewise.
36506 (yn_test_data): Likewise.
36507
36508 [BZ #16167]
36509 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
36510 argument being NaN and avoid computations with second argument in
36511 that case.
36512 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36513 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
36514 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36515
36516 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
36517
36518 * locale/iso-639.def: Add Chitwani Tharu (the).
36519
36520 2013-11-14 Andreas Schwab <schwab@suse.de>
36521
36522 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
36523 word instead of empty string.
36524
36525 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36526
36527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36528 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
36529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36530 (__fe_nomask_env): Likewise.
36531
36532 2013-11-13 Steve Ellcey <sellcey@mips.com>
36533
36534 * benchtests/bench-timing.h: Include time.h.
36535
36536 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
36537
36538 [BZ #15997]
36539 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
36540 to 3.4.0 for x32.
36541 * sysdeps/unix/sysv/linux/configure: Regenerated.
36542
36543 2013-11-13 Joseph Myers <joseph@codesourcery.com>
36544
36545 [BZ #16151]
36546 * stdlib/strtod_l.c (round_and_return): Do not consider
36547 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
36548 exponent one less than half the least subnormal exponent.
36549 * stdlib/test-strtod-round-data: Add more tests.
36550 * stdlib/tst-strtod-round.c (tests): Regenerated.
36551
36552 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36553
36554 [BZ #14143]
36555 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
36556 (__fe_mask_env): Likewise.
36557 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
36558 libm_hidden_proto and add function prototype.
36559 (__fe_mask_env): Add function prototype.
36560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36561 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
36562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36563 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
36564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36565 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
36566
36567 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36568
36569 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
36570 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
36571
36572 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36573
36574 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
36575 of htab_find_slot().
36576
36577 2013-11-11 David S. Miller <davem@davemloft.net>
36578
36579 [BZ #16150]
36580 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
36581 symbol in the non-vis3 case in static builds.
36582 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
36583 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
36584 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
36585 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
36586
36587 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
36588
36589 [BZ #387]
36590 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
36591 it is empty.
36592
36593 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36594
36595 * benchtests/Makefile: Add bench-strtod.
36596 * benchtests/bench-strtod.c: New file: strtod benchtest
36597
36598 2013-11-11 Andreas Schwab <schwab@suse.de>
36599
36600 [BZ #16153]
36601 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
36602 terminating NUL in key length.
36603
36604 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36605
36606 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36607 Add artificial ODP entry for vDSO symbol for PPC64.
36608 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
36609 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
36610
36611 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
36612
36613 [BZ #15374]
36614 * nss/getent.c (services_keys): Recognize services starting with digit.
36615
36616 2013-11-06 David S. Miller <davem@davemloft.net>
36617
36618 [BZ #15985]
36619 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
36620 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
36621
36622 2013-11-06 Will Newton <will.newton@linaro.org>
36623
36624 * manual/memory.texi (Malloc Examples): Remove register
36625 keyword from examples.
36626
36627 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
36628
36629 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
36630
36631 2013-11-04 Joseph Myers <joseph@codesourcery.com>
36632
36633 [BZ #6981]
36634 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
36635 depending on [__GCC_IEC_559 > 0].
36636 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
36637 depending on [__GCC_IEC_559_COMPLEX > 0].
36638
36639 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
36640
36641 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
36642 to iso-639.def.
36643
36644 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
36645
36646 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
36647
36648 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
36649
36650 [BZ #16112]
36651 * malloc/malloc (malloc_info): Do not handle first bin as
36652 special case.
36653
36654 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
36655
36656 * locale/iso-639.def: Add Central Nahuatl (nhn).
36657
36658 2013-11-01 Bruno Haible <bruno@clisp.org>
36659
36660 [BZ #7003]
36661 * manual/math.texi (BSD Random): Specify range upper bound as
36662 in POSIX.
36663
36664 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
36665
36666 * locale/iso-639.def: Add Meadow Mari (mhr).
36667
36668 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
36669
36670 [BZ #14752], [BZ #15763]
36671 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
36672 Validate name.
36673 * rt/tst_shm.c: Add test for escaping directory.
36674
36675 2013-10-31 Andreas Schwab <schwab@suse.de>
36676
36677 [BZ #15917]
36678 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
36679 followed by 'x' as part of digit sequence.
36680 * stdio-common/tst-sscanf.c (double_tests2): New tests.
36681
36682 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
36683
36684 [BZ #16037]
36685 * configure.ac: allow GNU Make 4.0 and greater.
36686 * configure: Regenerated.
36687
36688 2013-10-30 Will Newton <will.newton@linaro.org>
36689
36690 [BZ #16038]
36691 * malloc/hooks.c (memalign_check): Limit alignment to the
36692 maximum representable power of two.
36693 * malloc/malloc.c (__libc_memalign): Likewise.
36694 * malloc/tst-memalign.c (do_test): Add test for very
36695 large alignment values.
36696 * malloc/tst-posix_memalign.c (do_test): Likewise.
36697
36698 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
36699
36700 [BZ #11087]
36701 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
36702 (munmap_chunk): Likewise.
36703 (mremap_chunk): Likewise.
36704
36705 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
36706
36707 [BZ #15799]
36708 * stdlib/div.c (div): Remove obsolete code.
36709 * stdlib/ldiv.c (ldiv): Likewise.
36710 * stdlib/lldiv.c (lldiv): Likewise.
36711
36712 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36713
36714 [BZ #16071]
36715 * nss/nss_files/files-XXX.c (get_contents_ret): New
36716 enumerator.
36717 (get_contents): New function.
36718 (internal_getent): Use it. Expand size of LINEBUFLEN.
36719
36720 2013-10-30 Mike Frysinger <vapier@gentoo.org>
36721
36722 * configure.in: Moved to ...
36723 * configure.ac: ... here. Change reference to configure.in
36724 to configure.ac.
36725 * sysdeps/arm/preconfigure.ac: ... here.
36726 configure.in to configure.ac.
36727 * sysdeps/gnu/configure.in: Moved to ...
36728 * sysdeps/gnu/configure.ac: ... here.
36729 * sysdeps/i386/configure.in: Moved to ...
36730 * sysdeps/i386/configure.ac: ... here.
36731 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
36732 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
36733 * sysdeps/mach/configure.in: Moved to ...
36734 * sysdeps/mach/configure.ac: ... here.
36735 * sysdeps/mach/hurd/configure.in: Moved to ...
36736 * sysdeps/mach/hurd/configure.ac: ... here.
36737 * sysdeps/powerpc/configure.in: Moved to ...
36738 * sysdeps/powerpc/configure.ac: ... here.
36739 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
36740 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
36741 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
36742 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
36743 * sysdeps/s390/s390-32/configure.in: Moved to ...
36744 * sysdeps/s390/s390-32/configure.ac: ... here.
36745 * sysdeps/s390/s390-64/configure.in: Moved to ...
36746 * sysdeps/s390/s390-64/configure.ac: ... here.
36747 * sysdeps/sh/configure.in: Moved to ...
36748 * sysdeps/sh/configure.ac: ... here.
36749 * sysdeps/sparc/configure.in: Moved to ...
36750 * sysdeps/sparc/configure.ac: ... here.
36751 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
36752 * sysdeps/unix/sysv/linux/configure.ac: ... here.
36753 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
36754 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
36755 * sysdeps/x86_64/configure.in: Moved to ...
36756 * sysdeps/x86_64/configure.ac: ... here.
36757 * sysdeps/x86_64/preconfigure.in: Moved to ...
36758 * sysdeps/x86_64/preconfigure.ac: ... here.
36759 * aclocal.m4: Change reference to configure.in to configure.ac.
36760 * config.h.in: Likewise.
36761 * manual/install.texi: Likewise.
36762 * manual/maint.texi: Likewise.
36763 * Makefile: Likewise.
36764 * malloc/Makefile: Likewise.
36765 * nscd/Makefile: Likewise.
36766 * Makeconfig: Change reference to configure.in and
36767 preconfigure.in to configure.ac and preconfigure.ac
36768 respectively.
36769 * INSTALL: Regenerated.
36770 * configure: Likewise.
36771 * sysdeps/gnu/configure: Likewise.
36772 * sysdeps/i386/configure: Likewise.
36773 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
36774 * sysdeps/mach/configure: Likewise.
36775 * sysdeps/mach/hurd/configure: Likewise.
36776 * sysdeps/powerpc/configure: Likewise.
36777 * sysdeps/powerpc/powerpc32/configure: Likewise.
36778 * sysdeps/powerpc/powerpc64/configure: Likewise.
36779 * sysdeps/s390/s390-32/configure: Likewise.
36780 * sysdeps/s390/s390-64/configure: Likewise.
36781 * sysdeps/sh/configure: Likewise.
36782 * sysdeps/sparc/configure: Likewise.
36783 * sysdeps/unix/sysv/linux/configure: Likewise.
36784 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
36785 * sysdeps/x86_64/configure: Likewise.
36786 * sysdeps/x86_64/preconfigure: Likewise.
36787
36788 2013-10-29 Andreas Schwab <schwab@suse.de>
36789
36790 * stdio-common/Makefile (tst-swscanf-ENV): Define.
36791
36792 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36793
36794 * benchtests/pow-inputs: Add new inputs.
36795
36796 * benchtests/exp-inputs: Add new inputs.
36797
36798 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
36799 conditional check for return value.
36800 (__cos32): Likewise.
36801
36802 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36803
36804 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
36805 to provide a boost for large inputs with word alignment.
36806 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
36807 implementation based on optimized PPC64 strcpy.
36808 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
36809 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
36810 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
36811 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
36812
36813 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
36814
36815 [BZ #2801]
36816 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
36817
36818 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
36819
36820 [BZ #14876]
36821 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
36822 * time/tst-strptime.c (day_tests): Add testcase.
36823
36824 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
36825
36826 [BZ #14029]
36827 * manual/pattern.texi: Acknowledge that fnmatch can fail.
36828
36829 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
36830
36831 [BZ #16074]
36832 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
36833 MAP_FAILED on error.
36834
36835 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36836
36837 [BZ #16072]
36838 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
36839 heap for large requests.
36840
36841 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
36842
36843 [BZ #9954]
36844 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
36845 result if the result has no associated interface.
36846 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
36847 interface for all 127.X.Y.Z addresses.
36848
36849 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
36850
36851 * locale/iso-639.def: Add Ligurian (lij)
36852
36853 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
36854
36855 [BZ #15825]
36856 * sunrpc/rpc_main.c: Document rpcgen -5.
36857
36858 2013-10-19 Michael Stahl <mstahl@redhat.com>
36859
36860 * elf/rtld.c (do_preload): Print the reason why preloading failed.
36861
36862 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
36863
36864 [BZ #10278]
36865 * posix/glob.c: Match only directories when trailing slash is present.
36866 * posix/tst-gnuglob.c (my_opendir): Do not open files.
36867 (main): Add testcase.
36868
36869 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
36870
36871 [BZ #15670]
36872 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
36873
36874 2013-10-18 Carlos O'Donell <carlos@redhat.com>
36875
36876 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
36877 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
36878 AUTH_DES and cindex for FIPS 140-2.
36879 (DES Encryption): Add cindex FIPS 46-3.
36880
36881 * locale/locarchive.h (struct locarhandle): Add fname.
36882 * locale/programs/localedef.c (main): Pass ARGV[remaining]
36883 if an optional argument was specified to --list-archive,
36884 otherwise NULL.
36885 * locale/programs/locarchive.c (show_archive_content): Take new
36886 argument fname and pass it via ah.fname to open_archive.
36887 * locale/programs/localedef.h: Update decl.
36888 (open_archive): If AH->fname is non-null, open that file
36889 rather than the default file name, and don't ignore ENOENT.
36890 (create_archive): Set AH.fname to NULL.
36891 (delete_locales_from_archive): Likewise.
36892 (add_locales_to_archive): Likewise.
36893 * locale/programs/locfile.c (write_all_categories): Likewise.
36894
36895 2013-10-18 Joseph Myers <joseph@codesourcery.com>
36896 Aldy Hernandez <aldyh@redhat.com>
36897
36898 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
36899 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
36900 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
36901 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
36902 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
36903 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
36904 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
36905 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
36906 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
36907 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
36908 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
36909 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
36910 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
36911 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
36912 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
36913 Likewise.
36914 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
36915 Likewise.
36916 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
36917 Likewise.
36918 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
36919 Likewise.
36920 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
36921 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
36922 Likewise.
36923 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
36924 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
36925 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
36926 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
36927 Likewise.
36928 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
36929 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
36930 * sysdeps/powerpc/preconfigure: Likewise.
36931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
36932 Likewise.
36933 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
36934 Replace contents of file by #include of <fenv_libc.h>.
36935 * sysdeps/powerpc/soft-fp/sfp-machine.h
36936 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
36937 and <sys/prctl.h>.
36938 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
36939 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
36940 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
36941 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
36942 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
36943 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
36944 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
36945 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
36946 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
36947 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
36948 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
36949 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
36950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36951 Allow copysignl PLT reference to be missing.
36952
36953 2013-10-18 Richard Sandiford <richard@codesourcery.com>
36954 Joseph Myers <joseph@codesourcery.com
36955
36956 [BZ #15948]
36957 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
36958 single character.
36959 (add_to_tablewc): Assert sequence of wide characters is nonempty.
36960
36961 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36962
36963 * elf/tst-tls-dlinfo.c: Don't include tls.h.
36964 * elf/tst-tls1.c: Likewise.
36965 * elf/tst-tls10.h: Likewise.
36966 * elf/tst-tls14.c: Likewise.
36967 * elf/tst-tls2.c: Likewise.
36968 * elf/tst-tls3.c: Likewise.
36969 * elf/tst-tls4.c: Likewise.
36970 * elf/tst-tls5.c: Likewise.
36971 * elf/tst-tls6.c: Likewise.
36972 * elf/tst-tls7.c: Likewise.
36973 * elf/tst-tls8.c: Likewise.
36974 * elf/tst-tls9.c: Likewise.
36975 * elf/tst-tlsmod1.c: Likewise.
36976 * elf/tst-tlsmod13.c: Likewise.
36977 * elf/tst-tlsmod13a.c: Likewise.
36978 * elf/tst-tlsmod14a.c: Likewise.
36979 * elf/tst-tlsmod16a.c: Likewise.
36980 * elf/tst-tlsmod16b.c: Likewise.
36981 * elf/tst-tlsmod2.c: Likewise.
36982 * elf/tst-tlsmod3.c: Likewise.
36983 * elf/tst-tlsmod4.c: Likewise.
36984 * elf/tst-tlsmod5.c: Likewise.
36985 * elf/tst-tlsmod6.c: Likewise.
36986
36987 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
36988
36989 [BZ #12486]
36990 * malloc/malloc.c: remove checks for statistics.
36991
36992 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
36993
36994 [BZ #15277]
36995 * inet/inet_net.c (inet_network): Detect additional invalid strings.
36996 * inet/tst-network.c: Add testcase.
36997
36998 2013-10-17 Andreas Schwab <schwab@suse.de>
36999
37000 [BZ #15218]
37001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
37002 to determine canonical name.
37003
37004 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
37005
37006 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
37007 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
37008 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37009 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37010 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37011 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37012 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37013 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37014 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37015 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37016 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37017 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37018 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37019 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37020 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37021 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37022 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37023 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37024 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37025 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37026 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37027 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37028 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37029 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
37030 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
37031 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37032 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37033 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
37034 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37035 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
37036 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37037 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37038 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37039 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37040 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37041 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37042 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37043 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37044 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37045 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37046 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37047 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37048 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37049 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37050 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37051 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37052 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37053 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37054 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37055 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37056 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37057 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37058 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37059 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37060 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37061 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37062 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37063 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37064
37065 2013-10-17 Joseph Myers <joseph@codesourcery.com>
37066
37067 [BZ #16041]
37068 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
37069 make result into a quiet NaN.
37070
37071 2013-10-16 Joseph Myers <joseph@codesourcery.com>
37072
37073 * soft-fp/adddf3.c: Fix horizontal whitespace.
37074 * soft-fp/addsf3.c: Likewise.
37075 * soft-fp/addtf3.c: Likewise.
37076 * soft-fp/divdf3.c: Likewise.
37077 * soft-fp/divsf3.c: Likewise.
37078 * soft-fp/divtf3.c: Likewise.
37079 * soft-fp/double.h: Likewise.
37080 * soft-fp/eqdf2.c: Likewise.
37081 * soft-fp/eqsf2.c: Likewise.
37082 * soft-fp/eqtf2.c: Likewise.
37083 * soft-fp/extenddftf2.c: Likewise.
37084 * soft-fp/extended.h: Likewise.
37085 * soft-fp/extendsfdf2.c: Likewise.
37086 * soft-fp/extendsftf2.c: Likewise.
37087 * soft-fp/extendxftf2.c: Likewise.
37088 * soft-fp/fixdfdi.c: Likewise.
37089 * soft-fp/fixdfsi.c: Likewise.
37090 * soft-fp/fixdfti.c: Likewise.
37091 * soft-fp/fixsfdi.c: Likewise.
37092 * soft-fp/fixsfsi.c: Likewise.
37093 * soft-fp/fixsfti.c: Likewise.
37094 * soft-fp/fixtfdi.c: Likewise.
37095 * soft-fp/fixtfsi.c: Likewise.
37096 * soft-fp/fixtfti.c: Likewise.
37097 * soft-fp/fixunsdfdi.c: Likewise.
37098 * soft-fp/fixunsdfsi.c: Likewise.
37099 * soft-fp/fixunsdfti.c: Likewise.
37100 * soft-fp/fixunssfdi.c: Likewise.
37101 * soft-fp/fixunssfsi.c: Likewise.
37102 * soft-fp/fixunssfti.c: Likewise.
37103 * soft-fp/fixunstfdi.c: Likewise.
37104 * soft-fp/fixunstfsi.c: Likewise.
37105 * soft-fp/fixunstfti.c: Likewise.
37106 * soft-fp/floatdidf.c: Likewise.
37107 * soft-fp/floatdisf.c: Likewise.
37108 * soft-fp/floatditf.c: Likewise.
37109 * soft-fp/floatsidf.c: Likewise.
37110 * soft-fp/floatsisf.c: Likewise.
37111 * soft-fp/floatsitf.c: Likewise.
37112 * soft-fp/floattidf.c: Likewise.
37113 * soft-fp/floattisf.c: Likewise.
37114 * soft-fp/floattitf.c: Likewise.
37115 * soft-fp/floatundidf.c: Likewise.
37116 * soft-fp/floatundisf.c: Likewise.
37117 * soft-fp/floatunditf.c: Likewise.
37118 * soft-fp/floatunsidf.c: Likewise.
37119 * soft-fp/floatunsisf.c: Likewise.
37120 * soft-fp/floatunsitf.c: Likewise.
37121 * soft-fp/floatuntidf.c: Likewise.
37122 * soft-fp/floatuntisf.c: Likewise.
37123 * soft-fp/floatuntitf.c: Likewise.
37124 * soft-fp/fmadf4.c: Likewise.
37125 * soft-fp/fmasf4.c: Likewise.
37126 * soft-fp/fmatf4.c: Likewise.
37127 * soft-fp/gedf2.c: Likewise.
37128 * soft-fp/gesf2.c: Likewise.
37129 * soft-fp/getf2.c: Likewise.
37130 * soft-fp/ledf2.c: Likewise.
37131 * soft-fp/lesf2.c: Likewise.
37132 * soft-fp/letf2.c: Likewise.
37133 * soft-fp/muldf3.c: Likewise.
37134 * soft-fp/mulsf3.c: Likewise.
37135 * soft-fp/multf3.c: Likewise.
37136 * soft-fp/negdf2.c: Likewise.
37137 * soft-fp/negsf2.c: Likewise.
37138 * soft-fp/negtf2.c: Likewise.
37139 * soft-fp/op-1.h: Likewise.
37140 * soft-fp/op-2.h: Likewise.
37141 * soft-fp/op-4.h: Likewise.
37142 * soft-fp/op-8.h: Likewise.
37143 * soft-fp/op-common.h: Likewise.
37144 * soft-fp/quad.h: Likewise.
37145 * soft-fp/single.h: Likewise.
37146 * soft-fp/soft-fp.h: Likewise.
37147 * soft-fp/sqrtdf2.c: Likewise.
37148 * soft-fp/sqrtsf2.c: Likewise.
37149 * soft-fp/sqrttf2.c: Likewise.
37150 * soft-fp/subdf3.c: Likewise.
37151 * soft-fp/subsf3.c: Likewise.
37152 * soft-fp/subtf3.c: Likewise.
37153 * soft-fp/truncdfsf2.c: Likewise.
37154 * soft-fp/trunctfdf2.c: Likewise.
37155 * soft-fp/trunctfsf2.c: Likewise.
37156 * soft-fp/trunctfxf2.c: Likewise.
37157 * soft-fp/unorddf2.c: Likewise.
37158 * soft-fp/unordsf2.c: Likewise.
37159 * soft-fp/unordtf2.c: Likewise.
37160
37161 2013-10-15 Joseph Myers <joseph@codesourcery.com>
37162
37163 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
37164 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
37165
37166 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
37167
37168 * elf/dl-libc.c: Clear initfini list after freeing.
37169
37170 2013-10-14 Joseph Myers <joseph@codesourcery.com>
37171
37172 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
37173 * soft-fp/addsf3.c: Likewise.
37174 * soft-fp/addtf3.c: Likewise.
37175 * soft-fp/divdf3.c: Likewise.
37176 * soft-fp/divsf3.c: Likewise.
37177 * soft-fp/divtf3.c: Likewise.
37178 * soft-fp/double.h: Likewise.
37179 * soft-fp/eqdf2.c: Likewise.
37180 * soft-fp/eqsf2.c: Likewise.
37181 * soft-fp/eqtf2.c: Likewise.
37182 * soft-fp/extenddftf2.c: Likewise.
37183 * soft-fp/extended.h: Likewise.
37184 * soft-fp/extendsfdf2.c: Likewise.
37185 * soft-fp/extendsftf2.c: Likewise.
37186 * soft-fp/extendxftf2.c: Likewise.
37187 * soft-fp/fixdfdi.c: Likewise.
37188 * soft-fp/fixdfsi.c: Likewise.
37189 * soft-fp/fixdfti.c: Likewise.
37190 * soft-fp/fixsfdi.c: Likewise.
37191 * soft-fp/fixsfsi.c: Likewise.
37192 * soft-fp/fixsfti.c: Likewise.
37193 * soft-fp/fixtfdi.c: Likewise.
37194 * soft-fp/fixtfsi.c: Likewise.
37195 * soft-fp/fixtfti.c: Likewise.
37196 * soft-fp/fixunsdfdi.c: Likewise.
37197 * soft-fp/fixunsdfsi.c: Likewise.
37198 * soft-fp/fixunsdfti.c: Likewise.
37199 * soft-fp/fixunssfdi.c: Likewise.
37200 * soft-fp/fixunssfsi.c: Likewise.
37201 * soft-fp/fixunssfti.c: Likewise.
37202 * soft-fp/fixunstfdi.c: Likewise.
37203 * soft-fp/fixunstfsi.c: Likewise.
37204 * soft-fp/fixunstfti.c: Likewise.
37205 * soft-fp/floatdidf.c: Likewise.
37206 * soft-fp/floatdisf.c: Likewise.
37207 * soft-fp/floatditf.c: Likewise.
37208 * soft-fp/floatsidf.c: Likewise.
37209 * soft-fp/floatsisf.c: Likewise.
37210 * soft-fp/floatsitf.c: Likewise.
37211 * soft-fp/floattidf.c: Likewise.
37212 * soft-fp/floattisf.c: Likewise.
37213 * soft-fp/floattitf.c: Likewise.
37214 * soft-fp/floatundidf.c: Likewise.
37215 * soft-fp/floatundisf.c: Likewise.
37216 * soft-fp/floatunsidf.c: Likewise.
37217 * soft-fp/floatunsisf.c: Likewise.
37218 * soft-fp/floatuntidf.c: Likewise.
37219 * soft-fp/floatuntisf.c: Likewise.
37220 * soft-fp/floatuntitf.c: Likewise.
37221 * soft-fp/fmadf4.c: Likewise.
37222 * soft-fp/fmasf4.c: Likewise.
37223 * soft-fp/fmatf4.c: Likewise.
37224 * soft-fp/gedf2.c: Likewise.
37225 * soft-fp/gesf2.c: Likewise.
37226 * soft-fp/getf2.c: Likewise.
37227 * soft-fp/ledf2.c: Likewise.
37228 * soft-fp/lesf2.c: Likewise.
37229 * soft-fp/letf2.c: Likewise.
37230 * soft-fp/muldf3.c: Likewise.
37231 * soft-fp/mulsf3.c: Likewise.
37232 * soft-fp/multf3.c: Likewise.
37233 * soft-fp/negdf2.c: Likewise.
37234 * soft-fp/negsf2.c: Likewise.
37235 * soft-fp/negtf2.c: Likewise.
37236 * soft-fp/op-1.h: Likewise.
37237 * soft-fp/op-2.h: Likewise.
37238 * soft-fp/op-4.h: Likewise.
37239 * soft-fp/op-8.h: Likewise.
37240 * soft-fp/op-common.h: Likewise.
37241 * soft-fp/quad.h: Likewise.
37242 * soft-fp/single.h: Likewise.
37243 * soft-fp/soft-fp.h: Likewise.
37244 * soft-fp/sqrtdf2.c: Likewise.
37245 * soft-fp/sqrtsf2.c: Likewise.
37246 * soft-fp/sqrttf2.c: Likewise.
37247 * soft-fp/subdf3.c: Likewise.
37248 * soft-fp/subsf3.c: Likewise.
37249 * soft-fp/subtf3.c: Likewise.
37250 * soft-fp/truncdfsf2.c: Likewise.
37251 * soft-fp/trunctfdf2.c: Likewise.
37252 * soft-fp/trunctfsf2.c: Likewise.
37253 * soft-fp/trunctfxf2.c: Likewise.
37254 * soft-fp/unorddf2.c: Likewise.
37255 * soft-fp/unordsf2.c: Likewise.
37256 * soft-fp/unordtf2.c: Likewise.
37257
37258 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
37259
37260 [BZ #15672]
37261 * misc/error.c (error_tail): Fix possible buffer overflow.
37262
37263 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
37264
37265 [BZ #13028]
37266 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
37267 address.
37268
37269 2013-10-14 P. J. McDermott <pj@pehjota.net>
37270
37271 [BZ #832]
37272 * elf/ldd.bash.in (try_trace): New function. Delete previous code
37273 testing pipefail option.
37274
37275 2013-10-12 Joseph Myers <joseph@codesourcery.com>
37276
37277 * soft-fp/double.h: Indent preprocessor directives inside #if.
37278 * soft-fp/extended.h: Likewise.
37279 * soft-fp/op-2.h: Likewise.
37280 * soft-fp/op-4.h: Likewise.
37281 * soft-fp/op-common.h: Likewise.
37282 * soft-fp/quad.h: Likewise.
37283 * soft-fp/single.h: Likewise.
37284 * soft-fp/soft-fp.h: Likewise.
37285
37286 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
37287
37288 * iconv/iconv_prog.c: Fix typos.
37289 * stdio-common/psiginfo-data.h: Likewise.
37290
37291 2013-10-12 Reuben Thomas <rrt@sc3d.org>
37292
37293 [BZ #15764]
37294 * locale/setlocale.c: Fix typo.
37295
37296 2013-10-12 Joseph Myers <joseph@codesourcery.com>
37297
37298 [BZ #16036]
37299 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
37300 signaling NaN arguments.
37301 * soft-fp/unordsf2.c (__unordsf2): Likewise.
37302 * soft-fp/unordtf2.c (__unordtf2): Likewise.
37303
37304 [BZ #14910]
37305 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
37306 unordered operands.
37307 * soft-fp/gesf2.c (__gesf2): Likewise.
37308 * soft-fp/getf2.c (__getf2): Likewise.
37309 * soft-fp/ledf2.c (__ledf2): Likewise.
37310 * soft-fp/lesf2.c (__lesf2): Likewise.
37311 * soft-fp/letf2.c (__letf2): Likewise.
37312
37313 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
37314 * soft-fp/eqsf2.c (__eqsf2): Likewise.
37315 * soft-fp/eqtf2.c (__eqtf2): Likewise.
37316 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
37317 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
37318 * soft-fp/fixdfti.c (__fixdfti): Likewise.
37319 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
37320 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
37321 * soft-fp/fixsfti.c (__fixsfti): Likewise.
37322 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
37323 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
37324 * soft-fp/fixtfti.c (__fixtfti): Likewise.
37325 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
37326 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
37327 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
37328 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
37329 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
37330 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
37331 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
37332 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
37333 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
37334 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
37335 * soft-fp/floatdisf.c (__floatdisf): Likewise.
37336 * soft-fp/floatsisf.c (__floatsisf): Likewise.
37337 * soft-fp/floattidf.c (__floattidf): Likewise.
37338 * soft-fp/floattisf.c (__floattisf): Likewise.
37339 * soft-fp/floattitf.c (__floattitf): Likewise.
37340 * soft-fp/floatundidf.c (__floatundidf): Likewise.
37341 * soft-fp/floatundisf.c (__floatundisf): Likewise.
37342 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
37343 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
37344 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
37345 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
37346 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
37347 * soft-fp/gesf2.c (__gesf2): Likewise.
37348 * soft-fp/getf2.c (__getf2): Likewise.
37349 * soft-fp/ledf2.c (__ledf2): Likewise.
37350 * soft-fp/lesf2.c (__lesf2): Likewise.
37351 * soft-fp/letf2.c (__letf2): Likewise.
37352
37353 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
37354 Undefine and redefine.
37355 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
37356 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
37357 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
37358 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
37359 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37360 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
37361 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37362 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
37363 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37364 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
37365 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37366 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
37367 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37368 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
37369 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37370
37371 [BZ #16032]
37372 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
37373 without decrementing exponent if mantissa >= that for the
37374 denominator, not >.
37375 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
37376 denominator, not >. Decrement exponent in < case instead of
37377 incrementing in >= case.
37378 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
37379 without decrementing exponent if mantissa >= that for the
37380 denominator, not >.
37381
37382 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
37383 computing saturated result for unsigned overflow.
37384
37385 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37386 Jeff Law <law@redhat.com>
37387
37388 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
37389 (atan2Mp): Add systemtap probe marker.
37390 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
37391 (__ieee754_log): Add systemtap probe marker.
37392 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
37393 (atanMp): Add systemtap probe marker.
37394 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
37395 (tanMp): Add systemtap probe marker.
37396 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
37397 (__slowexp): Add systemtap probe marker.
37398 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
37399 (__slowpow): Add systemtap probe marker.
37400 * manual/probes.texi: Document probes.
37401
37402 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
37403
37404 [BZ #15362]
37405 * libio/fileops.c (_IO_new_file_write): Return count of bytes
37406 written.
37407 (_IO_new_file_xsputn): Don't return EOF if nothing has been
37408 written.
37409 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
37410 written to buffer but not flushed.
37411 * libio/iofwrite_u.c: Likewise.
37412 * libio/iopadn.c: Return bytes returned even if EOF was
37413 encountered.
37414 * libio/iowpadn.c: Likewise.
37415 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
37416 if _IO_padn does not write the whole buffer.
37417 [!COMPILE_WPRINTF] (PAD): Likewise.
37418
37419 2013-10-10 David S. Miller <davem@davemloft.net>
37420
37421 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
37422 directory block.
37423
37424 2013-10-10 Joseph Myers <joseph@codesourcery.com>
37425
37426 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
37427 instead of FSF address.
37428 * soft-fp/fixdfti.c: Likewise.
37429 * soft-fp/fixsfti.c: Likewise.
37430 * soft-fp/fixtfti.c: Likewise.
37431 * soft-fp/fixunsdfti.c: Likewise.
37432 * soft-fp/fixunssfti.c: Likewise.
37433 * soft-fp/fixunstfti.c: Likewise.
37434 * soft-fp/floattidf.c: Likewise.
37435 * soft-fp/floattisf.c: Likewise.
37436 * soft-fp/floattitf.c: Likewise.
37437 * soft-fp/floatuntidf.c: Likewise.
37438 * soft-fp/floatuntisf.c: Likewise.
37439 * soft-fp/floatuntitf.c: Likewise.
37440 * soft-fp/trunctfxf2.c: Likewise.
37441
37442 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
37443 * soft-fp/fixdfti.c: Likewise.
37444 * soft-fp/fixsfti.c: Likewise.
37445 * soft-fp/fixtfti.c: Likewise.
37446 * soft-fp/fixunsdfti.c: Likewise.
37447 * soft-fp/fixunssfti.c: Likewise.
37448 * soft-fp/fixunstfti.c: Likewise.
37449 * soft-fp/floattidf.c: Likewise.
37450 * soft-fp/floattisf.c: Likewise.
37451 * soft-fp/floattitf.c: Likewise.
37452 * soft-fp/floatuntidf.c: Likewise.
37453 * soft-fp/floatuntisf.c: Likewise.
37454 * soft-fp/floatuntitf.c: Likewise.
37455 * soft-fp/trunctfxf2.c: Likewise.
37456
37457 2013-10-10 David S. Miller <davem@davemloft.net>
37458
37459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37460
37461 2013-10-10 Joseph Myers <joseph@codsourcery.com>
37462
37463 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
37464 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
37465 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
37466 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
37467 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
37468 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
37469 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
37470
37471 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
37472 for NaNs before doing comparisons on argument.
37473 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37474 Likewise.
37475
37476 2013-10-10 Will Newton <will.newton@linaro.org>
37477
37478 * malloc/hooks.c (memalign_check): Ensure the value of bytes
37479 passed to _int_memalign does not overflow.
37480
37481 2013-10-10 Torvald Riegel <triegel@redhat.com>
37482
37483 * scripts/bench.pl: Add include-sources directive.
37484 * benchtests/README: Update documentation.
37485
37486 2013-10-10 Joseph Myers <joseph@codesourcery.com>
37487
37488 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
37489 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
37490 instead of FP_INIT_ROUNDMODE.
37491 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
37492 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
37493
37494 [BZ #16034]
37495 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
37496 copy class of input value.
37497 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
37498 not handle exceptions.
37499 * soft-fp/negsf2.c (__negsf2): Likewise.
37500 * soft-fp/negtf2.c (__negtf2): Likewise.
37501 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
37502
37503 2013-10-09 Joseph Myers <joseph@codesourcery.com>
37504
37505 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
37506 semicolon. From Linux kernel.
37507
37508 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
37509
37510 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
37511
37512 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
37513
37514 [BZ #156]
37515 * manual/socket.texi: Added statement about buffer
37516 for gethostbyname2_r.
37517
37518 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
37519
37520 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
37521 Use .p2align directive instead, throughout.
37522 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37523 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
37524 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
37525 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37526 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37527 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
37528 * sysdeps/x86_64/strchr.S: Likewise.
37529 * sysdeps/x86_64/strrchr.S: Likewise.
37530
37531 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
37532
37533 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
37534
37535 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
37536
37537 * sysdeps/generic/math_private.h (__mpsin1): Remove
37538 declaration.
37539 (__mpcos1): Likewise.
37540 (__mpsin): New argument __range_reduce.
37541 (__mpcos): Likewise.
37542 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37543 (slow): Use __mpsin and __mpcos.
37544 (slow1): Likewise.
37545 (slow2): Likewise.
37546 (sloww): Likewise.
37547 (sloww1): Likewise.
37548 (sloww2): Likewise.
37549 (bsloww): Likewise.
37550 (bsloww1): Likewise.
37551 (bsloww2): Likewise.
37552 (cslow2): Likewise.
37553 (csloww): Likewise.
37554 (csloww1): Likewise.
37555 (csloww2): Likewise.
37556 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
37557 range_reduce. Merge in __mpsin1.
37558 (__mpcos): Likewise.
37559 (__mpsin1): Remove.
37560 (__mpcos1): Likewise.
37561
37562 2013-10-07 Joseph Myers <joseph@codesourcery.com>
37563
37564 * locale/loadlocale.c (_nl_intern_locale_data): Use
37565 LOCFILE_ALIGNED_P.
37566 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
37567 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
37568 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
37569 obstack data is appropriately aligned.
37570 (obstack_int32_grow_fast): Likewise.
37571 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
37572 * locale/programs/locfile.c (add_locale_uint32): Likewise.
37573 (add_locale_uint32_array): Likewise.
37574
37575 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37576
37577 * benchtests/Makefile: Remove ARGLIST and RET variables.
37578 ($(objpfx)bench-%.c): Pass only function name to the script.
37579 * benchtests/README: Update documentation.
37580 * benchtests/acos-inputs: Add new directives.
37581 * benchtests/acosh-inputs: Likewise.
37582 * benchtests/asin-inputs: Likewise.
37583 * benchtests/asinh-inputs: Likewise.
37584 * benchtests/atan-inputs: Likewise.
37585 * benchtests/atanh-inputs: Likewise.
37586 * benchtests/cos-inputs: Likewise.
37587 * benchtests/cosh-inputs: Likewise.
37588 * benchtests/exp-inputs: Likewise.
37589 * benchtests/log-inputs: Likewise.
37590 * benchtests/pow-inputs: Likewise.
37591 * benchtests/rint-inputs: Likewise.
37592 * benchtests/sin-inputs: Likewise.
37593 * benchtests/sinh-inputs: Likewise.
37594 * benchtests/tan-inputs: Likewise.
37595 * benchtests/tanh-inputs: Likewise.
37596 * scripts/bench.pl: Add support for new directives.
37597
37598 2013-10-07 Alan Modra <amodra@gmail.com>
37599
37600 * README: Fix careless merge.
37601
37602 2013-10-05 Alan Modra <amodra@gmail.com>
37603
37604 * NEWS: Mention powerpc64le support and bugs fixed.
37605 * README: Both big-endian and little-endian powerpc64 supported.
37606
37607 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
37608
37609 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
37610 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
37611 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
37612 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
37613
37614 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
37615
37616 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
37617 match prototype.
37618
37619 2013-10-04 Joseph Myers <joseph@codesourcery.com>
37620
37621 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
37622 Move -mhard-float appending from
37623 ports/sysdeps/powerpc/powerpc32/Makefile.
37624 [$(with-fp) = yes] (ASFLAGS): Likewise.
37625 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
37626 * sysdeps/powerpc/nofpu: Move directory from
37627 ports/sysdeps/powerpc/nofpu.
37628 * sysdeps/powerpc/soft-fp: Move directory from
37629 ports/sysdeps/powerpc/soft-fp.
37630 * sysdeps/powerpc/powerpc32/405: Move directory from
37631 ports/sysdeps/powerpc/powerpc32/405.
37632 * sysdeps/powerpc/powerpc32/440: Move directory from
37633 ports/sysdeps/powerpc/powerpc32/440.
37634 * sysdeps/powerpc/powerpc32/464: Move directory from
37635 ports/sysdeps/powerpc/powerpc32/464.
37636 * sysdeps/powerpc/powerpc32/476: Move directory from
37637 ports/sysdeps/powerpc/powerpc32/476.
37638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
37639 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
37640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
37641 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
37642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
37643 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
37644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
37645 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
37646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
37647 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
37648 * README: Update for powerpc-*-linux-gnu software floating point
37649 support in libc.
37650
37651 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
37652 case to powerpc/powerpc32*.
37653 * sysdeps/unix/sysv/linux/configure: Regenerated.
37654
37655 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
37656 (_FPU_MASK_OM): Define as 0x04.
37657 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
37658 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
37659 0x00c10080.
37660 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
37661 0x0000003c.
37662 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
37663
37664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
37665 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
37666 getcontext_e500.
37667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
37668 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
37669 setcontext_e500.
37670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
37671 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
37672 and setcontext_e500.
37673
37674 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
37675
37676 * locale/iso-3166.def: Update iso-1366.def and related occurrences
37677
37678 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37679
37680 * manual/threads.texi (Default Thread Attributes): Fix typo.
37681
37682 2013-10-04 Will Newton <will.newton@linaro.org>
37683
37684 * malloc/Makefile: Add tst-memalign.
37685 * malloc/tst-memalign.c: New file.
37686
37687 * malloc/tst-posix_memalign.c: Add comments.
37688 (do_test): Add comments and call free on all potentially
37689 allocated pointers. Add space after cast.
37690
37691 * malloc/tst-pvalloc.c: Add comments.
37692 (do_test): Add comments and call free on all potentially
37693 allocated pointers. Remove duplicate check for NULL pointer.
37694 Add space after cast.
37695
37696 * malloc/tst-valloc.c: Add comments.
37697 (do_test): Add comments and call free on all potentially
37698 allocated pointers. Remove duplicate check for NULL pointer.
37699 Add space after cast.
37700
37701 2013-10-04 Alan Modra <amodra@gmail.com>
37702
37703 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37704 Use stdint types in rather than __attribute__((mode())).
37705 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37706
37707 2013-10-04 Alan Modra <amodra@gmail.com>
37708
37709 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37710 Correct handling of unaligned relocs for little-endian.
37711 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37712
37713 2013-10-04 Alan Modra <amodra@gmail.com>
37714
37715 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
37716 * configure: Regenerate.
37717 * nptl/shlib-versions: Powerpc*le starts at 2.18.
37718 * shlib-versions: Likewise.
37719
37720 2013-10-04 Alan Modra <amodra@gmail.com>
37721
37722 * string/tester.c (test_memrchr): Increment reported test cycle.
37723
37724 2013-10-04 Alan Modra <amodra@gmail.com>
37725
37726 * string/test-memcpy.c (do_one_test): When reporting errors, print
37727 string address and don't overrun end of string.
37728
37729 2013-10-04 Alan Modra <amodra@gmail.com>
37730
37731 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
37732 insrdi. Make better use of reg selection to speed exit slightly.
37733 Schedule entry path a little better. Remove useless "are we done"
37734 checks on entry to main loop. Handle wrapping around zero address.
37735 Correct main loop count. Handle single left-over word from main
37736 loop inline rather than by using loop_small. Remove extra word
37737 case in loop_small caused by wrong loop count. Add little-endian
37738 support.
37739 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37740 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
37741 cache hint.
37742 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37743 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
37744 support. Avoid rlwimi.
37745 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
37746
37747 2013-10-04 Alan Modra <amodra@gmail.com>
37748
37749 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
37750 insrdi. Formatting.
37751 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
37752 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37753 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
37754 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
37755 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37756 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
37757
37758 2013-10-04 Alan Modra <amodra@gmail.com>
37759
37760 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
37761 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37762 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
37763 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
37764 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37765 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37766 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37767 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
37768 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
37769 use of regs. Use power7 mtocrf. Tidy function tails.
37770
37771 2013-10-04 Alan Modra <amodra@gmail.com>
37772
37773 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
37774 Formatting. Consistently use rXXX register defines or rN defines.
37775 Use early exit labels that avoid restoring unused non-volatile regs.
37776 Make cr field use more consistent with rWORDn compares. Rename
37777 regs used as shift registers for unaligned loop, using rN defines
37778 for short lifetime/multiple use regs.
37779 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37780 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
37781 addi 1,1,64 to pop stack frame. Simplify return value code.
37782 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37783
37784 2013-10-04 Alan Modra <amodra@gmail.com>
37785
37786 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
37787 support. Correct typos, formatting. Optimize tail. Use insrdi
37788 rather than rlwimi.
37789 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
37790 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
37791 little-endian support. Correct typos.
37792 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
37793 rather than rlwimi.
37794 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
37795 in loop and entry code to keep "and." results.
37796 (strchr): Add little-endian support. Comment. Move cntlzd
37797 earlier in tail.
37798 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
37799
37800 2013-10-04 Alan Modra <amodra@gmail.com>
37801
37802 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
37803 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
37804 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
37805 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
37806
37807 2013-10-04 Alan Modra <amodra@gmail.com>
37808
37809 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
37810 (rTMP): Define as r11.
37811 (strcmp): Add little-endian support. Optimise tail.
37812 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
37813 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37814 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37815 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37816 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37817 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37818 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37819
37820 2013-10-04 Alan Modra <amodra@gmail.com>
37821
37822 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
37823 little-endian support. Remove unnecessary "are we done" tests.
37824 Handle "s" wrapping around zero and extremely large "size".
37825 Correct main loop count. Handle single left-over word from main
37826 loop inline rather than by using small_loop. Correct comments.
37827 Delete "zero" tail, use "end_max" instead.
37828 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
37829
37830 2013-10-04 Alan Modra <amodra@gmail.com>
37831
37832 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
37833 support. Don't branch over align.
37834 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
37835 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
37836 support. Rearrange tmp reg use to suit. Comment.
37837 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
37838
37839 2013-10-04 Alan Modra <amodra@gmail.com>
37840
37841 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
37842
37843 2013-10-04 Alan Modra <amodra@gmail.com>
37844
37845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
37846 conditional form of branch and link when obtaining pc.
37847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
37848
37849 2013-10-04 Alan Modra <amodra@gmail.com>
37850
37851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
37852 HIWORD/LOWORD.
37853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
37854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
37855
37856 2013-10-04 Alan Modra <amodra@gmail.com>
37857
37858 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
37859 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
37860 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
37861 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
37862 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37863 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37864 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
37865 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37866 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
37867 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
37868
37869 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
37870 Alistair Popple <alistair@ozlabs.au.ibm.com>
37871 Alan Modra <amodra@gmail.com>
37872
37873 [BZ #15723]
37874 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
37875 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
37876 _dl_hwcap access for little-endian.
37877 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
37878 destroy vmx regs when saving unaligned.
37879 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
37880 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
37881 destroy vmx regs when saving unaligned.
37882
37883 2013-10-04 Alan Modra <amodra@gmail.com>
37884
37885 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
37886 Don't use a union to pack hi/low value.
37887
37888 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
37889
37890 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
37891 for little-endian.
37892 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
37893 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
37894 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37895 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
37896 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
37897
37898 2013-10-04 Alan Modra <amodra@gmail.com>
37899
37900 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
37901 constants to usual value for .cst8 section, and remove redundant
37902 high address load.
37903 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
37904 constant for 0x1p52. Load little-endian words of double from
37905 correct stack offsets.
37906
37907 2013-10-04 Alan Modra <amodra@gmail.com>
37908
37909 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
37910 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
37911 words of double from correct stack offsets.
37912 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
37913 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
37914 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
37915 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
37916 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
37917 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
37918 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
37919 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
37920 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
37921 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
37922 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
37923 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
37924 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37925 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37926 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37927 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
37928 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
37929
37930 2013-10-04 Alan Modra <amodra@gmail.com>
37931
37932 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
37933 64-bit int/double union.
37934 (_FPU_SETCW): Likewise.
37935 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
37936 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
37937
37938 2013-10-04 Alan Modra <amodra@gmail.com>
37939
37940 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
37941 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
37942
37943 2013-10-04 Alan Modra <amodra@gmail.com>
37944
37945 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
37946 use vector int constants.
37947 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
37948
37949 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
37950
37951 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
37952 array with long long.
37953 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
37954 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
37955 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
37956 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
37957 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
37958 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
37959 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
37960 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
37961 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
37962 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
37963 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
37964 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
37965 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
37966
37967 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
37968
37969 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
37970 (__signbit): Likewise. Correct for little-endian.
37971 (__signbitl): Call __signbit.
37972 (lrint): Correct for little-endian.
37973 (lrintf): Call lrint.
37974
37975 2013-10-04 Alan Modra <amodra@gmail.com>
37976
37977 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
37978 union 32-bit int array member with 64-bit int array.
37979 (t515, tm256): Double rather than long double.
37980 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
37981
37982 2013-10-04 Alan Modra <amodra@gmail.com>
37983
37984 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
37985 Delete.
37986 (IEEE854_LONG_DOUBLE_BIAS): Delete.
37987 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
37988 version of math_ldbl.h.
37989
37990 2013-10-04 Alan Modra <amodra@gmail.com>
37991
37992 [BZ #15734], [BZ #15735]
37993 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
37994 all uses of ieee875 long double macros and unions. Simplify test
37995 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
37996 ldbl_extract_mantissa value for ix,iy exponents. Properly
37997 normalize after ldbl_extract_mantissa, and don't add hidden bit
37998 already handled. Don't treat low word of ieee854 mantissa like
37999 low word of IBM long double and mask off bit when testing for
38000 zero.
38001 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
38002 all uses of ieee875 long double macros and unions. Simplify tests
38003 for 0.0L and inf. Correct double adjustment of k. Delete dead code
38004 adjusting ha,hb. Simplify code setting kld. Delete two600 and
38005 two1022, instead use their values. Recognise that tests for large
38006 "a" and small "b" are mutually exclusive. Rename vars. Comment.
38007 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
38008 Rewrite all uses of ieee875 long double macros and unions. Simplify
38009 test for 0.0L and nan. Correct negation.
38010 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
38011 ieee875 long double macros and unions. Correct output for large
38012 magnitude x. Correct absolute value calculation.
38013 (__erfcl): Likewise.
38014 * math/libm-test.inc: Add tests for errors discovered in IBM long
38015 double versions of fmodl, remainderl, erfl and erfcl.
38016
38017 2013-10-04 Alan Modra <amodra@gmail.com>
38018
38019 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
38020 all uses of ieee854 long double macros and unions. Simplify tests
38021 for long doubles that are fully specified by the high double.
38022 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38023 Likewise.
38024 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
38025 Remove dead code too.
38026 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
38027 (__ieee754_ynl): Likewise.
38028 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
38029 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
38030 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38031 Remove dead code too.
38032 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
38033 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
38034 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
38035 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
38036 Simplify.
38037 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
38038 Simplify.
38039 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
38040 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38041 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
38042 Comment on variable precision.
38043 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
38044 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38045 Likewise.
38046 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38047 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38048 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38049 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
38050 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
38051
38052 2013-10-04 Alan Modra <amodra@gmail.com>
38053
38054 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
38055 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
38056 all uses of ieee854 long double macros and unions.
38057 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
38058 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38059 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
38060 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
38061 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
38062 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38063 Likewise.
38064 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
38065 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38066 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
38067 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38068 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
38069 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
38070 Simplify sign and nan test too.
38071 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
38072 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38073 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
38074 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38075 Likewise.
38076 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38077 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
38078 Likewise.
38079 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38080 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
38081 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
38082 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
38083 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
38084 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
38085
38086 2013-10-04 Alan Modra <amodra@gmail.com>
38087
38088 * stdio-common/printf_size.c (__printf_size): Don't use
38089 union ieee854_long_double in fpnum union.
38090 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
38091 signbit macro to retrieve sign from long double.
38092 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
38093 retrieve sign from long double.
38094 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
38095 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
38096 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
38097 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38098 * math/test-misc.c (main): Don't use union ieee854_long_double.
38099
38100 2013-10-04 Alan Modra <amodra@gmail.com>
38101
38102 [BZ #15680]
38103 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
38104 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
38105 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
38106 calculation. Remove unnecessary test for denormal exponent.
38107 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
38108 Correct handling of denormals. Avoid undefined shift behaviour.
38109 Correct normalisation of low mantissa when low double is denormal.
38110 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
38111 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
38112 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
38113 Correct normalisation of low mantissa. Test for overflow of high
38114 mantissa and normalise.
38115 (ldbl_nearbyint): Use more readable constant for two52.
38116 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
38117 (__mpn_construct_long_double): Fix test for overflow of high
38118 mantissa and correct normalisation. Avoid undefined shift.
38119
38120 2013-10-04 Alan Modra <amodra@gmail.com>
38121
38122 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38123 (union ibm_extended_long_double): Define as an array of ieee754_double.
38124 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
38125 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
38126 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
38127 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38128 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38129 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
38130 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
38131 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38132 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38133 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
38134 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38135
38136 2013-10-03 Joseph Myers <joseph@codesourcery.com>
38137
38138 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
38139 page size instead of calling getpagesize.
38140
38141 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
38142 (LOCFILE_ALIGN_MASK): Likewise.
38143 (LOCFILE_ALIGN_UP): Likewise.
38144 (LOCFILE_ALIGNED_P): Likewise.
38145 * locale/programs/ld-collate.c (collate_output): Use the new
38146 macros instead of __alignof__ (int32_t).
38147 * locale/weight.h (findidx): Likewise.
38148
38149 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
38150
38151 [BZ #431]
38152 * manual/string.texi: Fix strncat and wcsncat.
38153
38154 2013-10-03 Brooks Moses <bmoses@google.com>
38155
38156 [BZ #15915]
38157 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
38158 * Makerules: ...here, and adjust associated comments.
38159
38160 2013-10-02 Will Newton <will.newton@linaro.org>
38161
38162 * malloc/Makefile: Add tst-pvalloc.
38163 * malloc/tst-pvalloc.c: New file.
38164
38165 2013-10-02 Will Newton <will.newton@linaro.org>
38166
38167 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
38168 improve test coverage.
38169
38170 2013-10-02 Will Newton <will.newton@linaro.org>
38171
38172 * malloc/Makefile: Add tst-posix_memalign.
38173 * malloc/tst-posix_memalign.c: New file.
38174
38175 2013-10-01 Eric Blake <eblake@redhat.com>
38176
38177 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
38178 Use __THROWNL rather than __THROW on static functions.
38179
38180 2013-09-30 Petr Machata <pmachata@redhat.com>
38181
38182 * elf/elf.h (R_AARCH64_ABS16): New macro.
38183 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
38184 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
38185 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
38186 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
38187 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
38188 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
38189 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
38190 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
38191 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
38192 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
38193 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
38194 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
38195 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
38196 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
38197 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
38198 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
38199 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
38200 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
38201 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
38202 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
38203 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
38204 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
38205 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
38206 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
38207 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
38208 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
38209 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
38210 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
38211 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
38212 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
38213 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
38214 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
38215 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
38216 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
38217 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
38218 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
38219 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
38220 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
38221 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
38222 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
38223 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
38224 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
38225 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
38226 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
38227 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
38228 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
38229 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
38230 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
38231 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
38232 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
38233 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
38234 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
38235 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
38236 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
38237 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
38238 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
38239 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
38240 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
38241 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
38242 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
38243 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
38244 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
38245 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
38246 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
38247 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
38248 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
38249 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
38250 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
38251 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
38252 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
38253 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
38254 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
38255 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
38256 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
38257 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
38258 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
38259 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
38260 (R_AARCH64_TLSDESC_LDR): Likewise.
38261 (R_AARCH64_TLSDESC_ADD): Likewise.
38262 (R_AARCH64_TLSDESC_CALL): Likewise.
38263
38264 2013-09-30 Andreas Schwab <schwab@suse.de>
38265
38266 [BZ #15048]
38267 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
38268 the nss database lookup.
38269 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38270 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38271
38272 2013-09-28 Mike Frysinger <vapier@gentoo.org>
38273
38274 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
38275
38276 2013-09-28 P. J. McDermott <pj@pehjota.net>
38277
38278 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
38279 ${Bash-specific parameter/pattern/string} parameter expansion.
38280 * sysdeps/unix/make-syscalls.sh: Likewise.
38281
38282 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38283
38284 * sysdeps/sh/stackguard-macros.h: New file.
38285
38286 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
38287
38288 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38289 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
38290 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
38291 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
38292 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38293 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
38294
38295 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38296
38297 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
38298 Fix thread ID register.
38299
38300 2013-09-25 Joseph Myers <joseph@codesourcery.com>
38301
38302 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
38303 [POSIX || UNIX98]: Require rather than permitting all symbols from
38304 <time.h>.
38305 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
38306 element of struct sched_param.
38307 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
38308 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
38309 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
38310 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
38311 constant.
38312
38313 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
38314
38315 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
38316 argument calculation.
38317
38318 2013-09-24 Joseph Myers <joseph@codesourcery.com>
38319
38320 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
38321 Expect macro.
38322 [POSIX] (pthread_attr_t): Do not require type.
38323 [POSIX] (pthread_cond_t): Likewise.
38324 [POSIX] (pthread_condattr_t): Likewise.
38325 [POSIX] (pthread_key_t): Likewise.
38326 [POSIX] (pthread_mutex_t): Likewise.
38327 [POSIX] (pthread_mutexattr_t): Likewise.
38328 [POSIX] (pthread_once_t): Likewise.
38329 [POSIX] (pthread_t): Likewise.
38330 [POSIX-based standards] (pthread_atfork): Expect function.
38331
38332 2013-09-24 Joseph Myers <joseph@codesourcery.com>
38333 Richard Sandiford <richard@codesourcery.com>
38334
38335 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
38336 (swap_endianness_p): New extern variable.
38337 (set_big_endian): New inline function.
38338 (maybe_swap_uint32): Likewise.
38339 (maybe_swap_uint32_array): Likewise.
38340 (maybe_swap_uint32_obstack): Likewise.
38341 * locale/programs/locfile.c: Include <stdbool.h>.
38342 (swap_endianness_p): New variable.
38343 (add_locale_uint32): Call maybe_swap_uint32.
38344 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
38345 (write_locale_data): Call maybe_swap_uint32_array.
38346 * locale/programs/ld-collate.c (obstack_int32_grow): Call
38347 maybe_swap_uint32.
38348 (obstack_int32_grow_fast): Likewise.
38349 (output_weightwc): Call maybe_swap_uint32_obstack.
38350 (collate_output): Likewise.
38351 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
38352 (OPT_LITTLE_ENDIAN): Likewise.
38353 (options): Add --little-endian and --big-endian options.
38354 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
38355 * locale/programs/locarchive.c: Include "locfile.h".
38356 (GET): New macro.
38357 (SET): Likewise.
38358 (INC): Likewise.
38359 (create_archive): Use the new macros to access fields of
38360 structures directly mapped from or written to locale archives.
38361 (oldlocrecentcmp): Likewise.
38362 (enlarge_archive): Likewise.
38363 (insert_name): Likewise.
38364 (add_alias): Likewise.
38365 (add_locale): Likewise.
38366 (delete_locales_from_archive): Likewise.
38367 (show_archive_content): Likewise.
38368 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
38369 locale data.
38370
38371 2013-09-24 Roland McGrath <roland@hack.frob.com>
38372
38373 * manual/freemanuals.texi: Updated from (newly) canonical copy at
38374 http://www.gnu.org/doc/freemanuals.texi.
38375 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
38376
38377 2013-09-24 Will Newton <will.newton@linaro.org>
38378
38379 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
38380 macro.
38381
38382 2013-09-23 Joseph Myers <joseph@codesourcery.com>
38383
38384 * locale/hashval.h (compute_hashval): Interpret bytes of key as
38385 unsigned char.
38386
38387 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
38388
38389 * manual/threads.texi (POSIX Threads): Fix a typo.
38390
38391 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
38392
38393 [BZ #14547]
38394 * string/tst-strcoll-overflow.c: New test case.
38395 * string/Makefile (xtests): Add tst-strcoll-overflow.
38396 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
38397 cache if string sizes may cause integer overflow.
38398
38399 [BZ #14547]
38400 * string/strcoll_l.c (coll_seq): New members rule, idx,
38401 save_idx and back_us.
38402 (get_next_seq_nocache): New function.
38403 (do_compare_nocache): New function.
38404 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
38405 when malloc fails.
38406
38407 2013-09-23 Carlos O'Donell <carlos@redhat.com>
38408
38409 [BZ #15754]
38410 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
38411 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
38412 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
38413
38414 [BZ #15754]
38415 * elf/Makefile (tests): Add tst-ptrguard1.
38416 (tests-static): Add tst-ptrguard1-static.
38417 (tst-ptrguard1-ARGS): Define.
38418 (tst-ptrguard1-static-ARGS): Define.
38419 * elf/tst-ptrguard1.c: New file.
38420 * elf/tst-ptrguard1-static.c: New file.
38421 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
38422 * sysdeps/i386/stackguard-macros.h: Likewise.
38423 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38424 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38425 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38426 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38427 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38428 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38429
38430 2013-09-23 Hector Marco <hecmargi@upv.es>
38431 Ismael Ripoll <iripoll@disca.upv.es>
38432 Carlos O'Donell <carlos@redhat.com>
38433
38434 [BZ #15754]
38435 * sysdeps/generic/stackguard-macros.h: Define
38436 __pointer_chk_guard_local and POINTER_CHK_GUARD.
38437 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
38438 Define __pointer_chk_guard_local.
38439 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
38440 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
38441
38442 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
38443
38444 [BZ #15859]
38445 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
38446
38447 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
38448
38449 * include/string.h (__ffs): Declare as hidden.
38450 * string/ffs.c (__ffs): Define as hidden.
38451 * sysdeps/i386/ffs.c (__ffs): Likewise.
38452 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
38453 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
38454 * sysdeps/s390/ffs.c (__ffs): Likewise.
38455 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
38456
38457 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
38458
38459 * NEWS: Mention malloc probes.
38460
38461 * malloc/arena.c (new_heap): New memory_heap_new probe.
38462 (grow_heap): New memory_heap_more probe.
38463 (shrink_heap): New memory_heap_less probe.
38464 (heap_trim): New memory_heap_free probe.
38465 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
38466 (systrim): New memory_sbrk_less probe.
38467 * manual/probes.texi: Document them.
38468
38469 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
38470 * manual/probes.texi: Document it.
38471
38472 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
38473 (__libc_realloc): Add memory_realloc_retry probe.
38474 (__libc_memalign): Add memory_memalign_retry probe.
38475 (__libc_valloc): Add memory_valloc_retry probe.
38476 (__libc_pvalloc): Add memory_pvalloc_retry probe.
38477 (__libc_calloc): Add memory_calloc_retry probe.
38478 * manual/probes.texi: Document them.
38479
38480 * malloc/arena.c (get_free_list): Add probe
38481 memory_arena_reuse_free_list.
38482 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
38483 and memory_arena_reuse.
38484 (arena_get2) [!PER_THREAD]: Likewise.
38485 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
38486 memory_arena_reuse_realloc.
38487 * manual/probes.texi: Document them.
38488
38489 * malloc/malloc.c (__libc_free): Add
38490 memory_mallopt_free_dyn_thresholds probe.
38491 (__libc_mallopt): Add multiple memory_mallopt probes.
38492 * manual/probes.texi: Document them.
38493
38494 * malloc/malloc.c: Include stap-probe.h.
38495 (__libc_mallopt): Add memory_mallopt probe.
38496 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
38497 * manual/probes.texi: New.
38498 * manual/Makefile (chapters): Add probes.
38499 * manual/threads.texi: Set next node.
38500
38501 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
38502
38503 [BZ #15963, #13985]
38504 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
38505 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
38506 Add `Chinese' to `nan' entry name.
38507
38508 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38509
38510 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
38511 (POLYNOMIAL): Likewise.
38512 (TAYLOR_SINCOS): Likewise.
38513 (TAYLOR_SLOW): Likewise.
38514 (__sin): Use TAYLOR_SINCOS.
38515 (__cos): Likewise.
38516 (slow): Use TAYLOR_SLOW.
38517 (sloww): Likewise.
38518 (bsloww): Likewise.
38519 (csloww): Likewise.
38520
38521 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38522
38523 * stdlib/strtod_l.c: Fix buffer overrun.
38524
38525 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38526
38527 * benchtests/Makefile (bench): Add sincos.
38528 * benchtests/bench-sincos.c: New file.
38529
38530 * math/libm-test.inc (cos_test_data): New test inputs.
38531 (sin_test_data): Likewise.
38532
38533 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
38534 macro.
38535 (__sin): Use it.
38536 (__cos): Likewise.
38537 (slow1): Likewise.
38538 (slow2): Likewise.
38539 (sloww1): Likewise.
38540 (sloww2): Likewise.
38541 (bsloww1): Likewise.
38542 (bsloww2): Likewise.
38543 (cslow2): Likewise.
38544 (csloww1): Likewise.
38545 (csloww2): Likewise.
38546
38547 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
38548 function.
38549 (__sin): Use it.
38550 (__cos): Likewise.
38551
38552 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
38553 gotos.
38554 (__cos): Likewise.
38555
38556 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
38557
38558 * config.h.in (HAVE_MIPS_NAN2008): New macro.
38559 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
38560 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
38561 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
38562 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
38563 * elf/cache.c (print_entry): Handle the new cache flags.
38564
38565 2013-09-18 Joseph Myers <joseph@codesourcery.com>
38566 Aldy Hernandez <aldyh@redhat.com>
38567
38568 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
38569 Change condition to [_SOFT_FLOAT].
38570 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
38571 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
38572 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
38573 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
38574 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
38575 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
38576 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
38577 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
38578 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
38579 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
38580 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
38581 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
38582 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
38583 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
38584 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
38585 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
38586 declaration.
38587
38588 2013-09-18 Joseph Myers <joseph@codesourcery.com>
38589
38590 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
38591 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
38592 (__longjmp): Use LOAD_GP to load saved GPRs.
38593 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
38594 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
38595 (__sigsetjmp): Use SAVE_GP to save GPRs.
38596
38597 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
38598 Do not append -msoft-float.
38599 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
38600
38601 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38602
38603 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
38604
38605 2013-09-17 Joseph Myers <joseph@codesourcery.com>
38606
38607 [BZ #15966]
38608 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
38609 (_FPU_GETCW): Use initial "__" on variable and field names but not
38610 on macro parameter name.
38611 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
38612 parentheses around reference to macro parameter.
38613
38614 2013-09-13 Richard Sandiford <richard@codesourcery.com>
38615
38616 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
38617 prototype.
38618 (ctype_startup): Use uint32_t in cast and sizeof for
38619 ctype->charnames.
38620
38621 2013-09-11 Jia Liu <proljc@gmail.com>
38622
38623 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
38624 __daddr_t_defined.
38625 [__FreeBSD__]: Likewise.
38626
38627 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
38628
38629 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38630 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
38631 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
38632 (strchr): Remove __strchr_sse42 ifunc selection.
38633 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
38634 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
38635
38636 2013-09-11 Will Newton <will.newton@linaro.org>
38637
38638 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
38639 parameter to RES. Remove hardcoded 1000 value.
38640 * benchtests/bench-skeleton.c (main): Pass RES parameter
38641 to TIMING_INIT and multiply result by 1000.
38642
38643 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38644
38645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38646
38647 2013-09-11 Andreas Schwab <schwab@suse.de>
38648
38649 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
38650 if not defined.
38651 (O_TMPFILE) [__USE_GNU]: Define.
38652 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
38653 Define.
38654
38655 2013-09-11 Will Newton <will.newton@linaro.org>
38656
38657 [BZ #15857]
38658 * malloc/malloc.c (__libc_memalign): Check the value of bytes
38659 does not overflow.
38660
38661 2013-09-11 Will Newton <will.newton@linaro.org>
38662
38663 [BZ #15856]
38664 * malloc/malloc.c (__libc_valloc): Check the value of bytes
38665 does not overflow.
38666
38667 2013-09-11 Will Newton <will.newton@linaro.org>
38668
38669 [BZ #15855]
38670 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
38671 does not overflow.
38672
38673 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
38674
38675 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
38676 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38677 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38678 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38679 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38680
38681 2013-09-10 Allan McRae <allan@archlinux.org>
38682
38683 [BZ #15748]
38684 * manual/arith.texi (Parsing of Floats): Clarify
38685 cross-reference.
38686
38687 [BZ #15849]
38688 * manual/install.texi (Running make install): Mention
38689 --enable-pt-chown.
38690 * INSTALL: Regenerated.
38691
38692 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
38693
38694 * csu/init-first.c (_init): Remove the !SHARED condition around
38695 FPU control word initialization.
38696 * elf/dl-support.c (_dl_fpu_control): New variable.
38697 (_dl_aux_init) <AT_FPUCW>: Initialize it.
38698 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
38699 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
38700 * math/test-fpucw-static.c: New file.
38701 * math/test-fpucw-ieee.c: New file.
38702 * math/test-fpucw-ieee-static.c: New file.
38703 * math/Makefile (tests): Add `test-fpucw-ieee' and
38704 `$(tests-static)'.
38705 (tests-static): New variable.
38706 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
38707 dependency to...
38708 [($(build-shared),yes)]
38709 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38710 ... this.
38711 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
38712 New dependency.
38713
38714 2013-09-09 Allan McRae <allan@archlinux.org>
38715
38716 [BZ #15939]
38717 * manual/string.texi (Collation Functions): Fix typo in
38718 strcoll example.
38719 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
38720
38721 [BZ #15893]
38722 * stdlib/isomac.c (get_null_defines): Fix memory leak.
38723
38724 [BZ #15892]
38725 * libio/memstream.c (open_memstream): Fix memory leak.
38726 * libio/wmemstream.c (open_wmemstream): Likewise.
38727
38728 [BZ #15895]
38729 * nscd/netgroupcache.c: Fix nesting of ifdefs.
38730
38731 2013-09-09 Will Newton <will.newton@linaro.org>
38732
38733 * malloc/Makefile: Add tst-realloc to tests.
38734 * malloc/tst-realloc.c: New file.
38735
38736 2013-09-09 Allan McRae <allan@archlinux.org>
38737
38738 [BZ #15844]
38739 * COPYING: Update from GNU website to fix FSF address.
38740 * COPYING.LIB: Likewise.
38741
38742 2013-09-06 David S. Miller <davem@davemloft.net>
38743
38744 * po/zh_TW.po: Update Chinese (traditional) translation from
38745 translation project.
38746
38747 2013-09-06 Richard Sandiford <richard@codesourcery.com>
38748 Joseph Myers <joseph@codesourcery.com>
38749
38750 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
38751 "localeinfo.h".
38752 (obstack_chunk_alloc): New macro.
38753 (obstack_chunk_free): Likewise.
38754 (record_offset): New function.
38755 (init_locale_data): Likewise.
38756 (align_locale_data): Likewise.
38757 (add_locale_empty): Likewise.
38758 (add_locale_raw_data): Likewise.
38759 (add_locale_raw_obstack): Likewise.
38760 (add_locale_string): Likewise.
38761 (add_locale_wstring): Likewise.
38762 (add_locale_uint32): Likewise.
38763 (add_locale_uint32_array): Likewise.
38764 (add_locale_char): Likewise.
38765 (start_locale_structure): Likewise.
38766 (end_locale_structure): Likewise.
38767 (start_locale_prelude): Likewise.
38768 (end_locale_prelude): Likewise.
38769 (write_locale_data): Take locale_file structure rather than an
38770 iovec.
38771 * locale/programs/locfile.h: Include "obstack.h".
38772 (struct locale_file): Change to store locale file contents instead
38773 of header.
38774 (init_locale_data): New prototype.
38775 (align_locale_data): Likewise.
38776 (add_locale_empty): Likewise.
38777 (add_locale_raw_data): Likewise.
38778 (add_locale_raw_obstack): Likewise.
38779 (add_locale_string): Likewise.
38780 (add_locale_wstring): Likewise.
38781 (add_locale_uint32): Likewise.
38782 (add_locale_uint32_array): Likewise.
38783 (add_locale_char): Likewise.
38784 (start_locale_structure): Likewise.
38785 (end_locale_structure): Likewise.
38786 (start_locale_prelude): Likewise.
38787 (end_locale_prelude): Likewise.
38788 (write_locale_data): Update prototype.
38789 * locale/programs/3level.h (struct TABLE): Remove result field.
38790 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
38791 Use new locale_file interface.
38792 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
38793 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
38794 * locale/programs/ld-address.c (address_output): Use new
38795 locale_file interface.
38796 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
38797 NO_ADD_LOCALE.
38798 (collate_finish): Don't call collseq_table_finalize.
38799 (collate_output): Use new locale_file interface.
38800 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
38801 in file.
38802 (NO_FINALIZE): Change to NO_ADD_LOCALE.
38803 (TABLE): Move defines earlier in file.
38804 (ELEMENT): Likewise.
38805 (DEFAULT): Likewise.
38806 (wctrans_table_add): Move macro and inline function earlier in
38807 file.
38808 (struct wctype_table): Move type earlier in file.
38809 (add_locale_wctype_table): New static prototype.
38810 (struct locale_ctype_t): Use logical types instead of struct iovec
38811 pointers for members.
38812 (ctype_output): Use new locale_file interface.
38813 (wctype_table_finalize): Change to add_locale_wctype_table. Use
38814 new locale_file interface.
38815 (allocate_arrays): Update for use of new locale_file interface.
38816 * locale/programs/ld-identification.c (identification_output): Use
38817 new locale_file interface.
38818 * locale/programs/ld-measurement.c (measurement_output): Likewise.
38819 * locale/programs/ld-messages.c (messages_output): Likewise.
38820 * locale/programs/ld-monetary.c (monetary_output): Likewise.
38821 * locale/programs/ld-name.c (name_output): Likewise.
38822 * locale/programs/ld-numeric.c (numeric_output): Likewise.
38823 * locale/programs/ld-paper.c (paper_output): Likewise.
38824 * locale/programs/ld-telephone.c (telephone_output): Likewise.
38825 * locale/programs/ld-time.c (time_output): Likewise.
38826
38827 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38828
38829 * benchtests/Makefile: Add memrchr benchmark.
38830 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
38831 benchmark as memrchr.
38832 * benchtests/bench-memrchr-ifunc.c: New file.
38833 * benchtests/bench-memrchr.c: New file.
38834
38835 2013-09-06 Will Newton <will.newton@linaro.org>
38836
38837 * benchtests/Makefile (string-bench): Add memcpy.
38838
38839 2013-09-05 Carlos O'Donell <carlos@redhat.com>
38840 Cong Wang <amwang@redhat.com>
38841
38842 [BZ #15850]
38843 * sysdeps/unix/sysv/linux/bits/in.h
38844 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
38845 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
38846 before __USE_KERNEL_IPV6_DEFS uses.
38847 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
38848 IPPROTO_BEETPH.
38849 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
38850 sockaddr_in6, or ipv6_mreq.
38851
38852 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38853
38854 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
38855 memory access for final bytes in some large inputs.
38856 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
38857
38858 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38859
38860 * string/test-memrchr.c: New file.
38861 * string/test-memrchr-ifunc.c: New file.
38862 * string/Makefile: Add new memrchr testcase.
38863
38864 2013-09-05 Mike Frysinger <vapier@gentoo.org>
38865
38866 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
38867 fanotify_init returns EPERM.
38868
38869 2013-09-04 Joseph Myers <joseph@codesourcery.com>
38870
38871 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
38872 errors.
38873 (top level): Treat second token from macro or constant entries for
38874 allowed headers as allowed.
38875 * include/complex.h: Condition internal declarations on
38876 [!_ISOMAC].
38877 * include/fenv.h: Condition include of <stdbool.h> and internal
38878 declarations on [!_ISOMAC].
38879
38880 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
38881
38882 [BZ #15923]
38883 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
38884
38885 2013-09-04 Joseph Myers <joseph@codesourcery.com>
38886
38887 * configure.in (--enable-versioning): Remove configure option.
38888 (libc_cv_asm_symver_directive): Remove configure test.
38889 (libc_cv_ld_version_script_option): Likewise.
38890 (VERSIONING): Remove variable and AC_SUBST.
38891 (DO_VERSIONING): Remove AC_DEFINE.
38892 * configure: Regenerated.
38893 * config.h.in (DO_VERSIONING): Remove macro.
38894 * Makerules [$(versioning) = yes]: Change conditionals to
38895 [$(build-shared) = yes].
38896 * config.make.in (versioning): Remove variable.
38897 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
38898 [$(build-shared) = yes].
38899 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
38900 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
38901 * elf/Makefile [$(versioning) = yes]: Change conditionals to
38902 [$(build-shared) = yes].
38903 * extra-lib.mk [$(versioning) = yes]: Likewise.
38904 * hurd/Makefile [$(versioning) = yes]: Likewise.
38905 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
38906 [SHARED].
38907 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
38908 [SHARED].
38909 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
38910 [SHARED && !NO_HIDDEN].
38911 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
38912 [SHARED].
38913 [SHARED && DO_VERSIONING]: Likewise..
38914 * libio/Makefile [$(versioning) = yes]: Change conditionals to
38915 [$(build-shared) = yes].
38916 * manual/install.texi (--disable-versioning): Remove
38917 documentation.
38918 * INSTALL: Regenerated.
38919 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
38920 to [SHARED].
38921 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
38922 [$(build-shared) = yes].
38923 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
38924 * sysdeps/i386/i686/multiarch/strstr-c.c
38925 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
38926 [SHARED && !NO_HIDDEN].
38927 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
38928 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
38929 * sysdeps/powerpc/powerpc32/dl-machine.c
38930 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
38931 * sysdeps/powerpc/powerpc32/sysdep.h
38932 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
38933 to [SHARED && PIC && !NO_HIDDEN].
38934 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
38935 conditional to [SHARED].
38936
38937 2013-09-04 Will Newton <will.newton@linaro.org>
38938
38939 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
38940 * benchtests/bench-string.h: Include bench-timing.h instead
38941 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
38942 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
38943 call to HP_TIMING_DIFF_INIT.
38944 * benchtests/bench-memccpy.c: Use bench-timing.h macros
38945 instead of hp-timing.h macros.
38946 * benchtests/bench-memchr.c: Likewise.
38947 * benchtests/bench-memcmp.c: Likewise.
38948 * benchtests/bench-memcpy.c: Likewise.
38949 * benchtests/bench-memmem.c: Likewise.
38950 * benchtests/bench-memmove.c: Likewise.
38951 * benchtests/bench-memset.c: Likewise.
38952 * benchtests/bench-rawmemchr.c: Likewise.
38953 * benchtests/bench-strcasecmp.c: Likewise.
38954 * benchtests/bench-strcasestr.c: Likewise.
38955 * benchtests/bench-strcat.c: Likewise.
38956 * benchtests/bench-strchr.c: Likewise.
38957 * benchtests/bench-strcmp.c: Likewise.
38958 * benchtests/bench-strcpy.c: Likewise.
38959 * benchtests/bench-strcpy_chk.c: Likewise.
38960 * benchtests/bench-strlen.c: Likewise.
38961 * benchtests/bench-strncasecmp.c: Likewise.
38962 * benchtests/bench-strncat.c: Likewise.
38963 * benchtests/bench-strncmp.c: Likewise.
38964 * benchtests/bench-strncpy.c: Likewise.
38965 * benchtests/bench-strnlen.c: Likewise.
38966 * benchtests/bench-strpbrk.c: Likewise.
38967 * benchtests/bench-strrchr.c: Likewise.
38968 * benchtests/bench-strspn.c: Likewise.
38969 * benchtests/bench-strstr.c: Likewise.
38970
38971 2013-09-04 Will Newton <will.newton@linaro.org>
38972
38973 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
38974
38975 2013-09-03 Joseph Myers <joseph@codesourcery.com>
38976
38977 [BZ #15427]
38978 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
38979 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
38980 * math/libm-test.inc (lgamma_test_data): Add more tests.
38981 * sysdeps/i386/fpu/libm-test-ulps: Update.
38982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38983
38984 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
38985
38986 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
38987 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38988 Add ifunc.
38989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38990 Add strcmp-sse2-unaligned
38991 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
38992
38993 2013-09-02 Mike Frysinger <vapier@gentoo.org>
38994
38995 * Versions.def (libc): Add GLIBC_2.19.
38996
38997 2013-09-02 Mike Frysinger <vapier@gentoo.org>
38998
38999 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
39000 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
39001
39002 2013-09-02 Joseph Myers <joseph@codesourcery.com>
39003
39004 [BZ #14155]
39005 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
39006 intermediate calculations in recurrence.
39007 (__ieee754_ynf): Likewise.
39008 * math/libm-test.inc (jn_test_data): Do not allow spurious
39009 underflow exception. Add more tests.
39010 (yn_test_data): Add more tests.
39011 * sysdeps/i386/fpu/libm-test-ulps: Update.
39012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39013
39014 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
39015
39016 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
39017
39018 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
39019
39020 * csu/init-first.c: Fix then/than typos.
39021 * locale/programs/ld-collate.c: Likewise.
39022 * locale/programs/linereader.h: Likewise.
39023 * manual/charset.texi: Likewise.
39024 * manual/filesys.texi: Likewise.
39025 * manual/stdio.texi: Likewise.
39026 * manual/string.texi: Likewise.
39027 * stdlib/fmtmsg.c: Likewise.
39028 * sysdeps/i386/stpncpy.S: Likewise.
39029 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39030 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39031 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39032 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39033
39034 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
39035
39036 * elf/dl-open.c: Fix typos.
39037 * iconvdata/gbbig5.c: Likewise.
39038 * iconvdata/iso-2022-jp.c: Likewise.
39039 * iconv/gconv_int.h: Likewise.
39040 * iconv/loop.c: Likewise.
39041 * nis/rpcsvc/nis.h: Likewise.
39042 * resolv/ns_name.c: Likewise.
39043 * stdio-common/vfscanf.c: Likewise.
39044 * streams/stropts.h: Likewise.
39045 * sunrpc/rpc_thread.c: Likewise.
39046 * sysdeps/i386/strpbrk.S: Likewise.
39047 * sysdeps/ieee754/k_standard.c: Likewise.
39048 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39049 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39050 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
39051 * sysdeps/mach/hurd/profil.c: Likewise.
39052 * sysdeps/s390/dl-procinfo.h: Likewise.
39053 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
39054 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39055 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
39056 * sysdeps/x86_64/dl-trampoline.S: Likewise.
39057 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39058
39059 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
39060
39061 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
39062 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
39063
39064 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
39065
39066 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
39067 aix specific files.
39068 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
39069 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
39070 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
39071 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
39072 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
39073 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
39074 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
39075 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
39076
39077 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
39078 Roland McGrath <roland@hack.frob.com>
39079
39080 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
39081 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
39082
39083 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
39084
39085 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
39086 __executable_start symbol instead of _start.
39087
39088 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
39089
39090 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
39091 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
39092 Move macros to...
39093 * sysdeps/gnu/ldsodefs.h: ... this new file.
39094
39095 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
39096 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
39097 instead of ELFOSABI_LINUX.
39098
39099 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
39100 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
39101 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
39102 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
39103 Likewise.
39104 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
39105 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
39106 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
39107 Likewise.
39108 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39109 (ibm_extended_long_double): Add ieee_nan member.
39110 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
39111 (do_test): New function.
39112
39113 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
39114 TEST_TRUNC.
39115 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
39116 functions, renamed from truncdfsf_test, trunctfsf_test,
39117 trunctfdf_test.
39118 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
39119 functions.
39120 (do_test): Run all these.
39121
39122 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
39123
39124 * argp/argp-help.c: Fix typos.
39125 * argp/argp-parse.c: Likewise.
39126 * debug/backtracesyms.c: Likewise.
39127 * elf/elf.h: Likewise.
39128 * malloc/malloc.c: Likewise.
39129 * nis/nis_print.c: Likewise.
39130 * resolv/res_comp.c: Likewise.
39131 * stdlib/stdlib.h: Likewise.
39132 * sunrpc/clnt_tcp.c: Likewise.
39133 * sunrpc/clnt_udp.c: Likewise.
39134 * sunrpc/clnt_unix.c: Likewise.
39135 * sysdeps/unix/bsd/ptsname.c: Likewise.
39136 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
39137 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
39138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
39139 Likewise.
39140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
39141 Likewise.
39142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
39143 Likewise.
39144 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39145
39146 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39147
39148 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
39149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39150
39151 2013-08-27 Mike Frysinger <vapier@gentoo.org>
39152
39153 [BZ #15897]
39154 * dlfcn/Makefile (tests): Add bug-dl-leaf.
39155 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
39156 ($(objpfx)bug-dl-leaf): New rule.
39157 ($(objpfx)bug-dl-leaf.so): Likewise.
39158 ($(objpfx)bug-dl-leaf.out): Likewise.
39159 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
39160 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
39161 * dlfcn/bug-dl-leaf.c: New test.
39162 * dlfcn/bug-dl-leaf-lib.c: Likewise.
39163 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
39164 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
39165 (dlclose): Likewise.
39166 (dlmopen): Likewise.
39167
39168 2013-08-27 Roland McGrath <roland@hack.frob.com>
39169
39170 * include/netdb.h [!_ISOMAC]:
39171 Don't include <tls.h>.
39172 (h_errno, __libc_h_errno): Move declaration and macros out of
39173 [_LIBC_REENTRANT].
39174
39175 * include/resolv.h [_RESOLV_H_]:
39176 Don't include <tls.h>.
39177 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
39178 * resolv/res_libc.c: Don't include <tls.h>.
39179 (_res): Use __attribute__ ((nocommon)) in place of
39180 __attribute__ ((section (".bss"))).
39181
39182 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
39183 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
39184
39185 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
39186
39187 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
39188 only under [SIOCGIFCONF && SIOCGIFNETMASK].
39189
39190 * resolv/res_mkquery.c: Include <sys/time.h>.
39191
39192 * inet/ifreq.c: Moved to ...
39193 * sysdeps/unix/ifreq.c: ... here.
39194 * inet/ifreq.c: New file, true stub version.
39195
39196 * socket/sa_len.c: New file.
39197 * socket/Makefile (aux): Add it.
39198 * sysdeps/unix/sysv/linux/Makefile
39199 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
39200 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
39201 and #include <socket/sa_len.c>.
39202 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
39203 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
39204
39205 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
39206 * bits/socket.h: ... here.
39207
39208 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
39209 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
39210 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
39211
39212 2013-08-27 Andreas Schwab <schwab@suse.de>
39213
39214 [BZ #15736]
39215 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
39216 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
39217 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
39218 * string/test-strcasecmp.c (test_main): Run tests in several
39219 locales.
39220 * string/test-strncasecmp.c (test_main): Likewise.
39221
39222 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
39223 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
39224 to __strcasecmp_nonascii and __strncasecmp_nonascii.
39225 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
39226 (__strncasecmp_ssse3) [PIC]: Likewise.
39227
39228 2013-08-26 Roland McGrath <roland@hack.frob.com>
39229
39230 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
39231
39232 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
39233 instead of explicitly declaring xdecrypt.
39234 * nis/nss_nis/nis-publickey.c: Likewise.
39235
39236 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39237
39238 [BZ #15890]
39239 * nscd/aicache.c: Include res_hconf.h.
39240 (addhstaiX): Initialize res_hconf.
39241
39242 2013-08-26 Andreas Schwab <schwab@suse.de>
39243
39244 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
39245 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
39246
39247 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39248
39249 * nscd/aicache.c (addhstaiX): Fix indentation.
39250
39251 2013-08-25 Mike Frysinger <vapier@gentoo.org>
39252
39253 * configure.ac: Quote $build_pt_chown test.
39254 * configure: Regenerated.
39255
39256 2013-08-23 Joseph Myers <joseph@codesourcery.com>
39257
39258 [BZ #15532]
39259 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
39260 * math/s_cexpf.c (__cexpf): Likewise.
39261 * math/s_cexpl.c (__cexpl): Likewise.
39262 * math/libm-test.inc (cexp_test_data): Correct expected return
39263 value for NaN + i0. Add another test.
39264
39265 2013-08-22 David S. Miller <davem@davemloft.net>
39266
39267 * po/ca.po: Update Catalan translation from translation project.
39268 * po/uk.po: Add Ukrainian translations from translation project.
39269
39270 2013-08-21 Joseph Myers <joseph@codesourcery.com>
39271
39272 [BZ #15797]
39273 * math/s_fdim.c (__fdim): Check for infinite arguments if result
39274 is infinite, not alongside NaN test.
39275 * math/s_fdimf.c (__fdimf): Likewise.
39276 * math/s_fdiml.c (__fdiml): Likewise.
39277 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
39278 errno is unchanged.
39279
39280 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
39281
39282 * argp/argp-help.c: Fix typos.
39283 * crypt/speeds.c: Likewise.
39284 * csu/check_fds.c: Likewise.
39285 * elf/dl-load.c: Likewise.
39286 * elf/dl-open.c: Likewise.
39287 * elf/reldep3.c: Likewise.
39288 * elf/reldep.c: Likewise.
39289 * elf/sprof.c: Likewise.
39290 * iconv/iconv_charmap.c: Likewise.
39291 * iconv/skeleton.c: Likewise.
39292 * iconv/strtab.c: Likewise.
39293 * io/lockf64.c: Likewise.
39294 * libio/libioP.h: Likewise.
39295 * resolv/gai_notify.c: Likewise.
39296 * resolv/ns_name.c: Likewise.
39297 * resolv/ns_samedomain.c: Likewise.
39298 * resolv/res_send.c: Likewise.
39299 * stdlib/random.c: Likewise.
39300 * sunrpc/rpc/xdr.h: Likewise.
39301 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
39302 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39303 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39304 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39305 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39306 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39307 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39308 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39309 * sysdeps/mach/hurd/check_fds.c: Likewise.
39310 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39311 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39312 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39313 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39314 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39315 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39316 * sysdeps/pthread/aio_notify.c: Likewise.
39317 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
39318 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
39319 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
39320 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39321 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
39322
39323 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39324
39325 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
39326 version if bit_Slow_SSE4_2 is set.
39327 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39328 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39329
39330 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39331
39332 [BZ #15867]
39333 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
39334 trampoline stack frame information.
39335 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
39336 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
39337 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
39338 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
39339 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
39340 * sysdeps/unix/sysv/linux/powerpc/init-first.c
39341 (_libc_vdso_platform_setup): Initialize the signal trampolines.
39342 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
39343 sa_flags value.
39344 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
39345 interrupting a syscall and set with option SA_SIGINFO.
39346
39347 2013-08-20 Joseph Myers <joseph@codesourcery.com>
39348
39349 [BZ #15531]
39350 * math/s_cproj.c (__cproj): Only return an infinity if one part of
39351 argument is infinite.
39352 * math/s_cprojf.c (__cprojf): Likewise.
39353 * math/s_cprojl.c (__cprojl): Likewise.
39354 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
39355 * math/libm-test.inc (cproj_test_data): Add more tests.
39356
39357 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
39358
39359 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
39360 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
39361 size. Use __ffs to determine corresponding shift.
39362
39363 2013-08-20 Joseph Myers <joseph@codesourcery.com>
39364 Roland McGrath <roland@hack.frob.com>
39365
39366 * Makefile (INSTALL): Remove trailing blank lines from output of
39367 makeinfo.
39368
39369 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39370
39371 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
39372 Align 32 bit compat elf_greg to 8 bytes.
39373
39374 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
39375
39376 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
39377
39378 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39379
39380 * string/strcoll_l.c (coll_seq): New structure.
39381 (get_next_seq_cached): New function.
39382 (get_next_seq): New function.
39383 (do_compare): New function.
39384 (STRCOLL): Use GNU style definition. Simplify implementation
39385 by using get_next_seq, get_next_seq_cached and do_compare.
39386
39387 2013-08-16 Florian Weimer <fweimer@redhat.com>
39388
39389 [BZ #14699]
39390 CVE-2013-4237
39391 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
39392 member.
39393 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
39394 member.
39395 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
39396 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
39397 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
39398 conditional.
39399 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
39400 GETDENTS_64BIT_ALIGNED.
39401 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39402 * manual/filesys.texi (Reading/Closing Directory): Document
39403 ENAMETOOLONG return value of readdir_r. Recommend readdir more
39404 strongly.
39405 * manual/conf.texi (Limits for Files): Add portability note to
39406 NAME_MAX, PATH_MAX.
39407 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
39408
39409 2013-08-13 Andreas Schwab <schwab@suse.de>
39410
39411 [BZ #15749]
39412 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
39413 of fabs.
39414 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
39415 LDBL_MAX_EXP >= 16384]: Add tests for it.
39416
39417 2013-08-12 David S. Miller <davem@davemloft.net>
39418
39419 * version.h (RELEASE): Set to "development".
39420 (VERSION): Set to "2.18.90".
39421 * NEWS: Add 2.19 section.
39422
39423 2013-08-03 David S. Miller <davem@davemloft.net>
39424
39425 * po/ko.po: Update Korean translation from translation project.
39426
39427 2013-08-01 David S. Miller <davem@davemloft.net>
39428
39429 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
39430 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
39431 Bilka.
39432
39433 2013-07-30 David S. Miller <davem@davemloft.net>
39434
39435 * po/fr.po: Update French translation from translation project.
39436
39437 2013-07-28 David S. Miller <davem@davemloft.net>
39438
39439 * po/cs.po: Update Czech translation from translation project.
39440
39441 * po/sv.po: Update Swedish translation from translation project.
39442
39443 2013-07-27 David S. Miller <davem@davemloft.net>
39444
39445 * po/eo.po: Update Esperanto translation from translation project.
39446
39447 * po/vi.po: Update Vietnamese translation from translation project.
39448
39449 * po/de.po: Update German translation from translation project.
39450
39451 2013-07-26 David S. Miller <davem@davemloft.net>
39452
39453 * po/bg.po: Update Bulgarian translation from translation project.
39454
39455 * po/nl.po: Update Dutch translation from translation project.
39456 * po/pl.po: Update Polish translation from translation project.
39457 * po/ru.po: Update Russian translation from translation project.
39458
39459 2013-07-24 David S. Miller <davem@davemloft.net>
39460
39461 * po/libc.pot: Update.
39462
39463 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39464
39465 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
39466 variable page size.
39467 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
39468 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
39469 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
39470
39471 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39472
39473 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
39474
39475 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39476 Andreas Schwab <schwab@suse.de>
39477 Roland McGrath <roland@hack.frob.com>
39478 Joseph Myers <joseph@codesourcery.com>
39479 Carlos O'Donell <carlos@redhat.com>
39480
39481 [BZ #15755]
39482 * config.h.in: Define HAVE_PT_CHOWN.
39483 * config.make.in (build-pt-chown): New variable.
39484 * configure.in (--enable-pt_chown): New configure option.
39485 * configure: Regenerate.
39486 * login/Makefile: Include Makeconfig. Build pt_chown only if
39487 build-pt-chown is enabled.
39488 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
39489 pt_chown to fix pty ownership.
39490 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
39491 CLOSE_ALL_FDS.
39492 * manual/install.texi (Configuring and compiling): Mention
39493 --enable-pt_chown. Add @findex for grantpt.
39494 * INSTALL: Regenerate.
39495
39496 2013-07-20 David S. Miller <davem@davemloft.net>
39497
39498 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
39499 difference between 32-bit and 64-bit.
39500
39501 2013-07-15 Carlos O'Donell <carlos@redhat.com>
39502
39503 [BZ #15711]
39504 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
39505 Avoid system header dependency with -ffreestanding.
39506 ($(objpfx)bits/syscall%d): Likewise.
39507
39508 2013-07-13 David S. Miller <davem@davemloft.net>
39509
39510 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
39511 underflows from atanl/atan2l due to bug 15319.
39512 (casinh_test_data): Likewise.
39513
39514 2013-07-07 David S. Miller <davem@davemloft.net>
39515
39516 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
39517
39518 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
39519
39520 * sysdeps/i386/fpu/libm-test-ulps: Update.
39521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39522
39523 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39524
39525 * configure.in (--enable-lock-elision): Fix message text.
39526 * INSTALL: Regenerate.
39527 * configure: Regenerate.
39528
39529 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39530
39531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39532
39533 2013-07-03 Andreas Jaeger <aj@suse.de>
39534
39535 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
39536 define.
39537 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
39538 (ptrace_peeksiginfo_args): Add.
39539 (__ptrace_peeksiginfo_flags): Add.
39540 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39541 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39542 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39543
39544 2013-07-03 Allan McRae <allan@archlinux.org>
39545
39546 * sysdeps/i386/fpu/libm-test-ulps: Update.
39547
39548 2013-07-02 David S. Miller <davem@davemloft.net>
39549
39550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39551
39552 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
39553
39554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39555
39556 2013-07-02 Joseph Myers <joseph@codesourcery.com>
39557
39558 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39560
39561 2013-07-02 Andi Kleen <ak@linux.intel.com>
39562
39563 * config.h.in (ENABLE_LOCK_ELISION): Add.
39564 * configure.in (--enable-lock-elision): Add option.
39565 * manual/install.texi: Document --enable lock elision.
39566 * configure: Regenerate
39567 * INSTALL: Regenerate.
39568
39569 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
39570
39571 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
39572 SSE4.2 strcasecmp for libc.a.
39573 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
39574
39575 2013-07-02 Joseph Myers <joseph@codesourcery.com>
39576
39577 [BZ #13304]
39578 * soft-fp/op-common.h (_FP_FMA): New macro.
39579 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
39580 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
39581 (_FP_MUL_MEAT_1_imm): ... here.
39582 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
39583 (_FP_MUL_MEAT_1_wide): ... here.
39584 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
39585 (_FP_MUL_MEAT_1_hard): ... here.
39586 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
39587 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
39588 (_FP_MUL_MEAT_2_wide): ... here.
39589 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
39590 (_FP_MUL_MEAT_2_wide_3mul): ... here.
39591 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
39592 (_FP_MUL_MEAT_2_gmp): ... here.
39593 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
39594 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
39595 (_FP_MUL_MEAT_4_wide): ... here.
39596 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
39597 (_FP_MUL_MEAT_4_gmp): ... here.
39598 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
39599 (_FP_WFRACBITS_DW_S): Likewise.
39600 (_FP_WFRACXBITS_DW_S): Likewise.
39601 (_FP_HIGHBIT_DW_S): Likewise.
39602 (FP_FMA_S): Likewise.
39603 (_FP_FRAC_HIGH_DW_S): Likewise.
39604 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
39605 (_FP_WFRACBITS_DW_D): Likewise.
39606 (_FP_WFRACXBITS_DW_D): Likewise.
39607 (_FP_HIGHBIT_DW_D): Likewise.
39608 (FP_FMA_D): Likewise.
39609 (_FP_FRAC_HIGH_DW_D): Likewise.
39610 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
39611 (_FP_WFRACBITS_DW_E): Likewise.
39612 (_FP_WFRACXBITS_DW_E): Likewise.
39613 (_FP_HIGHBIT_DW_E): Likewise.
39614 (FP_FMA_E): Likewise.
39615 (_FP_FRAC_HIGH_DW_E): Likewise.
39616 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
39617 (_FP_WFRACBITS_DW_Q): Likewise.
39618 (_FP_WFRACXBITS_DW_Q): Likewise.
39619 (_FP_HIGHBIT_DW_Q): Likewise.
39620 (FP_FMA_Q): Likewise.
39621 (_FP_FRAC_HIGH_DW_Q): Likewise.
39622 * soft-fp/fmasf4.c: New file.
39623 * soft-fp/fmadf4.c: Likewise.
39624 * soft-fp/fmatf4.c: Likewise.
39625
39626 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39627
39628 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39629 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
39630 Silvermont.
39631 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
39632 macro.
39633 (index_Slow_SSE4_2): Likewise.
39634 (index_Prefer_PMINUB_for_stringop): Likewise.
39635 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
39636 bit_Slow_SSE4_2 is set.
39637 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39638 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39639
39640 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39641
39642 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
39643 rtld_global._dl_hwcap2.
39644 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
39645 POWER8.
39646 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
39647 POWER8 feature descriptions defined in _dl_hwcap2.
39648 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
39649 string handling for POWER8 feature bits.
39650 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
39651 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
39652 _dl_powerpc_cap_flags.
39653 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
39654 * sysdeps/powerpc/rtld-global-offsets.sym
39655 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
39656 _dl_hwcap2 in the rtld_global_ro structure.
39657
39658 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39659
39660 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
39661 hardware capabilities in support of AT_HWCAP2.
39662 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
39663 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
39664 GLRO(dl_hwcap2).
39665 (_dl_show_auxv): Add support for calling _dl_procinfo to display
39666 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
39667 explicitly the unknown a_type display mechanism is used.
39668 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
39669 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
39670 struct member.
39671 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
39672 to macro prototype for AT_HWCAP2 support.
39673 * sysdeps/i386/dl-procinfo.h: Likewise.
39674 * sysdeps/s390/dl-procinfo.h: Likewise.
39675 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
39676 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
39677 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
39678 return -1 for unknown a_type display fallback.
39679 * sysdeps/sparc/dl-procinfo.h: Likewise.
39680 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
39681 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
39682
39683 2013-06-28 Joseph Myers <joseph@codesourcery.com>
39684
39685 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
39686 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
39687
39688 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
39689
39690 [BZ #12492]
39691 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
39692 mprotect making __stack_prot writable.
39693
39694 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
39695 Joseph Myers <joseph@codesourcery.com>
39696
39697 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
39698 as being properly aligned.
39699
39700 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
39701
39702 * dlfcn/modstatic5.c: New file.
39703 * dlfcn/tststatic5.c: New file.
39704 * dlfcn/Makefile (tests): Add tststatic5.
39705 (tests-static): Likewise.
39706 (modules-names): Add modstatic5.
39707 (tststatic5-ENV): New variable.
39708 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
39709
39710 [BZ #15022]
39711 * elf/dl-support.c (_dl_main_map): New variable.
39712 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
39713 (_dl_nns, _dl_load_adds): Set to 1.
39714 (_dl_initial_searchlist): Refer to _dl_main_map.
39715 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
39716 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
39717 call to _dl_get_origin.
39718 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
39719 around call_map.
39720 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
39721 * dlfcn/modstatic3.c: New file.
39722 * dlfcn/tststatic3.c: New file.
39723 * dlfcn/tststatic4.c: New file.
39724 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
39725 (tests-static): Likewise.
39726 (modules-names): Add modstatic3.
39727 (tststatic3-ENV, tststatic4-ENV): New variables.
39728 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
39729 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
39730
39731 2013-06-26 Joseph Myers <joseph@codesourcery.com>
39732
39733 * configure.in (CC): Require GCC version 4.4 or later.
39734 * configure: Regenerated.
39735 * manual/install.texi (Tools for Compilation): Update GCC version
39736 requirement.
39737 * INSTALL: Regenerated.
39738
39739 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39740
39741 [BZ #15674]
39742 * string/test-memcmp.c (check2): New.
39743 (main): Call check2.
39744
39745 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
39746
39747 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
39748
39749 [BZ #15022]
39750 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
39751 over to...
39752 (dl_open_worker) [!SHARED]: ... here.
39753
39754 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39755
39756 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
39757
39758 2013-06-25 Richard Henderson <rth@redhat.com>
39759
39760 * locale/programs/locarchive.c: Include <libc-internal.h>
39761
39762 2013-06-25 Joseph Myers <joseph@codesourcery.com>
39763
39764 * manual/texinfo.tex: Update to version 2013-06-21.17, with
39765 trailing whitespace removed.
39766
39767 2013-06-24 Mike Frysinger <vapier@gentoo.org>
39768
39769 [BZ #10283]
39770 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
39771 * locale/programs/locarchive.c: Include libc-mmap.h.
39772 (prepare_address_space): Take two new outputs (the mmap base and len).
39773 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
39774 values.
39775 (create_archive): Declare new mmap base and len values for
39776 prepare_address_space, and store the result in ah.
39777 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
39778 (enlarge_archive): If ah->mmap_base is not NULL, use that and
39779 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
39780 Declare new mmap base and len values for
39781 prepare_address_space, and store the result in new_ah.
39782 (open_archive): Declare new mmap base and len values for
39783 prepare_address_space, and store the result in ah.
39784 (close_archive): If ah->mmap_base is not NULL, use that and
39785 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
39786 * sysdeps/generic/libc-mmap.h: New file.
39787
39788 2013-06-24 Mike Frysinger <vapier@gentoo.org>
39789
39790 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
39791 (ALIGN_UP): Likewise.
39792 (PTR_ALIGN_DOWN): Likewise.
39793 (PTR_ALIGN_UP): Likewise.
39794
39795 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39796
39797 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
39798 entry mapped to PPC_PLATFORM_POWER8.
39799 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
39800 POWER8.
39801 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
39802 (_dl_string_platform): Add case for exporting platform position for
39803 POWER8.
39804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
39805 search path to sysdeps/powerpc/powerpc32/power8 directory.
39806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
39807 search path to sysdeps/powerpc/powerpc64/power8 directory.
39808 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
39809 power7 directories.
39810 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
39811 power7 directories.
39812
39813 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39814
39815 * INSTALL: Regenerate.
39816
39817 * nscd/connections.c (nscd_init): Fix comment.
39818
39819 2013-06-22 Joseph Myers <joseph@codesourcery.com>
39820
39821 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
39822
39823 [BZ #15667]
39824 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
39825 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
39826
39827 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
39828
39829 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
39830 DL_DST_REQ_STATIC.
39831 (DL_DST_REQ_STATIC): Remove macro.
39832
39833 2013-06-21 Joseph Myers <joseph@codesourcery.com>
39834
39835 [BZ #7006]
39836 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
39837 with a shift of 0 bits.
39838
39839 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
39840
39841 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
39842 $(tststatic-ENV).
39843
39844 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39845
39846 [BZ #15655]
39847 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
39848
39849 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39850
39851 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
39852 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
39853 accepts -fno-tree-loop-distribute-patterns.
39854 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
39855 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
39856 recursive call.
39857 * string/memset.c (memset): Likewise.
39858 * string/test-memmove.c (simple_memmove): Disable loop transformation
39859 to library calls.
39860 * string/test-memset.c (simple_memset): Likewise.
39861 * benchtests/bench-memmove.c (simple_memmove): Likewise.
39862 * benchtests/bench-memset.c (simple_memset): Likewise.
39863 * configure: Regenerated.
39864
39865 2013-06-20 Joseph Myers <joseph@codesourcery.com>
39866
39867 * math/test-misc.c (main): Ignore fesetround failure when failures
39868 of subsequent rounding tests would be ignored.
39869
39870 [BZ #15654]
39871 * math/fedisblxcpt.c (fedisableexcept): Return 0.
39872 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
39873 * math/fegetenv.c (__fegetenv): Return 0.
39874 * math/fegetexcept.c (fegetexcept): Return 0.
39875 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
39876 FE_TONEAREST.
39877 * math/feholdexcpt.c (feholdexcept): Return 0.
39878 * math/fesetenv.c (__fesetenv): Return 0.
39879 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
39880 argument FE_TONEAREST.
39881 * math/feupdateenv.c (__feupdateenv): Return 0.
39882 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
39883
39884 2013-06-18 Roland McGrath <roland@hack.frob.com>
39885
39886 * elf/rtld-Rules (rtld-compile-command.S): New variable.
39887 (rtld-compile-command.s, rtld-compile-command.c): New variables.
39888 ($(objpfx)rtld-%.os rules): Use them.
39889
39890 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39891
39892 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
39893 fields.
39894
39895 2013-06-17 Roland McGrath <roland@hack.frob.com>
39896
39897 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
39898 length of target pattern, then descending length of dependency pattern.
39899 * configure.in (AWK): Require gawk 3.1.2 or newer.
39900 * manual/install.texi (Tools for Compilation): Say that we do.
39901 * configure: Regenerated.
39902
39903 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
39904 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
39905 * scripts/sysd-rules.awk: ... this new script.
39906 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
39907 than a glob-style pattern.
39908
39909 2013-06-17 Joseph Myers <joseph@codesourcery.com>
39910
39911 * math/test-misc.c (main): Do not treat incorrectly rounded
39912 conversions as failure unless ROUNDING_TESTS passes.
39913
39914 2013-06-15 Joseph Myers <joseph@codesourcery.com>
39915
39916 [BZ #15631]
39917 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
39918 restore exception state around main square root computation, then
39919 check for inexactness explicitly.
39920
39921 * math/libm-test.inc (fma_test_data): Add another test.
39922
39923 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39924
39925 * manual/threads.texi (Non-POSIX Extensions): New document
39926 node. Document pthread_getattr_default_np and
39927 pthread_setattr_default_np.
39928
39929 * Versions.def (libpthread): Add GLIBC_2.18.
39930 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
39931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39932 Likewise.
39933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39934 Likewise.
39935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39936 Likewise.
39937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39938 Likewise.
39939 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
39940 Likewise.
39941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39942 Likewise.
39943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39944 Likewise.
39945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39946 Likewise.
39947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39948 Likewise.
39949
39950 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39951
39952 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39953 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
39954
39955 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
39956 H.J. Lu <hjl.tools@gmail.com>
39957
39958 [BZ #15627]
39959 * sysdeps/x86_64/rtld-memset.c: Remove file.
39960 * sysdeps/x86_64/rtld-memset.S: New file.
39961
39962 2013-06-14 Joseph Myers <joseph@codesourcery.com>
39963
39964 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
39965 (test_in_one_mode): Take arguments for whether the rounding mode
39966 is supported for each floating-point type.
39967 (do_test): Pass new arguments to test_in_one_mode using
39968 ROUNDING_TESTS.
39969
39970 2013-06-13 Roland McGrath <roland@hack.frob.com>
39971
39972 * posix/tst-waitid.c (do_test): Distinguish different instances of
39973 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
39974 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
39975 before entering the kernel for waitpid.
39976
39977 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
39978
39979 * NEWS: Fix note on clock function precision. Text by Roland
39980 McGrath.
39981
39982 2013-06-13 Roland McGrath <roland@hack.frob.com>
39983
39984 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
39985 it into place only when and if the sanity check passes.
39986
39987 2013-06-13 Joseph Myers <joseph@codesourcery.com>
39988
39989 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
39990 output for whether conversion result is exact. Take argument
39991 indicating whether type is IBM long double.
39992 (round_for_all): Change need_exact field to ibm_ld.
39993 * stdlib/tst-strtod-round.c (struct exactness): New type.
39994 (struct test): Change bool ld_ok field to struct exactness exact.
39995 (TEST): Update all definitions for change to field.
39996 (tests): Regenerate array contents.
39997 (test_in_one_mode): Take pointer to new field instead of old ld_ok
39998 field value. Check for IBM long double here.
39999 (do_test): Update calls to test_in_one_mode.
40000
40001 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
40002
40003 [BZ #12515]
40004 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
40005 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
40006
40007 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40008
40009 [BZ #15605]
40010 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
40011 generated by the compiler on loop optimizations.
40012 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
40013 general definitions.
40014
40015 2013-06-12 Joseph Myers <joseph@codesourcery.com>
40016
40017 * math/bug-nextafter.c: Include <math-tests.h>.
40018 (main): Only test for exceptions if EXCEPTION_TESTS is true for
40019 the relevant type.
40020 * math/bug-nexttoward.c: Include <math-tests.h>.
40021 (main): Only test for exceptions if EXCEPTION_TESTS is true for
40022 the relevant type.
40023 * math/test-misc.c: Include <math-tests.h>.
40024 (main): Only test for exceptions if EXCEPTION_TESTS is true for
40025 the relevant type.
40026
40027 2013-06-12 Andreas Jaeger <aj@suse.de>
40028
40029 * po/ia.po: Update Interlingua translation from translation
40030 project.
40031
40032 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
40033
40034 * include/fenv.h: Include stdbool.h.
40035 (struct rm_ctx): New structure.
40036 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
40037 Define macro.
40038 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
40039 (SET_RESTORE_ROUNDF): Likewise.
40040 (SET_RESTORE_ROUNDL): Likewise.
40041 (SET_RESTORE_ROUND_NOEX): Likewise.
40042 (SET_RESTORE_ROUND_NOEXF): Likewise.
40043 (SET_RESTORE_ROUND_NOEXL): Likewise.
40044 (SET_RESTORE_ROUND_53BIT): Likewise.
40045 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
40046 (libc_feresetround_noexf_ctx): Likewise.
40047 (libc_feresetround_noexl_ctx): Likewise.
40048 (libc_feholdsetround_53bit_ctx): Likewise.
40049 (libc_feresetround_53bit_ctx): Likewise.
40050 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
40051 (libc_feholdexcept_setround_sse_ctx): New function.
40052 (libc_fesetenv_sse_ctx): Likewise.
40053 (libc_feupdateenv_sse_ctx): Likewise.
40054 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
40055 (libc_feholdexcept_setround_387_ctx): Likewise.
40056 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
40057 (libc_feholdsetround_387_prec_ctx): Likewise.
40058 (libc_feholdsetround_387_ctx): Likewise.
40059 (libc_feholdsetround_387_53bit_ctx): Likewise.
40060 (libc_feholdsetround_sse_ctx): Likewise.
40061 (libc_feresetround_sse_ctx): Likewise.
40062 (libc_feresetround_387_ctx): Likewise.
40063 (libc_feupdateenv_387_ctx): Likewise.
40064 (libc_feholdexcept_setroundf_ctx): Define macro.
40065 (libc_fesetenvf_ctx): Likewise.
40066 (libc_feupdateenvf_ctx): Likewise.
40067 (libc_feholdsetroundf_ctx): Likewise.
40068 (libc_feresetroundf_ctx): Likewise.
40069 (libc_feholdexcept_setround_ctx): Likewise.
40070 (libc_fesetenv_ctx): Likewise.
40071 (libc_feupdateenv_ctx): Likewise.
40072 (libc_feholdsetround_ctx): Likewise.
40073 (libc_feresetround_ctx): Likewise.
40074 (libc_feholdexcept_setroundl_ctx): Likewise.
40075 (libc_feupdateenvl_ctx): Likewise.
40076 (libc_feholdsetroundl_ctx): Likewise.
40077 (libc_feresetroundl_ctx): Likewise.
40078 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
40079 (libc_feresetround_53bit_ctx): Likewise.
40080
40081 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
40082
40083 * locale/iso-639.def: Convert to UTF-8.
40084
40085 2013-06-11 Joseph Myers <joseph@codesourcery.com>
40086
40087 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
40088 (EXCEPTION_TESTS_double): Likewise.
40089 (EXCEPTION_TESTS_long_double): Likewise.
40090 (EXCEPTION_TESTS): Likewise.
40091 * math/libm-test.inc (test_exceptions): Only test exceptions if
40092 EXCEPTION_TESTS (FLOAT).
40093
40094 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
40095
40096 * benchtests/Makefile (string-bench): Add strcpy_chk and
40097 stpcpy_chk.
40098 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
40099 * benchtests/bench-stpcpy_chk.c: New file.
40100 * benchtests/bench-strcpy_chk-ifunc.c: New file.
40101 * benchtests/bench-strcpy_chk.c: New file.
40102 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
40103 code.
40104 (do_test): Likewise.
40105
40106 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40107
40108 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
40109 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
40110 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
40111 with tabs where appropriate.
40112 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
40113 dl-procinfo.h.
40114 [PPC_PLATFORM_PPC440]: Likewise.
40115 [PPC_PLATFORM_PPC464]: Likewise.
40116 [PPC_PLATFORM_PPC476]: Likewise.
40117 (_dl_string_platform): Add support for detecting ppc405, ppc440,
40118 ppc464, and ppc476 platform strings merging from ports/
40119 dl-procinfo.h.
40120
40121 2013-06-11 Andreas Schwab <schwab@suse.de>
40122
40123 [BZ #14991]
40124 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
40125 (from_ucs4_idx): Regenerate.
40126 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
40127 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
40128 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
40129 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
40130 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
40131 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
40132 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
40133 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
40134 from FROM_LOOP and TO_LOOP specific macros.
40135 (BODY): Handle combining characters.
40136 * iconvdata/BIG5HKSCS.irreversible: Update.
40137 * iconvdata/BIG5HKSCS.precomposed: New file.
40138 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
40139 characters.
40140 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
40141
40142 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
40143
40144 * include/sys/time.h: Fix indentation and add copyright header.
40145
40146 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
40147 (do_test): Likewise.
40148 * string/test-memchr.c (do_one_test): Likewise.
40149 (do_test): Likewise.
40150 * string/test-memcmp.c (do_one_test): Likewise.
40151 (do_test): Likewise.
40152 * string/test-memcpy.c (do_one_test): Likewise.
40153 (do_test): Likewise.
40154 * string/test-memmem.c (do_one_test): Likewise.
40155 (do_test): Likewise.
40156 (do_random_tests): Likewise.
40157 * string/test-memmove.c (do_one_test): Likewise.
40158 (do_test): Likewise.
40159 * string/test-memset.c (do_one_test): Likewise.
40160 (do_test): Likewise.
40161 * string/test-rawmemchr.c (do_one_test): Likewise.
40162 (do_test): Likewise.
40163 * string/test-strcasecmp.c (do_one_test): Likewise.
40164 (do_test): Likewise.
40165 * string/test-strcasestr.c (do_one_test): Likewise.
40166 (do_test): Likewise.
40167 * string/test-strcat.c (do_one_test): Likewise.
40168 (do_test): Likewise.
40169 * string/test-strchr.c (do_one_test): Likewise.
40170 (do_test): Likewise.
40171 * string/test-strcmp.c (do_one_test): Likewise.
40172 (do_test): Likewise.
40173 * string/test-strcpy.c (do_one_test): Likewise.
40174 (do_test): Likewise.
40175 * string/test-string.h: Likewise.
40176 (test_init): Likewise.
40177 * string/test-strlen.c (do_one_test): Likewise.
40178 (do_test): Likewise.
40179 * string/test-strncasecmp.c (do_one_test): Likewise.
40180 (do_test): Likewise.
40181 * string/test-strncat.c (do_one_test): Likewise.
40182 (do_test): Likewise.
40183 * string/test-strncmp.c (do_one_test): Likewise.
40184 (do_test_limit): Likewise.
40185 (do_test): Likewise.
40186 * string/test-strncpy.c (do_one_test): Likewise.
40187 (do_test): Likewise.
40188 * string/test-strnlen.c (do_one_test): Likewise.
40189 (do_test): Likewise.
40190 * string/test-strpbrk.c (do_one_test): Likewise.
40191 (do_test): Likewise.
40192 * string/test-strrchr.c (do_one_test): Likewise.
40193 (do_test): Likewise.
40194 * string/test-strspn.c (do_one_test): Likewise.
40195 (do_test): Likewise.
40196 * string/test-strstr.c (do_one_test): Likewise.
40197 (do_test): Likewise.
40198
40199 * benchtests/Makefile (string-bench): Add string benchmarks.
40200 * benchtests/bench-bcopy-ifunc.c: New file.
40201 * benchtests/bench-bcopy.c: New file.
40202 * benchtests/bench-bzero-ifunc.c: New file.
40203 * benchtests/bench-bzero.c: New file.
40204 * benchtests/bench-memccpy-ifunc.c: New file.
40205 * benchtests/bench-memccpy.c: New file.
40206 * benchtests/bench-memchr-ifunc.c: New file.
40207 * benchtests/bench-memchr.c: New file.
40208 * benchtests/bench-memcmp-ifunc.c: New file.
40209 * benchtests/bench-memcmp.c: New file.
40210 * benchtests/bench-memmem-ifunc.c: New file.
40211 * benchtests/bench-memmem.c: New file.
40212 * benchtests/bench-memmove-ifunc.c: New file.
40213 * benchtests/bench-memmove.c: New file.
40214 * benchtests/bench-mempcpy-ifunc.c: New file.
40215 * benchtests/bench-mempcpy.c: New file.
40216 * benchtests/bench-memset-ifunc.c: New file.
40217 * benchtests/bench-memset.c: New file.
40218 * benchtests/bench-rawmemchr-ifunc.c: New file.
40219 * benchtests/bench-rawmemchr.c: New file.
40220 * benchtests/bench-stpcpy-ifunc.c: New file.
40221 * benchtests/bench-stpcpy.c: New file.
40222 * benchtests/bench-stpncpy-ifunc.c: New file.
40223 * benchtests/bench-stpncpy.c: New file.
40224 * benchtests/bench-strcasecmp-ifunc.c: New file.
40225 * benchtests/bench-strcasecmp.c: New file.
40226 * benchtests/bench-strcasestr-ifunc.c: New file.
40227 * benchtests/bench-strcasestr.c: New file.
40228 * benchtests/bench-strcat-ifunc.c: New file.
40229 * benchtests/bench-strcat.c: New file.
40230 * benchtests/bench-strchr-ifunc.c: New file.
40231 * benchtests/bench-strchr.c: New file.
40232 * benchtests/bench-strchrnul-ifunc.c: New file.
40233 * benchtests/bench-strchrnul.c: New file.
40234 * benchtests/bench-strcmp-ifunc.c: New file.
40235 * benchtests/bench-strcmp.c: New file.
40236 * benchtests/bench-strcpy-ifunc.c: New file.
40237 * benchtests/bench-strcpy.c: New file.
40238 * benchtests/bench-strcspn-ifunc.c: New file.
40239 * benchtests/bench-strcspn.c: New file.
40240 * benchtests/bench-strlen-ifunc.c: New file.
40241 * benchtests/bench-strlen.c: New file.
40242 * benchtests/bench-strncasecmp-ifunc.c: New file.
40243 * benchtests/bench-strncasecmp.c: New file.
40244 * benchtests/bench-strncat-ifunc.c: New file.
40245 * benchtests/bench-strncat.c: New file.
40246 * benchtests/bench-strncmp-ifunc.c: New file.
40247 * benchtests/bench-strncmp.c: New file.
40248 * benchtests/bench-strncpy-ifunc.c: New file.
40249 * benchtests/bench-strncpy.c: New file.
40250 * benchtests/bench-strnlen-ifunc.c: New file.
40251 * benchtests/bench-strnlen.c: New file.
40252 * benchtests/bench-strpbrk-ifunc.c: New file.
40253 * benchtests/bench-strpbrk.c: New file.
40254 * benchtests/bench-strrchr-ifunc.c: New file.
40255 * benchtests/bench-strrchr.c: New file.
40256 * benchtests/bench-strspn-ifunc.c: New file.
40257 * benchtests/bench-strspn.c: New file.
40258 * benchtests/bench-strstr-ifunc.c: New file.
40259 * benchtests/bench-strstr.c: New file.
40260
40261 * benchtests/Makefile: Disable parallel execution of targets.
40262 (string-bench): Add memcpy.
40263 (benchset): New variable to store a list of benchmark sets.
40264 (bench-func): Renamed from bench.
40265 (bench-set): New target.
40266 (bench): Depend on bench-func and bench-set.
40267 * benchtests/README: Add section on benchmark sets.
40268 * benchtests/bench-memcpy-ifunc.c: New file.
40269 * benchtests/bench-memcpy.c: New file.
40270 * benchtests/bench-string.h: New file.
40271
40272 2013-06-11 Andreas Schwab <schwab@suse.de>
40273
40274 [BZ #15577]
40275 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
40276 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
40277 values in the triple.
40278 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
40279 terminator in the group key.
40280
40281 2013-06-11 Andreas Jaeger <aj@suse.de>
40282
40283 * po/zh_TW.po: Update Chinese (traditional) translation from
40284 translation project.
40285
40286 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
40287
40288 * include/time.h (__clock_gettime): Add libc_hidden_proto.
40289 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
40290 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
40291 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40292 (clock_getcpuclockid): Likewise.
40293 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
40294 Add weak_alias and libc_hidden_def.
40295 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
40296 * rt/clock_gettime.c (clock_gettime): Rename to
40297 __clock_gettime. Add weak_alias and libc_hidden_def.
40298 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
40299 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
40300 __clock_nanosleep. Add weak_alias and libc_hidden_def.
40301 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
40302 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
40303 Likewise.
40304 * rt/clock_settime.c (clock_settime): Rename to
40305 __clock_settime. Add weak_alias and libc_hidden_def.
40306 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
40307
40308 2013-06-10 Joseph Myers <joseph@codesourcery.com>
40309
40310 * mach/err_boot.sub: Remove trailing whitespace.
40311 * mach/err_ipc.sub: Likewise.
40312 * mach/err_mach.sub: Likewise.
40313
40314 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
40315 (ROUNDING_TESTS_double): Likewise.
40316 (ROUNDING_TESTS_long_double): Likewise.
40317 (ROUNDING_TESTS): Likewise.
40318 * math/libm-test.inc: Include <math-tests.h>.
40319 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
40320 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
40321 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
40322 (IF_ROUND_INIT_FE_UPWARD): Likewise.
40323
40324 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40325
40326 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
40327 of assigning.
40328
40329 2013-06-08 Joseph Myers <joseph@codesourcery.com>
40330
40331 * sysdeps/gnu/errlist.awk: Do not generate space at end of
40332 otherwise empty TRANS lines.
40333 * sysdeps/gnu/errlist.c: Regenerated.
40334
40335 * catgets/gencat.c (error_print): Use (void) in function
40336 definition.
40337 * crypt/crypt_util.c (__init_des): Likewise.
40338 * crypt/speeds.c (Stop): Likewise.
40339 (main): Likewise.
40340 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
40341 * inet/ruserpass.c (token): Likewise.
40342 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
40343 * intl/localealias.c (extend_alias_table): Likewise.
40344 * intl/plural-exp.c (init_germanic_plural): Likewise.
40345 * libio/fcloseall.c (__fcloseall): Likewise.
40346 * libio/genops.c (_IO_flush_all): Likewise.
40347 (_IO_flush_all_linebuffered): Likewise.
40348 (_IO_cleanup): Likewise.
40349 (_IO_iter_begin): Likewise.
40350 (_IO_iter_end): Likewise.
40351 (_IO_list_lock): Likewise.
40352 (_IO_list_unlock): Likewise.
40353 (_IO_list_resetlock): Likewise.
40354 * libio/getchar.c (getchar): Likewise.
40355 * libio/getchar_u.c (getchar_unlocked): Likewise.
40356 * libio/getwchar.c (getwchar): Likewise.
40357 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
40358 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
40359 * login/getpt.c (__getpt): Likewise.
40360 * login/tst-utmp.c (main): Likewise.
40361 * malloc/hooks.c (__malloc_check_init): Likewise.
40362 * malloc/malloc.c (__malloc_stats): Likewise.
40363 * malloc/mtrace.c (tr_break): Likewise.
40364 (mtrace): Likewise.
40365 (muntrace): Likewise.
40366 * misc/fstab.c (endfsent): Likewise.
40367 * misc/getclktck.c (__getclktck): Likewise.
40368 * misc/getdtsz.c (__getdtablesize): Likewise.
40369 * misc/gethostid.c (gethostid): Likewise.
40370 * misc/getpagesize.c (__getpagesize): Likewise.
40371 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
40372 (__get_nprocs): Likewise.
40373 (__get_phys_pages): Likewise.
40374 (__get_avphys_pages): Likewise.
40375 * misc/getttyent.c (getttyent): Likewise.
40376 (setttyent): Likewise.
40377 (endttyent): Likewise.
40378 * misc/getusershell.c (getusershell): Likewise.
40379 (endusershell): Likewise.
40380 (setusershell): Likewise.
40381 (initshells): Likewise.
40382 * misc/hsearch.c (__hdestroy): Likewise.
40383 * misc/sync.c (sync): Likewise.
40384 * misc/syslog.c (closelog_internal): Likewise.
40385 (closelog): Likewise.
40386 * misc/ttyslot.c (ttyslot): Likewise.
40387 * misc/vhangup.c (vhangup): Likewise.
40388 * posix/fork.c (__fork): Likewise.
40389 * posix/getegid.c (__getegid): Likewise.
40390 * posix/geteuid.c (__geteuid): Likewise.
40391 * posix/getgid.c (__getgid): Likewise.
40392 * posix/getpid.c (__getpid): Likewise.
40393 * posix/getppid.c (__getppid): Likewise.
40394 * posix/getuid.c (__getuid): Likewise.
40395 * posix/pause.c (pause): Likewise.
40396 * posix/setpgrp.c (setpgrp): Likewise.
40397 * posix/setsid.c (__setsid): Likewise.
40398 * posix/test-vfork.c (noop): Likewise.
40399 * resolv/gethnamaddr.c (_endhtent): Likewise.
40400 (_gethtent): Likewise.
40401 (ht_endhostent): Likewise.
40402 (gethostent): Likewise.
40403 (dns_service): Likewise.
40404 * stdlib/drand48.c (drand48): Likewise.
40405 * stdlib/lrand48.c (lrand48): Likewise.
40406 * stdlib/mrand48.c (mrand48): Likewise.
40407 * stdlib/rand.c (rand): Likewise.
40408 * stdlib/random.c (__random): Likewise.
40409 * stdlib/setenv.c (clearenv): Likewise.
40410 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
40411 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
40412 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
40413 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
40414 (__get_nprocs): Likewise.
40415 (__get_phys_pages): Likewise.
40416 (__get_avphys_pages): Likewise.
40417 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
40418 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
40419 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
40420 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
40421 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
40422 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
40423 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
40424 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
40425 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
40426 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
40427 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
40428 * sysdeps/mach/hurd/sync.c (sync): Likewise.
40429 * sysdeps/posix/clock.c (clock): Likewise.
40430 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
40431 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
40432 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
40433 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
40434 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
40435 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
40436 (__get_nprocs_conf): Likewise.
40437 (__get_phys_pages): Likewise.
40438 (__get_avphys_pages): Likewise.
40439 * time/clock.c (clock): Likewise.
40440 * time/tzset.c (__tzname_max): Likewise.
40441
40442 2013-06-07 Joseph Myers <joseph@codesourcery.com>
40443
40444 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
40445 (__bswap_32): Do not use "register".
40446 * crypt/crypt.c (_ufc_doit_r): Likewise.
40447 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40448 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40449 * gmon/gmon.c (__monstartup): Likewise.
40450 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
40451 * hurd/hurdmalloc.c (more_memory): Likewise.
40452 (malloc): Likewise.
40453 (free): Likewise.
40454 (realloc): Likewise.
40455 (malloc_fork_prepare): Likewise.
40456 (malloc_fork_parent): Likewise.
40457 (malloc_fork_child): Likewise.
40458 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
40459 (_svcauth_des): Likewise.
40460 * inet/inet_lnaof.c (inet_lnaof): Likewise.
40461 * inet/inet_net.c (inet_network): Likewise.
40462 * inet/inet_netof.c (inet_netof): Likewise.
40463 * inet/rcmd.c (__validuser2_sa): Likewise.
40464 * io/fts.c (fts_open): Likewise.
40465 (fts_load): Likewise.
40466 (fts_close): Likewise.
40467 (fts_read): Likewise.
40468 (fts_children): Likewise.
40469 (fts_build): Likewise.
40470 (fts_stat): Likewise.
40471 (fts_sort): Likewise.
40472 (fts_alloc): Likewise.
40473 (fts_lfree): Likewise.
40474 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
40475 (_IO_file_xsgetn): Likewise.
40476 (_IO_file_xsgetn_mmap): Likewise.
40477 * libio/iofopncook.c (_IO_cookie_read): Likewise.
40478 (_IO_cookie_write): Likewise.
40479 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
40480 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
40481 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
40482 * malloc/obstack.c (_obstack_begin): Likewise.
40483 (_obstack_begin_1): Likewise.
40484 (_obstack_newchunk): Likewise.
40485 (_obstack_allocated_p): Likewise.
40486 (obstack_free): Likewise.
40487 (_obstack_memory_used): Likewise.
40488 * misc/getttyent.c (getttynam): Likewise.
40489 (getttyent): Likewise.
40490 (skip): Likewise.
40491 (value): Likewise.
40492 * misc/getusershell.c (initshells): Likewise.
40493 * misc/syslog.c (__vsyslog_chk): Likewise.
40494 * misc/ttyslot.c (ttyslot): Likewise.
40495 * nis/nis_hash.c (__nis_hash): Likewise.
40496 * posix/fnmatch_loop.c (FCT): Likewise.
40497 * posix/getconf.c (print_all): Likewise.
40498 (main): Likewise.
40499 * posix/getopt.c (exchange): Likewise.
40500 * posix/glob.c (globfree): Likewise.
40501 (prefix_array): Likewise.
40502 (__glob_pattern_type): Likewise.
40503 * resolv/arpa/nameser.h (NS_GET16): Likewise.
40504 (NS_GET32): Likewise.
40505 (NS_PUT16): Likewise.
40506 (NS_PUT32): Likewise.
40507 * resolv/gethnamaddr.c (getanswer): Likewise.
40508 (gethostbyname2): Likewise.
40509 (gethostbyaddr): Likewise.
40510 (_gethtent): Likewise.
40511 (_gethtbyname2): Likewise.
40512 (_gethtbyaddr): Likewise.
40513 * resolv/ns_print.c (dst_s_get_int16): Likewise.
40514 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
40515 * resolv/res_init.c (__res_vinit): Likewise.
40516 (net_mask): Likewise.
40517 * resolv/res_mkquery.c (outchar): Likewise.
40518 (PRINT): Likewise.
40519 * stdio-common/printf_fp.c (outchar): Likewise.
40520 (PRINT): Likewise.
40521 * stdio-common/printf_fphex.c (outchar): Likewise.
40522 (PRINT): Likewise.
40523 * stdio-common/printf_size.c (outchar): Likewise.
40524 (PRINT): Likewise.
40525 * stdio-common/test_rdwr.c (main): Likewise.
40526 * stdio-common/tfformat.c (matches): Likewise.
40527 * stdio-common/vfprintf.c (outchar): Likewise.
40528 (printf_unknown): Likewise.
40529 (buffered_vfprintf): Likewise.
40530 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40531 * stdio-common/xbug.c (AppendToBuffer): Likewise.
40532 (ReadFile): Likewise.
40533 * stdlib/qsort.c (SWAP): Likewise.
40534 (_quicksort): Likewise.
40535 * stdlib/setenv.c (__add_to_environ): Likewise.
40536 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40537 * stdlib/strtol_l.c (__strtol_l): Likewise.
40538 * stdlib/tst-strtod.c (main): Likewise.
40539 * stdlib/tst-strtol.c (main): Likewise.
40540 * stdlib/tst-strtoll.c (main): Likewise.
40541 * string/bits/string2.h (__strcmp_cc): Likewise.
40542 (__strcmp_cg): Likewise.
40543 (__strcspn_c1): Likewise.
40544 (__strcspn_c2): Likewise.
40545 (__strcspn_c3): Likewise.
40546 (__strspn_c1): Likewise.
40547 (__strspn_c2): Likewise.
40548 (__strspn_c3): Likewise.
40549 (__strsep_1c): Likewise.
40550 (__strsep_2c): Likewise.
40551 (__strsep_3c): Likewise.
40552 * string/memccpy.c (__memccpy): Likewise.
40553 * string/stpcpy.c (__stpcpy): Likewise.
40554 * string/strcmp.c (strcmp): Likewise.
40555 * string/strrchr.c (strrchr): Likewise.
40556 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
40557 Likewise.
40558 * sysdeps/mach/hurd/getcwd.c
40559 (_hurd_canonicalize_directory_name_internal): Likewise.
40560 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
40561 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
40562 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
40563 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
40564 Likewise, in both definitions.
40565 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
40566 definitions.
40567 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
40568 64] (__bswap_64): Likewise.
40569 * time/test_time.c (main): Likewise.
40570 * time/tzfile.c (__tzfile_read): Likewise.
40571 (__tzfile_compute): Likewise.
40572 * time/tzset.c (__tzset_parse_tz): Likewise.
40573 (tzset_internal): Likewise.
40574 (compute_change): Likewise.
40575 * wcsmbs/wcscat.c (__wcscat): Likewise.
40576 * wcsmbs/wcschr.c (wcschr): Likewise.
40577 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
40578 * wcsmbs/wcscspn.c (wcscspn): Likewise.
40579 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
40580 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
40581 * wcsmbs/wcsspn.c (wcsspn): Likewise.
40582 * wcsmbs/wcsstr.c (wcsstr): Likewise.
40583 * wcsmbs/wmemchr.c (wmemchr): Likewise.
40584 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40585 * wcsmbs/wmemset.c (wmemset): Likewise.
40586
40587 2013-06-06 Joseph Myers <joseph@codesourcery.com>
40588
40589 * scripts/config.guess: Update to version 2013-05-16.
40590 * scripts/config.sub: Update to version 2013-04-24.
40591 * scripts/install-sh: Update to version 2011-11-20.07.
40592 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
40593 * scripts/move-if-change: Update to version 2012-01-06 07:23.
40594
40595 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
40596
40597 * debug/fgetws_u_chk.c: Fix leading whitespaces.
40598 * elf/sln.c: Likewise.
40599 * hurd/hurd/ioctl.h: Likewise.
40600 * hurd/hurdmalloc.c: Likewise.
40601 * hurd/xattr.c: Likewise.
40602 * include/shlib-compat.h: Likewise.
40603 * inet/ruserpass.c: Likewise.
40604 * libio/iofgets_u.c: Likewise.
40605 * libio/iofgetws_u.c: Likewise.
40606 * locale/programs/ld-identification.c: Likewise.
40607 * locale/programs/ld-time.c: Likewise.
40608 * mach/msg-destroy.c: Likewise.
40609 * nss/nss_files/files-netgrp.c: Likewise.
40610 * resolv/res_data.c: Likewise.
40611 * soft-fp/op-1.h: Likewise.
40612 * soft-fp/op-2.h: Likewise.
40613 * soft-fp/op-4.h: Likewise.
40614 * soft-fp/op-common.h: Likewise.
40615 * stdio-common/printf_fphex.c: Likewise.
40616 * stdlib/strtod_l.c: Likewise.
40617 * sunrpc/rpc/clnt.h: Likewise.
40618 * sysdeps/generic/framestate.c: Likewise.
40619 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40620 * sysdeps/i386/bsd-setjmp.S: Likewise.
40621 * sysdeps/i386/__longjmp.S: Likewise.
40622 * sysdeps/i386/setjmp.S: Likewise.
40623 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40624 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40625 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40626 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40627 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40628 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40629 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40630 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40631 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40632 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40633 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40634 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40635 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40636 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40637 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40638 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40639 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40640 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
40641 * sysdeps/ieee754/support.c: Likewise.
40642 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40643 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
40644 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
40645 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
40646 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
40647 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
40648 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
40649 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
40650 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
40651 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
40652 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
40653 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
40654 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
40655 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
40656 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
40657 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
40658 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
40660
40661 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
40662
40663 * posix/transbug.c: Remove executable mode.
40664
40665 2013-06-05 Joseph Myers <joseph@codesourcery.com>
40666
40667 * crypt/speeds.c: Remove trailing whitespace.
40668 * dlfcn/default.c: Likewise.
40669 * elf/ifuncdep2.c: Likewise.
40670 * elf/ifuncmain1.c: Likewise.
40671 * elf/ifuncmain1vis.c: Likewise.
40672 * elf/testobj.h: Likewise.
40673 * elf/tst-stackguard1.c: Likewise.
40674 * gmon/sys/gmon.h: Likewise.
40675 * hurd/hurdmsg.c: Likewise.
40676 * hurd/new-fd.c: Likewise.
40677 * hurd/ports-get.c: Likewise.
40678 * iconvdata/ibm1008_420.c: Likewise.
40679 * inet/tst-getni1.c: Likewise.
40680 * inet/tst-getni2.c: Likewise.
40681 * libio/ioungetc.c: Likewise.
40682 * libio/wfiledoalloc.c: Likewise.
40683 * manual/libm-err-tab.pl: Likewise.
40684 * math/w_dremf.c: Likewise.
40685 * misc/ftruncate.c: Likewise.
40686 * posix/bug-glob2.c: Likewise.
40687 * posix/tst-pcre.c: Likewise.
40688 * posix/wait4.c: Likewise.
40689 * resolv/README: Likewise.
40690 * resolv/res_debug.h: Likewise.
40691 * resolv/tst-inet_ntop.c: Likewise.
40692 * setjmp/bug269-setjmp.c: Likewise.
40693 * soft-fp/extended.h: Likewise.
40694 * soft-fp/op-1.h: Likewise.
40695 * soft-fp/op-2.h: Likewise.
40696 * soft-fp/op-4.h: Likewise.
40697 * soft-fp/op-8.h: Likewise.
40698 * soft-fp/testit.c: Likewise.
40699 * stdio-common/bug16.c: Likewise.
40700 * stdlib/random.c: Likewise.
40701 * sunrpc/rpcsvc/rquota.x: Likewise.
40702 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
40703 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40704 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40705 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40706 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40707 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40708 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40709 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40710 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40711 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40712 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40713 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40714 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40715 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40716 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40717 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40718 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40719 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40720 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40721 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40722 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40723 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40724 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
40725 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40726 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40727 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40728 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40729 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40730 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40731 * sysdeps/ieee754/s_lib_version.c: Likewise.
40732 * sysdeps/mach/hurd/check_fds.c: Likewise.
40733 * sysdeps/mach/hurd/getsockname.c: Likewise.
40734 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
40735 * sysdeps/mach/hurd/recvfrom.c: Likewise.
40736 * sysdeps/powerpc/bits/link.h: Likewise.
40737 * sysdeps/powerpc/dl-procinfo.c: Likewise.
40738 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
40739 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
40740 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
40741 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40742 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40743 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
40744 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40745 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
40746 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40747 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
40748 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
40749 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
40750 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40751 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40752 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40753 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
40754 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
40755 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40756 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40757 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40758 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
40759 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40760 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
40761 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
40762 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
40763 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
40764 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40765 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40766 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
40767 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
40768 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
40769 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40770 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40771 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
40772 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40773 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
40774 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
40775 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
40776 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
40777 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
40778 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
40779 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
40780 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
40781 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
40782 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
40783 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
40784 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
40785 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
40786 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
40787 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40788 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40789 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40790 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40791 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
40792 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
40793 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
40794 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40795 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
40796 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
40797 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
40798 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
40799 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
40800 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40801 * sysdeps/powerpc/sysdep.h: Likewise.
40802 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40803 * sysdeps/s390/s390-64/sub_n.S: Likewise.
40804 * sysdeps/sh/dl-trampoline.S: Likewise.
40805 * sysdeps/sh/memset.S: Likewise.
40806 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
40807 * sysdeps/sh/strlen.S: Likewise.
40808 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
40809 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
40810 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
40811 * sysdeps/sparc/sparc32/rem.S: Likewise.
40812 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
40813 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
40814 * sysdeps/sparc/sparc32/strchr.S: Likewise.
40815 * sysdeps/sparc/sparc32/udiv.S: Likewise.
40816 * sysdeps/sparc/sparc32/urem.S: Likewise.
40817 * sysdeps/sparc/sparc64/add_n.S: Likewise.
40818 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40819 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
40820 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
40821 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
40822 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
40823 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
40824 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
40825 * sysdeps/unix/bsd/times.c: Likewise.
40826 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
40827 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
40828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
40829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
40830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40831 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
40832 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
40833 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
40834 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
40835 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
40836 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
40837 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
40838 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
40839 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40840 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
40841 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
40842 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
40843 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
40844 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
40845 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
40846 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
40847 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
40848 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40849 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
40850 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
40851 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
40852 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
40853 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40854 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
40855 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
40856 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
40857 * sysdeps/x86_64/strcspn.S: Likewise.
40858
40859 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40860
40861 * locale/C-translit.h: Revert #include <stdint.h> because this is a
40862 generated file. Regenerate properly from gen-translit.pl.
40863 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
40864 locale/C-translit.h.
40865
40866 2013-06-05 Andreas Schwab <schwab@suse.de>
40867
40868 [BZ #15100]
40869 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
40870 week as 6 instead of -1.
40871 * time/tst-strptime.c (day_tests): Add test case.
40872
40873 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40874
40875 * sysdeps/generic/math_private.h
40876 (libc_feholdexcept_setround_53bit): Replace with
40877 libc_feholdsetround_53bit.
40878 (libc_feupdateenv_53bit): Replace with
40879 libc_feresetround_53bit.
40880 (SET_RESTORE_ROUND_53BIT): Adjust.
40881
40882 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
40883
40884 * string/test-strchrnul.c: Add copyright header.
40885
40886 * posix/tst-getaddrinfo4.c: Increase test timeout.
40887
40888 2013-06-03 Carlos O'Donell <carlos@redhat.com>
40889
40890 [BZ #15536]
40891 * math/libm-test.inc (MAX_EXP): Remove
40892 (MIN_EXP): Define.
40893 (ulp): Use MIN_EXP - MANT_DIG.
40894 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
40895
40896 2013-05-31 Carlos O'Donell <carlos@redhat.com>
40897
40898 * po/be.po: Revert last change.
40899 * po/zh_CN.po: Likewise.
40900 * po/header.pot: Likewise.
40901
40902 2013-05-31 Joseph Myers <joseph@codesourcery.com>
40903
40904 * Makefile ($(common-objpfx)linkobj/libc.so): Define
40905 link-libc-deps to empty as target-specific variable.
40906 * Makerules (link-libc-args): New variable.
40907 (libc-for-link): Likewise.
40908 (link-libc-deps): Likewise.
40909 (lib%.so): Depend on $(link-libc-deps). Link with
40910 $(link-libc-args).
40911 (build-module): Link with $(link-libc-args).
40912 (build-module-asneeded): Likewise.
40913 (build-module-helper-objlist): Filter out $(link-libc-deps) from
40914 list of objects.
40915 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
40916 target-specific variable.
40917 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
40918 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
40919 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
40920 libc.
40921 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
40922 libc and ld.so.
40923 ($(objpfx)libpcprofile.so): Likewise.
40924 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
40925 libc_nonshared.a.
40926 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
40927 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
40928 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
40929 $(link-libc-deps).
40930 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
40931 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
40932 * login/Makefile ($(objpfx)libutil.so): Likewise.
40933 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
40934 * math/Makefile ($(objpfx)libm.so): Likewise.
40935 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
40936 $(objpfx)libnsl.so): Define libc-for-link as target-specific
40937 variable instead of depending directly on libc.
40938 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
40939 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
40940 $(link-libc-deps).
40941 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
40942 libc.
40943 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
40944 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
40945 ($(objpfx)libanl.so): Likewise.
40946 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
40947 ld.so.
40948 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
40949 $(link-libc-deps).
40950 * sysdeps/i386/fpu/Makefile: Remove file.
40951 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
40952 ($(objpfx)libm.so): Remove dependency on ld.so.
40953
40954 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
40955
40956 [BZ # 15553]
40957 * nis/yp_xdr.c (XDRMAXNAME): Define.
40958 (XDRMAXRECORD): Define.
40959 (xdr_domainname): Use XDRMAXNAME.
40960 (xdr_mapname): Likewise.
40961 (xdr_peername): Likewise.
40962 (xdr_keydat): Use XDRMAXRECORD.
40963 (xdr_valdat): Likewise.
40964
40965 2013-05-30 Jeff Law <law@redhat.com>
40966
40967 [BZ #14256]
40968 * manual/errno.texi (ESTALE): Update to account for more than
40969 just NFS file systems.
40970 * sysdeps/gnu/errlist.c: Regenerated.
40971
40972 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40973
40974 [BZ #15465]
40975 * elf/Makefile (tests): Add tst-null-argv.
40976 (modules-names): Add tst-null-argv-lib.
40977 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
40978 (tst-null-argv-ENV): Set environment for tst-null-argv.
40979 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
40980 (RTLD_PROGNAME): New macro.
40981 * elf/tst-null-argv.c: New test case.
40982 * elf/tst-null-argv-lib.c: Library for test case.
40983 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
40984 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
40985 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
40986 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
40987 * elf/dl-init.c (call_init): Likewise.
40988 (_dl_init): Likewise.
40989 * elf/dl-load.c (print_search_path): Likewise.
40990 (_dl_map_object): Likewise.
40991 * elf/dl-lookup.c (do_lookup_x): Likewise.
40992 (add_dependency): Likewise.
40993 (_dl_lookup_symbol_x): Likewise.
40994 (_dl_debug_bindings): Likewise.
40995 * elf/dl-open.c (_dl_show_scope): Likewise.
40996 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40997 * elf/dl-version.c (match_symbol): Likewise.
40998 (_dl_check_map_versions): Likewise.
40999 * elf/rtld.c (dl_main): Likewise.
41000 (print_unresolved): Use RTLD_PROGNAME.
41001 (print_missing_version): Likewise.
41002 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
41003 (elf_machine_rela): Likewise.
41004 * sysdeps/powerpc/powerpc32/dl-machine.c
41005 (__process_machine_rela): Likewise.
41006 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41007 Likewise.
41008 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41009 Likewise.
41010 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
41011 Likewise.
41012 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41013 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
41014 Likewise.
41015 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
41016 Likewise.
41017 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41018
41019 2013-05-28 Carlos O'Donell <carlos@redhat.com>
41020
41021 * po/be.po: Add descriptive title.
41022 * po/zh_CN.po: Likewise.
41023 * po/header.pot: Likewise.
41024
41025 2013-05-28 Mike Frysinger <vapier@gentoo.org>
41026
41027 * locale/programs/locarchive.c (create_archive): Inlucde fname in
41028 error message.
41029 (enlarge_archive): Likewise.
41030
41031 2013-05-28 Ben North <ben@redfrontdoor.org>
41032
41033 * manual/arith.texi (frexp): It is the magnitude of the return
41034 value which lies in [0.5, 1), not the return value itself.
41035
41036 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41037
41038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41039
41040 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
41041
41042 * stdio-common/bug26.c (main): Correct fscanf template.
41043
41044 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
41045 declare _dl_skip_args.
41046
41047 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
41048 Don't declare.
41049
41050 * manual/platform.texi: Add missing @end deftypefun.
41051
41052 2013-05-24 Joseph Myers <joseph@codesourcery.com>
41053
41054 [BZ #15529]
41055 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
41056 bit of mantissa of 2^16382.
41057 * math/libm-test.inc (hypot_test_data): Add more tests.
41058
41059 * math/libm-test.inc: Add drem and pow10 to list of tested
41060 functions.
41061 (pow10_test): New function.
41062 (drem_test): Likewise.
41063 (drem_test_tonearest): Likewise.
41064 (drem_test_towardzero): Likewise.
41065 (drem_test_downward): Likewise.
41066 (drem_test_upward): Likewise.
41067 (main): Call the new functions.
41068
41069 * math/libm-test.inc (finite_test_data): Remove.
41070 (finite_test): Run tests from isfinite_test_data.
41071 (gamma_test_data): Remove.
41072 (gamma_test): Run tests from lgamma_test_data.
41073 * sysdeps/i386/fpu/libm-test-ulps: Update.
41074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41075
41076 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41077
41078 * manual/platform.texi: Add PowerPC PPR function set documentation.
41079 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
41080 implementation.
41081
41082 2013-05-24 Carlos O'Donell <carlos@redhat.com>
41083
41084 * math/libm-test.inc (MAX_EXP): Define.
41085 (ULPDIFF): Define.
41086 (ulp): New function.
41087 (check_float_internal): Use ULPDIFF.
41088 (cpow_test): Disable failing test.
41089 (check_ulp): Test ulp() implemetnation.
41090 (main): Call check_ulp before starting tests.
41091
41092 2013-05-24 Joseph Myers <joseph@codesourcery.com>
41093
41094 * math/gen-libm-test.pl (generate_testfile): Do not handle
41095 START_DATA and END_DATA.
41096 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
41097 END_DATA.
41098 (acos_tonearest_test_data): Likewise.
41099 (acos_towardzero_test_data): Likewise.
41100 (acos_downward_test_data): Likewise.
41101 (acos_upward_test_data): Likewise.
41102 (acosh_test_data): Likewise.
41103 (asin_test_data): Likewise.
41104 (asin_tonearest_test_data): Likewise.
41105 (asin_towardzero_test_data): Likewise.
41106 (asin_downward_test_data): Likewise.
41107 (asin_upward_test_data): Likewise.
41108 (asinh_test_data): Likewise.
41109 (atan_test_data): Likewise.
41110 (atanh_test_data): Likewise.
41111 (atan2_test_data): Likewise.
41112 (cabs_test_data): Likewise.
41113 (cacos_test_data): Likewise.
41114 (cacosh_test_data): Likewise.
41115 (carg_test_data): Likewise.
41116 (casin_test_data): Likewise.
41117 (casinh_test_data): Likewise.
41118 (catan_test_data): Likewise.
41119 (catanh_test_data): Likewise.
41120 (cbrt_test_data): Likewise.
41121 (ccos_test_data): Likewise.
41122 (ccosh_test_data): Likewise.
41123 (ceil_test_data): Likewise.
41124 (cexp_test_data): Likewise.
41125 (cimag_test_data): Likewise.
41126 (clog_test_data): Likewise.
41127 (clog10_test_data): Likewise.
41128 (conj_test_data): Likewise.
41129 (copysign_test_data): Likewise.
41130 (cos_test_data): Likewise.
41131 (cos_tonearest_test_data): Likewise.
41132 (cos_towardzero_test_data): Likewise.
41133 (cos_downward_test_data): Likewise.
41134 (cos_upward_test_data): Likewise.
41135 (cosh_test_data): Likewise.
41136 (cosh_tonearest_test_data): Likewise.
41137 (cosh_towardzero_test_data): Likewise.
41138 (cosh_downward_test_data): Likewise.
41139 (cosh_upward_test_data): Likewise.
41140 (cpow_test_data): Likewise.
41141 (cproj_test_data): Likewise.
41142 (creal_test_data): Likewise.
41143 (csin_test_data): Likewise.
41144 (csinh_test_data): Likewise.
41145 (csqrt_test_data): Likewise.
41146 (ctan_test_data): Likewise.
41147 (ctan_tonearest_test_data): Likewise.
41148 (ctan_towardzero_test_data): Likewise.
41149 (ctan_downward_test_data): Likewise.
41150 (ctan_upward_test_data): Likewise.
41151 (ctanh_test_data): Likewise.
41152 (ctanh_tonearest_test_data): Likewise.
41153 (ctanh_towardzero_test_data): Likewise.
41154 (ctanh_downward_test_data): Likewise.
41155 (ctanh_upward_test_data): Likewise.
41156 (erf_test_data): Likewise.
41157 (erfc_test_data): Likewise.
41158 (exp_test_data): Likewise.
41159 (exp_tonearest_test_data): Likewise.
41160 (exp_towardzero_test_data): Likewise.
41161 (exp_downward_test_data): Likewise.
41162 (exp_upward_test_data): Likewise.
41163 (exp10_test_data): Likewise.
41164 (exp2_test_data): Likewise.
41165 (expm1_test_data): Likewise.
41166 (fabs_test_data): Likewise.
41167 (fdim_test_data): Likewise.
41168 (finite_test_data): Likewise.
41169 (floor_test_data): Likewise.
41170 (fma_test_data): Likewise.
41171 (fma_towardzero_test_data): Likewise.
41172 (fma_downward_test_data): Likewise.
41173 (fma_upward_test_data): Likewise.
41174 (fmax_test_data): Likewise.
41175 (fmin_test_data): Likewise.
41176 (fmod_test_data): Likewise.
41177 (fpclassify_test_data): Likewise.
41178 (frexp_test_data): Likewise.
41179 (gamma_test_data): Likewise.
41180 (hypot_test_data): Likewise.
41181 (ilogb_test_data): Likewise.
41182 (isfinite_test_data): Likewise.
41183 (isgreater_test_data): Likewise.
41184 (isgreaterequal_test_data): Likewise.
41185 (isinf_test_data): Likewise.
41186 (isless_test_data): Likewise.
41187 (islessequal_test_data): Likewise.
41188 (islessgreater_test_data): Likewise.
41189 (isnan_test_data): Likewise.
41190 (isnormal_test_data): Likewise.
41191 (issignaling_test_data): Likewise.
41192 (isunordered_test_data): Likewise.
41193 (j0_test_data): Likewise.
41194 (j1_test_data): Likewise.
41195 (jn_test_data): Likewise.
41196 (ldexp_test_data): Likewise.
41197 (lgamma_test_data): Likewise.
41198 (lrint_test_data): Likewise.
41199 (lrint_tonearest_test_data): Likewise.
41200 (lrint_towardzero_test_data): Likewise.
41201 (lrint_downward_test_data): Likewise.
41202 (lrint_upward_test_data): Likewise.
41203 (llrint_test_data): Likewise.
41204 (llrint_tonearest_test_data): Likewise.
41205 (llrint_towardzero_test_data): Likewise.
41206 (llrint_downward_test_data): Likewise.
41207 (llrint_upward_test_data): Likewise.
41208 (log_test_data): Likewise.
41209 (log10_test_data): Likewise.
41210 (log1p_test_data): Likewise.
41211 (log2_test_data): Likewise.
41212 (logb_test_data): Likewise.
41213 (logb_downward_test_data): Likewise.
41214 (lround_test_data): Likewise.
41215 (llround_test_data): Likewise.
41216 (modf_test_data): Likewise.
41217 (nearbyint_test_data): Likewise.
41218 (nextafter_test_data): Likewise.
41219 (nexttoward_test_data): Likewise.
41220 (pow_test_data): Likewise.
41221 (pow_tonearest_test_data): Likewise.
41222 (pow_towardzero_test_data): Likewise.
41223 (pow_downward_test_data): Likewise.
41224 (pow_upward_test_data): Likewise.
41225 (remainder_test_data): Likewise.
41226 (remainder_tonearest_test_data): Likewise.
41227 (remainder_towardzero_test_data): Likewise.
41228 (remainder_downward_test_data): Likewise.
41229 (remainder_upward_test_data): Likewise.
41230 (remquo_test_data): Likewise.
41231 (rint_test_data): Likewise.
41232 (rint_tonearest_test_data): Likewise.
41233 (rint_towardzero_test_data): Likewise.
41234 (rint_downward_test_data): Likewise.
41235 (rint_upward_test_data): Likewise.
41236 (round_test_data): Likewise.
41237 (scalb_test_data): Likewise.
41238 (scalbn_test_data): Likewise.
41239 (scalbln_test_data): Likewise.
41240 (signbit_test_data): Likewise.
41241 (sin_test_data): Likewise.
41242 (sin_tonearest_test_data): Likewise.
41243 (sin_towardzero_test_data): Likewise.
41244 (sin_downward_test_data): Likewise.
41245 (sin_upward_test_data): Likewise.
41246 (sincos_test_data): Likewise.
41247 (sinh_test_data): Likewise.
41248 (sinh_tonearest_test_data): Likewise.
41249 (sinh_towardzero_test_data): Likewise.
41250 (sinh_downward_test_data): Likewise.
41251 (sinh_upward_test_data): Likewise.
41252 (sqrt_test_data): Likewise.
41253 (tan_test_data): Likewise.
41254 (tan_tonearest_test_data): Likewise.
41255 (tan_towardzero_test_data): Likewise.
41256 (tan_downward_test_data): Likewise.
41257 (tan_upward_test_data): Likewise.
41258 (tanh_test_data): Likewise.
41259 (tgamma_test_data): Likewise.
41260 (trunc_test_data): Likewise.
41261 (y0_test_data): Likewise.
41262 (y1_test_data): Likewise.
41263 (yn_test_data): Likewise.
41264 (significand_test_data): Likewise.
41265
41266 * math/gen-libm-test.pl (@functions): Remove variable.
41267 (generate_testfile): Don't handle START and END lines.
41268 * math/libm-test.inc (START): New macro.
41269 (END): Likewise.
41270 (END_COMPLEX): Likewise.
41271 (acos_test): Use END macro without arguments.
41272 (acos_test_tonearest): Likewise.
41273 (acos_test_towardzero): Likewise.
41274 (acos_test_downward): Likewise.
41275 (acos_test_upward): Likewise.
41276 (acosh_test): Likewise.
41277 (asin_test): Likewise.
41278 (asin_test_tonearest): Likewise.
41279 (asin_test_towardzero): Likewise.
41280 (asin_test_downward): Likewise.
41281 (asin_test_upward): Likewise.
41282 (asinh_test): Likewise.
41283 (atan_test): Likewise.
41284 (atanh_test): Likewise.
41285 (atan2_test): Likewise.
41286 (cabs_test): Likewise.
41287 (cacos_test): Use END_COMPLEX macro without arguments.
41288 (cacosh_test): Likewise.
41289 (carg_test): Use END macro without arguments.
41290 (casin_test): Use END_COMPLEX macro without arguments.
41291 (casinh_test): Likewise.
41292 (catan_test): Likewise.
41293 (catanh_test): Likewise.
41294 (cbrt_test): Use END macro without arguments.
41295 (ccos_test): Use END_COMPLEX macro without arguments.
41296 (ccosh_test): Likewise.
41297 (ceil_test): Use END macro without arguments.
41298 (cexp_test): Use END_COMPLEX macro without arguments.
41299 (cimag_test): Use END macro without arguments.
41300 (clog_test): Use END_COMPLEX macro without arguments.
41301 (clog10_test): Likewise.
41302 (conj_test): Likewise.
41303 (copysign_test): Use END macro without arguments.
41304 (cos_test): Likewise.
41305 (cos_test_tonearest): Likewise.
41306 (cos_test_towardzero): Likewise.
41307 (cos_test_downward): Likewise.
41308 (cos_test_upward): Likewise.
41309 (cosh_test): Likewise.
41310 (cosh_test_tonearest): Likewise.
41311 (cosh_test_towardzero): Likewise.
41312 (cosh_test_downward): Likewise.
41313 (cosh_test_upward): Likewise.
41314 (cpow_test): Use END_COMPLEX macro without arguments.
41315 (cproj_test): Likewise.
41316 (creal_test): Use END macro without arguments.
41317 (csin_test): Use END_COMPLEX macro without arguments.
41318 (csinh_test): Likewise.
41319 (csqrt_test): Likewise.
41320 (ctan_test): Likewise.
41321 (ctan_test_tonearest): Likewise.
41322 (ctan_test_towardzero): Likewise.
41323 (ctan_test_downward): Likewise.
41324 (ctan_test_upward): Likewise.
41325 (ctanh_test): Likewise.
41326 (ctanh_test_tonearest): Likewise.
41327 (ctanh_test_towardzero): Likewise.
41328 (ctanh_test_downward): Likewise.
41329 (ctanh_test_upward): Likewise.
41330 (erf_test): Use END macro without arguments.
41331 (erfc_test): Likewise.
41332 (exp_test): Likewise.
41333 (exp_test_tonearest): Likewise.
41334 (exp_test_towardzero): Likewise.
41335 (exp_test_downward): Likewise.
41336 (exp_test_upward): Likewise.
41337 (exp10_test): Likewise.
41338 (exp2_test): Likewise.
41339 (expm1_test): Likewise.
41340 (fabs_test): Likewise.
41341 (fdim_test): Likewise.
41342 (finite_test): Likewise.
41343 (floor_test): Likewise.
41344 (fma_test): Likewise.
41345 (fma_test_towardzero): Likewise.
41346 (fma_test_downward): Likewise.
41347 (fma_test_upward): Likewise.
41348 (fmax_test): Likewise.
41349 (fmin_test): Likewise.
41350 (fmod_test): Likewise.
41351 (fpclassify_test): Likewise.
41352 (frexp_test): Likewise.
41353 (gamma_test): Likewise.
41354 (hypot_test): Likewise.
41355 (ilogb_test): Likewise.
41356 (isfinite_test): Likewise.
41357 (isgreater_test): Likewise.
41358 (isgreaterequal_test): Likewise.
41359 (isinf_test): Likewise.
41360 (isless_test): Likewise.
41361 (islessequal_test): Likewise.
41362 (islessgreater_test): Likewise.
41363 (isnan_test): Likewise.
41364 (isnormal_test): Likewise.
41365 (issignaling_test): Likewise.
41366 (isunordered_test): Likewise.
41367 (j0_test): Likewise.
41368 (j1_test): Likewise.
41369 (jn_test): Likewise.
41370 (ldexp_test): Likewise.
41371 (lgamma_test): Likewise.
41372 (lrint_test): Likewise.
41373 (lrint_test_tonearest): Likewise.
41374 (lrint_test_towardzero): Likewise.
41375 (lrint_test_downward): Likewise.
41376 (lrint_test_upward): Likewise.
41377 (llrint_test): Likewise.
41378 (llrint_test_tonearest): Likewise.
41379 (llrint_test_towardzero): Likewise.
41380 (llrint_test_downward): Likewise.
41381 (llrint_test_upward): Likewise.
41382 (log_test): Likewise.
41383 (log10_test): Likewise.
41384 (log1p_test): Likewise.
41385 (log2_test): Likewise.
41386 (logb_test): Likewise.
41387 (logb_test_downward): Likewise.
41388 (lround_test): Likewise.
41389 (llround_test): Likewise.
41390 (modf_test): Likewise.
41391 (nearbyint_test): Likewise.
41392 (nextafter_test): Likewise.
41393 (nexttoward_test): Likewise.
41394 (pow_test): Likewise.
41395 (pow_test_tonearest): Likewise.
41396 (pow_test_towardzero): Likewise.
41397 (pow_test_downward): Likewise.
41398 (pow_test_upward): Likewise.
41399 (remainder_test): Likewise.
41400 (remainder_test_tonearest): Likewise.
41401 (remainder_test_towardzero): Likewise.
41402 (remainder_test_downward): Likewise.
41403 (remainder_test_upward): Likewise.
41404 (remquo_test): Likewise.
41405 (rint_test): Likewise.
41406 (rint_test_tonearest): Likewise.
41407 (rint_test_towardzero): Likewise.
41408 (rint_test_downward): Likewise.
41409 (rint_test_upward): Likewise.
41410 (round_test): Likewise.
41411 (scalb_test): Likewise.
41412 (scalbn_test): Likewise.
41413 (scalbln_test): Likewise.
41414 (signbit_test): Likewise.
41415 (sin_test): Likewise.
41416 (sin_test_tonearest): Likewise.
41417 (sin_test_towardzero): Likewise.
41418 (sin_test_downward): Likewise.
41419 (sin_test_upward): Likewise.
41420 (sincos_test): Likewise.
41421 (sinh_test): Likewise.
41422 (sinh_test_tonearest): Likewise.
41423 (sinh_test_towardzero): Likewise.
41424 (sinh_test_downward): Likewise.
41425 (sinh_test_upward): Likewise.
41426 (sqrt_test): Likewise.
41427 (tan_test): Likewise.
41428 (tan_test_tonearest): Likewise.
41429 (tan_test_towardzero): Likewise.
41430 (tan_test_downward): Likewise.
41431 (tan_test_upward): Likewise.
41432 (tanh_test): Likewise.
41433 (tgamma_test): Likewise.
41434 (trunc_test): Likewise.
41435 (y0_test): Likewise.
41436 (y1_test): Likewise.
41437 (yn_test): Likewise.
41438 (significand_test): Likewise.
41439
41440 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
41441
41442 [BZ #15381]
41443 * libio/genops.c (_IO_no_init): Initialize wide struct info.
41444
41445 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
41446
41447 [BZ #14894]
41448 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
41449 __ppc_mdoio and __ppc_mdoom.
41450 * manual/platform.texi: Document new functions __ppc_yield,
41451 __ppc_mdoio and __ppc_mdoom.
41452
41453 2013-05-22 Carlos O'Donell <carlos@redhat.com>
41454
41455 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
41456 (main): Mention "tls" pseudo-hwcap is legacy.
41457 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
41458
41459 2013-05-22 Joseph Myers <joseph@codesourcery.com>
41460
41461 * math/gen-libm-test.pl (parse_args): Output only string of
41462 arguments as text for test name, not full call or descriptions of
41463 tests for extra outputs.
41464 (generate_testfile): Do not pass function name to parse_args.
41465 Generate this_func variable from START.
41466 * math/libm-test.inc (struct test_f_f_data): Rename test_name
41467 field to arg_str.
41468 (struct test_ff_f_data): Likewise.
41469 (test_ff_f_data_nexttoward): Likewise.
41470 (struct test_fi_f_data): Likewise.
41471 (struct test_fl_f_data): Likewise.
41472 (struct test_if_f_data): Likewise.
41473 (struct test_fff_f_data): Likewise.
41474 (struct test_c_f_data): Likewise.
41475 (struct test_f_f1_data): Likewise. Remove field extra_name.
41476 (struct test_fF_f1_data): Likewise.
41477 (struct test_ffI_f1_data): Likewise.
41478 (struct test_c_c_data): Rename test_name field to arg_str.
41479 (struct test_cc_c_data): Likewise.
41480 (struct test_f_i_data): Likewise.
41481 (struct test_ff_i_data): Likewise.
41482 (struct test_f_l_data): Likewise.
41483 (struct test_f_L_data): Likewise.
41484 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
41485 and extra2_name.
41486 (COMMON_TEST_SETUP): New macro.
41487 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
41488 (COMMON_TEST_CLEANUP): Likewise.
41489 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
41490 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
41491 macros.
41492 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
41493 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
41494 macros.
41495 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
41496 (RUN_TEST_fff_f): Take argument string. Call new setup and
41497 cleanup macros.
41498 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
41499 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
41500 macros.
41501 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
41502 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
41503 macros.
41504 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
41505 (RUN_TEST_fF_f1): Take argument string. Call new setup and
41506 cleanup macros.
41507 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
41508 (RUN_TEST_fI_f1): Take argument string. Call new setup and
41509 cleanup macros.
41510 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
41511 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
41512 cleanup macros.
41513 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
41514 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
41515 macros.
41516 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
41517 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
41518 macros.
41519 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
41520 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
41521 macros.
41522 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
41523 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
41524 cleanup macros.
41525 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
41526 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
41527 cleanup macros.
41528 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
41529 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
41530 macros.
41531 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
41532 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
41533 cleanup macros.
41534 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
41535 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
41536 macros.
41537 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
41538 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
41539 macros.
41540 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
41541 (RUN_TEST_fFF_11): Take argument string. Call new setup and
41542 cleanup macros.
41543 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
41544
41545 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
41546
41547 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
41548 to _sifields.sigfault.
41549 (si_addr_lsb): Define new macro.
41550 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
41551 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41552 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
41553
41554 2013-05-03 Carlos O'Donell <carlos at redhat.com>
41555
41556 [BZ #15441]
41557 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
41558 returns -1.
41559 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
41560 null return -1.
41561 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
41562 loading the domain.
41563
41564 2013-05-22 Joseph Myers <joseph@codesourcery.com>
41565
41566 * math/gen-libm-test.pl (parse_args): Do not include expected
41567 result in test name.
41568 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
41569 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41570 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41571 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41572 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41574
41575 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41576
41577 * benchtests/Makefile: Sort function entries.
41578
41579 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
41580 tanh, asinh, acosh, atanh.
41581 * benchtests/acos-inputs: New file.
41582 * benchtests/acosh-inputs: New file.
41583 * benchtests/asin-inputs: New file.
41584 * benchtests/asinh-inputs: New file.
41585 * benchtests/atanh-inputs: New file.
41586 * benchtests/cosh-inputs: New file.
41587 * benchtests/log-inputs: New file.
41588 * benchtests/sinh-inputs: New file.
41589 * benchtests/tanh-inputs: New file.
41590
41591 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
41592
41593 [BZ #15339]
41594 * posix/tst-getaddrinfo4.c: New test.
41595 * posix/Makefile (tests): Add it.
41596
41597 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
41598
41599 [BZ #15339]
41600 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
41601 when no services were used.
41602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
41603 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
41604
41605 2013-05-21 Andreas Schwab <schwab@suse.de>
41606
41607 [BZ #15014]
41608 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
41609 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
41610 successful.
41611 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
41612 redundant variable declarations and reallocation of buffer when
41613 parsing as IPv6 address. Always set NSS status when called from
41614 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
41615 buffer too small. Correct computation of needed size.
41616 * nss/Makefile (tests): Add test-digits-dots.
41617 * nss/test-digits-dots.c: New test.
41618
41619 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
41620
41621 * benchtests/Makefile: Remove instructions for adding
41622 benchmark tests.
41623 * benchtests/README: New file to explain how to execute and
41624 enhance the benchmark tests.
41625
41626 2013-05-21 Andreas Schwab <schwab@suse.de>
41627
41628 [BZ #15493]
41629 * setjmp/Makefile (tests): Add tst-sigsetjmp.
41630 * setjmp/tst-sigsetjmp.c: New test.
41631
41632 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
41633
41634 * sysdeps/x86_64/memset.S (memset): New implementation.
41635 (__bzero): Likewise.
41636 (__memset_tail): New function.
41637
41638 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
41639
41640 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
41641 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
41642 __memcpy_sse2_unaligned ifunc selection.
41643 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41644 Add memcpy-sse2-unaligned.S.
41645 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41646 Add: __memcpy_sse2_unaligned.
41647
41648 2013-05-19 Joseph Myers <joseph@codesourcery.com>
41649
41650 [BZ #15490]
41651 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41652 math_force_eval before restoring floating-point envrionment.
41653 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
41654 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
41655 Likewise.
41656 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
41657 <math_private.h>.
41658 (__nearbyintl): Use math_force_eval before restoring
41659 floating-point environment.
41660 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
41661
41662 * math/gen-libm-test.pl (special_functions): Remove.
41663 (parse_args): Don't handle TEST_extra. Handle functions with no
41664 return value.
41665 * math/libm-test.inc (struct test_sincos_data): Replace with
41666 struct test_fFF_11_data.
41667 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
41668 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
41669 (sincos_test_data): Change element type to struct
41670 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
41671 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
41672 RUN_TEST_LOOP_sincos.
41673 * math/README.libm-test: Don't mention special handling of
41674 individual functions.
41675 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
41676 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41677 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41678 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41679 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41681
41682 * math/gen-libm-test.pl (get_variable): Remove function.
41683 (parse_args): Don't show pointer parameters to call in test
41684 names. Use "extra output N" in test names for extra outputs
41685 rather than naming variables.
41686
41687 2013-05-18 Joseph Myers <joseph@codesourcery.com>
41688
41689 [BZ #15488]
41690 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
41691 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
41692 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
41693 double tests.
41694 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
41695 disable.
41696 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
41697 check_long_double.
41698
41699 * math/gen-libm-test.pl (@tests): Remove variable.
41700 ($count): Likewise.
41701 (new_test): Remove function.
41702 (show_exceptions): New function.
41703 (special_functions): Use show_exceptions instead of new_test.
41704 (parse_args): Likewise.
41705 (generate_testfile): Pass only function name in generated call to
41706 print_max_error or print_complex_max_error.
41707 (get_ulps): Do not handle complex tests specially.
41708 (output_test): Rename to ...
41709 (get_all_ulps_for_test): ... this. Return a string rather than
41710 printing to a file. Require ulps to be present.
41711 (output_ulps): Generate arrays rather than #defines.
41712 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
41713 (struct ulp_data): New type.
41714 (BUILD_COMPLEX_ULP): Remove macro.
41715 (compare_ulp_data): New function.
41716 (find_ulps): Likewise.
41717 (find_test_ulps): Likewise.
41718 (find_function_ulps): Likewise.
41719 (find_complex_function_ulps): Likewise.
41720 (print_max_error): Determine allowed ulps using
41721 find_function_ulps.
41722 (print_complex_max_error): Determine allowed ulps using
41723 find_complex_function_ulps.
41724 (check_float_internal): Determine max ulps using find_test_ulps.
41725 (check_float): Do not take max_ulp parameter. Update call to
41726 check_float_internal.
41727 (check_complex): Likewise.
41728 (check_int): Do not take max_ulp parameter.
41729 (check_long): Likewise.
41730 (check_bool): Likewise.
41731 (check_longlong): Likewise.
41732 (struct test_f_f_data): Remove max_ulp field.
41733 (struct test_ff_f_data): Likewise.
41734 (struct test_ff_f_data_nexttoward): Likewise.
41735 (struct test_fi_f_data): Likewise.
41736 (struct test_fl_f_data): Likewise.
41737 (struct test_if_f_data): Likewise.
41738 (struct test_fff_f_data): Likewise.
41739 (struct test_c_f_data): Likewise.
41740 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
41741 (struct test_fF_f1_data): Likewise.
41742 (struct test_ffI_f1_data): Likewise.
41743 (struct test_c_c_data): Remove max_ulp field.
41744 (struct test_cc_c_data): Likewise.
41745 (struct test_f_i_data): Likewise.
41746 (struct test_ff_i_data): Likewise.
41747 (struct test_f_l_data): Likewise.
41748 (struct test_f_L_data): Likewise.
41749 (struct test_sincos_data): Likewise.
41750 (RUN_TEST_f_f): Do not handle ulps.
41751 (RUN_TEST_LOOP_f_f): Likewise.
41752 (RUN_TEST_2_f): Likewise.
41753 (RUN_TEST_LOOP_2_f): Likewise.
41754 (RUN_TEST_fff_f): Likewise.
41755 (RUN_TEST_LOOP_fff_f): Likewise.
41756 (RUN_TEST_c_f): Likewise.
41757 (RUN_TEST_LOOP_c_f): Likewise.
41758 (RUN_TEST_f_f1): Likewise.
41759 (RUN_TEST_LOOP_f_f1): Likewise.
41760 (RUN_TEST_fF_f1): Likewise.
41761 (RUN_TEST_LOOP_fF_f1): Likewise.
41762 (RUN_TEST_fI_f1): Likewise.
41763 (RUN_TEST_LOOP_fI_f1): Likewise.
41764 (RUN_TEST_ffI_f1): Likewise.
41765 (RUN_TEST_LOOP_ffI_f1): Likewise.
41766 (RUN_TEST_c_c): Likewise.
41767 (RUN_TEST_LOOP_c_c): Likewise.
41768 (RUN_TEST_cc_c): Likewise.
41769 (RUN_TEST_LOOP_cc_c): Likewise.
41770 (RUN_TEST_f_i): Likewise.
41771 (RUN_TEST_LOOP_f_i): Likewise.
41772 (RUN_TEST_f_i_tg): Likewise.
41773 (RUN_TEST_LOOP_f_i_tg): Likewise.
41774 (RUN_TEST_ff_i_tg): Likewise.
41775 (RUN_TEST_LOOP_ff_i_tg): Likewise.
41776 (RUN_TEST_f_b): Likewise.
41777 (RUN_TEST_LOOP_f_b): Likewise.
41778 (RUN_TEST_f_b_tg): Likewise.
41779 (RUN_TEST_LOOP_f_b_tg): Likewise.
41780 (RUN_TEST_f_l): Likewise.
41781 (RUN_TEST_LOOP_f_l): Likewise.
41782 (RUN_TEST_f_L): Likewise.
41783 (RUN_TEST_LOOP_f_L): Likewise.
41784 (RUN_TEST_sincos): Likewise.
41785 (RUN_TEST_LOOP_sincos): Likewise.
41786
41787 2013-05-17 Joseph Myers <joseph@codesourcery.com>
41788
41789 [BZ #15480]
41790 [BZ #15485]
41791 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
41792 main case of finite arguments, set rounding mode to FE_TONEAREST
41793 and discard exceptions.
41794 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
41795 exceptions.
41796 (remainder_tonearest_test_data): New variable.
41797 (remainder_test_tonearest): New function.
41798 (remainder_towardzero_test_data): New variable.
41799 (remainder_test_towardzero): New function.
41800 (remainder_downward_test_data): New variable.
41801 (remainder_test_downward): New function.
41802 (remainder_upward_test_data): New variable.
41803 (remainder_test_upward): New function.
41804 (main): Call the new test functions.
41805
41806 * math/libm-test.inc (struct test_f_f1_data): Remove field
41807 extra_init.
41808 (struct test_fF_f1_data): Likewise.
41809 (struct test_ffI_f1_data): Likewise.
41810 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
41811 based on value of EXTRA_EXPECTED.
41812 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
41813 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
41814 EXTRA_VAR based on value of EXTRA_EXPECTED.
41815 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
41816 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
41817 EXTRA_VAR based on value of EXTRA_EXPECTED.
41818 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
41819 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
41820 EXTRA_VAR based on value of EXTRA_EXPECTED.
41821 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
41822 * math/gen-libm-test.pl (parse_args): Don't output initializers
41823 for extra output values.
41824
41825 * math/libm-test.inc (check_int): Expect result to be exactly
41826 equal to expected value and do not handle ulps.
41827 (check_long): Likewise.
41828 (check_longlong): Likewise.
41829
41830 * math/libm-test.inc (ceil_test_data): Test for "inexact"
41831 exceptions.
41832 (cimag_test_data): Likewise.
41833 (conj_test_data): Likewise.
41834 (copysign_test_data): Likewise.
41835 (cproj_test_data): Likewise.
41836 (creal_test_data): Likewise.
41837 (fabs_test_data): Likewise.
41838 (fdim_test_data): Likewise.
41839 (finite_test_data): Likewise.
41840 (floor_test_data): Likewise.
41841 (fmax_test_data): Likewise.
41842 (fmin_test_data): Likewise.
41843 (fmod_test_data): Likewise.
41844 (fpclassify_test_data): Likewise.
41845 (frexp_test_data): Likewise.
41846 (ilogb_test_data): Likewise.
41847 (isfinite_test_data): Likewise.
41848 (isgreater_test_data): Likewise.
41849 (isgreaterequal_test_data): Likewise.
41850 (isinf_test_data): Likewise.
41851 (isless_test_data): Likewise.
41852 (islessequal_test_data): Likewise.
41853 (islessgreater_test_data): Likewise.
41854 (isnan_test_data): Likewise.
41855 (isnormal_test_data): Likewise.
41856 (issignaling_test_data): Likewise.
41857 (isunordered_test_data): Likewise.
41858 (ldexp_test_data): Likewise.
41859 (lrint_test_data): Likewise.
41860 (lrint_test_data) [TEST_FLOAT]: Disable one test.
41861 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
41862 (lrint_tonearest_test_data): Test for "inexact" exceptions.
41863 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
41864 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
41865 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
41866 test input.
41867 (lrint_towardzero_test_data): Test for "inexact" exceptions.
41868 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
41869 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
41870 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
41871 that test input.
41872 (lrint_downward_test_data): Test for "inexact" exceptions.
41873 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
41874 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
41875 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
41876 test input.
41877 (lrint_upward_test_data): Test for "inexact" exceptions.
41878 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
41879 test input.
41880 (llrint_test_data): Test for "inexact" exceptions.
41881 (llrint_test_data) [TEST_FLOAT]: Disable one test.
41882 (llrint_tonearest_test_data): Test for "inexact" exceptions.
41883 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
41884 (llrint_towardzero_test_data): Test for "inexact" exceptions.
41885 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
41886 (llrint_downward_test_data): Test for "inexact" exceptions.
41887 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
41888 (llrint_upward_test_data): Test for "inexact" exceptions.
41889 (logb_test_data): Likewise.
41890 (logb_downward_test_data): Likewise.
41891 (nextafter_test_data): Likewise.
41892 (nexttoward_test_data): Likewise.
41893 (remainder_test_data): Likewise.
41894 (remquo_test_data): Likewise.
41895 (scalbn_test_data): Likewise.
41896 (scalbln_test_data): Likewise.
41897 (signbit_test_data): Likewise.
41898 (sqrt_test_data): Likewise.
41899 (significand_test_data): Likewise.
41900
41901 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
41902
41903 [BZ #15424]
41904 * benchtests/bench-modf.c (struct args): Mark arg0 as
41905 volatile.
41906 * scripts/bench.pl: Mark members of struct args as volatile.
41907
41908 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41909
41910 [BZ # 15497]
41911 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
41912 negative infinity on POWER6 or lower.
41913 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
41914
41915 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
41916
41917 [BZ #15442]
41918 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
41919 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
41920 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
41921 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
41922 (_FP_SETQNAN): New macro.
41923 (_FP_SETQNAN_SEMIRAW): Likewise.
41924 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
41925 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
41926 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
41927 (FP_EXTEND): Use _FP_FRAC_SNANP.
41928 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
41929 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
41930 into account.
41931 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
41932 New macro.
41933 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
41934 Likewise.
41935
41936 2013-05-16 Joseph Myers <joseph@codesourcery.com>
41937
41938 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
41939 with DIVIDE_BY_ZERO_EXCEPTION.
41940 (gamma_test_data): Likewise.
41941 (lgamma_test_data): Likewise.
41942 (log_test_data): Likewise.
41943 (log10_test_data): Likewise.
41944 (log2_test_data): Likewise.
41945 (tgamma_test_data): Likewise.
41946
41947 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
41948 (acos_test_tonearest): Likewise.
41949 (acos_test_towardzero): Likewise.
41950 (acos_test_downward): Likewise.
41951 (acos_test_upward): Likewise.
41952 (acosh_test): Likewise.
41953 (asin_test): Likewise.
41954 (asin_test_tonearest): Likewise.
41955 (asin_test_towardzero): Likewise.
41956 (asin_test_downward): Likewise.
41957 (asin_test_upward): Likewise.
41958 (asinh_test): Likewise.
41959 (atan_test): Likewise.
41960 (atanh_test): Likewise.
41961 (atan2_test): Likewise.
41962 (cabs_test): Likewise.
41963 (cacos_test): Likewise.
41964 (cacosh_test): Likewise.
41965 (casin_test): Likewise.
41966 (casinh_test): Likewise.
41967 (catan_test): Likewise.
41968 (catanh_test): Likewise.
41969 (cbrt_test): Likewise.
41970 (ccos_test): Likewise.
41971 (ccosh_test): Likewise.
41972 (cexp_test): Likewise.
41973 (clog_test): Likewise.
41974 (clog10_test): Likewise.
41975 (cos_test): Likewise.
41976 (cos_test_tonearest): Likewise.
41977 (cos_test_towardzero): Likewise.
41978 (cos_test_downward): Likewise.
41979 (cos_test_upward): Likewise.
41980 (cosh_test): Likewise.
41981 (cosh_test_tonearest): Likewise.
41982 (cosh_test_towardzero): Likewise.
41983 (cosh_test_downward): Likewise.
41984 (cosh_test_upward): Likewise.
41985 (cpow_test): Likewise.
41986 (csin_test): Likewise.
41987 (csinh_test): Likewise.
41988 (csqrt_test): Likewise.
41989 (ctan_test): Likewise.
41990 (ctan_test_tonearest): Likewise.
41991 (ctan_test_towardzero): Likewise.
41992 (ctan_test_downward): Likewise.
41993 (ctan_test_upward): Likewise.
41994 (ctanh_test): Likewise.
41995 (ctanh_test_tonearest): Likewise.
41996 (ctanh_test_towardzero): Likewise.
41997 (ctanh_test_downward): Likewise.
41998 (ctanh_test_upward): Likewise.
41999 (erf_test): Likewise.
42000 (erfc_test): Likewise.
42001 (exp_test): Likewise.
42002 (exp_test_tonearest): Likewise.
42003 (exp_test_towardzero): Likewise.
42004 (exp_test_downward): Likewise.
42005 (exp_test_upward): Likewise.
42006 (exp10_test): Likewise.
42007 (exp2_test): Likewise.
42008 (expm1_test): Likewise.
42009 (fmod_test): Likewise.
42010 (gamma_test): Likewise.
42011 (hypot_test): Likewise.
42012 (j0_test): Likewise.
42013 (j1_test): Likewise.
42014 (jn_test): Likewise.
42015 (lgamma_test): Likewise.
42016 (log_test): Likewise.
42017 (log10_test): Likewise.
42018 (log1p_test): Likewise.
42019 (log2_test): Likewise.
42020 (logb_test_downward): Likewise.
42021 (pow_test): Likewise.
42022 (pow_test_tonearest): Likewise.
42023 (pow_test_towardzero): Likewise.
42024 (pow_test_downward): Likewise.
42025 (pow_test_upward): Likewise.
42026 (remainder_test): Likewise.
42027 (remquo_test): Likewise.
42028 (sin_test): Likewise.
42029 (sin_test_tonearest): Likewise.
42030 (sin_test_towardzero): Likewise.
42031 (sin_test_downward): Likewise.
42032 (sin_test_upward): Likewise.
42033 (sincos_test): Likewise.
42034 (sinh_test): Likewise.
42035 (sinh_test_tonearest): Likewise.
42036 (sinh_test_towardzero): Likewise.
42037 (sinh_test_downward): Likewise.
42038 (sinh_test_upward): Likewise.
42039 (sqrt_test): Likewise.
42040 (tan_test): Likewise.
42041 (tan_test_tonearest): Likewise.
42042 (tan_test_towardzero): Likewise.
42043 (tan_test_downward): Likewise.
42044 (tan_test_upward): Likewise.
42045 (tanh_test): Likewise.
42046 (tgamma_test): Likewise.
42047 (y0_test): Likewise.
42048 (y1_test): Likewise.
42049 (yn_test): Likewise.
42050
42051 * math/gen-libm-test.pl (adjust_arg): Remove function.
42052 (special_function): Remove argument $in_func. Only handle
42053 generating output for tables of tests, not inside functions.
42054 (parse_args): Likewise.
42055 (generate_testfile): Remove variable $in_func. Update call to
42056 parse_args.
42057 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
42058 (MINUS_ZERO_INIT): Rename macro to minus_zero.
42059 (PLUS_INFTY_INIT): Rename macro to plus_infty.
42060 (MINUS_INFTY_INIT): Rename macro to minus_infty.
42061 (QNAN_VALUE_INIT): Rename macro to qnan_value.
42062 (MAX_VALUE_INIT): Rename macro to max_value.
42063 (MIN_VALUE_INIT): Rename macro to min_value.
42064 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
42065 (plus_zero): Remove variable.
42066 (minus_zero): Likewise.
42067 (plus_infty): Likewise.
42068 (minus_infty): Likewise.
42069 (qnan_value): Likewise.
42070 (max_value): Likewise.
42071 (min_value): Likewise.
42072 (min_subnorm_value): Likewise.
42073
42074 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42075
42076 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
42077 uint64_t or uint32_t usage.
42078 * crypt/sha256-block.c: Likewise.
42079 * crypt/sha256-crypt.c: Likewise.
42080 * crypt/sha256.c: Likewise.
42081 * crypt/sha512-block.c: Likewise.
42082 * crypt/sha512-crypt.c: Likewise.
42083 * crypt/sha512.c: Likewise.
42084 * debug/backtrace-tst.c: Likewise.
42085 * debug/pcprofiledump.c: Likewise.
42086 * elf/cache.c: Likewise.
42087 * elf/dl-cache.c: Likewise.
42088 * elf/dl-misc.c: Likewise.
42089 * elf/dl-profile.c: Likewise.
42090 * elf/dl-support.c: Likewise.
42091 * elf/ldconfig.c: Likewise.
42092 * elf/sprof.c: Likewise.
42093 * iconv/dummy-repertoire.c: Likewise.
42094 * iconv/iconv_charmap.c: Likewise.
42095 * iconv/skeleton.c: Likewise.
42096 * iconvdata/8bit-generic.c: Likewise.
42097 * iconvdata/cp737.h: Likewise.
42098 * iconvdata/cp775.h: Likewise.
42099 * iconvdata/ibm1008.h: Likewise.
42100 * iconvdata/ibm1025.h: Likewise.
42101 * iconvdata/ibm1046.h: Likewise.
42102 * iconvdata/ibm1097.h: Likewise.
42103 * iconvdata/ibm1112.h: Likewise.
42104 * iconvdata/ibm1122.h: Likewise.
42105 * iconvdata/ibm1123.h: Likewise.
42106 * iconvdata/ibm1124.h: Likewise.
42107 * iconvdata/ibm1129.h: Likewise.
42108 * iconvdata/ibm1130.h: Likewise.
42109 * iconvdata/ibm1132.h: Likewise.
42110 * iconvdata/ibm1133.h: Likewise.
42111 * iconvdata/ibm1137.h: Likewise.
42112 * iconvdata/ibm1140.h: Likewise.
42113 * iconvdata/ibm1141.h: Likewise.
42114 * iconvdata/ibm1142.h: Likewise.
42115 * iconvdata/ibm1143.h: Likewise.
42116 * iconvdata/ibm1144.h: Likewise.
42117 * iconvdata/ibm1145.h: Likewise.
42118 * iconvdata/ibm1146.h: Likewise.
42119 * iconvdata/ibm1147.h: Likewise.
42120 * iconvdata/ibm1148.h: Likewise.
42121 * iconvdata/ibm1149.h: Likewise.
42122 * iconvdata/ibm1153.h: Likewise.
42123 * iconvdata/ibm1154.h: Likewise.
42124 * iconvdata/ibm1155.h: Likewise.
42125 * iconvdata/ibm1156.h: Likewise.
42126 * iconvdata/ibm1157.h: Likewise.
42127 * iconvdata/ibm1158.h: Likewise.
42128 * iconvdata/ibm1160.h: Likewise.
42129 * iconvdata/ibm1161.h: Likewise.
42130 * iconvdata/ibm1162.h: Likewise.
42131 * iconvdata/ibm1163.h: Likewise.
42132 * iconvdata/ibm1164.h: Likewise.
42133 * iconvdata/ibm1166.h: Likewise.
42134 * iconvdata/ibm1167.h: Likewise.
42135 * iconvdata/ibm12712.h: Likewise.
42136 * iconvdata/ibm1390.h: Likewise.
42137 * iconvdata/ibm1399.h: Likewise.
42138 * iconvdata/ibm16804.h: Likewise.
42139 * iconvdata/ibm4517.h: Likewise.
42140 * iconvdata/ibm4899.h: Likewise.
42141 * iconvdata/ibm4909.h: Likewise.
42142 * iconvdata/ibm4971.h: Likewise.
42143 * iconvdata/ibm5347.h: Likewise.
42144 * iconvdata/ibm803.h: Likewise.
42145 * iconvdata/ibm856.h: Likewise.
42146 * iconvdata/ibm901.h: Likewise.
42147 * iconvdata/ibm902.h: Likewise.
42148 * iconvdata/ibm9030.h: Likewise.
42149 * iconvdata/ibm9066.h: Likewise.
42150 * iconvdata/ibm921.h: Likewise.
42151 * iconvdata/ibm922.h: Likewise.
42152 * iconvdata/ibm9448.h: Likewise.
42153 * iconvdata/isiri-3342.h: Likewise.
42154 * iconvdata/jis0201.h: Likewise.
42155 * include/link.h: Likewise.
42156 * include/netdb.h: Likewise.
42157 * inet/check_native.c: Likewise.
42158 * inet/check_pf.c: Likewise.
42159 * inet/getipv4sourcefilter.c: Likewise.
42160 * inet/getnameinfo.c: Likewise.
42161 * inet/getsourcefilter.c: Likewise.
42162 * inet/htonl.c: Likewise.
42163 * inet/setipv4sourcefilter.c: Likewise.
42164 * inet/setsourcefilter.c: Likewise.
42165 * inet/test-inet6_opt.c: Likewise.
42166 * inet/tst-network.c: Likewise.
42167 * locale/C-collate.c: Likewise.
42168 * locale/C-ctype.c: Likewise.
42169 * locale/C-time.c: Likewise.
42170 * locale/C-translit.h: Likewise.
42171 * locale/loadarchive.c: Likewise.
42172 * locale/programs/3level.h: Likewise.
42173 * locale/programs/charmap.c: Likewise.
42174 * locale/programs/charmap.h: Likewise.
42175 * locale/programs/ld-address.c: Likewise.
42176 * locale/programs/ld-collate.c: Likewise.
42177 * locale/programs/ld-ctype.c: Likewise.
42178 * locale/programs/ld-identification.c: Likewise.
42179 * locale/programs/ld-measurement.c: Likewise.
42180 * locale/programs/ld-messages.c: Likewise.
42181 * locale/programs/ld-monetary.c: Likewise.
42182 * locale/programs/ld-name.c: Likewise.
42183 * locale/programs/ld-numeric.c: Likewise.
42184 * locale/programs/ld-paper.c: Likewise.
42185 * locale/programs/ld-telephone.c: Likewise.
42186 * locale/programs/ld-time.c: Likewise.
42187 * locale/programs/linereader.c: Likewise.
42188 * locale/programs/locale.c: Likewise.
42189 * locale/programs/locarchive.c: Likewise.
42190 * locale/programs/locfile.h: Likewise.
42191 * locale/programs/repertoire.c: Likewise.
42192 * locale/programs/simple-hash.c: Likewise.
42193 * locale/programs/simple-hash.h: Likewise.
42194 * malloc/memusage.c: Likewise.
42195 * malloc/memusagestat.c: Likewise.
42196 * nis/nis_defaults.c: Likewise.
42197 * nis/nis_hash.c: Likewise.
42198 * nis/nis_print.c: Likewise.
42199 * nis/nis_xdr.c: Likewise.
42200 * nscd/connections.c: Likewise.
42201 * nscd/hstcache.c: Likewise.
42202 * nscd/nscd_gethst_r.c: Likewise.
42203 * nscd/nscd_getserv_r.c: Likewise.
42204 * nscd/nscd_helper.c: Likewise.
42205 * nscd/servicescache.c: Likewise.
42206 * nss/makedb.c: Likewise.
42207 * nss/nss_db/db-XXX.c: Likewise.
42208 * nss/nss_db/db-initgroups.c: Likewise.
42209 * nss/nss_db/db-netgrp.c: Likewise.
42210 * nss/nss_files/files-network.c: Likewise.
42211 * nss/nss_files/files-parse.c: Likewise.
42212 * posix/bug-regex5.c: Likewise.
42213 * posix/fnmatch_loop.c: Likewise.
42214 * posix/regcomp.c: Likewise.
42215 * posix/regexec.c: Likewise.
42216 * posix/tst-rfc3484-2.c: Likewise.
42217 * posix/tst-rfc3484-3.c: Likewise.
42218 * posix/tst-rfc3484.c: Likewise.
42219 * resolv/nss_dns/dns-canon.c: Likewise.
42220 * resolv/nss_dns/dns-network.c: Likewise.
42221 * resolv/res_init.c: Likewise.
42222 * resolv/res_mkquery.c: Likewise.
42223 * resolv/tst-aton.c: Likewise.
42224 * stdlib/cxa_atexit.c: Likewise.
42225 * stdlib/cxa_finalize.c: Likewise.
42226 * stdlib/gen-fpioconst.c: Likewise.
42227 * stdlib/strtol_l.c: Likewise.
42228 * string/tst-endian.c: Likewise.
42229 * sunrpc/auth_des.c: Likewise.
42230 * sunrpc/clnt_udp.c: Likewise.
42231 * sunrpc/rtime.c: Likewise.
42232 * sunrpc/svcauth_des.c: Likewise.
42233 * sunrpc/xdr.c: Likewise.
42234 * sunrpc/xdr_intXX_t.c: Likewise.
42235 * sunrpc/xdr_rec.c: Likewise.
42236 * sysdeps/generic/ldconfig.h: Likewise.
42237 * sysdeps/generic/ldsodefs.h: Likewise.
42238 * sysdeps/generic/memusage.h: Likewise.
42239 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42240 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
42241 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
42242 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42243 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42244 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42245 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42246 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42247 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42248 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42249 * sysdeps/posix/getaddrinfo.c: Likewise.
42250 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42251 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42252 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42253 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42254 * sysdeps/powerpc/test-gettimebase.c: Likewise.
42255 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42256 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
42257 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
42258 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42259 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
42260 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42261 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42262 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
42263 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
42264 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
42265 * sysdeps/x86_64/dl-tls.h: Likewise.
42266 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
42267 * time/alt_digit.c: Likewise.
42268 * time/era.c: Likewise.
42269 * wcsmbs/tst-c16c32-1.c: Likewise.
42270
42271 2013-05-16 Joseph Myers <joseph@codesourcery.com>
42272
42273 * math/libm-test.inc (struct test_sincos_data): New type.
42274 (RUN_TEST_LOOP_sincos): New macro.
42275 (sincos_test_data): New variable.
42276 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
42277
42278 2013-05-16 Richard Henderson <rth@redhat.com>
42279
42280 * math/atest-exp2.c (LIMB64): New macro.
42281 (CONSTSZ): New macro.
42282 (mp_exp1, mp_exp_m1, mp_log2): New variables.
42283 (hexdig): Move ...
42284 (print_mpn_fp): ... to function scope.
42285 (read_mpn_hex): Remove.
42286 (get_log2): Remove.
42287 (exp2_mpn): Use mp_log2.
42288 (main): Use mp_exp1.
42289
42290 2013-05-16 Joseph Myers <joseph@codesourcery.com>
42291
42292 * math/libm-test.inc: Remove comment about not testing "inexact"
42293 exceptions.
42294 (INEXACT_EXCEPTION): New macro.
42295 (NO_INEXACT_EXCEPTION): Likewise.
42296 (INVALID_EXCEPTION_OK): Update value.
42297 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42298 (OVERFLOW_EXCEPTION_OK): Likewise.
42299 (UNDERFLOW_EXCEPTION_OK): Likewise.
42300 (IGNORE_ZERO_INF_SIGN): Likewise.
42301 (ERRNO_UNCHANGED): Likewise.
42302 (ERRNO_EDOM): Likewise.
42303 (ERRNO_ERANGE): Likewise.
42304 (test_exceptions): Handle testing "inexact" exceptions.
42305 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
42306 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
42307 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
42308 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
42309 INEXACT_EXCEPTION.
42310 (rint_towardzero_test_data): Likewise.
42311 (rint_downward_test_data): Likewise.
42312 (rint_upward_test_data): Likewise.
42313
42314 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
42315 with OVERFLOW_EXCEPTION.
42316 (exp10_test_data): Likewise.
42317 (exp2_test_data): Likewise.
42318 (expm1_test_data): Likewise.
42319 (lgamma_test_data): Likewise.
42320 (pow_test_data): Likewise.
42321 (tgamma_test_data): Likewise.
42322 (yn_test_data): Remove duplicate test of overflow.
42323
42324 * math/libm-test.inc (struct test_cc_c_data): New type.
42325 (RUN_TEST_LOOP_cc_c): New macro.
42326 (cpow_test_data): New variable.
42327 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
42328
42329 * math/libm-test.inc (struct test_f_L_data): New type.
42330 (RUN_TEST_LOOP_f_L): New macro.
42331 (llrint_test_data): New variable.
42332 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
42333 (llrint_tonearest_test_data): New variable.
42334 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
42335 (llrint_towardzero_test_data): New variable.
42336 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
42337 (llrint_downward_test_data): New variable.
42338 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
42339 (llrint_upward_test_data): New variable.
42340 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
42341 (llround_test_data): New variable.
42342 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
42343
42344 2013-05-13 Peter Collingbourne <pcc@google.com>
42345
42346 * math/atest-exp2.c (get_log2): Remove const attribute.
42347
42348 2013-05-15 Joseph Myers <joseph@codesourcery.com>
42349
42350 * math/libm-test.inc (struct test_f_l_data): New type.
42351 (RUN_TEST_LOOP_f_l): New macro.
42352 (lrint_test_data): New variable.
42353 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
42354 (lrint_tonearest_test_data): New variable.
42355 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
42356 (lrint_towardzero_test_data): New variable.
42357 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
42358 (lrint_downward_test_data): New variable.
42359 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
42360 (lrint_upward_test_data): New variable.
42361 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
42362 (lround_test_data): New variable.
42363 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
42364
42365 2013-05-15 Peter Collingbourne <pcc@google.com>
42366
42367 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
42368 (EXTRACT_WORDS64) Use where appropriate.
42369 (INSERT_WORDS64) Likewise.
42370
42371 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
42372 constraints with x constraints.
42373 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
42374
42375 * malloc/obstack.c (_obstack_compat): Add initializer.
42376
42377 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
42378
42379 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
42380 si_trapno and add si_addr_lsb to _sifields.sigfault.
42381 (si_trapno): Remove macro.
42382 (si_addr_lsb): Define new macro.
42383 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42384
42385 2013-05-15 Joseph Myers <joseph@codesourcery.com>
42386
42387 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
42388 instead of TEST_f_l.
42389 (llrint_test_tonearest): Likewise.
42390 (llrint_test_towardzero): Likewise.
42391 (llrint_test_downward): Likewise.
42392 (llrint_test_upward): Likewise.
42393 (llround_test): Likewise.
42394
42395 * math/libm-test.inc (struct test_f_i_data): Add comment.
42396 (RUN_TEST_LOOP_f_b): New macro.
42397 (RUN_TEST_LOOP_f_b_tg): Likewise.
42398 (finite_test_data): New variable.
42399 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
42400 (isfinite_test_data): New variable.
42401 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42402 (isinf_test_data): New variable.
42403 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42404 (isnan_test_data): New variable.
42405 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42406 (isnormal_test_data): New variable.
42407 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42408 (issignaling_test_data): New variable.
42409 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42410 (signbit_test_data): New variable.
42411 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42412
42413 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
42414 with INVALID_EXCEPTION.
42415 (acosh_test_data): Likewise.
42416 (asin_test_data): Likewise.
42417 (atanh_test_data): Likewise.
42418 (fmod_test_data): Likewise.
42419 (log_test_data): Likewise.
42420 (log10_test_data): Likewise.
42421 (log2_test_data): Likewise.
42422 (pow_test_data): Likewise.
42423 (sqrt_test_data): Likewise.
42424 (y0_test_data): Likewise.
42425 (y1_test_data): Likewise.
42426 (yn_test_data): Likewise.
42427
42428 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
42429 function contents.
42430
42431 * math/libm-test.inc (struct test_ff_i_data): New type.
42432 (RUN_TEST_LOOP_ff_i_tg): New macro.
42433 (isgreater_test_data): New variable.
42434 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42435 (isgreaterequal_test_data): New variable.
42436 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42437 (isless_test_data): New variable.
42438 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42439 (islessequal_test_data): New variable.
42440 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42441 (islessgreater_test_data): New variable.
42442 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42443 (isunordered_test_data): New variable.
42444 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42445
42446 2013-05-14 David S. Miller <davem@davemloft.net>
42447
42448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42449
42450 2013-05-14 Joseph Myers <joseph@codesourcery.com>
42451
42452 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
42453
42454 * math/libm-test.inc (struct test_fF_f1_data): Change type of
42455 extra_test to int.
42456 (struct test_f_i_data): Change type of max_ulp to int.
42457
42458 * math/libm-test.inc (test_ffI_f1_data): New type.
42459 (RUN_TEST_LOOP_ffI_f1): New macro.
42460 (remquo_test_data): New variable.
42461 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
42462
42463 * setjmp/tst-setjmp-fp.c: New file.
42464 * setjmp/Makefile (tests): Add tst-setjmp-fp.
42465 (link-libm): New variable.
42466 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
42467
42468 * math/libm-test.inc (struct test_f_i_data): New type.
42469 (RUN_TEST_LOOP_f_i): New macro.
42470 (RUN_TEST_LOOP_f_i_tg): Likewise.
42471 (fpclassify_test_data): New variable.
42472 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
42473 (ilogb_test_data): New variable.
42474 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
42475
42476 * math/libm-test.inc (scalbln_test): Correct function name in END
42477 call.
42478
42479 * math/libm-test.inc (struct test_f_f1_data): Add comment.
42480 (RUN_TEST_LOOP_fI_f1): New macro.
42481 (frexp_test_data): New variable.
42482 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
42483
42484 * math/libm-test.inc (struct test_fF_f1_data): New type.
42485 (RUN_TEST_LOOP_fF_f1): New macro.
42486 (modf_test_data): New variable.
42487 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
42488
42489 * math/libm-test.inc (struct test_f_f1_data): New type.
42490 (RUN_TEST_LOOP_f_f1): New macro.
42491 (gamma_test_data): New variable.
42492 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
42493 (lgamma_test_data): New variable.
42494 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
42495
42496 2013-05-13 Carlos O'Donell <carlos@redhat.com>
42497
42498 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
42499 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
42500 (main): Comment "tls" pseudo-hwcap.
42501
42502 2013-05-13 Joseph Myers <joseph@codesourcery.com>
42503
42504 * math/libm-test.inc (struct test_fl_f_data): New type.
42505 (RUN_TEST_LOOP_fl_f): New variable.
42506 (scalbln_test_data): New variable.
42507 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
42508
42509 * math/libm-test.inc (struct test_fi_f_data): New type.
42510 (RUN_TEST_LOOP_fi_f): New macro.
42511 (ldexp_test_data): New variable.
42512 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
42513 (scalbn_test_data): New variable.
42514 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
42515
42516 * math/libm-test.inc (struct test_c_f_data): New type.
42517 (RUN_TEST_LOOP_c_f): New macro.
42518 (cabs_test_data): New variable.
42519 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
42520 (carg_test_data): New variable.
42521 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
42522 (cimag_test_data): New variable.
42523 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
42524 (creal_test_data): New variable.
42525 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
42526
42527 * math/libm-test.inc (struct test_if_f_data): New type.
42528 (RUN_TEST_LOOP_if_f): New macro.
42529 (jn_test_data): New variable.
42530 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
42531 (yn_test_data): New variable.
42532 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
42533
42534 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
42535
42536 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42537
42538 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
42539 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
42540
42541 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
42542
42543 * benchtests/Makefile (CPPFLAGS-nonlib): Add
42544 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
42545 (bench-deps): Add bench-timing.h.
42546 * benchtests-bench-skeleton.c: Include bench-timing.h.
42547 (main): Use TIMING_* macros instead of clock_gettime.
42548 * benchtests/bench-timing.h: New file.
42549
42550 [BZ #14582]
42551 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
42552 Renamed from _LIB_VERSION.
42553 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
42554
42555 2013-05-12 Joseph Myers <joseph@codesourcery.com>
42556
42557 * math/libm-test.inc (struct test_fff_f_data): New type.
42558 (RUN_TEST_LOOP_fff_f): New macro.
42559 (fma_test_data): New variable.
42560 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
42561 (fma_towardzero_test_data): New variable.
42562 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
42563 (fma_downward_test_data): New variable.
42564 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
42565 (fma_upward_test_data): New variable.
42566 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
42567
42568 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
42569 (struct test_c_c_data): New type.
42570 (RUN_TEST_LOOP_c_c): New macro.
42571 (cacos_test_data): New variable.
42572 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
42573 (cacosh_test_data): New variable.
42574 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
42575 (casin_test_data): New variable.
42576 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
42577 (casinh_test_data): New variable.
42578 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
42579 (catan_test_data): New variable.
42580 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
42581 (catanh_test_data): New variable.
42582 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
42583 (ccos_test_data): New variable.
42584 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
42585 (ccosh_test_data): New variable.
42586 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
42587 (cexp_test_data): New variable.
42588 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
42589 (clog_test_data): New variable.
42590 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
42591 (clog10_test_data): New variable.
42592 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
42593 (conj_test_data): New variable.
42594 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
42595 (cproj_test_data): New variable.
42596 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
42597 (csin_test_data): New variable.
42598 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
42599 (csinh_test_data): New variable.
42600 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
42601 (csqrt_test_data): New variable.
42602 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
42603 (ctan_test_data): New variable.
42604 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
42605 (ctan_tonearest_test_data): New variable.
42606 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
42607 (ctan_towardzero_test_data): New variable.
42608 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
42609 (ctan_downward_test_data): New variable.
42610 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
42611 (ctan_upward_test_data): New variable.
42612 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
42613 (ctanh_test_data): New variable.
42614 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
42615 (ctanh_tonearest_test_data): New variable.
42616 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
42617 (ctanh_towardzero_test_data): New variable.
42618 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
42619 (ctanh_downward_test_data): New variable.
42620 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
42621 (ctanh_upward_test_data): New variable.
42622 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
42623 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
42624 of BUILD_COMPLEX.
42625
42626 * math/libm-test.inc (struct test_ff_f_data): New type.
42627 (struct test_ff_f_data_nexttoward): Likewise.
42628 (RUN_TEST_LOOP_2_f): New macro.
42629 (RUN_TEST_LOOP_ff_f): Likewise.
42630 (atan2_test_data): New variable.
42631 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
42632 (copysign_test_data): New variable.
42633 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
42634 (fdim_test_data): New variable.
42635 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
42636 (fmax_test_data): New variable.
42637 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
42638 (fmin_test_data): New variable.
42639 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
42640 (fmod_test_data): New variable.
42641 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
42642 (hypot_test_data): New variable.
42643 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
42644 (nextafter_test_data): New variable.
42645 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
42646 (nexttoward_test_data): New variable.
42647 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
42648 (pow_test_data): New variable.
42649 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
42650 (pow_tonearest_test_data): New variable.
42651 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
42652 (pow_towardzero_test_data): New variable.
42653 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
42654 (pow_downward_test_data): New variable.
42655 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
42656 (pow_upward_test_data): New variable.
42657 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
42658 (remainder_test_data): New variable.
42659 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
42660 (scalb_test_data): New variable.
42661 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
42662 * sysdeps/i386/fpu/libm-test-ulps: Update.
42663
42664 2013-05-11 Joseph Myers <joseph@codesourcery.com>
42665
42666 * math/libm-test.inc (fma_test): Use max_value instead of local
42667 variable fltmax.
42668 (nextafter_test): Likewise.
42669
42670 * math/libm-test.inc (acos_towardzero_test_data): New variable.
42671 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42672 (acos_downward_test_data): New variable.
42673 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42674 (acos_upward_test_data): New variable.
42675 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42676 (acosh_test_data): New variable.
42677 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
42678 (asin_test_data): New variable.
42679 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
42680 (asin_tonearest_test_data): New variable.
42681 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42682 (asin_towardzero_test_data): New variable.
42683 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42684 (asin_downward_test_data): New variable.
42685 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42686 (asin_upward_test_data): New variable.
42687 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42688 (asinh_test_data): New variable.
42689 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
42690 (atan_test_data): New variable.
42691 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
42692 (atanh_test_data): New variable.
42693 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
42694 (cbrt_test_data): New variable.
42695 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
42696 (ceil_test_data): New variable.
42697 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
42698 (cos_test_data): New variable.
42699 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
42700 (cos_tonearest_test_data): New variable.
42701 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42702 (cos_towardzero_test_data): New variable.
42703 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42704 (cos_downward_test_data): New variable.
42705 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42706 (cos_upward_test_data): New variable.
42707 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42708 (cosh_test_data): New variable.
42709 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
42710 (cosh_tonearest_test_data): New variable.
42711 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42712 (cosh_towardzero_test_data): New variable.
42713 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42714 (cosh_downward_test_data): New variable.
42715 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42716 (cosh_upward_test_data): New variable.
42717 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42718 (erf_test_data): New variable.
42719 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
42720 (erfc_test_data): New variable.
42721 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
42722 (exp_test_data): New variable.
42723 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
42724 (exp_tonearest_test_data): New variable.
42725 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42726 (exp_towardzero_test_data): New variable.
42727 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42728 (exp_downward_test_data): New variable.
42729 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42730 (exp_upward_test_data): New variable.
42731 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42732 (exp10_test_data): New variable.
42733 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
42734 (exp2_test_data): New variable.
42735 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
42736 (expm1_test_data): New variable.
42737 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
42738 (fabs_test_data): New variable.
42739 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
42740 (floor_test_data): New variable.
42741 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
42742 (j0_test_data): New variable.
42743 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
42744 (j1_test_data): New variable.
42745 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
42746 (log_test_data): New variable.
42747 (log_test): Run tests with RUN_TEST_LOOP_f_f.
42748 (log10_test_data): New variable.
42749 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
42750 (log1p_test_data): New variable.
42751 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
42752 (log2_test_data): New variable.
42753 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
42754 (logb_test_data): New variable.
42755 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
42756 (logb_downward_test_data): New variable.
42757 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42758 (nearbyint_test_data): New variable.
42759 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
42760 (rint_test_data): New variable.
42761 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
42762 (rint_tonearest_test_data): New variable.
42763 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42764 (rint_towardzero_test_data): New variable.
42765 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42766 (rint_downward_test_data): New variable.
42767 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42768 (rint_upward_test_data): New variable.
42769 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42770 (round_test_data): New variable.
42771 (round_test): Run tests with RUN_TEST_LOOP_f_f.
42772 (sin_test_data): New variable.
42773 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
42774 (sin_tonearest_test_data): New variable.
42775 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42776 (sin_towardzero_test_data): New variable.
42777 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42778 (sin_downward_test_data): New variable.
42779 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42780 (sin_upward_test_data): New variable.
42781 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42782 (sinh_test_data): New variable.
42783 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
42784 (sinh_tonearest_test_data): New variable.
42785 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42786 (sinh_towardzero_test_data): New variable.
42787 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42788 (sinh_downward_test_data): New variable.
42789 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42790 (sinh_upward_test_data): New variable.
42791 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42792 (sqrt_test_data): New variable.
42793 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
42794 (tan_test_data): New variable.
42795 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
42796 (tan_tonearest_test_data): New variable.
42797 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42798 (tan_towardzero_test_data): New variable.
42799 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42800 (tan_downward_test_data): New variable.
42801 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42802 (tan_upward_test_data): New variable.
42803 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42804 (tanh_test_data): New variable.
42805 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
42806 (tgamma_test_data): New variable.
42807 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
42808 (trunc_test_data): New variable.
42809 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
42810 (y0_test_data): New variable.
42811 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
42812 (y1_test_data): New variable.
42813 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
42814 (significand_test_data): New variable.
42815 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
42816
42817 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
42818
42819 [BZ #12387]
42820 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
42821
42822 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
42823
42824 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
42825
42826 2013-05-10 Andreas Jaeger <aj@suse.de>
42827
42828 [BZ #15448]
42829 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
42830 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
42831
42832 2013-05-10 Joseph Myers <joseph@codesourcery.com>
42833
42834 * math/gen-libm-test.pl (adjust_arg): New function.
42835 (special_functions): Handle generating output in both functions
42836 and arrays.
42837 (parse_args): Likewise.
42838 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
42839 $in_func argument to parse_args.
42840 * math/libm-test.inc (struct test_f_f_data): New type.
42841 (IF_ROUND_INIT_): New macro.
42842 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
42843 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
42844 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
42845 (IF_ROUND_INIT_FE_UPWARD): Likewise.
42846 (ROUND_RESTORE_): Likewise.
42847 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
42848 (ROUND_RESTORE_FE_TONEAREST): Likewise.
42849 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
42850 (ROUND_RESTORE_FE_UPWARD): Likewise.
42851 (RUN_TEST_LOOP_f_f): New macro.
42852 (acos_test_data): New variable.
42853 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
42854 (acos_tonearest_test_data): New variable.
42855 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42856
42857 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42858
42859 * benchtests/bench-skeleton.c (startup): Fix coding style.
42860
42861 2013-05-10 Joseph Myers <joseph@codesourcery.com>
42862
42863 [BZ #6809]
42864 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
42865 negative infinity argument.
42866 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
42867 negative infinity argument.
42868 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
42869 negative infinity argument.
42870 * math/libm-test.inc (tgamma_test): Expect errno to be set for
42871 domain errors.
42872
42873 2013-05-10 Florian Weimer <fweimer@redhat.com>
42874
42875 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
42876 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
42877 * iconv/iconv_prog.c (main): Likewise.
42878 * locale/programs/charmap-dir.c (charmap_readdir)
42879 (fopen_uncompressed): Likewise.
42880 * locale/programs/locfile.c (siblings_uncached)
42881 (write_locale_data): Use lstat64 instead of lstat.
42882 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
42883 stat.
42884
42885 2013-05-10 Andreas Jaeger <aj@suse.de>
42886
42887 [BZ #15395]
42888 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
42889 localization.
42890 Include <locale.h>.
42891
42892 2013-05-09 Carlos O'Donell <carlos@redhat.com>
42893
42894 * elf/dl-close.c (_dl_close_worker): Add comments.
42895
42896 2013-05-09 Joseph Myers <joseph@codesourcery.com>
42897
42898 [BZ #15359]
42899 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
42900 high part of pi/2.
42901 (__ieee754_rem_pio2l): Update comments.
42902
42903 [BZ #15429]
42904 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
42905 high part of pi/2.
42906 (__ieee754_rem_pio2l): Update comments.
42907
42908 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
42909 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
42910
42911 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
42912 M_PI_4l.
42913
42914 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
42915 (M_PI_34_LOG10El): Likewise.
42916 (M_PI2_LOG10El): Likewise.
42917 (M_PI4_LOG10El): Likewise.
42918 (M_PI_LOG10El): Likewise.
42919
42920 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42921
42922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42923
42924 2013-05-08 Joseph Myers <joseph@codesourcery.com>
42925
42926 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
42927 (MINUS_ZERO_INIT): Likewise.
42928 (PLUS_INFTY_INIT): Likewise.
42929 (MINUS_INFTY_INIT): Likewise.
42930 (QNAN_VALUE_INIT): Likewise.
42931 (MAX_VALUE_INIT): Likewise.
42932 (MIN_VALUE_INIT): Likewise.
42933 (MIN_SUBNORM_VALUE_INIT): Likewise.
42934 (plus_zero): Initialize with PLUS_ZERO_INIT.
42935 (minus_zero): Initialize with MINUS_ZERO_INIT.
42936 (plus_infty): Initialize with PLUS_INFTY_INIT.
42937 (minus_infty): Initialize with MINUS_INFTY_INIT.
42938 (qnan_value): Initialize with QNAN_VALUE_INIT.
42939 (max_value): Initialize with MAX_VALUE_INIT.
42940 (min_value): Initialize with MIN_VALUE_INIT.
42941 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
42942
42943 * math/libm-test.inc (RUN_TEST_if_f): New macro.
42944 (jn_test): Use TEST_if_f instead of TEST_ff_f.
42945 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
42946 (yn_test): Use TEST_if_f instead of TEST_ff_f.
42947
42948 * math/libm-test.inc (RUN_TEST_f_f): New macro.
42949 (RUN_TEST_2_f): Likewise.
42950 (RUN_TEST_ff_f): Likewise.
42951 (RUN_TEST_fi_f): Likewise.
42952 (RUN_TEST_fl_f): Likewise.
42953 (RUN_TEST_fff_f): Likewise.
42954 (RUN_TEST_c_f): Likewise.
42955 (RUN_TEST_f_f1): Likewise.
42956 (RUN_TEST_fF_f1): Likewise.
42957 (RUN_TEST_fI_f1): Likewise.
42958 (RUN_TEST_ffI_f1): Likewise.
42959 (RUN_TEST_c_c): Likewise.
42960 (RUN_TEST_cc_c): Likewise.
42961 (RUN_TEST_f_i): Likewise.
42962 (RUN_TEST_f_i_tg): Likewise.
42963 (RUN_TEST_ff_i_tg): Likewise.
42964 (RUN_TEST_f_b): Likewise.
42965 (RUN_TEST_f_b_tg): Likewise.
42966 (RUN_TEST_f_l): Likewise.
42967 (RUN_TEST_f_L): Likewise.
42968 (RUN_TEST_sincos): Likewise.
42969 * math/gen-libm-test.pl (new_test): Take new argument to indicate
42970 whether to show exceptions. Do not include ");\n" in return
42971 value.
42972 (special_functions): Output call to RUN_TEST_sincos instead of
42973 check_float calls. Update calls to new_test.
42974 (parse_args): Output call to single RUN_TEST_* macro instead of
42975 check_* calls and other assignments. Update calls to new_test.
42976
42977 [BZ #2546]
42978 [BZ #2560]
42979 [BZ #5159]
42980 [BZ #15426]
42981 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
42982 input to result for tgamma overflow.
42983 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
42984 (gamma_coeff): New variable.
42985 (NCOEFF): New macro.
42986 (gamma_positive): New function.
42987 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
42988 underflow here. Use gamma_positive instead of exp (lgamma) for
42989 other arguments.
42990 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
42991 (gamma_coeff): New variable.
42992 (NCOEFF): New macro.
42993 (gammaf_positive): New function.
42994 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
42995 underflow here. Use gamma_positive instead of exp (lgamma) for
42996 other arguments.
42997 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
42998 (gamma_coeff): New variable.
42999 (NCOEFF): New macro.
43000 (gammal_positive): New function.
43001 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
43002 underflow here. Use gamma_positive instead of exp (lgamma) for
43003 other arguments.
43004 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
43005 (gamma_coeff): New variable.
43006 (NCOEFF): New macro.
43007 (gammal_positive): New function.
43008 (__ieee754_gammal_r): Handle positive infinity, overflow and
43009 underflow here. Handle NaN the same as positive infinity. Remove
43010 check x < 0xffffffff for negative integers. Use gamma_positive
43011 instead of exp (lgamma) for other arguments.
43012 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
43013 (gamma_coeff): New variable.
43014 (NCOEFF): New macro.
43015 (gammal_positive): New function.
43016 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
43017 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
43018 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
43019 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
43020 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
43021 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
43022 * sysdeps/generic/math_private.h (__gamma_productf): New
43023 prototype.
43024 (__gamma_product): Likewise.
43025 (__gamma_productl): Likewise.
43026 * math/Makefile (libm-calls): Add gamma_product.
43027 * math/libm-test.inc (tgamma_test): Add more tests.
43028 * sysdeps/i386/fpu/libm-test-ulps: Update.
43029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43030
43031 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
43032
43033 * benchtests/bench-skeleton.c (main): Preheat CPU.
43034
43035 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
43036
43037 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
43038
43039 2013-05-07 Roland McGrath <roland@hack.frob.com>
43040
43041 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
43042 and _dl_skip_args_internal.
43043
43044 2013-05-07 Carlos O'Donell <carlos@redhat.com>
43045
43046 * manual/message.texi (Message Translation): Talk about users.
43047 Message to key mapping impacts design.
43048
43049 2013-05-06 Roland McGrath <roland@hack.frob.com>
43050
43051 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
43052
43053 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
43054
43055 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
43056 * sysdeps/wordsize-64/glob64.c: ... here.
43057
43058 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
43059 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
43060 New macros.
43061
43062 * debug/getlogin_r_chk.c: Moved to ...
43063 * login/getlogin_r_chk.c: ... here.
43064 * debug/Makefile (routines): Move getlogin_r_chk to ...
43065 * login/Makefile (routines): ... here.
43066 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
43067 * login/Versions (libc: GLIBC_2.4): ... here.
43068
43069 * io/poll.c (__poll): Renamed from poll.
43070 Add libc_hidden_def.
43071 (poll): Define as weak alias.
43072
43073 * debug/ptsname_r_chk.c: Moved to ...
43074 * login/ptsname_r_chk.c: ... here.
43075 * debug/Makefile (routines): Move ptsname_r_chk to ...
43076 * login/Makefile (routines): ... here.
43077 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
43078 * login/Versions (libc: GLIBC_2.4): ... here.
43079
43080 * posix/getlogin.c: Moved to ...
43081 * login/getlogin.c: ... here.
43082 * posix/getlogin_r.c: Moved to ...
43083 * login/getlogin_r.c: ... here.
43084 * posix/getlogin_r.c: Moved to ...
43085 * login/getlogin_r.c: ... here.
43086 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
43087 * login/Makefile (routines): ... here.
43088 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
43089 * login/Versions (libc: GLIBC_2.0): ... here.
43090
43091 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
43092 (setrlimit): Define as weak alias.
43093
43094 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
43095 Call __ names for open, ftruncate, and close.
43096 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
43097 (truncate): Define as weak alias.
43098
43099 2013-05-06 Joseph Myers <joseph@codesourcery.com>
43100
43101 * math/gen-libm-test.pl (parse_args): Initialize x before each
43102 test of frexp, modf and remquo.
43103
43104 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
43105 test signgam value.
43106
43107 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43108
43109 [BZ #15418]
43110 [BZ #15419]
43111 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
43112 internal tests.
43113 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43114
43115 2013-05-06 Roland McGrath <roland@hack.frob.com>
43116
43117 * elf/dl-writev.h: New file.
43118 * elf/dl-misc.c: Include it.
43119 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
43120 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
43121
43122 2013-05-04 Joseph Myers <joseph@codesourcery.com>
43123
43124 * math/libm-test.inc (noXFails): Remove variable.
43125 (noXPasses): Likewise.
43126 (BUILD_COMPLEX_INT): Remove macro.
43127 (print_screen): Remove xfail argument.
43128 (print_screen_max_error): Likewise.
43129 (update_stats): Likewise.
43130 (print_max_error): Likewise. Update calls to other affected
43131 functions.
43132 (print_complex_max_error): Likewise.
43133 (test_single_exception): Update calls to print_screen.
43134 (test_single_errno): Likewise.
43135 (check_float_internal): Remove xfail argument. Update calls to
43136 other affected functions.
43137 (check_float): Likewise.
43138 (check_complex): Likewise.
43139 (check_int): Likewise.
43140 (check_long): Likewise.
43141 (check_bool): Likewise.
43142 (check_longlong): Likewise.
43143 (main): Don't print noXFails and noXPasses.
43144 * math/gen-libm-test.pl (top level): Don't mention expected
43145 failure handling in comment.
43146 (new_test): Don't handle expected failures.
43147 (parse_args): Don't mention expected failure handling in comment.
43148 (generate_testfile): Don't handle expected failures.
43149 (parse_ulps): Likewise.
43150 (print_ulps_file): Likewise.
43151 (get_failure): Remove function.
43152 (output_test): Don't handle expected failures.
43153 * make/README.libm-test: Don't mention expected failure handling.
43154
43155 * math/libm-test.inc (plus_zero): Make const. Add initializer.
43156 (minus_zero): Likewise.
43157 (plus_infty): Likewise.
43158 (minus_infty): Likewise.
43159 (qnan_value): Likewise.
43160 (max_value): Likewise.
43161 (min_value): Likewise.
43162 (min_subnorm_value): Likewise.
43163 (initialize): Do not initialize those variables dynamically.
43164
43165 2013-05-03 Roland McGrath <roland@hack.frob.com>
43166
43167 * io/open.c (__open_2): Moved to ...
43168 * io/open_2.c: ... this new file.
43169 * io/open64.c (__open64_2): Moved to ...
43170 * io/open64_2.c: ... this new file.
43171 * io/openat.c (__openat_2): Moved to ...
43172 * io/openat_2.c: ... this new file.
43173 * io/openat64.c (__openat64_2): Moved to ...
43174 * io/openat64_2.c: ... this new file.
43175 * io/Makefile (routines): Add them.
43176 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
43177 * sysdeps/unix/sysv/linux/open_2.c: File removed.
43178 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
43179 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
43180 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
43181 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
43182 (__openat64): Add hidden_ver.
43183 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
43184 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
43185
43186 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
43187 Separately conditionalize setting of GLRO(dl_sysinfo) so
43188 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
43189 as well, but the actual setting is only under [NEED_DL_SYSINFO].
43190
43191 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43192
43193 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
43194 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
43195 definition.
43196 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
43197 * sysdeps/unix/sysv/linux/powerpc/init-first.c
43198 (_libc_vdso_platform_setup): Add __vdso_time initialization.
43199 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
43200 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
43201
43202 2013-05-03 Joseph Myers <joseph@codesourcery.com>
43203
43204 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
43205 test signgam value.
43206
43207 * math/libm-test.inc (hypot_test): Do not use
43208 IGNORE_ZERO_INF_SIGN.
43209
43210 2013-05-03 Andreas Jaeger <aj@suse.de>
43211
43212 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
43213 Linux 3.9.
43214 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
43215 (PF_MAX): Adjust for VSOCK change.
43216
43217 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43218
43219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43220
43221 2013-05-02 Carlos O'Donell <carlos@redhat.com>
43222
43223 [BZ #15264]
43224 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
43225 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
43226 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
43227
43228 2013-05-02 David S. Miller <davem@davemloft.net>
43229
43230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43231
43232 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
43233
43234 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
43235
43236 2013-05-01 Roland McGrath <roland@hack.frob.com>
43237
43238 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
43239
43240 2013-05-01 Richard Smith <richard@metafoo.co.uk>
43241
43242 [BZ #14952]
43243 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
43244 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43245 Use __attribute__ ((__gnu_inline__)).
43246 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43247 Don't use __attribute__ ((__gnu_inline__)).
43248
43249 2013-05-01 Joseph Myers <joseph@codesourcery.com>
43250
43251 [BZ #15423]
43252 * math/s_catan.c (__catan): Handle small real or imaginary part of
43253 input specially to avoid spurious underflow.
43254 * math/s_catanf.c (__catanf): Likewise.
43255 * math/s_catanh.c (__catanh): Likewise.
43256 * math/s_catanhf.c (__catanhf): Likewise.
43257 * math/s_catanhl.c (__catanhl): Likewise.
43258 * math/s_catanl.c (__catanl): Likewise.
43259 * math/libm-test.inc (catan_test): Add more tests.
43260 (catanh_test): Likewise.
43261 * sysdeps/i386/fpu/libm-test-ulps: Update.
43262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43263
43264 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43265
43266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43267
43268 2013-04-30 Joseph Myers <joseph@codesourcery.com>
43269
43270 [BZ #15416]
43271 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
43272 accurately for denominator in atan2.
43273 * math/s_catanf.c (__catanf): Likewise.
43274 * math/s_catanh.c (__catanh): Likewise.
43275 * math/s_catanhf.c (__catanhf): Likewise.
43276 * math/s_catanhl.c (__catanhl): Likewise.
43277 * math/s_catanl.c (__catanl): Likewise.
43278 * math/libm-test.inc (catan_test): Add more tests.
43279 (catanh_test): Likewise.
43280 * sysdeps/i386/fpu/libm-test-ulps: Update.
43281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43282
43283 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43284
43285 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
43286
43287 * benchtests/Makefile (bench): Remove slow benchmarks.
43288 * benchtests/atan-inputs: Add slow benchmark inputs.
43289 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
43290 (BENCH_FUNC): Accept variant offset.
43291 (VARIANT): Define.
43292 * benchtests/bench-skeleton.c (main): Run benchmark for each
43293 variant.
43294 * benchtests/cos-inputs: Add slow benchmark inputs.
43295 * benchtests/exp-inputs: Likewise.
43296 * benchtests/pow-inputs: Likewise.
43297 * benchtests/sin-inputs: Likewise.
43298 * benchtests/slowatan-inputs: Remove.
43299 * benchtests/slowatan.c: Remove.
43300 * benchtests/slowcos-inputs: Remove.
43301 * benchtests/slowcos.c: Remove.
43302 * benchtests/slowexp-inputs: Remove.
43303 * benchtests/slowexp.c: Remove.
43304 * benchtests/slowpow-inputs: Remove.
43305 * benchtests/slowpow.c: Remove.
43306 * benchtests/slowsin-inputs: Remove.
43307 * benchtests/slowsin.c: Remove.
43308 * benchtests/slowtan-inputs: Remove.
43309 * benchtests/slowtan.c: Remove.
43310 * benchtests/tan-inputs: Add slow benchmark inputs.
43311 * scripts/bench.pl: Parse comments and directives.
43312
43313 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
43314 in CPPFLAGS.
43315 ($(objpfx)bench-%.c): Remove *-ITER.
43316 * benchtests/bench-modf.c: Remove definition of ITER.
43317 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
43318 (main): Loop for DURATION seconds instead of fixed number of
43319 iterations.
43320 * scripts/bench.pl: Don't expect iterations in parameters.
43321
43322 2013-04-29 Roland McGrath <roland@hack.frob.com>
43323
43324 * io/fchdir.c (__fchdir): Renamed from fchdir.
43325 (fchdir): Define as weak alias.
43326
43327 2013-04-29 Joseph Myers <joseph@codesourcery.com>
43328
43329 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
43330 (ERRNO_EDOM): Likewise.
43331 (ERRNO_ERANGE): Likewise.
43332 (noErrnoTests): New variable.
43333 (init_max_error): Set errno to 0.
43334 (test_single_errno): New function.
43335 (test_errno): Likewise.
43336 (check_float_internal): Call test_errno. Set errno to 0.
43337 (check_complex): Refer to errno tests in comment.
43338 (check_int): Call test_errno. Set errno to 0.
43339 (check_long): Likewise.
43340 (check_bool): Likewise.
43341 (check_longlong): Likewise.
43342 (cos_test): Use ERRNO_* flags for errno tests instead of
43343 check_int.
43344 (expm1_test): Likewise.
43345 (fmod_test): Likewise.
43346 (ilogb_test): Likewise.
43347 (lgamma_test): Likewise.
43348 (pow_test): Likewise.
43349 (remainder_test): Likewise.
43350 (sin_test): Likewise.
43351 (tan_test): Likewise.
43352 (yn_test): Likewise.
43353 (initialize): Set errno to 0.
43354 (main): Print number of errno tests.
43355 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
43356
43357 2013-04-29 Andreas Jaeger <aj@suse.de>
43358
43359 [BZ #15084]
43360 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
43361 and RES_USEVC.
43362
43363 [BZ #15085]
43364 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
43365 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
43366 unimplemented.
43367
43368 [BZ #15380]
43369 * stdlib/random.c (__initstate): Return NULL if
43370 __initstate fails.
43371
43372 [BZ #15086]
43373 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
43374 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
43375 RES_SNGLKUPREOP.
43376
43377 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43378
43379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43380
43381 2013-04-29 Joseph Myers <joseph@codesourcery.com>
43382
43383 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
43384 of individual tests.
43385 (casin_test): Likewise.
43386 (casinh_test): Likewise.
43387
43388 2013-04-27 Joseph Myers <joseph@codesourcery.com>
43389
43390 [BZ #15409]
43391 * math/s_catan.c (__catan): Handle arguments with large real or
43392 imaginary part separately without squaring.
43393 * math/s_catanf.c (__catanf): Likewise.
43394 * math/s_catanh.c (__catanh): Likewise.
43395 * math/s_catanhf.c (__catanhf): Likewise.
43396 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43397 and redefine.
43398 (__catanhl): Handle arguments with large real or imaginary part
43399 separately without squaring.
43400 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43401 and redefine.
43402 (__catanl): Handle arguments with large real or imaginary part
43403 separately without squaring.
43404 * math/libm-test.inc (catan_test): Add more tests.
43405 (catanh_test): Likewise.
43406 * sysdeps/i386/fpu/libm-test-ulps: Update.
43407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43408
43409 2013-04-27 Andreas Jaeger <aj@suse.de>
43410
43411 [BZ #15007]
43412 * stdlib/stdlib.h: Update guards for qecvt.
43413 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
43414 <stdlib.h>.
43415
43416 2013-04-27 Allan McRae <allan@archlinux.org>
43417
43418 * sysdeps/i386/fpu/libm-test-ulps: Update.
43419
43420 2013-04-26 Joseph Myers <joseph@codesourcery.com>
43421
43422 [BZ #15406]
43423 * math/s_catan.c: Include <float.h>.
43424 (__catan): Ensure underflow exception occurs for underflowed
43425 result.
43426 * math/s_catanf.c: Include <float.h>.
43427 (__catanf): Ensure underflow exception occurs for underflowed
43428 result.
43429 * math/s_catanh.c: Include <float.h>.
43430 (__catanh): Ensure underflow exception occurs for underflowed
43431 result.
43432 * math/s_catanhf.c: Include <float.h>.
43433 (__catanhf): Ensure underflow exception occurs for underflowed
43434 result.
43435 * math/s_catanhl.c: Include <float.h>.
43436 (__catanhl): Ensure underflow exception occurs for underflowed
43437 result.
43438 * math/s_catanl.c: Include <float.h>.
43439 (__catanl): Ensure underflow exception occurs for underflowed
43440 result.
43441 * math/libm-test.inc (catan_test): Add more tests.
43442 (catanh_test): Likewise.
43443
43444 [BZ #15405]
43445 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
43446 underflowed result.
43447 * math/s_ccoshf.c (__ccoshf): Likewise.
43448 * math/s_ccoshl.c (__ccoshl): Likewise.
43449 * math/s_csin.c (__csin): Likewise.
43450 * math/s_csinf.c (__csinf): Likewise.
43451 * math/s_csinh.c (__csinh): Likewise.
43452 * math/s_csinhf.c (__csinhf): Likewise.
43453 * math/s_csinhl.c (__csinhl): Likewise.
43454 * math/s_csinl.c (__csinl): Likewise.
43455 * math/libm-test.inc (ccos_test): Add more tests.
43456 (ccosh_test): Likewise.
43457 (csin_test): Likewise.
43458 (csinh_test): Likewise.
43459
43460 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43461
43462 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
43463 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
43464 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
43465 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
43466 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
43467 powerpc/power5+/fpu folders.
43468 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
43469
43470
43471 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
43472
43473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43474
43475 2013-04-25 Joseph Myers <joseph@codesourcery.com>
43476
43477 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
43478 additions to variable.
43479 [$(config-machine) = x86_64] (modules-names): Likewise.
43480 ($(objpfx)tst-audit3): Remove dependency.
43481 ($(objpfx)tst-audit3.out): Likewise.
43482 ($(objpfx)tst-audit4): Likewise.
43483 ($(objpfx)tst-audit4.out): Likewise.
43484 ($(objpfx)tst-audit5): Likewise.
43485 ($(objpfx)tst-audit5.out): Likewise.
43486 ($(objpfx)tst-audit6): Likewise.
43487 ($(objpfx)tst-audit6.out): Likewise.
43488 ($(objpfx)tst-audit7): Likewise.
43489 ($(objpfx)tst-audit7.out): Likewise.
43490 (tst-audit3-ENV): Remove variable.
43491 (tst-audit4-ENV): Likewise.
43492 (tst-audit5-ENV): Likewise.
43493 (tst-audit6-ENV): Likewise.
43494 (tst-audit7-ENV): Likewise.
43495 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
43496 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
43497 addition to variable.
43498 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
43499 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
43500 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
43501 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
43502 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
43503 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
43504 tst-audit3, tst-audit4 and tst-audit5.
43505 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
43506 tst-audit6 and tst-audit7.
43507 [$(subdir) = elf] (modules-names): Add audit modules for those
43508 tests.
43509 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
43510 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
43511 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
43512 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
43513 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
43514 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
43515 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
43516 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
43517 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
43518 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
43519 [$(subdir) = elf] (tst-audit3-ENV): New variable.
43520 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
43521 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
43522 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
43523 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
43524 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
43525 Likewise.
43526 [$(subdir) = elf && $(config-cflags-avx) = yes]
43527 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
43528 [$(subdir) = elf && $(config-cflags-avx) = yes]
43529 (CFLAGS-tst-auditmod4a.c): Likewise.
43530 [$(subdir) = elf && $(config-cflags-avx) = yes]
43531 (CFLAGS-tst-auditmod4b.c): Likewise.
43532 [$(subdir) = elf && $(config-cflags-avx) = yes]
43533 (CFLAGS-tst-auditmod6b.c): Likewise.
43534 [$(subdir) = elf && $(config-cflags-avx) = yes]
43535 (CFLAGS-tst-auditmod6c.c): Likewise.
43536 [$(subdir) = elf && $(config-cflags-avx) = yes]
43537 (CFLAGS-tst-auditmod7b.c): Likewise.
43538 * elf/tst-audit3.c: Move to ...
43539 * sysdeps/x86_64/tst-audit3.c: ... here.
43540 * elf/tst-audit4.c: Move to ...
43541 * sysdeps/x86_64/tst-audit4.c: ... here.
43542 * elf/tst-audit5.c: Move to ...
43543 * sysdeps/x86_64/tst-audit5.c: ... here.
43544 * elf/tst-audit6.c: Move to ...
43545 * sysdeps/x86_64/tst-audit6.c: ... here.
43546 * elf/tst-audit7.c: Move to ...
43547 * sysdeps/x86_64/tst-audit7.c: ... here.
43548 * elf/tst-auditmod3a.c: Move to ...
43549 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
43550 * elf/tst-auditmod3b.c: Move to ...
43551 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
43552 * elf/tst-auditmod4a.c: Move to ...
43553 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
43554 * elf/tst-auditmod4b.c: Move to ...
43555 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
43556 * elf/tst-auditmod5a.c: Move to ...
43557 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
43558 * elf/tst-auditmod5b.c: Move to ...
43559 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
43560 * elf/tst-auditmod6a.c: Move to ...
43561 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
43562 * elf/tst-auditmod6b.c: Move to ...
43563 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
43564 * elf/tst-auditmod6c.c: Move to ...
43565 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
43566 * elf/tst-auditmod7a.c: Move to ...
43567 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
43568 * elf/tst-auditmod7b.c: Move to ...
43569 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
43570
43571 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
43572
43573 [BZ #15366]
43574 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
43575 define unconditionally.
43576 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
43577 define unconditionally.
43578 (INT8_C, INT16_C, etc.): Likewise.
43579
43580 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
43581
43582 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
43583 __ehdr_start with hidden visibility.
43584
43585 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
43586
43587 2013-04-24 Carlos O'Donell <carlos@redhat.com>
43588
43589 * math/libm-test.inc (cos_test): Use accurate hex constants.
43590 (sincost_test): Likewise.
43591
43592 2013-04-24 Joseph Myers <joseph@codesourcery.com>
43593
43594 * math/libm-test.inc (catan_test): Add more tests.
43595 (catanh_test): Likewise.
43596
43597 * math/s_catanf.c (__catanf): Use suffixed floating-point
43598 constants.
43599 * math/s_catanhf.c (__catanhf): Likewise.
43600 * math/s_catanhl.c (__catanhl): Likewise.
43601 * math/s_catanl.c (__catanl): Likewise.
43602
43603 [BZ #15394]
43604 * math/s_catan.c (__catan): Calculate imaginary part of result
43605 with log1p not log unless computing log of number close to 0.
43606 * math/s_catanf.c (__catanf): Likewise.
43607 * math/s_catanl.c (__catanl): Likewise.
43608 * math/s_catanh.c (__catanh): Calculate real part of result with
43609 log1p not log unless computing log of number close to 0.
43610 * math/s_catanhf.c (__catanhf): Likewise.
43611 * math/s_catanhl.c (__catanhl): Likewise.
43612 * math/libm-test.inc (catan_test): Add more tests.
43613 (catanh_test): Likewise.
43614 * sysdeps/i386/fpu/libm-test-ulps: Update.
43615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43616
43617 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
43618
43619 * benchtests/Makefile: Mention files in which fast and slow
43620 paths of math functions are implemented.
43621
43622 2013-04-23 Roland McGrath <roland@hack.frob.com>
43623
43624 * sysdeps/posix/timespec_get.c: New file.
43625
43626 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43627
43628 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
43629 POWER.
43630 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
43631 for POWER.
43632 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
43633 powerpc/power5/fpu folders.
43634 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
43635 * benchtests/Makefile: Add modf testcase.
43636 * benchtests/bench-modf.c: New file: Benchmark test for mo
43637
43638 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
43639
43640 [BZ #14888]
43641 * time/Makefile (tests): Add tst-strptime-whitespace.
43642 * time/strptime_l.c (get_number): Use ISSPACE.
43643 (__strptime_internal): Likewise.
43644 * time/tst-strptime-whitespace.c: New test case.
43645
43646 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
43647
43648 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
43649 member.
43650 (_nss_files_init): Set it here.
43651
43652 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
43653
43654 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
43655 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
43656 unsigned.
43657
43658 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
43659
43660 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
43661
43662 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
43663
43664 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
43665 size just once.
43666
43667 2013-04-21 David S. Miller <davem@davemloft.net>
43668
43669 * po/ru.po: Update Russion translation from translation project.
43670
43671 2013-04-17 Adam Conrad <adconrad@0c3.net>
43672
43673 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
43674 and setfsgid.
43675
43676 2013-04-17 Carlos O'Donell <carlos@redhat.com>
43677
43678 * configure.in: Remove i386 configure warning. Remove i386 case.
43679 * configure: Regenerate.
43680 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
43681 Add example to error message.
43682 * sysdeps/i386/configure: Regenerate.
43683
43684 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
43685
43686 * benchtests/Makefile (bench): Add cos, tan, slowcos and
43687 slowtan.
43688 * benchtests/cos-inputs: New file.
43689 * benchtests/slowcos-inputs: New file.
43690 * benchtests/slowcos.c: New file.
43691 * benchtests/slowtan-inputs: New file.
43692 * benchtests/slowtan.c: New file.
43693 * benchtests/tan-inputs: New file.
43694
43695 2013-04-16 Roland McGrath <roland@hack.frob.com>
43696
43697 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
43698 considered kosher.
43699
43700 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43701
43702 * benchtests/Makefile: Include cppflags-iterator.mk to add
43703 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
43704
43705 * Makefile.in (bench-clean): New target.
43706 * benchtests/Makefile (bench-clean): Likewise.
43707
43708 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
43709
43710 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
43711
43712 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
43713
43714 * stdio-common/tstdiomisc.c: Fix coding-style violation.
43715
43716 2013-04-15 Andreas Schwab <schwab@suse.de>
43717
43718 * nscd/grpcache.c (cache_addgr): Properly check for short write.
43719 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43720 * nscd/pwdcache.c (cache_addpw): Likewise.
43721 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
43722 more than recsize.
43723
43724 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
43725
43726 * benchtests/Makefile (bench): Write all output to
43727 bench-out.tmp together.
43728
43729 2013-04-15 Andreas Schwab <schwab@suse.de>
43730
43731 * nscd/nscd.c (main): Don't fork again after closing files.
43732
43733 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
43734
43735 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
43736
43737 * benchtests/Rules (bench-deps): Collect dependencies into a
43738 single variable. Add Makefile to dependencies.
43739 ($(objpfx)bench-%.c): Depend on bench-deps.
43740
43741 2013-04-12 Roland McGrath <roland@hack.frob.com>
43742 Xavier Roche <roche+kml2@exalead.com>
43743
43744 [BZ #15361]
43745 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
43746 just that it's a file descriptor.
43747 * manual/llio.texi (Synchronizing AIO Operations): Update description
43748 for EBADF error from aio_fsync.
43749
43750 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
43751
43752 * Rules (bench): Move target definition...
43753 * benchtests/Makefile: ... here.
43754
43755 2013-04-11 Carlos O'Donell <carlos@redhat.com>
43756
43757 * math/libm-test.inc (cos_test): Fix PI/2 test.
43758 (sincos_test): Likewise.
43759 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
43760 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
43761
43762 2013-04-11 Andreas Schwab <schwab@suse.de>
43763
43764 [BZ #13988]
43765 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
43766 accept exponent character only when digits were seen.
43767 * stdio-common/Makefile (tests): Add bug26.
43768 * stdio-common/bug26.c: New file.
43769
43770 [BZ #14293]
43771 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
43772 non-freeable.
43773
43774 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
43775
43776 * Makeconfig (rtld-prefix): Define built linker prefix.
43777 * Rules (run-bench): Use it.
43778 * math/Makefile (run-regen-ulps): Likewise.
43779
43780 * Rules (bench): Remove eval.
43781
43782 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43783 Roland McGrath <roland@hack.frob.com>
43784 Ondrej Bilka <neleai@seznam.cz>
43785
43786 [BZ #15346]
43787 * time/getdate.c: Include ctype.h and alloca.h.
43788 (__getdate_r): Trim leading and trailing spaces of input.
43789 * time/tst-getdate.c (tests): Add tests with leading and
43790 trailing spaces.
43791
43792 2013-04-08 Roland McGrath <roland@hack.frob.com>
43793
43794 [BZ #14280]
43795 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
43796 when computing value.
43797
43798 2013-04-06 Carlos O'Donell <carlos@redhat.com>
43799
43800 * math/README.libm-test (How can I generate "libm-test-ulps"?):
43801 Use testrun.sh to run libm tests.
43802
43803 [BZ #15309]
43804 * elf/dl-open.c (dl_open_worker): memset all of seen array.
43805
43806 2013-04-06 Marko Myllynen <myllynen@redhat.com>
43807
43808 [BZ #15264]
43809 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
43810
43811 2013-04-06 Carlos O'Donell <carlos@redhat.com>
43812
43813 * Makefile.in (regen-ulps): New target.
43814 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
43815 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
43816 [ifneq (no,$(PERL)] (regen-ulps): New target.
43817 [ifeq (no,$(PERL)] (regen-ulps): New target.
43818 * math/libm-test.inc (ulps_file_name): Define.
43819 (output_dir): New variable.
43820 (options): Add "output-dir" option.
43821 (parse_opt): Handle 'o' case.
43822 (main): If output_dir is non-NULL use it as a prefix
43823 otherwise use "".
43824 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
43825
43826 2013-04-06 Carlos O'Donell <carlos@redhat.com>
43827
43828 [BZ #10060, #10062]
43829 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
43830 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
43831 fail configure if __sync_val_compare_and_swap is not inlined.
43832 * sysdeps/i386/configure: Regenerate.
43833 * configure.in: Build for i686 when configured for i386.
43834 * configure: Regenerate.
43835 * README: Remove i386 reference.
43836
43837 2013-04-06 Carlos O'Donell <carlos@redhat.com>
43838
43839 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
43840 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43841
43842 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
43843
43844 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
43845 (lmsnanval): New variables.
43846 (F): Add conversion tests.
43847 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
43848 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
43849
43850 * stdio-common/tstdiomisc.c (F): Properly collect individual
43851 tests' results.
43852
43853 [BZ #14686, #15336]
43854 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
43855 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
43856 Instead, use input NaN values or generate a qNaN by arithmetic
43857 operation. Also fix bugs to comply with the standard.
43858 * math/libm-test.inc (remainder_test): Add more tests.
43859
43860 [BZ #15335, #15342]
43861 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
43862 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
43863 input NaN values or generate a qNaN by arithmetic operation.
43864
43865 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
43866 unreachable code.
43867
43868 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
43869 definitions.
43870
43871 2013-04-03 Joseph Myers <joseph@codesourcery.com>
43872
43873 [BZ #14478]
43874 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
43875 underflowed result.
43876 * math/s_cexpf.c (__cexpf): Likewise.
43877 * math/s_cexpl.c (__cexpl): Likewise.
43878 * math/libm-test.inc (cexp_test): Add more tests.
43879
43880 2013-04-03 Andreas Schwab <schwab@suse.de>
43881
43882 [BZ #15330]
43883 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
43884 order arrays from heap if bigger than alloca cutoff.
43885
43886 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
43887
43888 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
43889 (SNAN_TESTS_double): Refer to GCC PR56831.
43890 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
43891 GCC PR56828.
43892
43893 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
43894
43895 * Rules (bench): Move bench.out after the run is complete.
43896
43897 * Rules (bench): Echo currently running benchmark.
43898
43899 * benchtests/Makefile (bench): Add atan and slowatan.
43900 * benchtests/atan-inputs: New file.
43901 * benchtests/slowatan-inputs: New file.
43902 * benchtests/slowatan.c: New file.
43903
43904 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
43905 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
43906 its value.
43907
43908 [BZ #15305]
43909 * sysdeps/unix/sysv/linux/kernel-features.h
43910 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
43911 __ASSUME_XFS_RESTRICTED_CHOWN.
43912 * sysdeps/unix/sysv/linux/pathconf.c
43913 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
43914 Save and restore errno.
43915
43916 2013-04-02 Joseph Myers <joseph@codesourcery.com>
43917
43918 [BZ #15327]
43919 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
43920 arguments using __kernel_casinh.
43921 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
43922 arguments using __kernel_casinhf.
43923 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
43924 arguments using __kernel_casinhl.
43925 * math/libm-test.inc (cacosh_test): Add more tests.
43926 * sysdeps/i386/fpu/libm-test-ulps: Update.
43927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43928
43929 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
43930
43931 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
43932 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
43933
43934 * bench/Makefile (bench): Add sin and slowsin.
43935 * benchtests/sin-inputs: New file.
43936 * benchtests/slowsin-inputs: New file.
43937 * benchtests/slowsin.c: New file.
43938
43939 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
43940 (bench): Add slowexp and slowpow.
43941 (exp-ITER): Increase iterations.
43942 (pow-ITER): Likewise.
43943 * benchtests/exp-inputs: Change input.
43944 * benchtests/pow-inputs: Likewise.
43945 * benchtests/slowexp-inputs: New file.
43946 * benchtests/slowexp.c: New file.
43947 * benchtests/slowpow-inputs: New file.
43948 * benchtests/slowpow.c: New file.
43949
43950 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43951
43952 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
43953 instructions.
43954 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43955 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
43956 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43957 * benchtests/Makefile: Add rint benchtest.
43958 * benchtests/rint-inputs: Input for rint benchtest.
43959
43960 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
43961
43962 * Versions.def (libm): Add GLIBC_2.18.
43963 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
43964 hidden libm prototypes.
43965 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
43966 * math/Makefile (libm-calls): Add s_issignaling.
43967 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
43968 __issignalingf, __issignalingl. Adjust all libm.abilist files.
43969 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
43970 declaration.
43971 * math/math.h [__USE_GNU] (issignaling): New macro.
43972 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
43973 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
43974 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
43975 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
43976 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
43977 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
43978 * manual/arith.texi (issignaling): New section.
43979 * manual/libm-err-tab.pl (@all_functions): Update comment.
43980 * math/gen-libm-test.pl (parse_args): Apply special handling for
43981 issignaling.
43982 * math/libm-test.inc (print_float, issignaling_test): New
43983 functions.
43984 (check_float_internal): Add issignaling checks.
43985 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
43986 default definition.
43987 * sysdeps/powerpc/math-tests.h: New file.
43988 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
43989 tests.
43990 * math/test-snan.c (TEST_FUNC): Likewise.
43991
43992 2013-03-30 David S. Miller <davem@davemloft.net>
43993
43994 * po/de.po: Update from translation team.
43995
43996 2013-03-30 Joseph Myers <joseph@codesourcery.com>
43997
43998 [BZ #10357]
43999 * math/k_casinh.c (__kernel_casinh): Handle arguments with
44000 imaginary part less than 1.0 and real part less than 0.5
44001 specially.
44002 * math/k_casinhf.c (__kernel_casinhf): Likewise.
44003 * math/k_casinhl.c (__kernel_casinhl): Likewise.
44004 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
44005 (cacos_test): Add more tests.
44006 (casin_test): Likewise.
44007 (casinh_test): Likewise.
44008 * sysdeps/i386/fpu/libm-test-ulps: Update.
44009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44010
44011 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
44012
44013 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
44014 ONE with its value.
44015
44016 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
44017 (__pow_mp): Replace ONE and MONE with their values.
44018 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44019 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
44020 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44021 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
44022 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44023 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44024
44025 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
44026
44027 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
44028 (__pow_mp): Replace ZERO and MZERO with their values.
44029 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44030 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44031 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44032 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44033 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44034 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
44035 (__sqr): Likewise.
44036
44037 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
44038
44039 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
44040
44041 2013-03-28 Roland McGrath <roland@hack.frob.com>
44042
44043 * include/stdlib.h [!SHARED] (__call_tls_dtors):
44044 Declare with __attribute__ ((weak)).
44045 * stdlib/exit.c (__libc_atexit) [!SHARED]:
44046 Call __call_tls_dtors only if it's not NULL.
44047
44048 2013-03-28 Roland McGrath <roland@hack.frob.com>
44049
44050 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
44051 didn't do it already, then set _dl_phdr and _dl_phnum based on the
44052 magic __ehdr_start linker symbol if it's defined.
44053 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
44054 them up here if it was already done.
44055
44056 * elf/dl-support.c (_dl_phdr): Make pointer to const.
44057 (_dl_aux_init): Use const in cast when setting it.
44058 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
44059 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
44060 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
44061
44062 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
44063 Declare them here.
44064 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
44065 * csu/libc-tls.c: Nor here.
44066 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
44067
44068 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
44069 (__libc_message): Never call vsyslog.
44070
44071 2013-03-28 Alan Modra <amodra@gmail.com>
44072
44073 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
44074 Define as empty.
44075 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
44076 Likewise.
44077
44078 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44079
44080 [BZ #15214]
44081 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
44082 underflow.
44083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44084
44085 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44086
44087 [BZ #15304]
44088 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44089 Don't add gid passed as argument.
44090
44091 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
44092
44093 2013-03-27 Joseph Myers <joseph@codesourcery.com>
44094
44095 [BZ #15307]
44096 * math/k_casinh.c (__kernel_casinh): Handle arguments with
44097 imaginary part between 1.0 and 1.5 and real part less than 0.5
44098 specially.
44099 * math/k_casinhf.c (__kernel_casinhf): Likewise.
44100 * math/k_casinhl.c (__kernel_casinhl): Likewise.
44101 * math/libm-test.inc (cacos_test): Add more tests.
44102 (casin_test): Likewise.
44103 (casinh_test): Likewise.
44104 * sysdeps/i386/fpu/libm-test-ulps: Update.
44105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44106
44107 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44108
44109 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
44110 constants.
44111 (norm): Likewise.
44112 (denorm): Likewise.
44113 (__dbl_mp): Likewise.
44114 (add_magnitudes): Likewise.
44115 (sub_magnitudes): Likewise.
44116 (__add): Likewise.
44117 (__sub): Likewise.
44118 (__mul): Likewise.
44119 (__sqr): Likewise.
44120 (__inv): Likewise.
44121 (__dvd): Likewise.
44122
44123 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
44124 commented code.
44125 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
44126 (__dubcos): Likewise.
44127 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
44128 (__ieee754_acos): Likewise.
44129 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44130 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
44131 (__exp1): Likewise.
44132 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44133 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44134 (log1): Likewise.
44135 (my_log2): Likewise.
44136 (checkint): Likewise.
44137 * sysdeps/ieee754/dbl-64/e_remainder.c
44138 (__ieee754_remainder): Likewise.
44139 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44140 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
44141 (bsloww): Likewise.
44142 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44143
44144 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44145 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
44146 MANTISSA_STORE_T to store computations on mantissa. Use
44147 macros for rounding and division.
44148 (denorm): Likewise.
44149 (__dbl_mp): Likewise.
44150 (add_magnitudes): Likewise.
44151 (sub_magnitudes): Likewise.
44152 (__mul): Likewise.
44153 (__sqr): Likewise.
44154 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
44155 powers of two in terms of TWOPOW macro.
44156 (mp_no): Make type of mantissa as MANTISSA_T.
44157 [!RADIXI]: Define RADIXI.
44158 [!TWO52]: Define TWO52.
44159 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
44160
44161 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44162
44163 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
44164 llroundl symbol when building for PPC32.
44165
44166 2013-03-24 Mark H Weaver <mhw@netris.org>
44167
44168 * manual/arith.texi (Normalization Functions): Fix prototypes for
44169 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
44170
44171 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44172
44173 [BZ #13889]
44174 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
44175 high value to check if expl overflow.
44176 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
44177 to check for underflow and overflow.
44178 * math/libm-test.inc: Add exp test.
44179
44180 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
44181
44182 [BZ #11120]
44183 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
44184 with NOT_IN_libc.
44185
44186 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44187
44188 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
44189 symbol.
44190
44191 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
44192
44193 * math/gen-libm-test.pl (parse_args, special_functions): Properly
44194 wrap blocks consisting of several statements.
44195
44196 * sysdeps/generic/math-tests.h: New file.
44197 * sysdeps/i386/fpu/math-tests.h: Likewise.
44198 * math/test-snan.c: Include it.
44199 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
44200
44201 2013-03-21 Joseph Myers <joseph@codesourcery.com>
44202
44203 [BZ #15285]
44204 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
44205 (__ieee754_j0l): Do not improve calculations using cos of twice
44206 input for inputs above LDBL_MAX / 2.0L.
44207 (__ieee754_y0l): Likewise.
44208 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
44209 (__ieee754_j1l): Do not improve calculations using cos of twice
44210 input for inputs above LDBL_MAX / 2.0L.
44211 (__ieee754_y1l): Likewise.
44212 * math/libm-test.inc (j0_test): Add another test.
44213 (j1_test): Likewise.
44214 (y0_test): Likewise.
44215 (y1_test): Likewise.
44216 * sysdeps/i386/fpu/libm-test-ulps: Update.
44217
44218 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
44219
44220 * Rules ($(objpfx)bench-%.c): Include code from a C source
44221 file.
44222
44223 2013-03-21 Joseph Myers <joseph@codesourcery.com>
44224
44225 [BZ #15287]
44226 * math/k_casinh.c (__kernel_casinh): Handle arguments with
44227 imaginary part 1.0 and real part less than 0.5 specially.
44228 * math/k_casinhf.c (__kernel_casinhf): Likewise.
44229 * math/k_casinhl.c (__kernel_casinhl): Likewise.
44230 * math/libm-test.inc (cacos_test): Add more tests.
44231 (casin_test): Likewise.
44232 (casinh_test): Likewise.
44233 * sysdeps/i386/fpu/libm-test-ulps: Update.
44234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44235
44236 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
44237
44238 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
44239 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
44240
44241 2013-03-20 Joseph Myers <joseph@codesourcery.com>
44242
44243 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
44244 * config.make.in (config-cflags-sse4): Remove variable.
44245 (config-cflags-avx): Likewise.
44246 (config-cflags-sse2avx): Likewise.
44247 (config-cflags-novzeroupper): Likewise.
44248 (config-asflags-i686): Likewise.
44249 (have-mfma4): Likewise.
44250 (have-as-vis3): Likewise.
44251 (MIG): Likewise.
44252 * configure.in (MIG): Do not AC_SUBST.
44253 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
44254 (libc_cv_cc_sse4): Do not AC_SUBST.
44255 (libc_cv_cc_avx): Likewise.
44256 (libc_cv_cc_sse2avx): Likewise.
44257 (libc_cv_cc_novzeroupper): Likewise.
44258 (libc_cv_cc_fma4): Likewise.
44259 (libc_cv_as_i686): Likewise.
44260 (libc_cv_sparc_as_vis3): Likewise.
44261 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
44262 LIBC_CONFIG_VAR.
44263 (config-asflags-i686): Likewise.
44264 (config-cflags-avx): Likewise.
44265 (config-cflags-sse2avx): Likewise.
44266 (have-mfma4): Likewise.
44267 (config-cflags-novzeroupper): Likewise.
44268 * sysdeps/mach/configure.in (MIG): Likewise.
44269 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
44270 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
44271 LIBC_CONFIG_VAR.
44272 (config-cflags-avx): Likewise.
44273 (config-cflags-sse2avx): Likewise.
44274 (have-mfma4): Likewise.
44275 (config-cflags-novzeroupper): Likewise.
44276 * configure: Regenerated.
44277 * sysdeps/i386/configure: Likewise.
44278 * sysdeps/mach/configure: Likewise.
44279 * sysdeps/sparc/configure: Likewise.
44280 * sysdeps/x86_64/configure: Likewise.
44281
44282 2013-03-20 Roland McGrath <roland@hack.frob.com>
44283
44284 [BZ #14812]
44285 * locale/programs/localedef.c (options): Put N_ translation marker
44286 on argument names, not just descriptions.
44287
44288 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44289
44290 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
44291
44292 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
44293
44294 [BZ #14176]
44295 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
44296
44297 2013-03-19 Roland McGrath <roland@hack.frob.com>
44298
44299 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
44300 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
44301 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
44302 [!BEFORE_ABORT] (before_abort): New function.
44303 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
44304 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
44305 (writev_for_fatal): New function.
44306 (WRITEV_FOR_FATAL): New macro; call that.
44307 (backtrace_and_maps): New function.
44308 (BEFORE_ABORT): New macro; call that.
44309 (struct str_list): Type removed.
44310 (__libc_message, __libc_fatal): Functions removed.
44311 Include <sysdeps/posix/libc_fatal.c> instead.
44312
44313 2013-03-19 Joseph Myers <joseph@codesourcery.com>
44314
44315 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
44316 constants.
44317 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
44318 double constants.
44319
44320 2013-03-19 Andreas Schwab <schwab@suse.de>
44321
44322 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
44323 * sysdeps/gnu/configure: Regenerate.
44324
44325 * configure.in: Substitute libc_cv_rtlddir.
44326 * configure: Regenerate.
44327 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
44328 * Makeconfig (rtlddir, inst_rtlddir): New variables.
44329 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
44330 * elf/Makefile (install-others, CFLAGS-interp.c)
44331 (ldso_install, common-ldd-rewrite): Likewise.
44332 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
44333 $(inst_slibdir)/$(rtld-installed-name).
44334 * scripts/rellns-sh: Add -p option.
44335 * Makerules (make-shlib-link): Use rellns-sh to get relative name
44336 for source.
44337
44338 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
44339
44340 * manual/nptl.texi: Renamed to ...
44341 * manual/threads.texi: ... this.
44342 * manual/Makefile (chapters): Update.
44343
44344 2013-03-18 Roland McGrath <roland@hack.frob.com>
44345
44346 [BZ #14812]
44347 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
44348 on argument names, not just descriptions.
44349 * malloc/memusagestat.c (options): Likewise.
44350 * nss/getent.c (options): Likewise.
44351
44352 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
44353
44354 [BZ #14812]
44355 * iconv/iconv_prog.c (options): Put N_ translation marker
44356 on argument names, not just descriptions.
44357 * iconv/iconvconfig.c (options): Likewise.
44358
44359 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
44360
44361 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
44362 implementation which is faster on all x86_64 architectures.
44363 Tested on AMD, Intel Nehalem, SNB, IVB.
44364 * sysdeps/x86_64/strnlen.S: Likewise.
44365
44366 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44367 Remove all multiarch strlen and strnlen versions.
44368 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
44369 Remove strlen and strnlen related parts.
44370
44371 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
44372 Inline strlen part.
44373 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
44374
44375 * sysdeps/x86_64/multiarch/strlen.S: Remove.
44376 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
44377 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
44378 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
44379 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44380 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
44381
44382 2013-03-17 Carlos O'Donell <carlos@redhat.com>
44383
44384 * manual/memory.texi (Malloc Tunable Parameters):
44385 Sort parameters alphabetically. Add comments for missing entries.
44386
44387 2013-03-17 David S. Miller <davem@davemloft.net>
44388
44389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44390
44391 2013-03-16 Joseph Myers <joseph@codesourcery.com>
44392
44393 [BZ #15283]
44394 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
44395 for arguments at most half maximum finite value.
44396 * math/libm-test.inc (j0_test): Add more tests.
44397 (j1_test): Likewise.
44398 (y0_test): Likewise.
44399 (y1_test): Likewise.
44400 * sysdeps/i386/fpu/libm-test-ulps: Update.
44401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44402
44403 [BZ #14155]
44404 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
44405 1 / x and functions P and Q for arguments above 0x1p256L.
44406 (__ieee754_y0l): Likewise.
44407 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
44408 (__ieee754_y1l): Likewise.
44409 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
44410 (j1_test): Likewise.
44411 (y0_test): Likewise.
44412 (y1_test): Likewise.
44413
44414 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
44415
44416 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
44417 variable.
44418
44419 2013-03-15 Roland McGrath <roland@hack.frob.com>
44420
44421 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
44422 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
44423 zero since it's initialized to EXEC_PAGESIZE.
44424
44425 * sysdeps/unix/sysv/linux/ldsodefs.h
44426 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
44427 * sysdeps/generic/ldsodefs.h: ... here.
44428
44429 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
44430
44431 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
44432
44433 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
44434 math/test-snan.c.
44435 * math/test-snan.c: Renamed from
44436 sysdeps/powerpc/fpu/test-powerpc-snan.c.
44437 * math/Makefile (tests): Add test-snan.
44438 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
44439 test-powerpc-snan.
44440
44441 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
44442 SUFFIX. Initialize qNaN_var with __builtin_nan family of
44443 functions.
44444 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
44445 __builtin_nan family of functions.
44446 * math/libm-test.inc (initialize): Initialize qnan_value with
44447 __builtin_nan family of functions.
44448 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
44449 Remove variables.
44450 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
44451 Remove functions.
44452 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
44453 storage class. Initialize qNaN_var and sNaN_var with
44454 __builtin_nan and __builtin_nans families of functions,
44455 respectively.
44456
44457 * math/libm-test.inc (acosh_test): Also test with qNaN input.
44458 (sqrt_test): Remove duplicate test with qNaN input.
44459 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
44460 (round_test, signbit_test, significand_test): Note missing +/-Inf
44461 as well as qNaN tests.
44462
44463 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
44464 qNaN_var. Fix a few strings, too.
44465 * math/libm-test.inc (nan_value): Rename to qnan_value.
44466 * math/gen-libm-test.pl (%beautify): Adjust to that.
44467 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
44468 * math/test-misc.c (main): Likewise.
44469 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
44470 to __qnan_bytes, and __qnan_union, respectively.
44471 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
44472 Likewise.
44473 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
44474 and lqnanval, respectively.
44475 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
44476 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
44477 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
44478 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
44479
44480 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
44481 * math/test-misc.c (main) [__x86_64__]: Enable test for long
44482 doubles.
44483
44484 * math/test-misc.c (main): Fix copy'n'pastos.
44485 * misc/tst-efgcvt.c (special): Likewise.
44486
44487 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
44488 Remove declarations.
44489
44490 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
44491
44492 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
44493 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
44494 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
44495 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
44496
44497 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44498
44499 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
44500 macro to return vdso values correctly in IFUNC implementations.
44501 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
44502 Optimization by using IFUNC.
44503
44504 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
44505 Richard Henderson <rth@redhat.com>
44506 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44507
44508 * Makefile.in (bench): New target.
44509 * NEWS: Mention the benchmark framework.
44510 * Rules (bench): Likewise.
44511 (binaries-bench): Generate binaries for functions to
44512 benchmark.
44513 * benchtests/Makefile: New makefile for benchmark tests.
44514 * benchtests/bench-skeleton.c: New skeleton file for benchmark
44515 programs.
44516 * benchtests/exp-inputs: New input file for EXP function.
44517 * benchtests/pow-inputs: New input file for POW function.
44518 * scripts/bench.pl: New script to generate source files for
44519 benchmark programs.
44520
44521 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
44522
44523 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44524 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
44525 computations on mantissa. Use macros for rounding and
44526 division.
44527 (denorm): Likewise.
44528 (__dbl_mp): Likewise.
44529 (add_magnitudes): Likewise.
44530 (sub_magnitudes): Likewise.
44531 (__mul): Likewise.
44532 (__sqr): Likewise.
44533 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
44534 powers of two in terms of TWOPOW macro.
44535 (mp_no): Make type of mantissa as MANTISSA_T.
44536 [!RADIXI]: Define RADIXI.
44537 [!TWO52]: Define TWO52.
44538 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
44539
44540 * manual/nptl.texi (cindex): Modify threads to pthreads.
44541
44542 2013-03-15 Joseph Myers <joseph@codesourcery.com>
44543
44544 * sysdeps/x86_64/preconfigure: Regenerated.
44545
44546 2013-03-14 Joseph Myers <joseph@codesourcery.com>
44547
44548 [BZ #14155]
44549 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
44550 0x1p28 and above.
44551 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
44552 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
44553 0x1p28 and above.
44554 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
44555 * math/libm-test.inc (j0_test): Do not allow one spurious
44556 underflow exception.
44557 (y1_test): Likewise.
44558
44559 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
44560
44561 * manual/Makefile (chapters): Add nptl.
44562 * manual/debug.texi (Debugging Support): Add link to Threads
44563 chapter.
44564 * manual/nptl.texi: New file.
44565
44566 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
44567
44568 2013-03-14 Petr Baudis <pasky@ucw.cz>
44569
44570 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
44571 for non-NULL pointer before the memory validity test. Pointed
44572 out by Holger Brunck <holger.brunck@keymile.com>.
44573
44574 2013-03-13 Andreas Schwab <schwab@suse.de>
44575
44576 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
44577 instead of .os.
44578
44579 2013-03-13 Joseph Myers <joseph@codesourcery.com>
44580
44581 * timezone/zic.c: Update from tzcode 2013b.
44582
44583 2013-03-12 Carlos O'Donell <carlos@redhat.com>
44584
44585 * manual/install.texi (Configuring and compiling):
44586 Mention i686 and i586.
44587 * INSTALL: Regenerate.
44588
44589 2013-03-12 Roland McGrath <roland@hack.frob.com>
44590
44591 * sysdeps/init_array/elf-init.c: New file.
44592 * csu/elf-init.c
44593 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
44594 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
44595
44596 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
44597 __gmon_start__ as global, but as static with a .preinit_array pointer.
44598 * sysdeps/init_array/gmon-start.c: New file. Use that.
44599 * sysdeps/init_array/crti.S: New file, empty except for comments.
44600 * sysdeps/init_array/crtn.S: Likewise.
44601
44602 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
44603
44604 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
44605 definining bcopy.
44606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44607 Remove Prefer_SSE_for_memop.
44608 * sysdeps/x86_64/multiarch/init-arch.h: Remove
44609 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
44610 HAS_PREFER_SSE_FOR_MEMOP.
44611 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
44612 memset-x86-64.
44613 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44614 Remove bzero, memset ifunc support.
44615 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
44616 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
44617 * sysdeps/x86_64/multiarch/memset.S: Likewise.
44618 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44619
44620 2013-03-11 Andreas Schwab <schwab@suse.de>
44621
44622 [BZ #15234]
44623 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
44624 by SHLIB_COMPAT.
44625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
44626 (GLIBC_2.16): Remove pthread_atfork.
44627
44628 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
44629
44630 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
44631 (ptestcases.h): Likewise.
44632
44633 2013-03-08 Roland McGrath <roland@hack.frob.com>
44634
44635 * Makeconfig ($(common-objpfx)config.status): Depend on
44636 sysdeps/*/preconfigure{,.in} too.
44637
44638 2013-03-08 Joseph Myers <joseph@codesourcery.com>
44639
44640 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
44641 (__free_hook): Use void * instead of __malloc_ptr_t.
44642 (__malloc_hook): Likewise.
44643 (__realloc_hook): Likewise.
44644 (__memalign_hook): Likewise.
44645 (__after_morecore_hook): Likewise.
44646 * malloc/arena.c (save_malloc_hook): Likewise.
44647 (save_free_hook): Likewise.
44648 * malloc/hooks.c (malloc_hook_ini): Likewise.
44649 (realloc_hook_ini): Likewise.
44650 (memalign_hook_ini): Likewise.
44651 * malloc/malloc.c (malloc_hook_ini): Likewise.
44652 (realloc_hook_ini): Likewise.
44653 (memalign_hook_ini): Likewise.
44654 (__free_hook): Likewise.
44655 (__malloc_hook): Likewise.
44656 (__realloc_hook): Likewise.
44657 (__memalign_hook): Likewise.
44658 (__libc_malloc): Likewise.
44659 (__libc_free): Likewise.
44660 (__libc_realloc): Likewise.
44661 (__libc_memalign): Likewise.
44662 (__libc_valloc): Likewise.
44663 (__libc_pvalloc): Likewise.
44664 (__libc_calloc): Likewise.
44665 (__posix_memalign): Likewise.
44666 * malloc/morecore.c (__sbrk): Likewise.
44667 (__default_morecore): Likewise.
44668
44669 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
44670
44671 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
44672 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
44673 __malloc_ptrdiff_t.
44674
44675 * malloc/malloc.h (__malloc_size_t): Remove macro.
44676 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
44677 __malloc_size_t.
44678 (old_memalign_hook): Likewise.
44679 (old_realloc_hook): Likewise.
44680 (struct hdr): Likewise.
44681 (flood): Likewise.
44682 (mallochook): Likewise.
44683 (memalignhook): Likewise.
44684 (reallochook): Likewise.
44685 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
44686 (tr_old_realloc_hook): Likewise.
44687 (tr_old_memalign_hook): Likewise.
44688 (tr_mallochook): Likewise.
44689 (tr_reallochook): Likewise.
44690 (tr_memalignhook): Likewise.
44691
44692 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44693
44694 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
44695 default_ldbl_pack and using as default implementation.
44696 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
44697 implementation.
44698 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
44699 redundant definition.
44700 (ldbl_insert_mantissa): Likewise.
44701 (ldbl_canonicalize): Likewise.
44702 (ldbl_nearbyint): Likewise.
44703 (ldbl_pack): Rename to ldbl_pack_ppc.
44704 (ldbl_unpack): Rename to ldbl_unpack_ppc.
44705 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
44706 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
44707
44708 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
44709
44710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
44711 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
44712 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
44713 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
44714 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
44715 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
44716 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
44717 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
44718
44719 2013-03-07 Andreas Jaeger <aj@suse.de>
44720
44721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44722 bits/mman-linux.h.
44723
44724 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
44725
44726 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
44727 Include mpa.h and declare __MPEXP.
44728 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
44729 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
44730 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
44731 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
44732 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
44733 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
44734 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
44735
44736 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
44737 (__slowpow): Use long double EXPL and LOGL functions to
44738 compute POW.
44739 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
44740 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
44741 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
44742 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
44743 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
44744 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
44745
44746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
44747 intermediate variable to calculate exponent.
44748 (__sqr): Likewise.
44749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
44750 Likewise.
44751 (__sqr): Likewise.
44752
44753 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
44754 [!NO__SQR]: Define __sqr.
44755 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
44756 and NO__SQR. Remove all code except __mul and __sqr. Include
44757 sysdeps/ieee754/dbl-64/mpa.c.
44758 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44759
44760 [BZ #12723]
44761 * posix/Makefile (tests): Add tst-pathconf.
44762 * posix/tst-pathconf.c: New test case.
44763 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
44764 _PC_PIPE_BUF.
44765 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
44766
44767 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
44768
44769 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
44770
44771 2013-03-06 Andreas Jaeger <aj@suse.de>
44772
44773 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
44774 definition via __MAP_ANONYMOUS.
44775
44776 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
44777 it's not part of Linux headers.
44778
44779 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
44780 (MAP_HUGE_MASK): Define.
44781
44782 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44783 Define.
44784 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44785 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44786 Define.
44787 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44788 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44789 Define.
44790 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44791 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
44792 Define.
44793 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44794
44795 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
44796 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
44797 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
44798 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
44799 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
44800 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
44801
44802 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44803 Handle f2fs.
44804
44805 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44806 Handle f2fs and efivarfs.
44807
44808 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
44809 f2fs.
44810
44811 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
44812 (EFIVARFS_MAGIC): Add.
44813 (F2FS_LINK_MAX): Add.
44814
44815 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44816
44817 * stdio-common/vfprintf.c: Replace __builtin_expect with
44818 __glibc_unlikely.
44819
44820 2013-03-06 Joseph Myers <joseph@codesourcery.com>
44821
44822 [BZ #13550]
44823 * sysdeps/generic/bp-sym.h: Remove file.
44824 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
44825 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
44826 <bp-sym.h> and <bp-asm.h>.
44827 (__longjmp): Don't use BP_SYM.
44828 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
44829 and <bp-asm.h>.
44830 (memcpy): Don't use BP_SYM.
44831 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
44832 <bp-sym.h> and <bp-asm.h>.
44833 (memcpy): Don't use BP_SYM.
44834 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
44835 <bp-asm.h>.
44836 (memcpy): Don't use BP_SYM.
44837 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
44838 <bp-asm.h>.
44839 (memset): Don't use BP_SYM.
44840 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44841 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44842 (__bzero): Don't use BP_SYM.
44843 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44844 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44845 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
44846 <bp-sym.h> and <bp-asm.h>.
44847 (memcmp): Don't use BP_SYM. Remove comment about bounded
44848 pointers.
44849 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
44850 <bp-sym.h> and <bp-asm.h>.
44851 (memcpy): Don't use BP_SYM.
44852 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
44853 <bp-sym.h> and <bp-asm.h>.
44854 (memset): Don't use BP_SYM.
44855 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44856 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44857 (__bzero): Don't use BP_SYM.
44858 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44859 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44860 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
44861 <bp-sym.h> and <bp-asm.h>.
44862 (strncmp): Don't use BP_SYM. Remove comment about bounded
44863 pointers.
44864 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
44865 <bp-sym.h> and <bp-asm.h>.
44866 (memcpy): Don't use BP_SYM.
44867 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
44868 <bp-sym.h> and <bp-asm.h>.
44869 (memset): Don't use BP_SYM.
44870 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44871 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44872 (__bzero): Don't use BP_SYM.
44873 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44874 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44875 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
44876 <bp-sym.h> and <bp-asm.h>.
44877 (__memchr): Don't use BP_SYM.
44878 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
44879 <bp-sym.h> and <bp-asm.h>.
44880 (memcmp): Don't use BP_SYM. Remove comment about bounded
44881 pointers.
44882 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
44883 <bp-sym.h> and <bp-asm.h>.
44884 (memcpy): Don't use BP_SYM.
44885 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
44886 <bp-sym.h> and <bp-asm.h>.
44887 (__mempcpy): Don't use BP_SYM.
44888 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
44889 <bp-sym.h> and <bp-asm.h>.
44890 (__memrchr): Don't use BP_SYM.
44891 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
44892 <bp-sym.h> and <bp-asm.h>.
44893 (memset): Don't use BP_SYM.
44894 (__bzero): Likewise.
44895 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
44896 <bp-sym.h> and <bp-asm.h>.
44897 (__rawmemchr): Don't use BP_SYM.
44898 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
44899 <bp-sym.h> and <bp-asm.h>.
44900 (__STRCMP): Don't use BP_SYM.
44901 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
44902 <bp-sym.h> and <bp-asm.h>.
44903 (strchr): Don't use BP_SYM.
44904 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
44905 <bp-sym.h> and <bp-asm.h>.
44906 (__strchrnul): Don't use BP_SYM.
44907 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
44908 <bp-sym.h> and <bp-asm.h>.
44909 (strlen): Don't use BP_SYM.
44910 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
44911 <bp-sym.h> and <bp-asm.h>.
44912 (strncmp): Don't use BP_SYM. Remove comment about bounded
44913 pointers.
44914 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
44915 <bp-sym.h> and <bp-asm.h>.
44916 (__strnlen): Don't use BP_SYM.
44917 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
44918 <bp-sym.h> and <bp-asm.h>.
44919 (__GI__setjmp): Don't use BP_SYM.
44920 (_setjmp): Likewise.
44921 (__sigsetjmp): Likewise.
44922 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
44923 (L(start_addresses)): Don't use BP_SYM.
44924 (_start): Likewise.
44925 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
44926 <bp-asm.h>.
44927 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
44928 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
44929 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44930 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44931 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
44932 <bp-asm.h>.
44933 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
44934 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
44935 about bounded pointers.
44936 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44937 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44938 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
44939 <bp-asm.h>.
44940 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
44941 about bounded pointers. Remove GKM FIXME comments.
44942 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44943 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
44944 <bp-asm.h>.
44945 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
44946 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
44947 Remove GKM FIXME comments.
44948 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44949 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44950 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
44951 <bp-asm.h>.
44952 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
44953 about bounded pointers. Remove GKM FIXME comment.
44954 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
44955 and <bp-asm.h>.
44956 (strncmp): Don't use BP_SYM. Remove comment about bounded
44957 pointers.
44958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
44959 <bp-sym.h> and <bp-asm.h>.
44960 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
44961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
44962 <bp-sym.h> and <bp-asm.h>.
44963 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
44964 comment.
44965
44966 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44967
44968 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
44969 call free(NULL).
44970
44971 2013-03-05 David S. Miller <davem@davemloft.net>
44972
44973 * po/es.po: Update from translation team.
44974
44975 2013-03-05 Andreas Jaeger <aj@suse.de>
44976
44977 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
44978 <bits/mman-linux.h>.
44979 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44980 is fine.
44981 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
44982 <bits/mman-linux.h> to end of file.
44983 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44984 is fine.
44985 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
44986 <bits/mman-linux.h> to end of file.
44987 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44988 is fine.
44989 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
44990 <bits/mman-linux.h> to end of file.
44991
44992 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
44993 (MCL_CURRENT, MCL_FUTURE): Define here.
44994
44995 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44996
44997 [BZ #15232]
44998 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
44999 attribute_hidden.
45000 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45001
45002 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45003
45004 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
45005 fourth parameter needed for rt_sigprocmask syscall.
45006 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
45007 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45008 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
45009 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45010 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45011 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
45012
45013 2013-03-04 Joseph Myers <joseph@codesourcery.com>
45014
45015 [BZ #13550]
45016 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
45017 comment about bounded pointers.
45018 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
45019 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
45020
45021 2013-03-04 Andreas Jaeger <aj@suse.de>
45022
45023 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
45024 common definitions.
45025
45026 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
45027 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
45028 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
45029 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45030 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45031 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45032
45033 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45034
45035 [BZ #15055]
45036 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
45037 __ieee754_sqrl instead of __sqrl.
45038
45039 2013-03-01 Joseph Myers <joseph@codesourcery.com>
45040
45041 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
45042 * sysdeps/powerpc/fpu_control.h: ... here.
45043 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
45044 * sysdeps/powerpc/bits/fenvinline.h: ... here.
45045 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
45046 * sysdeps/powerpc/bits/mathinline.h: ... here.
45047
45048 2013-03-01 Roland McGrath <roland@hack.frob.com>
45049
45050 * elf/dl-hwcaps.c (_dl_important_hwcaps):
45051 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
45052 to just [NEED_DL_SYSINFO_DSO].
45053 * elf/dl-support.c: Likewise.
45054 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
45055 * elf/rtld.c (dl_main): Likewise.
45056 * elf/setup-vdso.h (setup_vdso): Likewise.
45057 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
45058 * sysdeps/unix/sysv/linux/dl-sysdep.c
45059 (_dl_discover_osversion): Likewise.
45060
45061 2013-03-01 Carlos O'Donell <carlos@redhat.com>
45062
45063 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
45064 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45065
45066 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
45067
45068 * NEWS: Mention libm performance improvements and non-x86 PI
45069 futex support.
45070
45071 * csu/libc-start.c (__pthread_initialize_minimal): Change
45072 function arguments.
45073 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45074
45075 2013-02-28 Joseph Myers <joseph@codesourcery.com>
45076
45077 [BZ #13550]
45078 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
45079 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
45080 <bp-sym.h> and <bp-asm.h>.
45081 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45082 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
45083 and <bp-asm.h>.
45084 (memcpy): Don't use BP_SYM.
45085 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
45086 <bp-asm.h>.
45087 (__mpn_add_n): Don't use BP_SYM.
45088 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
45089 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
45090 and <bp-asm.h>.
45091 (__mpn_addmul_1): Don't use BP_SYM.
45092 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45093 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
45094 <bp-sym.h>.
45095 (_setjmp): Don't use BP_SYM.
45096 (__novmx_setjmp): Likewise.
45097 (__GI__setjmp): Likewise.
45098 (__vmx_setjmp): Likewise.
45099 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
45100 <bp-sym.h>.
45101 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
45102 (__bzero): Don't use BP_SYM.
45103 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45104 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45105 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
45106 <bp-sym.h> and <bp-asm.h>.
45107 (memcpy): Don't use BP_SYM.
45108 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
45109 <bp-sym.h> and <bp-asm.h>.
45110 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45111 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
45112 <bp-sym.h> and <bp-asm.h>.
45113 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45114 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
45115 <bp-asm.h>.
45116 (__mpn_lshift): Don't use BP_SYM.
45117 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45118 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
45119 <bp-asm.h>.
45120 (memset): Don't use BP_SYM.
45121 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45122 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45123 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
45124 <bp-asm.h>.
45125 (__mpn_mul_1): Don't use BP_SYM.
45126 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45127 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
45128 <bp-sym.h> and <bp-asm.h>.
45129 (memcmp): Don't use BP_SYM.
45130 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
45131 <bp-sym.h> and <bp-asm.h>.
45132 (memcpy): Don't use BP_SYM.
45133 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
45134 <bp-sym.h> and <bp-asm.h>.
45135 (memset): Don't use BP_SYM.
45136 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
45137 <bp-sym.h> and <bp-asm.h>.
45138 (strncmp): Don't use BP_SYM.
45139 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
45140 <bp-sym.h> and <bp-asm.h>.
45141 (memcpy): Don't use BP_SYM.
45142 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
45143 <bp-sym.h> and <bp-asm.h>.
45144 (memset): Don't use BP_SYM.
45145 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
45146 <bp-sym.h> and <bp-asm.h>.
45147 (__memchr): Don't use BP_SYM.
45148 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
45149 <bp-sym.h> and <bp-asm.h>.
45150 (memcmp): Don't use BP_SYM.
45151 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
45152 <bp-sym.h> and <bp-asm.h>.
45153 (memcpy): Don't use BP_SYM.
45154 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
45155 <bp-sym.h> and <bp-asm.h>.
45156 (__mempcpy): Don't use BP_SYM.
45157 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
45158 <bp-sym.h> and <bp-asm.h>.
45159 (__memrchr): Don't use BP_SYM.
45160 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
45161 <bp-sym.h> and <bp-asm.h>.
45162 (memset): Don't use BP_SYM.
45163 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
45164 <bp-sym.h> and <bp-asm.h>.
45165 (__rawmemchr): Don't use BP_SYM.
45166 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
45167 <bp-sym.h> and <bp-asm.h>.
45168 (__STRCMP): Don't use BP_SYM.
45169 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
45170 <bp-sym.h> and <bp-asm.h>.
45171 (strchr): Don't use BP_SYM.
45172 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
45173 <bp-sym.h> and <bp-asm.h>.
45174 (__strchrnul): Don't use BP_SYM.
45175 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
45176 <bp-sym.h> and <bp-asm.h>.
45177 (strlen): Don't use BP_SYM.
45178 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
45179 <bp-sym.h> and <bp-asm.h>.
45180 (strncmp): Don't use BP_SYM.
45181 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
45182 <bp-sym.h> and <bp-asm.h>.
45183 (__strnlen): Don't use BP_SYM.
45184 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
45185 <bp-asm.h>.
45186 (__mpn_rshift): Don't use BP_SYM.
45187 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45188 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
45189 <bp-sym.h> and <bp-asm.h>.
45190 (__sigsetjmp): Don't use BP_SYM.
45191 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
45192 (L(start_addresses)): Don't use BP_SYM.
45193 (_start): Likewise.
45194 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
45195 <bp-asm.h>.
45196 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
45197 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45198 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45199 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
45200 <bp-asm.h>.
45201 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
45202 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45203 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45204 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
45205 <bp-asm.h>.
45206 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
45207 comments.
45208 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45209 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
45210 <bp-asm.h>.
45211 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
45212 FIXME comments.
45213 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45214 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45215 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
45216 <bp-asm.h>.
45217 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
45218 comment.
45219 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
45220 and <bp-asm.h>.
45221 (strncmp): Don't use BP_SYM,
45222 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
45223 <bp-asm.h>.
45224 (__mpn_sub_n): Don't use BP_SYM.
45225 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45226 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
45227 and <bp-asm.h>.
45228 (__mpn_submul_1): Don't use BP_SYM.
45229 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
45231 <bp-sym.h> and <bp-asm.h>.
45232 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
45234 <bp-sym.h> and <bp-asm.h>.
45235 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
45236 comment.
45237
45238 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45239
45240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
45241 Use ZK to minimize writes to Z.
45242 (sub_magnitudes): Simplify code a bit.
45243 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
45244 Use ZK to minimize writes to Z.
45245 (sub_magnitudes): Simplify code a bit.
45246
45247 2013-02-27 Roland McGrath <roland@hack.frob.com>
45248
45249 * csu/gmon-start.c: Add special exception to license text.
45250
45251 2013-02-27 Richard Henderson <rth@redhat.com>
45252
45253 * scripts/config.guess: Update from config.git.
45254 * scripts/config.sub: Likewise.
45255
45256 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
45257
45258 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
45259
45260 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
45261
45262 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
45263
45264 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
45265
45266 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
45267
45268 2013-02-26 Roland McGrath <roland@hack.frob.com>
45269
45270 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
45271 [$(build-shared = yes].
45272
45273 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45274
45275 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
45276 (__mul): Reduce iterations for calculating mantissa.
45277
45278 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
45279 MPTWO.
45280 (__mpranred): Likewise.
45281
45282 [BZ #15160]
45283 * malloc/memusagestat.c (main): Draw graphs for heap and stack
45284 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
45285
45286 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
45287
45288 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
45289 Define __attribute__.
45290
45291 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45292
45293 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
45294 unused.
45295 * posix/regex_internal.h (__attribute): Remove.
45296 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
45297 (re_string_context_at): Likewise.
45298 (bitset_not): Use __attribute__ and mark function as possibly
45299 unused.
45300 (bitset_merge): Likewise.
45301 (bitset_mask): Likewise.
45302 (re_string_char_size_at): Likewise.
45303 (re_string_wchar_at): Likewise.
45304 (re_string_elem_size_at): Likewise.
45305
45306 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45307
45308 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
45309 code.
45310 (cc32): Likewise.
45311
45312 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
45313 (__acr): Likewise.
45314 (__cpy): Likewise.
45315 (norm): Likewise.
45316 (denorm): Likewise.
45317 (__dbl_mp): Likewise.
45318 (add_magnitudes): Likewise.
45319 (sub_magnitudes): Likewise.
45320 (__mul): Likewise.
45321 (__inv): Likewise.
45322
45323 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
45324 style.
45325
45326 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
45327 style.
45328
45329 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
45330 code.
45331
45332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
45333 up changes with default code.
45334 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
45335 Likewise.
45336
45337 2013-02-24 Allan McRae <allan@archlinux.org>
45338
45339 * manual/socket.texi (The Internet Namespace): Order menu items
45340 to match that in the file.
45341
45342 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
45343 node listing of the info page menu.
45344
45345 2013-02-21 Joseph Myers <joseph@codesourcery.com>
45346
45347 [BZ #13550]
45348 * sysdeps/i386/bp-asm.h: Remove file.
45349 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
45350 (PARMS): Do not use macros from bp-asm.h.
45351 (S1): Likewise.
45352 (S2): Likewise.
45353 (SIZE): Likewise.
45354 (__mpn_add_n): Do not use BP_SYM
45355 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
45356 "bp-asm.h".
45357 (PARMS): Do not use macros from bp-asm.h.
45358 (S1): Likewise.
45359 (SIZE): Likewise.
45360 (__mpn_addmul_1): Do not use BP_SYM
45361 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
45362 "bp-asm.h".
45363 (PARMS): Do not use macros from bp-asm.h.
45364 (SIGMSK): Likewise.
45365 (_setjmp): Likewise. Do not use BP_SYM.
45366 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
45367 "bp-asm.h".
45368 (PARMS): Do not use macros from bp-asm.h.
45369 (SIGMSK): Likewise.
45370 (setjmp): Likewise. Do not use BP_SYM.
45371 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
45372 "bp-asm.h".
45373 (PARMS): Do not use macros from bp-asm.h.
45374 (__frexp): Do not use BP_SYM.
45375 (frexp): Likewise.
45376 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
45377 "bp-asm.h".
45378 (PARMS): Do not use macros from bp-asm.h.
45379 (__frexpf): Do not use BP_SYM.
45380 (frexpf): Likewise.
45381 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
45382 "bp-asm.h".
45383 (PARMS): Do not use macros from bp-asm.h.
45384 (__frexpl): Do not use BP_SYM.
45385 (frexpl): Likewise.
45386 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
45387 "bp-asm.h".
45388 (PARMS): Do not use macros from bp-asm.h.
45389 (__remquo): Do not use BP_SYM.
45390 (remquo): Likewise.
45391 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
45392 "bp-asm.h".
45393 (PARMS): Do not use macros from bp-asm.h.
45394 (__remquof): Do not use BP_SYM.
45395 (remquof): Likewise.
45396 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
45397 "bp-asm.h".
45398 (PARMS): Do not use macros from bp-asm.h.
45399 (__remquol): Do not use BP_SYM.
45400 (remquol): Likewise.
45401 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
45402 "bp-asm.h".
45403 (PARMS): Do not use macros from bp-asm.h.
45404 (DEST): Likewise.
45405 (SRC): Likewise.
45406 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
45407 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
45408 "bp-asm.h".
45409 (PARMS): Do not use macros from bp-asm.h.
45410 (strlen): Do not use BP_SYM.
45411 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
45412 "bp-asm.h".
45413 (PARMS): Do not use macros from bp-asm.h.
45414 (S1): Likewise.
45415 (S2): Likewise.
45416 (SIZE): Likewise.
45417 (__mpn_add_n): Do not use BP_SYM.
45418 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
45419 "bp-asm.h".
45420 (PARMS): Do not use macros from bp-asm.h.
45421 (S1): Likewise.
45422 (SIZE): Likewise.
45423 (__mpn_addmul_1): Do not use BP_SYM.
45424 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
45425 weak_alias.
45426 (bzero): Likewise.
45427 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
45428 "bp-asm.h".
45429 (PARMS): Do not use macros from bp-asm.h.
45430 (S): Likewise.
45431 (SIZE): Likewise.
45432 (__mpn_lshift): Do not use BP_SYM.
45433 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
45434 "bp-asm.h".
45435 (PARMS): Do not use macros from bp-asm.h.
45436 (DEST): Likewise.
45437 (SRC): Likewise.
45438 (LEN): Likewise.
45439 (memcpy): Likewise. Do not use BP_SYM.
45440 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
45441 libc_hidden_def and weak_alias.
45442 (mempcpy): Do not use BP_SYM in weak_alias.
45443 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
45444 "bp-asm.h".
45445 (PARMS): Do not use macros from bp-asm.h.
45446 (DEST): Likewise.
45447 (LEN): Likewise.
45448 [!BZERO_P] (CHR): Likewise.
45449 (memset): Likewise. Do not use BP_SYM.
45450 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
45451 "bp-asm.h".
45452 (PARMS): Do not use macros from bp-asm.h.
45453 (S1): Likewise.
45454 (SIZE): Likewise.
45455 (__mpn_mul_1): Do not use BP_SYM.
45456 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
45457 "bp-asm.h".
45458 (PARMS): Do not use macros from bp-asm.h.
45459 (S): Likewise.
45460 (SIZE): Likewise.
45461 (__mpn_rshift): Do not use BP_SYM.
45462 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
45463 "bp-asm.h".
45464 (PARMS): Do not use macros from bp-asm.h.
45465 (STR): Likewise.
45466 (CHR): Likewise.
45467 (strchr): Likewise. Do not use BP_SYM.
45468 (index): Do not use BP_SYM in weak_alias.
45469 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
45470 "bp-asm.h".
45471 (PARMS): Do not use macros from bp-asm.h.
45472 (DEST): Likewise.
45473 (SRC): Likewise.
45474 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
45475 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
45476 "bp-asm.h".
45477 (PARMS): Do not use macros from bp-asm.h.
45478 (strlen): Do not use BP_SYM.
45479 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
45480 "bp-asm.h".
45481 (PARMS): Do not use macros from bp-asm.h.
45482 (S1): Likewise.
45483 (S2): Likewise.
45484 (SIZE): Likewise.
45485 (__mpn_sub_n): Do not use BP_SYM.
45486 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
45487 "bp-asm.h".
45488 (PARMS): Do not use macros from bp-asm.h.
45489 (S1): Likewise.
45490 (SIZE): Likewise.
45491 (__mpn_submul_1): Do not use BP_SYM.
45492 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
45493 "bp-asm.h".
45494 (PARMS): Do not use macros from bp-asm.h.
45495 (S1): Likewise.
45496 (S2): Likewise.
45497 (SIZE): Likewise.
45498 (__mpn_add_n): Do not use BP_SYM.
45499 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
45500 weak_alias.
45501 (bzero): Likewise.
45502 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
45503 "bp-asm.h".
45504 (PARMS): Do not use macros from bp-asm.h.
45505 (BLK2): Likewise.
45506 (LEN): Likewise.
45507 (memcmp): Do not use BP_SYM.
45508 (bcmp): Do not use BP_SYM in weak_alias.
45509 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
45510 "bp-asm.h".
45511 (PARMS): Do not use macros from bp-asm.h.
45512 (DEST): Likewise.
45513 (SRC): Likewise.
45514 (LEN): Likewise.
45515 (memcpy): Likewise. Do not use BP_SYM.
45516 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
45517 "bp-asm.h".
45518 (PARMS): Do not use macros from bp-asm.h.
45519 (DEST): Likewise.
45520 (SRC): Likewise.
45521 (LEN): Likewise.
45522 (memmove): Likewise. Do not use BP_SYM.
45523 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
45524 "bp-asm.h".
45525 (PARMS): Do not use macros from bp-asm.h.
45526 (DEST): Likewise.
45527 (SRC): Likewise.
45528 (LEN): Likewise.
45529 (__mempcpy): Likewise. Do not use BP_SYM.
45530 (mempcpy): Do not use BP_SYM in weak_alias.
45531 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
45532 "bp-asm.h".
45533 (PARMS): Do not use macros from bp-asm.h.
45534 (DEST): Likewise.
45535 (LEN): Likewise.
45536 [!BZERO_P] (CHR): Likewise.
45537 (memset): Likewise. Do not use BP_SYM.
45538 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
45539 "bp-asm.h".
45540 (PARMS): Do not use macros from bp-asm.h.
45541 (STR2): Likewise.
45542 (strcmp): Do not use BP_SYM.
45543 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
45544 "bp-asm.h".
45545 (PARMS): Do not use macros from bp-asm.h.
45546 (STR): Likewise.
45547 (DELIM): Likewise.
45548 [USE_AS_STRTOK_R] (SAVE): Likewise.
45549 (FUNCTION): Likewise. Do not use BP_SYM.
45550 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
45551 aliases.
45552 (strtok_r): Likewise.
45553 (__GI___strtok_r): Likewise.
45554 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
45555 (PARMS): Do not use macros from bp-asm.h.
45556 (S): Likewise.
45557 (SIZE): Likewise.
45558 (__mpn_lshift): Do not use BP_SYM.
45559 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
45560 (PARMS): Do not use macros from bp-asm.h.
45561 (STR): Likewise.
45562 (CHR): Likewise.
45563 (__memchr): Do not use BP_SYM.
45564 (memchr): Do not use BP_SYM in weak_alias.
45565 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
45566 (PARMS): Do not use macros from bp-asm.h.
45567 (BLK2): Likewise.
45568 (LEN): Likewise.
45569 (memcmp): Do not use BP_SYM.
45570 (bcmp): Do not use BP_SYM in weak_alias.
45571 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
45572 (PARMS): Do not use macros from bp-asm.h.
45573 (S1): Likewise.
45574 (SIZE): Likewise.
45575 (__mpn_mul_1): Do not use BP_SYM.
45576 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
45577 "bp-asm.h".
45578 (PARMS): Do not use macros from bp-asm.h.
45579 (STR): Likewise.
45580 (CHR): Likewise.
45581 (__rawmemchr): Do not use BP_SYM.
45582 (rawmemchr): Do not use BP_SYM in weak_alias.
45583 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
45584 (PARMS): Do not use macros from bp-asm.h.
45585 (S): Likewise.
45586 (SIZE): Likewise.
45587 (__mpn_rshift): Do not use BP_SYM.
45588 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
45589 (PARMS): Do not use macros from bp-asm.h.
45590 (SIGMSK): Likewise.
45591 (__sigsetjmp): Likewise. Do not use BP_SYM.
45592 * sysdeps/i386/start.S: Do not include "bp-sym.h".
45593 (_start): Do not use BP_SYM.
45594 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
45595 (PARMS): Do not use macros from bp-asm.h.
45596 (DEST): Likewise.
45597 (SRC): Likewise.
45598 (__stpcpy): Likewise. Do not use BP_SYM.
45599 (stpcpy): Do not use BP_SYM in weak_alias.
45600 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
45601 "bp-asm.h".
45602 (PARMS): Do not use macros from bp-asm.h.
45603 (DEST): Likewise.
45604 (SRC): Likewise.
45605 (LEN): Likewise.
45606 (__stpncpy): Likewise. Do not use BP_SYM.
45607 (stpncpy): Do not use BP_SYM in weak_alias.
45608 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
45609 (PARMS): Do not use macros from bp-asm.h.
45610 (STR): Likewise.
45611 (CHR): Likewise.
45612 (strchr): Likewise. Do not use BP_SYM.
45613 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
45614 "bp-asm.h".
45615 (PARMS): Do not use macros from bp-asm.h.
45616 (STR): Likewise.
45617 (CHR): Likewise.
45618 (__strchrnul): Likewise. Do not use BP_SYM.
45619 (strchrnul): Do not use BP_SYM in weak_alias.
45620 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
45621 "bp-asm.h".
45622 (PARMS): Do not use macros from bp-asm.h.
45623 (STOP): Likewise.
45624 (strcspn): Do not use BP_SYM.
45625 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
45626 "bp-asm.h".
45627 (PARMS): Do not use macros from bp-asm.h.
45628 (STR): Likewise.
45629 (STOP): Likewise.
45630 (strpbrk): Likewise. Do not use BP_SYM.
45631 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
45632 "bp-asm.h".
45633 (PARMS): Do not use macros from bp-asm.h.
45634 (STR): Likewise.
45635 (CHR): Likewise.
45636 (strrchr): Likewise. Do not use BP_SYM.
45637 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
45638 (PARMS): Do not use macros from bp-asm.h.
45639 (SKIP): Likewise.
45640 (strspn): Do not use BP_SYM.
45641 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
45642 (PARMS): Do not use macros from bp-asm.h.
45643 (STR): Likewise.
45644 (DELIM): Likewise.
45645 (SAVE): Likewise.
45646 (FUNCTION): Likewise. Do not use BP_SYM.
45647 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
45648 aliases.
45649 (strtok_r): Likewise.
45650 (__GI___strtok_r): Likewise.
45651 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
45652 (PARMS): Do not use macros from bp-asm.h.
45653 (S1): Likewise.
45654 (S2): Likewise.
45655 (SIZE): Likewise.
45656 (__mpn_sub_n): Do not use BP_SYM.
45657 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
45658 "bp-asm.h".
45659 (PARMS): Do not use macros from bp-asm.h.
45660 (S1): Likewise.
45661 (SIZE): Likewise.
45662 (__mpn_submul_1): Do not use BP_SYM.
45663 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
45664 <bp-sym.h>.
45665 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
45666 and <bp-asm.h>.
45667 (PARMS): Do not use macros from bp-asm.h.
45668 (FLAGS): Likewise.
45669 (PTID): Likewise.
45670 (TLS): Likewise.
45671 (CTID): Likewise.
45672 (__clone): Do not use BP_SYM.
45673 (clone): Do not use BP_SYM in weak_alias.
45674 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
45675 and <bp-asm.h>.
45676 (PARMS): Do not use macros from bp-asm.h.
45677 (LEN): Likewise.
45678 (__mmap64): Do not use BP_SYM.
45679 (mmap64): Do not use BP_SYM in weak_alias.
45680 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45681 <bp-sym.h> and <bp-asm.h>.
45682 (PARMS): Do not use macros from bp-asm.h.
45683 (__posix_fadvise64_l64): Do not use BP_SYM.
45684 * sysdeps/unix/sysv/linux/i386/semtimedop.S
45685 (PARMS): Do not use macros from bp-asm.h.
45686 (NSOPS): Likewise.
45687 (semtimedop): Do not use BP_SYM.
45688 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
45689 and <bp-asm.h>.
45690
45691 2013-02-21 Allan McRae <allan@archlinux.org>
45692
45693 * manual/message.texi (Charset conversion in gettext):
45694 Move @end statement to beginning of line.
45695
45696 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
45697
45698 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
45699 static.
45700 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
45701 Likewise.
45702
45703 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
45704 (denorm): Likewise.
45705 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
45706 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
45707
45708 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45709
45710 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
45711 tail-call to the resolved function if pltexit isn't needed.
45712
45713 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
45714
45715 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
45716 or Y being zero as being unlikely.
45717 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
45718 Likewise.
45719
45720 2013-02-20 Carlos O'Donell <carlos@redhat.com>
45721
45722 * manual/nss.texi (System Databases and Name Service Switch):
45723 Remove frobnicate @pxref.
45724
45725 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
45726
45727 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
45728 __attribute__ ((unused)) to __attribute__ ((__unused__)).
45729
45730 2013-02-20 Petr Machata <pmachata@redhat.com>
45731
45732 * elf/elf.h (R_ARM_TARGET1): New macro.
45733 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
45734 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
45735 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
45736 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
45737 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
45738 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
45739 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
45740 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
45741 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
45742 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
45743 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
45744 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
45745 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
45746 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
45747 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
45748 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
45749 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
45750 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
45751 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
45752 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
45753 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
45754 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
45755 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
45756 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
45757 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
45758 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
45759 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
45760 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
45761 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
45762 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
45763 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
45764 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
45765 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
45766 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
45767 (R_ARM_THM_GOT_BREL12): Likewise.
45768 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
45769 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
45770 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
45771 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
45772 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
45773 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
45774 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
45775 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
45776 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
45777
45778 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
45779
45780 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
45781 __attribute_used__ to __attribute__ ((unused)).
45782
45783 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
45784
45785 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
45786 powerpc mpa.c.
45787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
45788 comment formatting.
45789 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
45790
45791 2013-02-19 Joseph Myers <joseph@codesourcery.com>
45792
45793 [BZ #13550]
45794 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
45795 Remove macro.
45796 (ENTER): Remove both macro definitions.
45797 (LEAVE): Likewise.
45798 (CHECK_BOUNDS_LOW): Likewise.
45799 (CHECK_BOUNDS_HIGH): Likewise.
45800 (CHECK_BOUNDS_BOTH): Likewise.
45801 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
45802 (RETURN_BOUNDED_POINTER): Likewise.
45803 (RETURN_NULL_BOUNDED_POINTER): Likewise.
45804 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
45805 (POP_ERRNO_LOCATION_RETURN): Likewise.
45806 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
45807 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45808 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
45809 macros.
45810 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45811 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
45812 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
45813 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
45814 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
45815 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
45816 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
45817 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
45818 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
45819 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
45820 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
45821 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
45822 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45823 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
45824 removed macros.
45825 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45826 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
45827 macros.
45828 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45829 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
45830 * sysdeps/i386/i586/memset.S (memset): Likewise.
45831 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
45832 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45833 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
45834 macros.
45835 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45836 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
45837 Change uses of L(2) to L(out).
45838 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
45839 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
45840 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
45841 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45842 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
45843 removed macros.
45844 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45845 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
45846 macros.
45847 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45848 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
45849 (RETURN): Do not use macro LEAVE.
45850 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
45851 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
45852 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
45853 * sysdeps/i386/i686/memset.S (memset): Likewise.
45854 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
45855 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
45856 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45857 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
45858 Likewise.
45859 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45860 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
45861 L(1_2) and L(1_3) into L(1).
45862 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
45863 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
45864 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45865 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
45866 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45867 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
45868 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
45869 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45870 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
45871 macros.
45872 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
45873 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45874 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
45875 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
45876 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
45877 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45878 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
45879 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
45880 * sysdeps/i386/strcspn.S (strcspn): Likewise.
45881 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
45882 * sysdeps/i386/strrchr.S (strrchr): Likewise.
45883 * sysdeps/i386/strspn.S (strspn): Likewise.
45884 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
45885 conditional code.
45886 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45887 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
45888 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
45889 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
45890 L(1_3) into L(1_1).
45891 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
45892 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45893 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
45894 macros.
45895 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45896
45897 2013-02-19 Jakub Jelinek <jakub@redhat.com>
45898
45899 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
45900 macro.
45901
45902 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
45903
45904 * math/atest-exp.c (exp_mpn): Remove ROUND.
45905 * math/atest-exp2.c (exp_mpn): Likewise.
45906 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
45907
45908 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
45909 * stdlib/tst-tls-atexit-lib.c: Likewise.
45910 * stdlib/tst-tls-atexit.c: Likewise.
45911
45912 2013-02-18 Mike Frysinger <vapier@gentoo.org>
45913
45914 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
45915 and __attribute_alloc_size__.
45916
45917 2013-02-18 Mike Frysinger <vapier@gentoo.org>
45918
45919 * include/programs/xmalloc.h: Change __attribute_alloc_size to
45920 __attribute_alloc_size__.
45921 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
45922 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
45923
45924 2013-02-18 Mike Frysinger <vapier@gentoo.org>
45925
45926 * include/programs/xmalloc.h: New file.
45927 * catgets/gencat.c: Include it.
45928 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
45929 * elf/pldd.c: Likewise.
45930 * iconv/iconv_charmap.c: Likewise.
45931 * iconv/iconvconfig.c: Likewise.
45932 * iconv/strtab.c: Likewise.
45933 * locale/programs/locale.c: Likewise.
45934 * locale/programs/localedef.h: Likewise.
45935 * locale/programs/simple-hash.c: Likewise.
45936 * nscd/nscd.h: Likewise.
45937 * nss/makedb.c: Likewise.
45938 * sysdeps/generic/ldconfig.h: Likewise.
45939
45940 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
45941
45942 * Versions.def: Add GLIBC_2.18.
45943 * include/link.h (struct link_map): New member l_tls_dtor_count.
45944 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
45945 (__call_tls_dtors): Likewise.
45946 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
45947 __cxa_thread_atexit_impl.
45948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45949 Likewise.
45950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45951 Likewise.
45952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45953 Likewise.
45954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45955 Likewise.
45956 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
45958 Likewise.
45959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
45960 Likewise.
45961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45963 Likewise.
45964 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
45965 (tests): Add test case tst-tls-atexit.
45966 (modules-names): Add shared library for tst-tls-atexit.
45967 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
45968 (GLIBC_PRIVATE): Add __call_tls_dtors.
45969 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
45970 for libstdc++.
45971 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
45972 * stdlib/tst-tls-atexit.c: New test case.
45973 * stdlib/tst-tls-atexit-lib.c: New test case.
45974
45975 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
45976
45977 * elf/Versions (ld): Add _dl_find_dso_for_object.
45978 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
45979 * elf/dl-open.c (_dl_find_dso_for_object): New function.
45980 (dl_open_worker): Use _dl_find_dso_for_object.
45981 * elf/dl-sym.c (do_sym): Likewise.
45982 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
45983
45984 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45985
45986 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
45987 Syntactic changes only.
45988 (_dl_runtime_profile): Do a tail-call to the resolved function.
45989
45990 2013-02-17 Joseph Myers <joseph@codesourcery.com>
45991
45992 [BZ #13550]
45993 * sysdeps/x86_64/bp-asm.h: Remove file.
45994 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
45995 <bp-sym.h> and <bp-asm.h>.
45996 (__clone): Do not use BP_SYM.
45997 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
45998 <bp-sym.h> and <bp-asm.h>.
45999 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46000 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
46001 "bp-asm.h".
46002 (_setjmp): Do not use BP_SYM.
46003 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
46004 "bp-asm.h".
46005 (setjmp): Do not use BP_SYM.
46006 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
46007 libc_hidden_def.
46008 (mempcpy): Do not use BP_SYM in weak_alias.
46009 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
46010 "bp-asm.h".
46011 (strchr): Do not use BP_SYM.
46012 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
46013 "bp-asm.h".
46014 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
46015 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
46016 (_start): Do not use BP_SYM.
46017 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
46018 "bp-asm.h".
46019 (strcat): Do not use BP_SYM.
46020 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
46021 "bp-asm.h".
46022 (STRCMP): Do not use BP_SYM.
46023 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
46024 "bp-asm.h".
46025 (STRCPY): Do not use BP_SYM.
46026 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
46027 "bp-asm.h".
46028 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
46029 "bp-asm.h".
46030 (FUNCTION): Do not use BP_SYM.
46031 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
46032 weak_alias.
46033 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
46034
46035 2013-02-17 Andreas Jaeger <aj@suse.de>
46036
46037 * time/Versions: Sort entries.
46038 * string/Versions: Likewise.
46039 * resolv/Versions: Likewise.
46040 * posix/Versions: Likewise.
46041 * iconv/Versions: Likewise.
46042 * elf/Versions: Likewise.
46043 * wcsmbs/Versions: Likewise.
46044
46045 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46046
46047 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
46048 loop termination condition.
46049
46050 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
46051 variable to calculate EZ.
46052 (__sqr): Likewise.
46053
46054 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
46055 the lower precision input.
46056
46057 2013-02-15 Joseph Myers <joseph@codesourcery.com>
46058
46059 [BZ #13550]
46060 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
46061 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
46062 (run-via-rtld-prefix): Do not handle %-bp tests.
46063 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
46064 (all-object-suffixes): Remove .ob.
46065 (bppfx): Remove variable.
46066 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
46067 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
46068 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
46069 [$(build-bounded) = yes] (libtype.ob): Likewise.
46070 * Makerules (elide-routines.ob): Remove variable.
46071 (do-tests-clean): Do not handle *-bp.out.
46072 (common-mostlyclean): Do not handle *-bp and *-bp.out.
46073 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
46074 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
46075 (tests): Do not include $(tests-bp.out).
46076 (xtests): Do not include $(xtests-bp.out).
46077 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
46078 [$(build-bounded) = yes] ($(addprefix
46079 $(objpfx),$(binaries-bounded))): Remove rule.
46080 ($(objpfx)%-bp.out): Remove rule.
46081 * config.make.in (build-bounded): Remove variable.
46082 * crypt/Makefile [$(build-bounded) = yes]
46083 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
46084 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
46085 append to variable.
46086 [$(build-bounded) = yes] (install-lib): Likewise.
46087 [$(build-bounded) = yes] (generated): Likewise.
46088 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
46089 Remove rule.
46090 * intl/Makefile [$(build-bounded) = yes]
46091 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
46092 * math/Makefile [$(build-bounded) = yes]
46093 ($(tests:%=$(objpfx)%-bp): Likewise.
46094 * misc/Makefile [$(build-bounded) = yes]
46095 ($(objpfx)tst-tsearch-bp): Likewise.
46096 * nptl/Makeconfig (bounded-thread-library): Remove variable.
46097 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
46098 Remove dependency.
46099 * string/Makefile (o-objects.ob): Remove variable.
46100 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
46101 (CFLAGS-.ob): Remove variable.
46102 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
46103 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
46104 both definitions of variable.
46105 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
46106 (ASFLAGS-.ob): Remove variable.
46107
46108 2013-02-14 Joseph Myers <joseph@codesourcery.com>
46109
46110 [BZ #13550]
46111 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
46112 Remove __BOUNDED_POINTERS__ from condition.
46113 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
46114 * string/bits/string2.h [!__NO_STRING_INLINES &&
46115 !__BOUNDED_POINTERS__]: Likewise.
46116 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
46117 Likewise.
46118 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
46119 Remove conditional code.
46120 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
46121 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
46122 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
46123 condition.
46124
46125 [BZ #13550]
46126 * csu/libc-start.c: Do not include <bp-sym.h>.
46127 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
46128 * elf/dl-open.c: Do not include <bp-sym.h>.
46129 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
46130 * math/fegetenv.c: Do not include <bp-sym.h>.
46131 (fegetenv): Do not use BP_SYM in versioned symbols.
46132 * nptl/sysdeps/pthread/bits/libc-lockP.h
46133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
46134 <bp-sym.h>.
46135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46136 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
46137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46138 (__pthread_mutex_destroy): Likewise.
46139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46140 (__pthread_mutex_lock): Likewise.
46141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46142 (__pthread_mutex_trylock): Likewise.
46143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46144 (__pthread_mutex_unlock): Likewise.
46145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46146 (__pthread_mutexattr_init): Likewise.
46147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46148 (__pthread_mutexattr_destroy): Likewise.
46149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46150 (__pthread_mutexattr_settype): Likewise.
46151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46152 (__pthread_rwlock_init): Likewise.
46153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46154 (__pthread_rwlock_destroy): Likewise.
46155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46156 (__pthread_rwlock_rdlock): Likewise.
46157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46158 (__pthread_rwlock_tryrdlock): Likewise.
46159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46160 (__pthread_rwlock_wrlock): Likewise.
46161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46162 (__pthread_rwlock_trywrlock): Likewise.
46163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46164 (__pthread_rwlock_unlock): Likewise.
46165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46166 (__pthread_key_create): Likewise.
46167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46168 (__pthread_setspecific): Likewise.
46169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46170 (__pthread_getspecific): Likewise.
46171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
46172 Likewise.
46173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46174 (_pthread_cleanup_push_defer): Likewise.
46175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46176 (_pthread_cleanup_pop_restore): Likewise.
46177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46178 (pthread_setcancelstate): Likewise.
46179 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
46180 <bp-sym.h>.
46181 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
46182 (memchr): Do not use BP_SYM in weak_alias.
46183 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
46184 (fegetenv): Do not use BP_SYM in versioned symbols.
46185 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
46186 (fesetenv): Do not use BP_SYM in versioned symbols.
46187 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46188 (feupdateenv): Do not use BP_SYM in versioned symbols.
46189 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46190 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46191 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
46192 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
46193 (open64): Do not use BP_SYM in weak_alias.
46194 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
46195 (fegetenv): Do not use BP_SYM in versioned symbols.
46196 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
46197 (fesetenv): Do not use BP_SYM in versioned symbols.
46198 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46199 (feupdateenv): Do not use BP_SYM in versioned symbols.
46200 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
46201 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
46202 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
46203 (feraiseexcept): Do not use BP_SYM in versioned symbols.
46204 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46205 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46206 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
46207 <bp-sym.h>.
46208 (__libc_start_main): Do not use BP_SYM.
46209
46210 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
46211
46212 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
46213 redundant return line.
46214 (norm): Likewise.
46215 (denorm): Likewise.
46216 (dbl_mp): Likewise.
46217 (sub_magnitudes): Likewise.
46218 (__add): Likewise.
46219 (__sub): Likewise.
46220 (__mul): Likewise.
46221 (__inv): Likewise.
46222 (__dvd): Likewise.
46223 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
46224 (norm): Likewise.
46225 (denorm): Likewise.
46226 (dbl_mp): Likewise.
46227 (sub_magnitudes): Likewise.
46228 (__add): Likewise.
46229 (__sub): Likewise.
46230 (__mul): Likewise.
46231 (__inv): Likewise.
46232 (__dvd): Likewise.
46233
46234 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
46235 instead of __mul.
46236 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46237 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
46238 (cc32): Likewise.
46239
46240 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
46241 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
46242 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
46243 of __mul for squares.
46244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
46245 function
46246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
46247 Likewise.
46248 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
46249 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46250
46251 2013-02-13 Joseph Myers <joseph@codesourcery.com>
46252
46253 [BZ #13550]
46254 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
46255 code.
46256 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
46257 prototype or function definition. Rename ubp_* variables and
46258 parameters. Remove argv definitions conditional on
46259 [__BOUNDED_POINTERS__].
46260 * debug/backtrace.c (__backtrace): Do not use __unbounded.
46261 * elf/dl-runtime.c (_dl_fixup): Likewise.
46262 * include/set-hooks.h (RUN_HOOK): Likewise.
46263 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
46264 definition.
46265 * string/strcpy.c (strcpy): Do not use __unbounded.
46266 * sysdeps/generic/frame.h (struct layout): Likewise.
46267 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
46268 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
46269 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
46270 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
46271 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
46272 (__backtrace): Likewise.
46273 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
46274 use __ptrvalue.
46275 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
46276 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46277 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
46278 Likewise.
46279 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
46280 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
46281 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46282 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
46283 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
46284 Do not use __unbounded.
46285 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
46286 Rename __unboundedrlimits parameter to rlimits in prototype.
46287 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
46288 Do not use __unbounded.
46289 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
46290 not use __ptrvalue.
46291 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
46292 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
46293 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
46294 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
46295 __ptrvalue or __unbounded.
46296 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
46297 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
46298 use __unbounded.
46299 (__new_msgctl): Do not use __ptrvalue.
46300 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
46301 __unbounded.
46302 (__libc_msgrcv): Do not use __ptrvalue.
46303 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
46304 startup_info): Do not use __unbounded.
46305 (__libc_start_main): Likewise. Rename ubp_* variables and
46306 parameters. Remove argv definitions conditional on
46307 [__BOUNDED_POINTERS__].
46308 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
46309 __ptrvalue.
46310 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
46311 use __unbounded.
46312 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
46313 or __ptrvalue.
46314 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
46315 use __unbounded.
46316 (__new_shmctl): Do not use __ptrvalue.
46317 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
46318 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
46319 Likewise.
46320 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
46321 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
46322 (__libc_sigaction): Likewise.
46323 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
46324 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
46325 Likewise.
46326 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
46327
46328 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
46329
46330 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
46331
46332 * string/mempcpy.c: Implement by calling memcpy.
46333
46334 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
46335
46336 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
46337
46338 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
46339 evaluation.
46340
46341 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
46342 values in the mantissa.
46343
46344 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
46345 minimize writes to Z.
46346 (sub_magnitudes): Simplify code a bit.
46347
46348 2013-02-12 Roland McGrath <roland@hack.frob.com>
46349
46350 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
46351 from the message. The linker prefixes all warnings with that already.
46352
46353 2013-02-12 Andreas Schwab <schwab@suse.de>
46354
46355 [BZ #15078]
46356 * posix/regexec.c (extend_buffers): Add parameter min_len.
46357 (check_matching): Pass minimum needed length.
46358 (clean_state_log_if_needed): Likewise.
46359 (get_subexp): Likewise.
46360 * posix/Makefile (tests): Add bug-regex34.
46361 (bug-regex34-ENV): Define.
46362 * posix/bug-regex34.c: New file.
46363
46364 [BZ #11561]
46365 * posix/regcomp.c (parse_bracket_exp): When looking up collating
46366 elements compare against the byte sequence of it, not its name.
46367 * posix/Makefile (tests): Add bug-regex35.
46368 (bug-regex35-ENV): Define.
46369 * posix/bug-regex35.c: New file.
46370
46371 2013-02-11 Tom de Vries <tom@codesourcery.com>
46372
46373 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
46374 comment.
46375 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
46376 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
46377 (CHECK_EOL): Add undef.
46378
46379 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
46380
46381 * bits/stdlib-bsearch.h: New file.
46382 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
46383 * stdlib/stdlib.h: Likewise.
46384
46385 2013-02-11 Roland McGrath <roland@hack.frob.com>
46386
46387 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
46388 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
46389 declaration.
46390 * manual/search.texi (Array Search Function): Add missing const in
46391 lfind prototype.
46392 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
46393 declaration to use rlim_t.
46394 (Basic Scheduling Functions): Remove erroneous const from
46395 sched_getparam prototype. Remove erroneous * from
46396 sched_get_priority_max and sched_get_priority_min prototypes.
46397 (Resource Usage): Fix summary @comment on vtimes to refer to
46398 sys/vtimes.h rather than vtimes.h.
46399 Add missing *s in vtimes prototype.
46400 (Limits on Resources): Fix ulimit prototype to return long int.
46401 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
46402 prototypes to use long int rather than double.
46403 (BSD Random): Fix initstate and setstate to use char *, not void *.
46404 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
46405 prototype to make second argument 'struct aiocb64 *const[]'.
46406 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
46407 (Status of AIO Operations): Remove erroneous const in aio_return and
46408 aio_return64 prototypes.
46409 (Synchronizing I/O): Fix sync prototype to return void.
46410 * manual/startup.texi (Suboptions): Remove an erroneous const in
46411 getsubopt prototype.
46412 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
46413 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
46414 use size_t rather than int.
46415 (Scanning All Users): Likewise for getpwent_r.
46416 (Setting Groups): Add missing const to setgroups prototype.
46417 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
46418 * manual/socket.texi (Host Names): Fix gethostbyaddr and
46419 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
46420 'const void *' rather than 'const char *'.
46421 (Host Address Functions): Likewise for inet_ntop.
46422 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
46423 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
46424 ssize_t for return value.
46425 (Sending Data): Likewise for send, sendto, sendmsg.
46426 (Socket Option Functions): Add a missing const in setsockopt prototype.
46427 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
46428 use wchar_t for the argument.
46429 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
46430 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
46431 take no arguments.
46432 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
46433 double/float/long double for second argument.
46434 Fix return types of significand, significandf, significandl.
46435 * manual/filesys.texi (Setting Permissions): Use mode_t for second
46436 argument in fchmod prototype.
46437 (File Owner): Use uid_t and gid_t in fchown prototype.
46438 (File Times): Add const to utimes, futimes, and lutimes prototypes.
46439 (Making Special Files): Use mode_t and dev_t in mknod prototype.
46440 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
46441 use 'const struct dirent **' as argument types to CMP function pointer
46442 argument.
46443 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
46444 (File Times): Fix summary magic @comment for struct utimbuf and utime
46445 to refer to utime.h, not time.h.
46446 * manual/string.texi (Argz Functions): Add missing const in
46447 argz_extract and argz_next prototypes.
46448 (Finding Tokens in a String): Likewise for basename.
46449 (String/Array Comparison): Fix typo in wcscasecmp prototype.
46450 (Copying and Concatenation): Fix typo in wmemmove prototype.
46451 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
46452 (Signal Stack): Remove erroneous const in sigstack prototype.
46453 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
46454 prototype.
46455 (Simple Calendar Time): Likewise for stime.
46456 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
46457 prototype.
46458 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
46459 say sys/sysctl.h instead.
46460 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
46461 and vsyslog prototypes.
46462
46463 2013-02-11 Tom de Vries <tom@codesourcery.com>
46464
46465 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
46466 Remove.
46467
46468 2013-02-11 Roland McGrath <roland@hack.frob.com>
46469
46470 * misc/sys/mman.h: Fix typo in mremap comment.
46471
46472 2013-02-08 Roland McGrath <roland@hack.frob.com>
46473
46474 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
46475 the '\0' terminator.
46476
46477 2013-02-08 Joseph Myers <joseph@codesourcery.com>
46478
46479 [BZ #13550]
46480 * debug/segfault.c: Don't include <bp-checks.h>.
46481 * sysdeps/generic/bp-checks.h: Remove file.
46482 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
46483 (__GETDENTS): Don't use CHECK_N.
46484 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
46485 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
46486 (__getgroups): Don't use CHECK_N.
46487 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
46488 (setgroups): Don't use CHECK_N.
46489 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
46490 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
46491 (__libc_msgrcv): Don't use CHECK_N.
46492 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
46493 (__libc_msgsnd): Don't use CHECK_N.
46494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
46495 <bp-checks.h>.
46496 (__libc_pread): Don't use CHECK_N.
46497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
46498 include <bp-checks.h>.
46499 (__libc_pread64): Don't use CHECK_N.
46500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
46501 include <bp-checks.h>.
46502 (__libc_pwrite): Don't use CHECK_N.
46503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
46504 include <bp-checks.h>.
46505 (__libc_pwrite64): Don't use CHECK_N.
46506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
46507 <bp-checks.h>.
46508 (__libc_pread): Don't use CHECK_N.
46509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
46510 include <bp-checks.h>.
46511 (__libc_pread64): Don't use CHECK_N.
46512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
46513 include <bp-checks.h>.
46514 (__libc_pwrite): Don't use CHECK_N.
46515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
46516 include <bp-checks.h>.
46517 (__libc_pwrite64): Don't use CHECK_N.
46518 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
46519 (do_pread): Don't use CHECK_N.
46520 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
46521 (do_pread64): Don't use CHECK_N.
46522 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
46523 (do_pwrite): Don't use CHECK_N.
46524 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
46525 (do_pwrite64): Don't use CHECK_N.
46526 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
46527 (__libc_readv): Don't use CHECK_N.
46528 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
46529 (semop): Don't use CHECK_N.
46530 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
46531 <bp-checks.h>.
46532 (semtimedop): Don't use CHECK_N.
46533 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
46534 (__libc_pread): Don't use CHECK_N.
46535 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
46536 <bp-checks.h>.
46537 (__libc_pread64): Don't use CHECK_N.
46538 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
46539 <bp-checks.h>.
46540 (__libc_pwrite): Don't use CHECK_N.
46541 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
46542 <bp-checks.h>.
46543 (__libc_pwrite64): Don't use CHECK_N.
46544 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
46545 <bp-checks.h>.
46546 (__libc_msgrcv): Don't use CHECK_N.
46547 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
46548 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
46549 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
46550 (__libc_writev): Don't use CHECK_N.
46551
46552 2013-02-08 Roland McGrath <roland@hack.frob.com>
46553
46554 * string/strcpy.c: Removed unused variable.
46555
46556 * Makeconfig (+sysdep-includes): Define with := rather than =.
46557 Use an existing include/ subdir of each sysdeps dir before it.
46558
46559 2013-02-08 Carlos O'Donell <carlos@redhat.com>
46560
46561 * nscd/connection.c (register_traced_file): Comment function.
46562 [HAVE_INOTIFY] (union __inev): Define.
46563 [HAVE_INOTIFY] (inotify_check_files): New function.
46564 [HAVE_INOTIFY] (clear_db_cache): Likewise.
46565 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
46566 clear_db_cache.
46567 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
46568
46569 2013-02-08 Carlos O'Donell <carlos@redhat.com>
46570
46571 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
46572 loaded if not already and that a failure is permanent.
46573
46574 2013-02-08 Carlos O'Donell <carlos@redhat.com>
46575
46576 [BZ #15006]
46577 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
46578 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
46579
46580 2013-02-08 Joseph Myers <joseph@codesourcery.com>
46581
46582 [BZ #13550]
46583 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
46584 (CHECK_1_NULL_OK): Likewise.
46585 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
46586 (__fxstat): Do not use CHECK_1.
46587 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
46588 <bp-checks.h>.
46589 (___fxstat64): Do not use CHECK_1.
46590 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
46591 <bp-checks.h>.
46592 (__fxstatat): Do not use CHECK_1.
46593 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
46594 <bp-checks.h>.
46595 (__fxstatat64): Do not use CHECK_1.
46596 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
46597 <bp-checks.h>.
46598 (__fxstat): Do not use CHECK_1.
46599 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
46600 <bp-checks.h>.
46601 (__fxstatat): Do not use CHECK_1.
46602 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46603 <bp-checks.h>.
46604 (__getresgid): Do not use CHECK_1.
46605 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46606 <bp-checks.h>.
46607 (__getresuid): Do not use CHECK_1.
46608 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
46609 <bp-checks.h>.
46610 (__lxstat): Do not use CHECK_1.
46611 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46612 <bp-checks.h>.
46613 (__old_msgctl): Do not use CHECK_1.
46614 (__new_msgctl): Likewise.
46615 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
46616 <bp-checks.h>.
46617 (__new_setrlimit): Do not use CHECK_1.
46618 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46619 <bp-checks.h>.
46620 (__old_shmctl): Do not use CHECK_1.
46621 (__new_shmctl): Likewise.
46622 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
46623 <bp-checks.h>.
46624 (__xstat): Do not use CHECK_1.
46625 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
46626 (__lxstat): Do not use CHECK_1.
46627 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
46628 <bp-checks.h>.
46629 (___lxstat64): Do not use CHECK_1.
46630 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
46631 (__old_msgctl): Do not use CHECK_1.
46632 (__new_msgctl): Likewise.
46633 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
46634 <bp-checks.h>.
46635 (__gettimeofday): Do not use CHECK_1.
46636 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
46637 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
46638 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
46639 <bp-checks.h>.
46640 (__gettimeofday): Do not use CHECK_1.
46641 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
46642 (__old_shmctl): Do not use CHECK_1_NULL_OK.
46643 (__new_shmctl): Do not use CHECK_1.
46644 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
46645 <bp-checks.h>.
46646 (do_sigtimedwait): Do not use CHECK_1.
46647 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
46648 <bp-checks.h>.
46649 (do_sigwaitinfo): Do not use CHECK_1.
46650 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
46651 <bp-checks.h>.
46652 (msgctl): Do not use CHECK_1.
46653 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
46654 <bp-checks.h>.
46655 (shmctl): Do not use CHECK_1.
46656 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
46657 (ustat): Do not use CHECK_1.
46658 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
46659 <bp-checks.h>.
46660 (__fxstat): Do not use CHECK_1.
46661 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
46662 <bp-checks.h>.
46663 (__fxstatat): Do not use CHECK_1.
46664 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
46665 <bp-checks.h>.
46666 (__lxstat): Do not use CHECK_1.
46667 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
46668 <bp-checks.h>.
46669 (__xstat): Do not use CHECK_1.
46670 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
46671 (__xstat): Do not use CHECK_1.
46672 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
46673 (___xstat64): Do not use CHECK_1.
46674
46675 [BZ #13550]
46676 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
46677 definitions.
46678 (CHECK_BOUNDS_HIGH): Likewise.
46679 * string/strcpy.c: Do not include <bp-checks.h>.
46680 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
46681
46682 2013-02-07 Roland McGrath <roland@hack.frob.com>
46683
46684 * nscd/nscd-client.h (__nscd_drop_map_ref):
46685 Add __attribute__ ((unused)).
46686 * nis/nss-nisplus.h (niserr2nss): Likewise.
46687
46688 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
46689 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
46690
46691 * csu/libc-tls.c (init_static_tls, init_slotinfo):
46692 Remove inline keyword.
46693 * include/rounding-mode.h (round_away): Likewise.
46694 * libio/wfileops.c (adjust_wide_data): Likewise.
46695 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
46696 (__m128i_strloadu_tolower): Likewise.
46697 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
46698 (__m128i_strloadu_tolower): Likewise.
46699 * time/mktime.c (ydhms_diff): Likewise.
46700 * locale/elem-hash.h (elem_hash): Likewise.
46701 * locale/setlocale.c (setdata): Likewise.
46702 * posix/regex_internal.h (re_string_char_size_at): Likewise.
46703 (re_string_wchar_at): Likewise.
46704 (bitset_not, bitset_merge, bitset_mask): Likewise.
46705 [!(__GNUC__ > 3)] (inline): Remove macro.
46706 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
46707 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
46708 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
46709 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
46710 * string/memcmp.c (memcmp_bytes): Likewise.
46711 * locale/programs/locarchive.c (compute_hashval): Likewise.
46712 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
46713 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
46714 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
46715 * nss/getent.c (print_rpc, print_protocols): Likewise.
46716 (print_passwd, print_group, print_aliases): Likewise.
46717 * nis/nss-nisplus.h (niserr2nss): Likewise.
46718 * nscd/connections.c (restart_p): Likewise.
46719 Change return type to bool.
46720
46721 2013-02-05 Roland McGrath <roland@hack.frob.com>
46722
46723 * Makeconfig (all-Depend-files): Add existing
46724 $(sorted-subdirs:=/Depend) files.
46725 (all-subdirs): Remove nss.
46726 * sysdeps/unix/inet/Subdirs: Add it here instead.
46727 * hesiod/Depend: New file.
46728
46729 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
46730 instead of calling alloca.
46731
46732 * io/lseek.c (__lseek): Rename to __libc_lseek.
46733 Define __lseek as an alias.
46734
46735 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
46736
46737 2013-02-04 Carlos O'Donell <carlos@redhat.com>
46738
46739 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
46740 else clause and remove check for non-standard endianness.
46741
46742 2013-02-04 David S. Miller <davem@davemloft.net>
46743
46744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46745
46746 2013-02-04 Joseph Myers <joseph@codesourcery.com>
46747
46748 [BZ #13550]
46749 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
46750 (__ubp_memchr): Remove prototype.
46751 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
46752 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
46753 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
46754 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
46755 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
46756 Remove alias.
46757 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
46758 (__ubp_memchr): Likewise.
46759 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
46760 (__ubp_memchr): Likewise.
46761 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
46762 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
46763 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
46764 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
46765 CHECK_STRING.
46766 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
46767 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
46768 (__getcwd): Do not use CHECK_STRING.
46769 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46770 <bp-checks.h>.
46771 (__real_chown): Do not use CHECK_STRING.
46772 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
46773 <bp-checks.h>.
46774 (fchownat): Do not use CHECK_STRING.
46775 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
46776 CHECK_STRING.
46777 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46778 <bp-checks.h>.
46779 (__lchown): Do not use CHECK_STRING.
46780 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
46781 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
46782 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
46783 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
46784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46785 include <bp-checks.h>.
46786 (truncate64): Do not use CHECK_STRING.
46787 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46788 <bp-checks.h>.
46789 (__real_chown): Do not use CHECK_STRING.
46790 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46791 <bp-checks.h>.
46792 (__lchown): Do not use CHECK_STRING.
46793 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46794 <bp-checks.h>.
46795 (__chown): Do not use CHECK_STRING.
46796 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
46797 <bp-checks.h>.
46798 (truncate64): Do not use CHECK_STRING.
46799 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
46800 Likewise.
46801 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
46802 (__xmknod): Do not use CHECK_STRING.
46803 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
46804 <bp-checks.h>.
46805 (__xmknodat): Do not use CHECK_STRING.
46806 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
46807 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
46808
46809 2013-02-04 Andreas Schwab <schwab@suse.de>
46810
46811 [BZ #14142]
46812 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
46813 * include/netdb.h: Likewise for h_errno.
46814 * elf/tst-stackguard1.c: Include <tls.h>.
46815
46816 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
46817
46818 * elf/link.h (struct link_map): Extend the l_addr comment.
46819 * include/link.h (struct link_map): Likewise.
46820
46821 2013-02-01 Joseph Myers <joseph@codesourcery.com>
46822
46823 [BZ #13550]
46824 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
46825 (BOUNDED_1): Remove macro.
46826 * debug/backtrace.c: Don't include <bp-checks.h>.
46827 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
46828 (__backtrace): Likewise.
46829 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
46830 <bp-checks.h>.
46831 (__backtrace): Don't use BOUNDED_1.
46832 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
46833 <bp-checks.h>.
46834 (__backtrace): Don't use BOUNDED_1.
46835 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
46836 (__backtrace): Don't use BOUNDED_1.
46837 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
46838 (shmat): Don't use BOUNDED_N.
46839
46840 2013-01-31 Joseph Myers <joseph@codesourcery.com>
46841
46842 [BZ #13550]
46843 * sysdeps/generic/bp-start.h: Remove file.
46844 * csu/libc-start.c: Don't include <bp-start.h>.
46845 (LIBC_START_MAIN): Set up __environ directly instead of using
46846 INIT_ARGV_and_ENVIRON.
46847 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
46848 <bp-start.h>.
46849
46850 [BZ #13550]
46851 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
46852 definitions.
46853 (CHECK_FCNTL): Likewise.
46854 (CHECK_N_PAGES): Likewise.
46855
46856 [BZ #13550]
46857 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
46858 definitions.
46859 (CHECK_SIGSET_NULL_OK): Likewise.
46860 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
46861 <bp-checks.h>.
46862 (sigpending): Don't use CHECK_SIGSET.
46863 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
46864 <bp-checks.h>.
46865 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46866 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
46867 <bp-checks.h>.
46868 (do_sigsuspend): Don't use CHECK_SIGSET.
46869 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
46870 use CHECK_SIGSET.
46871 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
46872 (do_sigwait): Don't use CHECK_SIGSET.
46873 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
46874 use CHECK_SIGSET.
46875 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
46876 include <bp-checks.h>.
46877 (sigpending): Don't use CHECK_SIGSET.
46878 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
46879 include <bp-checks.h>.
46880 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46881 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
46882 <bp-checks.h>.
46883 (sigpending): Don't use CHECK_SIGSET.
46884 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
46885 <bp-checks.h>.
46886 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46887
46888 [BZ #13550]
46889 * sysdeps/generic/bp-semctl.h: Remove file.
46890 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
46891 <bp-checks.h> and <bp-semctl.h>.
46892 (__old_semctl): Don't use CHECK_SEMCTL.
46893 (__new_semctl): Likewise.
46894 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
46895 and <bp-semctl.h>.
46896 (__old_semctl): Don't use CHECK_SEMCTL.
46897 (__new_semctl): Likewise.
46898 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
46899 <bp-checks.h> and <bp-semctl.h>.
46900 (__old_semctl): Don't use CHECK_SEMCTL.
46901 (__new_semctl): Likewise.
46902 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
46903 <bp-checks.h> and <bp-semctl.h>.
46904 (semctl): Don't use CHECK_SEMCTL.
46905
46906 [BZ #13550]
46907 * Makerules (elide-bp-thunks): Remove variable.
46908 (elide-routines.oS): Don't use $(elide-bp-thunks).
46909 (elide-routines.os): Likewise.
46910 (elide-routines.o): Likewise.
46911 (elide-routines.op): Likewise.
46912 (elide-routines.og): Likewise.
46913 (objects): Don't use $(bp-thunks).
46914 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
46915 include.
46916 (common-generated): Do not add s-proto-bp.d.
46917 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
46918 (int): Likewise.
46919 (typ): Likewise.
46920 Do not generate makefile rules for bounded-pointer thunks.
46921 * sysdeps/generic/bp-thunks.h: Remove file.
46922 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
46923 * sysdeps/unix/s-proto-bp.S: Likewise.
46924
46925 [BZ #15062]
46926 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
46927 parts of result separately when argument is not close to line from
46928 -i to i and one part of argument is small.
46929 * math/k_casinhf.c (__kernel_casinhf): Likewise.
46930 * math/k_casinhl.c (__kernel_casinhl): Likewise.
46931 * math/libm-test.inc (cacos_test): Add more tests.
46932 (casin_test): Likewise.
46933 (casinh_test): Likewise.
46934 * sysdeps/i386/fpu/libm-test-ulps: Update.
46935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46936
46937 2013-01-31 David S. Miller <davem@davemloft.net>
46938
46939 * po/de.po: Update from translation team.
46940
46941 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
46942
46943 * time/tzfile.c: Include stdint.h for SIZE_MAX.
46944
46945 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
46946
46947 * configure.in (_AC_PROG_CC_C89): New definition.
46948 * configure: Regenerate.
46949
46950 * configure.in (AC_PROG_CPP): New definition.
46951 * configure: Regenerate.
46952
46953 2013-01-23 Joseph Myers <joseph@codesourcery.com>
46954
46955 * debug/tst-backtrace.h: New file.
46956 * debug/tst-backtrace2.c: Include tst-backtrace.h.
46957 (ret): Remove variable.
46958 (x): Likewise.
46959 (FAIL): Remove macro.
46960 (NO_INLINE): Likewise.
46961 (fn1): Use match function instead of strstr.
46962 * debug/tst-backtrace3.c: Include tst-backtrace.h.
46963 (ret): Remove variable.
46964 (x): Likewise.
46965 (FAIL): Remove macro.
46966 (NO_INLINE): Likewise.
46967 (fn): Use match function instead of strstr.
46968 * debug/tst-backtrace4.c: Include tst-backtrace.h.
46969 (ret): Remove variable.
46970 (x): Likewise.
46971 (FAIL): Remove macro.
46972 (NO_INLINE): Likewise.
46973 (handle_signal): Use match function instead of strstr.
46974 * debug/tst-backtrace5.c: Include tst-backtrace.h.
46975 (ret): Remove variable.
46976 (x): Likewise.
46977 (FAIL): Remove macro.
46978 (NO_INLINE): Likewise.
46979 (handle_signal): Use match function instead of strstr.
46980
46981 2013-01-23 Roland McGrath <roland@hack.frob.com>
46982
46983 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
46984
46985 2013-01-23 David S. Miller <davem@davemloft.net>
46986
46987 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
46988 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
46989 argument of CAS if possible.
46990 * sysdeps/sparc/sparc64/bits/atomic.h
46991 (__arch_compare_and_exchange_val_32_acq): Likewise.
46992 (__arch_compare_and_exchange_val_64_acq): Likewise.
46993
46994 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
46995
46996 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
46997 * sysdeps/posix/ulimit.c: ... this.
46998 Include <limits.h>.
46999 * sysdeps/unix/bsd/ulimit.c: Remove file.
47000
47001 2013-01-23 Adam Conrad <adconrad@0c3.net>
47002
47003 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
47004 (LDFLAGS-tst-array5): Likewise.
47005
47006 2013-01-23 Joseph Myers <joseph@codesourcery.com>
47007
47008 [BZ #15036]
47009 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
47010 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
47011 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
47012 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
47013
47014 2013-01-21 David S. Miller <davem@davemloft.net>
47015
47016 * sysdeps/sparc/backtrace.c: New file.
47017 * sysdeps/sparc/sparc32/backtrace.h: New file.
47018 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
47019 * sysdeps/sparc/sparc64/backtrace.h: New file.
47020 * sysdeps/sparc/sparc64/backtrace.c: Delete.
47021 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
47022 -funwind-tables.
47023
47024 2013-01-21 Andreas Schwab <schwab@suse.de>
47025
47026 [BZ #15020]
47027 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
47028 closed its stdout.
47029
47030 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
47031
47032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
47033 "mpa2.h".
47034 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47035
47036 2013-01-18 Joseph Myers <joseph@codesourcery.com>
47037 Mark Mitchell <mark@codesourcery.com>
47038 Tom de Vries <tom@codesourcery.com>
47039 Paul Pluzhnikov <ppluzhnikov@google.com>
47040
47041 * debug/tst-backtrace2.c: New file.
47042 * debug/tst-backtrace3.c: Likewise.
47043 * debug/tst-backtrace4.c: Likewise.
47044 * debug/tst-backtrace5.c: Likewise.
47045 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
47046 (CFLAGS-tst-backtrace3.c): Likewise.
47047 (CFLAGS-tst-backtrace4.c): Likewise.
47048 (CFLAGS-tst-backtrace5.c): Likewise.
47049 (LDFLAGS-tst-backtrace2): Likewise.
47050 (LDFLAGS-tst-backtrace3): Likewise.
47051 (LDFLAGS-tst-backtrace4): Likewise.
47052 (LDFLAGS-tst-backtrace5): Likewise.
47053 (tests): Add new tests tst-backtrace2, tst-backtrace3,
47054 tst-backtrace4 and tst-backtrace5.
47055
47056 2013-01-18 Anton Blanchard <anton@samba.org>
47057 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
47058
47059 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
47060 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
47061 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
47062 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
47063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47064 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
47065 "+r" and remove output regs list as redundant. Add explicit inline
47066 asm to specify register of return val to work around compiler codegen
47067 bug. Remove (int) cast on return value. Add return type parameter to
47068 use in macro so that this macro does not truncate return value for
47069 64-bit values.
47070 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
47071 pass to INTERNAL_VSYSCALL_NCS.
47072 (INLINE_VSYSCALL): Add 'long int' as return type to
47073 INTERNAL_VSYSCALL_NCS macro invocation.
47074 (INTERNAL_VSYSCALL): Add 'long int' as return type to
47075 INTERNAL_VSYSCALL_NCS macro invocation.
47076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47077
47078 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
47079
47080 [BZ #14496]
47081 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
47082 Fix application of SIMD FP exception mask.
47083
47084 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
47085 mp_no from a power of two.
47086 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
47087 __mpexp_twomm1. Use __pow_mp.
47088
47089 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
47090 multiplication.
47091
47092 2013-01-17 David S. Miller <davem@davemloft.net>
47093
47094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47095
47096 2013-01-17 Joseph Myers <joseph@codesourcery.com>
47097
47098 [BZ #15023]
47099 * include/complex.h: Condition contents on [!_COMPLEX_H].
47100 (__kernel_casinhf): New prototype.
47101 (__kernel_casinh): Likewise.
47102 (__kernel_casinhl): Likewise.
47103 * math/Makefile (libm_calls): Add k_casinh.
47104 * math/k_casinh.c: New file.
47105 * math/k_casinhf.c: Likewise.
47106 * math/k_casinhl.c: Likewise.
47107 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
47108 finite nonzero arguments.
47109 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
47110 finite nonzero arguments.
47111 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
47112 finite nonzero arguments.
47113 * math/s_casinh.c: Do not include <float.h>.
47114 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
47115 * math/s_casinhf.c: Do not include <float.h>.
47116 (__casinhf): Move code for finite nonzero arguments to
47117 k_casinhf.c.
47118 * math/s_casinhl.c: Do not include <float.h>.
47119 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
47120 redefine.
47121 (__casinhl): Move code for finite nonzero arguments to
47122 k_casinhl.c.
47123 * math/libm-test.inc (cacos_test): Add more tests.
47124 * sysdeps/i386/fpu/libm-test-ulps: Update.
47125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47126
47127 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
47128
47129 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
47130 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
47131 [!HAVE_MREMAP]: Remove [defined linux] case.
47132 * malloc/arena.c: Do not include <malloc-sysdep.h>.
47133
47134 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
47135
47136 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
47137
47138 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
47139
47140 * elf/elf.h (R_386_SIZE32): New relocation.
47141 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
47142 R_386_SIZE32.
47143 (elf_machine_rela): Likewise.
47144 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47145 R_X86_64_SIZE64 and R_X86_64_SIZE32.
47146
47147 2013-01-17 Joseph Myers <joseph@codesourcery.com>
47148
47149 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
47150 (FP_FAST_FMA): Do not define.
47151 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
47152 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
47153 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
47154 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
47155 !_SOFT_FLOAT]: Likewise.
47156 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
47157 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
47158 value.
47159 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
47160 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
47161 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
47162 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
47163 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
47164 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
47165 file.
47166
47167 2013-01-16 Andreas Schwab <schwab@suse.de>
47168
47169 [BZ #14327]
47170 * include/stdlib.h (__mktemp): Add declaration.
47171 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
47172 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
47173
47174 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
47175
47176 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
47177 definitions.
47178 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47179 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
47180 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
47181 definitions here.
47182 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
47183 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
47184 definitions.
47185 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
47186 and ONE.
47187 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
47188 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
47189 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
47190 definitions.
47191 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
47192 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
47193 definitions.
47194 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47195
47196 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
47197
47198 2013-01-15 David S. Miller <davem@davemloft.net>
47199
47200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47201 trunc{,f} to libm-sysdep_routes.
47202 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
47204 file.
47205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
47206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
47207 file.
47208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
47209 file.
47210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
47211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
47212 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
47213 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
47214 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
47215 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
47216 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
47217 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
47218
47219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47220 nearbyint{,f} to libm-sysdep_routes.
47221 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
47223 New file.
47224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
47225 file.
47226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
47227 New file.
47228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
47229 file.
47230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
47231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
47232 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
47233 file.
47234 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
47235 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
47236 file.
47237 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
47238 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
47239 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
47240
47241 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47242 libc_feholdexcept and libc_fesetenv.
47243
47244 2013-01-15 Mike Frysinger <vapier@gentoo.org>
47245
47246 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
47247
47248 2013-01-14 David S. Miller <davem@davemloft.net>
47249
47250 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
47251 (SPARC_ASM_VIS2_IFUNC): Likewise.
47252 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
47253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
47254 use of 'siam' instruction.
47255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
47256 Likewise.
47257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
47258 Likewise.
47259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
47260 Likewise.
47261 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
47262 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
47263 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
47264 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
47265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
47266 file.
47267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
47268 file.
47269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
47270 file.
47271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
47272 file.
47273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
47274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
47275 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
47276 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
47277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
47278 new VIS2 routines.
47279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47282 Likewise.
47283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47284 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47285 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47286 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
47288 routines to libm-sysdep_routines.
47289 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47290
47291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47292 fdim/fdimf to libm-sysdep_routines.
47293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
47294 file.
47295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
47296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
47297 file.
47298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
47299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
47300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
47301 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
47302 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
47303 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
47304 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
47305
47306 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
47307
47308 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
47309 to optimize copies.
47310
47311 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
47312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47314
47315 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
47316 local variable MPTWO.
47317 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47318 Likewise.
47319
47320 2013-01-13 Mike Frysinger <vapier@gentoo.org>
47321
47322 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
47323 GLOB_NOESCAPE.
47324
47325 2013-01-13 Mike Frysinger <vapier@gentoo.org>
47326
47327 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
47328
47329 2013-01-13 Mike Frysinger <vapier@gentoo.org>
47330
47331 * manual/pattern.texi (glob_t): Document gl_flags.
47332 (glob64_t): Likewise.
47333
47334 2013-01-11 David S. Miller <davem@davemloft.net>
47335
47336 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
47337 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
47338 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
47339 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
47340 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
47341 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
47342 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
47343 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
47344 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
47345 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
47346 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
47347 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
47348 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
47349
47350 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
47351 sparc V9 rather than using V8 code.
47352 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47353 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47354
47355 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47356 Move to...
47357 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
47358 Here.
47359
47360 2013-01-11 Roland McGrath <roland@hack.frob.com>
47361
47362 [BZ #14941]
47363 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
47364 not in the main loop.
47365 * configure: Regenerated.
47366
47367 2013-01-11 Joseph Myers <joseph@codesourcery.com>
47368
47369 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
47370 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
47371 to just #else.
47372 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
47373 [!__GLIBC_HAVE_LONG_LONG] case.
47374 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
47375 condition to just #else.
47376 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
47377 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
47378 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
47379 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
47380 unconditional.
47381 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
47382 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47383 #elif condition to just #else.
47384 * sysdeps/unix/sysv/linux/sys/sysmacros.h
47385 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
47386 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47387 #elif condition to just #else.
47388
47389 2013-01-11 Steve Ellcey <sellcey@mips.com>
47390
47391 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
47392 (EF_MIPS_ARCH_64): Fix value.
47393 (EF_MIPS_ARCH_32R2): New.
47394 (EF_MIPS_ARCH_64R2): New.
47395
47396 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
47397
47398 * Makeconfig (+link-pie-before-libc): New.
47399 (+link-pie-after-libc): Likewise.
47400 (+link-pie-tests): Likewise.
47401 (+link-pie): Rewritten.
47402 (link-before-libc): Remove $(config-LDFLAGS).
47403 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
47404 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
47405 (config-LDFLAGS): Renamed to ...
47406 (rtld-LDFLAGS): This.
47407 (rtld-tests-LDFLAGS): New macro.
47408 (link-libc-rpath-link): Likewise.
47409 (link-libc-tests-rpath-link): Likewise.
47410 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
47411 (link-libc): Prepand $(link-libc-rpath-link).
47412 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
47413 (test-program-prefix): New macro.
47414 (test-via-rtld-prefix): Likewise.
47415 (test-program-cmd): Likewise.
47416 (host-test-program-cmd): Likewise.
47417 * Makefile ($(common-objpfx)testrun.sh): Replace
47418 $(run-program-prefix) with $(test-program-prefix).
47419 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
47420 $(rtld-LDFLAGS).
47421 ($(common-objpfx)shlib.lds): Likewise.
47422 (build-module-helper): Likewise.
47423 ($(common-objpfx)format.lds): Likewise.
47424 * Rules (binaries-pie-tests): New.
47425 (binaries-pie-notests): Likewise.
47426 (binaries-pie): Rewritten.
47427 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
47428 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
47429 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
47430 (make-test-out): Replace $(host-built-program-cmd) with
47431 $(host-test-program-cmd).
47432 * config.make.in (build-hardcoded-path-in-tests): New variable.
47433 * configure.in (--enable-hardcoded-path-in-tests): New configure
47434 option.
47435 (hardcoded_path_in_tests): New AC_SUBST.
47436 * configure: Regenerated.
47437 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
47438 $(built-program-cmd) with $(test-program-cmd).
47439 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
47440 (test_program_cmd): This.
47441 * elf/Makefile ($(objpfx)order.out): Run test with
47442 $(test-program-prefix).
47443 ($(objpfx)order2.out): Likewise.
47444 ($(objpfx)tst-initorder.out): Likewise.
47445 ($(objpfx)tst-initorder2.out): Likewise.
47446 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
47447 $(test-program-cmd).
47448 ($(objpfx)tst-array1-static.out): Likewise.
47449 ($(objpfx)tst-array2.out): Likewise.
47450 ($(objpfx)tst-array3.out): Likewise.
47451 ($(objpfx)tst-array4.out): Likewise.
47452 ($(objpfx)tst-array5.out): Likewise.
47453 ($(objpfx)tst-array5-static.out): Likewise.
47454 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
47455 $(test-program-cmd).
47456 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
47457 $(run-program-prefix) with $(test-program-prefix).
47458 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
47459 (test_program_prefix): This.
47460 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
47461 $(run-program-prefix) with $(test-program-prefix).
47462 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
47463 (test_program_prefix): This.
47464 * iconvdata/tst-tables.sh: Likewise.
47465 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
47466 $(run-program-prefix) with $(test-program-prefix).
47467 ($(objpfx)tst-translit.out): Likewise.
47468 ($(objpfx)tst-gettext2.out): Likewise.
47469 ($(objpfx)tst-gettext4.out): Likewise.
47470 ($(objpfx)tst-gettext6.out): Likewise.
47471 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
47472 (test_program_prefix): This.
47473 * intl/tst-gettext2.sh: Likewise.
47474 * intl/tst-gettext4.sh Likewise.
47475 * intl/tst-gettext6.sh: Likewise.
47476 * intl/tst-translit.sh: Likewise.
47477 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
47478 with $(test-program-cmd).
47479 * libio/Makefile ($(objpfx)test-freopen.out): Replace
47480 $(run-program-prefix) with $(test-program-prefix).
47481 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
47482 (test_program_prefix): This.
47483 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
47484 $(run-program-prefix) with $(test-program-prefix).
47485 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
47486 (test_program_prefix): This.
47487 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
47488 * posix/Makefile ($(objpfx)globtest.out): Replace
47489 $(run-via-rtld-prefix) and $(test-wrapper) with
47490 $(test-program-prefix) and $(test-via-rtld-prefix).
47491 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
47492 $(test-program-prefix).
47493 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
47494 $(host-test-program-cmd).
47495 (tst-spawn-ARGS): Likewise.
47496 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
47497 $(test-program-prefix).
47498 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
47499 (test_via_rtld_prefix): This.
47500 (test_wrapper): Renamed to ...
47501 (test_program_prefix): This.
47502 (run_program_prefix): Replaced by test_program_prefix.
47503 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
47504 (test_program_prefix): This.
47505 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
47506 with $(host-test-program-cmd).
47507 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
47508 $(run-program-prefix) with $(test-program-prefix).
47509 ($(objpfx)tst-printf.out): Likewise.
47510 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
47511 $(test-program-cmd).
47512 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
47513 (test_program_prefix): This.
47514 * stdio-common/tst-unbputc.sh: Likewise.
47515 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
47516 $(run-program-prefix) with $(test-program-prefix).
47517 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
47518 (test_program_prefix): This.
47519 * string/Makefile ($(objpfx)tst-svc.out): Replace
47520 $(built-program-cmd) with $(test-program-cmd).
47521
47522 2013-01-11 Andreas Jaeger <aj@suse.de>
47523
47524 [BZ #15003]
47525 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
47526 value. Sync with Linux 3.7.
47527
47528 2013-01-10 David S. Miller <davem@davemloft.net>
47529
47530 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
47531 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47532 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47533
47534 2013-01-10 Roland McGrath <roland@hack.frob.com>
47535
47536 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
47537 never set.
47538 * configure: Regenerated.
47539
47540 2013-01-10 David S. Miller <davem@davemloft.net>
47541
47542 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
47543 sparc V9 rather than using V8 code.
47544 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47545 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47546
47547 2013-01-10 Roland McGrath <roland@hack.frob.com>
47548
47549 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
47550 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
47551 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
47552 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
47553 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
47554 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
47555 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
47556 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
47557 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
47558 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
47559 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
47560 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
47561 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
47562 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
47563 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
47564 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
47565 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
47566 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
47567 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
47568 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
47569 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
47570 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
47571 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
47572 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
47573 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
47574 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
47575 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
47576
47577 2013-01-10 David S. Miller <davem@davemloft.net>
47578
47579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47580
47581 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
47582
47583 * posix/Makefile (tests-static): New variable.
47584 (tests): Add $(tests-static).
47585 (tst-exec-static-ARGS): New variable.
47586 (tst-spawn-static-ARGS): Likewise.
47587 * posix/tst-exec-static.c: New file.
47588 * posix/tst-spawn-static.c: Likewise.
47589 * posix/tst-exec.c: Support run directly.
47590 * posix/tst-spawn.c: Likewise.
47591
47592 2013-01-10 Joseph Myers <joseph@codesourcery.com>
47593
47594 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
47595 long.
47596 * math/bits/mathcalls.h (llrint): Likewise.
47597 (llround): Likewise.
47598 * stdlib/stdlib.h (struct drand48_data): Likewise.
47599 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
47600 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
47601 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
47602 Likewise.
47603 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
47604 Likewise.
47605 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
47606 (elf_greg_t): Likewise.
47607 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
47608 (__jmp_buf): Likewise.
47609 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
47610 definitions.
47611 (llrint): Likewise, for all definitions.
47612 (llrintl): Likewise.
47613
47614 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
47615 Remove [__GNUC__] condition.
47616 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
47617 condition to just [__USE_ISOC99].
47618 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
47619
47620 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
47621
47622 [BZ #14200]
47623 * sysdeps/unix/sysv/linux/x86/bits/environments.h
47624 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
47625 defined.
47626 (_POSIX_V6_ILP32_OFF32): Likewise.
47627 (_XBS5_ILP32_OFF32): Likewise.
47628 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
47629 (__ILP32_OFFBIG_LDFLAGS): Likewise.
47630
47631 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47632
47633 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
47634
47635 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
47636 doubles __mpexp_twomm1. Adjust usage.
47637 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
47638 Remove.
47639
47640 2013-01-10 Andreas Schwab <schwab@suse.de>
47641
47642 [BZ #14964]
47643 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
47644 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
47645
47646 2013-01-09 David S. Miller <davem@davemloft.net>
47647
47648 [BZ #15003]
47649 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
47650 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
47651 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
47652 (TCP_FASTOPEN): Define.
47653 (tcp_repair_opt): New structure.
47654 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
47655 enum values.
47656 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
47657 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
47658 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
47659 (tcp_cookie_transactions): New structure.
47660
47661 2013-01-09 Anton Blanchard <anton@samba.org>
47662
47663 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
47664 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
47665 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
47666 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
47667
47668 2013-01-09 Joseph Myers <joseph@codesourcery.com>
47669
47670 * include/features.h (__USE_ANSI): Remove.
47671
47672 2013-01-09 Roland McGrath <roland@hack.frob.com>
47673
47674 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
47675
47676 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
47677
47678 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
47679
47680 * sysdeps/s390/fpu/libm-test-ulps: Update.
47681
47682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47683
47684 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
47685 (__acr): Likewise.
47686 (__cpy): Likewise.
47687 (norm): Likewise.
47688 (denorm): Likewise.
47689 (__mp_dbl): Likewise.
47690 (__dbl_mp): Likewise.
47691 (add_magnitudes): Likewise.
47692 (sub_magnitudes): Likewise.
47693 (__add): Likewise.
47694 (__sub): Likewise.
47695 (__mul): Likewise.
47696 (__inv): Likewise.
47697 (__dvd): Likewise.
47698 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
47699 (__acr): Likewise.
47700 (__cpy): Likewise.
47701 (norm): Likewise.
47702 (denorm): Likewise.
47703 (__mp_dbl): Likewise.
47704 (__dbl_mp): Likewise.
47705 (add_magnitudes): Likewise.
47706 (sub_magnitudes): Likewise.
47707 (__add): Likewise.
47708 (__sub): Likewise.
47709 (__mul): Likewise.
47710 (__inv): Likewise.
47711 (__dvd): Likewise.
47712 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
47713 (__acr): Likewise.
47714 (__cpy): Likewise.
47715 (norm): Likewise.
47716 (denorm): Likewise.
47717 (__mp_dbl): Likewise.
47718 (__dbl_mp): Likewise.
47719 (add_magnitudes): Likewise.
47720 (sub_magnitudes): Likewise.
47721 (__add): Likewise.
47722 (__sub): Likewise.
47723 (__mul): Likewise.
47724 (__inv): Likewise.
47725 (__dvd): Likewise.
47726
47727 2013-01-08 Joseph Myers <joseph@codesourcery.com>
47728
47729 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
47730 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
47731 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
47732 2 && __USE_EXTERN_INLINES]: Likewise.
47733
47734 2013-01-08 Andreas Jaeger <aj@suse.de>
47735
47736 [BZ# 14985]
47737 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
47738 Remove.
47739 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
47740 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
47741
47742 2013-01-07 Anton Blanchard <anton@samba.org>
47743
47744 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
47745 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47746 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
47747 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47748 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47749 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47750 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
47751 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
47752 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47753 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47754 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47755 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47756 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47757 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47758 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47759 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47760 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47761 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47762 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47763 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47764 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47765 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
47766 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47767 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47768 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
47769 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47770 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47771 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47772 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
47773 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47774 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47775 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47776 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47777 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47778 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47779 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47780 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47781 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
47782 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
47783 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
47784 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
47785 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47786 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47787
47788 2013-01-07 Joseph Myers <joseph@codesourcery.com>
47789
47790 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
47791 (__MALLOC_PMT): Likewise.
47792 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
47793 [__GNUC__], only on [_LIBC].
47794 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
47795 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
47796 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
47797 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
47798 forward declaration.
47799 (realloc_hook_ini): Likewise.
47800 (memalign_hook_ini): Likewise.
47801 (__libc_memalign): Do not use __MALLOC_PMT in variable
47802 declaration.
47803 (__libc_valloc): Likewise.
47804 (__libc_pvalloc): Likewise.
47805 (__libc_calloc): Likewise.
47806 (__posix_memalign): Likewise.
47807
47808 [BZ #14996]
47809 * math/s_casinh.c: Include <float.h>.
47810 (__casinh): Do not do computation with squaring and square root
47811 for large arguments.
47812 * math/s_casinhf.c: Include <float.h>.
47813 (__casinhf): Do not do computation with squaring and square root
47814 for large arguments.
47815 * math/s_casinhl.c: Include <float.h>.
47816 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
47817 (__casinhl): Do not do computation with squaring and square root
47818 for large arguments.
47819 * math/libm-test.inc (casin_test): Add more tests.
47820 (casinh_test): Likewise.
47821 * sysdeps/i386/fpu/libm-test-ulps: Update.
47822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47823
47824 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
47825
47826 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
47827 (__x86_64_raw_data_cache_size): Likewise.
47828 (__x86_64_data_cache_size_half): Likewise.
47829 (__x86_64_raw_data_cache_size_half): Likewise.
47830 (__x86_64_shared_cache_size): Likewise.
47831 (__x86_64_raw_shared_cache_size): Likewise.
47832 (__x86_64_shared_cache_size_half): Likewise.
47833 (__x86_64_raw_shared_cache_size_half): Likewise.
47834 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
47835 to ...
47836 (__x86_data_cache_size): This.
47837 (__x86_64_raw_data_cache_size): Renamed to ...
47838 (__x86_raw_data_cache_size): This.
47839 (__x86_64_data_cache_size_half): Renamed to ...
47840 (__x86_data_cache_size_half): This.
47841 (__x86_64_raw_data_cache_size_half): Renamed to ...
47842 (__x86_raw_data_cache_size_half): This.
47843 (__x86_64_shared_cache_size): Renamed to ...
47844 (__x86_shared_cache_size): This.
47845 (__x86_64_raw_shared_cache_size): Renamed to ...
47846 (__x86_raw_shared_cache_size): This.
47847 (__x86_64_shared_cache_size_half): Renamed to ...
47848 (__x86_shared_cache_size_half): This.
47849 (__x86_64_raw_shared_cache_size_half): Renamed to ...
47850 (__x86_raw_shared_cache_size_half): This.
47851 * sysdeps/x86_64/memcpy.S: Updated.
47852 * sysdeps/x86_64/memset.S: Likewise.
47853 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
47854 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47855 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47856
47857 2013-01-04 David S. Miller <davem@davemloft.net>
47858
47859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47860
47861 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
47862
47863 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
47864 1 to avoid redefinition warning.
47865 (__USE_GNU): Don't define.
47866 (init_signaling_nan): Protoize.
47867
47868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47869
47870 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
47871
47872 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
47873 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
47874 (__cpymn): Likewise.
47875 (norm): Remove commented code.
47876 (denorm): Likewise.
47877 (__mp_dbl): Likewise.
47878 (__inv): Likewise.
47879 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
47880 (__cpymn): Likewise.
47881 (norm): Remove commented code.
47882 (denorm): Likewise.
47883 (__mp_dbl): Likewise.
47884 (__inv): Likewise.
47885
47886 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
47887 mp_no value for 1.0 and 2.0.
47888 (norm): Use RADIXI instead of radixi.d.
47889 (denorm): Likewise.
47890 (__mul): Use 0.0 instead of zero.d.
47891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
47892 mp_no value for 1.0 and 2.0.
47893 (norm): Use RADIXI instead of radixi.d.
47894 (denorm): Likewise.
47895 (__mul): Use 0.0 instead of zero.d.
47896
47897 2013-01-04 Joseph Myers <joseph@codesourcery.com>
47898
47899 [BZ #14994]
47900 * math/s_casinh.c (__casinh): Reduce finite argument to first
47901 quadrant then set signs of results at the end.
47902 * math/s_casinhf.c (__casinhf): Likewise.
47903 * math/s_casinhl.c (__casinhl): Likewise.
47904 * math/libm-test.inc (casin_test): Add more tests.
47905 (casinh_test): Likewise.
47906 * sysdeps/i386/fpu/libm-test-ulps: Update.
47907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47908
47909 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
47910
47911 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
47912
47913 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
47914
47915 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
47916 declarations.
47917 (denorm): Likewise.
47918 (__mp_dbl): Likewise.
47919 (__inv): Likewise.
47920
47921 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
47922 and adjust the header comment.
47923
47924 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
47925 variable name from declaration.
47926
47927 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
47928
47929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47930 Initialize COMMON_CPUID_INDEX_7 element.
47931 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
47932 (CPUID_RTM): Likewise.
47933 (HAS_RTM): Likewise.
47934 (COMMON_CPUID_INDEX_7): New enum.
47935
47936 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
47937
47938 [BZ #14981]
47939 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
47940 size is zero, record memory as freed.
47941
47942 2013-01-03 Andreas Jaeger <aj@suse.de>
47943
47944 * po/ia.po: Add new Interlingua translation.
47945
47946 2012-01-03 Allan McRae <allan@archlinux.org>
47947
47948 * locale/programs/localedef.c: Fix description of '--posix' flag.
47949
47950 2013-01-02 Joseph Myers <joseph@codesourcery.com>
47951
47952 * NEWS: Update dates in second copyright notice.
47953 * README: Update copyright dates in example.
47954 * manual/libc.texinfo: Update copyright dates.
47955 * scripts/test-installation.pl: Update copyright date in --version
47956 output.
47957
47958 * hurd/ctty-input.c: Fix copyright notice formatting.
47959 * hurd/ctty-output.c: Likewise.
47960 * hurd/dtable.c: Likewise.
47961 * hurd/hurd-raise.c: Likewise.
47962 * hurd/hurdprio.c: Likewise.
47963 * hurd/msgportdemux.c: Likewise.
47964 * misc/sys/file.h: Likewise.
47965 * misc/sys/ioctl.h: Likewise.
47966 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
47967 * sysdeps/mach/hurd/chdir.c: Likewise.
47968 * sysdeps/mach/hurd/fchdir.c: Likewise.
47969 * sysdeps/mach/hurd/rename.c: Likewise.
47970 * sysdeps/mach/hurd/rmdir.c: Likewise.
47971 * sysdeps/mach/hurd/seekdir.c: Likewise.
47972 * sysdeps/mach/hurd/setsid.c: Likewise.
47973 * sysdeps/posix/wait3.c: Likewise.
47974
47975 * All files with FSF copyright notices: Update copyright dates
47976 using scripts/update-copyrights.
47977 * intl/plural.c: Regenerated.
47978 * locale/programs/charmap-kw.h: Likewise.
47979 * locale/programs/locfile-kw.h: Likewise.
47980
47981 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47982
47983 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
47984 four values.
47985
47986 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
47987 calculation loop and add branch prediction.
47988
47989 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
47990 check access beyond bounds of m1np.
47991
47992 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
47993 MPTWO.
47994 (__inv): Remove local variable MPTWO to use the global
47995 constant.
47996 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
47997 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
47998 variable MPTWO.
47999 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
48000 MP3HALFS static const.
48001
48002 2013-01-01 David S. Miller <davem@davemloft.net>
48003
48004 * po/ca.po: Update from translation team.
48005
48006 2013-01-01 Joseph Myers <joseph@codesourcery.com>
48007
48008 * scripts/update-copyrights: New file.
48009 * Makeconfig: Reformat copyright notice.
48010 * ctype/ctype.h: Likewise.
48011 * debug/swprintf_chk.c: Likewise.
48012 * elf/dl-cache.c: Likewise.
48013 * elf/dl-debug.c: Likewise.
48014 * elf/dl-object.c: Likewise.
48015 * grp/initgroups.c: Likewise.
48016 * hurd/Makefile: Likewise.
48017 * hurd/hurd/signal.h: Likewise.
48018 * hurd/hurdfault.c: Likewise.
48019 * hurd/hurdioctl.c: Likewise.
48020 * hurd/hurdlookup.c: Likewise.
48021 * hurd/intr-msg.c: Likewise.
48022 * iconv/gconv_open.c: Likewise.
48023 * libio/swprintf.c: Likewise.
48024 * locale/lc-ctype.c: Likewise.
48025 * locale/nl_langinfo.c: Likewise.
48026 * mach/Machrules: Likewise.
48027 * mach/Makefile: Likewise.
48028 * malloc/obstack.h: Likewise.
48029 * manual/Makefile: Likewise.
48030 * manual/tsort.awk: Likewise.
48031 * misc/bits/stab.def: Likewise.
48032 * nis/nis_print_group_entry.c: Likewise.
48033 * nis/nis_table.c: Likewise.
48034 * nis/nss_compat/compat-pwd.c: Likewise.
48035 * nis/nss_compat/compat-spwd.c: Likewise.
48036 * po/Makefile: Likewise.
48037 * posix/fnmatch.c: Likewise.
48038 * posix/regex.h: Likewise.
48039 * resolv/Makefile: Likewise.
48040 * resolv/nss_dns/dns-network.c: Likewise.
48041 * resolv/res_hconf.c: Likewise.
48042 * scripts/gen-sorted.awk: Likewise.
48043 * soft-fp/soft-fp.h: Likewise.
48044 * stdio-common/printf.h: Likewise.
48045 * stdlib/monetary.h: Likewise.
48046 * stdlib/random.c: Likewise.
48047 * stdlib/random_r.c: Likewise.
48048 * sysdeps/generic/Makefile: Likewise.
48049 * sysdeps/gnu/Makefile: Likewise.
48050 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48051 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48052 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48053 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48054 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48055 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48056 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48057 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48058 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48059 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48060 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48061 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48062 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48063 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48064 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
48065 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48066 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48067 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48068 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48069 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48070 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48071 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48072 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48073 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48074 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
48075 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48076 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
48077 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
48078 * sysdeps/mach/hurd/errnos.awk: Likewise.
48079 * sysdeps/mach/hurd/fork.c: Likewise.
48080 * sysdeps/mach/hurd/getcwd.c: Likewise.
48081 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
48082 * sysdeps/mach/hurd/mmap.c: Likewise.
48083 * sysdeps/mach/hurd/utimes.c: Likewise.
48084 * sysdeps/mach/hurd/xmknod.c: Likewise.
48085 * sysdeps/posix/profil.c: Likewise.
48086 * sysdeps/posix/readdir_r.c: Likewise.
48087 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48088 * sysdeps/powerpc/bits/setjmp.h: Likewise.
48089 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
48090 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48091 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48092 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48093 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48094 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48095 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48096 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48097 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48098 * sysdeps/pthread/lio_listio.c: Likewise.
48099 * sysdeps/sparc/dl-procinfo.h: Likewise.
48100 * sysdeps/unix/i386/sysdep.S: Likewise.
48101 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
48102 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
48103 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
48104 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
48105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48106 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
48107 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
48108 * sysdeps/unix/sysv/linux/speed.c: Likewise.
48109 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48110 * sysdeps/wordsize-32/divdi3.c: Likewise.
48111 * time/sys/time.h: Likewise.
48112 * wcsmbs/Makefile: Likewise.
48113
48114 2013-01-01 David S. Miller <davem@davemloft.net>
48115
48116 * po/fr.po: Update from translation team.
48117
48118 * catgets/gencat.c: Update copyright year.
48119 * csu/version.c: Likewise.
48120 * debug/catchsegv.sh: Likewise.
48121 * debug/pcprofiledump.c: Likewise.
48122 * debug/xtrace.sh: Likewise.
48123 * elf/ldconfig.c: Likewise.
48124 * elf/ldd.bash.in: Likewise.
48125 * elf/pldd.c: Likewise.
48126 * elf/sotruss.ksh: Likewise.
48127 * elf/sprof.c: Likewise.
48128 * iconv/iconv_prog.c: Likewise.
48129 * iconv/iconvconfig.c: Likewise.
48130 * locale/programs/locale.c: Likewise.
48131 * locale/programs/localedef.c: Likewise.
48132 * login/programs/pt_chown.c: Likewise.
48133 * malloc/memusage.sh: Likewise.
48134 * malloc/memusagestat.c: Likewise.
48135 * malloc/mtrace.pl: Likewise.
48136 * nscd/nscd.c: Likewise.
48137 * nss/getent.c: Likewise.
48138 * nss/makedb.c: Likewise.
48139 * posix/getconf.c: Likewise.
48140
48141 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
48142
48143 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
48144 numbers.
48145
48146 2012-12-30 Mike Frysinger <vapier@gentoo.org>
48147
48148 * math/bits/mathcalls.h (modf): Use __nonnull.
48149
48150 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
48151
48152 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
48153 (split): Use macro CN instead of the bare value.
48154 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
48155 could be used.
48156 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
48157 instead of the bare value.
48158 (power1): Likewise.
48159
48160 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48161
48162 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
48163 __ATAN_TWOM.
48164 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48165
48166 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
48167 their values.
48168 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48169 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48170 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
48171 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48172
48173 2012-12-28 Andreas Jaeger <aj@suse.de>
48174
48175 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
48176 values are from Linux 3.7.
48177
48178 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
48179 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
48180
48181 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48182
48183 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
48184 TRUE case.
48185
48186 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
48187 (norm): Likewise.
48188 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
48189 variables with preprocessor constants.
48190 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48191 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48192 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48193
48194 2012-12-27 Bruno Haible <bruno@clisp.org>
48195
48196 [BZ #14317]
48197 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
48198 only if needed.
48199
48200 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
48201
48202 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
48203 and use variable directly.
48204 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
48205
48206 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48207 MPONE.
48208 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
48209 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48210 variable MPONE.
48211 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48212 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48213 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
48214 include directive. Remove local variable MPONE.
48215 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
48216 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
48217 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48218
48219 2012-12-25 David S. Miller <davem@davemloft.net>
48220
48221 * version.h (RELEASE): Set to "development".
48222 (VERSION): Set to "2.17.90".
48223 * NEWS: Add 2.18 section.
48224
48225 2012-12-21 David S. Miller <davem@davemloft.net>
48226
48227 * po/hr.po: Update from translation team.
48228
48229 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48230
48231 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
48232
48233 2012-12-19 Steve Ellcey <sellcey@mips.com>
48234
48235 * NEWS: Mention new memcpy for MIPS.
48236
48237 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
48238
48239 * manual/contrib.texi (Contributors): Spelling correction.
48240
48241 2012-12-15 David S. Miller <davem@davemloft.net>
48242
48243 * po/ru.po: Update from translation team.
48244
48245 2012-12-13 David S. Miller <davem@davemloft.net>
48246
48247 * NEWS: Mention IFUNC testsuite enhancements.
48248
48249 * po/pl.po: Update from translation team.
48250 * po/bg.po: Likewise.
48251
48252 * manual/contrib.texi (Contributors): Update entries for Hongjiu
48253 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
48254
48255 2012-12-11 David S. Miller <davem@davemloft.net>
48256
48257 * po/sv.po: Update from translation team.
48258
48259 * po/vi.po: Update from translation team.
48260
48261 * po/cs.po: Update from translation team.
48262
48263 * po/de.po: Update from translation team.
48264 * po/eo.po: Likewise.
48265 * po/nl.po: Likewise.
48266
48267 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
48268
48269 [BZ #14246]
48270 * manual/argp.texi (Argp Helper Functions): Move node to follow
48271 Argp Parsing State.
48272
48273 [BZ #14872]
48274 * manual/conf.texi (Limits on File System Capacity): Mention if
48275 terminating null is included in the max size.
48276
48277 2012-12-10 Andreas Jaeger <aj@suse.de>
48278
48279 * po/cs.po: Update from translation team.
48280
48281 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
48282
48283 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
48284 void pointer and cast to uintptr_t.
48285 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
48286 path.
48287 * sysdeps/s390/s390-64/memcpy.S: Likewise.
48288 * sysdeps/s390/s390-64/memset.S: Likewise.
48289
48290 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
48291
48292 [BZ #14833]
48293 * menual/message.texi (Message Translation): Fix typos.
48294 (Helper programs for gettext): Likewise.
48295
48296 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
48297
48298 [BZ #14898]
48299 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
48300 Change to -1.
48301
48302 2012-12-07 David S. Miller <davem@davemloft.net>
48303
48304 * po/libc.pot: Update.
48305
48306 2012-12-07 Richard Henderson <rth@redhat.com>
48307
48308 [BZ #10114]
48309 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
48310 normal/normal case to before the switch.
48311 (_FP_DIV): Likewise.
48312
48313 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
48314 Mike Frysinger <vapier@gentoo.org>
48315
48316 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
48317 check for __NR_fadvise64_64.
48318
48319 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
48320
48321 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
48322 0, not just to plain "0" as a statement.
48323 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
48324 with cw.
48325
48326 2012-12-06 Joseph Myers <joseph@codesourcery.com>
48327
48328 * NEWS: Use sourceware.org in Bugzilla URL.
48329
48330 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
48331
48332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
48333 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48334
48335 * stdio-common/tst-put-error.c (do_test): Add newline to the
48336 padded test to ensure flush.
48337
48338 2012-12-05 Jeff Law <law@redhat.com>
48339
48340 * sunrpc/etc.rpc (fedfs_admin): Add entry.
48341
48342 2012-12-05 Joseph Myers <joseph@codesourcery.com>
48343
48344 * README: Don't refer to ports add-on as distributed separately.
48345 Mention AArch64 in list of systems supported in the ports add-on.
48346
48347 * LICENSES: Add more non-FSF copyright and license notices.
48348
48349 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
48350 ((unused)).
48351
48352 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
48353
48354 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
48355 10000 as width of padded output.
48356
48357 2012-12-04 Joseph Myers <joseph@codesourcery.com>
48358
48359 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
48360
48361 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
48362 variable LX with __attribute__ ((unused)).
48363 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
48364 Likewise.
48365 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
48366 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48367 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
48368 with __attribute__ ((unused)).
48369
48370 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
48371
48372 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
48373
48374 2012-12-04 Joseph Myers <joseph@codesourcery.com>
48375
48376 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
48377 (CFLAGS-nldbl-acos.c): New variable.
48378 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
48379 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
48380 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
48381 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
48382 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
48383 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
48384 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
48385 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
48386 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
48387 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
48388 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
48389 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
48390 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
48391 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
48392 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
48393 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
48394 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
48395 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
48396 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
48397 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
48398 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
48399 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
48400 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
48401 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
48402 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
48403 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
48404 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
48405 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
48406 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
48407 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
48408 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
48409 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
48410 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
48411 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
48412 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
48413 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
48414 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
48415 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
48416 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
48417 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
48418 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
48419 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
48420 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
48421 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
48422 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
48423 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
48424 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
48425 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
48426 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
48427 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
48428 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
48429 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
48430 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
48431 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
48432 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
48433 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
48434 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
48435 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
48436 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
48437 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
48438 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
48439 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
48440 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
48441 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
48442 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
48443 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
48444 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
48445 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
48446 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
48447 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
48448 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
48449 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
48450 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
48451 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
48452 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
48453 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
48454 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
48455 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
48456 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
48457 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
48458 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
48459 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
48460 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
48461 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
48462 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
48463 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
48464 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
48465 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
48466 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
48467 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
48468 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
48469 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
48470 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
48471 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
48472 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
48473 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
48474 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
48475
48476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48477 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48478
48479 [BZ #14914]
48480 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
48481 whole low double instead of just low 47 bits when splitting values
48482 into two parts.
48483
48484 2012-12-03 Allan McRae <allan@archlinux.org>
48485
48486 * manual/stdio.texi (Predefined Printf Handlers): Remove
48487 @hsep and @vsep usage.
48488
48489 2012-12-03 Mike Frysinger <vapier@gentoo.org>
48490
48491 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
48492 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
48493
48494 2012-12-03 Jeff Law <law@redhat.com>
48495
48496 * time/sys/time.h (settimeofday): Do not mark TV argument
48497 as __nonnull.
48498
48499 2012-12-01 Mike Frysinger <vapier@gentoo.org>
48500
48501 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
48502 when currently writing and seek to current position when not.
48503 * libio/Makefile (tests): Remove bug-fclose1.
48504 * libio/bug-fclose1.c: Delete.
48505
48506 2012-12-01 Joseph Myers <joseph@codesourcery.com>
48507
48508 * manual/arith.texi (feenableexcept): Fix typo.
48509 (fedisableexcept): Likewise.
48510
48511 2012-11-30 Roland McGrath <roland@hack.frob.com>
48512
48513 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
48514 second, differently-typed declaration, rather than a cast.
48515
48516 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
48517
48518 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
48519 * include/rpc/svc.h: ... here.
48520
48521 2012-11-30 Aurelien Jarno <aurel32@debian.org>
48522
48523 [BZ #13013]
48524 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
48525 depending n and resplen2 to catch cases where answer
48526 equals answerp2.
48527
48528 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
48529
48530 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
48531 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
48532
48533 2012-11-29 Mike Frysinger <vapier@gentoo.org>
48534
48535 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
48536
48537 2012-11-29 Roland McGrath <roland@hack.frob.com>
48538
48539 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
48540
48541 2012-11-28 Jeff Law <law@redhat.com>
48542
48543 [BZ #13761]
48544 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
48545 dataset_temporary. Track alloca usage into alloca_used.
48546 If dataset is large allocate and release it via malloc/free.
48547
48548 2012-06-04 Florian Weimer <fweimer@redhat.com>
48549
48550 [BZ #14197]
48551 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
48552
48553 2012-11-28 David S. Miller <davem@davemloft.net>
48554
48555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48556
48557 2012-11-28 Joseph Myers <joseph@codesourcery.com>
48558
48559 [BZ #14803]
48560 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
48561 of pi/2 rounded to nearest to 64 bits.
48562 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
48563 nearest to 64 bits.
48564 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
48565 bits.
48566
48567 2012-11-28 Jeff Law <law@redhat.com>
48568 Martin Osvald <mosvald@redhat.com>
48569
48570 [BZ #14889]
48571 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
48572 * sunrpc/svc.c: Include time.h.
48573 (__svc_accept_failed): New function.
48574 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
48575 any reason other than EINTR, call __svc_accept_failed.
48576 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
48577 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
48578
48579 2012-11-28 Andreas Schwab <schwab@suse.de>
48580
48581 * scripts/abilist.awk: Also handle indirect functions in .opd
48582 section.
48583
48584 2012-11-28 Joseph Myers <joseph@codesourcery.com>
48585
48586 [BZ #13881]
48587 * sysdeps/x86/fpu/powl_helper.c: New file.
48588 * sysdeps/x86/fpu/Makefile: Likewise.
48589 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
48590 (p3): New object.
48591 (__ieee754_powl): Use __powl_helper for finite arguments except
48592 integer exponents below 8.
48593 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
48594 (p3): New object.
48595 (__ieee754_powl): Use __powl_helper for finite arguments except
48596 integer exponents below 8.
48597 * math/libm-test.inc (pow_test): Add more tests and enable some
48598 previously disabled tests.
48599 * sysdeps/i386/fpu/libm-test-ulps: Update.
48600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48601
48602 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48603 Carlos O'Donell <carlos_odonell@mentor.com>
48604
48605 * nss/makedb.c (is_prime): Assert that input is odd and greater
48606 than 4. Note that fact in a comment too.
48607 (next_prime): Add 4 to input.
48608
48609 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
48610
48611 [BZ #11741]
48612 * libio/Makefile (tests): Add test case tst-fwrite-error.
48613 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
48614 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
48615 * libio/tst-fwrite-error.c: New test case.
48616
48617 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
48618
48619 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
48620 before casting to void *.
48621 * include/libc-internal.h (__pointer_type): New macro.
48622 (__integer_if_pointer_type_sub): Likewise.
48623 (__integer_if_pointer_type): Likewise.
48624 (cast_to_integer): Likewise.
48625 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
48626 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
48627 before casting to atomic64_t.
48628 (atomic_exchange_acq): Likewise.
48629 (__arch_exchange_and_add_body): Likewise.
48630 (__arch_add_body): Likewise.
48631 (atomic_add_negative): Likewise.
48632 (atomic_add_zero): Likewise.
48633
48634 2012-11-26 Joseph Myers <joseph@codesourcery.com>
48635
48636 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
48637 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
48638 (add_fdes): Likewise.
48639 (linear_search_fdes): Likewise.
48640 (binary_search_unencoded_fdes): Likewise.
48641
48642 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
48643
48644 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
48645
48646 2012-11-24 Adam Conrad <adconrad@0c3.net>
48647
48648 * configure.in: Autodetect C++ header directories.
48649 * configure: Regenerated.
48650
48651 2012-11-23 Mike Frysinger <vapier@gentoo.org>
48652
48653 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
48654
48655 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
48656
48657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48658
48659 2012-11-22 Joseph Myers <joseph@codesourcery.com>
48660
48661 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
48662 LDBL_MANT_DIG == 106]: Disable some tests.
48663 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
48664 Likewise.
48665 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
48666 Likewise.
48667
48668 [BZ #14871]
48669 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
48670 input for small inputs. Return +/- pi/2 for large inputs.
48671 * math/libm-test.inc (atan_test): Add more tests.
48672
48673 * sysdeps/generic/unwind-dw2-fde-glibc.c
48674 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
48675 __attribute__ ((unused)).
48676
48677 [BZ #14645]
48678 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
48679 x * y if x and y are nonzero and z is zero.
48680
48681 [BZ #14811]
48682 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
48683 nonzero exponents with absolute value below 0x1p-117 to +/-
48684 0x1p-117.
48685
48686 [BZ #14869]
48687 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
48688 up arguments below 2**-450, not just those below 2**-500.
48689 * math/libm-test.inc (hypot_test): Add another test.
48690
48691 [BZ #14868]
48692 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
48693 Return a+b for ratio over 2**120, not 2**60.
48694 * math/libm-test.inc (hypot_test): Add another test.
48695
48696 * math/libm-test.inc (clog_test): Use
48697 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
48698 (clog10_test): Likewise.
48699
48700 [BZ #6778]
48701 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
48702
48703 2012-11-22 Andreas Schwab <schwab@suse.de>
48704
48705 * sysdeps/i386/fpu/libm-test-ulps: Update.
48706
48707 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
48708
48709 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
48710 printf output with newline.
48711
48712 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
48713
48714 [BZ #14865]
48715 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
48716 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
48717 -z nodlopen, -z initfirst and -z execstack support.
48718 * configure: Regenerated.
48719
48720 * elf/elf.h (DF_1_NODIRECT): New macro.
48721 (DF_1_IGNMULDEF): Likewise.
48722 (DF_1_NOKSYMS): Likewise.
48723 (DF_1_NOHDR): Likewise.
48724 (DF_1_EDITED): Likewise.
48725 (DF_1_NORELOC): Likewise.
48726 (DF_1_SYMINTPOSE): Likewise.
48727 (DF_1_GLOBAUDIT): Likewise.
48728 (DF_1_SINGLETON): Likewise.
48729 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
48730 DT_1_SUPPORTED_MASK bits.
48731 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
48732
48733 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
48734
48735 * sysdeps/unix/make-syscalls.sh: Document prefixes.
48736
48737 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
48738
48739 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
48740 macro.
48741
48742 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
48743 (sendmmsg): Move declarations...
48744 * socket/sys/socket.h: ... here.
48745 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
48746 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
48747 include it from...
48748 * socket/recvmmsg.c: ... this new file.
48749 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
48750 (sendmmsg): Rename to __sendmmsg, create weak alias and make
48751 definition of __sendmmsg hidden.
48752 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
48753 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
48754 Move ENOSYS stub into and include it from...
48755 * socket/sendmmsg.c: ... this new file.
48756 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
48757 (sysdep_routines): Move recvmmsg and sendmmsg...
48758 * socket/Makefile (routines): ... here.
48759 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
48760 (GLIBC_PRIVATE): Add __sendmmsg.
48761 * include/sys/socket.h (__sendmmsg): Add declarations.
48762 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
48763 sendmmsg.
48764
48765 2012-11-20 Joseph Myers <joseph@codesourcery.com>
48766
48767 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
48768 variable I1 with __attribute__ ((unused)).
48769 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48770
48771 2012-11-19 Joseph Myers <joseph@codesourcery.com>
48772
48773 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
48774 DUMMY variables with __attribute__ ((unused)).
48775
48776 * bits/byteswap.h: Include <bits/types.h>.
48777 (__bswap_64): Use __uint64_t instead of unsigned long long int.
48778
48779 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
48780
48781 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
48782 string_t. Do not manually set errno.
48783 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
48784 length with __strnlen. Make sure to both set errno and return it on
48785 failure.
48786
48787 2012-11-19 David S. Miller <davem@davemloft.net>
48788
48789 With help from Joseph Myers.
48790 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
48791 very large arguments properly.
48792 * math/libm-test.inc (atan_test): New tests.
48793 (atan2_test): New tests.
48794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48795 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48796
48797 2012-11-19 Joseph Myers <joseph@codesourcery.com>
48798
48799 [BZ #14856]
48800 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
48801 Define to 3.
48802
48803 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
48804 [POSIX] (EADDRNOTAVAIL): Likewise.
48805 [POSIX] (EAFNOSUPPORT): Likewise.
48806 [POSIX] (EALREADY): Likewise.
48807 [POSIX] (ECONNABORTED): Likewise.
48808 [POSIX] (ECONNREFUSED): Likewise.
48809 [POSIX] (ECONNRESET): Likewise.
48810 [POSIX] (EDESTADDRREQ): Likewise.
48811 [POSIX] (EDQUOT): Likewise.
48812 [POSIX] (EHOSTUNREACH): Likewise.
48813 [POSIX] (EIDRM): Likewise.
48814 [POSIX] (EISCONN): Likewise.
48815 [POSIX] (ELOOP): Likewise.
48816 [POSIX] (EMULTIHOP): Likewise.
48817 [POSIX] (ENETDOWN): Likewise.
48818 [POSIX] (ENETUNREACH): Likewise.
48819 [POSIX] (ENOBUFS): Likewise.
48820 [POSIX] (ENODATA): Likewise.
48821 [POSIX] (ENOLINK): Likewise.
48822 [POSIX] (ENOMSG): Likewise.
48823 [POSIX] (ENOPROTOOPT): Likewise.
48824 [POSIX] (ENOSR): Likewise.
48825 [POSIX] (ENOSTR): Likewise.
48826 [POSIX] (ENOTCONN): Likewise.
48827 [POSIX] (ENOTSOCK): Likewise.
48828 [POSIX] (EOPNOTSUPP): Likewise.
48829 [POSIX] (EOVERFLOW): Likewise.
48830 [POSIX] (EPROTO): Likewise.
48831 [POSIX] (EPROTONOSUPPORT): Likewise.
48832 [POSIX] (EPROTOTYPE): Likewise.
48833 [POSIX] (ESTALE): Likewise.
48834 [POSIX] (ETIME): Likewise.
48835 [POSIX] (ETXTBSY): Likewise.
48836 [POSIX] (EWOULDBLOCK): Likewise.
48837 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
48838 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
48839 [POSIX] (SEEK_CUR): Likewise.
48840 [POSIX] (SEEK_END): Likewise.
48841 [POSIX || UNIX98] (mode_t): Do not require.
48842 [POSIX] (off_t): Likewise.
48843 [POSIX] (pid_t): Likewise.
48844 [POSIX] (sys/stat.h): Do not allow header.
48845 [POSIX] (unistd.h): Likewise.
48846 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
48847 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
48848 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
48849 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
48850 require.
48851 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
48852 sigevent): Specify elements.
48853 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
48854 entry.
48855 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
48856 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
48857
48858 * conform/data/cpio.h-data [POSIX]: Disable whole file.
48859 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
48860 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
48861 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
48862 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
48863 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
48864 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
48865 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
48866 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
48867 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
48868 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
48869 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
48870 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
48871 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
48872 Likewise.
48873 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
48874 Likewise.
48875 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
48876 Likewise.
48877 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
48878 Likewise.
48879 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
48880 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
48881 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
48882 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
48883 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
48884 Specify lower bound on value.
48885 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
48886 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
48887 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
48888 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
48889 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
48890 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
48891 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
48892 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
48893 value.
48894 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
48895 as optional.
48896 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
48897 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
48898 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
48899 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
48900 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
48901 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
48902 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
48903 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
48904 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
48905 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
48906 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
48907 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
48908 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
48909 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
48910 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
48911 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
48912 entry.
48913 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
48914 optional.
48915 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
48916 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
48917 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
48918 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
48919 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
48920 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
48921 Likewise.
48922 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
48923 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
48924 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
48925 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
48926 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
48927 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
48928 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
48929 as optional.
48930 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
48931 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
48932 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
48933 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
48934 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
48935 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
48936 specify as optional.
48937 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
48938 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
48939 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
48940 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
48941 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
48942 [XPG3] (NL_LANGMAX): Likewise.
48943 [POSIX || XPG3] (NL_MSGMAX): Likewise.
48944 [POSIX || XPG3] (NL_NMAX): Likewise.
48945 [POSIX || XPG3] (NL_SETMAX): Likewise.
48946 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
48947 [XPG3] (NZERO): Likewise.
48948 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
48949 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
48950 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
48951 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
48952 (REG_ERANGE): Expect.
48953 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
48954 optional-constant.
48955 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
48956 Use (void) in prototype.
48957 [POSIX] (*_t): Allow.
48958 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
48959 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
48960 (WRDE_BADVAL): Expect.
48961
48962 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
48963 expect.
48964 [XPG3 || XPG4] (O_RSYNC): Likewise.
48965 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
48966 Likewise.
48967 [XPG3 || XPG4] (pthread_sigmask): Likewise.
48968 [XPG3 || XPG4] (sigqueue): Likewise.
48969 [XPG3 || XPG4] (sigtimedwait): Likewise.
48970 [XPG3 || XPG4] (sigwaitinfo): Likewise.
48971 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
48972 [XPG3 || XPG4] (vsnprintf): Likewise.
48973 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
48974 Likewise.
48975 [XPG3 || XPG4] (blksize_t): Likewise.
48976 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
48977 Likewise.
48978 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
48979 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
48980 [XPG3 || XPG4] (struct itimerspec): Likewise.
48981 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
48982 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
48983 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
48984 [XPG3 || XPG4] (clockid_t): Likewise.
48985 [XPG3 || XPG4] (timer_t): Likewise.
48986 [XPG3 || XPG4] (clock_getres): Likewise.
48987 [XPG3 || XPG4] (clock_gettime): Likewise.
48988 [XPG3 || XPG4] (clock_settime): Likewise.
48989 [XPG3 || XPG4] (nanosleep): Likewise.
48990 [XPG3 || XPG4] (timer_create): Likewise.
48991 [XPG3 || XPG4] (timer_delete): Likewise.
48992 [XPG3 || XPG4] (timer_gettime): Likewise.
48993 [XPG3 || XPG4] (timer_getoverrun): Likewise.
48994 [XPG3 || XPG4] (timer_settime): Likewise.
48995 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
48996 [XPG3 || XPG4] (getlogin_r): Likewise.
48997 [XPG3 || XPG4] (pread): Likewise.
48998 [XPG3 || XPG4] (pthread_atfork): Likewise.
48999 [XPG3 || XPG4] (pwrite): Likewise.
49000
49001 [BZ #14835]
49002 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
49003 <bits/siginfo.h>.
49004
49005 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
49006
49007 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
49008 finalizing MALLSTREAM.
49009
49010 * sysdeps/mach/hurd/syncfs.c: New file.
49011
49012 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
49013
49014 [BZ #14719]
49015 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
49016 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
49017 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
49018 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
49019 (_nss_dns_gethostbyname4_r): Likewise.
49020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
49021 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
49022
49023 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
49024
49025 [BZ #13763]
49026 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
49027
49028 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
49029
49030 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
49031 * elf/cache.c (print_entry): Print ",AArch64" for
49032 FLAG_AARCH64_LIB64
49033
49034 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
49035 * elf/cache.c (print_entry): Print ",hard-float" for
49036 FLAG_ARM_LIBHF.
49037
49038 2012-11-18 David S. Miller <davem@davemloft.net>
49039
49040 With help from Joseph Myers.
49041 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
49042 cutoff to 2**-13.
49043 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
49044 cutoff to 2**-25.
49045 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
49046 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
49047 small.
49048 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
49049 * math/libm-test.inc (y0_test): New tests.
49050 (y1_test): New tests.
49051 * sysdeps/i386/fpu/libm-test-ulps: Update.
49052 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49054
49055 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
49056
49057 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
49058 64-bit targets.
49059 * configure: Regenerated.
49060
49061 2012-11-17 David S. Miller <davem@davemloft.net>
49062
49063 [BZ #14811]
49064 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
49065 nonzero exponents with absolute value below 0x1p-128 to +/-
49066 0x1p-128.
49067
49068 2012-11-17 Joseph Myers <joseph@codesourcery.com>
49069
49070 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
49071
49072 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
49073
49074 * posix/getconf-speclist.c: New file.
49075 * posix/posix-envs.def: Likewise.
49076 * posix/confstr.c (START_ENV_GROUP): New macro.
49077 (END_ENV_GROUP): Likewise.
49078 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49079 (KNOWN_PRESENT_ENV_STRING): Likewise.
49080 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49081 (UNKNOWN_ENVIRONMENT): Likewise.
49082 (confstr): Include posix-envs.def instead of handling
49083 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
49084 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
49085 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
49086 (END_ENV_GROUP): Likewise.
49087 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49088 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49089 (UNKNOWN_ENVIRONMENT): Likewise.
49090 (__sysconf): Include posix-envs.def instead of handling associated
49091 cases directly here.
49092 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
49093 preprocessing getconf-speclist.c rather than running getconf or
49094 generating empty file.
49095
49096 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
49097
49098 * scripts/check-local-headers.sh: Ignore 'mach' headers.
49099
49100 2012-11-16 Andrej Lajovic <natrij@gmail.com>
49101
49102 [BZ #14672]
49103 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
49104
49105 2012-11-16 David S. Miller <davem@davemloft.net>
49106
49107 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
49108 smaller than LDBL_EPSILON/2.0L, just return xm1.
49109
49110 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
49111
49112 * elf/tst-array1.c (init): Set constructor priority to 1000.
49113 (fini): Set destructor priority to 1000.
49114 * elf/tst-array2dep.c: Likewise.
49115
49116 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
49117
49118 [BZ #11741]
49119 * libio/fileops.c (_IO_new_file_write): Correctly return error.
49120 (_IO_new_file_xsputn): Also return EOF if none of the input
49121 data was written when overflow failed.
49122 * libio/iopadn.c (_IO_padn): Likewise.
49123 * libio/iowpadn.c (_IO_wpadn): Likewise.
49124 * stdio-common/tst-put-error.c: Add copyright notice.
49125 (do_test): Add case for printing padded string.
49126 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
49127 _IO_padn returned error.
49128 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
49129 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
49130 return EOF.
49131
49132 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
49133
49134 * libio/libioP.h: Add comment note that the references to C++
49135 bits are now obsolete.
49136
49137 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
49138
49139 * math/libm-test.inc (check_complex): Use asprintf.
49140
49141 2012-11-14 Joseph Myers <joseph@codesourcery.com>
49142
49143 * debug/pcprofiledump.c (print_version): Update copyright year.
49144 * malloc/memusagestat.c (print_version): Likewise.
49145
49146 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
49147
49148 [BZ #14831]
49149 * elf/Makefile (tests): Add tst-audit8.
49150 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
49151 ($(objpfx)tst-audit8.out): New target.
49152 (tst-audit8-ENV): New variable.
49153 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
49154 audit if l_reloc_result is NULL.
49155 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
49156 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
49157 * elf/tst-audit8.c: New file.
49158
49159 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
49160
49161 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
49162 * misc/Makefile (CFLAGS-select.c): Define.
49163 * posix/Makefile (CFLAGS-pause.c): Define.
49164
49165 2012-11-13 David S. Miller <davem@davemloft.net>
49166
49167 * crypt/Makefile: Move test targets after toplevel Rules
49168 inclusion. Grab any necessary sysdep routines when linking.
49169 * crypt/md5.c (md5_process_block): Remove define, we will always
49170 name it __md5_process_block.
49171 (md5_finish_ctx): Update md5_process_block call.
49172 (md5_stream): Likewise.
49173 (md5_process_bytes): Likewise.
49174 (md5_process_block): Rename to __md5_process_block and move to ...
49175 * crypt/md5-block.c: ... here.
49176 * crypt/sha256.c (sha256_process_block): Move to ...
49177 * crypt/sha256-block.c: ... here.
49178 * crypt/sha512.c (sha512_process_block): Move to ...
49179 * crypt/sha512-block.c: ... here.
49180 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
49181 path.
49182 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
49183 * sysdeps/sparc/sparc64/multiarch/Makefile
49184 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
49185 crypt subdir.
49186 (localedef-aux): Add md5 crypto assembler when in locale subdir.
49187 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
49188 multiarch changes.
49189 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
49190 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
49191 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
49192 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
49193 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
49194 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
49195 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
49196 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
49197 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
49198 file.
49199 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
49200 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
49201 file.
49202 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
49203
49204 2012-11-13 Joseph Myers <joseph@codesourcery.com>
49205
49206 * timezone/tzselect.ksh: Update from tzcode git revision
49207 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
49208 * timezone/zdump.c: Likewise.
49209 * timezone/zic.c: Likewise.
49210 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
49211 in TZVERSION setting, not $(PKGVERSION).
49212 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
49213 REPORT_BUGS_TO settings.
49214
49215 [BZ #14838]
49216 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
49217 macro.
49218
49219 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
49220
49221 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
49222 detection to immediately after _FP_ROUND().
49223 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
49224 bits are 0.
49225
49226 2012-11-11 David S. Miller <davem@davemloft.net>
49227
49228 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
49229 inttypes.h
49230 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
49231 __close rather than their public counterparts.
49232
49233 2012-11-10 Joseph Myers <joseph@codesourcery.com>
49234
49235 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
49236 file.
49237 [UNIX98] (sem_timedwait): Do not expect.
49238 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
49239 [XPG4 || UNIX98] (sockatmark): Do not expect.
49240 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
49241 (clock_getcpuclockid): Do not expect.
49242 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
49243 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
49244 Do not expect.
49245 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
49246 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
49247 [UNIX98] (vwscanf): Likewise.
49248 [UNIX98] (vswscanf): Likewise.
49249
49250 2012-11-09 Joseph Myers <joseph@codesourcery.com>
49251
49252 * timezone/version.h: Remove file.
49253 * timezone/README: Do not refer to version.h.
49254 * timezone/Makefile ($(objpfx)zic.o): New dependency on
49255 $(objpfx)version.h.
49256 ($(objpfx)zdump.o): Likewise.
49257 ($(objpfx)version.h): New target.
49258
49259 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
49260 2012i.
49261 * timezone/README: Don't mention modification to tzselect.ksh.
49262 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
49263 work on unmodified tzselect.ksh. Substitute version numbers in
49264 tzselect.ksh.
49265
49266 * Makefile (format-me): Remove.
49267 (INSTALL): Adjust indentation. Use commands directly instead of
49268 using $(format-me).
49269
49270 * aclocal.m4 (ACX_PKGVERSION): New macro.
49271 (ACX_BUGURL): Likewise.
49272 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
49273 (PKGVERSION): New AC_DEFINE_UNQUOTED.
49274 (REPORT_BUGS_TO): Likewise.
49275 * configure: Regenerated.
49276 * config.h.in (PKGVERSION): New macro.
49277 (REPORT_BUGS_TO): Likewise.
49278 * config.make.in (PKGVERSION): New variable.
49279 (PKGVERSION_TEXI): Likewise.
49280 (REPORT_BUGS_TO): Likewise.
49281 (REPORT_BUGS_TEXI): Likewise.
49282 * Makefile (format-me): Use -I$(common-objpfx)manual.
49283 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
49284 ($(common-objpfx)manual/%): New target.
49285 (manual/%): Remove target.
49286 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
49287 (print_version): Use PKGVERSION.
49288 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
49289 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
49290 and REPORT_BUGS_TO.
49291 ($(objpfx)xtrace): Likewise.
49292 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
49293 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
49294 (print_version): Use PKGVERSION.
49295 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
49296 (do_version): Use PKGVERSION.
49297 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
49298 REPORT_BUGS_TO.
49299 (common-ldd-rewrite): Likewise.
49300 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
49301 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
49302 (print_version): Use PKGVERSION.
49303 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
49304 * elf/pldd.c (argp_program_bug_address): Remove variable.
49305 (more_help): New function.
49306 (argp): Use more_help.
49307 (print_version): Use PKGVERSION.
49308 * elf/sln.c (main): Use PKGVERSION.
49309 (usage): Use REPORT_BUGS_TO.
49310 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
49311 (top level): Use PKGVERSION.
49312 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
49313 (print_version): Use PKGVERSION.
49314 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
49315 (print_version): Use PKGVERSION.
49316 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
49317 (print_version): Use PKGVERSION.
49318 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
49319 (print_version): Use PKGVERSION.
49320 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
49321 (print_version): Use PKGVERSION.
49322 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
49323 (print_version): Use PKGVERSION.
49324 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
49325 and BUGURL.
49326 ($(objpfx)memusage): Likewise.
49327 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
49328 (do_version): Use PKGVERSION.
49329 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
49330 (print_version): Use PKGVERSION.
49331 * malloc/mtrace.pl ($PACKAGE): Remove variable.
49332 ($PKGVERSION): New variable.
49333 ($REPORT_BUGS_TO): Likewise.
49334 (usage): Use $REPORT_BUGS_TO.
49335 (top level): Use $PKGVERSION.
49336 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
49337 ($(objpfx)pkgvers.texi): New rule.
49338 ($(objpfx)stamp-pkgvers): Likewise.
49339 * manual/install.texi: Include pkgvers.texi.
49340 (--with-pkgversion): Document new configure option.
49341 (--with-bugurl): Likewise.
49342 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
49343 than necessarily for this particular distribution. Use
49344 REPORT_BUGS_TO for where to report bugs.
49345 * INSTALL: Regenerated.
49346 * manual/libc.texinfo: Include pkgvers.texi.
49347 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
49348 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
49349 (print_version): Use PKGVERSION.
49350 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
49351 (print_version): Use PKGVERSION.
49352 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
49353 (print_version): Use PKGVERSION.
49354 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
49355 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
49356 macro.
49357 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
49358 (print_version): Use PKGVERSION.
49359 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
49360 (print_version): Use PKGVERSION.
49361 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
49362 and PKGVERSION.
49363
49364 * timezone/checktab.awk: Update from tzcode 2012i.
49365 * timezone/ialloc.c: Likewise.
49366 * timezone/private.h: Likewise.
49367 * timezone/scheck.c: Likewise.
49368 * timezone/tzfile.h: Likewise.
49369 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
49370 (TZVERSION): Hardcode tzcode version number.
49371 * timezone/zdump.c: Update from tzcode 2012i.
49372 * timezone/zic.c: Likewise.
49373 * timezone/version.h: New file.
49374 * timezone/README: Describe version.h. Update upstream location.
49375
49376 [BZ #14824]
49377 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
49378 (mktemp): Enable declaration.
49379 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
49380 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
49381 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
49382 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
49383 Likewise.
49384 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
49385 Likewise.
49386 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
49387 Likewise.
49388 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
49389 Likewise.
49390 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
49391 Likewise.
49392 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
49393 Likewise.
49394
49395 [BZ #14821]
49396 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
49397 offset in buffer as u_int32_t not u_long. Consistently use memcpy
49398 for copies of such integer values.
49399 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49400 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49401
49402 2012-11-09 Andreas Jaeger <aj@suse.de>
49403
49404 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
49405 definitions and declarations that are provided by
49406 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
49407
49408 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49409
49410 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
49411 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
49412 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
49413 definition.
49414
49415 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
49416
49417 * elf/elf.h: Update comment before AArch64 relocations.
49418
49419 2012-11-07 David S. Miller <davem@davemloft.net>
49420
49421 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
49422 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
49423 (__start_context): Declare.
49424 (__makecontext_ret): Delete.
49425 (__makecontext): Hook up __start_context instead of
49426 __makecontext_ret.
49427 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
49428 (sysdep_routines): Add __start_context when in stdlib.
49429
49430 2012-11-07 Joseph Myers <joseph@codesourcery.com>
49431
49432 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
49433 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
49434 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
49435 hardcoded "nm".
49436 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
49437 (READELF): New variable. Use it instead of hardcoded "readelf".
49438
49439 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
49440
49441 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
49442 * sysdeps/x86/Makefile: Here.
49443 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
49444 * sysdeps/x86/tst-xmmymm.sh: This.
49445
49446 2012-11-07 Joseph Myers <joseph@codesourcery.com>
49447
49448 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
49449 expectations.
49450 [UNIX98] (pthread_barrier_t): Do not expect.
49451 [UNIX98] (pthread_barrierattr_t): Likewise.
49452 [UNIX98] (pthread_spinlock_t): Likewise.
49453 [UNIX98] (pthread_barrier_destroy): Likewise.
49454 [UNIX98] (pthread_barrier_init): Likewise.
49455 [UNIX98] (pthread_barrier_wait): Likewise.
49456 [UNIX98] (pthread_barrierattr_destroy): Likewise.
49457 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
49458 [UNIX98] (pthread_barrierattr_init): Likewise.
49459 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
49460 [UNIX98] (pthread_getcpuclockid): Likewise.
49461 [UNIX98] (pthread_mutex_timedlock): Likewise.
49462 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
49463 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
49464 [UNIX98] (pthread_sigmask): Likewise.
49465 [UNIX98] (pthread_spin_destroy): Likewise.
49466 [UNIX98] (pthread_spin_init): Likewise.
49467 [UNIX98] (pthread_spin_lock): Likewise.
49468 [UNIX98] (pthread_spin_trylock): Likewise.
49469 [UNIX98] (pthread_spin_unlock): Likewise.
49470 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
49471 Do not expect.
49472 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
49473 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
49474 [XPG3 || XPG4] (pthread_cond_t): Likewise.
49475 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
49476 [XPG3 || XPG4] (pthread_key_t): Likewise.
49477 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
49478 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
49479 [XPG3 || XPG4] (pthread_once_t): Likewise.
49480 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
49481 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
49482 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
49483 [XPG3 || XPG4] (pthread_t): Likewise.
49484
49485 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
49486 not expect.
49487 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
49488
49489 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
49490 Change function return type to int.
49491
49492 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
49493 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
49494 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
49495 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
49496 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
49497 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
49498 [!POSIX] (posix_madvise): Likewise.
49499 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
49500 && !UNIX98].
49501 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
49502 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
49503 (mode_t): Likewise.
49504 (posix_mem_offset): Likewise.
49505 (posix_typed_mem_get_info): Likewise.
49506 (posix_typed_mem_open): Likewise.
49507
49508 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
49509 Change condition to [XOPEN2K8].
49510
49511 * conform/conformtest.pl: Preprocess allow-header data with -x c
49512 instead of from stdin.
49513 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
49514 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
49515 [C99-based standards] (cerfc): Likewise.
49516 [C99-based standards] (cexp2): Likewise.
49517 [C99-based standards] (cexpm1): Likewise.
49518 [C99-based standards] (clog10): Likewise.
49519 [C99-based standards] (clog1p): Likewise.
49520 [C99-based standards] (clog2): Likewise.
49521 [C99-based standards] (clgamma): Likewise.
49522 [C99-based standards] (ctgamma): Likewise.
49523 [C99-based standards] (cerff): Likewise.
49524 [C99-based standards] (cerfcf): Likewise.
49525 [C99-based standards] (cexp2f): Likewise.
49526 [C99-based standards] (cexpm1f): Likewise.
49527 [C99-based standards] (clog10f): Likewise.
49528 [C99-based standards] (clog1pf): Likewise.
49529 [C99-based standards] (clog2f): Likewise.
49530 [C99-based standards] (clgammaf): Likewise.
49531 [C99-based standards] (ctgammaf): Likewise.
49532 [C99-based standards] (cerfl): Likewise.
49533 [C99-based standards] (cerfcl): Likewise.
49534 [C99-based standards] (cexp2l): Likewise.
49535 [C99-based standards] (cexpm1l): Likewise.
49536 [C99-based standards] (clog10l): Likewise.
49537 [C99-based standards] (clog1pl): Likewise.
49538 [C99-based standards] (clog2l): Likewise.
49539 [C99-based standards] (clgammal): Likewise.
49540 [C99-based standards] (ctgammal): Likewise.
49541 * conform/data/inttypes.h-data [C99-based standards]: Include
49542 stdint.h-data. Remove all expectations for stdint.h contents.
49543 [C99-based standards] (PRI*): Do not allow.
49544 [C99-based standards] (SCN*): Likewise.
49545 [C99-based standards] (*_t): Likewise.
49546 [C99-based-standards] (PRId8): Expect macro.
49547 [C99-based-standards] (PRIi8): Likewise.
49548 [C99-based-standards] (PRIo8): Likewise.
49549 [C99-based-standards] (PRIu8): Likewise.
49550 [C99-based-standards] (PRIx8): Likewise.
49551 [C99-based-standards] (PRIX8): Likewise.
49552 [C99-based-standards] (SCNd8): Likewise.
49553 [C99-based-standards] (SCNi8): Likewise.
49554 [C99-based-standards] (SCNo8): Likewise.
49555 [C99-based-standards] (SCNu8): Likewise.
49556 [C99-based-standards] (SCNx8): Likewise.
49557 [C99-based-standards] (PRIdLEAST8): Likewise.
49558 [C99-based-standards] (PRIiLEAST8): Likewise.
49559 [C99-based-standards] (PRIoLEAST8): Likewise.
49560 [C99-based-standards] (PRIuLEAST8): Likewise.
49561 [C99-based-standards] (PRIxLEAST8): Likewise.
49562 [C99-based-standards] (PRIXLEAST8): Likewise.
49563 [C99-based-standards] (SCNdLEAST8): Likewise.
49564 [C99-based-standards] (SCNiLEAST8): Likewise.
49565 [C99-based-standards] (SCNoLEAST8): Likewise.
49566 [C99-based-standards] (SCNuLEAST8): Likewise.
49567 [C99-based-standards] (SCNxLEAST8): Likewise.
49568 [C99-based-standards] (PRIdFAST8): Likewise.
49569 [C99-based-standards] (PRIiFAST8): Likewise.
49570 [C99-based-standards] (PRIoFAST8): Likewise.
49571 [C99-based-standards] (PRIuFAST8): Likewise.
49572 [C99-based-standards] (PRIxFAST8): Likewise.
49573 [C99-based-standards] (PRIXFAST8): Likewise.
49574 [C99-based-standards] (SCNdFAST8): Likewise.
49575 [C99-based-standards] (SCNiFAST8): Likewise.
49576 [C99-based-standards] (SCNoFAST8): Likewise.
49577 [C99-based-standards] (SCNuFAST8): Likewise.
49578 [C99-based-standards] (SCNxFAST8): Likewise.
49579 [C99-based-standards] (PRId16): Likewise.
49580 [C99-based-standards] (PRIi16): Likewise.
49581 [C99-based-standards] (PRIo16): Likewise.
49582 [C99-based-standards] (PRIu16): Likewise.
49583 [C99-based-standards] (PRIx16): Likewise.
49584 [C99-based-standards] (PRIX16): Likewise.
49585 [C99-based-standards] (SCNd16): Likewise.
49586 [C99-based-standards] (SCNi16): Likewise.
49587 [C99-based-standards] (SCNo16): Likewise.
49588 [C99-based-standards] (SCNu16): Likewise.
49589 [C99-based-standards] (SCNx16): Likewise.
49590 [C99-based-standards] (PRIdLEAST16): Likewise.
49591 [C99-based-standards] (PRIiLEAST16): Likewise.
49592 [C99-based-standards] (PRIoLEAST16): Likewise.
49593 [C99-based-standards] (PRIuLEAST16): Likewise.
49594 [C99-based-standards] (PRIxLEAST16): Likewise.
49595 [C99-based-standards] (PRIXLEAST16): Likewise.
49596 [C99-based-standards] (SCNdLEAST16): Likewise.
49597 [C99-based-standards] (SCNiLEAST16): Likewise.
49598 [C99-based-standards] (SCNoLEAST16): Likewise.
49599 [C99-based-standards] (SCNuLEAST16): Likewise.
49600 [C99-based-standards] (SCNxLEAST16): Likewise.
49601 [C99-based-standards] (PRIdFAST16): Likewise.
49602 [C99-based-standards] (PRIiFAST16): Likewise.
49603 [C99-based-standards] (PRIoFAST16): Likewise.
49604 [C99-based-standards] (PRIuFAST16): Likewise.
49605 [C99-based-standards] (PRIxFAST16): Likewise.
49606 [C99-based-standards] (PRIXFAST16): Likewise.
49607 [C99-based-standards] (SCNdFAST16): Likewise.
49608 [C99-based-standards] (SCNiFAST16): Likewise.
49609 [C99-based-standards] (SCNoFAST16): Likewise.
49610 [C99-based-standards] (SCNuFAST16): Likewise.
49611 [C99-based-standards] (SCNxFAST16): Likewise.
49612 [C99-based-standards] (PRId32): Likewise.
49613 [C99-based-standards] (PRIi32): Likewise.
49614 [C99-based-standards] (PRIo32): Likewise.
49615 [C99-based-standards] (PRIu32): Likewise.
49616 [C99-based-standards] (PRIx32): Likewise.
49617 [C99-based-standards] (PRIX32): Likewise.
49618 [C99-based-standards] (SCNd32): Likewise.
49619 [C99-based-standards] (SCNi32): Likewise.
49620 [C99-based-standards] (SCNo32): Likewise.
49621 [C99-based-standards] (SCNu32): Likewise.
49622 [C99-based-standards] (SCNx32): Likewise.
49623 [C99-based-standards] (PRIdLEAST32): Likewise.
49624 [C99-based-standards] (PRIiLEAST32): Likewise.
49625 [C99-based-standards] (PRIoLEAST32): Likewise.
49626 [C99-based-standards] (PRIuLEAST32): Likewise.
49627 [C99-based-standards] (PRIxLEAST32): Likewise.
49628 [C99-based-standards] (PRIXLEAST32): Likewise.
49629 [C99-based-standards] (SCNdLEAST32): Likewise.
49630 [C99-based-standards] (SCNiLEAST32): Likewise.
49631 [C99-based-standards] (SCNoLEAST32): Likewise.
49632 [C99-based-standards] (SCNuLEAST32): Likewise.
49633 [C99-based-standards] (SCNxLEAST32): Likewise.
49634 [C99-based-standards] (PRIdFAST32): Likewise.
49635 [C99-based-standards] (PRIiFAST32): Likewise.
49636 [C99-based-standards] (PRIoFAST32): Likewise.
49637 [C99-based-standards] (PRIuFAST32): Likewise.
49638 [C99-based-standards] (PRIxFAST32): Likewise.
49639 [C99-based-standards] (PRIXFAST32): Likewise.
49640 [C99-based-standards] (SCNdFAST32): Likewise.
49641 [C99-based-standards] (SCNiFAST32): Likewise.
49642 [C99-based-standards] (SCNoFAST32): Likewise.
49643 [C99-based-standards] (SCNuFAST32): Likewise.
49644 [C99-based-standards] (SCNxFAST32): Likewise.
49645 [C99-based-standards] (PRId64): Likewise.
49646 [C99-based-standards] (PRIi64): Likewise.
49647 [C99-based-standards] (PRIo64): Likewise.
49648 [C99-based-standards] (PRIu64): Likewise.
49649 [C99-based-standards] (PRIx64): Likewise.
49650 [C99-based-standards] (PRIX64): Likewise.
49651 [C99-based-standards] (SCNd64): Likewise.
49652 [C99-based-standards] (SCNi64): Likewise.
49653 [C99-based-standards] (SCNo64): Likewise.
49654 [C99-based-standards] (SCNu64): Likewise.
49655 [C99-based-standards] (SCNx64): Likewise.
49656 [C99-based-standards] (PRIdLEAST64): Likewise.
49657 [C99-based-standards] (PRIiLEAST64): Likewise.
49658 [C99-based-standards] (PRIoLEAST64): Likewise.
49659 [C99-based-standards] (PRIuLEAST64): Likewise.
49660 [C99-based-standards] (PRIxLEAST64): Likewise.
49661 [C99-based-standards] (PRIXLEAST64): Likewise.
49662 [C99-based-standards] (SCNdLEAST64): Likewise.
49663 [C99-based-standards] (SCNiLEAST64): Likewise.
49664 [C99-based-standards] (SCNoLEAST64): Likewise.
49665 [C99-based-standards] (SCNuLEAST64): Likewise.
49666 [C99-based-standards] (SCNxLEAST64): Likewise.
49667 [C99-based-standards] (PRIdFAST64): Likewise.
49668 [C99-based-standards] (PRIiFAST64): Likewise.
49669 [C99-based-standards] (PRIoFAST64): Likewise.
49670 [C99-based-standards] (PRIuFAST64): Likewise.
49671 [C99-based-standards] (PRIxFAST64): Likewise.
49672 [C99-based-standards] (PRIXFAST64): Likewise.
49673 [C99-based-standards] (SCNdFAST64): Likewise.
49674 [C99-based-standards] (SCNiFAST64): Likewise.
49675 [C99-based-standards] (SCNoFAST64): Likewise.
49676 [C99-based-standards] (SCNuFAST64): Likewise.
49677 [C99-based-standards] (SCNxFAST64): Likewise.
49678 [C99-based-standards] (PRIdMAX): Likewise.
49679 [C99-based-standards] (PRIiMAX): Likewise.
49680 [C99-based-standards] (PRIoMAX): Likewise.
49681 [C99-based-standards] (PRIuMAX): Likewise.
49682 [C99-based-standards] (PRIxMAX): Likewise.
49683 [C99-based-standards] (PRIXMAX): Likewise.
49684 [C99-based-standards] (SCNdMAX): Likewise.
49685 [C99-based-standards] (SCNiMAX): Likewise.
49686 [C99-based-standards] (SCNoMAX): Likewise.
49687 [C99-based-standards] (SCNuMAX): Likewise.
49688 [C99-based-standards] (SCNxMAX): Likewise.
49689 [C99-based-standards] (PRIdPTR): Likewise.
49690 [C99-based-standards] (PRIiPTR): Likewise.
49691 [C99-based-standards] (PRIoPTR): Likewise.
49692 [C99-based-standards] (PRIuPTR): Likewise.
49693 [C99-based-standards] (PRIxPTR): Likewise.
49694 [C99-based-standards] (PRIXPTR): Likewise.
49695 [C99-based-standards] (SCNdPTR): Likewise.
49696 [C99-based-standards] (SCNiPTR): Likewise.
49697 [C99-based-standards] (SCNoPTR): Likewise.
49698 [C99-based-standards] (SCNuPTR): Likewise.
49699 [C99-based-standards] (SCNxPTR): Likewise.
49700 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
49701 allow.
49702 * conform/data/stdint.h-data: Update comments to clarify
49703 requirements.
49704 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
49705 type.
49706 [C99-based standards] (INT8_MAX): Likewise.
49707 [C99-based standards] (INT16_MIN): Likewise.
49708 [C99-based standards] (INT16_MAX): Likewise.
49709 [C99-based standards] (INT32_MIN): Likewise.
49710 [C99-based standards] (INT32_MAX): Likewise.
49711 [C99-based standards] (INT64_MIN): Likewise.
49712 [C99-based standards] (INT64_MAX): Likewise.
49713 [C99-based standards] (UINT8_MAX): Likewise.
49714 [C99-based standards] (UINT16_MAX): Likewise.
49715 [C99-based standards] (UINT32_MAX): Likewise.
49716 [C99-based standards] (UINT64_MAX): Likewise.
49717 [C99-based standards] (INT_LEAST8_MIN): Likewise.
49718 [C99-based standards] (INT_LEAST8_MAX): Likewise.
49719 [C99-based standards] (INT_LEAST16_MIN): Likewise.
49720 [C99-based standards] (INT_LEAST16_MAX): Likewise.
49721 [C99-based standards] (INT_LEAST32_MIN): Likewise.
49722 [C99-based standards] (INT_LEAST32_MAX): Likewise.
49723 [C99-based standards] (INT_LEAST64_MIN): Likewise.
49724 [C99-based standards] (INT_LEAST64_MAX): Likewise.
49725 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
49726 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
49727 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
49728 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
49729 [C99-based standards] (INT_FAST8_MIN): Likewise.
49730 [C99-based standards] (INT_FAST8_MAX): Likewise.
49731 [C99-based standards] (INT_FAST16_MIN): Likewise.
49732 [C99-based standards] (INT_FAST16_MAX): Likewise.
49733 [C99-based standards] (INT_FAST32_MIN): Likewise.
49734 [C99-based standards] (INT_FAST32_MAX): Likewise.
49735 [C99-based standards] (INT_FAST64_MIN): Likewise.
49736 [C99-based standards] (INT_FAST64_MAX): Likewise.
49737 [C99-based standards] (UINT_FAST8_MAX): Likewise.
49738 [C99-based standards] (UINT_FAST16_MAX): Likewise.
49739 [C99-based standards] (UINT_FAST32_MAX): Likewise.
49740 [C99-based standards] (UINT_FAST64_MAX): Likewise.
49741 [C99-based standards] (INTPTR_MIN): Likewise.
49742 [C99-based standards] (INTPTR_MAX): Likewise.
49743 [C99-based standards] (UINTPTR_MAX): Likewise.
49744 [C99-based standards] (INTMAX_MIN): Likewise.
49745 [C99-based standards] (INTMAX_MAX): Likewise.
49746 [C99-based standards] (UINTMAX_MAX): Likewise.
49747 [C99-based standards] (PTRDIFF_MIN): Likewise.
49748 [C99-based standards] (PTRDIFF_MAX): Likewise.
49749 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
49750 [C99-based standards] (SIZE_MAX): Likewise.
49751 [C99-based standards] (WCHAR_MAX): Likewise.
49752 [C99-based standards] (WINT_MAX): Likewise.
49753 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
49754 constraint on value.
49755 [C99-based standards] (WCHAR_MIN): Likewise.
49756 [C99-based standards] (WINT_MIN): Likewise.
49757 [C99-based standards] (*_t): Allow.
49758 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
49759 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
49760 Include math.h-data and complex.h-data. Remove all expectations
49761 of math.h and complex.h contents.
49762 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
49763 at end of line.
49764 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
49765 (struct tm): Expect tag.
49766 [C99-based-standards] (wcstof): Expect function.
49767 [C99-based-standards] (wcstold): Likewise.
49768 [C99-based-standards] (wcstoll): Likewise.
49769 [C99-based-standards] (wcstoull): Likewise.
49770 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
49771 macro-int-constant. Specify type.
49772 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
49773 constraint on value.
49774 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
49775 Specify type.
49776 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
49777 Specify value.
49778 [ISO C standards]: Do not allow headers.
49779 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
49780 wcs[abcdefghijklmnopqrstuvwxyz]*.
49781 [ISO C standards] (*_t): Do not allow.
49782 * conform/data/wctype.h-data [C99-based standards] (iswblank):
49783 Expect function.
49784 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
49785 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
49786 Specify type.
49787 [ISO C standards]: Do not allow headers.
49788 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
49789 is[abcdefghijklmnopqrstuvwxyz]*.
49790 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
49791 to[abcdefghijklmnopqrstuvwxyz]*.
49792 [ISO C standards] (*_t): Do not allow.
49793 * conform/data/stdalign.h-data: New file.
49794 * conform/data/stdbool.h-data: Likewise.
49795 * conform/data/stdnoreturn.h-data: Likewise.
49796
49797 2012-11-07 Roland McGrath <roland@hack.frob.com>
49798
49799 [BZ #14815]
49800 * manual/filesys.texi (Directory Entries): Typo fix.
49801 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
49802
49803 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
49804
49805 * elf/elf.h (EM_AARCH64): New macro.
49806 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
49807 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
49808 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
49809 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
49810 (R_AARCH64_TLSDESC): Likewise.
49811 (NT_ARM_TLS): Likewise.
49812 (NT_ARM_HW_BREAK): Likewise.
49813 (NT_ARM_HW_WATCH): Likewise.
49814
49815 2012-11-07 Joseph Myers <joseph@codesourcery.com>
49816
49817 [BZ #14811]
49818 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
49819 (__ieee754_powl): Saturate nonzero exponents with absolute value
49820 below 0x1p-79 to +/- 0x1p-79.
49821 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
49822 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
49823 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
49824 nonzero exponents with absolute value below 0x1p-32 to +/-
49825 0x1p-32.
49826 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
49827 (__ieee754_powl): Saturate nonzero exponents with absolute value
49828 below 0x1p-79 to +/- 0x1p-79.
49829 * math/libm-test.inc (pow_test): Add more tests.
49830
49831 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49832
49833 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
49834 _dl_s390_cap_flags with kernel. Increase string length.
49835 (_dl_s390_platforms): Add z196 and zEC12.
49836
49837 2012-11-07 Joseph Myers <joseph@codesourcery.com>
49838
49839 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
49840 Change XOPEN21K to XOPEN2K.
49841
49842 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
49843
49844 * string/memmove.c: Use memcpy when possible.
49845
49846 2012-11-06 Andreas Jaeger <aj@suse.de>
49847
49848 * po/eo.po: Update from translation team.
49849
49850 2012-11-06 Joseph Myers <joseph@codesourcery.com>
49851
49852 [BZ #14793]
49853 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
49854 exponent and small x and y exponents, scale x or y up. Increase
49855 by 2 the exponent used in scaling up.
49856 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49857 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49858 * math/libm-test.inc (fma_test): Add more tests.
49859 (fma_test_towardzero): Likewise.
49860 (fma_test_downward): Likewise.
49861 (fma_test_upward): Likewise.
49862
49863 2012-11-05 Joseph Myers <joseph@codesourcery.com>
49864
49865 [BZ #14805]
49866 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
49867 fenv_t *.
49868
49869 [BZ #14801]
49870 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
49871 namespace for names of struct fields.
49872 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
49873 fenv_t fields.
49874 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
49875 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
49876
49877 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
49878
49879 [BZ #3665]
49880 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
49881
49882 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
49883
49884 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
49885 PTR_DEMANGLE.
49886
49887 [BZ #5246]
49888 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
49889 PTR_DEMANGLE.
49890
49891 2012-11-04 Joseph Myers <joseph@codesourcery.com>
49892
49893 [BZ #14797]
49894 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
49895 definitely overflow as x * y not x * y + z.
49896 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49897 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49898 * math/libm-test.inc (fma_test): Add more tests.
49899 (fma_test_towardzero): Likewise.
49900 (fma_test_downward): Likewise.
49901 (fma_test_upward): Likewise.
49902
49903 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
49904
49905 [BZ #157]
49906
49907 * include/stub-tag.h: Remove file.
49908 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
49909 '#include' of it.
49910 * manual/maint.texi (Porting): Don't reference it.
49911 * Makerules ($(objpfx)stubs): Likewise.
49912 * dirent/closedir.c: Don't include <stub-tag.h>.
49913 * dirent/dirfd.c: Likewise.
49914 * dirent/fdopendir.c: Likewise.
49915 * dirent/getdents.c: Likewise.
49916 * dirent/getdents64.c: Likewise.
49917 * dirent/opendir.c: Likewise.
49918 * dirent/readdir.c: Likewise.
49919 * dirent/readdir64.c: Likewise.
49920 * dirent/readdir64_r.c: Likewise.
49921 * dirent/readdir_r.c: Likewise.
49922 * dirent/rewinddir.c: Likewise.
49923 * dirent/seekdir.c: Likewise.
49924 * dirent/telldir.c: Likewise.
49925 * gmon/profil.c: Likewise.
49926 * grp/setgroups.c: Likewise.
49927 * inet/if_index.c: Likewise.
49928 * io/access.c: Likewise.
49929 * io/chdir.c: Likewise.
49930 * io/chmod.c: Likewise.
49931 * io/chown.c: Likewise.
49932 * io/close.c: Likewise.
49933 * io/dup.c: Likewise.
49934 * io/dup2.c: Likewise.
49935 * io/dup3.c: Likewise.
49936 * io/euidaccess.c: Likewise.
49937 * io/faccessat.c: Likewise.
49938 * io/fchdir.c: Likewise.
49939 * io/fchmod.c: Likewise.
49940 * io/fchmodat.c: Likewise.
49941 * io/fchown.c: Likewise.
49942 * io/fchownat.c: Likewise.
49943 * io/fcntl.c: Likewise.
49944 * io/flock.c: Likewise.
49945 * io/fstatfs.c: Likewise.
49946 * io/fstatfs64.c: Likewise.
49947 * io/fstatvfs.c: Likewise.
49948 * io/fstatvfs64.c: Likewise.
49949 * io/futimens.c: Likewise.
49950 * io/fxstat.c: Likewise.
49951 * io/fxstat64.c: Likewise.
49952 * io/fxstatat.c: Likewise.
49953 * io/fxstatat64.c: Likewise.
49954 * io/getcwd.c: Likewise.
49955 * io/isatty.c: Likewise.
49956 * io/lchmod.c: Likewise.
49957 * io/lchown.c: Likewise.
49958 * io/link.c: Likewise.
49959 * io/linkat.c: Likewise.
49960 * io/lseek.c: Likewise.
49961 * io/lseek64.c: Likewise.
49962 * io/lxstat64.c: Likewise.
49963 * io/mkdir.c: Likewise.
49964 * io/mkdirat.c: Likewise.
49965 * io/mkfifo.c: Likewise.
49966 * io/mkfifoat.c: Likewise.
49967 * io/open.c: Likewise.
49968 * io/open64.c: Likewise.
49969 * io/openat.c: Likewise.
49970 * io/openat64.c: Likewise.
49971 * io/pipe.c: Likewise.
49972 * io/pipe2.c: Likewise.
49973 * io/poll.c: Likewise.
49974 * io/posix_fadvise.c: Likewise.
49975 * io/posix_fadvise64.c: Likewise.
49976 * io/posix_fallocate.c: Likewise.
49977 * io/posix_fallocate64.c: Likewise.
49978 * io/read.c: Likewise.
49979 * io/readlink.c: Likewise.
49980 * io/readlinkat.c: Likewise.
49981 * io/rmdir.c: Likewise.
49982 * io/sendfile.c: Likewise.
49983 * io/sendfile64.c: Likewise.
49984 * io/statfs.c: Likewise.
49985 * io/statfs64.c: Likewise.
49986 * io/statvfs.c: Likewise.
49987 * io/statvfs64.c: Likewise.
49988 * io/symlink.c: Likewise.
49989 * io/symlinkat.c: Likewise.
49990 * io/ttyname.c: Likewise.
49991 * io/ttyname_r.c: Likewise.
49992 * io/umask.c: Likewise.
49993 * io/unlink.c: Likewise.
49994 * io/unlinkat.c: Likewise.
49995 * io/utime.c: Likewise.
49996 * io/utimensat.c: Likewise.
49997 * io/write.c: Likewise.
49998 * io/xmknod.c: Likewise.
49999 * io/xmknodat.c: Likewise.
50000 * io/xstat.c: Likewise.
50001 * io/xstat64.c: Likewise.
50002 * login/getpt.c: Likewise.
50003 * login/grantpt.c: Likewise.
50004 * login/unlockpt.c: Likewise.
50005 * math/e_acoshl.c: Likewise.
50006 * math/e_acosl.c: Likewise.
50007 * math/e_asinl.c: Likewise.
50008 * math/e_atan2l.c: Likewise.
50009 * math/e_atanhl.c: Likewise.
50010 * math/e_coshl.c: Likewise.
50011 * math/e_expl.c: Likewise.
50012 * math/e_fmodl.c: Likewise.
50013 * math/e_gammal_r.c: Likewise.
50014 * math/e_hypotl.c: Likewise.
50015 * math/e_j0l.c: Likewise.
50016 * math/e_j1l.c: Likewise.
50017 * math/e_jnl.c: Likewise.
50018 * math/e_lgammal_r.c: Likewise.
50019 * math/e_log10l.c: Likewise.
50020 * math/e_log2l.c: Likewise.
50021 * math/e_logl.c: Likewise.
50022 * math/e_powl.c: Likewise.
50023 * math/e_rem_pio2l.c: Likewise.
50024 * math/e_sinhl.c: Likewise.
50025 * math/e_sqrtl.c: Likewise.
50026 * math/fclrexcpt.c: Likewise.
50027 * math/fedisblxcpt.c: Likewise.
50028 * math/feenablxcpt.c: Likewise.
50029 * math/fegetenv.c: Likewise.
50030 * math/fegetexcept.c: Likewise.
50031 * math/fegetround.c: Likewise.
50032 * math/feholdexcpt.c: Likewise.
50033 * math/fesetenv.c: Likewise.
50034 * math/fesetround.c: Likewise.
50035 * math/feupdateenv.c: Likewise.
50036 * math/fgetexcptflg.c: Likewise.
50037 * math/fraiseexcpt.c: Likewise.
50038 * math/fsetexcptflg.c: Likewise.
50039 * math/ftestexcept.c: Likewise.
50040 * math/k_cosl.c: Likewise.
50041 * math/k_rem_pio2l.c: Likewise.
50042 * math/k_sinl.c: Likewise.
50043 * math/k_tanl.c: Likewise.
50044 * math/s_asinhl.c: Likewise.
50045 * math/s_atanl.c: Likewise.
50046 * math/s_cbrtl.c: Likewise.
50047 * math/s_erfl.c: Likewise.
50048 * math/s_expm1l.c: Likewise.
50049 * math/s_log1pl.c: Likewise.
50050 * math/s_tanhl.c: Likewise.
50051 * misc/acct.c: Likewise.
50052 * misc/brk.c: Likewise.
50053 * misc/chflags.c: Likewise.
50054 * misc/chroot.c: Likewise.
50055 * misc/fchflags.c: Likewise.
50056 * misc/fgetxattr.c: Likewise.
50057 * misc/flistxattr.c: Likewise.
50058 * misc/fremovexattr.c: Likewise.
50059 * misc/fsetxattr.c: Likewise.
50060 * misc/fsync.c: Likewise.
50061 * misc/ftruncate.c: Likewise.
50062 * misc/futimes.c: Likewise.
50063 * misc/futimesat.c: Likewise.
50064 * misc/getdomain.c: Likewise.
50065 * misc/getdtsz.c: Likewise.
50066 * misc/gethostid.c: Likewise.
50067 * misc/gethostname.c: Likewise.
50068 * misc/getloadavg.c: Likewise.
50069 * misc/getpagesize.c: Likewise.
50070 * misc/getsysstats.c: Likewise.
50071 * misc/getxattr.c: Likewise.
50072 * misc/gtty.c: Likewise.
50073 * misc/ioctl.c: Likewise.
50074 * misc/lgetxattr.c: Likewise.
50075 * misc/listxattr.c: Likewise.
50076 * misc/llistxattr.c: Likewise.
50077 * misc/lremovexattr.c: Likewise.
50078 * misc/lsetxattr.c: Likewise.
50079 * misc/lutimes.c: Likewise.
50080 * misc/madvise.c: Likewise.
50081 * misc/mincore.c: Likewise.
50082 * misc/mlock.c: Likewise.
50083 * misc/mlockall.c: Likewise.
50084 * misc/mmap.c: Likewise.
50085 * misc/mprotect.c: Likewise.
50086 * misc/msync.c: Likewise.
50087 * misc/munlock.c: Likewise.
50088 * misc/munlockall.c: Likewise.
50089 * misc/munmap.c: Likewise.
50090 * misc/preadv.c: Likewise.
50091 * misc/preadv64.c: Likewise.
50092 * misc/ptrace.c: Likewise.
50093 * misc/pwritev.c: Likewise.
50094 * misc/pwritev64.c: Likewise.
50095 * misc/readv.c: Likewise.
50096 * misc/reboot.c: Likewise.
50097 * misc/remap_file_pages.c: Likewise.
50098 * misc/removexattr.c: Likewise.
50099 * misc/revoke.c: Likewise.
50100 * misc/select.c: Likewise.
50101 * misc/setdomain.c: Likewise.
50102 * misc/setegid.c: Likewise.
50103 * misc/seteuid.c: Likewise.
50104 * misc/sethostid.c: Likewise.
50105 * misc/sethostname.c: Likewise.
50106 * misc/setregid.c: Likewise.
50107 * misc/setreuid.c: Likewise.
50108 * misc/setxattr.c: Likewise.
50109 * misc/sstk.c: Likewise.
50110 * misc/stty.c: Likewise.
50111 * misc/swapoff.c: Likewise.
50112 * misc/swapon.c: Likewise.
50113 * misc/sync.c: Likewise.
50114 * misc/syncfs.c: Likewise.
50115 * misc/syscall.c: Likewise.
50116 * misc/truncate.c: Likewise.
50117 * misc/ualarm.c: Likewise.
50118 * misc/usleep.c: Likewise.
50119 * misc/ustat.c: Likewise.
50120 * misc/utimes.c: Likewise.
50121 * misc/vhangup.c: Likewise.
50122 * misc/writev.c: Likewise.
50123 * posix/_exit.c: Likewise.
50124 * posix/alarm.c: Likewise.
50125 * posix/execve.c: Likewise.
50126 * posix/fexecve.c: Likewise.
50127 * posix/fork.c: Likewise.
50128 * posix/fpathconf.c: Likewise.
50129 * posix/getaddrinfo.c: Likewise.
50130 * posix/getegid.c: Likewise.
50131 * posix/geteuid.c: Likewise.
50132 * posix/getgid.c: Likewise.
50133 * posix/getgroups.c: Likewise.
50134 * posix/getlogin.c: Likewise.
50135 * posix/getlogin_r.c: Likewise.
50136 * posix/getpgid.c: Likewise.
50137 * posix/getpid.c: Likewise.
50138 * posix/getppid.c: Likewise.
50139 * posix/getresgid.c: Likewise.
50140 * posix/getresuid.c: Likewise.
50141 * posix/getsid.c: Likewise.
50142 * posix/getuid.c: Likewise.
50143 * posix/glob64.c: Likewise.
50144 * posix/nanosleep.c: Likewise.
50145 * posix/pathconf.c: Likewise.
50146 * posix/pause.c: Likewise.
50147 * posix/posix_madvise.c: Likewise.
50148 * posix/pread.c: Likewise.
50149 * posix/pread64.c: Likewise.
50150 * posix/pwrite.c: Likewise.
50151 * posix/pwrite64.c: Likewise.
50152 * posix/sched_getaffinity.c: Likewise.
50153 * posix/sched_getp.c: Likewise.
50154 * posix/sched_gets.c: Likewise.
50155 * posix/sched_primax.c: Likewise.
50156 * posix/sched_primin.c: Likewise.
50157 * posix/sched_rr_gi.c: Likewise.
50158 * posix/sched_setaffinity.c: Likewise.
50159 * posix/sched_setp.c: Likewise.
50160 * posix/sched_sets.c: Likewise.
50161 * posix/sched_yield.c: Likewise.
50162 * posix/setgid.c: Likewise.
50163 * posix/setlogin.c: Likewise.
50164 * posix/setpgid.c: Likewise.
50165 * posix/setresgid.c: Likewise.
50166 * posix/setresuid.c: Likewise.
50167 * posix/setsid.c: Likewise.
50168 * posix/setuid.c: Likewise.
50169 * posix/sleep.c: Likewise.
50170 * posix/spawni.c: Likewise.
50171 * posix/sysconf.c: Likewise.
50172 * posix/times.c: Likewise.
50173 * posix/wait.c: Likewise.
50174 * posix/wait3.c: Likewise.
50175 * posix/wait4.c: Likewise.
50176 * posix/waitpid.c: Likewise.
50177 * resolv/gai_sigqueue.c: Likewise.
50178 * resource/getpriority.c: Likewise.
50179 * resource/getrlimit.c: Likewise.
50180 * resource/getrusage.c: Likewise.
50181 * resource/nice.c: Likewise.
50182 * resource/setpriority.c: Likewise.
50183 * resource/setrlimit.c: Likewise.
50184 * resource/ulimit.c: Likewise.
50185 * rt/aio_cancel.c: Likewise.
50186 * rt/aio_fsync.c: Likewise.
50187 * rt/aio_read.c: Likewise.
50188 * rt/aio_sigqueue.c: Likewise.
50189 * rt/aio_suspend.c: Likewise.
50190 * rt/aio_write.c: Likewise.
50191 * rt/clock_getres.c: Likewise.
50192 * rt/clock_gettime.c: Likewise.
50193 * rt/clock_nanosleep.c: Likewise.
50194 * rt/clock_settime.c: Likewise.
50195 * rt/lio_listio.c: Likewise.
50196 * rt/mq_close.c: Likewise.
50197 * rt/mq_getattr.c: Likewise.
50198 * rt/mq_notify.c: Likewise.
50199 * rt/mq_open.c: Likewise.
50200 * rt/mq_receive.c: Likewise.
50201 * rt/mq_send.c: Likewise.
50202 * rt/mq_setattr.c: Likewise.
50203 * rt/mq_timedreceive.c: Likewise.
50204 * rt/mq_timedsend.c: Likewise.
50205 * rt/mq_unlink.c: Likewise.
50206 * rt/shm_open.c: Likewise.
50207 * rt/shm_unlink.c: Likewise.
50208 * rt/timer_create.c: Likewise.
50209 * rt/timer_delete.c: Likewise.
50210 * rt/timer_getoverr.c: Likewise.
50211 * rt/timer_gettime.c: Likewise.
50212 * rt/timer_settime.c: Likewise.
50213 * setjmp/__longjmp.c: Likewise.
50214 * setjmp/setjmp.c: Likewise.
50215 * signal/kill.c: Likewise.
50216 * signal/killpg.c: Likewise.
50217 * signal/raise.c: Likewise.
50218 * signal/sigaction.c: Likewise.
50219 * signal/sigaltstack.c: Likewise.
50220 * signal/sigblock.c: Likewise.
50221 * signal/sigignore.c: Likewise.
50222 * signal/sigintr.c: Likewise.
50223 * signal/signal.c: Likewise.
50224 * signal/sigpause.c: Likewise.
50225 * signal/sigpending.c: Likewise.
50226 * signal/sigqueue.c: Likewise.
50227 * signal/sigreturn.c: Likewise.
50228 * signal/sigset.c: Likewise.
50229 * signal/sigsetmask.c: Likewise.
50230 * signal/sigstack.c: Likewise.
50231 * signal/sigsuspend.c: Likewise.
50232 * signal/sigtimedwait.c: Likewise.
50233 * signal/sigvec.c: Likewise.
50234 * signal/sigwait.c: Likewise.
50235 * signal/sigwaitinfo.c: Likewise.
50236 * signal/sysv_signal.c: Likewise.
50237 * socket/accept.c: Likewise.
50238 * socket/accept4.c: Likewise.
50239 * socket/bind.c: Likewise.
50240 * socket/connect.c: Likewise.
50241 * socket/getpeername.c: Likewise.
50242 * socket/getsockname.c: Likewise.
50243 * socket/getsockopt.c: Likewise.
50244 * socket/isfdtype.c: Likewise.
50245 * socket/listen.c: Likewise.
50246 * socket/recv.c: Likewise.
50247 * socket/recvfrom.c: Likewise.
50248 * socket/recvmsg.c: Likewise.
50249 * socket/send.c: Likewise.
50250 * socket/sendmsg.c: Likewise.
50251 * socket/sendto.c: Likewise.
50252 * socket/setsockopt.c: Likewise.
50253 * socket/shutdown.c: Likewise.
50254 * socket/sockatmark.c: Likewise.
50255 * socket/socket.c: Likewise.
50256 * socket/socketpair.c: Likewise.
50257 * stdio-common/ctermid.c: Likewise.
50258 * stdio-common/cuserid.c: Likewise.
50259 * stdio-common/remove.c: Likewise.
50260 * stdio-common/rename.c: Likewise.
50261 * stdio-common/renameat.c: Likewise.
50262 * stdio-common/tempname.c: Likewise.
50263 * stdlib/getcontext.c: Likewise.
50264 * stdlib/makecontext.c: Likewise.
50265 * stdlib/setcontext.c: Likewise.
50266 * stdlib/swapcontext.c: Likewise.
50267 * stdlib/system.c: Likewise.
50268 * streams/fattach.c: Likewise.
50269 * streams/fdetach.c: Likewise.
50270 * streams/getmsg.c: Likewise.
50271 * streams/getpmsg.c: Likewise.
50272 * streams/putmsg.c: Likewise.
50273 * streams/putpmsg.c: Likewise.
50274 * sysdeps/unix/bsd/getpt.c: Likewise.
50275 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
50276 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
50277 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50279 Likewise.
50280 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
50281 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50282 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
50283 * sysvipc/msgctl.c: Likewise.
50284 * sysvipc/msgget.c: Likewise.
50285 * sysvipc/msgrcv.c: Likewise.
50286 * sysvipc/msgsnd.c: Likewise.
50287 * sysvipc/semctl.c: Likewise.
50288 * sysvipc/semget.c: Likewise.
50289 * sysvipc/semop.c: Likewise.
50290 * sysvipc/semtimedop.c: Likewise.
50291 * sysvipc/shmat.c: Likewise.
50292 * sysvipc/shmctl.c: Likewise.
50293 * sysvipc/shmdt.c: Likewise.
50294 * sysvipc/shmget.c: Likewise.
50295 * termios/tcdrain.c: Likewise.
50296 * termios/tcflow.c: Likewise.
50297 * termios/tcflush.c: Likewise.
50298 * termios/tcgetattr.c: Likewise.
50299 * termios/tcgetpgrp.c: Likewise.
50300 * termios/tcsendbrk.c: Likewise.
50301 * termios/tcsetattr.c: Likewise.
50302 * termios/tcsetpgrp.c: Likewise.
50303 * time/adjtime.c: Likewise.
50304 * time/clock.c: Likewise.
50305 * time/getitimer.c: Likewise.
50306 * time/gettimeofday.c: Likewise.
50307 * time/setitimer.c: Likewise.
50308 * time/settimeofday.c: Likewise.
50309 * time/stime.c: Likewise.
50310 * time/time.c: Likewise.
50311
50312 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
50313
50314 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
50315 /usr/old/bin.
50316
50317 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
50318 instead of spaces.
50319 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
50320
50321 2012-11-03 Joseph Myers <joseph@codesourcery.com>
50322
50323 [BZ #14796]
50324 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
50325 FE_TONEAREST before applying Dekker multiplication and Knuth
50326 addition. Clear inexact exceptions and check for exact zero
50327 results afterwards.
50328 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50329 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50330 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50331 * math/libm-test.inc (fma_test): Add more tests.
50332 (fma_test_towardzero): Likewise.
50333 (fma_test_downward): Likewise.
50334 (fma_test_upward): Likewise.
50335 * sysdeps/generic/math_private.h (default_libc_fesetround): New
50336 function.
50337 (libc_fesetround): New macro.
50338 (libc_fesetroundf): Likewise.
50339 (libc_fesetroundl): Likewise.
50340 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
50341 function.
50342 (libc_fesetround_387): Likewise.
50343 (libc_fesetroundf): New macro.
50344 (libc_fesetround): Likewise.
50345 (libc_fesetroundl): Likewise.
50346 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
50347 function.
50348 (libc_fesetroundf): New macro.
50349 (libc_fesetround): Likewise.
50350 (libc_fesetroundl): Likewise.
50351 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
50352 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
50353 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
50354 libm_hidden_ver.
50355 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
50356 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
50357 libm_hidden_def.
50358 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
50359 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
50360 libm_hidden_ver.
50361 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
50362 libm_hidden_def.
50363
50364 [BZ #3439]
50365 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
50366 integer constant usable in #if and use that to give value to enum
50367 constant.
50368 (FE_DIVBYZERO): Likewise.
50369 (FE_UNDERFLOW): Likewise.
50370 (FE_OVERFLOW): Likewise.
50371 (FE_INVALID): Likewise.
50372 (FE_INVALID_SNAN): Likewise.
50373 (FE_INVALID_ISI): Likewise.
50374 (FE_INVALID_IDI): Likewise.
50375 (FE_INVALID_ZDZ): Likewise.
50376 (FE_INVALID_IMZ): Likewise.
50377 (FE_INVALID_COMPARE): Likewise.
50378 (FE_INVALID_SOFTWARE): Likewise.
50379 (FE_INVALID_SQRT): Likewise.
50380 (FE_INVALID_INTEGER_CONVERSION): Likewise.
50381 (FE_TONEAREST): Likewise.
50382 (FE_TOWARDZERO): Likewise.
50383 (FE_UPWARD): Likewise.
50384 (FE_DOWNWARD): Likewise.
50385 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
50386 (FE_DIVBYZERO): Likewise.
50387 (FE_OVERFLOW): Likewise.
50388 (FE_UNDERFLOW): Likewise.
50389 (FE_INEXACT): Likewise.
50390 (FE_TONEAREST): Likewise.
50391 (FE_DOWNWARD): Likewise.
50392 (FE_UPWARD): Likewise.
50393 (FE_TOWARDZERO): Likewise.
50394 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
50395 (FE_UNDERFLOW): Likewise.
50396 (FE_OVERFLOW): Likewise.
50397 (FE_DIVBYZERO): Likewise.
50398 (FE_INVALID): Likewise.
50399 (FE_TONEAREST): Likewise.
50400 (FE_TOWARDZERO): Likewise.
50401 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
50402 (FE_OVERFLOW): Likewise.
50403 (FE_UNDERFLOW): Likewise.
50404 (FE_DIVBYZERO): Likewise.
50405 (FE_INEXACT): Likewise.
50406 (FE_TONEAREST): Likewise.
50407 (FE_TOWARDZERO): Likewise.
50408 (FE_UPWARD): Likewise.
50409 (FE_DOWNWARD): Likewise.
50410 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
50411 (FE_DIVBYZERO): Likewise.
50412 (FE_OVERFLOW): Likewise.
50413 (FE_UNDERFLOW): Likewise.
50414 (FE_INEXACT): Likewise.
50415 (FE_TONEAREST): Likewise.
50416 (FE_DOWNWARD): Likewise.
50417 (FE_UPWARD): Likewise.
50418 (FE_TOWARDZERO): Likewise.
50419
50420 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
50421
50422 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
50423
50424 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
50425
50426 * scripts/cross-test-ssh.sh (command): Use newlines to separate
50427 commands. Quote $PWD.
50428 (blacklist_exports): Don't use remove_newlines. Replace "declare
50429 -x" by "export".
50430 (remove_newlines): Remove.
50431
50432 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
50433
50434 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
50435 * stdlib/stdlib.h (atof): Moved to ...
50436 * include/bits/stdlib-float.h: Here. New file.
50437 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
50438 * stdlib/bits/stdlib-float.h: New file.
50439 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
50440 -mno-sse -mno-mmx.
50441 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
50442 <xmmintrin.h>.
50443
50444 2012-11-02 Joseph Myers <joseph@codesourcery.com>
50445
50446 * conform/conformtest.pl (@headers): Add fenv.h.
50447 * conform/data/fenv.h-data: New file.
50448 * include/fenv.h [_ISOMAC]: Disable all contents of file except
50449 include of <math/fenv.h>.
50450
50451 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
50452 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
50453 && !UNIX98]. Enables tests for XOPEN2K8.
50454 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
50455 POSIX2008]: Likewise.
50456
50457 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
50458 (struct rusage): Do not expect type or its members.
50459
50460 [BZ #3439]
50461 * math/math.h (FP_NAN): Define macro to integer constant usable in
50462 #if and use that to give value to enum constant.
50463 (FP_INFINITE): Likewise.
50464 (FP_ZERO): Likewise.
50465 (FP_SUBNORMAL): Likewise.
50466 (FP_NORMAL): Likewise.
50467
50468 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
50469
50470 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
50471 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
50472 arguments.
50473
50474 2012-11-02 Roland McGrath <roland@hack.frob.com>
50475
50476 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
50477 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
50478 autoconf-time if not.
50479 * configure.in: Remove AC_PREREQ.
50480
50481 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50482
50483 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
50484 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
50485 of the internal implementation.
50486
50487 2012-11-02 Joseph Myers <joseph@codesourcery.com>
50488
50489 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
50490 except include of <misc/sys/syslog.h>.
50491
50492 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
50493
50494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
50495 function returns with a NULL context exit with zero.
50496
50497 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50498
50499 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
50500
50501 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
50502
50503 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
50504 (run_program_cmd): This.
50505 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
50506 (tst_langinfo): New variable. Use it.
50507
50508 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
50509
50510 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
50511 floating point opcodes.
50512
50513 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
50514
50515 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
50516 variable.
50517
50518 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
50519
50520 * sysdeps/mach/hurd/powerpc: Remove directory.
50521 * sysdeps/mach/powerpc: Likewise.
50522
50523 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
50524
50525 * scripts/check-local-headers.sh: Ignore c++ headers.
50526
50527 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
50528
50529 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
50530 __libc_cleanup_region_start argument.
50531
50532 2012-11-01 Joseph Myers <joseph@codesourcery.com>
50533
50534 [BZ #14784]
50535 [BZ #14785]
50536 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
50537 x * y using scaling, not as x * y + z.
50538 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50539 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50540 * math/libm-test.inc (fma_test): Add more tests.
50541 (fma_test_towardzero): Likewise.
50542 (fma_test_downward): Likewise.
50543 (fma_test_upward): Likewise.
50544
50545 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
50546
50547 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
50548
50549 2012-10-31 Joseph Myers <joseph@codesourcery.com>
50550
50551 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
50552 New variable.
50553
50554 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
50555
50556 * rt/tst-shm.c (worker): Correct checking for mmap failure.
50557
50558 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
50559
50560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50561 Fix sort order.
50562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50563 Likewise.
50564
50565 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50566
50567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50568 Fix the order of the list for glibc 2.17.
50569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50570 Likewise.
50571
50572 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
50573
50574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50575
50576 2012-10-31 Joseph Myers <joseph@codesourcery.com>
50577
50578 [BZ #14610]
50579 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
50580 for low part of x being zero before using __atanl (y).
50581 * math/libm-test.inc (atan2_test): Add another test.
50582
50583 * manual/install.texi (Configuring and compiling): Document
50584 general use of test-wrapper and test-wrapper-env.
50585 * INSTALL: Regenerated.
50586
50587 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
50588 (__fma): Do not extract and scale down low bits on after-rounding
50589 systems when result rounded to normal precision would have normal
50590 exponent.
50591 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
50592 (__fmal): Do not extract and scale down low bits on after-rounding
50593 systems when result rounded to normal precision would have normal
50594 exponent.
50595 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
50596 (__fmal): Do not extract and scale down low bits on after-rounding
50597 systems when result rounded to normal precision would have normal
50598 exponent.
50599 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
50600 macro.
50601 (fma_test): Add more tests.
50602 (fma_test_towardzero): Likewise.
50603 (fma_test_downward): Likewise.
50604 (fma_test_upward): Likewise.
50605
50606 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
50607
50608 * sysdeps/i386/tininess.h: Renamed to ...
50609 * sysdeps/x86/tininess.h: This.
50610 * sysdeps/x86_64/tininess.h: Removed.
50611
50612 2012-10-30 Joseph Myers <joseph@codesourcery.com>
50613
50614 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
50615 input. Use $(build-program-cmd).
50616 ($(objpfx)tst-array1-static.out): Likewise.
50617 ($(objpfx)tst-array2.out): Likewise.
50618 ($(objpfx)tst-array3.out): Likewise.
50619 ($(objpfx)tst-array4.out): Likewise.
50620 ($(objpfx)tst-array5.out): Likewise.
50621 ($(objpfx)tst-array5-static.out): Likewise.
50622
50623 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
50624
50625 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
50626 if defined.
50627
50628 * nss/nsswitch.h (nss_interface_function): Provide new
50629 macro for use with NSS functions.
50630 * grp/initgroups.c: Use new macro.
50631 * nss/getXXbyYY.c: Likewise.
50632 * nss/getXXbyYY_r.c: Likewise.
50633 * nss/getXXent.c: Likewise.
50634 * nss/getXXent_r.c: Likewise.
50635 * sysdeps/posix/getaddrinfo.c: Likewise.
50636
50637 2012-10-30 Andreas Jaeger <aj@suse.de>
50638
50639 * po/ru.po: Update Russion translation from translation project.
50640
50641 2012-10-30 Joseph Myers <joseph@codesourcery.com>
50642
50643 [BZ #14152]
50644 [BZ #14783]
50645 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
50646 result and shift together with sticky bit instead of replicating
50647 round-to-nearest rounding.
50648 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50649 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50650 * math/libm-test.inc (fma_test): Add more tests. Do not permit
50651 missing underflow exceptions.
50652 (fma_test_towardzero): Add more tests.
50653 (fma_test_downward): Likewise.
50654 (fma_test_upward): Likewise.
50655
50656 [BZ #14047]
50657 * sysdeps/generic/tininess.h: New file.
50658 * sysdeps/i386/tininess.h: Likewise.
50659 * sysdeps/sh/tininess.h: Likewise.
50660 * sysdeps/x86_64/tininess.h: Likewise.
50661 * stdlib/tst-strtod-underflow.c: Likewise.
50662 * stdlib/tst-tininess.c: Likewise.
50663 * stdlib/strtod_l.c: Include <tininess.h>.
50664 (round_and_return): Do not set errno for exact underflow cases.
50665 Force an underflow exception when setting errno for underflow.
50666 Determine underflow based on rounding to normal precision if
50667 TININESS_AFTER_ROUNDING.
50668 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
50669 ERANGE for exact underflow cases.
50670 * stdlib/Makefile (tests): Add tst-tininess and
50671 tst-strtod-underflow.
50672 ($(objpfx)tst-tininess): Use $(link-libm).
50673 ($(objpfx)tst-strtod-underflow): Likewise.
50674
50675 2012-10-30 Andreas Jaeger <aj@suse.de>
50676
50677 [BZ#14767]
50678 * elf/Makefile (tests): Remove conditional for have-initfini-array
50679 since this is now always required and the variable does not exist
50680 anymore.
50681 (tests-static): Likewise.
50682 (modules-names): Likewise.
50683
50684 * po/eo.po: Add Esperanto translation from translation project.
50685
50686 * elf/tst-array1.c (fini_array): Make writeable so that it can be
50687 merged with constructor/destructor.
50688 (init_array): Likewise.
50689 * elf/tst-array2dep.c (fini_array): Likewise.
50690 (init_array): Likewise.
50691
50692 2012-10-29 Mike Frysinger <vapier@gentoo.org>
50693
50694 * manual/message.texi: Delete @cartouche tags.
50695
50696 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
50697
50698 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
50699 EOPNOTSUPP.
50700 * sysdeps/mach/hurd/fsync.c: Likewise.
50701
50702 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
50703 [_POSIX_REALTIME_SIGNALS]: Change condition to
50704 [_POSIX_REALTIME_SIGNALS > 0].
50705
50706 2012-10-27 Andreas Jaeger <aj@suse.de>
50707
50708 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
50709 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
50710 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
50711 [__WORDSIZE != 64]: Likewise.
50712
50713 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
50714
50715 * iconvdata/tst-table.sh: Remove ${SHELL}.
50716 * iconvdata/tst-tables.sh: Likewise.
50717
50718 2012-10-25 David S. Miller <davem@davemloft.net>
50719
50720 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50721 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
50722 of strtoull.
50723
50724 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
50725 ifunc-impl-list.c
50726 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50727 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
50728 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
50729 file.
50730
50731 2012-10-25 Roland McGrath <roland@hack.frob.com>
50732
50733 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50734 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
50735 __getdirentries.
50736
50737 2012-10-25 Joseph Myers <joseph@codesourcery.com>
50738 Jim Blandy <jimb@codesourcery.com>
50739
50740 * scripts/cross-test-ssh.sh: New file.
50741 * manual/install.texi (Configuring and compiling): Document use of
50742 cross-test-ssh.sh.
50743 * INSTALL: Regenerated.
50744
50745 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
50746
50747 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
50748 EOPNOTSUPP.
50749
50750 2012-10-25 Joseph Myers <joseph@codesourcery.com>
50751
50752 * Makeconfig (run-program-prefix): Fix comment.
50753
50754 2012-10-24 Joseph Myers <joseph@codesourcery.com>
50755 Jim Blandy <jimb@codesourcery.com>
50756
50757 * Makeconfig (test-wrapper): New variable,
50758 (test-wrapper-env): Likewise.
50759 [$(cross-compiling) = yes && $(test-wrapper) != ""]
50760 (run-built-tests): Define to yes.
50761 (run-program-prefix): Use $(test-wrapper).
50762 (built-program-cmd): Likewise.
50763 * Rules (make-test-out): Use $(test-wrapper-env) and
50764 $(host-built-program-cmd).
50765 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
50766 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
50767 tst-pathopt.sh.
50768 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
50769 $(test-wrapper-env) to tst-rtld-load-self.sh.
50770 ($(objpfx)order2.out): Use $(test-wrapper).
50771 ($(objpfx)tst-initorder.out): Likewise.
50772 ($(objpfx)tst-initorder2.out): Likewise.
50773 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
50774 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
50775 (test_wrapper_env): New variable. Use it to run ld.so.
50776 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
50777 Use it to run ld.so.
50778 (test_wrapper_env): Likewise.
50779 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
50780 $(test-wrapper) to run-iconv-test.sh.
50781 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
50782 (ICONV): Use $test_wrapper.
50783 * posix/Makefile ($(objpfx)globtest.out): Pass
50784 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
50785 globtest.sh, not $(run-program-prefix).
50786 * posix/globtest.sh (run_via_rtld_prefix): New variable.
50787 (test_wrapper): Likewise.
50788 (test_wrapper_env): Likewise. Use it to run globtest with HOME
50789 set together with run_via_rtld_prefix.
50790 (run_program_prefix): Define in terms of test_wrapper and
50791 run_via_rtld_prefix.
50792
50793 2012-10-24 Roland McGrath <roland@hack.frob.com>
50794
50795 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
50796 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
50797 Targets removed.
50798
50799 [BZ #14743]
50800 * include/time.h: Remove librt_hidden_proto (clock_gettime).
50801 Declare __clock_getres, __clock_gettime, __clock_settime,
50802 __clock_nanosleep, and __clock_getcpuclockid.
50803 * rt/clock_gettime.c: Define __clock_gettime as an alias.
50804 Remove librt_hidden_def (clock_gettime).
50805 * sysdeps/unix/clock_gettime.c: Likewise.
50806 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
50807 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
50808 * rt/clock_getres.c: Define __clock_getres as an alias.
50809 * sysdeps/posix/clock_getres.c: Likewise.
50810 * rt/clock_settime.c: Define __clock_settime as an alias.
50811 * sysdeps/unix/clock_settime.c: Likewise.
50812 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
50813 * sysdeps/unix/clock_nanosleep.c: Likewise.
50814 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
50815 * rt/clock-compat.c: New file.
50816 * rt/Makefile (librt-routines): Add clock-compat and move
50817 $(clock-routines) to ...
50818 (routines): ... here, new variable.
50819 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
50820 Don't add get_clockfreq here.
50821 * rt/Versions (libc: GLIBC_2.17): New version set.
50822 Add clock_* symbols here.
50823 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
50824 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
50825 (GLIBC_2.17): Add clock_* symbols.
50826 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
50827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
50828 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50830 Likewise.
50831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50832 Likewise.
50833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
50835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
50836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
50837 * NEWS: Mention the move.
50838
50839 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
50840 Use __open, __read, __close rather than their public counterparts.
50841 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50842 (__get_clockfreq_via_cpuinfo): Likewise.
50843 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
50844 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
50845
50846 * config.h.in (HAVE_IFUNC): New #undef.
50847 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
50848 was successful.
50849 * configure: Regenerated.
50850
50851 2012-10-24 Mike Frysinger <vapier@gentoo.org>
50852
50853 * configure.in: Move READELF check to start of file.
50854 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
50855 libc_cv_asm_gnu_indirect_function in the process.
50856 * configure: Regenerated.
50857
50858 2012-10-24 Mike Frysinger <vapier@gentoo.org>
50859
50860 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
50861 send the output to /dev/null.
50862 (libc_cv_cc_with_libunwind): Likewise.
50863 (libc_cv_as_noexecstack): Likewise.
50864 * configure: Regenerate.
50865
50866 2012-10-24 Joseph Myers <joseph@codesourcery.com>
50867
50868 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
50869
50870 * posix/globtest.sh (TMPDIR): Do not set.
50871 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
50872 (testout): Likewise.
50873
50874 2012-10-24 Andreas Jaeger <aj@suse.de>
50875
50876 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
50877 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
50878 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
50879 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
50880 posix_fadvise64, posix_fallocate64.
50881
50882 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
50883 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
50884 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
50885 Likewise.
50886 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
50887 Likewise.
50888 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
50889
50890 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
50891 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
50892 <bits/fcntl-linux.h>.
50893 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
50894
50895 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
50896 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
50897 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
50898 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
50899 [__WORDSIZE != 64]: Likewise.
50900
50901 2012-10-23 Joseph Myers <joseph@codesourcery.com>
50902
50903 * Makeconfig (run-built-tests): New variable.
50904 * Rules [$(cross-compiling) = yes]: Change condition to
50905 [$(run-built-tests) = no].
50906 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
50907 to [$(run-built-tests) = yes].
50908 * elf/Makefile [$(cross-compiling) = no]: Likewise
50909 * grp/Makefile [$(cross-compiling) = no]: Likewise.
50910 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
50911 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
50912 * intl/Makefile [$(cross-compiling) = no]: Likewise.
50913 * io/Makefile [$(cross-compiling) = no]: Likewise.
50914 * libio/Makefile [$(cross-compiling) = no]: Likewise.
50915 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
50916 * misc/Makefile [$(cross-compiling) = no]: Likewise.
50917 * posix/Makefile [$(cross-compiling) = no]: Likewise.
50918 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
50919 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
50920 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
50921 * string/Makefile [$(cross-compiling) = no]: Likewise.
50922
50923 * posix/Makefile ($(objpfx)globtest.out): Pass
50924 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
50925 $(rtld-installed-name).
50926 * posix/globtest.sh (elf_objpfx): Remove variable.
50927 (rtld_installed_name): Likewise.
50928 (library_path): Likewise.
50929 (run_program_prefix): New variable. Use for running globtest
50930 binary.
50931
50932 2012-10-23 Jim Blandy <jimb@codesourcery.com>
50933 Joseph Myers <joseph@codesourcery.com>
50934
50935 * Makeconfig (host-built-program-cmd): New variable.
50936 * elf/Makefile (tst-stackguard1-ARGS): Use
50937 $(host-built-program-cmd).
50938 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
50939 (tst-spawn-ARGS): Likewise.
50940 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
50941
50942 2012-10-23 Joseph Myers <joseph@codesourcery.com>
50943 Jim Blandy <jimb@codesourcery.com>
50944
50945 * Makeconfig (run-via-rtld-prefix): New variable.
50946 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
50947 (built-program-cmd): Likewise.
50948
50949 2012-10-22 Andreas Jaeger <aj@suse.de>
50950
50951 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
50952 __O_RSYNC if it exists, otherwise to O_SYNC.
50953
50954 2012-10-22 Jim Blandy <jimb@codesourcery.com>
50955 Joseph Myers <joseph@codesourcery.com>
50956
50957 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
50958 /dev/null.
50959 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
50960 from /dev/null
50961 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
50962 /dev/null.
50963
50964 2012-10-22 Andreas Jaeger <aj@suse.de>
50965
50966 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
50967 Define always.
50968 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
50969
50970 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50971 bits/fcntl-linux.h.
50972
50973 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
50974 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
50975
50976 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
50977 to __O_LARGEFILE.
50978 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
50979 to __O_LARGEFILE.
50980
50981 2012-10-21 Jim Blandy <jimb@codesourcery.com>
50982 Joseph Myers <joseph@codesourcery.com>
50983
50984 * config.make.in (NM): New variable.
50985
50986 2012-10-21 Andreas Jaeger <aj@suse.de>
50987
50988 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
50989 definitions and declarations that are provided by
50990 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
50991
50992 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
50993
50994 [BZ #14683]
50995 * elf/Makefile (tests-static): Add tst-leaks1-static.
50996 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
50997 ($(objpfx)tst-leaks1-static): New rule.
50998 ($(objpfx)tst-leaks1-static-mem): Likewise.
50999 (tst-leaks1-static-ENV): New macro.
51000 * elf/dl-open.c (dl_open_worker): Check the main application
51001 only if SHARED is defined.
51002 * elf/tst-leaks1-static.c: New file.
51003
51004 2012-10-20 Andreas Jaeger <aj@suse.de>
51005
51006 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
51007 generic values for Linux.
51008 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
51009 and declarations that are provided by <bits/fcntl-linux.h> and
51010 include <bits/fcntl-linux.h>.
51011 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51012 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51013
51014 2012-10-20 Roland McGrath <roland@hack.frob.com>
51015
51016 * io/fcntl.h: Move include of <bits/types.h> to the top and
51017 include it unconditionally.
51018
51019 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
51020
51021 * wcsmbs/Makefile (tests-ifunc): New variable.
51022 (tests): Add $(tests-ifunc).
51023 * wcsmbs/test-wcschr-ifunc.c: New file.
51024 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
51025 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
51026 * wcsmbs/test-wcslen-ifunc.c: Likewise.
51027 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
51028 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
51029
51030 * string/Makefile (tests-ifunc): New variable.
51031 (tests): Add $(tests-ifunc).
51032 * string/test-memccpy.c (TEST_NAME): New macro.
51033 * string/test-memchr.c (TEST_NAME): Likewise.
51034 * string/test-memcmp.c (TEST_NAME): Likewise.
51035 * string/test-memcpy.c (TEST_NAME): Likewise.
51036 * string/test-memmem.c (TEST_NAME): Likewise.
51037 * string/test-memmove.c (TEST_NAME): Likewise.
51038 * string/test-memset.c (TEST_NAME): Likewise.
51039 * string/test-rawmemchr.c (TEST_NAME): Likewise.
51040 * string/test-stpcpy.c (TEST_NAME): Likewise.
51041 * string/test-stpncpy.c (TEST_NAME): Likewise.
51042 * string/test-strcasecmp.c (TEST_NAME): Likewise.
51043 * string/test-strcasestr.c (TEST_NAME): Likewise.
51044 * string/test-strcat.c (TEST_NAME): Likewise.
51045 * string/test-strchr.c (TEST_NAME): Likewise.
51046 * string/test-strcmp.c(TEST_NAME): Likewise.
51047 * string/test-strcpy.c (TEST_NAME): Likewise.
51048 * string/test-strcspn.c (TEST_NAME): Likewise.
51049 * string/test-strlen.c (TEST_NAME): Likewise.
51050 * string/test-strncasecmp.c (TEST_NAME): Likewise.
51051 * string/test-strncmp.c (TEST_NAME): Likewise.
51052 * string/test-strncpy.c (TEST_NAME): Likewise.
51053 * string/test-strnlen.c (TEST_NAME): Likewise.
51054 * string/test-strpbrk.c (TEST_NAME): Likewise.
51055 * string/test-strrchr.c (TEST_NAME): Likewise.
51056 * string/test-strspn.c (TEST_NAME): Likewise.
51057 * string/test-strstr.c (TEST_NAME): Likewise.
51058 * string/test-bcopy-ifunc.c: New file.
51059 * string/test-bzero-ifunc.c: Likewise.
51060 * string/test-memccpy-ifunc.c: Likewise.
51061 * string/test-memchr-ifunc.c: Likewise.
51062 * string/test-memcmp-ifunc.c: Likewise.
51063 * string/test-memcpy-ifunc.c: Likewise.
51064 * string/test-memmem-ifunc.c: Likewise.
51065 * string/test-memmove-ifunc.c: Likewise.
51066 * string/test-mempcpy-ifunc.c: Likewise.
51067 * string/test-memset-ifunc.c: Likewise.
51068 * string/test-rawmemchr-ifunc.c: Likewise.
51069 * string/test-stpcpy-ifunc.c: Likewise.
51070 * string/test-stpncpy-ifunc.c: Likewise.
51071 * string/test-strcasecmp-ifunc.c: Likewise.
51072 * string/test-strcasestr-ifunc.c: Likewise.
51073 * string/test-strcat-ifunc.c: Likewise.
51074 * string/test-strchr-ifunc.c: Likewise.
51075 * string/test-strchrnul-ifunc.c: Likewise.
51076 * string/test-strcmp-ifunc.c: Likewise.
51077 * string/test-strcpy-ifunc.c: Likewise.
51078 * string/test-strcspn-ifunc.c: Likewise.
51079 * string/test-strlen-ifunc.c: Likewise.
51080 * string/test-strncasecmp-ifunc.c: Likewise.
51081 * string/test-strncat-ifunc.c: Likewise.
51082 * string/test-strncmp-ifunc.c: Likewise.
51083 * string/test-strncpy-ifunc.c: Likewise.
51084 * string/test-strnlen-ifunc.c: Likewise.
51085 * string/test-strpbrk-ifunc.c: Likewise.
51086 * string/test-strrchr-ifunc.c: Likewise.
51087 * string/test-strspn-ifunc.c: Likewise.
51088 * string/test-strstr-ifunc.c: Likewise.
51089
51090 * debug/Makefile (tests-ifunc): New variable.
51091 (tests): Add $(tests-ifunc).
51092 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
51093 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
51094 * debug/test-stpcpy_chk-ifunc.c: New file.
51095 * debug/test-strcpy_chk-ifunc.c: Likewise.
51096
51097 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
51098
51099 [BZ #13601]
51100 * elf/dl-load.c (open_verify): Retry read if the entire ELF
51101 header is not read in.
51102
51103 2012-10-19 Joseph Myers <joseph@codesourcery.com>
51104
51105 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
51106 script to $(SHELL) as $<. Pass $(common-objpfx) to script
51107 directly. Pass built executable to script as
51108 $(built-program-cmd).
51109 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
51110 $testprogram without using LD_LIBRARY_PATH and $ldso.
51111
51112 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
51113 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
51114 $(rtld-installed-name).
51115 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
51116 (rtld_installed_name): Likewise.
51117 (library_path): Likewise.
51118 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
51119 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
51120 $(run-program-prefix) to tst-tables.sh.
51121 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
51122 it to run tst-table-from and tst-table-to.
51123 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
51124 Pass it to tst-table.sh.
51125 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
51126 $(run-program-prefix) to tst-gettext.sh.
51127 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
51128 tst-translit.sh.
51129 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
51130 tst-gettext2.sh.
51131 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
51132 to run tst-gettext.
51133 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
51134 to run tst-gettext2.
51135 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
51136 to run tst-translit.
51137 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
51138 $(run-program-prefix) to tst-mtrace.sh.
51139 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
51140 to run tst-mtrace.
51141 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
51142 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
51143 $(rtld-installed-name).
51144 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
51145 (rtld_installed_name): Likewise.
51146 (run_program_prefix): New variable. Use it to run wordexp-test.
51147
51148 * Makeconfig (ARCH): Remove all definitions.
51149 (machine): Likewise.
51150 [ARCH]: Remove conditional code.
51151 [!objdir]: Give error.
51152 [!objdir] (objpfx): Remove.
51153 [!objdir] (common-objpfx): Likewise.
51154 [!objdir] (common-objdir): Likewise.
51155 * configure.in (config_makefile): Remove. Hardcode Makefile in
51156 AC_CONFIG_FILES call.
51157 * configure: Regenerated.
51158
51159 [BZ #13888]
51160 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
51161 or TMPDIR.
51162 (testout): Likewise.
51163
51164 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
51165 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
51166 $(rtld-installed-name).
51167 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
51168 (rtld_installed_name): Likwise.
51169 (runit): Remove function.
51170 (run_getconf): New variable, Use it for running getconf binary.
51171
51172 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
51173
51174 [BZ #14716]
51175 * string/test-memmem.c (check_result): New function.
51176 (do_one_test): Use it.
51177 (check1): New function.
51178 (test_main): Use it.
51179
51180 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
51181
51182 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
51183
51184 2012-10-18 Joseph Myers <joseph@codesourcery.com>
51185
51186 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
51187 (_G_LSEEK64): Likewise.
51188 (_G_MMAP64): Likewise.
51189 (_G_FSTAT64): Likewise.
51190 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
51191 (_G_LSEEK64): Likewise.
51192 (_G_MMAP64): Likewise.
51193 (_G_FSTAT64): Likewise.
51194 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
51195 unconditional. Call __mmap64 directly.
51196 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
51197 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
51198 __lseek64 directly.
51199 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
51200 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
51201 __mmap64 directly.
51202 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
51203 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
51204 __lseek64 directly.
51205 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
51206 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
51207 __lseek64 directly.
51208 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
51209 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
51210 __lseek64 directly.
51211 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
51212 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
51213 __fxstat64 directly.
51214 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
51215 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
51216 unconditional.
51217 (freopen64) [!_G_OPEN64]: Remove conditional code.
51218 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
51219 unconditional.
51220 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
51221 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
51222 unconditional.
51223 (ftello64) [!_G_LSEEK64]: Remove conditional code.
51224 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
51225 unconditional.
51226 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51227 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
51228 unconditional.
51229 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
51230 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
51231 unconditional.
51232 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51233 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
51234 unconditional.
51235 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51236 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
51237 unconditional.
51238 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51239
51240 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
51241
51242 [BZ #12140]
51243 * manual/memory.texi (Malloc Tunable Parameters): Add note
51244 about free list pointers overwriting some perturb bytes.
51245 Wording suggested by Roland McGrath.
51246
51247 2012-10-17 Joseph Myers <joseph@codesourcery.com>
51248
51249 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
51250 (lgamma_test): Likewise.
51251 (tgamma_test): Likewise.
51252
51253 2012-10-16 Florian Weimer <fweimer@redhat.com>
51254
51255 [BZ #14700]
51256 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
51257 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
51258
51259 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
51260
51261 * NEWS: Mention BZ #14716.
51262 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
51263 when removing AVAILABLE1_USES_J macro.
51264
51265 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
51266
51267 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
51268 (__bswap_64): __uint64_t for unsigned 64-bit int.
51269
51270 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
51271
51272 * include/string.h (memmem): Declare libc hidden alias.
51273 * string/memmem.c (memmem): Define libc hidden alias.
51274 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
51275 __read, __close instead of open, read, close.
51276
51277 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
51278
51279 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
51280 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
51281 global and hidden.
51282 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
51283 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
51284 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
51285 Likewise.
51286 (__rawmemchr_sse2): Likewise.
51287 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
51288 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
51289 (__strchr_sse2): Likewise.
51290 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
51291 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
51292 (__strcasecmp_sse2): Likewise.
51293 (__strncasecmp_sse2): Likewise.
51294 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
51295 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
51296 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
51297 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
51298 (__strrchr_sse2): Likewise.
51299 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
51300 ifunc-impl-list.c.
51301 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
51302 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
51303 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
51304 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51305 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
51306 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
51307 * sysdeps/x86_64/multiarch/memset.S: Likewise.
51308 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51309 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
51310 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
51311 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
51312 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
51313 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
51314 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
51315 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
51316 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51317 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
51318 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
51319 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
51320 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
51321 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
51322 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
51323 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
51324 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51325 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
51326 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51327 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
51328 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
51329 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
51330 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
51331
51332 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
51333 global and hidden.
51334 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
51335 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
51336 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
51337 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
51338 Likewise.
51339 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
51340 Likewise.
51341 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
51342 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
51343 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
51344 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
51345 ifunc-impl-list.c.
51346 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51347 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51348 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51349 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51350 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51351 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51352 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51353 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51354 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51355 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51356 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51357 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51358 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51359 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
51360 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
51361 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51362 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
51363 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
51364 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51365 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51366 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51367 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51368 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51369 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51370 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51371 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
51372 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
51373 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
51374 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
51375 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51376 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
51377 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51378 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51379 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
51380 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51381 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51382 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51383 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51384 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51385 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51386 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
51387
51388 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
51389 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
51390 * include/ifunc-impl-list.h: New file.
51391 * misc/ifunc-impl-list.c: Likewise.
51392 * misc/Makefile (routines): Add ifunc-impl-list.
51393 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
51394 * string/test-string.h: Include <ifunc-impl-list.h>.
51395 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
51396 TEST_NAME]: New variables.
51397 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
51398 are defined.
51399 (test_init): Call __libc_ifunc_impl_list to initialize
51400 func_list if TEST_IFUNC and TEST_NAME are defined.
51401
51402 * string/Makefile (strop-tests): Add bcopy and bzero.
51403 * string/test-bcopy.c: New file.
51404 * string/test-bzero.c: Likewise.
51405 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
51406 defined.
51407 * string/test-memset.c: Support bzero test if TEST_BZERO is
51408 defined.
51409 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
51410 __libc_memmove.
51411 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
51412 __libc_memset.
51413 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
51414 of memset.
51415
51416 2012-10-10 Joseph Myers <joseph@codesourcery.com>
51417
51418 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
51419 * configure: Regenerated.
51420
51421 * Makeconfig (+link-static-before-libc): Don't include
51422 $(link-static-libc).
51423
51424 * libio/libio.h (_IO_pos_t): Remove.
51425
51426 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
51427
51428 * NEWS: Add note about FIPS mode. Wording suggested by Roland
51429 McGrath.
51430
51431 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
51432
51433 * crypt/crypt-entry.c: Include fips-private.h.
51434 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
51435 * crypt/md5c-test.c (main): Tolerate disabled MD5.
51436 * sysdeps/unix/sysv/linux/fips-private.h: New file.
51437 * sysdeps/generic/fips-private.h: New file, dummy fallback.
51438
51439 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
51440
51441 * crypt/crypt-private.h: Include stdbool.h.
51442 (_ufc_setup_salt_r): Return bool.
51443 * crypt/crypt-entry.c: Include errno.h.
51444 (__crypt_r): Return NULL with EINVAL for bad salt.
51445 * crypt/crypt_util.c (bad_for_salt): New.
51446 (_ufc_setup_salt_r): Check that salt is long enough and within
51447 the specified alphabet.
51448 * crypt/badsalttest.c: New file.
51449 * crypt/Makefile (tests): Add it.
51450 ($(objpfx)badsalttest): New.
51451
51452 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
51453
51454 * NEWS: Add entry for BZ #14602.
51455
51456 2012-10-09 Joseph Myers <joseph@codesourcery.com>
51457
51458 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
51459 type-generic.
51460 * math/libm-test.inc: Update comment listing what functions and
51461 macros are tested.
51462 (isgreater_test): New function.
51463 (isgreaterequal_test): Likewise.
51464 (isless_test): Likewise.
51465 (islessequal_test): Likewise.
51466 (islessgreater_test): Likewise.
51467 (isunordered_test): Likewise.
51468 (main): Call the new functions.
51469
51470 2012-10-09 Roland McGrath <roland@hack.frob.com>
51471
51472 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
51473 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
51474 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
51475 * sysdeps/i386/configure: Regenerated.
51476 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
51477 * sysdeps/mach/configure: Regenerated.
51478 * sysdeps/mach/hurd/configure: Regenerated.
51479 * sysdeps/powerpc/configure: Regenerated.
51480 * sysdeps/powerpc/powerpc32/configure: Regenerated.
51481 * sysdeps/powerpc/powerpc64/configure: Regenerated.
51482 * sysdeps/s390/s390-32/configure: Regenerated.
51483 * sysdeps/s390/s390-64/configure: Regenerated.
51484 * sysdeps/sh/configure: Regenerated.
51485 * sysdeps/sparc/configure: Regenerated.
51486 * sysdeps/unix/sysv/linux/configure: Regenerated.
51487 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
51488 * sysdeps/x86_64/configure: Regenerated.
51489
51490 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
51491 defined. Don't check if MAP is NULL.
51492
51493 2012-10-09 Joseph Myers <joseph@codesourcery.com>
51494
51495 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
51496 (_G_stat64): Likewise.
51497 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
51498 (_G_stat64): Likewise.
51499 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
51500 instead of struct _G_stat64.
51501 * libio/fileops.c (mmap_remap_check): Likewise.
51502 (decide_maybe_mmap): Likewise.
51503 (_IO_new_file_seekoff): Likewise.
51504 (_IO_file_stat): Likewise.
51505 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
51506 _G_off64_t.
51507 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
51508 instead of struct _G_stat64.
51509 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
51510
51511 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
51512
51513 [BZ #14602]
51514 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51515 Replace with ...
51516 (CHECK_EOL): New macro.
51517 (two_way_short_needle): Check beginning of haystack for EOL. Use
51518 CHECK_EOL.
51519 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51520 Replace with CHECK_EOL.
51521 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51522 Replace with CHECK_EOL.
51523
51524 2012-10-08 Joseph Myers <joseph@codesourcery.com>
51525
51526 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
51527 type-generic.
51528 * math/libm-test.inc: Update comment listing what functions and
51529 macros are tested.
51530 (finite_test): New function.
51531 (isinf_test): Likewise.
51532 (isnan_test): Likewise.
51533 (fpclassify_test): Test subnormal input.
51534 (isfinite_test): Likewise.
51535 (isnormal_test): Likewise.
51536 (main): Call the new functions.
51537
51538 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
51539
51540 [BZ #14660]
51541 * Makerules (%.dynsym): Force C locale when running
51542 $(OBJDUMP) --dynamic-syms.
51543
51544 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
51545
51546 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
51547 <stdint.h>.
51548
51549 2012-10-06 David S. Miller <davem@davemloft.net>
51550
51551 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
51552 upper 32-bits of the length value in %o2 since we use branch-on-register
51553 tests which consider the entire 64-bit register.
51554
51555 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
51556
51557 * string/test-strstr.c (check2): Add a test for page boundary.
51558
51559 2012-10-05 David S. Miller <davem@davemloft.net>
51560
51561 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
51562 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
51563 file.
51564 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
51565 sysdep_routines.
51566 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
51567 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
51568 and bzero when HWCAP_SPARC_CRYPTO is present.
51569
51570 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
51571
51572 [BZ #14602]
51573 * string/test-strstr.c (check2): New function.
51574 (test_main): Call check2.
51575
51576 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
51577 and bug-strchr1.
51578 * string/bug-strcasestr1.c (do_test): Moved to ...
51579 * string/test-strcasestr.c (check1): Here. New function.
51580 (do_one_test): Break out result checking code into ...
51581 (check_result): This. New function.
51582 (do_one_test): Call check_result.
51583 (test_main): Call check1.
51584 * string/bug-strchr1.c (do_test): Moved to ...
51585 * string/test-strchr.c (check1): Here. New function.
51586 (do_one_test): Break out result checking code into ...
51587 (check_result): This. New function.
51588 (do_one_test): Call check_result.
51589 (test_main): Call check1.
51590 * string/bug-strstr1.c (main): Moved to ...
51591 * string/test-strstr.c (check1): Here. New function.
51592 (do_one_test): Break out result checking code into ...
51593 (check_result): This. New function.
51594 (do_one_test): Call check_result.
51595 (test_main): Call check1.
51596 * string/bug-strcasestr1.c: Removed.
51597 * string/bug-strchr1.c: Likewise.
51598 * string/bug-strstr1.c: Likewise.
51599
51600 * elf/Makefile (dl-routines): Add hwcaps.
51601 * elf/dl-support.c (_dl_important_hwcaps): Removed.
51602 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
51603 (_dl_important_hwcaps): Moved to ...
51604 * elf/dl-hwcaps.c: Here. New file.
51605 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
51606
51607 [BZ #14557]
51608 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
51609 if IS_IN_rtld isn't defined.
51610
51611 * elf/dl-support.c (_dl_sysinfo_map): New.
51612 Include "get-dynamic-info.h" and "setup-vdso.h".
51613 (_dl_non_dynamic_init): Call setup_vdso.
51614 * elf/dynamic-link.h: Don't include <assert.h>.
51615 (elf_get_dynamic_info): Moved to ...
51616 * elf/get-dynamic-info.h: Here. New file.
51617 * elf/dynamic-link.h: Include "get-dynamic-info.h".
51618 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
51619 * elf/setup-vdso.h: Here. New file.
51620 * elf/rtld.c: Include "setup-vdso.h".
51621 (dl_main): Call setup_vdso.
51622
51623 2012-10-05 Joseph Myers <joseph@codesourcery.com>
51624
51625 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
51626 creal in comment listing functions tested. List finite, isinf,
51627 isnan, isless, islessequal, isgreater, isgreaterequal,
51628 islessgreater, isunordered, lgamma_r and pow10 as functions and
51629 macros not tested. Mention which functions not tested are aliases
51630 for other functions. Fix typo. Note that signs of NaNs are not
51631 tested.
51632
51633 * scripts/config.guess: Update from config.git.
51634 * scripts/config.sub: Likewise.
51635
51636 2012-10-04 Roland McGrath <roland@hack.frob.com>
51637
51638 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
51639 * misc/madvise.c (madvise): Renamed to __madvise.
51640 Make madvise a weak alias.
51641 * include/sys/mman.h: Declare __madvise.
51642 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
51643 * sysdeps/unix/syscalls.list
51644 (madvise): Make __madvise the strong name, and madvise a weak alias.
51645 * sysdeps/unix/sysv/linux/syscalls.list
51646 (madvise, mmap): Remove redundant entries.
51647 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
51648 * malloc/malloc.c (mtrim): Likewise.
51649 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
51650
51651 2012-10-03 Roland McGrath <roland@hack.frob.com>
51652
51653 * sysdeps/mach/hurd/dl-cache.c: File removed.
51654 * config.h.in (USE_LDCONFIG): New #undef.
51655 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
51656 * configure: Regenerated.
51657 * elf/Makefile (dl-routines): Add dl-cache only under
51658 [$(use-ldconfig) = yes].
51659 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
51660 cache on [USE_LDCONFIG].
51661 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
51662 [USE_LDCONFIG].
51663 * elf/rtld.c (dl_main): Likewise.
51664
51665 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
51666
51667 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
51668 _SC_LEVEL4_CACHE_LINESIZE.
51669
51670 2012-10-03 Roland McGrath <roland@hack.frob.com>
51671
51672 * sysdeps/unix/bsd/confstr.h: File removed.
51673
51674 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
51675
51676 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
51677 sys/sdt-config.h.
51678
51679 2012-10-02 Roland McGrath <roland@hack.frob.com>
51680
51681 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
51682 Make 'mapoff' field ElfW(Off) rather than off_t.
51683
51684 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
51685
51686 * nscd/Makefile: Remove nscd-cflags and all its users.
51687 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
51688 (CFLAGS-nonlib): Add compiler flags for nscd modules.
51689
51690 [BZ #10631]
51691 * malloc.c (malloc_printerr): Clarify error message.
51692
51693 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
51694
51695 [BZ #14648]
51696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51697 Set bit_FMA_Usable if FMA is supported.
51698 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
51699 macro.
51700 (bit_FMA4_Usable): Updated.
51701 (index_FMA_Usable): New macro.
51702 (CPUID_FMA): Likewise
51703 (HAS_FMA): Defined with bit_FMA_Usable.
51704
51705 2012-10-01 Roland McGrath <roland@hack.frob.com>
51706
51707 * bits/types.h (__swblk_t): Type removed.
51708 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
51709 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
51710 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51711 (__SWBLK_T_TYPE): Likewise.
51712 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51713 (__SWBLK_T_TYPE): Likewise.
51714 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51715 (__SWBLK_T_TYPE): Likewise.
51716 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51717 (__SWBLK_T_TYPE): Likewise.
51718
51719 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
51720 Honza Horak <hhorak@redhat.com>
51721
51722 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
51723 (xdr_mapname): Use YPMAXMAP as maxsize.
51724 (xdr_peername): Use YPMAXPEER as maxsize.
51725 (xdr_keydat): Use YPAXRECORD as maxsize.
51726 (xdr_valdat): Use YPMAXRECORD as maxsize.
51727
51728 2012-10-01 Roland McGrath <roland@hack.frob.com>
51729
51730 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
51731
51732 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
51733 * csu/init-first.c: ... here.
51734 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
51735 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
51736 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
51737 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
51738 * sysdeps/i386/init-first.c: File removed.
51739 * sysdeps/sh/init-first.c: File removed.
51740
51741 2012-10-01 Joseph Myers <joseph@codesourcery.com>
51742
51743 [BZ #14645]
51744 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
51745 if x * y might underflow to zero and z is zero.
51746 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51747 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51748 * math/libm-test.inc (min_subnorm_value): New variable.
51749 (fma_test): Add more tests.
51750 (fma_test_towardzero): Likewise.
51751 (fma_test_downward): Likewise
51752 (fma_test_upward): Likewise.
51753 (initialize): Set min_subnorm_value.
51754
51755 2012-09-29 Joseph Myers <joseph@codesourcery.com>
51756
51757 [BZ #14638]
51758 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
51759 0 + 0.
51760 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
51761 mode for addition resulting in exact zero.
51762 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
51763 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
51764 exact 0 + 0.
51765 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51766 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51767 * math/libm-test.inc (fma_test): Add more tests.
51768 (fma_test_towardzero): New function.
51769 (fma_test_downward): Likewise.
51770 (fma_test_upward): Likewise.
51771 (main): Call the new functions.
51772
51773 2012-09-28 David S. Miller <davem@davemloft.net>
51774
51775 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
51776
51777 2012-09-28 Roland McGrath <roland@hack.frob.com>
51778
51779 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
51780 instead of SIGALRM.
51781
51782 * sysdeps/gnu/_G_config.h: Moved to ...
51783 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
51784 * sysdeps/mach/hurd/_G_config.h: Moved to ...
51785 * sysdeps/generic/_G_config.h: ... here.
51786
51787 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
51788
51789 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
51790
51791 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
51792 Conditionalize target on [libnss_test1.so-version].
51793
51794 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
51795
51796 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
51797 (elfobjdir): Move out of conditionals.
51798
51799 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
51800 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
51801 (__nss_lookup_function): Conditionalize label remove_from_tree on
51802 [!DO_STATIC_NSS || SHARED], matching its only use.
51803
51804 2012-09-28 David S. Miller <davem@davemloft.net>
51805
51806 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
51807 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
51808 file.
51809 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
51810 sysdep_routines.
51811 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
51812 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
51813 when HWCAP_SPARC_CRYPTO is present.
51814
51815 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
51816
51817 * io/tst-mknodat.c: Create a FIFO instead of a socket.
51818
51819 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
51820
51821 [BZ #6530]
51822 * stdio-common/vfprintf.c (process_string_arg): Revert
51823 2000-07-22 change.
51824
51825 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
51826
51827 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
51828 for testcase.
51829 * stdio-common/tst-sprintf.c: Include <locale.h>
51830 (main): Test sprintf's handling of incomplete multibyte
51831 characters.
51832
51833 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
51834
51835 * elf/dl-runtime.c (VERSYMIDX): Removed.
51836 * elf/dl-version.c (VERSYMIDX): Likewise.
51837 * elf/do-rel.h (VERSYMIDX): Likewise.
51838 (VALIDX): Likewise.
51839 * elf/dynamic-link.h (VERSYMIDX): Likewise.
51840 * elf/rtld.c (VALIDX): Likewise.
51841 (ADDRIDX): Likewise.
51842 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
51843 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
51844 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
51845 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
51846 (VALIDX): Likewise.
51847 (ADDRIDX): Likewise.
51848
51849 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
51850
51851 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
51852
51853 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
51854
51855 [BZ #11438]
51856 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
51857 to global scope.
51858 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
51859 addresses are in the same scope as 192.0.2/24.
51860 * posix/gai.conf: Document new scope table defaults.
51861
51862 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51863
51864 [BZ #5298]
51865 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
51866 for ftell. Compute offsets from write pointers instead.
51867 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
51868
51869 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51870
51871 [BZ #14543]
51872 * libio/Makefile (tests): New test case tst-fseek.
51873 * libio/tst-fseek.c: New test case to verify that fseek/ftell
51874 combination works in wide mode.
51875 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
51876 state when the external buffer state changes.
51877
51878 2012-09-27 David S. Miller <davem@davemloft.net>
51879
51880 [BZ #14376]
51881 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
51882 pass reloc->r_addend in as the 'high' argument to
51883 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
51884
51885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51886
51887 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
51888
51889 * rt/tst-aio2.c: Include <pthread.h>.
51890 * rt/tst-aio3.c: Likewise.
51891
51892 2012-09-27 Steve Ellcey <sellcey@mips.com>
51893
51894 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
51895
51896 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
51897
51898 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
51899 contents on [SHARED].
51900
51901 2012-09-26 Marek Polacek <polacek@redhat.com>
51902
51903 [BZ #14530]
51904 [BZ #13741]
51905 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
51906 for C++ and GCC <4.3 as well as for non GCC compilers.
51907
51908 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
51909
51910 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51911
51912 2012-09-25 Roland McGrath <roland@hack.frob.com>
51913
51914 * Makefile.in (all, install): Declare with .PHONY.
51915 Reported by Michael Hope <michael.hope@linaro.org>.
51916
51917 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51918
51919 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
51920 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
51921 system header.
51922 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
51923 Likewise.
51924 (sydep_routines): Add the new and the internal functions.
51925 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
51926 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
51927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
51928 (GLIBC_2.17): Add the new function.
51929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
51930 (GLIBC_2.17): Likewise.
51931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
51932 (GLIBC_2.17): Likewise.
51933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
51934 (GLIBC_2.17): Likewise.
51935 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
51936
51937 2012-09-25 Alan Modra <amodra@gmail.com>
51938
51939 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
51940 Add release barrier before setting once_control to say
51941 initialisation is done. Add hints on lwarx. Use macro in
51942 place of isync.
51943 (clear_once_control): Add release barrier.
51944
51945 2012-09-25 Joseph Myers <joseph@codesourcery.com>
51946
51947 [BZ #13629]
51948 * math/s_clog.c (__clog): Handle more values close to |z| = 1
51949 specially.
51950 * math/s_clog10.c (__clog10): Likewise.
51951 * math/s_clog10f.c (__clog10f): Likewise.
51952 * math/s_clog10l.c (__clog10l): Likewise.
51953 * math/s_clogf.c (__clogf): Likewise.
51954 * math/s_clogl.c (__clogl): Likewise.
51955 * math/Makefile (libm-calls): Add x2y2m1.
51956 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
51957 (__x2y2m1): Likewise.
51958 (__x2y2m1l): Likewise.
51959 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
51960 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
51961 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
51962 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
51963 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
51964 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
51965 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
51966 * sysdeps/i386/fpu/libm-test-ulps: Update.
51967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51968
51969 [BZ #14621]
51970 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
51971 int as type of variable DEPTH.
51972 (glob): Use size_t instead of int as type of variables NEWCOUNT
51973 and OLD_PATHC.
51974
51975 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51976
51977 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
51978 Add s_sincosf-sse2.
51979 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
51980 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
51981 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
51982 macros for using routine as __sincosf_ia32.
51983 Use macro for function declaration and weak_alias.
51984 * sysdeps/i386/fpu/libm-test-ulps: Update.
51985
51986 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
51987 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51988
51989 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
51990 subnormal argument.
51991 * math/s_cexpf.c (__cexpf): Likewise.
51992 * math/s_csinf.c (__csinf): Likewise.
51993 * math/s_csinhf.c (__csinhf): Likewise.
51994 * math/s_ctanf.c (__ctanf): Likewise.
51995 * math/s_ctanhf.c (__ctanhf): Likewise.
51996 * math/s_ccosh.c (__ccoshf): Likewise.
51997 * math/s_cexp.c (__cexpl): Likewise.
51998 * math/s_csin.c (__csin): Likewise.
51999 * math/s_csinh.c (__csinh): Likewise.
52000 * math/s_ctan.c (__ctan): Likewise.
52001 * math/s_ctanh.c (ctanh): Likewise.
52002 * math/s_ccoshl.c (__ccoshl): Likewise.
52003 * math/s_cexpl.c (__cexpl): Likewise.
52004 * math/s_csinl.c (__csinl): Likewise.
52005 * math/s_csinhl.c (__csinhl): Likewise.
52006 * math/s_ctanl.c (__ctanl): Likewise.
52007 * math/s_ctanhl.c (__ctanhl): Likewise.
52008
52009 2012-09-25 Joseph Myers <joseph@codesourcery.com>
52010
52011 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
52012 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
52013 (_IO_off_t): Define to __off_t, not _G_off_t.
52014 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
52015 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
52016 (_IO_wint_t): Define to wint_t, not _G_wint_t.
52017 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
52018 type of __dummy and __dummy2 fields.
52019 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
52020 (_G_ssize_t): Likewise.
52021 (_G_off_t): Likewise.
52022 (_G_pid_t): Likewise.
52023 (_G_uid_t): Likewise.
52024 (_G_wchar_t): Likewise.
52025 (_G_wint_t): Likewise.
52026 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
52027 (_G_ssize_t): Likewise.
52028 (_G_off_t): Likewise.
52029 (_G_pid_t): Likewise.
52030 (_G_uid_t): Likewise.
52031 (_G_wchar_t): Likewise.
52032 (_G_wint_t): Likewise.
52033 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
52034 (_G_ssize_t): Likewise.
52035 (_G_off_t): Likewise.
52036 (_G_pid_t): Likewise.
52037 (_G_uid_t): Likewise.
52038 (_G_wchar_t): Likewise.
52039 (_G_wint_t): Likewise.
52040
52041 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
52042
52043 * malloc/arena.c: Include malloc-sysdep.h.
52044 (shrink_heap): Use check_may_shrink_heap to decide if madvise
52045 is sufficient to shrink the heap or an unmap is needed.
52046 * sysdeps/generic/malloc-sysdep.h: New file. Define
52047 new function check_may_shrink_heap.
52048 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
52049 new function check_may_shrink_heap.
52050
52051 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
52052
52053 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
52054 comments.
52055
52056 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
52057
52058 * catgets/test-gencat.sh: Add "set -e".
52059 * elf/tst-pathopt.sh: Likewise.
52060 * grp/tst_fgetgrent.sh: Likewise.
52061 * iconvdata/run-iconv-test.sh: Likewise.
52062 * intl/tst-gettext.sh: Likewise.
52063 * intl/tst-gettext2.sh: Likewise.
52064 * intl/tst-gettext4.sh: Likewise.
52065 * intl/tst-gettext6.sh: Likewise.
52066 * intl/tst-translit.sh: Likewise.
52067 * io/ftwtest-sh: Likewise.
52068 * libio/test-freopen.sh: Likewise.
52069 * malloc/tst-mtrace.sh: Likewise.
52070 * posix/globtest.sh: Likewise.
52071 * posix/tst-getconf.sh: Likewise.
52072 * posix/wordexp-tst.sh: Likewise.
52073 * stdio-common/tst-printf.sh: Likewise.
52074 * stdio-common/tst-unbputc.sh: Likewise.
52075 * stdlib/tst-fmtmsg.sh: Likewise.
52076 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52077 * catgets/Makefile: Do not specify -e option when running
52078 testsuite shell scripts.
52079 * elf/Makefile: Likewise.
52080 * grp/Makefile: Likewise.
52081 * iconvdata/Makefile: Likewise.
52082 * intl/Makefile: Likewise.
52083 * io/Makefile: Likewise.
52084 * libio/Makefile: Likewise.
52085 * malloc/Makefile: Likewise.
52086 * posix/Makefile: Likewise.
52087 * stdio-common/Makefile: Likewise.
52088 * stdlib/Makefile: Likewise.
52089 * sysdeps/x86_64/Makefile: Likewise.
52090
52091 * io/ftwtest-sh: Add copyright header.
52092 * posix/globtest.sh: Likewise.
52093 * posix/tst-getconf.sh: Likewise.
52094 * posix/wordexp-tst.sh: Likewise.
52095 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52096
52097 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
52098
52099 [BZ #13679]
52100 * Makeconfig (+link): Defined as $(+link-static) if
52101 $(build-shared) isn't yes.
52102 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
52103 isn't yes.
52104 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
52105
52106 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
52107
52108 [BZ #14562]
52109 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
52110 new chunk size with MALLOC_ALIGN_MASK.
52111
52112 2012-09-24 Joseph Myers <joseph@codesourcery.com>
52113
52114 [BZ #5044]
52115 * stdio-common/printf_fphex.c: Include <stdbool.h> and
52116 <rounding-mode.h>.
52117 (__printf_fphex): Determine rounding using get_rounding_mode and
52118 round_away.
52119 * stdio-common/tst-printf-round.c (struct hex_test): New
52120 structure.
52121 (hex_tests): New variable.
52122 (test_hex_in_one_mode): New function.
52123 (do_test): Also run tests for hex float output.
52124
52125 2012-09-21 Joseph Myers <joseph@codesourcery.com>
52126
52127 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52128 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52129 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
52130 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52131 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52132 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
52133 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52134 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52135
52136 2012-09-20 Joseph Myers <joseph@codesourcery.com>
52137
52138 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
52139 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
52140 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
52141 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
52142
52143 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
52144
52145 [BZ #14579]
52146 * elf/rtld.c (dl_main): Limit the check for self loading to normal
52147 mode only.
52148 * elf/tst-rtld-load-self.sh: New test.
52149 * elf/Makefile: Run it.
52150
52151 2012-09-18 Joseph Myers <joseph@codesourcery.com>
52152
52153 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
52154 (tst-writev-ENV): Remove.
52155 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
52156
52157 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
52158
52159 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
52160
52161 2012-09-17 Joseph Myers <joseph@codesourcery.com>
52162
52163 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
52164 unconditional.
52165 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
52166 Likewise.
52167 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
52168 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
52169 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
52170 Likewise.
52171
52172 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
52173
52174 [BZ #14587]
52175 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
52176 * config.make.in (have-cpp-asm-debuginfo): Removed.
52177 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
52178 * configure: Regenerated.
52179
52180 2012-09-14 Joseph Myers <joseph@codesourcery.com>
52181
52182 [BZ #5044]
52183 * stdio-common/printf_fp.c: Include <stdbool.h> and
52184 <rounding-mode.h>.
52185 (___printf_fp): Determine rounding using get_rounding_mode and
52186 round_away.
52187 * stdio-common/tst-printf-round.c: New file.
52188 * stdio-common/Makefile (tests): Add tst-printf-round.
52189 (link-libm): New variable.
52190 ($(objpfx)tst-printf-round): Depend in $(link-libm).
52191
52192 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
52193
52194 [BZ #14576]
52195 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
52196 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
52197 Likewise.
52198 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
52199 Likewise.
52200
52201 2012-09-13 Joseph Myers <joseph@codesourcery.com>
52202
52203 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
52204 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52205 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52206 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52207
52208 2012-09-12 Joseph Myers <joseph@codesourcery.com>
52209
52210 [BZ #14518]
52211 * include/rounding-mode.h: New file.
52212 * sysdeps/generic/get-rounding-mode.h: Likewise.
52213 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
52214 * stdlib/strtod_l.c: Include <rounding-mode.h>.
52215 (MAX_VALUE): New macro.
52216 (MIN_VALUE): Likewise.
52217 (overflow_value): New function.
52218 (underflow_value): Likewise.
52219 (round_and_return): Use overflow_value and underflow_value to
52220 determine return values in overflow and underflow cases. Use
52221 round_away to determine rounding depending on rounding mode.
52222 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
52223 determine return values in overflow and underflow cases.
52224 * stdlib/tst-strtod-round.c: Include <fenv.h>.
52225 (struct test_results): New structure.
52226 (struct test): Use struct test_results to store expected results
52227 for all rounding modes.
52228 (TEST): Include expected results for all rounding modes.
52229 (test_in_one_mode): New function.
52230 (do_test): Use test_in_one_mode to compute and check results.
52231 Check results for all rounding modes.
52232 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
52233 $(link-libm).
52234
52235 2012-12-09 Allan McRae <allan@archlinux.org>
52236
52237 * sysdeps/i386/fpu/libm-test-ulps: Update
52238
52239 2012-09-11 Joseph Myers <joseph@codesourcery.com>
52240
52241 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
52242 (_G_int32_t): Likewise.
52243 (_G_uint16_t): Likewise.
52244 (_G_uint32_t): Likewise.
52245 (_G_HAVE_BOOL): Likewise.
52246 (_G_HAVE_ATEXIT): Likewise.
52247 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52248 (_G_HAVE_IO_FILE_OPEN): Likewise.
52249 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
52250 (_G_int32_t): Likewise.
52251 (_G_uint16_t): Likewise.
52252 (_G_uint32_t): Likewise.
52253 (_G_HAVE_BOOL): Likewise.
52254 (_G_HAVE_ATEXIT): Likewise.
52255 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52256 (_G_HAVE_IO_FILE_OPEN): Likewise.
52257 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
52258 (_G_int32_t): Likewise.
52259 (_G_uint16_t): Likewise.
52260 (_G_uint32_t): Likewise.
52261 (_G_HAVE_BOOL): Likewise.
52262 (_G_HAVE_ATEXIT): Likewise.
52263 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52264 (_G_HAVE_IO_FILE_OPEN): Likewise.
52265
52266 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
52267
52268 * csu/libc-tls.c: Update copyright years.
52269
52270 2012-09-10 Joseph Myers <joseph@codesourcery.com>
52271
52272 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
52273 [!_G_USING_THUNKS]: Remove conditional code.
52274 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
52275 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
52276
52277 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
52278 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
52279 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52280 (_G_VTABLE_LABEL_PREFIX): Likewise.
52281 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52282 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52283 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52284 (_G_VTABLE_LABEL_PREFIX): Likewise.
52285 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52286 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52287 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52288 (_G_VTABLE_LABEL_PREFIX): Likewise.
52289 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52290
52291 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
52292
52293 * libio/Makefile: Include ../Makeconfig before tests.
52294 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
52295 only if $(build-shared) is yes.
52296
52297 * iconv/gconv_db.c: Update copyright years.
52298
52299 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52300
52301 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
52302 unwind info if defined PIC. Fix special cases description.
52303 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
52304
52305 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
52306 DP_HI_MASK entry.
52307 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
52308
52309 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
52310
52311 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
52312
52313 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
52314 is NULL.
52315
52316 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
52317 (LDLIBS-tst-chk4): This.
52318 (LDFLAGS-tst-chk5): Renamed to ...
52319 (LDLIBS-tst-chk5): This.
52320 (LDFLAGS-tst-chk6): Renamed to ...
52321 (LDLIBS-tst-chk6): This.
52322 (LDFLAGS-tst-lfschk4): Renamed to ...
52323 (LDLIBS-tst-lfschk4): This.
52324 (LDFLAGS-tst-lfschk5): Renamed to ...
52325 (LDLIBS-tst-lfschk5): This.
52326 (LDFLAGS-tst-lfschk6): Renamed to ...
52327 (LDLIBS-tst-lfschk6): This.
52328
52329 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
52330 on $(common-objpfx)soversions.mk.
52331
52332 2012-09-07 Joseph Myers <joseph@codesourcery.com>
52333
52334 [BZ #10014]
52335 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
52336 example host name.
52337
52338 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
52339
52340 * malloc/arena.c (arena_get_retry): New function that gets
52341 another arena for the caller to try its request on.
52342 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
52343 current arena cannot fulfill the request.
52344 (__libc_memalign): Likewise.
52345 (__libc_memalign): Likewise.
52346 (__libc_pvalloc): Likewise.
52347 (__libc_calloc): Likewise.
52348
52349 2012-09-05 John Tobey <john.tobey@gmail.com>
52350
52351 [BZ #13542]
52352 * manual/arith.texi (Operations on Complex): Fix description
52353 of carg branch cut.
52354
52355 2012-09-06 Joseph Myers <joseph@codesourcery.com>
52356
52357 [BZ #10014]
52358 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
52359 host name.
52360
52361 [BZ #10038]
52362 * manual/memory.texi (Memory): Make order of menu items match
52363 order of sections.
52364
52365 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
52366
52367 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
52368 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
52369 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
52370
52371 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
52372
52373 * csu/libc-tls.c (static_dtv): Renamed to ...
52374 (_dl_static_dtv): This. Make it global.
52375 (_dl_initial_dtv): Removed.
52376 (__libc_setup_tls): Updated.
52377 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
52378 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
52379 DL_INITIAL_DTV.
52380
52381 2012-09-06 Petr Machata <pmachata@redhat.com>
52382
52383 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
52384 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
52385 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
52386 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
52387
52388 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
52389
52390 [BZ #14545]
52391 * csu/libc-tls.c (_dl_initial_dtv): New variable.
52392 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
52393 freeing dtv[-1].
52394
52395 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
52396
52397 [BZ #14544]
52398 * Makeconfig (link-static-before-libc): Replace $(+prector)
52399 with $(+prectorT).
52400 (link-static-after-libc): Replace $(+postctor) with
52401 $(+postctorT).
52402 (link-bounded): Replace $(+prector)/$(+postctor) with
52403 $(+prectorT)/$(+postctorT).
52404 (+prectorT): New macro.
52405 (+postctorT): Likewise.
52406
52407 2012-09-06 Joseph Myers <joseph@codesourcery.com>
52408
52409 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
52410 (round_str): Handle values above the maximum for IBM long double
52411 as inexact.
52412 * stdlib/tst-strtod-round.c (tests): Regenerated.
52413
52414 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52415
52416 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
52417 assembler flag.
52418 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
52419 zarch_nohighgprs around the zarch optimized routines.
52420 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
52421 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
52422 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
52423 for zarch.
52424
52425 2012-09-05 David S. Miller <davem@davemloft.net>
52426
52427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52428
52429 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
52430 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
52431 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
52432 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52433 entries.
52434
52435 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
52436
52437 * malloc/arena.c: Fold copyright years.
52438 * malloc/mcheck.c, malloc/memusage.c: Likewise.
52439
52440 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
52441
52442 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
52443
52444 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
52445
52446 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
52447
52448 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
52449
52450 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
52451 change internal state upon failure.
52452
52453 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
52454
52455 * malloc/mcheck.c (mcheck_check_all): Fix typo.
52456 * malloc/memusage.c (mmap): Likewise.
52457 (mmap64, mremap): Likewise. Adjust name in comment.
52458
52459 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
52460
52461 * libio/fileops.c: Fix typos in comments.
52462 * libio/oldfileops.c: Likewise.
52463 * libio/wfileops.c: Likewise.
52464
52465 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
52466
52467 [BZ #1349]
52468 * malloc/Makefile (tests): Add tst-malloc-usable test case.
52469 (tst-malloc-usable-ENV): Set environment for test case.
52470 * malloc/hooks.c (malloc_check_get_size): New function to get
52471 requested size.
52472 * malloc/malloc.c (musable): Use malloc_check_get_size.
52473 * malloc/tst-malloc-usable.c: New test case.
52474
52475 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
52476
52477 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
52478
52479 2012-09-05 Allan McRae <allan@archlinux.org>
52480
52481 [BZ #13966]
52482 * configure.in (CXX_SYSINCLUDES): Use compiler output to
52483 determine header location.
52484 * configure: Regenerated.
52485
52486 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
52487
52488 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
52489 float format.
52490 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
52491 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
52492 format.
52493 (test): Regenerate.
52494
52495 2012-09-04 David S. Miller <davem@davemloft.net>
52496
52497 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
52498 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
52499 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
52500
52501 2012-09-04 Florian Weimer <fweimer@redhat.com>
52502
52503 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
52504 failures.
52505
52506 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
52507
52508 2012-09-04 Joseph Myers <joseph@codesourcery.com>
52509
52510 [BZ #9914]
52511 * libio/iogetdelim.c: Include <limits.h>.
52512 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
52513 + len + 1 would overflow.
52514
52515 2012-09-03 Andreas Jaeger <aj@suse.de>
52516
52517 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52518 * sysdeps/i386/fpu/libm-test-ulps: Update.
52519
52520 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52521
52522 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
52523 Add s_sinf-sse2, s_conf-sse2.
52524
52525 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
52526 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
52527 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
52528 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
52529
52530 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
52531 for using routine as __sinf_ia32.
52532 Use macro for function declaration and weak_alias.
52533 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
52534 for using routine as __cosf_ia32.
52535 Use macro for function declaration and weak_alias.
52536
52537 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
52538 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
52539
52540 * sysdeps/x86_64/fpu/s_sinf.S: New file.
52541 * sysdeps/x86_64/fpu/s_cosf.S: New file.
52542 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52543
52544 * math/libm-test.inc (cos_test): Add more test cases.
52545 (sin_test): Likewise.
52546 (sincos_test): Likewise.
52547
52548 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52549
52550 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
52551 (IFUNC_RESOLVE): Make pointers to the specialized implementations
52552 hidden.
52553 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
52554
52555 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
52556
52557 [BZ #14538]
52558 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
52559 first element of the GOT.
52560 (elf_machine_load_address): Return the difference between
52561 the runtime address of _DYNAMIC and elf_machine_dynamic ().
52562
52563 2012-09-01 Allan McRae <allan@archlinux.org>
52564
52565 [BZ #13412]
52566 * configure.in (AWK): Require gawk version 3.0 or later.
52567 * configure: Regenerated.
52568
52569 2012-09-01 Joseph Myers <joseph@codesourcery.com>
52570
52571 * sysdeps/unix/sysv/linux/kernel-features.h
52572 (__ASSUME_POSIX_CPU_TIMERS): Remove.
52573 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52574 [__NR_clock_getres]: Make code unconditional.
52575 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
52576 (clock_getcpuclockid): Remove code left unreachable by removal of
52577 conditionals.
52578 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
52579 code unconditional.
52580 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
52581 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52582 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
52583 Make code unconditional.
52584 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
52585 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52586 * sysdeps/unix/sysv/linux/clock_settime.c
52587 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
52588 conditional code.
52589 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
52590 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52591
52592 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
52593
52594 [BZ #14476]
52595 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
52596 scripts/test-installation.pl.
52597
52598 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
52599 and $ld_so_version if it is set.
52600
52601 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
52602
52603 [BZ #14516]
52604 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
52605 failure if reading from procfs failed.
52606 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
52607
52608 2012-08-27 Joseph Myers <joseph@codesourcery.com>
52609
52610 * sysdeps/unix/sysv/linux/kernel-features.h
52611 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
52612 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
52613 Remove conditional code.
52614 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52615 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
52616 Remove conditional code.
52617 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52618 * sysdeps/unix/sysv/linux/i386/fxstat.c
52619 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52620 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52621 * sysdeps/unix/sysv/linux/i386/fxstatat.c
52622 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52623 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52624 * sysdeps/unix/sysv/linux/i386/lxstat.c
52625 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52626 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52627 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
52628 Remove conditional code.
52629 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52630 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
52631 Remove conditional code.
52632 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52633 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
52634 <kernel-features.h>.
52635 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
52636 Remove.
52637 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
52638 Remove conditional code.
52639 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52640 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
52641 Remove conditional.
52642
52643 2012-08-27 Mike Frysinger <vapier@gentoo.org>
52644
52645 [BZ #5400]
52646 * NEWS: Add fixed bug number.
52647
52648 2012-08-27 Joseph Myers <joseph@codesourcery.com>
52649
52650 [BZ #14519]
52651 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
52652 underflowing exponent in case of negative sign.
52653 * stdlib/tst-strtod-round-data: Add more tests.
52654 * stdlib/tst-strtod-round.c (tests): Regenerated.
52655
52656 [BZ #3479]
52657 * stdlib/strtod_l.c (NDIG): Remove.
52658 (HEXNDIG): Likewise.
52659 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
52660 smallest representable value.
52661 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
52662 lie within an exact representation of 1/2 ulp of the result.
52663 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
52664 unconditionally.
52665 (TENS_P9_IDX): Define unconditionally.
52666 (TENS_P9_SIZE): Likewise.
52667 (TENS_P10_IDX): Likewise.
52668 (TENS_P10_SIZE): Likewise.
52669 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
52670 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
52671 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
52672 entries for 10^2^13 and 10^2^14.
52673 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
52674 (TENS_P13_IDX): Define.
52675 (TENS_P13_SIZE): Likewise.
52676 (TENS_P14_IDX): Likewise.
52677 (TENS_P14_SIZE): Likewise.
52678 (_fpioconst_pow10): Change array size to
52679 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
52680 unconditional.
52681 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
52682 1024]: Add entries for 10^2^13 and 10^2^14.
52683 [LAST_POW10 > _LAST_POW10]: Remove #error.
52684 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
52685 (_fpioconst_pow10): Change array size to
52686 FPIOCONST_POW10_ARRAY_SIZE.
52687 * stdlib/gen-fpioconst.c: New file.
52688 * stdlib/gen-tst-strtod-round.c: Likewise.
52689 * stdlib/tst-strtod-round-data: Likewise.
52690 * stdlib/tst-strtod-round.c: Likewise.
52691 * stdlib/Makefile (tests): Add tst-strtod-round.
52692
52693 [BZ #14459]
52694 * stdlib/strtod_l.c: Include <stdint.h>.
52695 (NDEBUG): Do not define.
52696 (round_and_return): Change EXPONENT parameter to type intmax_t.
52697 Rearrange calculations to avoid internal overflow possibilities.
52698 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
52699 Rearrange calculations to avoid internal overflow possibilities.
52700 Assert that number fits inside MPNSIZE limbs.
52701 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
52702 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
52703 calculations and add assertions to avoid internal overflow
52704 possibilities. Add casts to avoid signed/unsigned operations.
52705 * stdlib/tst-strtod-overflow.c: New file.
52706 * stdlib/Makefile (tests): Add tst-strtod-overflow.
52707
52708 2012-08-25 Marek Polacek <polacek@redhat.com>
52709
52710 * time/time.h: Fix some typos in comments.
52711
52712 2012-08-23 Roland McGrath <roland@hack.frob.com>
52713
52714 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
52715 * posix/tst-rfc3484-2.c: Likewise.
52716 * posix/tst-rfc3484-3.c: Likewise.
52717
52718 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
52719
52720 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
52721 (EF_ARM_ABI_FLOAT_HARD): Likewise.
52722
52723 2012-08-23 Joseph Myers <joseph@codesourcery.com>
52724
52725 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
52726 #include of fxstatat64.c.
52727
52728 2012-08-22 Roland McGrath <roland@hack.frob.com>
52729
52730 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
52731 * shadow/getspent_r.c: Likewise.
52732 * shadow/getspnam.c: Likewise.
52733 * shadow/getspnam_r.c: Likewise.
52734 * gshadow/getsgent.c: Likewise.
52735 * gshadow/getsgent_r.c: Likewise.
52736 * gshadow/getsgnam.c: Likewise.
52737 * gshadow/getsgnam_r.c: Likewise.
52738 * inet/getnetbyad.c: Likewise.
52739 * inet/getnetbyad_r.c: Likewise.
52740 * inet/getnetbynm.c: Likewise.
52741 * inet/getnetbynm_r.c: Likewise.
52742 * inet/getnetent.c: Likewise.
52743 * inet/getnetent_r.c: Likewise.
52744 * inet/getproto.c: Likewise.
52745 * inet/getproto_r.c: Likewise.
52746 * inet/getprtent.c: Likewise.
52747 * inet/getprtent_r.c: Likewise.
52748 * inet/getprtname.c: Likewise.
52749 * inet/getprtname_r.c: Likewise.
52750 * inet/getrpcbyname.c: Likewise.
52751 * inet/getrpcbyname_r.c: Likewise.
52752 * inet/getrpcbynumber.c: Likewise.
52753 * inet/getrpcbynumber_r.c: Likewise.
52754 * inet/getrpcent.c: Likewise.
52755 * inet/getrpcent_r.c: Likewise.
52756 * inet/getaliasent.c: Likewise.
52757 * inet/getaliasent_r.c: Likewise.
52758 * inet/getaliasname.c: Likewise.
52759 * inet/getaliasname_r.c: Likewise.
52760 * nscd/getgrgid_r.c: Likewise.
52761 * nscd/getgrnam_r.c: Likewise.
52762 * nscd/gethstbyad_r.c: Likewise.
52763 * nscd/gethstbynm3_r.c: Likewise.
52764 * nscd/getpwnam_r.c: Likewise.
52765 * nscd/getpwuid_r.c: Likewise.
52766 * nscd/getsrvbynm_r.c: Likewise.
52767 * nscd/getsrvbypt_r.c: Likewise.
52768 * nscd/gai.c: Likewise.
52769
52770 * configure.in (build_nscd): New substituted variable, set
52771 by --disable-build-nscd and defaults to $use_nscd.
52772 * configure: Regenerated.
52773 * config.make.in (build-nscd): New substituted variable.
52774 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
52775 Change conditional to require [$(build-nscd) = yes] as well.
52776 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
52777
52778 [BZ# 13696]
52779 * configure.in (use_nscd): New substituted variable, set by
52780 --disable-nscd. If enabled, define USE_NSCD.
52781 * configure: Regenerated.
52782 * config.h.in: Add USE_NSCD.
52783 * config.make.in (use-nscd): New substituted variable.
52784 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
52785 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
52786 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
52787 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
52788 (CFLAGS-getgrnam_r.c): Likewise.
52789 (CFLAGS-initgroups.c): Likewise.
52790 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
52791 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
52792 Variables removed.
52793 * inet/getnetgrent_r.c
52794 (nscd_setnetgrent): New function, broken out of ...
52795 (setnetgrent): ... here. Call it.
52796 (innetgr): Conditionalize nscd bits on [USE_NSCD].
52797 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
52798 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
52799 * nscd/Makefile (routines, aux): Move definitions after include of
52800 Makeconfig. Conditionalize on [$(use-nscd) != no].
52801 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
52802 Conditionalize on [USE_NSCD].
52803 (is_nscd, nscd_init_cb): Likewise.
52804 (nss_load_library): Conditionalize init callback on [USE_NSCD].
52805 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
52806 * nss/nss_db/db-init.c: Likewise.
52807 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
52808 [USE_NSCD].
52809 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
52810 (make_request): Use it.
52811 (cache_valid_p): New function.
52812 (__check_pf): Use it.
52813 * NEWS: Add item for --disable-nscd.
52814
52815 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
52816
52817 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
52818 to support sed >= 4.2.1-20-ga9bf076.
52819 * configure: Regenerated.
52820
52821 2012-08-22 Roland McGrath <roland@hack.frob.com>
52822
52823 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
52824 Conditionalize whole body on [IREL].
52825
52826 2012-08-22 Jeff Law <law@redhat.com>
52827
52828 [BZ #14505]
52829 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
52830 if the family is PF_UNSPEC.
52831
52832 2012-08-22 Mike Frysinger <vapier@gentoo.org>
52833
52834 * Makerules (lib-version): Rename from V.
52835 (install-lib-nosubdir): Change V to lib-version.
52836
52837 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
52838
52839 [BZ #14252]
52840 * powerpc32/power6/wcschr.c: New file.
52841 * powerpc32/power6/wcscpy.c: New file.
52842 * powerpc32/power6/wcsrchr.c: New file.
52843 * powerpc64/power6/wcschr.c: New file.
52844 * powerpc64/power6/wcscpy.c: New file.
52845 * powerpc64/power6/wcsrchr.c: New file.
52846
52847 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
52848
52849 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
52850 (two_way_short_needle): Use it.
52851 * string/strstr.c (AVAILABLE1_USES_J): Define.
52852 * string/strcasestr.c: Likewise.
52853
52854 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
52855 array references.
52856 * string/strcasestr.c (TOLOWER): Make side-effect safe.
52857
52858 [BZ #11607]
52859 * NEWS: Add an entry.
52860 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
52861 define their defaults.
52862 (two_way_short_needle): Detect end-of-string on-the-fly.
52863 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
52864 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
52865 * string/bug-strcasestr1.c: New test.
52866 * string/Makefile: Run it.
52867
52868 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
52869
52870 [BZ #11607]
52871 * string/str-two-way.h (two_way_short_needle): Optimize matching of
52872 the first character.
52873
52874 2012-08-21 Roland McGrath <roland@hack.frob.com>
52875
52876 * csu/elf-init.c (__libc_csu_irel): Function removed.
52877 * csu/libc-start.c (apply_irel): New function.
52878 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
52879
52880 2012-08-21 Joseph Myers <joseph@codesourcery.com>
52881
52882 * sysdeps/unix/sysv/linux/kernel-features.h
52883 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
52884 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52885 <kernel-features.h>.
52886 [__NR_fadvise64_64]: Make code unconditional.
52887 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
52888 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
52889 !__NR_fadvise64_64)]: Likewise.
52890 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
52891 !__NR_fadvise64_64))]: Likewise.
52892 [__NR_fadvise64]: Make code unconditional.
52893 [!__NR_fadvise64]: Remove conditional code.
52894 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
52895 <kernel-features.h>.
52896 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52897 unconditional.
52898 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52899 conditional code.
52900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
52901 not include <kernel-features.h>.
52902 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52903 unconditional.
52904 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52905 conditional code.
52906 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
52907 include <kernel-features.h>.
52908 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52909 unconditional.
52910 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52911 conditional code.
52912
52913 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
52914
52915 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
52916 slight instruction rearrangements per scrollpipe analysis.
52917 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
52918
52919 2012-08-20 Roland McGrath <roland@hack.frob.com>
52920
52921 * manual/syslog.texi (syslog; vsyslog, closelog):
52922 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
52923 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
52924
52925 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
52926 DSOCAPS to match condition on defining it.
52927
52928 2012-08-20 Joseph Myers <joseph@codesourcery.com>
52929
52930 * sysdeps/unix/sysv/linux/kernel-features.h
52931 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
52932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
52933 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52934 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
52936 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52937 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
52939 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52940 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52941
52942 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
52943 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
52944
52945 * sysdeps/unix/sysv/linux/kernel-features.h
52946 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
52947 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
52948 unconditional.
52949 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52950 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
52951 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
52952 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52953 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
52954 Make code unconditional.
52955 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52956 (__mmap64) [!__NR_mmap2]: Likewise.
52957 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
52958 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
52959 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52960 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
52961 [__NR_mmap2]: Make code unconditional.
52962 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52963 (__mmap64) [!__NR_mmap2]: Likewise.
52964
52965 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52966
52967 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
52968
52969 2012-08-18 Andreas Jaeger <aj@suse.de>
52970
52971 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
52972
52973 2012-08-18 Mike Frysinger <vapier@gentoo.org>
52974
52975 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
52976 * include/unistd.h (__have_sock_cloexec): Likewise.
52977 (__have_pipe2): Likewise.
52978 (__have_dup3): Likewise.
52979
52980 2012-08-18 Mike Frysinger <vapier@gentoo.org>
52981
52982 [BZ #9685]
52983 * include/unistd.h (__have_pipe2): Change define into an extern int.
52984 (__have_dup3): Likewise.
52985 * socket/have_sock_cloexec.c: Include fcntl.h.
52986 (__have_pipe2): New variable.
52987 (__have_dup3): Likewise.
52988
52989 2012-08-17 Mike Frysinger <vapier@gentoo.org>
52990
52991 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
52992
52993 2012-08-17 Marek Polacek <polacek@redhat.com>
52994
52995 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
52996 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
52997
52998 2012-08-17 Roland McGrath <roland@hack.frob.com>
52999
53000 * configure.in: Add AC_SUBST for sysheaders.
53001 * configure: Regenerated.
53002 * config.make.in (sysheaders): New substituted variable.
53003
53004 * sysdeps/unix/mkfifo.c: Moved ...
53005 * sysdeps/posix/mkfifo.c: ... here.
53006 * sysdeps/unix/mkfifoat.c: Moved ...
53007 * sysdeps/posix/mkfifoat.c: ... here.
53008
53009 * sysdeps/unix/utime.c: Moved ...
53010 * sysdeps/posix/utime.c: ... here.
53011
53012 * sysdeps/unix/time.c: Moved ...
53013 * sysdeps/posix/time.c: ... here.
53014 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
53015 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
53016
53017 * sysdeps/unix/nice.c: Moved ...
53018 * sysdeps/posix/nice.c: ... here.
53019
53020 * sysdeps/unix/alarm.c: Moved ...
53021 * sysdeps/posix/alarm.c: ... here.
53022
53023 * intl/Makefile ($(codeset_mo)): Depend on the input file.
53024
53025 2012-08-17 Jeff Law <law@redhat.com>
53026
53027 * intl/Makefile (codeset_mo): New variable.
53028 ($(codeset_mo)): New target.
53029 (tst-codeset.out): Depend on that. Remove explicit rule.
53030 (tst-gettext3.out, tst-gettext5.out): Likewise.
53031 (LOCPATH-ENV, tst-codeset-ENV): New variables.
53032 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
53033 * intl/tst-codeset.sh: Remove.
53034 * intl/tst-gettext3.sh: Likewise.
53035 * intl/tst-gettext5.sh: Likewise.
53036
53037 2012-08-17 Roland McGrath <roland@hack.frob.com>
53038
53039 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
53040 * sysdeps/unix/syscalls.list: ... here.
53041
53042 * sysdeps/posix/getaddrinfo.c
53043 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
53044 (gaiconf_init, gaiconf_reload): Use them.
53045 [!_STATBUF_ST_NSEC]
53046 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
53047 Define using time_t rather than struct timespec.
53048
53049 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
53050 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
53051 Macros removed.
53052 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
53053 [!NO_THREADS].
53054 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
53055 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
53056 Likewise.
53057
53058 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
53059 __libc_cleanup_push argument.
53060
53061 * bits/param.h: New file.
53062 * misc/sys/param.h: New file.
53063 * include/sys/param.h: New file.
53064 * misc/Makefile (headers): Add bits/param.h.
53065 * sysdeps/generic/sys/param.h: File removed.
53066 * sysdeps/unix/sysv/linux/bits/param.h: New file.
53067 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
53068 * sysdeps/mach/hurd/bits/param.h: New file.
53069 * sysdeps/mach/hurd/sys/param.h: File removed.
53070
53071 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
53072 last change.
53073
53074 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
53075 [_IO_MTSAFE_IO].
53076 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
53077 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
53078 New macros.
53079
53080 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
53081 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
53082 rather than -D_IO_MTSAFE_IO conditionally.
53083 * stdio-common/Makefile (CPPFLAGS): Likewise.
53084 * wcsmbs/Makefile (CPPFLAGS): Likewise.
53085 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
53086 Use $(libio-mtsafe).
53087 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
53088 of -D_IO_MTSAFE_IO.
53089 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
53090 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
53091 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
53092 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
53093 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
53094 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
53095 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
53096 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
53097 (CFLAGS-fread_u_chk.c): Likewise.
53098 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
53099 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
53100 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
53101 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
53102 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
53103 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
53104 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
53105 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
53106 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
53107
53108 * libio/Makefile: Test [$(libc-reentrant) = yes]
53109 instead of [$(filter %REENTRANT, $(defines)) nonempty].
53110
53111 * Makeconfig
53112 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
53113 * sysdeps/pthread/configure: File removed.
53114 * sysdeps/pthread/Makeconfig: New file.
53115 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
53116 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
53117
53118 2012-08-16 Gary Benson <gbenson@redhat.com>
53119
53120 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
53121 unmapping the first object in a namespace.
53122
53123 2012-08-16 Roland McGrath <roland@hack.frob.com>
53124
53125 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
53126 (__internal_setnetgrent): ... this. Add internal_function to
53127 definition. Add libc_hidden_def.
53128 (setnetgrent): Update caller.
53129 (internal_endnetgrent): Renamed to ...
53130 (__internal_endnetgrent): ... this. Add internal_function to
53131 definition. Add libc_hidden_def.
53132 (endnetgrent): Update caller.
53133 (internal_getnetgrent_r): Renamed to ...
53134 (__internal_getnetgrent_r): ... this. Add internal_function to
53135 definition. Add libc_hidden_def.
53136 (__getnetgrent_r): Update caller.
53137 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
53138
53139 2012-08-16 Joseph Myers <joseph@codesourcery.com>
53140
53141 * stdlib/longlong.h: Update from GCC.
53142
53143 2012-08-16 Roland McGrath <roland@hack.frob.com>
53144
53145 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
53146 on _QL, which is set by umul_ppmm but never used.
53147 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
53148 variables, which are set by GMP macros but never used.
53149 * stdio-common/_itowa.c (_itowa): Likewise.
53150 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
53151 * stdlib/mod_1.c (mpn_mod_1): Likewise.
53152
53153 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
53154
53155 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
53156 struct La_sh_regs is not constant.
53157 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
53158 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
53159 and struct La_sparc64_regs are not constant.
53160
53161 2012-08-16 Joseph Myers <joseph@codesourcery.com>
53162
53163 * sysdeps/unix/sysv/linux/kernel-features.h
53164 (__ASSUME_POSIX_TIMERS): Remove.
53165 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53166 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53167 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
53168 Make code unconditional.
53169 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53170 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
53171 Make code unconditional.
53172 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53173 * sysdeps/unix/sysv/linux/clock_nanosleep.c
53174 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
53175 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53176 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
53177 Make code unconditional.
53178 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53179 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
53180 (__libc_missing_posix_timers): Remove.
53181
53182 2012-08-15 Roland McGrath <roland@hack.frob.com>
53183
53184 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
53185 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
53186
53187 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
53188
53189 * elf/dl-sym.c: Include <stdlib.h>.
53190
53191 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
53192 constants, which avoids warnings in 32-bit builds.
53193
53194 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
53195 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
53196
53197 * misc/lseek.c: File moved to ...
53198 * io/lseek.c: ... here.
53199
53200 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
53201
53202 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
53203 shifting LEN more than 31 bits at once.
53204
53205 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53206
53207 [BZ #14195]
53208 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
53209 segmentation fault for a case of two empty input strings.
53210 * string/test-strncasecmp.c (check1): Renamed to...
53211 (bz12205): ...this.
53212 (bz14195): Add new testcase for two empty input strings and N > 0.
53213 (test_main): Call new testcase, adapt for renamed function.
53214
53215 2012-08-15 Andreas Jaeger <aj@suse.de>
53216
53217 [BZ #14090]
53218 * crypt/md5test2.c: New test, based on test supplied by Serge
53219 Belyshev <belyshev@depni.sinp.msu.ru>.
53220 * crypt/Makefile (xtests): Add md5test-giant..
53221 * crypt/Makefile ($(objpfx)md5test-giant): Add.
53222
53223 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
53224
53225 [BZ #14090]
53226 * crypt/md5.c (md5_process_block): Don't assume the buffer
53227 length is less than 2**32.
53228 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
53229 length is less than 2**64.
53230
53231 2012-08-15 Roland McGrath <roland@hack.frob.com>
53232
53233 * string/str-two-way.h: Include <sys/param.h>.
53234 (MAX): Macro removed.
53235
53236 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
53237 Move #define and #undef of memmove to just before and after
53238 including <string.h>.
53239
53240 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
53241 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
53242 and after including <string.h>. Move declarations of
53243 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
53244 to before #include "string/memmove.c".
53245
53246 * include/dirent.h: Declare __getdirentries.
53247
53248 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
53249 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
53250
53251 2012-08-14 Mike Frysinger <vapier@gentoo.org>
53252
53253 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
53254 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
53255 * sysdeps/i386/configure: Regenerated.
53256 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
53257 STABS_CURRENT_FILE, and STABS_FUN.
53258 (END): Remove call to STABS_FUN_END.
53259 (STABS_CURRENT_FILE1): Delete.
53260 (STABS_CURRENT_FILE): Likewise.
53261 (STABS_FUN): Likewise.
53262 (STABS_FUN_END): Likewise.
53263 (STABS_FUN2): Likewise.
53264 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
53265 * sysdeps/x86_64/configure: Regenerated.
53266
53267 2012-08-14 Roland McGrath <roland@hack.frob.com>
53268
53269 * elf/dl-open.c: Include <atomic.h>.
53270 * elf/dl-lookup.c: Likewise.
53271
53272 2012-08-14 Joseph Myers <joseph@codesourcery.com>
53273
53274 * sysdeps/unix/sysv/linux/kernel-features.h
53275 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
53276 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
53277 unconditionally.
53278 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
53279 unconditionally.
53280 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
53281 condition on __ASSUME_CLONE_THREAD_FLAGS.
53282
53283 2012-08-14 Andreas Jaeger <aj@suse.de>
53284
53285 * sysdeps/i386/fpu/libm-test-ulps: Update.
53286
53287 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
53288
53289 * include/atomic.h (atomic_exchange_and_add): Split into ...
53290 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
53291 New atomic macros.
53292
53293 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
53294
53295 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53296
53297 2012-08-13 Jeff Law <law@redhat.com>
53298
53299 * manual/stdio.texi (snprintf): Clarify handling of the trailing
53300 null byte in the output string.
53301
53302 2012-08-10 Joseph Myers <joseph@codesourcery.com>
53303
53304 * sysdeps/unix/sysv/linux/kernel-features.h
53305 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
53306 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
53307 (__ASSUME_ARG_MAX_STACK_BASED): Define.
53308 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
53309 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
53310 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
53311 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
53312
53313 2012-08-09 Jeff Law <law@redhat.com>
53314
53315 [BZ #13939]
53316 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
53317 When avoid_arena is set, don't retry in the that arena. Pick the
53318 next one, whatever it might be.
53319 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
53320 (arena_lock): Pass in new parameter to arena_get2.
53321 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
53322 arena_get2.
53323 (__libc_malloc): Unify retrying after main arena failure with
53324 __libc_memalign version.
53325 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
53326
53327 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
53328
53329 [BZ #14166]
53330 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
53331 to __redirect_strstr.
53332 (__strstr_sse42): Use typeof __redirect_strstr.
53333 (__strstr_ia32): Likewise.
53334 (__libc_strstr): New prototype.
53335 (strstr): Renamed to ...
53336 (__libc_strstr): This.
53337 (strstr): New strong alias of __libc_strstr.
53338 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53339 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
53340 __redirect_time.
53341 Include <time.h>.
53342 (__libc_time): New prototype.
53343 (time_ifunc): Replace time with __libc_time.
53344 (time): New strong alias and hidden definition of __libc_time.
53345 (__GI_time): Remove strong alias.
53346 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
53347 Include <stddef.h>.
53348 (memmove): Redefined to __redirect_memmove.
53349 (__memmove_sse2): Use typeof __redirect_memmove.
53350 (__memmove_ssse3): Likewise.
53351 (__memmove_ssse3_back): Likewise.
53352 (__libc_memmove): New prototype.
53353 (memmove): Renamed to ...
53354 (__libc_memmove): This.
53355 (memmove): New strong alias of __libc_memmove.
53356
53357 2012-08-08 Mark Salter <msalter@redhat.com>
53358
53359 * elf/elf.h
53360 (R_MN10300_TLS_GD): Define.
53361 (R_MN10300_TLS_LD): Likewise.
53362 (R_MN10300_TLS_LDO): Likewise.
53363 (R_MN10300_TLS_GOTIE): Likewise.
53364 (R_MN10300_TLS_IE): Likewise.
53365 (R_MN10300_TLS_LE): Likewise.
53366 (R_MN10300_TLS_DTPMOD): Likewise.
53367 (R_MN10300_TLS_DTPOFF): Likewise.
53368 (R_MN10300_TLS_TPOFF): Likewise.
53369 (R_MN10300_SYM_DIFF): Likewise.
53370 (R_MN10300_ALIGN): Likewise.
53371 (R_MN10300_NUM): Update.
53372
53373 2012-08-08 Joseph Myers <joseph@codesourcery.com>
53374
53375 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
53376 Remove.
53377
53378 2012-08-08 Roland McGrath <roland@hack.frob.com>
53379
53380 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
53381
53382 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
53383 sysdeps/unix -> sysdeps/posix move.
53384 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53385
53386 2012-08-07 Allan McRae <allan@archlinux.org>
53387
53388 [BZ #14303]
53389 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
53390 (SUNOS_CPP): Likewise.
53391 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
53392 not found.
53393 (open_input): Call CPP using execvp.
53394
53395 2012-08-07 Joseph Myers <joseph@codesourcery.com>
53396
53397 * sysdeps/unix/sysv/linux/kernel-features.h
53398 (__ASSUME_PROT_GROWSUPDOWN): Remove.
53399 (__ASSUME_NO_CLONE_DETACHED): Likewise.
53400 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53401 (__ASSUME_WAITID_SYSCALL): Likewise.
53402 * sysdeps/unix/sysv/linux/dl-execstack.c
53403 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
53404 code unconditional.
53405 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
53406 conditional code.
53407 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
53408 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
53409 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
53410 code.
53411 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
53412 unconditional.
53413 [__ASSUME_WAITID_SYSCALL]: Likewise.
53414 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
53415
53416 2012-08-07 Roland McGrath <roland@hack.frob.com>
53417
53418 * sysdeps/unix/closedir.c: Renamed to ...
53419 * sysdeps/posix/closedir.c: ... here.
53420 * sysdeps/unix/dirfd.c: Renamed to ...
53421 * sysdeps/posix/dirfd.c: ... here.
53422 * sysdeps/unix/dirstream.h: Renamed to ...
53423 * sysdeps/posix/dirstream.h: ... here.
53424 * sysdeps/unix/fdopendir.c: Renamed to ...
53425 * sysdeps/posix/fdopendir.c: ... here.
53426 * sysdeps/unix/opendir.c: Renamed to ...
53427 * sysdeps/posix/opendir.c: ... here.
53428 * sysdeps/unix/readdir.c: Renamed to ...
53429 * sysdeps/posix/readdir.c: ... here.
53430 * sysdeps/unix/readdir_r.c: Renamed to ...
53431 * sysdeps/posix/readdir_r.c: ... here.
53432 * sysdeps/unix/rewinddir.c: Renamed to ...
53433 * sysdeps/posix/rewinddir.c: ... here.
53434 * sysdeps/unix/seekdir.c: Renamed to ...
53435 * sysdeps/posix/seekdir.c: ... here.
53436 * sysdeps/unix/telldir.c: Renamed to ...
53437 * sysdeps/posix/telldir.c: ... here.
53438 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
53439 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
53440 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
53441 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
53442
53443 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
53444 * bits/fcntl.h: ... here.
53445
53446 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
53447 not 0.
53448 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
53449 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
53450 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
53451 (struct flock): Move l_start, l_len to the beginning.
53452 Use __pid_t for l_pid.
53453 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
53454 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
53455 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
53456 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
53457 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
53458 [__USE_LARGEFILE64] (struct flock64): New type.
53459 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
53460
53461 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
53462 * bits/dirent.h: ... here.
53463
53464 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
53465 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
53466
53467 2012-08-07 Joseph Myers <joseph@codesourcery.com>
53468
53469 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53470 Change from 2.6.0 to 2.6.16.
53471 * sysdeps/unix/sysv/linux/configure: Regenerated.
53472 * sysdeps/unix/sysv/linux/kernel-features.h
53473 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
53474 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
53475 version.
53476 (__ASSUME_UTIMES): Likewise.
53477 (__ASSUME_CLONE_STOPPED): Remove.
53478 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
53479 architectures, not kernel version.
53480 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
53481 (__ASSUME_NO_CLONE_DETACHED): Likewise.
53482 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53483 (__ASSUME_WAITID_SYSCALL): Likewise.
53484 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
53485 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
53486 * README: State 2.6.16 as minimum Linux kernel version. Do not
53487 refer to older versions.
53488
53489 2012-08-06 Roland McGrath <roland@hack.frob.com>
53490
53491 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
53492 Define alphasort64 as an alias.
53493 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
53494 Define versionsort64 as an alias.
53495 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
53496 Define scandir64 as an alias.
53497 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
53498 Define scandirat64 as an alias.
53499 * dirent/alphasort64.c (alphasort64):
53500 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
53501 * dirent/versionsort64.c: Likewise.
53502 * dirent/scandir64.c: Likewise.
53503 * dirent/scandirat64.c: Likewise.
53504 * sysdeps/wordsize-64/alphasort.c: File removed.
53505 * sysdeps/wordsize-64/alphasort64.c: File removed.
53506 * sysdeps/wordsize-64/scandir.c: File removed.
53507 * sysdeps/wordsize-64/scandir64.c: File removed.
53508 * sysdeps/wordsize-64/scandirat.c: File removed.
53509 * sysdeps/wordsize-64/scandirat64.c: File removed.
53510 * sysdeps/wordsize-64/versionsort.c: File removed.
53511 * sysdeps/wordsize-64/versionsort64.c: File removed.
53512 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
53513 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
53514 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
53515 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
53516 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
53517 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
53518 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
53519 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
53520
53521 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
53522 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
53523 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
53524 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53525 [defined __arch64__ || defined __sparcv9]
53526 (__INO_T_MATCHES_INO64_T): New macro.
53527 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53528 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
53529 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
53530 * sysdeps/unix/sysv/linux/bits/dirent.h
53531 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
53532 (_DIRENT_MATCHES_DIRENT64): New macro.
53533
53534 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
53535 Define lockf64 as an alias.
53536 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
53537 Define fseeko64 as an alias.
53538 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
53539 Define ftello64 as an alias.
53540 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
53541 Define _IO_fgetpos64 and fgetpos64 as aliases.
53542 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
53543 Define _IO_fsetpos64 and fsetpos64 as aliases.
53544 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
53545 Conditionalize body on this.
53546 * libio/fseeko64.c: Likewise.
53547 * libio/ftello64.c: Likewise.
53548 * libio/iofgetpos64.c: Likewise.
53549 * libio/iofsetpos64.c: Likewise.
53550 * sysdeps/wordsize-64/lockf.c: File removed.
53551 * sysdeps/wordsize-64/lockf64.c: File removed.
53552 * sysdeps/wordsize-64/fseeko.c: File removed.
53553 * sysdeps/wordsize-64/fseeko64.c: File removed.
53554 * sysdeps/wordsize-64/ftello.c: File removed.
53555 * sysdeps/wordsize-64/ftello64.c: File removed.
53556 * sysdeps/wordsize-64/iofgetpos.c: File removed.
53557 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
53558 * sysdeps/wordsize-64/iofsetpos.c: File removed.
53559 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
53560 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
53561 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
53562 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
53563 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
53564 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
53565 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
53566 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
53567 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
53568 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
53569 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
53570
53571 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
53572 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
53573 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
53574 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53575 [defined __arch64__ || defined __sparcv9]
53576 (__OFF_T_MATCHES_OFF64_T): New macro.
53577 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53578 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
53579 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53580 (__OFF_T_MATCHES_OFF64_T): New macro.
53581
53582 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
53583
53584 * stdlib/secure-getenv.c (__secure_getenv): Replace
53585 GLIBC_2_16 with GLIBC_2_17.
53586
53587 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
53588
53589 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
53590 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
53591
53592 2012-08-03 David S. Miller <davem@davemloft.net>
53593
53594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53595
53596 2012-08-03 Joseph Myers <joseph@codesourcery.com>
53597
53598 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
53599 Remove.
53600 (__ASSUME_CORRECT_SI_PID): Likewise.
53601 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
53602 (__ASSUME_TMPFS_NAME): Likewise.
53603 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
53604 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
53605 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
53606 (HAVE_AUX_SECURE): Make definition unconditional.
53607 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
53608 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
53609
53610 2012-08-03 Roland McGrath <roland@hack.frob.com>
53611
53612 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
53613 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
53614 * sysdeps/mach/hurd/eloop-threshold.h: New file.
53615 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
53616 __eloop_threshold instead of SYMLOOP_MAX.
53617
53618 * sysdeps/generic/eloop-threshold.h: New file.
53619 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
53620 of MAXSYMLINKS.
53621 * elf/chroot_canon.c (chroot_canon): Likewise.
53622
53623 2012-08-03 Joseph Myers <joseph@codesourcery.com>
53624
53625 [BZ #13717]
53626 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53627 Change to 2.6.0 everywhere.
53628 * sysdeps/unix/sysv/linux/configure: Regenerated.
53629 * sysdeps/unix/sysv/linux/kernel-features.h
53630 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
53631 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
53632 kernel versions.
53633 (__ASSUME_POSIX_TIMERS): Define unconditionally.
53634 (__ASSUME_FUTEX_REQUEUE): Remove.
53635 (__ASSUME_STATFS64): Define unconditionally.
53636 (__ASSUME_AT_SECURE): Likewise.
53637 (__ASSUME_CORRECT_SI_PID): Likewise.
53638 (__ASSUME_TGKILL): Define without depending on kernel version for
53639 i386.
53640 (__ASSUME_UTIMES): Likewise.
53641 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
53642 kernel version.
53643 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
53644 (__ASSUME_TMPFS_NAME): Likewise.
53645 * README: Update reference to Linux kernel versions.
53646
53647 2012-08-02 Marek Polacek <polacek@redhat.com>
53648
53649 [BZ# 14150]
53650 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
53651 libc_cv_asm_type_prefix with %.
53652 * configure: Regenerated.
53653 * include/libc-symbols.h: Remove comment about
53654 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
53655 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
53656 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
53657 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
53658 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
53659 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
53660 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
53661 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
53662 * elf/tst-unique2mod1.c: Likewise.
53663 * elf/tst-unique1mod2.c: Likewise.
53664 * elf/tst-unique1mod1.c: Likewise.
53665 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
53666 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
53667 Replace ASM_TYPE_DIRECTIVE with .type.
53668 * sysdeps/s390/s390-64/sysdep.h: Likewise.
53669 * sysdeps/i386/sysdep.h: Likewise.
53670 * sysdeps/x86_64/sysdep.h: Likewise.
53671 * sysdeps/sh/sysdep.h: Likewise.
53672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53673 Do not define ASM_TYPE_DIRECTIVE.
53674 * sysdeps/powerpc/sysdep.h: Likewise.
53675 * sysdeps/powerpc/powerpc32/sysdep.h:
53676 Replace ASM_TYPE_DIRECTIVE with .type.
53677 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
53678 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53679 * sysdeps/i386/fpu/e_powf.S: Likewise.
53680 * sysdeps/i386/fpu/e_expl.S: Likewise.
53681 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53682 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53683 * sysdeps/i386/fpu/e_pow.S: Likewise.
53684 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53685 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53686 * sysdeps/i386/fpu/s_expm1.S: Likewise.
53687 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53688 * sysdeps/i386/fpu/e_log2.S: Likewise.
53689 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53690 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53691 * sysdeps/i386/fpu/e_powl.S: Likewise.
53692 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53693 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53694 * sysdeps/i386/fpu/e_logl.S: Likewise.
53695 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53696 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53697 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53698 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53699 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53700 * sysdeps/i386/fpu/e_log.S: Likewise.
53701 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53702 * sysdeps/i386/fpu/e_logf.S: Likewise.
53703 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53704 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53705 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53706 * sysdeps/i386/fpu/e_log10.S: Likewise.
53707 * sysdeps/i386/fpu/s_frexp.S: Likewise.
53708 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53709 * sysdeps/i386/fpu/s_asinh.S: Likewise.
53710 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53711 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53712 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
53713 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53714 * sysdeps/i386/i686/strtok.S: Likewise.
53715 * sysdeps/i386/i386-mcount.S: Likewise.
53716 * sysdeps/i386/strtok.S: Likewise.
53717 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
53718 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53719 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53720 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53721 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53722 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53723 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53724 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53725 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53726 * sysdeps/x86_64/_mcount.S: Likewise.
53727 * sysdeps/x86_64/strtok.S: Likewise.
53728 * sysdeps/sh/_mcount.S: Likewise.
53729
53730 2012-08-01 Roland McGrath <roland@hack.frob.com>
53731
53732 * libio/iofopen.c: Include <fcntl.h>.
53733 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
53734 (_IO_fopen64, fopen64): Define as aliases.
53735 * libio/iofopen64.c: Include <fcntl.h>.
53736 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
53737 Conditionalize body on this.
53738 * sysdeps/wordsize-64/iofopen.c: File removed.
53739 * sysdeps/wordsize-64/iofopen64.c: File removed.
53740
53741 2012-08-01 Marek Polacek <polacek@redhat.com>
53742
53743 * libc/Makeconfig: Use elf in place of binfmt-subdir.
53744 Use dlfcn directly instead of a variable.
53745 (binfmt-subdir): Do not define.
53746 (dlfcn): Likewise.
53747
53748 2012-08-01 Joseph Myers <joseph@codesourcery.com>
53749
53750 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
53751 Remove all definitions.
53752 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
53753 <kernel-features.h>.
53754 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
53755 (miss_F_GETOWN_EX): Remove all definitions.
53756 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
53757 macro definition.
53758 [!__ASSUME_FCNTL64]: Remove conditional code.
53759 [__ASSUME_FCNTL64]: Make code unconditional.
53760 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
53761 <kernel-features.h>.
53762 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
53763 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
53764 (lockf64) [__NR_fcntl64]: Make code unconditional.
53765 (lockf64) [__ASSUME_FCNTL64]: Likewise.
53766
53767 * sysdeps/unix/sysv/linux/kernel-features.h
53768 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
53769 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
53770 Make code unconditional.
53771 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53772 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
53774 [__NR_vfork]: Make code unconditional.
53775 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53776 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
53778 [__NR_vfork]: Make code unconditional.
53779 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53780 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53781
53782 2012-08-01 Roland McGrath <roland@hack.frob.com>
53783
53784 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
53785 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
53786
53787 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53788 Define mkstemp64 as an alias.
53789 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53790 Define mkstemps64 as an alias.
53791 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53792 Define mkostemp64 as an alias.
53793 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53794 Define mkostemps64 as an alias.
53795 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
53796 Conditionalize body on this.
53797 * misc/mkostemp64.c: Likewise.
53798 * misc/mkostemps64.c: Likewise.
53799 * misc/mkstemps64.c: Likewise.
53800 * sysdeps/wordsize-64/mkstemp64.c: File removed.
53801 * sysdeps/wordsize-64/mkostemp64.c: File removed.
53802 * sysdeps/wordsize-64/mkostemp.c: File removed.
53803 * sysdeps/wordsize-64/mkstemp.c: File removed.
53804 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
53805 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
53806 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
53807 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
53808
53809 [BZ #14138]
53810 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
53811 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
53812 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
53813 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
53814
53815 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
53816 compat_symbol macros from <shlib-compat.h> rather than the underlying
53817 default_symbol_version and symbol_version macros, so that DEFAULT
53818 lines in shlib-versions are respected.
53819 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
53820
53821 2012-08-01 Florian Weimer <fweimer@redhat.com>
53822
53823 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
53824 Declare with warn_unused_result.
53825 (setgid, setregid, setegid, setresgid): Likewise.
53826 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
53827 Likewise.
53828 * WUR-REPORT: Remove set*id functions.
53829
53830 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
53831
53832 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
53833
53834 2012-07-31 Roland McGrath <roland@hack.frob.com>
53835
53836 [BZ #10191]
53837 * include/sys/socket.h (__libc_accept, __libc_accept4):
53838 Add attribute_hidden.
53839 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
53840
53841 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
53842 use of PTR_MANGLE.
53843 * inet/getnetgrent_r.c (setup): Likewise.
53844
53845 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
53846
53847 2012-07-31 David S. Miller <davem@davemloft.net>
53848
53849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53850
53851 2012-07-31 Joseph Myers <joseph@codesourcery.com>
53852
53853 [BZ #13629]
53854 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
53855 value between 1.0 and 2.0 and smaller part has absolute value less
53856 than 1.0.
53857 * math/s_clog10.c (__clog10): Likewise.
53858 * math/s_clog10f.c (__clog10f): Likewise.
53859 * math/s_clog10l.c (__clog10l): Likewise.
53860 * math/s_clogf.c (__clogf): Likewise.
53861 * math/s_clogl.c (__clogl): Likewise.
53862 * math/libm-test.inc (clog_test): Add more tests.
53863 (clog10_test): Likewise.
53864 * sysdeps/i386/fpu/libm-test-ulps: Update.
53865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53866
53867 2012-07-31 Florian Weimer <fweimer@redhat.com>
53868
53869 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
53870 Exit with zero in case no suitable GID is found, and write a
53871 message to standard error.
53872
53873 2012-07-30 Roland McGrath <roland@hack.frob.com>
53874
53875 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
53876 rather than to 1.
53877 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
53878 (MAXPATHLEN): Removed.
53879 (NOGROUP, NODEV): New macros.
53880 (setbit, clrbit, isset, isclr): New macros.
53881 (howmany, roundup, powerof2): New macros.
53882 (DEV_BSIZE): New macro.
53883
53884 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
53885 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
53886
53887 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
53888 definition on [!__NO_LONG_DOUBLE_MATH].
53889
53890 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
53891 PTR_MANGLE and PTR_DEMANGLE.
53892
53893 * socket/accept4.c (accept4): Rename to __libc_accept4.
53894 Define accept4 as a weak alias.
53895
53896 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
53897 on [_DIRENT_HAVE_D_TYPE].
53898 * io/ftw.c (ftw_dir): Likewise.
53899
53900 * io/xmknod.c (__xmknod): Don't check PATH for being null.
53901
53902 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
53903
53904 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
53905 Use the BSD numbers rather than the arbitrary ones we had.
53906 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
53907 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
53908 (SIGXCPU, SIGXFSZ): New macros.
53909 (_NSIG): Now 32.
53910
53911 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
53912 initializer on [_LIBC_REENTRANT].
53913
53914 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
53915 definitions inside [_POSIX_MAPPED_FILES].
53916
53917 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
53918
53919 * dirent/opendir.c: Include <fcntl.h>.
53920
53921 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
53922 (__libc_getspecific): Likewise.
53923 (__libc_key_create): Likewise.
53924
53925 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
53926 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
53927 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
53928 (tmpfile64): Define as alias.
53929 * sysdeps/wordsize-64/tmpfile.c: File removed.
53930 * sysdeps/wordsize-64/tmpfile64.c: File removed.
53931 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
53932 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
53933
53934 * stdio-common/vfscanf.c: Include <stdbool.h>.
53935 * nss/makedb.c: Likewise.
53936 * stdio-common/_i18n_number.h: Likewise.
53937 * argp/argp-help.c: Likewise.
53938 * posix/wordexp.c: Likewise.
53939 * sysdeps/posix/spawni.c: Likewise.
53940 * nss/nss_files/files-initgroups.c: Likewise.
53941 * stdio-common/reg-modifier.c: Include <stdlib.h>.
53942 * nss/nss_files/files-initgroups.c: Likewise.
53943 * nss/nss_db/db-netgrp.c: Likewise.
53944 * nss/nss_db/db-initgroups.c: Likewise.
53945 * io/fchmodat.c: Include <sys/stat.h>.
53946
53947 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
53948 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
53949
53950 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
53951 [HAVE_MMAP].
53952
53953 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
53954 Add multiple inclusion protection.
53955
53956 2012-07-27 David S. Miller <davem@davemloft.net>
53957
53958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53959
53960 2012-07-27 Gary Benson <gbenson@redhat.com>
53961
53962 [BZ #14298]
53963 * elf/rtld.c: Include <stap-probe.h>.
53964 (dl_main): Added static probes "init_start" and "init_complete".
53965 * elf/dl-load.c: Include <stap-probe.h>.
53966 (lose): Take new parameter "nsid".
53967 Added static probe "map_failed".
53968 (_dl_map_object_from_fd): Pass namespace id to lose.
53969 Added static probe "map_start".
53970 (open_verify): Pass namespace id to lose.
53971 * elf/dl-open.c: Include <stap-probe.h>.
53972 (dl_open_worker) Added static probes "map_complete", "reloc_start"
53973 and "reloc_complete".
53974 * elf/dl-close.c: Include <stap-probe.h>.
53975 (_dl_close_worker): Added static probes "unmap_start" and
53976 "unmap_complete".
53977 * elf/rtld-debugger-interface.txt: New file documenting the above.
53978
53979 2012-07-26 Roland McGrath <roland@hack.frob.com>
53980
53981 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
53982 rather than a string variable.
53983 * sunrpc/rpc_main.c (h_output): Likewise.
53984 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
53985
53986 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
53987
53988 * inet/check_native.c: New file.
53989
53990 2012-07-26 Joseph Myers <joseph@codesourcery.com>
53991
53992 [BZ #13629]
53993 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
53994 if larger part has absolute value 1.0.
53995 * math/s_clog10.c (__clog10): Likewise.
53996 * math/s_clog10f.c (__clog10f): Likewise.
53997 * math/s_clog10l.c (__clog10l): Likewise.
53998 * math/s_clogf.c (__clogf): Likewise.
53999 * math/s_clogl.c (__clogl): Likewise.
54000 * math/libm-test.inc (clog_test): Add more tests.
54001 (clog10_test): Likewise.
54002 * sysdeps/i386/fpu/libm-test-ulps: Update.
54003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54004
54005 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
54006 (pltexit): Likewise.
54007 (La_regs): Likewise.
54008 (La_retval): Likewise.
54009 (int_retval): Likewise.
54010 Update #error for removed macros to refer only to definitions in
54011 tst-audit.h.
54012 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
54013 macro.
54014 (pltexit): Likewise.
54015 (La_regs): Likewise.
54016 (La_retval): Likewise.
54017 (int_retval): Likewise.
54018 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
54019 macro.
54020 (pltexit): Likewise.
54021 (La_regs): Likewise.
54022 (La_retval): Likewise.
54023 (int_retval): Likewise.
54024 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
54025 macro.
54026 (pltexit): Likewise.
54027 (La_regs): Likewise.
54028 (La_retval): Likewise.
54029 (int_retval): Likewise.
54030 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
54031 macro.
54032 (pltexit): Likewise.
54033 (La_regs): Likewise.
54034 (La_retval): Likewise.
54035 (int_retval): Likewise.
54036 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
54037 macro.
54038 (pltexit): Likewise.
54039 (La_regs): Likewise.
54040 (La_retval): Likewise.
54041 (int_retval): Likewise.
54042 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
54043 macro.
54044 (pltexit): Likewise.
54045 (La_regs): Likewise.
54046 (La_retval): Likewise.
54047 (int_retval): Likewise.
54048 * sysdeps/generic/tst-audit.h: Update comment to refer only to
54049 macro definitions in tst-audit.h.
54050 * sysdeps/i386/tst-audit.h: New file.
54051 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
54052 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
54053 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
54054 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
54055 * sysdeps/sh/tst-audit.h: Likewise.
54056 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
54057 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
54058 * sysdeps/x86_64/tst-audit.h: Likewise.
54059
54060 2012-07-26 Andreas Jaeger <aj@suse.de>
54061
54062 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
54063 ptrace.
54064
54065 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
54066 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
54067 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
54068 PTRACE_O_MASK.
54069 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
54070 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
54071 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
54072
54073 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
54074 value.
54075
54076 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
54077 _sigsys.
54078 (si_call_addr, si_syscall, si_arch): Define new macro.
54079 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
54080 _sigsys.
54081 (si_call_addr, si_syscall, si_arch): Define new marcro.
54082 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
54083 _sigsys.
54084 (si_call_addr, si_syscall, si_arch): Define new macro.
54085 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
54086 _sigsys.
54087 (si_call_addr, si_syscall, si_arch): Define new macro.
54088
54089 2012-07-25 Joseph Myers <joseph@codesourcery.com>
54090
54091 [BZ #13717]
54092 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54093 Change to 2.4.21 where previously 2.4.1.
54094 * sysdeps/unix/sysv/linux/configure: Regenerated.
54095 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
54096 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
54097 Linux kernel version.
54098 (__ASSUME_STD_AUXV): Remove.
54099 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
54100 kernel version.
54101 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
54102 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
54103 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
54104 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
54105 (__ASSUME_NETLINK_SUPPORT): Likewise.
54106 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
54107 (__no_netlink_support): Remove conditional definition.
54108 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
54109 Remove.
54110 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54111 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
54112 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
54113 (if_nameindex_ioctl): Remove.
54114 (if_nameindex_netlink): Do not handle __no_netlink_support.
54115 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54116 code.
54117 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
54118 Remove conditional code.
54119 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54120 code.
54121 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
54122 unconditional.
54123 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54124 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
54125 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
54126 Remove.
54127 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
54128 [!__ASSUME_STD_AUXV]: Remove conditional code.
54129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
54130 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
54131 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
54132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
54133 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
54134 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54135 code.
54136 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54138 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
54139 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54140 conditional code.
54141 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54143 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54144 code.
54145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54146 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54147 conditional code.
54148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
54149 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54150 code unconditional.
54151 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54152 conditional code.
54153 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54154 unconditional.
54155 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54156 conditional code.
54157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54158 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54159 unconditional.
54160 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54161 conditional code.
54162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
54163 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54164 code unconditional.
54165 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54166 conditional code.
54167 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54168 unconditional.
54169 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54170 conditional code.
54171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
54172 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54173 code unconditional.
54174 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54175 conditional code.
54176 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54177 unconditional.
54178 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54179 conditional code.
54180
54181 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
54182
54183 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
54184 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
54185 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
54186 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
54187 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
54188 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
54189 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
54190 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
54191 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
54192 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
54193 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
54194 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
54195 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
54196 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
54197 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
54198 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
54199 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
54200 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
54201 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
54202 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
54203 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
54204 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
54205 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
54206
54207 2012-07-25 Florian Weimer <fweimer@redhat.com>
54208
54209 * Versions.def: Add GLIBC_2.17.
54210 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
54211 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
54212 Introduce __libc_secure_getenv.
54213 * stdlib/Versions (2.17): Add secure_getenv
54214 (GLIBC_PRIVATE): Add __libc_secure_getenv.
54215 * stdlib/secure-getenv.c: Rename __secure_getenv to
54216 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
54217 symbol __secure_getenv for GLIBC_2.0.
54218 * stdlib/tst-secure-getenv.c: New.
54219 * stdlib/Makefile (tests): Add testcase.
54220 * manual/startup.texi (Environment Access): Document
54221 secure_getenv.
54222 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
54223 __libc_secure_getenv.
54224 * inet/ruserpass.c (ruserpass): Likewise.
54225 * malloc/mtrace.c (mtrace): Likewise.
54226 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
54227 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
54228 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
54229 * sysdeps/posix/tempname.c: Likewise. Evaluate
54230 HAVE_SECURE_GETENV.
54231 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
54232 __secure_getenv to __libc_secure_getenv.
54233 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
54234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54235 Likewise.
54236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54237 Likewise.
54238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
54239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54240 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54245
54246 2012-07-25 Joseph Myers <joseph@codesourcery.com>
54247
54248 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
54249 (struct La_i86_retval): Likewise.
54250 (struct La_x86_64_regs): Likewise.
54251 (struct La_x86_64_retval): Likewise.
54252 (struct La_x32_regs): Likewise.
54253 (struct La_x32_retval): Likewise.
54254 (struct La_ppc32_regs): Likewise.
54255 (struct La_ppc32_retval): Likewise.
54256 (struct La_ppc64_regs): Likewise.
54257 (struct La_ppc64_retval): Likewise.
54258 (struct La_sh_regs): Likewise.
54259 (struct La_sh_retval): Likewise.
54260 (struct La_s390_32_regs): Likewise.
54261 (struct La_s390_32_retval): Likewise.
54262 (struct La_s390_64_regs): Likewise.
54263 (struct La_s390_64_retval): Likewise.
54264 (struct La_sparc32_regs): Likewise.
54265 (struct La_sparc32_retval): Likewise.
54266 (struct La_sparc64_regs): Likewise.
54267 (struct La_sparc64_retval): Likewise.
54268 (struct audit_ifaces): Remove architecture-specific pltenter and
54269 pltexit members.
54270 * sysdeps/i386/ldsodefs.h: New file.
54271 * sysdeps/powerpc/ldsodefs.h: Likewise.
54272 * sysdeps/s390/ldsodefs.h: Likewise.
54273 * sysdeps/sh/ldsodefs.h: Likewise.
54274 * sysdeps/sparc/ldsodefs.h: Likewise.
54275 * sysdeps/x86_64/ldsodefs.h: Likewise.
54276
54277 2012-07-25 Marek Polacek <polacek@redhat.com>
54278
54279 [BZ #6808]
54280 * math/libm-test.inc (yn_test): Add another test.
54281 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
54282 to ERANGE when the result is +-Inf.
54283 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54284 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
54285 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
54286 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
54287
54288 2012-07-24 Joseph Myers <joseph@codesourcery.com>
54289
54290 * conform/data/time.h-data (NULL): Use macro-constant. Require
54291 equal to 0.
54292 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
54293 clock_t.
54294 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
54295
54296 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
54297
54298 * configure.in <sysdeps resolving>: Correct printing
54299 Implies_before.
54300 * configure: Regenerate.
54301
54302 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
54303
54304 * math/w_ilogb.c: Include <limits.h>.
54305 * math/w_ilogbl.c: Likewise.
54306
54307 2012-07-20 Joseph Myers <joseph@codesourcery.com>
54308
54309 * manual/lang.texi (__va_copy): Document primarily as ISO C99
54310 va_copy. Document allowing for unavailable va_copy only as
54311 pre-C99 compatibility.
54312 * manual/string.texi (Copying and Concatenation): Use va_copy
54313 instead of __va_copy in concat example.
54314
54315 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
54316
54317 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
54318 (__sendto): Use create_address_port. Initialize APORT and deallocate
54319 it if not null.
54320
54321 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
54322 with O_NOLINK passed to __file_name_lookup.
54323
54324 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
54325 with O_NOLINK passed to __file_name_lookup.
54326
54327 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
54328 negative N or less than NGIDS.
54329
54330 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
54331 type to string_t. Set ERANGE as errno and return it if NAME is not big
54332 enough. Use memcpy instead of strncpy.
54333
54334 2012-07-20 Joseph Myers <joseph@codesourcery.com>
54335
54336 * elf/Makefile (check-data): Remove.
54337 (localplt.data): New vpath directive.
54338 ($(objpfx)check-localplt.out): Use localplt.data from vpath
54339 instead of $(check-data).
54340 * scripts/data/localplt-generic.data: Move to ...
54341 * sysdeps/generic/localplt.data: ... here.
54342 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
54343 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
54344 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
54345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
54346 ... here.
54347 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
54348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
54349 ... here.
54350 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
54351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
54352 ... here.
54353 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
54354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
54355 ... here.
54356 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
54357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
54358 ... here.
54359 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
54360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
54361 ... here.
54362
54363 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54364
54365 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
54366 PPC32 and PPC64 files.
54367 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
54368 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
54369
54370 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54371
54372 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
54373 __makecontext_ret to ...
54374 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
54375 ... here and call exit if uc_link is NULL. New file.
54376 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
54377 __makecontext_ret.S.
54378 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
54379 __makecontext_ret to ...
54380 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
54381 ... here and call exit if uc_link is NULL. New file.
54382 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
54383 __makecontext_ret.S.
54384
54385 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54386
54387 * elf/elf.h (R_390_IRELATIVE): New definition.
54388 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
54389 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
54390 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
54391 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
54392 (elf_machine_lazy_rel): Likewise.
54393 * sysdeps/s390/dl-irel.h: New file.
54394 * sysdeps/s390/s390-64/memcpy.S: New asm code.
54395 * sysdeps/s390/s390-64/memset.S: New asm code.
54396 * sysdeps/s390/s390-64/memcmp.S: New asm code.
54397 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
54398 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
54399 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
54400 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
54401 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
54402 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
54403 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
54404 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
54405 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
54406 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
54407 * sysdeps/s390/s390-32/memcpy.S: New asm code.
54408 * sysdeps/s390/s390-32/memset.S: New asm code.
54409 * sysdeps/s390/s390-32/memcmp.S: New asm code.
54410
54411 2012-07-17 Marek Polacek <polacek@redhat.com>
54412
54413 [BZ #14349]
54414 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
54415 * sysdeps/s390/s390-64/configure.in: Likewise.
54416 * sysdeps/sparc/configure.in: Likewise.
54417 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
54418 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
54419 * sysdeps/i386/configure.in: Likewise.
54420 * sysdeps/x86_64/configure.in: Likewise.
54421 * sysdeps/sh/configure.in: Likewise.
54422 * sysdeps/s390/s390-32/configure: Regenerated.
54423 * sysdeps/s390/s390-64/configure: Likewise.
54424 * sysdeps/x86_64/configure: Likewise.
54425 * sysdeps/sh/configure: Likewise.
54426 * sysdeps/powerpc/powerpc64/configure: Likewise.
54427 * sysdeps/powerpc/powerpc32/configure: Likewise.
54428 * sysdeps/sparc/configure: Likwise.
54429 * sysdeps/i386/configure: Likewise.
54430
54431 * elf/dl-open.c: Comment fixes.
54432
54433 2012-07-17 Joseph Myers <joseph@codesourcery.com>
54434
54435 * Makefile [CXX] (check-data): Remove.
54436 [CXX] (c++-types.data): New vpath directive.
54437 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
54438 vpath. Do not allow for C++ type data being missing.
54439 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
54440 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
54441 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
54442 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
54443 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
54444 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
54445 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
54446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
54447 ... here.
54448 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
54449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
54450 ... here.
54451 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
54452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
54453 ... here.
54454 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
54455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
54456 ... here.
54457 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
54458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
54459 ... here.
54460 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
54461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
54462 ... here.
54463 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
54464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
54465 ... here.
54466 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
54467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
54468
54469 * elf/tls-macros.h (TLS_LE): Move architecture-specific
54470 definitions to architecture-specific files.
54471 (TLS_IE): Likewise.
54472 (TLS_LD): Likewise.
54473 (TLS_GD): Likewise.
54474 * sysdeps/i386/tls-macros.h: New file.
54475 * sysdeps/powerpc/tls-macros.h: Likewise.
54476 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
54477 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
54478 * sysdeps/sh/tls-macros.h: Likewise.
54479 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
54480 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
54481 * sysdeps/x86_64/tls-macros.h: Likewise.
54482
54483 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
54484
54485 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
54486 zero value for regular exit case.
54487
54488 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
54489 (__start_context): Preserve zero value for regular exit case.
54490
54491 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
54492 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54493
54494 * manual/setjmp.texi (setcontext): Clarify normal process
54495 termination when uc_link is the null pointer.
54496 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
54497 exit call.
54498
54499 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
54500
54501 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
54502 preprocessor. Test for each exception mask separately.
54503
54504 2012-07-16 Andreas Jaeger <aj@suse.de>
54505
54506 * po/ru.po: Update from translation team.
54507
54508 2012-07-15 Joseph Myers <joseph@codesourcery.com>
54509
54510 * conform/data/string.h-data (NULL): Use macro-constant. Require
54511 equal to 0.
54512 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
54513 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
54514 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
54515 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
54516 [ISO || ISO99 || ISO11] (*_t): Do not allow.
54517
54518 2012-07-13 Andreas Jaeger <aj@suse.de>
54519
54520 * po/fr.po: Update from translation team.
54521
54522 2012-07-12 Marek Polacek <polacek@redhat.com>
54523
54524 [BZ #14173]
54525 * math/libm-test.inc (yn_test): Add test for BZ #14173.
54526 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
54527 loop condition.
54528
54529 2012-07-12 Joseph Myers <joseph@codesourcery.com>
54530
54531 [BZ #13717]
54532 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54533 Change to 2.4.1 where previously 2.4.0.
54534 * sysdeps/unix/sysv/linux/configure: Regenerated.
54535 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
54536 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
54537 version.
54538 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
54539 (__ASSUME_AT_CLKTCK): Remove.
54540 (__ASSUME_AT_PAGESIZE): Likewise.
54541 (__ASSUME_AT_XID): Likewise.
54542 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
54543 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
54544 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
54545 unconditionally.
54546 (HAVE_AUX_PAGESIZE): Likewise.
54547 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
54548 [__ASSUME_AT_CLKTCK]: Make code unconditional.
54549 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
54550
54551 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
54552
54553 [BZ #14307]
54554 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
54555 the temporary buffer used to invoke __gethostbyname2_r,
54556 __gethostbyaddr_r and gethostbyname4_r to make room for struct
54557 host_data / struct gaih_addrtuple.
54558 * resolv/nss_dns/dns-host.c (global scope): Move definition of
54559 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
54560 header file nss/nsswitch.h.
54561 * nss/nsswitch.h (global scope): Add definition of implementation
54562 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
54563 resolv/nss_dns/dns-host.c).
54564
54565 2012-07-11 Andreas Jaeger <aj@suse.de>
54566
54567 * po/fr.po: Update from translation team.
54568
54569 * po/sv.po: Update from translation team
54570 * po/fr.po: Another update from translation team.
54571
54572 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54573
54574 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
54575 for subnormals or multiply small sinh result by itself.
54576 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54578
54579 2012-07-11 David S. Miller <davem@davemloft.net>
54580
54581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54582
54583 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
54584
54585 [BZ #14347]
54586 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
54587 (INTERNAL_MARK): Shift it here.
54588
54589 2012-07-10 Marek Polacek <polacek@redhat.com>
54590
54591 [BZ #14151]
54592 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
54593 libc_cv_asm_global_directive with .globl.
54594 * configure: Regenerated.
54595 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
54596 with .globl.
54597 * sysdeps/i386/configure: Regenerated.
54598 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
54599 with .globl.
54600 * sysdeps/x86_64/configure: Regenerated.
54601 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
54602 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
54603 * elf/tst-unique2mod2.c: Likewise.
54604 * elf/tst-unique2mod1.c: Likewise.
54605 * elf/tst-unique1mod2.c: Likewise.
54606 * elf/tst-unique1mod1.c: Likewise.
54607 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54608 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54609 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54610 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54611 * sysdeps/mach/sysdep.h: Likewise.
54612 * sysdeps/i386/sysdep.h: Likewise.
54613 * sysdeps/i386/i386-mcount.S: Likewise.
54614 * sysdeps/x86_64/_mcount.S: Likewise.
54615 * sysdeps/x86_64/sysdep.h: Likewise.
54616 * sysdeps/sh/_mcount.S: Likewise.
54617 * sysdeps/sh/sysdep.h: Likewise.
54618 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
54619 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
54620 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
54621 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54622 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
54623 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
54624 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
54625 * locale/localeinfo.h: Likewise.
54626 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
54627 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
54628
54629 2012-07-09 Roland McGrath <roland@hack.frob.com>
54630
54631 [BZ #14336]
54632 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
54633 system".
54634 * manual/message.texi (The Uniforum approach): Likewise.
54635 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
54636 (glibc iconv Implementation): Likewise.
54637
54638 2012-07-09 Joseph Myers <joseph@codesourcery.com>
54639
54640 [BZ #14337]
54641 * math/s_clog.c (__clog): Avoid scaling a value down where that
54642 could result in underflow.
54643 * math/s_clog10.c (__clog10): Likewise.
54644 * math/s_clog10f.c (__clog10f): Likewise.
54645 * math/s_clog10l.c (__clog10l): Likewise.
54646 * math/s_clogf.c (__clogf): Likewise.
54647 * math/s_clogl.c (__clogl): Likewise.
54648 * math/libm-test.inc (clog_test): Add more tests.
54649 (clog10_test): Likewise.
54650 * sysdeps/i386/fpu/libm-test-ulps: Update.
54651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54652
54653 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
54654
54655 [BZ #14283]
54656 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
54657 by 7 not 8 to examine high bit of fractional part.
54658
54659 [BZ #14042]
54660 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
54661 for call to __mcount_internal.
54662 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
54663 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
54664 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
54665
54666 2012-07-06 Joseph Myers <joseph@codesourcery.com>
54667
54668 [BZ #14154]
54669 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
54670 approximation for values within 0x1p-13f of an odd multiple of
54671 pi/4.
54672 * math/libm-test.inc (tan_test): Do not allow spurious underflow
54673 exception. Add more tests.
54674 * sysdeps/i386/fpu/libm-test-ulps: Update.
54675
54676 [BZ #6778]
54677 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
54678 inputs and return -1 for them. Do not check for +Inf in case not
54679 reachable for +Inf.
54680 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
54681 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
54682 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
54683 and return -1 for them. Do not check for +Inf in case not
54684 reachable for +Inf.
54685 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
54686 define.
54687 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
54688 and return -1 for them. Do not check for +Inf in case not
54689 reachable for +Inf.
54690 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
54691 spurious underflow.
54692 * sysdeps/i386/fpu/libm-test-ulps: Update.
54693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54694
54695 2012-07-06 Mike Frysinger <vapier@gentoo.org>
54696
54697 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
54698
54699 2012-07-05 Joseph Myers <joseph@codesourcery.com>
54700
54701 [BZ #14157]
54702 [BZ #14331]
54703 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
54704 could result in spurious underflow. Scale down values above
54705 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
54706 * math/s_csqrtf.c (__csqrtf): Likewise.
54707 * math/s_csqrtl.c (__csqrtl): Likewise.
54708 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
54709 spurious underflow.
54710 * sysdeps/i386/fpu/libm-test-ulps: Update.
54711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54712
54713 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
54714
54715 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
54716 xopen-msg.sed.
54717 * catgets/xopen-msg.awk: New file.
54718 * catgets/xopen-msg.sed: Removed.
54719
54720 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
54721 po2text.sed.
54722 * intl/po2test.awk: New file.
54723 * intl/po2test.sed: Removed.
54724
54725 2012-07-04 Joseph Myers <joseph@codesourcery.com>
54726
54727 [BZ #14328]
54728 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
54729 or multiply small sinh result by itself.
54730 * math/s_ctanf.c (__ctanf): Likewise.
54731 * math/s_ctanh.c (__ctanh): Likewise.
54732 * math/s_ctanhf.c (__ctanhf): Likewise.
54733 * math/s_ctanhl.c (__ctanhl): Likewise.
54734 * math/s_ctanl.c (__ctanl): Likewise.
54735 * math/libm-test.inc (ctan_test_tonearest): New function.
54736 (ctan_test_towardzero): Likewise.
54737 (ctan_test_downward): Likewise.
54738 (ctan_test_upward): Likewise.
54739 (ctanh_test_tonearest): Likewise.
54740 (ctanh_test_towardzero): Likewise.
54741 (ctanh_test_downward): Likewise.
54742 (ctanh_test_upward): Likewise.
54743 (main): Call these new functions.
54744 * sysdeps/i386/fpu/libm-test-ulps: Update.
54745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54746
54747 2012-07-03 Mike Frysinger <vapier@gentoo.org>
54748
54749 * .gitignore: Delete /ports entry.
54750
54751 2012-07-03 Andreas Jaeger <aj@suse.de>
54752
54753 * po/bg.po: Update from translation team.
54754 * po/cs.po: Likewise.
54755 * po/de.po: Likewise.
54756 * po/hr.po: Likewise.
54757 * po/nl.pl: Likewise.
54758 * po/pl.po: Likewise.
54759 * po/vi.po: Likewise.
54760
54761 2012-07-03 Joseph Myers <joseph@codesourcery.com>
54762
54763 * Makeconfig [!+link] (+link-before-libc): New variable.
54764 [!+link] (+link-after-libc): Likewise.
54765 [!+link] (+link-tests): Likewise.
54766 [!+link] (+link): Define in terms of $(+link-before-libc) and
54767 $(+link-after-libc).
54768 [!+link-static] (+link-static-before-libc): New variable.
54769 [!+link-static] (+link-static-after-libc): Likewise.
54770 [!+link-static] (+link-static-tests): Likewise.
54771 [!+link-static] (+link-static): Define in terms of
54772 $(+link-static-before-libc) and $(+link-static-after-libc).
54773 [build-shared] (link-libc-before-gnulib): New variable.
54774 [build-shared] (link-libc-tests): Likewise.
54775 [build-shared] (link-libc): Define in terms of
54776 $(link-libc-before-gnulib).
54777 [!build-shared] (link-libc-tests): New variable.
54778 (link-libc-static-tests): New variable.
54779 [!gnulib] (gnulib-arch): New variable.
54780 [!gnulib] (gnulib-tests): Likewise.
54781 [!gnulib] (static-gnulib-arch): Likewise.
54782 [!gnulib] (static-gnulib-tests): Likewise.
54783 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
54784 Define with "=" instead of ":=".
54785 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
54786 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
54787 * Rules (binaries-all-notests): New variable.
54788 (binaries-all-tests): Likewise.
54789 (binaries-static-notests): Likewise.
54790 (binaries-static-tests): Likewise.
54791 (binaries-all): Define using $(binaries-all-notests) and
54792 $(binaries-all-tests).
54793 (binaries-static): Define using $(binaries-static-notests) and
54794 $(binaries-static-tests).
54795 (binaries-shared-tests): New variable.
54796 (binaries-shared-notests): Likewise.
54797 (binaries-shared): Remove variable.
54798 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
54799 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
54800 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
54801 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
54802 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
54803 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
54804 * elf/Makefile (sln-modules): New variable.
54805 (extra-objs): Add $(sln-modules:=.o).
54806 (ldconfig-modules): Add static-stubs.
54807 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
54808 * elf/static-stubs.c: New file.
54809
54810 [BZ #14283]
54811 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
54812 by 7 not 8 to examine high bit of fractional part. Use volatile
54813 variables when splitting into final array of floats if
54814 __FLT_EVAL_METHOD__ != 0.
54815 * math/libm-test.inc (cos_test): Add another test.
54816 (sin_test): Likewise.
54817 * sysdeps/i386/fpu/libm-test-ulps: Update.
54818
54819 [BZ #14273]
54820 * math/libm-test.inc (cosh_test): Add more tests.
54821
54822 * version.h (RELEASE): Set to "development".
54823 (VERSION): Set to "2.16.90".
54824
54825 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
54826
54827 * NEWS: Update copyright. Remove last-updated date.
54828 Mention math library bug fixes and timezone data changes.
54829 * README: Mention GNU/Hurd, x32, and HPPA support status.
54830
54831 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
54832
54833 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
54834
54835 2012-06-27 Andreas Jaeger <aj@suse.de>
54836
54837 * manual/contrib.texi (Contributors): Add Samuel Thibault.
54838
54839 2012-06-25 Andreas Jaeger <aj@suse.de>
54840
54841 * sysdeps/s390/fpu/libm-test-ulps: Update.
54842
54843 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
54844 Thomas Schwinge <thomas@codesourcery.com>
54845
54846 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
54847 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
54848 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
54849 fanotify_mark.
54850
54851 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
54852
54853 * sysdeps/mach/start.c: Remove file.
54854 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
54855 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
54856 * sysdeps/sh/init-first.c: Likewise.
54857
54858 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
54859 registers for frame unwinding purposes, add CFI directives.
54860 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
54861 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
54862 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
54863 Likewise.
54864
54865 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
54866 __fortify_fail returning.
54867 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
54868
54869 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
54870 sysdeps/sh/____longjmp_chk.S.
54871 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
54872 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
54873 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
54874 (gen-as-const-headers): Append sigaltstack-offsets.sym.
54875
54876 * sysdeps/sh/abort-instr.h: New file.
54877 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
54878 process in case exit returns.
54879
54880 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
54881 initialize the GOT register before use.
54882
54883 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
54884 calculation of ARGC > 4.
54885
54886 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
54887 meaningful names to some local labels.
54888
54889 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54890 Kaz Kojima <kkojima@rr.iij4u.or.jp>
54891
54892 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
54893 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
54894 (__arch_compare_and_exchange_val_16_acq): Likewise.
54895 (__arch_compare_and_exchange_val_32_acq): Likewise.
54896 (atomic_exchange_and_add): Fix gUSA sequence.
54897 (atomic_add): Likewise.
54898 (atomic_add_negative): Likewise.
54899 (atomic_add_zero): Likewise.
54900 (atomic_bit_test_set): Likewise.
54901
54902 2012-06-22 Andreas Schwab <schwab@redhat.com>
54903
54904 [BZ #13579]
54905 * include/link.h (struct link_map): Add l_free_initfini.
54906 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
54907 l_initfini.
54908 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
54909 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
54910 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
54911 set.
54912
54913 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
54914
54915 * configure.in: Use AC_LANG_SOURCE.
54916 * configure: Regenerate.
54917
54918 2012-06-22 Roland McGrath <roland@hack.frob.com>
54919
54920 * configure.in (libc_cv_localstatedir): New substituted variable.
54921 * configure: Regenerated.
54922 * config.make.in (localstatedir): New variable, substituted from
54923 libc_cv_localstatedir.
54924 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
54925 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
54926 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
54927 * sysdeps/gnu/configure: Regenerated.
54928
54929 2012-06-21 Jeff Law <law@redhat.com>
54930
54931 [BZ #14277]
54932 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
54933 free. Simplify list management for _LIBC case.
54934
54935 2012-06-21 Joseph Myers <joseph@codesourcery.com>
54936
54937 [BZ #14273]
54938 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
54939 Clear sign bit of 64-bit integer value before comparing against
54940 overflow value.
54941
54942 * sysdeps/mach/configure: Regenerated.
54943
54944 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
54945
54946 [BZ #14278]
54947 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
54948
54949 2012-06-21 Jeff Law <law@redhat.com>
54950
54951 [BZ #13882]
54952 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
54953 uint16_t for elements in the "seen" array to avoid char overflows.
54954 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54955 * elf/dl-open.c (dl_open_worker): Likewise.
54956
54957 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
54958
54959 * scripts/list-sources.sh: Scan PORTS for translations.
54960 * po/libc.pot: Regenerated.
54961
54962 2012-06-21 Andreas Jaeger <aj@suse.de>
54963
54964 [BZ #12194]
54965 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
54966 warning.
54967 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
54968 * bits/byteswap-16.h (__bswap_16): Likewise.
54969 * bits/byteswap.h (__bswap_constant_16): Likewise.
54970
54971 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
54972
54973 [BZ #14117]
54974 * sysdeps/i386/fpu_control.h: Removed.
54975 * sysdeps/x86_64/fpu_control.h: Moved to ...
54976 * sysdeps/x86/fpu_control.h: Here.
54977
54978 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
54979 (_FPU_SETCW): Likewise.
54980
54981 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
54982
54983 [BZ #14117]
54984 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
54985 * sysdeps/x86/fpu/bits/mathinline.h: This.
54986 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
54987
54988 [BZ #14050]
54989 [BZ #14117]
54990 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
54991 functions if __x86_64__ is defined.
54992
54993 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
54994
54995 * string/endian.h: Add !__ASSEMBLER__ condition for including
54996 conversion interfaces.
54997
54998 2012-06-15 Joseph Myers <joseph@codesourcery.com>
54999
55000 [BZ #14241]
55001 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
55002 of ABS(x) in calculating zero to negative powers other than odd
55003 integers.
55004 * math/libm-test.inc (pow_test): Add more tests.
55005
55006 2012-06-15 Andreas Jaeger <aj@suse.de>
55007
55008 * manual/contrib.texi (Contributors): Update entry of Liubov
55009 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
55010 Machado Filho.
55011
55012 2012-06-15 Cyril Hrubis <metan@ucw.cz>
55013
55014 * string/string.h: Add __wur to GNU version of strerror_r.
55015
55016 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
55017
55018 [BZ #14229]
55019 * string/Makefile (tests): Add tst-strtok_r.
55020 * string/tst-strtok_r.c: New file.
55021 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
55022 RAX_LP/RDX_LP on SAVE_PTR.
55023
55024 2012-06-14 Roland McGrath <roland@hack.frob.com>
55025
55026 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
55027
55028 2012-06-14 Joseph Myers <joseph@codesourcery.com>
55029
55030 * libm_test.inc (csqrt_test): Allow more spurious underflow
55031 exceptions.
55032 (j0_test): Likewise.
55033 (j1_test): Likewise.
55034 (y0_test): Likewise.
55035 (y1_test): Likewise.
55036
55037 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
55038
55039 * po/Makefile (libc.pot): Use UTF-8 charset.
55040
55041 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
55042
55043 [BZ #14210]
55044 Suppress sign-conversion warning from FD_SET.
55045 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
55046 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
55047 not unsigned long int.
55048 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
55049
55050 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
55051
55052 [BZ #14050]
55053 [BZ #14117]
55054 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
55055 __extern_always_inline instead of __extern_inline.
55056 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
55057 (__signbit): Likewise.
55058 (__signbitl): Support C++ namespace.
55059 (lrintf): New inline function.
55060 (lrint): Likewise.
55061 (llrintf): Likewise.
55062 (llrint): Likewise.
55063 (fmaxf): Likewise.
55064 (fmax): Likewise.
55065 (fminf): Likewise.
55066 (fmin): Likewise.
55067 (rint): Likewise.
55068 (rintf): Likewise.
55069 (ceil): Likewise.
55070 (ceilf): Likewise.
55071 (floor): Likewise.
55072 (floorf): Likewise.
55073 (nearbyint): Likewise.
55074 (nearbyintf): Likewise.
55075
55076 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
55077
55078 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
55079 non-default versions.
55080
55081 2012-06-11 Roland McGrath <roland@hack.frob.com>
55082
55083 [BZ #14218]
55084 * manual/argp.texi (Argp): Reword argp_parse description slightly.
55085
55086 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
55087
55088 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
55089 (FE_UPWARD, FE_DOWNWARD): Don't define.
55090 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
55091 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55092
55093 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
55094 reading it.
55095 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55096 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55097
55098 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
55099
55100 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
55101 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
55102 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
55103 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
55104
55105 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
55106
55107 [BZ #14117]
55108 * sysdeps/i386/fpu/bits/fenv.h: Removed.
55109 * sysdeps/i386/fpu/Implies: New file.
55110 * sysdeps/x86_64/fpu/Implies: Likewise.
55111 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
55112 * sysdeps/x86/fpu/bits/fenv.h: This.
55113
55114 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
55115 __SSE_MATH__.
55116
55117 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
55118
55119 [BZ #14134]
55120 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
55121 character 0xffff that matches the last element of the
55122 conversion table.
55123
55124 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55125
55126 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
55127 fmodl commit.
55128
55129 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55130
55131 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
55132 values higher than 25.6283.
55133
55134 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55135
55136 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
55137 subnormal exponent extraction and add some __builtin_expect.
55138 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
55139 Fix for subnormal mantissa calculation.
55140
55141 2012-06-04 Mike Frysinger <vapier@gentoo.org>
55142
55143 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
55144 cpu2 is -1 and errno is not ENOSYS.
55145
55146 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
55147
55148 [BZ #14117]
55149 * sysdeps/i386/i486/bits/string.h: Renamed to ...
55150 * sysdeps/x86/bits/string.h: This.
55151 * sysdeps/x86_64/bits/string.h: Removed.
55152
55153 * sysdeps/i386/i486/bits/string.h: Define inline functions only
55154 if not compiling for x86-64, but compiling for >= i486.
55155
55156 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
55157 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
55158
55159 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
55160 New macro from Linux kernel 3.4.0.
55161 (FP_XSTATE_MAGIC2): Likewise.
55162 (FP_XSTATE_MAGIC2_SIZE): Likewise.
55163 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
55164 (struct _fpx_sw_bytes): New struct.
55165 (struct _xsave_hdr): Likewise.
55166 (struct _ymmh_state): Likewise.
55167 (struct _xstate): Likewise.
55168
55169 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
55170 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
55171 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
55172 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
55173 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
55174 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
55175
55176 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
55177 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
55178 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
55179 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
55180 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
55181 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
55182
55183 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55184
55185 [BZ #13743]
55186 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
55187 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
55188 (sysdep_headers): Include sys/platform/ppc.h.
55189 * sysdeps/powerpc/test-gettimebase.c: Test for
55190 __ppc_get_timebase() to catch future ISA opcode/insn changes.
55191 * manual/Makefile (appendices): Include platform.texi.
55192 * manual/contrib.texi (Contributors): Update @node pointers.
55193 * manual/maint.texi (Maintenance): Likewise.
55194 (Platform): New node.
55195 * manual/platform.texi: New file. Document the new features.
55196
55197 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
55198 Jakub Jelinek <jakub@redhat.com>
55199
55200 [BZ #14188]
55201 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
55202 where __builtin_expect is unavailable.
55203
55204 2012-06-03 David S. Miller <davem@davemloft.net>
55205
55206 * stdlib/longlong.h: Updated from GCC.
55207
55208 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
55209
55210 [BZ #14042]
55211 * sysdeps/powerpc/powerpc32/mcount.c: New file.
55212 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
55213 __mcount_internal.
55214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
55215 (GLIBC_2.16): Likewise.
55216
55217 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
55218
55219 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
55220
55221 2012-06-01 Joseph Myers <joseph@codesourcery.com>
55222
55223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
55224 (default-abi): New variable.
55225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
55226 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
55227 variable.
55228 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
55229 Likewise.
55230 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
55231 Likewise.
55232 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
55233 Likewise.
55234
55235 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
55236 definition. Document in comment.
55237
55238 2012-06-01 David S. Miller <davem@davemloft.net>
55239
55240 * stdlib/longlong.h: Updated from GCC.
55241
55242 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
55243
55244 [BZ #14117]
55245 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
55246 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
55247 sys/debugreg.h sys/io.h here.
55248 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
55249 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
55250 sys/io.h.
55251 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
55252 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
55253 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
55254 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
55255 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
55256 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
55257
55258 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
55259 Define only if __x86_64__ is defined.
55260
55261 2012-06-01 Joseph Myers <joseph@codesourcery.com>
55262
55263 [BZ #14048]
55264 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
55265 Use int64_t for variable i.
55266 * math/libm-test.inc (fmod_test): Add more tests.
55267
55268 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
55269 z computation is not scheduled after fetestexcept.
55270 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
55271 Use math_force_eval instead of asm to ensure calculation scheduled
55272 before exception test.
55273 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
55274 Ensure a1 + u.d computation is not scheduled after fetestexcept.
55275
55276 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
55277
55278 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
55279 computation is not scheduled after fetestexcept.
55280
55281 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
55282
55283 [BZ #14117]
55284 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
55285 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
55286
55287 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55288
55289 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
55290 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55291
55292 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
55293
55294 [BZ #14117]
55295 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
55296 <bits/wordsize.h>.
55297 (__WCHAR_MIN): Support __WORDSIZE == 64.
55298 (__WCHAR_MAX): Likewise.
55299
55300 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
55301 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
55302
55303 [BZ #14183]
55304 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
55305 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
55306
55307 [BZ #14117]
55308 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
55309 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
55310
55311 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
55312 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
55313
55314 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
55315 Defined to 1 if __x86_64__ isn't defined.
55316 (_STAT_VER_LINUX_OLD): New.
55317 (st_atime): Remove duplicate.
55318 (st_mtime): Likewise.
55319 (st_ctime): Likewise.
55320
55321 2012-05-31 David S. Miller <davem@davemloft.net>
55322
55323 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
55324 entries.
55325
55326 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
55327
55328 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
55329 gen-libm-test.pl.
55330
55331 [BZ #14132]
55332 * elf/dl-reloc.c: Include <_itoa.h>.
55333 (_dl_reloc_bad_type): Remove use of INTUSE.
55334 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
55335 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
55336 * stdio-common/psiginfo.c (psiginfo): Likewise.
55337 * stdio-common/psignal.c (psignal): Likewise.
55338 * string/strsignal.c (strsignal): Likewise.
55339 * include/signal.h (_sys_siglist): Declare hidden proto.
55340 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
55341 INTVARDEF with libc_hidden_data_def.
55342 * stdio-common/itoa-udigits.c: Likewise.
55343 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
55344 (_itoa_lower_digits_internal): Remove declaration.
55345 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
55346 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
55347 (_sys_sigabbrev_internal): Remove aliases.
55348 (_sys_siglist): Define hidden alias.
55349
55350 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
55351
55352 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55353 bits/sysctl.h.
55354
55355 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
55356
55357 [BZ #14117]
55358 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
55359 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
55360
55361 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
55362 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
55363 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
55364 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
55365 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
55366 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
55367
55368 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
55369 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
55370 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
55371
55372 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
55373 with __addr.
55374 (insw): Likewise.
55375 (insl): Likewise.
55376 (outsb): Likewise.
55377 (outsw): Likewise.
55378 (outsl): Likewise.
55379
55380 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
55381 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
55382 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
55383
55384 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
55385 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
55386 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
55387 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
55388 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
55389 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
55390
55391 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
55392 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
55393
55394 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
55395 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
55396
55397 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
55398 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
55399 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
55400
55401 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
55402 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
55403 to ...
55404 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
55405
55406 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
55407 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
55408 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
55409
55410 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
55411 for x86-64.
55412 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
55413
55414 2012-05-31 Joseph Myers <joseph@codesourcery.com>
55415
55416 * math/math.h (M_El): Use two more decimal places.
55417 (M_LOG2El): Likewise.
55418 (M_LOG10El): Likewise.
55419 (M_LN2l): Likewise.
55420 (M_LN10l): Likewise.
55421 (M_PIl): Likewise.
55422 (M_PI_2l): Likewise.
55423 (M_PI_4l): Likewise.
55424 (M_1_PIl): Likewise.
55425 (M_2_PIl): Likewise.
55426 (M_2_SQRTPIl): Likewise.
55427 (M_SQRT2l): Likewise.
55428 (M_SQRT1_2l): Likewise.
55429
55430 2012-05-31 David S. Miller <davem@davemloft.net>
55431
55432 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
55433 values between float registers.
55434 * sysdeps/sparc/sparc64/memset.S: Likewise.
55435 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55436
55437 2012-05-31 Mike Frysinger <vapier@gentoo.org>
55438
55439 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
55440 -D_FORTIFY_SOURCE=1.
55441 (CPPFLAGS-tst-longjmp_chk.c): Define.
55442 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
55443 (CPPFLAGS-tst-longjmp_chk2.c): Define.
55444 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
55445 CFLAGS-tst-wchar-h.c.
55446
55447 2012-05-31 Marek Polacek <polacek@redhat.com>
55448
55449 [BZ #14132]
55450 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
55451 __endmntent_internal): Remove declaration.
55452 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
55453 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
55454 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
55455
55456 2012-05-30 David S. Miller <davem@davemloft.net>
55457
55458 * sysdeps/sparc/sparc32/soft-fp/q_util.c
55459 (___Q_simulate_exceptions): Use real FP ops rather than writing
55460 into the %fsr.
55461 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
55462 Likewise.
55463
55464 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
55465
55466 [BZ #14117]
55467 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
55468 * sysdeps/x86/bits/xtitypes.h: This.
55469
55470 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
55471 * sysdeps/x86/bits/wordsize.h: This.
55472
55473 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
55474 * sysdeps/x86/bits/huge_vall.h: This.
55475
55476 * sysdeps/i386/bits/select.h: Removed.
55477 * sysdeps/x86_64/bits/select.h: Renamed to ...
55478 * sysdeps/x86/bits/select.h: This.
55479
55480 * sysdeps/i386/bits/setjmp.h: Removed.
55481 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
55482 * sysdeps/x86/bits/setjmp.h: This.
55483
55484 * sysdeps/i386/bits/mathdef.h: Removed.
55485 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
55486 * sysdeps/x86/bits/mathdef.h: This.
55487
55488 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
55489
55490 [BZ #14132]
55491 * include/sys/socket.h (__connect_internal)
55492 (__libc_sa_len_internal): Remove declaration.
55493 (__connect, __libc_sa_len): Declare hidden_proto.
55494 (SA_LEN): Remove use of INTUSE.
55495 * socket/connect.c: Add libc_hidden_def.
55496 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
55497 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
55498 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
55499 alias.
55500 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
55501 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
55502 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
55503 of adding _internal alias.
55504
55505 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
55506
55507 [BZ #14117]
55508 * sysdeps/i386/bits/link.h: Removed.
55509 * sysdeps/i386/bits/linkmap.h: Likewise.
55510 * sysdeps/x86_64/bits/link.h: Renamed to ...
55511 * sysdeps/x86/bits/link.h: This.
55512 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
55513 * sysdeps/x86/bits/linkmap.h: This.
55514
55515 * sysdeps/i386/bits/endian.h: Removed.
55516 * sysdeps/x86_64/bits/endian.h: Renamed to ...
55517 * sysdeps/x86/bits/endian.h: This.
55518
55519 * sysdeps/i386/bits/byteswap.h: Removed.
55520 * sysdeps/i386/bits/byteswap-16.h: Likewise.
55521 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
55522 * sysdeps/x86/bits/byteswap.h: This.
55523 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
55524 * sysdeps/x86/bits/byteswap-16.h: This.
55525 * sysdeps/i386/Implies: Add x86.
55526 * sysdeps/x86_64/Implies: Likewise.
55527
55528 2012-05-30 David S. Miller <davem@davemloft.net>
55529
55530 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
55531 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
55532 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
55533 (FP_TRAPPING_EXCEPTIONS): Define.
55534 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
55535 (FP_TRAPPING_EXCEPTIONS): Define.
55536 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
55537 subnormals only when inexact has been signalled or underflow
55538 exceptions are enabled.
55539 (_FP_PACK_CANONICAL): Likewise.
55540
55541 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
55542
55543 [BZ #14183]
55544 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
55545 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
55546
55547 2012-05-30 Richard Henderson <rth@twiddle.net>
55548
55549 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
55550 with #ifndef NOT_IN_libc.
55551
55552 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
55553 marked to avoid plt entry.
55554
55555 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
55556
55557 [BZ #14112]
55558 * Makeconfig (default-abi): New macro.
55559 (abi-includes): Likewise.
55560 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
55561 $(abi-$(default-abi)-lib-soname) for soname if defined.
55562 ($(common-objpfx)gnu/lib-names.stmp): Generate from
55563 abi-variants.
55564 * Makefile (installed-stubs): Likewise.
55565 * include/stubs-biarch.h: Removed.
55566 * scripts/lib-names.awk: Only handle one library at a time.
55567 * scripts/soversions.awk: Remove WORDSIZE support.
55568 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
55569 entries.
55570 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
55571 Removed.
55572 (syscall-list-default-condition): Likewise.
55573 (syscall-list-default-condition): Likewise.
55574 (syscall-list-includes): Likewise.
55575 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
55576 syscall-list-* with abi-*. Handle undefined abi-variants.
55577 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
55578 * sysdeps/unix/sysv/linux/i386/Implies: New file.
55579 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
55580 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
55581 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
55582 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
55583 Removed.
55584 (syscall-list-32-options): Likewise.
55585 (syscall-list-32-condition): Likewise.
55586 (syscall-list-64-options): Likewise.
55587 (syscall-list-64-condition): Likewise.
55588 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
55589 macro.
55590 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
55591 Renamed to ...
55592 (abi-*): This.
55593 (abi-64-ld-soname): New macro.
55594 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
55595 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
55596 Renamed to ...
55597 (abi-*): This.
55598 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
55599 * sysdeps/x86_64/x32/shlib-versions: Likewise.
55600
55601 2012-05-30 Joseph Myers <joseph@codesourcery.com>
55602
55603 * sysdeps/unix/sysv/linux/kernel-features.h
55604 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
55605 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
55606 include <kernel-features.h>.
55607 [!__NR_ftruncate64]: Remove conditional code.
55608 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55609 [__NR_ftruncate64]: Make code unconditional.
55610 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55611 * sysdeps/unix/sysv/linux/truncate64.c: Do not
55612 include <kernel-features.h>.
55613 [!__NR_ftruncate64]: Remove conditional code.
55614 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55615 [__NR_ftruncate64]: Make code unconditional.
55616 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
55618 include <kernel-features.h>.
55619 [!__NR_ftruncate64]: Remove conditional code.
55620 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55621 [__NR_ftruncate64]: Make code unconditional.
55622 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55624 include <kernel-features.h>.
55625 [!__NR_ftruncate64]: Remove conditional code.
55626 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55627 [__NR_ftruncate64]: Make code unconditional.
55628 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55629
55630 * configure.in (libc_cv_fpie): Weaken to a compile test using
55631 LIBC_TRY_CC_OPTION.
55632 * configure: Regenerated.
55633
55634 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55635
55636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
55637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
55638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
55639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55640 Refreshed.
55641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
55642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
55643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
55644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
55645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
55646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55647 Refreshed.
55648
55649 2012-05-27 David S. Miller <davem@davemloft.net>
55650
55651 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
55652 (___Q_zero): New.
55653 (__Q_simulate_exceptions): Return void. Change to simulate
55654 exceptions by writing into the %fsr.
55655 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
55656 (__Qp_handle_exceptions): Likewise.
55657 (numbers): Delete.
55658 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
55659 __Qp_handle_exceptions.
55660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
55661 __Qp_handle_exceptions.
55662 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
55663 as unused and give dummy FP_RND_NEAREST initializer.
55664 (FP_INHIBIT_RESULTS): Define.
55665 (___Q_simulate_exceptions): Update declaration.
55666 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
55667 formatting.
55668 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
55669 as unused and give dummy FP_RND_NEAREST initializer.
55670 (__Qp_handle_exceptions): Update declaration.
55671 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
55672 formatting.
55673
55674 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
55675
55676 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
55677 the temporary FPU control word.
55678 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
55679 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
55680 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
55681 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55682 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
55683 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
55684 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
55685 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55686 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
55687 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
55688 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55689
55690 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
55691
55692 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
55693 fields.
55694
55695 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
55696
55697 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
55698 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
55699 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
55700 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
55701 Likewise.
55702 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
55703 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
55704 Likewise.
55705
55706 2012-05-27 Ulrich Drepper <drepper@gmail.com>
55707
55708 * po/h.po: Update from translation team.
55709
55710 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
55711
55712 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
55713
55714 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
55715 handling of denormals.
55716 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55717 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
55718 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
55719 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
55720 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55721 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
55722 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
55723 Likewise.
55724
55725 2012-05-26 Marek Polacek <polacek@redhat.com>
55726
55727 [BZ #14152]
55728 * math/libm-test.inc (fma_test): Don't always expect underflow
55729 exception.
55730
55731 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
55732
55733 [BZ #12416]
55734 * elf/tst-execstack.c: Include stackinfo.h.
55735 (do_test): Adjust test case to ensure that pthread_getattr_np
55736 behaviour remains the same after marking stack executable.
55737
55738 2012-05-25 Joseph Myers <joseph@codesourcery.com>
55739
55740 * sysdeps/unix/sysv/linux/kernel-features.h
55741 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
55742 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
55743 kernel-features.h.
55744 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
55745 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
55746 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
55747 kernel-features.h.
55748 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
55749 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
55750
55751 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
55752
55753 * configure.in: Define the default includes to being none.
55754 * configure: Regenerated.
55755
55756 2012-05-25 Roland McGrath <roland@hack.frob.com>
55757
55758 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
55759 * sysdeps/x86_64/setjmp.S: Likewise.
55760 * sysdeps/i386/bsd-setjmp.S: Likewise.
55761 * sysdeps/i386/bsd-_setjmp.S: Likewise.
55762 * sysdeps/i386/setjmp.S: Likewise.
55763 * sysdeps/i386/__longjmp.S: Likewise.
55764 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
55765 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
55766
55767 * include/stap-probe.h: New file.
55768 * configure.in: Handle --enable-systemtap.
55769 * configure: Regenerated.
55770 * config.h.in (USE_STAP_PROBE): New #undef.
55771 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
55772 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
55773 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
55774
55775 2012-05-25 Joseph Myers <joseph@codesourcery.com>
55776
55777 [BZ #13717]
55778 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
55779 to 2.4.0 where earlier.
55780 * sysdeps/unix/sysv/linux/configure: Regenerated.
55781 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55782 <kernel-features.h>.
55783 [__ASSUME_32BITUIDS]: Make code unconditional.
55784 [!__ASSUME_32BITUIDS]: Remove conditional code.
55785 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
55786 <kernel-features.h>.
55787 [__ASSUME_32BITUIDS]: Make code unconditional.
55788 [!__ASSUME_32BITUIDS]: Remove conditional code.
55789 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
55790 [__ASSUME_32BITUIDS]: Make code unconditional.
55791 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
55792 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
55793 <kernel-features.h>.
55794 [__ASSUME_32BITUIDS]: Make code unconditional.
55795 [!__ASSUME_32BITUIDS]: Remove conditional code.
55796 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
55797 <kernel-features.h>.
55798 [__ASSUME_32BITUIDS]: Make code unconditional.
55799 [!__ASSUME_32BITUIDS]: Remove conditional code.
55800 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
55801 <kernel-features.h>.
55802 [__ASSUME_32BITUIDS]: Make code unconditional.
55803 [!__ASSUME_32BITUIDS]: Remove conditional code.
55804 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
55805 <kernel-features.h>.
55806 [__ASSUME_32BITUIDS]: Make code unconditional.
55807 [!__ASSUME_32BITUIDS]: Remove conditional code.
55808 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55809 <kernel-features.h>.
55810 [__ASSUME_32BITUIDS]: Make code unconditional.
55811 [!__ASSUME_32BITUIDS]: Remove conditional code.
55812 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55813 <kernel-features.h>.
55814 [__ASSUME_32BITUIDS]: Make code unconditional.
55815 [!__ASSUME_32BITUIDS]: Remove conditional code.
55816 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
55817 <kernel-features.h>.
55818 [__ASSUME_32BITUIDS]: Make code unconditional.
55819 [!__ASSUME_32BITUIDS]: Remove conditional code.
55820 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55821 <kernel-features.h>.
55822 [__ASSUME_32BITUIDS]: Make code unconditional.
55823 [!__ASSUME_32BITUIDS]: Remove conditional code.
55824 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55825 <kernel-features.h>.
55826 [__ASSUME_32BITUIDS]: Make code unconditional.
55827 [!__ASSUME_32BITUIDS]: Remove conditional code.
55828 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
55829 <kernel-features.h>.
55830 [__ASSUME_32BITUIDS]: Make code unconditional.
55831 [!__ASSUME_32BITUIDS]: Remove conditional code.
55832 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
55833 <kernel-features.h>.
55834 [__NR_setresgid] (__setresgid): Do not declare.
55835 [__ASSUME_32BITUIDS]: Make code unconditional.
55836 [!__ASSUME_32BITUIDS]: Remove conditional code.
55837 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
55838 <kernel-features.h>.
55839 [__NR_setresuid] (__setresuid): Do not declare.
55840 [__ASSUME_32BITUIDS]: Make code unconditional.
55841 [!__ASSUME_32BITUIDS]: Remove conditional code.
55842 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
55843 <kernel-features.h>.
55844 [__ASSUME_32BITUIDS]: Make code unconditional.
55845 [!__ASSUME_32BITUIDS]: Remove conditional code.
55846 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
55847 <kernel-features.h>.
55848 [__ASSUME_32BITUIDS]: Make code unconditional.
55849 [!__ASSUME_32BITUIDS]: Remove conditional code.
55850 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
55851 <kernel-features.h>.
55852 [__ASSUME_32BITUIDS]: Make code unconditional.
55853 [!__ASSUME_32BITUIDS]: Remove conditional code.
55854 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
55855 <kernel-features.h>.
55856 [__ASSUME_32BITUIDS]: Make code unconditional.
55857 [!__ASSUME_32BITUIDS]: Remove conditional code.
55858 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
55859 <kernel-features.h>.
55860 [__ASSUME_32BITUIDS]: Make code unconditional.
55861 [!__ASSUME_32BITUIDS]: Remove conditional code.
55862 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
55863 <kernel-features.h>.
55864 [__ASSUME_32BITUIDS]: Make code unconditional.
55865 [!__ASSUME_32BITUIDS]: Remove conditional code.
55866 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
55867 <kernel-features.h>.
55868 [__ASSUME_32BITUIDS]: Make code unconditional.
55869 [!__ASSUME_32BITUIDS]: Remove conditional code.
55870 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
55871 <kernel-features.h>.
55872 [__ASSUME_32BITUIDS]: Make code unconditional.
55873 [!__ASSUME_32BITUIDS]: Remove conditional code.
55874 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
55875 <kernel-features.h>.
55876 [__ASSUME_32BITUIDS]: Make code unconditional.
55877 [!__ASSUME_32BITUIDS]: Remove conditional code.
55878 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55879 <kernel-features.h>.
55880 [__ASSUME_32BITUIDS]: Make code unconditional.
55881 [!__ASSUME_32BITUIDS]: Remove conditional code.
55882 * sysdeps/unix/sysv/linux/kernel-features.h
55883 (__ASSUME_SETRESUID_SYSCALL): Remove.
55884 (__ASSUME_SETRESGID_SYSCALL): Likewise.
55885 (__ASSUME_32BITUIDS): Likewise.
55886 (__ASSUME_LDT_WORKS): Likewise.
55887 (__ASSUME_O_DIRECTORY): Likewise.
55888 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
55889 architecture but not kernel version.
55890 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
55891 (__ASSUME_MMAP2_SYSCALL): Likewise.
55892 (__ASSUME_STAT64_SYSCALL): Likewise.
55893 (__ASSUME_IPC64): Likewise.
55894 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
55895 <kernel-features.h>.
55896 [__ASSUME_32BITUIDS]: Make code unconditional.
55897 [!__ASSUME_32BITUIDS]: Remove conditional code.
55898 * sysdeps/unix/sysv/linux/opendir.c: Do not include
55899 <kernel-features.h>.
55900 [__ASSUME_O_DIRECTORY]: Make code unconditional.
55901 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
55902 132096]: Remove conditional code.
55903 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
55904 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55905 <kernel-features.h>.
55906 [__ASSUME_32BITUIDS]: Make code unconditional.
55907 [!__ASSUME_32BITUIDS]: Remove conditional code.
55908 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55909 <kernel-features.h>.
55910 [__ASSUME_32BITUIDS]: Make code unconditional.
55911 [!__ASSUME_32BITUIDS]: Remove conditional code.
55912 * sysdeps/unix/sysv/linux/setegid.c: Do not include
55913 <kernel-features.h>.
55914 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
55915 unconditional.
55916 (__setresgid): Do not declare.
55917 [__ASSUME_32BITUIDS]: Make code unconditional.
55918 [!__ASSUME_32BITUIDS]: Remove conditional code.
55919 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
55920 <kernel-features.h>.
55921 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
55922 unconditional.
55923 (__setresuid): Do not declare.
55924 [__ASSUME_32BITUIDS]: Make code unconditional.
55925 [!__ASSUME_32BITUIDS]: Remove conditional code.
55926 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55927 <kernel-features.h>.
55928 [__ASSUME_32BITUIDS]: Make code unconditional.
55929 [!__ASSUME_32BITUIDS]: Remove conditional code.
55930 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
55931 <kernel-features.h>.
55932 [__ASSUME_32BITUIDS]: Make code unconditional.
55933 [!__ASSUME_32BITUIDS]: Remove conditional code.
55934
55935 2012-05-25 Richard Henderson <rth@twiddle.net>
55936
55937 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
55938 dl_hwcap to ifunc resolver.
55939 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
55940 elf_ifunc_invoke.
55941 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
55942 dl_hwcap to ifunc resolver.
55943 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
55944
55945 2012-05-24 Joseph Myers <joseph@codesourcery.com>
55946
55947 [BZ #14153]
55948 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
55949 for |x| <= 2**-26, not 2**-57.
55950 * math/libm-test.inc (acos_test): Do not allow spurious underflow
55951 exception.
55952
55953 2012-05-24 Jeff Law <law@redhat.com>
55954
55955 * stdio-common/Makefile (tests): Add bug25.
55956 * stdio-common/bug25.c: New test.
55957
55958 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
55959
55960 [BZ #13576]
55961 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
55962 multiple of MALLOC_ALIGNMENT in size.
55963 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
55964
55965 2012-05-24 Joseph Myers <joseph@codesourcery.com>
55966
55967 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
55968 Require >= 256.
55969 (FILENAME_MAX): Use macro-int-constant.
55970 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
55971 (_IOFBF): Use macro-int-constant.
55972 (_IOLBF): Likewise.
55973 (_IONBF): Likewise.
55974 (SEEK_CUR): Likewise.
55975 (SEEK_END): Likewise.
55976 (SEEK_SET): Likewise.
55977 (TMP_MAX): Likewise.
55978 (EOF): Use macro-int-constant. Require < 0.
55979 (NULL): Use macro-constant. Require == 0.
55980 (stdin): Require type to be FILE *.
55981 (stdout): Likewise.
55982 (stderr): Likewise.
55983 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
55984 macro-int-constant.
55985 (EXIT_SUCCESS): Likewise.
55986 (NULL): Use macro-constant. Require == 0.
55987 (RAND_MAX): Use macro-int-constant.
55988 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
55989 [C99-based standards] (strtof): Require function.
55990 [C99-based standards] (strtold): Likewise.
55991 [C99-based standards] (strtoll): Likewise.
55992 [C99-based standards] (strtoull): Likewise.
55993 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55994 [ISO || ISO99 || ISO11] (limits.h): Likewise.
55995 [ISO || ISO99 || ISO11] (math.h): Likewise.
55996 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
55997 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55998 [ISO || ISO99 || ISO11] (*_t): Do not allow.
55999
56000 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
56001
56002 [BZ #14132]
56003 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
56004 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
56005 * intl/dgettext.c (DCGETTEXT): Likewise.
56006 * intl/gettext.c (DCGETTEXT): Likewise.
56007 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
56008 * posix/regex_internal.h (gettext): Likewise.
56009 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
56010 Remove declaration.
56011 * include/argz.h (__argz_count_internal)
56012 (__argz_stringify_internal): Remove declaration.
56013 (__argz_count, __argz_stringify): Declare hidden proto.
56014 * intl/dcgettext.c: Remove use of INTDEF.
56015 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
56016 * string/argz-stringify.c: Likewise.
56017 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56018 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56019 Declare hidden proto.
56020 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56021 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56022 Declare hidden proto.
56023 * include/stdio.h (__asprintf_internal): Don't declare.
56024 (__asprintf): Don't define as macro. Declare hidden proto.
56025 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
56026 (__fsetlocking): Declare hidden proto.
56027 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
56028 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
56029 hidden proto.
56030 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
56031 (_IO_setlinebuf): Remove use of INTUSE.
56032 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
56033 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
56034 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
56035 Remove declaration.
56036 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
56037 (_IO_do_flush): Remove use of INTUSE.
56038 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
56039 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
56040 (_IO_adjust_column, _IO_least_wmarker)
56041 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
56042 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
56043 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
56044 (_IO_default_doallocate, _IO_wdefault_doallocate)
56045 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
56046 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
56047 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
56048 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
56049 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
56050 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
56051 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
56052 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
56053 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
56054 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
56055 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
56056 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
56057 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
56058 proto.
56059 (_IO_flush_all_internal, _IO_adjust_column_internal)
56060 (_IO_default_uflow_internal, _IO_default_finish_internal)
56061 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
56062 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
56063 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
56064 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
56065 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
56066 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
56067 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
56068 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
56069 (_IO_file_close_internal, _IO_file_close_it_internal)
56070 (_IO_file_underflow_internal, _IO_file_overflow_internal)
56071 (_IO_file_init_internal, _IO_file_attach_internal)
56072 (_IO_file_fopen_internal, _IO_file_read_internal)
56073 (_IO_file_sync_internal, _IO_file_seek_internal)
56074 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
56075 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
56076 (_IO_str_underflow_internal, _IO_str_overflow_internal)
56077 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
56078 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
56079 (_IO_list_all_internal, _IO_link_in_internal)
56080 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
56081 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
56082 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
56083 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
56084 (_IO_do_write_internal, _IO_padn_internal)
56085 (_IO_getline_info_internal, _IO_getline_internal)
56086 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
56087 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
56088 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
56089 (_IO_vfscanf_internal, _IO_vfprintf_internal)
56090 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
56091 (_IO_init_internal, _IO_un_link_internal): Don't declare.
56092 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
56093 with libc_hidden_ver, remove use of INTUSE.
56094 * libio/genops.c: Likewise.
56095 * libio/freopen.c: Likewise.
56096 * libio/freopen64.c: Likewise.
56097 * libio/iofclose.c: Likewise.
56098 * libio/iofdopen.c: Likewise.
56099 * libio/iofflush.c: Likewise.
56100 * libio/iofflush_u.c: Likewise.
56101 * libio/iofgets.c: Likewise.
56102 * libio/iofgets_u.c: Likewise.
56103 * libio/iofopen.c: Likewise.
56104 * libio/iofopncook.c: Likewise.
56105 * libio/iofread.c: Likewise.
56106 * libio/iofread_u.c: Likewise.
56107 * libio/ioftell.c: Likewise.
56108 * libio/iofwrite.c: Likewise.
56109 * libio/iogetline.c: Likewise.
56110 * libio/iogets.c: Likewise.
56111 * libio/iogetwline.c: Likewise.
56112 * libio/iopadn.c: Likewise.
56113 * libio/iopopen.c: Likewise.
56114 * libio/ioseekoff.c: Likewise.
56115 * libio/ioseekpos.c: Likewise.
56116 * libio/iosetbuffer.c: Likewise.
56117 * libio/iosetvbuf.c: Likewise.
56118 * libio/ioungetc.c: Likewise.
56119 * libio/ioungetwc.c: Likewise.
56120 * libio/iovdprintf.c: Likewise.
56121 * libio/iovsprintf.c: Likewise.
56122 * libio/iovsscanf.c: Likewise.
56123 * libio/memstream.c: Likewise.
56124 * libio/obprintf.c: Likewise.
56125 * libio/oldfileops.c: Likewise.
56126 * libio/oldiofclose.c: Likewise.
56127 * libio/oldiofdopen.c: Likewise.
56128 * libio/oldiofopen.c: Likewise.
56129 * libio/oldiopopen.c: Likewise.
56130 * libio/oldstdfiles.c: Likewise.
56131 * libio/putc.c: Likewise.
56132 * libio/setbuf.c: Likewise.
56133 * libio/setlinebuf.c: Likewise.
56134 * libio/stdfiles.c: Likewise.
56135 * libio/strops.c: Likewise.
56136 * libio/vasprintf.c: Likewise.
56137 * libio/vscanf.c: Likewise.
56138 * libio/vsnprintf.c: Likewise.
56139 * libio/vswprintf.c: Likewise.
56140 * libio/wfiledoalloc.c: Likewise.
56141 * libio/wfileops.c: Likewise.
56142 * libio/wgenops.c: Likewise.
56143 * libio/wmemstream.c: Likewise.
56144 * libio/wstrops.c: Likewise.
56145 * libio/__fpurge.c: Likewise.
56146 * libio/__fsetlocking.c: Likewise.
56147 * assert/assert.c: Likewise.
56148 * debug/fgets_chk.c: Likewise.
56149 * debug/fgets_u_chk.c: Likewise.
56150 * debug/fread_chk.c: Likewise.
56151 * debug/fread_u_chk.c: Likewise.
56152 * debug/gets_chk.c: Likewise.
56153 * debug/obprintf_chk.c: Likewise.
56154 * debug/vasprintf_chk.c: Likewise.
56155 * debug/vdprintf_chk.c: Likewise.
56156 * debug/vsnprintf_chk.c: Likewise.
56157 * debug/vsprintf_chk.c: Likewise.
56158 * malloc/mtrace.c: Likewise.
56159 * misc/error.c: Likewise.
56160 * misc/syslog.c: Likewise.
56161 * stdio-common/asprintf.c: Likewise.
56162 * stdio-common/fxprintf.c: Likewise.
56163 * stdio-common/getw.c: Likewise.
56164 * stdio-common/isoc99_fscanf.c: Likewise.
56165 * stdio-common/isoc99_scanf.c: Likewise.
56166 * stdio-common/isoc99_vfscanf.c: Likewise.
56167 * stdio-common/isoc99_vscanf.c: Likewise.
56168 * stdio-common/isoc99_vsscanf.c: Likewise.
56169 * stdio-common/printf-prs.c: Likewise.
56170 * stdio-common/printf_fp.c: Likewise.
56171 * stdio-common/printf_fphex.c: Likewise.
56172 * stdio-common/printf_size.c: Likewise.
56173 * stdio-common/putw.c: Likewise.
56174 * stdio-common/scanf.c: Likewise.
56175 * stdio-common/sprintf.c: Likewise.
56176 * stdio-common/tmpfile.c: Likewise.
56177 * stdio-common/vfprintf.c: Likewise.
56178 * stdio-common/vfscanf.c: Likewise.
56179 * stdlib/strfmon_l.c: Likewise.
56180 * sunrpc/openchild.c: Likewise.
56181 * sunrpc/xdr_stdio.c: Likewise.
56182 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
56183 * sysdeps/mach/hurd/tmpfile.c: Likewise.
56184
56185 2012-05-24 Roland McGrath <roland@hack.frob.com>
56186
56187 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
56188
56189 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
56190 in the third column, to generate for the shared library an IFUNC
56191 that uses _dl_vdso_vsym.
56192 * Makerules (COMPILE.c, compile-stdin.c): New variables.
56193 * Makeconfig (object-suffixes-noshared): New variable.
56194
56195 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
56196 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
56197 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
56198 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
56199
56200 [BZ #14132]
56201 * include/sys/time.h (__gettimeofday): Remove macro.
56202 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
56203 * time/gettimeofday.c (__gettimeofday): Remove #undef.
56204 Remove INTDEF.
56205 (__gettimeofday): Add libc_hidden_def.
56206 (gettimeofday): Add libc_hidden_weak.
56207 * sysdeps/mach/gettimeofday.c: Likewise.
56208 * sysdeps/posix/gettimeofday.c: Likewise.
56209 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
56210 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
56211 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
56212 (__gettimeofday_internal): Remove strong_alias.
56213 (__gettimeofday): Add libc_hidden_def.
56214 (gettimeofday): Add libc_hidden_weak.
56215 * sysdeps/unix/syscalls.list (gettimeofday):
56216 Remove __gettimeofday_internal alias.
56217
56218 2012-05-24 Daniel Jacobowitz <drow@false.org>
56219 H.J. Lu <hongjiu.lu@intel.com>
56220
56221 [BZ #12495]
56222 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
56223 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
56224 (largebin_index_32_big): New.
56225 (largebin_index): Use it for 16-byte alignment.
56226 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
56227 correction with front_misalign.
56228
56229 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
56230
56231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
56232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
56233 Likewise.
56234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
56235 Likewise.
56236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
56237 Likewise.
56238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
56239 Likewise.
56240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
56241 Likewise.
56242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
56243 Likewise.
56244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
56245 Likewise.
56246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
56247 Likewise.
56248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
56249 Likewise.
56250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
56251 Likewise.
56252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
56253 Likewise.
56254 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
56255 Likewise.
56256
56257 * scripts/data/c++-types-x32-linux-gnu.data: New file.
56258 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
56259
56260 2012-05-24 Joseph Myers <joseph@codesourcery.com>
56261
56262 [BZ #10846]
56263 [BZ #14036]
56264 * math/libm-test.inc (exp_test): Add test from bug 14036.
56265 (pow_test): Add test from bug 10846.
56266
56267 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
56268 and other flags.
56269 (special_function): Do not include flags in test name.
56270 (parse_args): Likewise.
56271 * sysdeps/i386/fpu/libm-test-ulps: Update.
56272 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56273 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56274 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56276
56277 * math/gen-libm-test.pl (%beautify): Add entries for underflow
56278 exceptions.
56279 * math/libm-test.inc ("Philosophy"): Update comment about
56280 exception testing.
56281 (UNDERFLOW_EXCEPTION): New macro.
56282 (UNDERFLOW_EXCEPTION_OK): Likewise.
56283 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
56284 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
56285 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
56286 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
56287 (INVALID_EXCEPTION_OK): Update value.
56288 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56289 (OVERFLOW_EXCEPTION_OK): Likewise.
56290 (IGNORE_ZERO_INF_SIGN): Likewise.
56291 (test_exceptions): Handle underflow exceptions.
56292 (acos_test): Update for underflow exception expectations.
56293 (cexp_test): Likewise.
56294 (clog_test): Likewise.
56295 (clog10_test): Likewise.
56296 (csqrt_test): Likewise.
56297 (ctan_test): Likewise.
56298 (ctanh_test): Likewise.
56299 (exp_test): Likewise.
56300 (exp10_test): Likewise.
56301 (exp2_test): Likewise.
56302 (expm1_test): Likewise.
56303 (fma_test): Likewise.
56304 (j0_test): Likewise.
56305 (jn_test): Likewise.
56306 (nexttoward_test): Likewise.
56307 (pow_test): Likewise.
56308 (scalbn_test): Likewise.
56309 (scalbln_test): Likewise.
56310 (tan_test): Likewise.
56311 (y1_test): Likewise.
56312 * sysdeps/i386/fpu/libm-test-ulps: Update.
56313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56314
56315 2012-05-23 David S. Miller <davem@davemloft.net>
56316
56317 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
56318 (__libc_sigaction): Remove unused local variables.
56319
56320 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
56321
56322 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
56323
56324 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
56325
56326 mktime: avoid signed integer overflow
56327 * time/mktime.c (__mktime_internal): Do not mishandle the case
56328 where diff == INT_MIN.
56329
56330 mktime: simplify computation of average
56331 * time/mktime.c (ranged_convert): Use new time_t_avg function
56332 instead of rolling our own (probably-slower) code.
56333
56334 mktime: do not assume signed right shift propagates sign bit
56335 * time/mktime.c (isdst_differ): New static function.
56336 (__mktime_internal): No need to normalize tm_isdst now.
56337 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
56338 tm_isdst values.
56339
56340 mktime: merge another wrapv change from gnulib
56341 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
56342 from some compilers.
56343
56344 mktime: remove incorrect attempt at unusual arithmetics
56345 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
56346 The code didn't really work on such machines anyway.
56347 (TYPE_MINIMUM): Assume two's complement.
56348 (twos_complement_arithmetic): Verify that long_int and time_t
56349 are two's complement (or unsigned, in the latter case).
56350
56351 mktime: check signed shifts on long_int and time_t, too
56352 * time/mktime.c (SHR): Check that shifts work as desired
56353 on the types long_int and time_t too, as SHR is used on
56354 such types.
56355
56356 mktime: do not assume 'long' is wide enough
56357 * time/mktime.c (verify): Move decl up.
56358 (long_int): New type.
56359 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
56360 to remove assumption in the code that 'long' is wide enough to
56361 store year values. This assumption is not true on x32 and on
56362 some non-glibc platforms.
56363
56364 mktime: merge wrapv change from gnulib
56365 * time/mktime.c (WRAPV): New macro.
56366 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
56367 (guess_time_tm, __mktime_internal): Do not assume that signed
56368 integer overflow wraps around; modern compilers generate code
56369 where this assumption is no longer valid.
56370
56371 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
56372
56373 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56374 Replace "jmp L(pseudo_end)" with "ret".
56375 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
56376 Likewise.
56377
56378 2012-05-23 Andreas Jaeger <aj@suse.de>
56379
56380 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
56381 * sysdeps/unix/sysv/linux/poll.c: Remove file.
56382
56383 2012-05-23 Andreas Jaeger <aj@suse.de>
56384 Maximilian Attems <max@stro.at>
56385
56386 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
56387 New macros.
56388
56389 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
56390
56391 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
56392 code so that pseudo_end is just ret and the stack pointer is
56393 correct also for static library in error case.
56394
56395 2012-05-23 Joseph Myers <joseph@codesourcery.com>
56396
56397 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
56398 move to syscalls.list.
56399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
56400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
56401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
56402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
56403
56404 * manual/install.texi (Running make install): Do not mention Linux
56405 kernel version for which pt_chown is not needed.
56406 (Linux): Do not mention problems with nscd with 2.0 kernels.
56407 * INSTALL: Regenerated.
56408
56409 2012-05-23 Andreas Jaeger <aj@suse.de>
56410
56411 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
56412 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
56413 macro.
56414 * sysdeps/unix/sysv/linux/s390/bits/mman.h
56415 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56416 * sysdeps/unix/sysv/linux/sh/bits/mman.h
56417 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56418 * sysdeps/unix/sysv/linux/i386/bits/mman.h
56419 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56420 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
56421 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56422 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
56423 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56424 * sysdeps/unix/sysv/linux/bits/in.h
56425 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
56426
56427 2012-05-22 Roland McGrath <roland@hack.frob.com>
56428
56429 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
56430 (PREPARE_VERSION): Just use assert instead, it will be elided
56431 under [NDEBUG] anyway.
56432
56433 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
56434
56435 * sysdeps/unix/sysv/linux/Makefile: Include
56436 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
56437 (sysdep_routines): Remove sysctl.
56438 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
56439 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
56440 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
56441 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
56442 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
56443
56444 2012-05-22 Andreas Jaeger <aj@suse.de>
56445
56446 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
56447 that pseudo_end is just ret and the stack pointer is correct also
56448 for static library in error case.
56449
56450 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
56451
56452 [BZ #14122]
56453 * nss/nsswitch.c (defconfig_entries): New variable.
56454 (__nss_database_lookup): Don't leak defconfig entries.
56455 (nss_parse_service_list): Don't leak on error paths.
56456 (free_database_entries): New function.
56457 (free_defconfig): New function.
56458 (free_mem): Move common code to free_database_entries.
56459
56460 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
56461
56462 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
56463 Add arch_prctl.
56464 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
56465
56466 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
56467 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
56468 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
56469 New macro.
56470 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
56471 (INTERNAL_SYSCALL_TYPES): Likewise.
56472 (LOAD_ARGS_TYPES_[1-6]): Likewise.
56473 (LOAD_REGS_TYPES_[1-6]): Likewise.
56474 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
56475 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
56476
56477 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56478
56479 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
56480 copysignl for GLIBC_2_0.
56481 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
56482 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
56483 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
56484 logbl for GLIBC_2_0.
56485 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
56486 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
56487
56488 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
56489
56490 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
56491 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
56492
56493 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56494 Use "neg %eax".
56495
56496 * time/mktime.c: Update copyright years.
56497
56498 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
56499
56500 mktime: merge comment-quoting-style change from gnulib
56501 * time/mktime.c: Quote 'like this' in comments.
56502 The GNU coding standards suggest that we no longer quote `like this',
56503 as "`" and "'" are typically rendered asymmetrically nowadays.
56504 The typical gnulib style is to quote 'like this' when quoting
56505 code, and "like this" when quoting English.
56506
56507 * time/mktime.c (compile-command): Add "-I.".
56508
56509 mktime: merge mktime-internal.h change from gnulib
56510 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
56511
56512 mktime: merge time_r change from gnulib
56513 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
56514
56515 mktime: merge DEBUG change from gnulib
56516 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
56517 case system <time.h> has a #define.
56518
56519 mktime: merge <sys/types.h> change from gnulib
56520 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
56521 since <time.t> is now guaranteed to define time_t.
56522
56523 mktime: merge HAVE_CONFIG_H change from gnulib
56524 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
56525
56526 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
56527
56528 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
56529 Use "neg %eax".
56530
56531 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
56532 __rlim_t cast.
56533 (struct rusage): Use anonymous union to pad each field to
56534 __syscall_slong_t.
56535
56536 2012-05-21 David S. Miller <davem@davemloft.net>
56537
56538 * Makefules (o-iterator): Remove .s cases.
56539 (compile-command.s): Delete.
56540 (COMPILE.s): Delete.
56541 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
56542
56543 2012-05-21 Joseph Myers <joseph@codesourcery.com>
56544
56545 * configure.in (libc_cv_predef_stack_protector): Only consider
56546 "foobar" and "__stack_chk_fail" lines in libc_undefs.
56547 * configure: Regenerated.
56548
56549 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
56550
56551 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
56552 New macro. Use R*LP on int and pointer.
56553 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
56554 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
56555 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
56556 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
56557
56558 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
56559 [__WORDSIZE_TIME64_COMPAT32] instead of
56560 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
56561 (struct utmp): Likewise.
56562 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
56563 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
56564 Renamed to ...
56565 (__WORDSIZE_TIME64_COMPAT32): This.
56566 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
56567 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
56568 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
56569 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
56570 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
56571 (__WORDSIZE_TIME64_COMPAT32): New macro.
56572
56573 2012-05-21 Andreas Jaeger <aj@suse.de>
56574
56575 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
56576 only if [SHARED]. Add prototype for __wcschr_ia32.
56577
56578 2012-05-21 Roland McGrath <roland@hack.frob.com>
56579
56580 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
56581 of %rbp unmolested in the jmp_buf while mangling the low bits.
56582 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
56583 unmolested high bits of %rbp while demangling the low bits.
56584 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56585
56586 2012-05-21 Andreas Jaeger <aj@suse.de>
56587
56588 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
56589 * sunrpc/svc_simple.c: Use it for registerrpc.
56590 * sunrpc/xcrypt.c: Use it for passwd2des.
56591
56592 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
56593
56594 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
56595
56596 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
56597 Don't define if [__SYSCALL_WORDSIZE != 32].
56598 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
56599 New macro.
56600
56601 2012-05-21 Bruno Haible <bruno@clisp.org>
56602 Andreas Jaeger <aj@suse.de>
56603
56604 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
56605 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
56606 inptr and inend for must_buffer_ch.
56607 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
56608 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
56609 * stdio-common/Makefile (tests): Remove bug15.
56610 (bug15-ENV): Remove macro.
56611 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
56612 anymore.
56613
56614 2012-05-19 Andreas Jaeger <aj@suse.de>
56615 Roland McGrath <roland@hack.frob.com>
56616
56617 * manual/contrib.texi: Completely rewritten. It contains now an
56618 alphabetical list of contributors and their contributions.
56619
56620 2012-05-21 Richard Henderson <rth@twiddle.net>
56621
56622 * misc/getauxval.c (__getauxval): Use unsigned long int.
56623 * misc/sys/auxv.h: Include <sys/cdefs.h>.
56624 (getauxval): Use unsigned long int.
56625
56626 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
56627
56628 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
56629
56630 2012-05-21 Roland McGrath <roland@hack.frob.com>
56631
56632 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
56633 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
56634 __alignof__ (long double).
56635
56636 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56637
56638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56639
56640 2012-05-20 Richard Henderson <rth@twiddle.net>
56641
56642 * misc/getauxval.c: New file.
56643 * misc/sys/auxv.h: New file.
56644 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
56645 (routines): Add getauxval.
56646 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
56647 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
56648 * elf/dl-sysdep.c (_dl_auxv): Remove.
56649 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
56650 * elf/dl-support.c (_dl_auxv): New variable.
56651 (_dl_aux_init): Initialize it.
56652 * manual/startup.texi (Auxiliary Vector): New node.
56653 * sysdeps/generic/bits/hwcap.h: New file.
56654 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
56655 * sysdeps/powerpc/sysdep.h: ... here. Include it.
56656 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
56657 * sysdeps/sparc/sysdep.h: ... here. Include it.
56658 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
56659 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
56660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56661 Update.
56662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
56663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
56664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
56665 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
56666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
56667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
56668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
56669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
56670
56671 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56672
56673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56674
56675 2012-05-19 David S. Miller <davem@davemloft.net>
56676
56677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56678
56679 2012-05-19 Joseph Myers <joseph@codesourcery.com>
56680
56681 [BZ #14123]
56682 * math/s_ccosh.c: Include <float.h>
56683 (__ccosh): Avoid internal overflow calculating sinh and cosh
56684 values before multiplying by sin and cos values.
56685 * math/s_ccoshf.c: Likewise.
56686 * math/s_ccoshl.c: Likewise.
56687 * math/s_csin.c: Likewise.
56688 * math/s_csinf.c: Likewise.
56689 * math/s_csinl.c: Likewise.
56690 * math/s_csinh.c: Likewise.
56691 * math/s_csinhf.c: Likewise.
56692 * math/s_csinhl.c: Likewise.
56693 * math/libm-test.inc (ccos_test): Add more tests.
56694 (ccosh_test): Likewise.
56695 (csin_test): Likewise.
56696 (csinh_test): Likewise.
56697 * sysdeps/i386/fpu/libm-test-ulps: Update.
56698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56699
56700 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
56701
56702 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
56703 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
56704
56705 * sysdeps/x86_64/x32/_itoa.h: Add comment.
56706
56707 2012-05-19 Joseph Myers <joseph@codesourcery.com>
56708
56709 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
56710 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
56711 * sysdeps/powerpc/soft-fp/Versions: Likewise.
56712 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
56713 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
56714 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
56715 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
56716 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
56717 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
56718 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
56719 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
56720 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
56721 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
56722 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
56723 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
56724 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
56725 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
56726 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
56727 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
56728 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
56729 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
56730 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
56731 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
56732 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
56733 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
56734 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
56735 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
56736 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
56737 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
56738 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
56739 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
56740
56741 2012-05-18 Andreas Jaeger <aj@suse.de>
56742
56743 * csu/.gitignore: Delete.
56744
56745 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
56746
56747 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
56748 (timex): Use __syscall_slong_t.
56749
56750 2012-05-18 Andreas Jaeger <aj@suse.de>
56751 Carlos O'Donell <carlos_odonell@mentor.com>
56752
56753 * manual/install.texi (Configuring and compiling): Update
56754 description about files modified in the source directory.
56755 * INSTALL: Regenerated.
56756
56757 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
56758
56759 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
56760 value. Use "or" to set return value to -1.
56761 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
56762 negate return value.
56763
56764 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
56765
56766 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
56767 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
56768 failure if the compiler has Graphite support disabled.
56769 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
56770 Likewise.
56771 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
56772 (CFLAGS-memmove.c): Likewise.
56773 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
56774 Likewise.
56775
56776 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
56777
56778 * sysdeps/x86_64/x32/_itoa.h: New file.
56779
56780 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
56781 getdents system call only if kernel and user dirents have the
56782 same d_ino and d_off.
56783
56784 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
56785 LLONG_MAX != LONG_MAX.
56786 (_itoa_word): Use _ITOA_WORD_TYPE on value.
56787 (_fitoa_word): Likewise.
56788
56789 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
56790 years.
56791 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
56792 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
56793 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
56794
56795 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
56796 include <bits/wordsize.h>. Check __x86_64__ instead of
56797 __WORDSIZE.
56798 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
56799 if __x86_64__ is defined. Use anonymous union on fpstate.
56800
56801 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
56802 anonymous union.
56803
56804 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
56805
56806 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
56807 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
56808 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
56809 Refer to _rtld_local_ro instead of _rtld_global_ro.
56810 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
56811 Likewise.
56812 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
56813 Likewise.
56814 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
56815 Likewise.
56816 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
56817 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
56818 of _rtld_global, and rtld_progname instead of _dl_argv[0].
56819
56820 [BZ #10882]
56821 * sysdeps/powerpc/powerpc32/dl-machine.c
56822 (__elf_machine_runtime_setup) [PROF]: Don't reference
56823 _dl_prof_resolve.
56824
56825 2012-05-18 Andreas Jaeger <aj@suse.de>
56826
56827 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
56828 function only available for GCCs before 3.4 since GCC 3.4
56829 introduced a builtin.
56830 (lrint): Likewise.
56831 (llrintf): Likewise.
56832 (llrint): Likewise.
56833 (fmaxf): Likewise.
56834 (fmax): Likewise.
56835 (fminf): Likewise.
56836 (fmin): Likewise.
56837 (rint): Likewise.
56838 (rintf): Likewise.
56839 (nearbyint): Likewise.
56840 (nearbyintf): Likewise.
56841 (ceil): Likewise.
56842 (ceilf): Likewise.
56843 (floor): Likewise.
56844 (floorf): Likewise.
56845
56846 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
56847
56848 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
56849 on both fields and cast pointer to __syscall_ulong_t.
56850
56851 * bits/types.h (__fsword_t): New type.
56852 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
56853 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
56854 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56855 (__FSWORD_T_TYPE): Likewise.
56856 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56857 (__FSWORD_T_TYPE): Likewise.
56858 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56859 (__FSWORD_T_TYPE): Likewise.
56860 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
56861 (__FSWORD_T_TYPE): Likewise.
56862 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
56863 __SWORD_TYPE with __fsword_t.
56864 (statfs64): Likewise.
56865
56866 2012-05-17 David S. Miller <davem@davemloft.net>
56867
56868 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
56869
56870 2012-05-17 Andreas Jaeger <aj@suse.de>
56871
56872 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
56873 warning.
56874
56875 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
56876
56877 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
56878
56879 2012-05-17 Andreas Jaeger <aj@suse.de>
56880
56881 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
56882 when it is used.
56883
56884 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
56885
56886 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
56887
56888 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
56889
56890 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
56891 * sysdeps/x86_64/tst-mallocalign1.c: New file.
56892
56893 2012-05-17 Andreas Jaeger <aj@suse.de>
56894 Carlos O'Donell <carlos_odonell@mentor.com>
56895
56896 [BZ #14059]
56897 * sysdeps/x86_64/multiarch/init-arch.h
56898 (bit_YMM_Usable): Rename to...
56899 (bit_AVX_Usable): ... this.
56900 (bit_FMA4_Usable): New macro.
56901 (bit_XMM_state): New macro.
56902 (bit_YMM_state): New macro.
56903 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
56904 [__ASSEMBLER__] (index_AVX_Usable): ... this.
56905 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
56906 (CPUID_OSXSAVE): New macro.
56907 (CPUID_AVX): New macro.
56908 (CPUID_FMA4): New macro.
56909 (index_YMM_Usable): Rename to...
56910 (index_AVX_Usable): ... this.
56911 (HAS_AVX): Use HAS_ARCH_FEATURE.
56912 (HAS_FMA4): Likewise.
56913 (HAS_YMM_USABLE): Remove.
56914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56915 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
56916 are present.
56917 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
56918 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
56919 * sysdeps/x86_64/multiarch/Makefile: Likewise.
56920 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
56921 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
56922
56923 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
56924
56925 * math/libm-test.c: Support platforms without multiple rounding modes.
56926 * math/bug-nextafter.c: Support platforms without FP exceptions.
56927 * math/bug-nexttoward.c: Likewise.
56928 * math/test-fenv.c: Likewise.
56929 * math/test-misc.c: Likewise.
56930 * stdlib/bug-getcontext.c: Likewise.
56931
56932 2012-05-17 Andreas Jaeger <aj@suse.de>
56933
56934 * manual/examples/search.c (critter_cmp): Change signature to
56935 avoid warnings.
56936 * manual/string.texi (Collation Functions): Likewise.
56937
56938 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
56939
56940 * bits/types.h: Fold copyright years.
56941 * bits/typesizes.h: Likewise.
56942 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
56943 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
56944 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
56945 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
56946 * time/time.h: Likewise.
56947
56948 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
56949
56950 [BZ #208]
56951 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
56952 in instead of returning them. Return void.
56953 (__libc_mallinfo): Accumulate over all arenas.
56954 (__malloc_stats): Adjust for change in int_mallinfo interface.
56955
56956 2012-05-16 Roland McGrath <roland@hack.frob.com>
56957
56958 [BZ #10375]
56959 * configure.in (NM): Add AC_CHECK_TOOL for it.
56960 (libc_extra_cflags): New substituted variable.
56961 Check for -fstack-protector being used implicitly.
56962 * configure: Regenerated.
56963 * config.make.in (config-extra-cflags): New variable,
56964 gets @libc_extra_cflags@.
56965 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
56966
56967 [BZ #10375]
56968 * configure.in: Check for _FORTIFY_SOURCE being predefined.
56969 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
56970 * configure: Regenerated.
56971 * config.make.in (CPPUNDEFS): New substituted variable.
56972 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
56973 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
56974 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
56975
56976 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
56977
56978 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
56979 (mq_attr): Use __syscall_slong_t.
56980
56981 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
56982
56983 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
56984 Check __x86_64__ instead of __WORDSIZE.
56985 (_STAT_VER_LINUX): Likewise.
56986 (stat): Check __x86_64__ instead of __WORDSIZE. Use
56987 __syscall_ulong_t and __syscall_slong_t.
56988 (stat64): Likewise.
56989
56990 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
56991
56992 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
56993
56994 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
56995
56996 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
56997
56998 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
56999
57000 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
57001 __syscall_ulong_t.
57002
57003 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
57004 include <bits/wordsize.h>. Check __x86_64__ instead of
57005 __WORDSIZE.
57006 (greg_t): Use "__extension__ long long int" if __x86_64__ is
57007 defined.
57008 (mcontext_t): Replace "unsigned long" with "unsigned long long".
57009
57010 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
57011 include <bits/wordsize.h>. Check __x86_64__ instead of
57012 __WORDSIZE.
57013 (user_regs_struct): Use "__extension__ unsigned long long"
57014 instead of "unsigned long" if __x86_64__ is defined.
57015 (user): Likewise. Pad after pointer field if __ILP32__ is
57016 defined.
57017
57018 2012-05-16 Joseph Myers <joseph@codesourcery.com>
57019
57020 * configure.in (makeinfo): Require version 4.5 or later. Allow
57021 versions 5 to 9.
57022 * configure: Regenerated.
57023 * manual/install.texi (texinfo): Increase version requirement to
57024 4.5 or later.
57025 * INSTALL: Regenerated.
57026
57027 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
57028
57029 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
57030
57031 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
57032
57033 * sysdeps/x86_64/x32/ffs.c: New file.
57034
57035 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
57036 __syscall_ulong_t.
57037 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
57038 defined. Use __syscall_ulong_t.
57039 (shminfo): Use __syscall_ulong_t.
57040 (shm_info): Likewise.
57041
57042 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
57043 __syscall_ulong_t.
57044
57045 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
57046 <bits/wordsize.h>.
57047 (msgqnum_t): Use __syscall_ulong_t.
57048 (msglen_t): Likewise.
57049 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
57050 __syscall_ulong_t.
57051
57052 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
57053 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
57054
57055 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
57056
57057 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
57058 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
57059
57060 * sysvipc/sys/msg.h (msgbuf): Replace long int with
57061 __syscall_slong_t.
57062
57063 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
57064 include <bits/wordsize.h>. Check __x86_64__ instead of
57065 __WORDSIZE.
57066
57067 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
57068 "unsigned long long int" if __x86_64__ is defined.
57069 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
57070
57071 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
57072 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
57073 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
57074
57075 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
57076 <stdint.h>.
57077 (GET_PC): Cast to uintptr_t first.
57078 (GET_FRAME): Likewise.
57079 (GET_STACK): Likewise.
57080
57081 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
57082 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
57083 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
57084 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
57085 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
57086 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
57087 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
57088 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
57089 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
57090 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
57091 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
57092 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
57093 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57094 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
57095 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
57096 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
57097 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
57098 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
57099 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
57100 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
57101 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
57102 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
57103 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
57104 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
57105 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
57106 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
57107 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
57108 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
57109 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
57110
57111 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
57112
57113 * Makerules (+depfiles): Also collect depfiles from .oS in
57114 $(extra-objs).
57115 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
57116 .oS, $(libnldbl-routines)).
57117
57118 * Makerules (native-compile-mkdep-flags): Define.
57119 * sunrpc/Makefile (extra-objs): Add $(addprefix
57120 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
57121 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
57122 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
57123 calling $(make-target-directory).
57124
57125 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57126
57127 * bits/types.h (__snseconds_t): Removed.
57128 * time/time.h (struct timespec): Replace __snseconds_t with
57129 __syscall_slong_t.
57130 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
57131 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
57132 Likewise.
57133 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57134 (__SNSECONDS_T_TYPE): Likewise.
57135 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57136 (__SNSECONDS_T_TYPE): Likewise.
57137 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57138 (__SNSECONDS_T_TYPE): Likewise.
57139
57140 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57141
57142 * sysdeps/mach/hurd/bits/typesizes.h
57143 (__SYSCALL_SLONG_TYPE): New macro.
57144 (__SYSCALL_ULONG_TYPE): Likewise.
57145
57146 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57147
57148 * bits/types.h (__syscall_slong_t): New type.
57149 (__syscall_ulong_t): Likewise.
57150
57151 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
57152 (__SYSCALL_ULONG_TYPE): Likewise.
57153 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57154 (__SYSCALL_SLONG_TYPE): Likewise.
57155 (__SYSCALL_ULONG_TYPE): Likewise.
57156 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57157 (__SYSCALL_SLONG_TYPE): Likewise.
57158 (__SYSCALL_ULONG_TYPE): Likewise.
57159 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57160 (__SYSCALL_SLONG_TYPE): Likewise.
57161 (__SYSCALL_ULONG_TYPE): Likewise.
57162
57163 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57164
57165 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
57166 Add sigaltstack-offsets.sym.
57167 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
57168 <sigaltstack-offsets.h>.
57169 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
57170 longjmp_msg pointer.
57171 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
57172 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
57173 signal stack.
57174 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
57175
57176 2012-05-15 Joseph Myers <joseph@codesourcery.com>
57177
57178 * elf/stackguard-macros.h: Remove file.
57179 * sysdeps/generic/stackguard-macros.h: New file.
57180 * sysdeps/i386/stackguard-macros.h: Likewise.
57181 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57182 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57183 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57184 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57185 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57186 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57187 * sysdeps/x86_64/stackguard-macros.h: Likewise.
57188 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
57189 <elf/stackguard-macros.h>.
57190
57191 [BZ #14109]
57192 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
57193 __aligned__ in attribute.
57194 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
57195 (gregset_t): Likewise.
57196
57197 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57198
57199 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
57200 * sysdeps/x86_64/64/Implies-after: Here. New file.
57201 * sysdeps/x86_64/x32/Implies-after: New file.
57202
57203 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57204
57205 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
57206 and access return value for _dl_profile_fixup. Use R10_LP to
57207 load frame size.
57208
57209 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57210
57211 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
57212
57213 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57214
57215 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
57216 * sysdeps/x86_64/x32/sysdep.h: New file.
57217
57218 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57219
57220 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
57221 * sysdeps/x86_64/setjmp.S: Likewise.
57222
57223 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57224
57225 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
57226 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
57227 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
57228 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
57229 remove unused global constant.
57230
57231 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
57232
57233 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
57234 include of <not-cancel.h>.
57235
57236 2012-05-15 Roland McGrath <roland@hack.frob.com>
57237
57238 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
57239
57240 2012-05-15 Jeff Law <law@redhat.com>
57241 Andreas Jaeger <aj@suse.de>
57242
57243 [BZ #13594]
57244 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
57245 out from...
57246 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
57247 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
57248 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
57249 code changing __hst_map_handle.map.
57250
57251 2012-05-15 Roland McGrath <roland@hack.frob.com>
57252
57253 * configure.in (sysnames): Look for Implies-before and Implies-after
57254 files.
57255 * configure: Regenerated.
57256
57257 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57258
57259 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
57260 8-byte data alignment with LP_SIZE alignment.
57261
57262 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57263
57264 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
57265 into R10_LP.
57266
57267 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57268
57269 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
57270
57271 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57272
57273 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
57274 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
57275 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
57276 Likewise.
57277 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
57278
57279 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57280
57281 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
57282 (stackinfo_sub_sp): Likewise.
57283
57284 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57285
57286 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
57287 RAX_LP.
57288
57289 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57290
57291 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
57292 into R*_LP.
57293
57294 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57295
57296 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
57297 sizes into R*_LP.
57298
57299 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57300
57301 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
57302
57303 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57304
57305 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
57306 into R11_LP and load __x86_64_shared_cache_size_half into
57307 R8_LP.
57308
57309 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57310
57311 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
57312 R8_LP.
57313
57314 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57315
57316 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
57317 logb for POWER7.
57318 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
57319 logbf for POWER7.
57320 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
57321 logbl for POWER7.
57322 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
57323 powerpc32/power7/fpu/s_logb.c via #include.
57324 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
57325 powerpc32/power7/fpu/s_logbf.c via #include.
57326 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
57327 powerpc32/power7/fpu/s_logbl.c via #include.
57328
57329 2012-05-15 Joseph Myers <joseph@codesourcery.com>
57330
57331 * README.libm: Remove file.
57332
57333 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
57334
57335 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
57336 count for x32. Use R*_LP and omit operand-size suffix.
57337
57338 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
57339
57340 * shlib-versions: Move x86_64-.*-linux.* entries to ...
57341 * sysdeps/x86_64/64/shlib-versions: Here. New file.
57342 * sysdeps/x86_64/x32/shlib-versions: New file.
57343
57344 2012-05-14 Roland McGrath <roland@hack.frob.com>
57345
57346 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
57347 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
57348 Use _dl_fatal_printf instead.
57349
57350 2012-05-14 Joseph Myers <joseph@codesourcery.com>
57351
57352 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
57353 set if not set by the user. Do not allow for being unset.
57354 * sysdeps/unix/sysv/linux/configure: Regenerated.
57355
57356 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
57357
57358 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
57359 the `q' suffix from lea and replace .quad with ASM_ADDR.
57360
57361 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
57362
57363 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
57364 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
57365 instead of $17.
57366 (PTR_DEMANGLE): Likewise.
57367
57368 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
57369
57370 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
57371 (LP_OP): Likewise.
57372 (ASM_ADDR): Likewise.
57373 (RAX_LP): Likewise.
57374 (RBP_LP): Likewise.
57375 (RBX_LP): Likewise.
57376 (RCX_LP): Likewise.
57377 (RDI_LP): Likewise.
57378 (RSI_LP): Likewise.
57379 (RSP_LP): Likewise.
57380 (R8_LP): Likewise.
57381 (R9_LP): Likewise.
57382 (R10_LP): Likewise.
57383 (R10_LP): Likewise.
57384 (R11_LP): Likewise.
57385 (R12_LP): Likewise.
57386 (R13_LP): Likewise.
57387 (R14_LP): Likewise.
57388 (R15_LP): Likewise.
57389
57390 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
57391
57392 * sysdeps/x86_64/x32/dl-machine.h: New file.
57393
57394 2012-05-14 Andreas Jaeger <aj@suse.de>
57395
57396 * manual/Makefile (subdir): Remove export of subdir.
57397 (all): Remove target.
57398 (.PHONY): Remove all from list.
57399 (mkinstalldirs): Remove.
57400 (.PHONY): Remove installdirs from list.
57401 ($(inst_infodir)/libc.info): Use make-target-directory.
57402 (installdirs): Remove.
57403 (subdir_%): Remove.
57404 (glibc-targets): Remove.
57405 (lib): Remove.
57406 (stubs): Remove.
57407 ($(objpfx)stubs ../po/manual.pot): Remove.
57408 ($(objpfx)stamp%): Remove.
57409 (make-target-directory): Remove.
57410 (subdir_install): Remove.
57411 (routines): Remove.
57412 (aux): Remove.
57413 (sources): Remove.
57414 (objects): Remove.
57415 (headers): Remove.
57416
57417 [BZ #13750]
57418 * manual/.gitignore: Remove, it's not needed anymore.
57419 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
57420 all files in it.
57421 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
57422 directory.
57423 (texis): Renamed to $(objpfx)texis.
57424 (texis-path): New, contains path to generated files.
57425 (chapters.%): Use texis-path for complete path, add extra argument
57426 libc-texinfo.sh.
57427 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
57428 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
57429 (summary,texi, stamp-summary): Use complete path of
57430 files. Generate files in build dir.
57431 (dir-add.texi): Build in build dir.
57432 (libm-err.texi,stamp-libm-err): Likewise.
57433 (version.texi, stamp-version): Likewise.
57434 (.%c.texi): Likewise.
57435 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
57436 (mostlyclean): Remove target.
57437 (realclean): Remove target.
57438 (generated): Add new variable with contents from mostlyclean and
57439 realclean, remove entries duplicated in common-mostlyclean, add
57440 stamp-libm-err and stamp-version.
57441 (generated-dirs): Add libc directory.
57442 ($(inst_infodir)/libc.info): Install files from build dir.
57443
57444 * manual/install.texi (Configuring and compiling): Adjust since
57445 the info files are not part of the tar ball anymore.
57446
57447 2012-05-14 Andreas Jaeger <aj@suse.de>
57448
57449 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
57450 variable.
57451
57452 2012-05-14 Joseph Myers <joseph@codesourcery.com>
57453
57454 [BZ #13717]
57455 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57456 to 2.2.0 where earlier.
57457 * sysdeps/unix/sysv/linux/configure: Regenerated.
57458 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
57459 Remove conditional code.
57460 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
57461 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
57462 Remove conditional code.
57463 [!__NR_lchown]: Likewise.
57464 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57465 [__NR_lchown]: Likewise.
57466 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
57467 comment referencing __ASSUME_LCHOWN_SYSCALL.
57468 * sysdeps/unix/sysv/linux/i386/sigaction.c
57469 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57470 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57471 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
57472 Remove conditional code.
57473 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
57474 (__protocol_available): Remove #if 0 code.
57475 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
57476 conditional code.
57477 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
57478 * sysdeps/unix/sysv/linux/kernel-features.h
57479 (__ASSUME_GETCWD_SYSCALL): Don't define.
57480 (__ASSUME_REALTIME_SIGNALS): Likewise.
57481 (__ASSUME_PREAD_SYSCALL): Likewise.
57482 (__ASSUME_PWRITE_SYSCALL): Likewise.
57483 (__ASSUME_POLL_SYSCALL): Likewise.
57484 (__ASSUME_LCHOWN_SYSCALL): Likewise.
57485 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
57486 non-SPARC.
57487 (__ASSUME_SIOCGIFNAME): Don't define.
57488 (__ASSUME_MSG_NOSIGNAL): Likewise.
57489 (__ASSUME_SENDFILE): Define unconditionally.
57490 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
57491 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
57492 conditional code.
57493 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
57494 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
57495 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
57496 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57497 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
57498 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
57499 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
57501 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57502 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
57504 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57505 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
57507 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57508 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
57510 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57511 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
57513 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57514 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
57516 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57517 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
57519 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57520 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
57522 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57523 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57524 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
57525 Remove conditional code.
57526 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57527 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
57528 Remove conditional code.
57529 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57530 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
57531 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
57532 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
57533 Remove conditional code.
57534 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57535 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
57536 Remove conditional code.
57537 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57538 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
57539 Remove conditional code.
57540 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57541 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
57542 Remove conditional code.
57543 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57544 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
57545 Remove conditional code.
57546 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57547 * sysdeps/unix/sysv/linux/sh/pwrite64.c
57548 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57549 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57550 * sysdeps/unix/sysv/linux/sigaction.c
57551 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57552 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57553 * sysdeps/unix/sysv/linux/sigpending.c
57554 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57555 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57556 * sysdeps/unix/sysv/linux/sigprocmask.c
57557 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57558 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57559 * sysdeps/unix/sysv/linux/sigsuspend.c
57560 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57561 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57562 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
57563 (__libc_missing_rt_sigs): Remove.
57564 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
57565 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
57566 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
57567 Remove conditional code.
57568 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
57569 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
57570 return 1.
57571 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
57572 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
57573 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
57574 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
57575
57576 2012-05-14 Andreas Jaeger <aj@suse.de>
57577
57578 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
57579 it's not used in glibc.
57580 (__coshm1): Likewise.
57581 (__acosh1p): Likewise.
57582 (__sgn): Likewise.
57583
57584 * manual/string.texi (Copying and Concatenation): Add missing
57585 variable in concat example.
57586 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
57587
57588 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
57589
57590 [BZ #14103]
57591 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
57592 __builtin_clzl with __builtin_clzll.
57593
57594 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
57595
57596 [BZ #14104]
57597 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
57598 libc_freeres_ptr.
57599
57600 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57601
57602 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
57603 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
57604 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
57605 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
57606
57607 2012-05-14 Mike Frysinger <vapier@gentoo.org>
57608
57609 * NEWS: Update ia64 info.
57610
57611 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
57612
57613 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
57614 used as bcopy.
57615
57616 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
57617
57618 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
57619 * sysdeps/unix/syscalls.list (dup3): Likewise.
57620 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
57621 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
57622
57623 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
57624
57625 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
57626 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
57627
57628 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
57629
57630 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
57631 thread pointer.
57632 (TLS_IE): Use mov/add instead of movq/addq to load thread
57633 pointer.
57634 (TLS_GD_PREFIX): New.
57635 (TLS_GD): Use it.
57636
57637 2012-05-11 David S. Miller <davem@davemloft.net>
57638
57639 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
57640 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
57641 (_FPU_SETCW): Likewise.
57642
57643 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
57644
57645 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
57646 is 32-byte aligned.
57647
57648 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
57649
57650 [BZ #11837]
57651 * iconvdata/gb18030.c: Update tables.
57652 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
57653 characters specially.
57654 (BODY for TO_LOOP): Add encoding of missing ranges.
57655
57656 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
57657
57658 [BZ #13673]
57659 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
57660 * sysdeps/mach/hurd/dup3.c: Likewise.
57661 * sysdeps/mach/hurd/readlinkat.c: Likewise.
57662 * sysdeps/powerpc/memmove.c:: Likewise.
57663
57664 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
57665
57666 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
57667 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
57668
57669 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
57670
57671 * elf/elf.h (R_X86_64_RELATIVE64): New.
57672 (R_X86_64_NUM): Updated.
57673 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
57674 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
57675 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
57676 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
57677 tst-quad1pie tst-quad2pie
57678 (modules-names): Add tst-quadmod1 tst-quadmod2.
57679 ($(objpfx)tst-quad1): New dependency.
57680 ($(objpfx)tst-quad2): Likewise.
57681 ($(objpfx)tst-quad1pie): Likewise.
57682 ($(objpfx)tst-quad2pie): Likewise.
57683 * sysdeps/x86_64/tst-quad1.c: New file.
57684 * sysdeps/x86_64/tst-quad1pie.c: New file.
57685 * sysdeps/x86_64/tst-quad2.c: Likewise.
57686 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
57687 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
57688 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
57689 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
57690 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
57691
57692 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
57693
57694 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
57695 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
57696 * streams/stropts.h (t_scalar_t): Define type.
57697
57698 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
57699 (_PATH_PRESERVE): Set to "/var/lib".
57700 (_PATH_RWHODIR): Set to "/var/spool/rwho".
57701
57702 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
57703 instead of int.
57704
57705 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
57706 if __dir_mkfile succeeded.
57707
57708 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
57709 checking for _hurd_dtablesize. Unlock it right after having
57710 finished _hurd_dtable allocation.
57711
57712 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
57713
57714 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
57715 * sysdeps/mach/hurd/configure: Regenerated.
57716 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
57717 special-casing to...
57718 * sysdeps/gnu/configure.in: ... this new file.
57719 * sysdeps/unix/sysv/linux/configure: Regenerated.
57720 * sysdeps/gnu/configure: New generated file.
57721
57722 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
57723 for Linux: use nsec instead of usec, as well as:
57724 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
57725 members of type struct timespec.
57726 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
57727 New macros.
57728 (struct stat64): Likewise.
57729 (_STATBUF_ST_NSEC): New macro.
57730 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
57731
57732 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
57733 __strtoul_internal rather than strtoul.
57734
57735 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
57736
57737 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
57738 and reject them.
57739
57740 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
57741
57742 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
57743 which preserves existing values.
57744 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
57745
57746 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
57747
57748 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
57749 TIMEOUT values. Return EINVAL for NFDS values either negative or
57750 greater than FD_SETSIZE.
57751
57752 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
57753
57754 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
57755 allocated, call __vm_protect to finish enabling the existing space, and
57756 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
57757 allocate the remainder.
57758
57759 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
57760
57761 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
57762 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
57763
57764 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
57765
57766 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
57767 sysdeps/mach/hurd/readlink.c.
57768
57769 * posix/tst-sysconf.c (posix_options): Only use
57770 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
57771 _POSIX_SYNCHRONIZED_IO when they are defined
57772 * sysdeps/mach/hurd/bits/posix_opt.h:
57773 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
57774 (_XOPEN_REALTIME): Undefine macro.
57775 (_XOPEN_REALTIME_THREADS): Undefine macro.
57776 (_XOPEN_SHM): Undefine macro.
57777 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
57778 macro to -1.
57779 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
57780 macro to -1.
57781 (_POSIX_ASYNC_IO): Undefine macro.
57782 (_POSIX_PRIORITIZED_IO): Undefine macro.
57783 (_POSIX_SPIN_LOCKS): Define macro to -1.
57784
57785 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
57786 SA_NODEFER, SA_RESETHAND.
57787 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
57788 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
57789 F_DUPFD_CLOEXEC.
57790
57791 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
57792
57793 * elf/Makefile (pldd-modules): Define unconditionally.
57794
57795 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
57796
57797 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
57798
57799 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
57800
57801 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
57802 Return ENOENT when name is empty.
57803 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
57804
57805 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
57806
57807 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
57808
57809 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
57810
57811 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
57812
57813 Fix mlock in all cases except non-readable pages.
57814 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
57815 instead of VM_PROT_ALL as parameter to __vm_wire function.
57816
57817 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
57818 (__mkdir): When path is `/', just fail with EEXIST.
57819 * sysdeps/mach/hurd/mkdirat.c: Likewise.
57820
57821 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
57822
57823 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
57824 <sys/uio.h> (for writev).
57825 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
57826 and <sys/param.h> (for MIN).
57827
57828 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
57829
57830 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
57831 REQUESTED_TIME. Properly set the remaining time and return EINTR
57832 if interrupted.
57833
57834 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
57835
57836 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
57837 Depend on against $(link-rpcuserlibs).
57838
57839 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
57840
57841 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
57842 (__libc_stack_end): Do not use attribute_relro.
57843 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
57844 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
57845 to libthread-provided value.
57846 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
57847 attribute_relro.
57848
57849 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
57850
57851 [BZ #3748]
57852 * bits/libc-lock.h (__libc_once_get): New macro.
57853 * sysdeps/mach/bits/libc-lock.h: Likewise.
57854 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
57855 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
57856 instead of using implementation details.
57857
57858 * libio/fileops.c: Unconditionally include <kernel-features.h>.
57859 * libio/freopen.c: Likewise.
57860 * libio/freopen64.c: Likewise.
57861 * misc/syslog.c: Likewise.
57862 * nscd/connections.c: Likewise.
57863 * nscd/netgroupcache.c: Likewise.
57864 * sysdeps/posix/getcwd.c: Likewise.
57865
57866 2012-05-10 Roland McGrath <roland@hack.frob.com>
57867
57868 * math/w_ilogbf.c: Add #include <limits.h>.
57869
57870 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
57871
57872 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
57873 path instead of returning without unlocking.
57874
57875 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
57876 immediate-write ioctls.
57877 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
57878
57879 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
57880
57881 * sysdeps/mach/hurd/i386/init-first.c (init): Use
57882 __builtin_frame_address instead of making assumptions about the
57883 location of the return address relative to DATA. Force early load of
57884 the return address.
57885 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
57886 __builtin_frame_address.
57887
57888 dup3 for GNU Hurd.
57889 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
57890 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
57891 implement dup3 and do some further code clean-ups.
57892 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
57893 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
57894
57895 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
57896
57897 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
57898
57899 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
57900 HURD_CRITICAL_END around holding _hurd_dtable_lock.
57901 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
57902 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
57903 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
57904 d->port.lock.
57905
57906 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
57907 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
57908 when handler == SIG_ERR, not when handler != SIG_ERR.
57909
57910 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
57911
57912 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
57913 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
57914 definitions.
57915
57916 accept4 for GNU Hurd.
57917 * include/sys/socket.h (__libc_accept4): New prototype.
57918 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
57919 to implement __libc_accept4.
57920 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
57921 __libc_accept4.
57922 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
57923
57924 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
57925 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
57926 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
57927 signal-defines.sym.
57928
57929 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
57930
57931 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
57932
57933 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
57934
57935 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
57936 assertion on O_CLOEXEC flag.
57937 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
57938 * hurd/intern-fd.c: Likewise.
57939 * hurd/port2fd.c: Likewise.
57940
57941 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
57942
57943 [BZ #3906]
57944 * bits/in.h (IPV6_PKTINFO): Define new macro.
57945 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
57946
57947 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57948
57949 [BZ #13954]
57950 [BZ #13955]
57951 [BZ #13956]
57952 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
57953 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57954 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
57955 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
57956 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57957 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
57958 * math/libm-test.inc (logb_test) : Additional logb tests.
57959
57960 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
57961 Andreas Jaeger <aj@suse.de>
57962
57963 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
57964 * configure: Regenerated.
57965 * config.h.in (LINK_OBSOLETE_RPC): New macro.
57966 * config.make.in (link-obsolete-rpc): New substituted variable.
57967 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
57968 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
57969 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
57970 (shared-only-routines): Don't set it under [link-obsolete-rpc],
57971 so that libc.a contains the symbols.
57972 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
57973 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
57974 * sunrpc/auth_none.c: Likewise.
57975 * sunrpc/auth_unix.c: Likewise.
57976 * sunrpc/authdes_prot.c: Likewise.
57977 * sunrpc/authuxprot.c: Likewise.
57978 * sunrpc/clnt_gen.c: Likewise.
57979 * sunrpc/clnt_perr.c: Likewise.
57980 * sunrpc/clnt_raw.c: Likewise.
57981 * sunrpc/clnt_simp.c: Likewise.
57982 * sunrpc/clnt_tcp.c: Likewise.
57983 * sunrpc/clnt_udp.c: Likewise.
57984 * sunrpc/clnt_unix.c: Likewise.
57985 * sunrpc/des_crypt.c: Likewise.
57986 * sunrpc/des_soft.c: Likewise.
57987 * sunrpc/get_myaddr.c: Likewise.
57988 * sunrpc/key_call.c: Likewise.
57989 * sunrpc/key_prot.c: Likewise.
57990 * sunrpc/netname.c: Likewise.
57991 * sunrpc/pm_getmaps.c: Likewise.
57992 * sunrpc/pm_getport.c: Likewise.
57993 * sunrpc/pmap_clnt.c: Likewise.
57994 * sunrpc/pmap_prot.c: Likewise.
57995 * sunrpc/pmap_prot2.c: Likewise.
57996 * sunrpc/pmap_rmt.c: Likewise.
57997 * sunrpc/publickey.c: Likewise.
57998 * sunrpc/rpc_cmsg.c: Likewise.
57999 * sunrpc/rpc_common.c: Likewise.
58000 * sunrpc/rpc_dtable.c: Likewise.
58001 * sunrpc/rpc_prot.c: Likewise.
58002 * sunrpc/rpc_thread.c: Likewise.
58003 * sunrpc/rtime.c: Likewise.
58004 * sunrpc/svc.c: Likewise.
58005 * sunrpc/svc_auth.c: Likewise.
58006 * sunrpc/svc_raw.c: Likewise.
58007 * sunrpc/svc_run.c: Likewise.
58008 * sunrpc/svc_tcp.c: Likewise.
58009 * sunrpc/svc_udp.c: Likewise.
58010 * sunrpc/svc_unix.c: Likewise.
58011 * sunrpc/svcauth_des.c: Likewise.
58012 * sunrpc/xcrypt.c: Likewise.
58013 * sunrpc/xdr.c: Likewise.
58014 * sunrpc/xdr_array.c: Likewise.
58015 * sunrpc/xdr_float.c: Likewise.
58016 * sunrpc/xdr_intXX_t.c: Likewise.
58017 * sunrpc/xdr_mem.c: Likewise.
58018 * sunrpc/xdr_rec.c: Likewise.
58019 * sunrpc/xdr_ref.c: Likewise.
58020 * sunrpc/xdr_sizeof.c: Likewise.
58021 * sunrpc/xdr_stdio.c: Likewise.
58022
58023 2012-05-10 Roland McGrath <roland@hack.frob.com>
58024
58025 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
58026 change. Update copyright years.
58027
58028 2012-05-10 Joseph Myers <joseph@codesourcery.com>
58029
58030 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
58031
58032 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
58033 Joseph Myers <joseph@codesourcery.com>
58034 Paul Pluzhnikov <ppluzhnikov@google.com>
58035
58036 [BZ #14012]
58037 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
58038 requiring rpcgen.
58039 [cross-compiling] (extra-libs): Likewise.
58040 [cross-compiling] (extra-libs-others): Likewise.
58041 [cross-compiling] (librpcsvc-routines): Likewise.
58042 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
58043 [cross-compiling] (omit-deps): Likewise.
58044 (sunrpc-CPPFLAGS): New variable.
58045 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
58046 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
58047 (cross-rpcgen-objs): New variable.
58048 (extra-objs): Append $(cross-rpcgen-objs).
58049 ($(cross-rpcgen-objs)): New rule.
58050 ($(objpfx)cross-rpcgen): Likewise.
58051 (rpcgen-cmd): Define to use $(built-program-file). Expand
58052 comment.
58053 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
58054 ($(objpfx)x%.stmp): Likewise.
58055 * sunrpc/proto.h [IS_IN_build] (_): Define.
58056 [IS_IN_build] (_libc_intl_domainname): Likewise.
58057
58058 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
58059
58060 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
58061 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
58062 and R_X86_64_TPOFF64.
58063
58064 2012-05-10 Joseph Myers <joseph@codesourcery.com>
58065
58066 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
58067 sysdeps/unix/sysv/syscalls.list.
58068 (stime): Likewise.
58069 (utime): Likewise.
58070 * sysdeps/unix/sysv/syscalls.list: Remove file.
58071
58072 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
58073
58074 [BZ #3440]
58075 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
58076 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
58077 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
58078 (__LC_IDENTIFICATION): Make these macros useful in #if
58079 expressions, as required by C99.
58080
58081 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
58082
58083 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
58084 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
58085 after this.
58086
58087 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
58088
58089 * stdlib/longlong.h: Updated from GCC.
58090
58091 2012-05-09 Andreas Jaeger <aj@suse.de>
58092
58093 * nscd/nscd.c (run_modes): Make named enum, reorder so that
58094 default is first entry.
58095 (run_mode): Set type.
58096 (main): Remove informal message about syslog.
58097 (options): Fix typo.
58098
58099 [BZ #14053]
58100 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
58101 to asm.
58102 (lrint): Likewise.
58103 (llrintf): Likewise.
58104 (llrint): Likewise.
58105 (rint): Likewise.
58106 (rintf): Likewise.
58107 (nearbyint): Likewise.
58108 (nearbyintf): Likewise.
58109
58110 2012-05-09 Andreas Jaeger <aj@suse.de>
58111 Pedro Alves <palves@redhat.com>
58112
58113 * nscd/nscd.c (run_mode): Use enum.
58114 (main): Cleanup coding style issue.
58115
58116 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
58117 Andreas Jaeger <aj@suse.de>
58118
58119 * nscd/nscd.c (go_background): Replaced with...
58120 (run_mode): ... this.
58121 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
58122 (options): Add -F --foreground.
58123 (main): Implement it.
58124 (parse_opt): Parse it.
58125
58126 2012-05-09 Andreas Jaeger <aj@suse.de>
58127
58128 [BZ #14083]
58129 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
58130 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
58131 -Wconversion warning.
58132 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
58133 Likewise.
58134
58135 2012-05-09 Joseph Myers <joseph@codesourcery.com>
58136
58137 * conform/data/locale.h-data (NULL): Use macro-constant. Require
58138 == 0.
58139 (LC_ALL): Use macro-int-constant.
58140 (LC_COLLATE): Likewise.
58141 (LC_CTYPE): Likewise.
58142 (LC_MESSAGES): Likewise.
58143 (LC_MONETARY): Likewise.
58144 (LC_NUMERIC): Likewise.
58145 (LC_TIME): Likewise.
58146 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
58147 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58148 [ISO || ISO99 || ISO11] (*_t): Do not allow.
58149 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
58150 Specify type.
58151 [C99-based standards] (float_t): Expect type.
58152 [C99-based standards] (double_t): Expect type.
58153 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
58154 type.
58155 [C99-based standards] (HUGE_VALL): Likewise.
58156 [C99-based standards] (INFINITY): Likewise.
58157 [C99-based standards] (NAN): Likewise.
58158 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
58159 [C99-based standards] (FP_NAN): Likewise.
58160 [C99-based standards] (FP_NORMAL): Likewise.
58161 [C99-based standards] (FP_SUBNORMAL): Likewise.
58162 [C99-based standards] (FP_ZERO): Likewise.
58163 [C99-based standards] (FP_FAST_FMA): Use
58164 optional-macro-int-constant. Specify type. Require == 1.
58165 [C99-based standards] (FP_FAST_FMAF): Likewise.
58166 [C99-based standards] (FP_FAST_FMAL): Likewise.
58167 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
58168 [C99-based standards] (FP_ILOGBNAN): Likewise.
58169 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
58170 Specify type.
58171 [C99-based standards] (MATH_ERREXCEPT): Likewise.
58172 [C99-based standards] (math_errhandling): Specify type.
58173 [ISO99 || ISO11] (signgam): Do not allow.
58174 [non-C99-based standards] (copysignf): Do not allow.
58175 [non-C99-based standards] (exp2f): Likewise.
58176 [non-C99-based standards] (log2f): Likewise.
58177 [non-C99-based standards] (modff): Allow.
58178 [non-C99-based standards] (erff): Do not allow.
58179 [non-C99-based standards] (erfcf): Likewise.
58180 [non-C99-based standards] (gammaf): Likewise.
58181 [non-C99-based standards] (hypotf): Likewise.
58182 [non-C99-based standards] (j0f): Likewise.
58183 [non-C99-based standards] (j1f): Likewise.
58184 [non-C99-based standards] (jnf): Likewise.
58185 [non-C99-based standards] (lgammaf): Likewise.
58186 [non-C99-based standards] (tgammaf): Likewise.
58187 [non-C99-based standards] (y0f): Likewise.
58188 [non-C99-based standards] (y1f): Likewise.
58189 [non-C99-based standards] (ynf): Likewise.
58190 [non-C99-based standards] (isnanf): Likewise.
58191 [non-C99-based standards] (acoshf): Likewise.
58192 [non-C99-based standards] (asinhf): Likewise.
58193 [non-C99-based standards] (atanhf): Likewise.
58194 [non-C99-based standards] (cbrtf): Likewise.
58195 [non-C99-based standards] (expm1f): Likewise.
58196 [non-C99-based standards] (ilogbf): Likewise.
58197 [non-C99-based standards] (log1pf): Likewise.
58198 [non-C99-based standards] (logbf): Likewise.
58199 [non-C99-based standards] (nextafterf): Likewise.
58200 [non-C99-based standards] (remainderf): Likewise.
58201 [non-C99-based standards] (rintf): Likewise.
58202 [non-C99-based standards] (scalbf): Likewise.
58203 [non-C99-based standards] (copysignl): Likewise.
58204 [non-C99-based standards] (exp2l): Likewise.
58205 [non-C99-based standards] (log2l): Likewise.
58206 [non-C99-based standards] (modfl): Allow.
58207 [non-C99-based standards] (erfl): Do not allow.
58208 [non-C99-based standards] (erfcl): Likewise.
58209 [non-C99-based standards] (gammal): Likewise.
58210 [non-C99-based standards] (hypotl): Likewise.
58211 [non-C99-based standards] (j0l): Likewise.
58212 [non-C99-based standards] (j1l): Likewise.
58213 [non-C99-based standards] (jnl): Likewise.
58214 [non-C99-based standards] (lgammal): Likewise.
58215 [non-C99-based standards] (tgammal): Likewise.
58216 [non-C99-based standards] (y0l): Likewise.
58217 [non-C99-based standards] (y1l): Likewise.
58218 [non-C99-based standards] (ynl): Likewise.
58219 [non-C99-based standards] (isnanl): Likewise.
58220 [non-C99-based standards] (acoshl): Likewise.
58221 [non-C99-based standards] (asinhl): Likewise.
58222 [non-C99-based standards] (atanhl): Likewise.
58223 [non-C99-based standards] (cbrtl): Likewise.
58224 [non-C99-based standards] (expm1l): Likewise.
58225 [non-C99-based standards] (ilogbl): Likewise.
58226 [non-C99-based standards] (log1pl): Likewise.
58227 [non-C99-based standards] (logbl): Likewise.
58228 [non-C99-based standards] (nextafterl): Likewise.
58229 [non-C99-based standards] (remainderl): Likewise.
58230 [non-C99-based standards] (rintl): Likewise.
58231 [non-C99-based standards] (scalbl): Likewise.
58232 [ISO || ISO99 || ISO11] (*_t): Do not allow.
58233 [non-C99-based standards] (FP_*): Do not allow.
58234 [C99-based standards] (FP_*): Change to
58235 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58236 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58237 allow.
58238 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
58239 (SIG_ERR): Likewise.
58240 [X/Open-based standards] (SIG_HOLD): Likewise.
58241 (SIG_IGN): Likewise.
58242 (SIGABRT): Use macro-int-constant. Specify type. Require
58243 positive value.
58244 (SIGFPE): Likewise.
58245 (SIGILL): Likewise.
58246 (SIGINT): Likewise.
58247 (SIGSEGV): Likewise.
58248 (SIGTER): Likewise.
58249 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
58250 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
58251 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
58252 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
58253 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
58254 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
58255 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
58256 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
58257 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
58258 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
58259 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
58260 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
58261 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
58262 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
58263 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
58264 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
58265 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
58266 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
58267 [X/Open-based standards] (SIGTRAP): Likewise.
58268 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
58269 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
58270 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
58271 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
58272 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58273 allow.
58274
58275 2012-05-08 Ian Wienand <ianw@vmware.com>
58276
58277 [BZ #14080]
58278 * time/tzset.c (__tzset_parse_tz): Update default rules for
58279 daylight time changes in the Energy Policy Act of 2005.
58280
58281 2012-05-09 Andreas Jaeger <aj@suse.de>
58282
58283 [BZ #13983]
58284 * elf/ldconfig.c (parse_conf): Change string to make clear that
58285 ldconfig only issued a warning if ld.so.conf does not exist.
58286
58287 2012-05-08 David S. Miller <davem@davemloft.net>
58288
58289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
58290 movxtod instead of popping the value on the stack.
58291
58292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58293
58294 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
58295
58296 * config.h.in: Add HAVE_ARM_PCS_VFP.
58297
58298 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
58299
58300 [BZ #13979]
58301 * include/features.h: Warn if user requests __FORTIFY_SOURCE
58302 checking but the checks are disabled for any reason.
58303
58304 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
58305
58306 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
58307 and ELF64_R_TYPE with ELFW(R_TYPE).
58308
58309 2012-05-08 Joseph Myers <joseph@codesourcery.com>
58310
58311 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
58312 (ulimit): Likewise.
58313
58314 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
58315 (settimeofday): Likewise.
58316
58317 2012-05-08 Mike Frysinger <vapier@gentoo.org>
58318
58319 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
58320 a struct th_u2 inside the union, and move tu_block/tu_code into
58321 a new th_u3 union of tu_block/tu_code inside of that. Move
58322 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
58323 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
58324 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
58325 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
58326 (th_stuff): Change to th_u1.tu_stuff.
58327 (th_data): Define.
58328 (th_msg): Change to th_u1.th_u2.tu_data.
58329
58330 2012-05-07 David S. Miller <davem@davemloft.net>
58331
58332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58333
58334 [BZ #14074]
58335 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
58336 (SETUP_PIC_REG): Use it.
58337 (SETUP_PIC_REG_LEAF): Use it.
58338
58339 2012-05-07 Joseph Myers <joseph@codesourcery.com>
58340
58341 [BZ #13885]
58342 [BZ #13923]
58343 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58344 USE_AS_EXPM1L.
58345 (EXPL_FINITE): Likewise.
58346 (FLDLOG): Likewise.
58347 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58348 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58349 e_expl.S.
58350 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58351 USE_AS_EXPM1L.
58352 (EXPL_FINITE): Likewise.
58353 (FLDLOG): Likewise.
58354 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58355 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58356 e_expl.S.
58357 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
58358 test of -max_value argument for long double.
58359 * sysdeps/i386/fpu/libm-test-ulps: Update.
58360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58361
58362 2012-05-06 David S. Miller <davem@davemloft.net>
58363
58364 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
58365 quad soft-float symbols whose references which are compiler
58366 generated.
58367 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58368
58369 2012-05-06 Joseph Myers <joseph@codesourcery.com>
58370
58371 [BZ #13884]
58372 [BZ #13914]
58373 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58374 USE_AS_EXP10L.
58375 (EXPL_FINITE): Likewise.
58376 (FLDLOG): Likewise.
58377 (c0): Likewise.
58378 (c1): Likewise.
58379 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
58380 Adjust comments for base varying.
58381 (__expl_finite): Change alias to EXPL_FINITE.
58382 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
58383 e_expl.S.
58384 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
58385 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
58386 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
58387 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
58388 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58389 USE_AS_EXP10L.
58390 (EXPL_FINITE): Likewise.
58391 (FLDLOG): Likewise.
58392 (c0): Likewise.
58393 (c1): Likewise.
58394 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
58395 Adjust comments for base varying.
58396 (__expl_finite): Change alias to EXPL_FINITE.
58397 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
58398 tests for bugs.
58399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58400
58401 [BZ #14064]
58402 * math/libm-test.inc (check_float_internal): Correct ulp
58403 calculation for subnormal expected results.
58404
58405 2012-05-06 Andreas Jaeger <aj@suse.de>
58406
58407 * Makeconfig (+math-flags): New, set to -frounding-math.
58408 (+cflags): Add +math-flags so that all of glibc gets compiled with
58409 it.
58410
58411 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
58412
58413 2012-05-05 Joseph Myers <joseph@codesourcery.com>
58414
58415 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
58416 Disable one test.
58417
58418 [BZ #13787]
58419 [BZ #13922]
58420 [BZ #14036]
58421 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
58422 (__ieee754_expl): Allow for and saturate large arguments.
58423 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
58424 (u_threshold): Likewise.
58425 (__exp): Call __ieee754_exp before checking for overflow and
58426 underflow.
58427 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
58428 (u_threshold): Likewise.
58429 (__expf): Call __ieee754_expf before checking for overflow and
58430 underflow.
58431 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
58432 (u_threshold): Likewise.
58433 (__expl): Call __ieee754_expl before checking for overflow and
58434 underflow.
58435 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
58436 (__ieee754_expl): Allow for and saturate large arguments.
58437 * math/libm-test.inc (exp_test): Add another test. Do not allow
58438 missing overflow exception on overflow.
58439 (expm1_test): Do not allow missing overflow exception on overflow.
58440
58441 * sysdeps/i386/fpu/e_expl.c: Move to ...
58442 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
58443 rather than using inline asm.
58444 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
58445 * sysdeps/x86_64/fpu/e_expl.S: Copy from
58446 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
58447
58448 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
58449 (nice): Likewise.
58450 (poll): Likewise.
58451 (signal): Likewise.
58452 (time): Likewise.
58453 (times): Likewise.
58454
58455 2012-05-04 Joseph Myers <joseph@codesourcery.com>
58456
58457 * sysdeps/unix/syscalls.list (adjtime): Add entry from
58458 sysdeps/unix/common/syscalls.list.
58459 (fchmod): Likewise.
58460 (fchown): Likewise.
58461 (ftruncate): Likewise.
58462 (getrusage): Likewise.
58463 (gettimeofday): Likewise.
58464 (setpgid): Likewise.
58465 (setregid): Likewise.
58466 (setreuid): Likewise.
58467 (sigaction): Likewise.
58468 (truncate): Likewise.
58469 (vhangup): Likewise.
58470 * sysdeps/unix/common/syscalls.list: Remove file.
58471 * sysdeps/unix/bsd/Implies: Don't include unix/common.
58472 * sysdeps/unix/sysv/linux/Implies: Likewise.
58473
58474 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
58475
58476 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
58477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
58478 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
58479 Moved to ...
58480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
58481 Here.
58482 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
58483 to ...
58484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
58485 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
58486 to ...
58487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
58488 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
58489 to ...
58490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
58491 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
58492 to ...
58493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
58494 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
58495 to ...
58496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
58497 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
58498 to ...
58499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
58500 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
58501 to ...
58502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
58503 Here.
58504 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
58505 to ...
58506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
58507 Here.
58508 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
58509 to ...
58510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
58511 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
58512 Moved to ...
58513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
58514 Here.
58515 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
58516 to ...
58517 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
58518
58519 2012-05-04 Joseph Myers <joseph@codesourcery.com>
58520
58521 * sysdeps/unix/common/bits/dirent.h: Remove file.
58522 * sysdeps/unix/common/bits/fcntl.h: Likewise.
58523
58524 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
58525 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
58526 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
58527 * sysdeps/unix/bsd/isatty.c: Likewise.
58528 * sysdeps/unix/bsd/tcdrain.c: Likewise.
58529 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
58530 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
58531
58532 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58533
58534 [BZ #13563]
58535 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
58536 long double comparison inaccuracies.
58537 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
58538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58539
58540 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
58541
58542 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
58543 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
58544
58545 2012-05-04 Joseph Myers <joseph@codesourcery.com>
58546
58547 [BZ #14049]
58548 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
58549 nonzero digits before rounding a hex value.
58550 * stdlib/tst-strtod.c (tests): Add another test.
58551
58552 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58553
58554 * sysdeps/s390/fpu/libm-test-ulps: Update.
58555
58556 2012-05-03 Andreas Jaeger <aj@suse.de>
58557
58558 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
58559 does not get optimized out.
58560 (malloc_opt_barrier): New.
58561
58562 2012-05-03 Andreas Jaeger <aj@suse.de>
58563 Roland McGrath <roland@hack.frob.com>
58564
58565 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
58566 intermediate file deletion.
58567 (generated): Add .symlist files.
58568
58569 2012-05-03 Joseph Myers <joseph@codesourcery.com>
58570
58571 [BZ #13775]
58572 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
58573 Redirect under this condition.
58574 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
58575 [__USE_GNU] (__dprintf_chk): Not under this condition.
58576 [__USE_GNU] (__vdprintf_chk): Likewise.
58577 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
58578 under this condition.
58579 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
58580 [__USE_XOPEN2K8] (dprintf): Define under this condition.
58581 [__USE_XOPEN2K8] (vdprintf): Likewise.
58582 [__USE_GNU] (__dprintf_chk): Not under this condition.
58583 [__USE_GNU] (__vdprintf_chk): Likewise.
58584 [__USE_GNU] (dprintf): Likewise.
58585 [__USE_GNU] (vdprintf): Likewise.
58586
58587 2012-05-03 Roland McGrath <roland@hack.frob.com>
58588
58589 * elf/Makefile (common-generated): Set this instead of generated for
58590 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
58591 $(all-built-dso)-derived lists.
58592
58593 2012-05-03 Andreas Jaeger <aj@suse.de>
58594
58595 * sysdeps/i386/fpu/libm-test-ulps: Update.
58596
58597 * FAQ: Removed.
58598 * FAQ.in: Likewise.
58599 * scripts/gen-FAQ.pl: Likewise.
58600 * manual/install.texi (Installation): Point to online location of
58601 FAQ.
58602 * Makefile (files-for-dist): Remove FAQ.
58603 (FAQ): Remove.
58604
58605 2012-05-02 Allan McRae <allan@archlinux.org>
58606
58607 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
58608 (LDFLAGS-reldepmod5.so): Likewise.
58609 (LDFLAGS-reldep6mod1.so): Likewise.
58610 (LDFLAGS-reldep6mod4.so): Likewise.
58611 (LDFLAGS-reldep8mod3.so): Likewise.
58612 (LDFLAGS-unload4mod1.so): Likewise.
58613 (LDFLAGS-unload4mod2.so): Likewise.
58614 (LDFLAGS-tst-initorder): Likewise.
58615 (LDFLAGS-tst-initordera2.so): Likewise.
58616 (LDFLAGS-tst-initordera3.so): Likewise.
58617 (LDFLAGS-tst-initordera4.so): Likewise.
58618 (LDFLAGS-tst-initorderb2.so): Likewise.
58619 (LDFLAGS-noload): Likewise.
58620 (LDFLAGS-next): Likewise.
58621 (LDFLAGS-order2mod1.so): Likewise.
58622 (LDFLAGS-order2mod2.so): Likewise.
58623 (LDFLAGS-tst-initorder2): Likewise.
58624 (LDFLAGS-tst-initorder2a.so): Likewise.
58625 (LDFLAGS-tst-initorder2b.so): Likewise.
58626 (LDFLAGS-tst-initorder2c.so): Likewise.
58627 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
58628
58629 2012-05-02 David S. Miller <davem@davemloft.net>
58630
58631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58632
58633 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
58634
58635 [BZ #14055]
58636 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
58637
58638 2012-05-02 Andreas Jaeger <aj@suse.de>
58639
58640 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
58641 since we manipulate rounding mode.
58642 (CPPFLAGS-test-idouble.c): Likewise.
58643 (CPPFLAGS-test-ifloat.c): Likewise.
58644 (CFLAGS-test-ldouble.c): Likewise.
58645 (CFLAGS-test-double.c): Likewise.
58646 (CFLAGS-test-float.c): Likewise.
58647 (CFLAGS-test-misc.c): Likewise.
58648 (CFLAGS-test-test-fenv.c): Likewise.
58649
58650 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58651
58652 [BZ #2550]
58653 [BZ #2570]
58654 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
58655 comparisons to determine direction to adjust input.
58656
58657 2012-05-01 Roland McGrath <roland@hack.frob.com>
58658
58659 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
58660 output to the target.
58661
58662 * scripts/localplt.awk: New file.
58663 * elf/Makefile ($(objpfx)check-localplt): Target removed.
58664 (check-localplt-CFLAGS): Variable removed.
58665 ($(all-built-dso:=.jmprel)): New static pattern rule.
58666 (generated): Add those targets.
58667 (localplt-built-dso): New variable.
58668 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
58669
58670 * elf/check-localplt.c: File removed.
58671
58672 * scripts/check-execstack.awk: New file.
58673 * elf/Makefile ($(objpfx)check-execstack): Target removed.
58674 (check-execstack-CFLAGS): Variable removed.
58675 ($(objpfx)check-execstack.h): Target removed.
58676 ($(objpfx)execstack-default): New target.
58677 (generated): Add that instead of check-execstack.h.
58678 ($(all-built-dso:=.phdr)): New static pattern rule.
58679 (generated): Add those targets.
58680 * elf/check-execstack.c: File removed.
58681
58682 * scripts/check-textrel.awk: New file.
58683 * elf/Makefile ($(objpfx)check-textrel): Target removed.
58684 (check-textrel-CFLAGS): Variable removed.
58685 (all-built-dso): Use := to define.o
58686 ($(all-built-dso:=.dyn)): New static pattern rule.
58687 (generated): Add those targets.
58688 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
58689 * config.make.in (READELF): New substituted variable.
58690 * elf/check-textrel.c: File removed.
58691
58692 2012-05-01 Joseph Myers <joseph@codesourcery.com>
58693
58694 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58695 allow.
58696 * conform/data/ctype.h-data [C99-based standards] (isblank):
58697 Expect function.
58698 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
58699 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
58700 [ISO || ISO99 || ISO11] (*_t): Do not allow.
58701 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
58702 Specify type. Require positive value.
58703 (EILSEQ): Likewise.
58704 (ERANGE): Likewise.
58705 [ISO || POSIX] (EILSEQ): Do not expect.
58706 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
58707 Specify type. Require positive value.
58708 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
58709 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
58710 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
58711 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
58712 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
58713 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
58714 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
58715 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
58716 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
58717 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
58718 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
58719 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
58720 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
58721 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
58722 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
58723 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
58724 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
58725 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
58726 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
58727 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
58728 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
58729 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
58730 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
58731 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
58732 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
58733 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
58734 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
58735 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
58736 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
58737 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
58738 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
58739 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
58740 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
58741 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
58742 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
58743 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
58744 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
58745 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
58746 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
58747 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
58748 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
58749 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
58750 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
58751 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
58752 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
58753 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
58754 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
58755 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
58756 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
58757 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
58758 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
58759 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
58760 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
58761 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
58762 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
58763 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
58764 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
58765 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
58766 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
58767 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
58768 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
58769 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
58770 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
58771 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
58772 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
58773 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
58774 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
58775 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
58776 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
58777 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
58778 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
58779 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
58780 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
58781 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
58782 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
58783 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
58784 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
58785 Require >= 2.
58786 (FLT_ROUNDS): Expect as macro, not constant.
58787 (FLT_MANT_DIG): Use macro-int-constant.
58788 (DBL_MANT_DIG): Likewise.
58789 (LDBL_MANT_DIG): Likewise.
58790 (FLT_DIG): Likewise.
58791 (DBL_DIG): Likewise.
58792 (LDBL_DIG): Likewise.
58793 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
58794 (DBL_MIN_EXP): Likewise.
58795 (LDBL_MIN_EXP): Likewise.
58796 (FLT_MAX_EXP): Use macro-int-constant.
58797 (DBL_MAX_EXP): Likewise.
58798 (LDBL_MAX_EXP): Likewise.
58799 (FLT_MAX_10_EXP): Likewise.
58800 (DBL_MAX_10_EXP): Likewise.
58801 (LDBL_MAX_10_EXP): Likewise.
58802 (FLT_MAX): Use macro-constant.
58803 (DBL_MAX): Likewise.
58804 (LDBL_MAX): Likewise.
58805 (FLT_EPSILON): Use macro-constant. Give upper bound.
58806 (DBL_EPSILON): Likewise.
58807 (LDBL_EPSILON): Likewise.
58808 (FLT_MIN): Likewise.
58809 (DBL_MIN): Likewise.
58810 (LDBL_MIN): Likewise.
58811 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
58812 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
58813 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
58814 [ISO11] (FLT_HAS_SUBNORM): Likewise.
58815 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
58816 [ISO11] (DBL_DECIMAL_DIG): Likewise.
58817 [ISO11] (FLT_DECIMAL_DIG): Likewise.
58818 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
58819 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
58820 [ISO11] (FLT_TRUE_MIN): Likewise.
58821 [ISO11] (LDBL_TRUE_MIN): Likewise.
58822 [ISO || ISO99 || ISO11] (*_t): Do not allow.
58823 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
58824 (SCHAR_MIN): Use macro-int-constant. Specify type.
58825 (SCHAR_MAX): Likewise.
58826 (UCHAR_MAX): Likewise.
58827 (CHAR_MIN): Likewise.
58828 (CHAR_MAX): Likewise.
58829 (MB_LEN_MAX): Use macro-int-constant.
58830 (SHRT_MIN): Use macro-int-constant. Specify type.
58831 (SHRT_MAX): Likewise.
58832 (USHRT_MAX): Likewise.
58833 (INT_MAX): Likewise.
58834 (INT_MIN): Use macro-int-constant. Specify type. Make upper
58835 bound negative.
58836 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
58837 bound with "U".
58838 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
58839 bound with "L".
58840 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
58841 bound negative. Suffix upper bound with "L".
58842 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
58843 bound with "UL".
58844 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
58845 Specify type.
58846 [C99-based standards] (LLONG_MAX): Likewise.
58847 [C99-based standards] (ULLONG_MAX): Likewise.
58848 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
58849 == 0.
58850 [ISO11] (max_align_t): Require type.
58851 [ISO || ISO99 || ISO11] (*_t): Do not allow.
58852
58853 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
58854 from $CFLAGS, without defining away __attribute__ calls.
58855 (checknamespace): Use $CFLAGS_namespace.
58856
58857 * conform/conformtest.pl (@keywords): Only include C99 keywords
58858 for standards based on C99 or C11.
58859
58860 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
58861 Disable tests.
58862 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
58863 UNIX98]: Likewise.
58864
58865 * conform/conformtest.pl: Handle "macro-int-constant" and test for
58866 usability of symbols in #if.
58867
58868 * conform/conformtest.pl: If macro or constant types start
58869 "promoted:", expect the symbol to be of the following type
58870 promoted by the integer promotions.
58871
58872 * conform/conformtest.pl: Parse all "constant" and "macro" lines
58873 in one place. Also handle "macro-constant".
58874
58875 * conform/conformtest.pl: Only accept expected macro values with
58876 "==". Parse all "macro" lines in one place.
58877 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
58878
58879 * conform/conformtest.pl: Handle braced types on "constant" lines
58880 instead of handling "typed-constant".
58881 * conform/data/signal.h-data: Use "constant" instead of
58882 "typed-constant".
58883
58884 * conform/conformtest.pl: Handle "optional-" at start of lines in
58885 one place rather than duplicating several cases. Handle each
58886 format of "macro" line with initial "optional-".
58887
58888 * conform/conformtest.pl: Only accept expected constant or
58889 optional-constant values with "==". Parse all "constant" lines in
58890 one place. Parse all "optional-constant" lines in one place.
58891 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
58892 * conform/data/fmtmsg.h-data: Likewise.
58893 * conform/data/netinet/in.h-data: Likewise.
58894 * conform/data/tar.h-data: Likewise.
58895 * conform/data/limits.h-data: Use "==" form on "constant" and
58896 "optional-constant" lines.
58897
58898 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
58899 Use -std=c99 for XOPEN2K.
58900 (@knownproblems): Remove.
58901 (newtoken): Don't check %isknown.
58902
58903 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
58904 Do not expect macro.
58905 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
58906 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
58907 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
58908 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
58909 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
58910 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
58911 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
58912 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
58913 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
58914 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
58915 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
58916 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
58917 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
58918 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
58919 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
58920 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
58921 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
58922 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
58923 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
58924 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
58925 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
58926 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
58927 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
58928 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
58929 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
58930 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
58931 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
58932 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
58933 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
58934 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
58935 [XPG3] (acosh): Likewise.
58936 [XPG3] (asinh): Likewise.
58937 [XPG3] (atanh): Likewise.
58938 [XPG3] (cbrt): Likewise.
58939 [XPG3] (expm1): Likewise.
58940 [XPG3] (ilogb): Likewise.
58941 [XPG3] (log1p): Likewise.
58942 [XPG3] (logb): Likewise.
58943 [XPG3] (nextafter): Likewise.
58944 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
58945 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
58946 [XPG3] (remainder): Likewise.
58947 [XPG3] (rint): Likewise.
58948 [XPG3 || XPG4 || UNIX98] (round): Likewise.
58949 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
58950 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
58951 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
58952 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
58953 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
58954 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
58955 [UNIX98 || XOPEN2K] (scalb): Expect.
58956 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
58957 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
58958 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
58959 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
58960 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
58961 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
58962 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
58963 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
58964 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
58965 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
58966 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
58967 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
58968 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
58969 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
58970 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
58971 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
58972 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
58973 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
58974 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
58975 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
58976 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
58977 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
58978 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
58979 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
58980 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
58981 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
58982 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
58983 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
58984 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
58985 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
58986 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
58987 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
58988 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
58989 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
58990 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
58991 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
58992 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
58993 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
58994 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
58995 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
58996 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
58997 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
58998 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
58999 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
59000 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
59001 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
59002 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
59003 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
59004 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
59005 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
59006 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
59007 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
59008 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
59009 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
59010 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
59011 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
59012 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
59013 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
59014 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
59015 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
59016 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
59017 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
59018 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
59019 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
59020 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
59021 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
59022 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
59023 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
59024 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
59025 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
59026 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
59027 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
59028 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
59029 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
59030 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
59031 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
59032 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
59033 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
59034 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
59035 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
59036 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
59037 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
59038 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
59039 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
59040 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
59041 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
59042 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
59043 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
59044 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
59045 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
59046 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
59047 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
59048 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
59049 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
59050 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
59051 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
59052 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
59053 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
59054 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
59055 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
59056 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
59057 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
59058 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
59059 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
59060 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
59061 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
59062 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
59063 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
59064 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
59065 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
59066 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
59067 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
59068 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
59069 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
59070 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
59071 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
59072 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
59073 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
59074 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
59075 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
59076 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
59077 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
59078 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
59079 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
59080 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
59081 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
59082 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
59083 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
59084 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
59085 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
59086 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
59087 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
59088 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
59089 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
59090 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
59091 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
59092 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
59093
59094 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
59095 _XOPEN_SOURCE_EXTENDED for XPG4.
59096
59097 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
59098
59099 * Makeconfig (localtime): Remove variable.
59100 (inst_localtime-file): Likewise.
59101
59102 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
59103
59104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
59105 Update.
59106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59107 Update.
59108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
59109 Update.
59110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
59111 Update.
59112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
59113 Update.
59114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
59115 Update.
59116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59117 Update.
59118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
59119 Update.
59120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59121 Update.
59122
59123 2012-05-01 Joseph Myers <joseph@codesourcery.com>
59124
59125 [BZ #2550]
59126 [BZ #2570]
59127 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
59128 comparisons to determine direction to adjust input.
59129 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
59130 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
59131 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
59132 Likewise.
59133 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
59134 Likewise.
59135 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
59136 Likewise.
59137 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
59138 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
59139 Likewise.
59140 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
59141 Likewise.
59142 * math/libm-test.inc (nexttoward_test): Add more tests.
59143
59144 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
59145
59146 [BZ #14040]
59147 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
59148 in version GLIBC_2.1, not GLIBC_2.0.
59149 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
59150 Likewise.
59151
59152 2012-04-30 Joseph Myers <joseph@codesourcery.com>
59153
59154 [BZ #13942]
59155 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
59156 (1 - x) * (1 + x).
59157 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59158 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
59159 * math/libm-test.inc (acos_test): Add more tests.
59160 (asin_test): Likewise.
59161 * sysdeps/i386/fpu/libm-test-ulps: Update.
59162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59163
59164 [BZ #14034]
59165 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
59166 of square root.
59167 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
59168 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59169 * math/libm-test.inc (acos_test_tonearest): New function.
59170 (acos_test_towardzero): Likewise.
59171 (acos_test_downward): Likewise.
59172 (acos_test_upward): Likewise.
59173 (asin_test_tonearest): Likewise.
59174 (asin_test_towardzero): Likewise.
59175 (asin_test_downward): Likewise.
59176 (asin_test_upward): Likewise.
59177 (main): Call the new functions.
59178 * sysdeps/i386/fpu/libm-test-ulps: Update.
59179 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59180
59181 [BZ #13884]
59182 [BZ #13924]
59183 * math/e_exp10.c: Include <float.h>.
59184 (__ieee754_exp10): Handle underflow here rather than multiplying
59185 large negative argument by M_LN10.
59186 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
59187 of __ieee754_expf.
59188 * math/e_exp10l.c: Include <float.h>.
59189 (__ieee754_exp10l): Handle underflow here rather than multiplying
59190 large negative argument by M_LN10l.
59191 * math/libm-test.inc (exp10_test): Add another test. Do not allow
59192 spurious overflow exception on underflow.
59193
59194 2012-04-29 Marek Polacek <polacek@redhat.com>
59195
59196 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
59197 (__fortify_function): New macro.
59198 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
59199 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
59200 __extern_always_inline.
59201 * libio/bits/stdio2.h: Likewise.
59202 * libio/bits/stdio.h: Likewise.
59203 * string/string.h: Likewise.
59204 * string/bits/string3.h: Likewise.
59205 * include/stdio.h: Likewise.
59206 * stdlib/bits/stdlib.h: Likewise.
59207 * stdlib/stdlib.h: Likewise.
59208 * rt/bits/mqueue2.h: Likewise.
59209 * rt/mqueue.h: Likewise.
59210 * posix/bits/unistd.h: Likewise.
59211 * posix/unistd.h: Likewise.
59212 * io/bits/poll2.h: Likewise.
59213 * io/bits/fcntl2.h: Likewise.
59214 * io/fcntl.h: Likewise.
59215 * io/sys/poll.h: Likewise.
59216 * misc/bits/syslog.h: Likewise.
59217 * misc/bits/syslog-ldbl.h: Likewise.
59218 * misc/sys/syslog.h: Likewise.
59219 * socket/bits/socket2.h: Likewise.
59220 * socket/sys/socket.h: Likewise.
59221 * debug/tst-chk1.c: Likewise.
59222 * wcsmbs/bits/wchar2.h: Likewise.
59223 * wcsmbs/bits/wchar-ldbl.h: Likewise.
59224 * wcsmbs/wchar.h: Likewise.
59225
59226 2012-04-29 Andreas Jaeger <aj@suse.de>
59227
59228 * Makerules (tests): Remove enable-check-abi protection.
59229 (check-abi-warn): Remove.
59230 (check-abi-%): Remove check-abi-warn usage.
59231
59232 * configure.in: Remove check-abi configure option.
59233 * configure: Regenerated.
59234 * config.make.in (enable-check-abi): Remove.
59235
59236 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
59237
59238 [BZ #14033]
59239 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
59240 double functions to double *_finite functions.
59241
59242 [BZ #13941]
59243 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
59244 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
59245 LDBL_MIN_EXP.
59246 * stdio-common/Makefile (tests): Add tst-sprintf3.
59247 * stdio-common/tst-sprintf3.c: New file.
59248
59249 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
59250 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
59251
59252 2012-04-28 Joseph Myers <joseph@codesourcery.com>
59253
59254 * conform/conformtest.pl: Remove duplicate typed-constant
59255 handling.
59256
59257 2012-04-28 David S. Miller <davem@davemloft.net>
59258
59259 * Makerules (%.abilist): Add vpath on sysdep_dirs.
59260 (check-abi-%): Remove AWK script prerequisite and explicit
59261 abilist directory.
59262 (check-abi): Rewrite to just diff the symlist with the abilist.
59263 (config-tls, config-abi-config): Delete, no longer used.
59264 (update-abi-%): Remove AWK script and explicit abilist directory.
59265 (update-abi): Rewrite to simply compare and conditionally copy the
59266 symlist and the sysdep abilist file. Remove update-abi-config
59267 checks.
59268 * abilist/ld.abilist: Remove.
59269 * abilist/libBrokenLocale.abilist: Remove.
59270 * abilist/libanl.abilist: Remove.
59271 * abilist/libcrypt.abilist: Remove.
59272 * abilist/libdl.abilist: Remove.
59273 * abilist/librt.abilist: Remove.
59274 * abilist/libthread_db.abilist: Remove.
59275 * abilist/libutil.abilist: Remove.
59276 * scripts/extract-abilist.awk: Remove.
59277 * scripts/merge-abilist.awk: Remove.
59278 * sysdeps/generic/libcidn.abilist: New file.
59279 * sysdeps/generic/libnss_compat.abilist: New file.
59280 * sysdeps/generic/libnss_db.abilist: New file.
59281 * sysdeps/generic/libnss_dns.abilist: New file.
59282 * sysdeps/generic/libnss_files.abilist: New file.
59283 * sysdeps/generic/libnss_hesiod.abilist: New file.
59284 * sysdeps/generic/libnss_nis.abilist: New file.
59285 * sysdeps/generic/libnss_nisplus.abilist: New file.
59286 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
59287 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
59288 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
59289 file.
59290 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
59291 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
59292 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
59293 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
59294 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
59295 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
59296 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
59297 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
59298 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
59299 file.
59300 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
59301 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
59302 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
59303 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
59304 file.
59305 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
59306 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
59307 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
59308 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
59309 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
59310 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
59311 file.
59312 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
59313 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
59314 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
59315 file.
59316 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
59317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
59318 New file.
59319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
59320 New file.
59321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
59322 New file.
59323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
59324 New file.
59325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
59326 New file.
59327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
59328 New file.
59329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
59330 New file.
59331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
59332 New file.
59333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
59334 New file.
59335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
59336 New file.
59337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
59338 New file.
59339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
59340 New file.
59341 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
59342 New file.
59343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
59344 file.
59345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
59346 New file.
59347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
59348 New file.
59349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
59350 file.
59351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
59352 New file.
59353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
59354 New file.
59355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
59356 file.
59357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
59358 New file.
59359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59360 New file.
59361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
59362 New file.
59363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
59364 New file.
59365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
59366 New file.
59367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
59368 New file.
59369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
59370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
59371 file.
59372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
59373 New file.
59374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
59375 file.
59376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
59377 file.
59378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
59379 file.
59380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
59381 file.
59382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
59383 file.
59384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59385 New file.
59386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
59387 file.
59388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
59389 file.
59390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
59391 New file.
59392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
59393 file.
59394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
59395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
59396 file.
59397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
59398 New file.
59399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
59400 file.
59401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
59402 file.
59403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
59404 file.
59405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
59406 file.
59407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
59408 file.
59409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59410 New file.
59411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
59412 file.
59413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
59414 file.
59415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
59416 New file.
59417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
59418 file.
59419 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59420 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
59421 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
59422 file.
59423 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
59424 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
59425 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
59426 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
59427 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
59428 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
59429 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
59430 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
59431 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
59432 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
59433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
59434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
59435 file.
59436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
59437 New file.
59438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
59439 file.
59440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
59441 file.
59442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
59443 file.
59444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
59445 file.
59446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
59447 file.
59448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
59449 New file.
59450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
59451 New file.
59452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
59453 file.
59454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
59455 New file.
59456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
59457 file.
59458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
59459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
59460 file.
59461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
59462 New file.
59463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
59464 file.
59465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
59466 file.
59467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
59468 file.
59469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
59470 file.
59471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
59472 file.
59473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
59474 New file.
59475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
59476 New file.
59477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
59478 file.
59479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
59480 New file.
59481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
59482 file.
59483
59484 2012-04-28 Joseph Myers <joseph@codesourcery.com>
59485
59486 * conform/conformtest.pl: Fix typo in handling typed-constant from
59487 allow-header.
59488
59489 2012-04-27 Joseph Myers <joseph@codesourcery.com>
59490
59491 * README: Cut down references to pre-2.6 Linux kernels and
59492 Linuxthreads. Update lists of configurations in libc and ports
59493 and sort alphabetically. Say "or newer" with Linux kernel version
59494 requirements.
59495
59496 * config.h.in [IS_IN_build]: Allow compiling without optimization.
59497
59498 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
59499
59500 [BZ #887]
59501 * math/libm-test.inc (logb_test_downward): New test to expose
59502 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
59503 rounding mode.
59504
59505 2012-04-27 Joseph Myers <joseph@codesourcery.com>
59506
59507 [BZ #14027]
59508 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
59509 to be done.
59510 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
59511 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
59512
59513 2012-04-26 Joseph Myers <joseph@codesourcery.com>
59514
59515 * sysdeps/unix/i386/brk.S: Remove file.
59516 * sysdeps/unix/i386/dl-brk.S: Likewise.
59517 * sysdeps/unix/i386/pipe.S: Likewise.
59518 * sysdeps/unix/i386/sigreturn.S: Likewise.
59519 * sysdeps/unix/i386/syscall.S: Likewise.
59520 * sysdeps/unix/i386/vfork.S: Likewise.
59521 * sysdeps/unix/i386/wait.S: Likewise.
59522
59523 * sysdeps/unix/common/tcsendbrk.c: Move to ...
59524 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
59525
59526 * configure.in (arm*-none*): Do not allow without
59527 --enable-hacker-mode.
59528 (netbsd*): Remove case setting base_os.
59529 (386bsd*): Likewise.
59530 (freebsd*): Likewise.
59531 (bsdi*): Likewise.
59532 (osf*): Likewise.
59533 (sunos*): Likewise.
59534 (ultrix*): Likewise.
59535 (newsos*): Likewise.
59536 (dynix*): Likewise.
59537 (*bsd*): Likewise.
59538 (sysv*): Likewise.
59539 (isc*): Likewise.
59540 (esix*): Likewise.
59541 (sco*): Likewise.
59542 (minix*): Likewise.
59543 (irix4*): Likewise.
59544 (irix6*): Likewise.
59545 (solaris[2-9]*): Likewise.
59546 (none): Likewise.
59547 * configure: Regenerated.
59548
59549 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59550
59551 [BZ #11521]
59552 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
59553 overflow or cancellation in calculating denominator.
59554 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
59555 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
59556 down expression to avoid unexpected rounding in newer GCCs.
59557 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
59558
59559 2012-04-26 David S. Miller <davem@davemloft.net>
59560
59561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
59562 long-double compat symbols.
59563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
59565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
59566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
59567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
59568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
59569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
59570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
59571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
59572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
59573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
59574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
59575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
59576
59577 2012-04-25 David S. Miller <davem@davemloft.net>
59578
59579 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
59580 HWCAP_* values only after the memory barriers have been defined.
59581 (atomic_full_barrier): Define.
59582 (atomic_read_barrier): Define.
59583 (atomic_write_barrier): Define.
59584
59585 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
59586
59587 * shlib-versions: Add libgcc_s version information.
59588 * sysdeps/generic/libgcc_s.h: Remove.
59589 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
59590 libgcc_s.h.
59591 * sysdeps/gnu/unwind-resume.c: Likewise.
59592 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
59593
59594 2012-04-25 David S. Miller <davem@davemloft.net>
59595
59596 * sysdeps/unix/sparc/brk.S: Delete.
59597 * sysdeps/unix/sparc/dl-brk.S: Delete.
59598 * sysdeps/unix/sparc/pipe.S: Delete.
59599 * sysdeps/unix/sparc/sysdep.S: Delete.
59600 * sysdeps/unix/sparc/sysdep.h: Delete.
59601 * sysdeps/unix/sparc/vfork.S: Delete.
59602 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
59603 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
59604 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
59605 (ret_ERRVAL, r0, r1, MOVE): Define.
59606 (JUMPTARGET): Remove.
59607 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
59608 sysdeps/unix/sparc/sysdep.h
59609 (ENTRY, END): Remove.
59610 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59611
59612 2012-04-25 Joseph Myers <joseph@codesourcery.com>
59613
59614 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
59615 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
59616 -DIS_IN_build.
59617
59618 * timezone/README: Update upstream location and email address for
59619 tzcode and tzdata.
59620 * timezone/zdump.c: Update from tzcode 2012b.
59621 * timezone/zic.c: Likewise.
59622
59623 * configure.in (libc_cv_as_needed): Remove test.
59624 * configure: Regenerated.
59625 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
59626 conditional definition.
59627 [$(have-as-needed) != yes] (no-as-needed): Likewise.
59628 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
59629 * config.make.in (have-as-needed): Remove variable.
59630
59631 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
59632 Paul Pluzhnikov <ppluzhnikov@google.com>
59633
59634 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
59635 strings correctly.
59636
59637 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
59638
59639 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
59640 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
59641 * sysdeps/sh/strlen.S: Likewise.
59642
59643 2012-04-24 Joseph Myers <joseph@codesourcery.com>
59644
59645 * sysdeps/unix/fork.S: Remove file.
59646 * sysdeps/unix/i386/fork.S: Likewise.
59647 * sysdeps/unix/sparc/fork.S: Likewise.
59648
59649 * sysdeps/unix/system.c: Remove file.
59650 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
59651
59652 * sysdeps/unix/getegid.S: Remove file.
59653 * sysdeps/unix/geteuid.S: Likewise.
59654
59655 2012-04-24 Roland McGrath <roland@hack.frob.com>
59656
59657 * scripts/check-localplt.awk: New file.
59658 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
59659 of diff.
59660 * scripts/data/localplt-generic.data: Add a comment.
59661
59662 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
59663 NODE when __dir_mkfile failed.
59664 * sysdeps/mach/hurd/symlinkat.c: Likewise.
59665 Reported by Ludovic Courtès <ludo@gnu.org>.
59666
59667 2012-04-24 Andreas Jaeger <aj@suse.de>
59668
59669 * Makerules (common-clean): Also remove gen-as-const-headers
59670 files.
59671
59672 2012-04-24 Joseph Myers <joseph@codesourcery.com>
59673
59674 * Makerules (native-compile): Do not change working directory for
59675 build. Use $(OUTPUT_OPTION) in command.
59676 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
59677
59678 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59679
59680 [BZ #13886]
59681 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
59682 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
59683 * math/libm-test.inc (floor_test): Add more tests.
59684 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
59685
59686 2012-04-24 Joseph Myers <joseph@codesourcery.com>
59687
59688 * sysdeps/unix/getdents.c: Remove file.
59689 * sysdeps/unix/sysv/getdents.c: Likewise.
59690 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
59691
59692 * sysdeps/unix/syscalls.list (madvise): Add syscall from
59693 sysdeps/unix/mman/syscalls.list.
59694 (mmap): Likewise.
59695 (mprotect): Likewise.
59696 (msync): Likewise.
59697 (munmap): Likewise.
59698 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
59699 * sysdeps/unix/mman/syscalls.list: Remove.
59700 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
59701
59702 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
59703 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
59704 * configure: Regenerated.
59705 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
59706 $(libgcc_s_suffix).
59707 * config.make.in (libgcc_s_suffix): Remove variable.
59708
59709 2012-04-23 Joseph Myers <joseph@codesourcery.com>
59710
59711 * sysdeps/unix/sysv/gethostname.c: Move to ...
59712 * sysdeps/posix/gethostname.c: ... here.
59713
59714 * sysdeps/unix/execve.S: Remove file.
59715
59716 * sysdeps/unix/_exit.S: Remove file.
59717
59718 2012-04-23 Andreas Jaeger <aj@suse.de>
59719
59720 [BZ #13739]
59721 * manual/Makefile: Remove make dist support, there's no
59722 need for a stand-alone documentation tar ball.
59723 (TEXI2DVI): Define always, it's not in Makeconfig.
59724 (dist): Removed.
59725 (tar-it): Removed.
59726 (edition): Removed.
59727 (glibc-doc-$(edition).tar): Removed
59728 (%.Z): Removed.
59729 (%.gz): Removed.
59730 (%.uu): Removed.
59731 (ETAGS): Remove, it's in Makeconfig.
59732 (move-if-change): Remove, it's in Makeconfig.
59733
59734 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
59735
59736 [BZ #13970]
59737 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
59738 (strtod, strtof, strtold, strtol, strtoul, strtoq)
59739 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
59740 (strtod_l, strtof_l, strtold_l): Remove __wur.
59741 It is not necessarily an error to ignore strtol's return value.
59742 One can reliably look at the stored endptr to decide whether
59743 the number had valid syntax.
59744
59745 2012-04-21 Andreas Jaeger <aj@suse.de>
59746
59747 [BZ #13739]
59748 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
59749
59750 2012-04-21 Joseph Myers <joseph@codesourcery.com>
59751
59752 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
59753 * sysdeps/unix/sysv/Versions: Remove file.
59754
59755 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
59756
59757 [BZ #13927]
59758 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59759
59760 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
59761
59762 [BZ #7064]
59763 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
59764 version from __vm86.
59765
59766 2012-04-20 Joseph Myers <joseph@codesourcery.com>
59767
59768 * sysdeps/unix/common/lxstat.c: Remove file.
59769 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
59770
59771 * sysdeps/unix/sysv/Makefile: Remove file.
59772
59773 * sysdeps/unix/sysv/direct.h: Remove file.
59774
59775 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
59776 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
59777 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
59778 * sysdeps/unix/sysv/bits/signum.h: Likewise.
59779 * sysdeps/unix/sysv/bits/stat.h: Likewise.
59780 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
59781 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
59782
59783 * sysdeps/unix/sysv/setrlimit.c: Remove file.
59784
59785 * sysdeps/unix/xmknod.c: Remove file.
59786 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
59787
59788 * sysdeps/unix/sysv/settimeofday.c: Remove file.
59789
59790 * sysdeps/unix/sysv/i386/time.S: Remove file.
59791
59792 * sysdeps/unix/fxstat.c: Remove file.
59793 * sysdeps/unix/xstat.c: Likewise.
59794 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
59795
59796 * sysdeps/unix/sysv/sigaction.c: Remove file.
59797
59798 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
59799 (sysdep_headers): Remove variable.
59800 [termio.h not in sysdep_headers] (generated): Likewise.
59801 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
59802 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
59803 * sysdeps/unix/sysv/tcdrain.c: Likewise.
59804 * sysdeps/unix/sysv/tcflow.c: Likewise.
59805 * sysdeps/unix/sysv/tcflush.c: Likewise.
59806 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
59807 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
59808 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
59809 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
59810 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
59811
59812 * sysdeps/unix/siglist.c: Remove file.
59813
59814 * sysdeps/unix/getppid.S: Remove file.
59815
59816 * sysdeps/unix/mkdir.c: Remove file.
59817 * sysdeps/unix/rmdir.c: Likewise.
59818
59819 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
59820
59821 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
59822 ERR_MAX value.
59823 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
59824 errlist-compat value.
59825
59826 2012-04-18 David S. Miller <davem@davemloft.net>
59827
59828 * sysdeps/generic/memcopy.h (reg_char): Delete.
59829 * debug/strcat_chk.c: Use char, not reg_char.
59830 * debug/strcpy_chk.c: Likewise.
59831 * debug/strncat_chk.c: Likewise.
59832 * debug/strncpy_chk.c: Likewise.
59833 * string/memchr.c: Likewise.
59834 * string/memrchr.c: Likewise.
59835 * string/rawmemchr.c: Likewise.
59836 * string/strcat.c: Likewise.
59837 * string/strchr.c: Likewise.
59838 * string/strchrnul.c: Likewise.
59839 * string/strcmp.c: Likewise.
59840 * string/strcpy.c: Likewise.
59841 * string/strncat.c: Likewise.
59842 * string/strncmp.c: Likewise.
59843 * string/strncpy.c: Likewise.
59844
59845 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
59846
59847 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
59848 __builtin_memcopy is called when src and dest ranges are known to not
59849 overlap.
59850
59851 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
59852
59853 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
59854 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
59855 fwd_align_merge macro call.
59856 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
59857 bwd_align_merge macro call.
59858 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59859
59860 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
59861
59862 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
59863 bwd_align_merge macros.
59864 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
59865 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
59866 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59867
59868 2012-04-18 David S. Miller <davem@davemloft.net>
59869
59870 * sysdeps/sparc/sparc64/memcopy.h: Delete.
59871
59872 2012-04-18 Andreas Jaeger <aj@suse.de>
59873
59874 [BZ# 6794]
59875 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
59876 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
59877 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59878
59879 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
59880 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
59881 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59882
59883 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
59884 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
59885 Adjust for changed ldbl-128 files.
59886
59887 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
59888 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
59889 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59890
59891 2012-04-17 David S. Miller <davem@davemloft.net>
59892
59893 * sysdeps/sparc/sparc32/memcopy.h: Delete.
59894
59895 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
59896
59897 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
59898 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
59899 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
59900 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
59901 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
59902 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
59903
59904 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59905
59906 [BZ #6794]
59907 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
59908 * math/libm-test.inc: Add ilogb errno and exception tests.
59909 * math/w_ilogb.c: New file: ilogb wrapper.
59910 * math/w_ilogbf.c: New file: ilogbf wrapper.
59911 * math/w_ilogbl.c: New file: ilogbl wrapper.
59912 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
59913 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
59914 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
59915 exception being thrown with 0.0 as argument.
59916 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
59917 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
59918 exception being thrown with 0.0 as argument.
59919 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
59920 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
59921 exception being thrown with 0.0 as argument.
59922 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
59923 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
59924 exception being thrown with 0.0 as argument.
59925 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
59926 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
59927 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
59928 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
59929 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
59930 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
59931 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
59932 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
59933 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
59934
59935 2012-04-17 Petr Baudis <pasky@ucw.cz>
59936
59937 * include/sys/uio.h: Change __vector to __iovec to avoid clash
59938 with altivec.
59939
59940 2012-04-16 Marek Polacek <polacek@redhat.com>
59941
59942 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
59943
59944 2012-04-16 Marek Polacek <polacek@redhat.com>
59945
59946 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
59947 operands of fdivp instruction.
59948
59949 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
59950
59951 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
59952 * elf/tst-auditmod3b.c: Likewise.
59953 * elf/tst-auditmod4b.c: Likewise.
59954 * elf/tst-auditmod5b.c: Likewise.
59955 * elf/tst-auditmod6b.c: Likewise.
59956 * elf/tst-auditmod6c.c: Likewise.
59957 * elf/tst-auditmod7b.c: Likewise.
59958 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
59959 * sysdeps/x86_64/preconfigure.in: Likewise.
59960 * sysdeps/x86_64/preconfigure: Regenerated.
59961
59962 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
59963
59964 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
59965 __ILP32__.
59966
59967 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
59968
59969 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59970 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
59971
59972 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
59973
59974 [BZ #13973]
59975 * locale/iso-639.def: Fix gl language name. Spotted by
59976 Yaron Shahrabani.
59977
59978 2012-04-12 Roland McGrath <roland@hack.frob.com>
59979
59980 [BZ #2074]
59981 * libio/libio.h (__io_write_fn): Update comment.
59982
59983 2012-04-12 Petr Baudis <pasky@ucw.cz>
59984
59985 [BZ #2074]
59986 * stdio.texi (Hook Functions): The user provided writer function
59987 is not allowed to return -1.
59988
59989 2012-04-11 David S. Miller <davem@davemloft.net>
59990
59991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59992
59993 2012-04-11 Mike Frysinger <vapier@gentoo.org>
59994
59995 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
59996 Add a leading slash to rtkaio.
59997
59998 2012-04-11 Jim Meyering <meyering@redhat.com>
59999
60000 [BZ #11959]
60001 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
60002 It is not necessarily an error to ignore fwrite's return
60003 value. One can reliably use ferror to test for errors after
60004 the fact.
60005
60006 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
60007
60008 * bits/types.h (__snseconds_t): New type.
60009 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
60010
60011 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
60012 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60013 (__SNSECONDS_T_TYPE): Likewise.
60014 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60015 (__SNSECONDS_T_TYPE): Likewise.
60016 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60017 (__SNSECONDS_T_TYPE): Likewise.
60018
60019 2012-04-10 Andreas Jaeger <aj@suse.de>
60020
60021 [BZ #2636]
60022 * manual/time.texi (Processor Time): Return type of times is
60023 elapsed real time since an arbitrary point in the past.
60024 (CPU Time): Move CLK_TCK from here...
60025 (Processor Time): ...to here. Correct description.
60026 * manual/conf.texi (Constants for Sysconf): Correct description of
60027 _SC_CLK_TCK.
60028
60029 2012-04-10 David S. Miller <davem@davemloft.net>
60030
60031 [BZ #13967]
60032 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
60033 where the is a gap between DT_REL(A) and DT_JMPREL.
60034
60035 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
60036
60037 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
60038 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60039 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60040
60041 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
60042
60043 * elf/dl-support.c (_dl_inhibit_cache): New variable.
60044 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
60045 (dl_main): Handle --inhibit-cache.
60046 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
60047 _dl_inhibit_cache.
60048 * elf/dl-load.c (_dl_map_object): Use it.
60049 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
60050
60051 2012-04-09 Joseph Myers <joseph@codesourcery.com>
60052
60053 [BZ #13872]
60054 * sysdeps/i386/fpu/e_powl.S (p78): New object.
60055 (__ieee754_powl): Saturate large exponents rather than testing for
60056 overflow of y*log2(x).
60057 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60058 * math/libm-test.inc (pow_test): Do not permit spurious overflow
60059 exceptions.
60060
60061 [BZ #11521]
60062 * math/s_ctan.c: Include <float.h>.
60063 (__ctan): Avoid internal overflow or cancellation in calculating
60064 denominator.
60065 * math/s_ctanf.c: Likewise.
60066 * math/s_ctanl.c: Likewise.
60067 * math/s_ctanh.c: Likewise.
60068 * math/s_ctanhf.c: Likewise.
60069 * math/s_ctanhl.c: Likewise.
60070 * math/libm-test.inc (ctan_test): Add more tests.
60071 (ctanh_test): Likewise.
60072 * sysdeps/i386/fpu/libm-test-ulps: Update.
60073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60074
60075 2012-04-09 Andreas Jaeger <aj@suse.de>
60076
60077 [BZ #6894]
60078 * manual/filesys.texi (Directory Entries): Mention that d_namlen
60079 is an optional BSD extension.
60080
60081 [BZ #10254]
60082 * manual/stdio.texi (Opening Streams): Document additional fopen
60083 parameters.
60084
60085 2012-04-09 Roland McGrath <roland@hack.frob.com>
60086
60087 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
60088 %eax without telling the compiler.
60089
60090 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
60091
60092 [BZ # 13963]
60093 * manual/install.texi: Use sourceware.org.
60094
60095 2012-04-09 Joseph Myers <joseph@codesourcery.com>
60096
60097 [BZ #13873]
60098 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
60099 (__ieee754_pow): Generate overflow and underflow using huge*huge
60100 and tiny*tiny rather than just returning constant infinity or zero
60101 for large exponents.
60102 * math/libm-test.inc (pow_test): Require overflow exceptions for
60103 applicable cases of large exponents.
60104
60105 [BZ #706]
60106 * sysdeps/i386/fpu/e_pow.S (p10): New object.
60107 (__ieee754_pow): Use iterative multiplication algorithm only for
60108 integer exponents with absolute value below 1024. Check for odd
60109 integer exponents when using algorithm for real exponents.
60110 * math/libm-test.inc (pow_test): Add more tests.
60111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60112
60113 2012-04-08 Joseph Myers <joseph@codesourcery.com>
60114
60115 [BZ #13705]
60116 * math/libm-test.inc (exp_test): Do not allow overflow exception
60117 on underflow test.
60118
60119 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
60120
60121 [BZ #13705]
60122 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
60123 instead of __kernel_standard_f.
60124
60125 2012-04-08 Mike Frysinger <vapier@gentoo.org>
60126
60127 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
60128 * sysdeps/x86_64/memset_chk.S: Likewise.
60129
60130 2012-04-08 Andreas Jaeger <aj@suse.de>
60131
60132 [BZ #10153]
60133 * manual/startup.texi (Environment Access): Describe return value
60134 for putenv and setenv.
60135
60136 [BZ #6895]
60137 * manual/filesys.texi (Directory Entries): Add description for
60138 DT_LNK.
60139
60140 [BZ #6890]
60141 * manual/filesys.texi (Directory Entries): Clarify that it's file
60142 system not operating system in the description of DT_UNKNOWN.
60143
60144 [BZ #6578]
60145 * manual/syslog.texi (closelog): Fix reference, it's openlog.
60146
60147 2012-04-08 Stephen Compall <s11@member.fsf.org>
60148
60149 [BZ #6649]
60150 * manual/llio.texi (Opening and Closing Files): Add cross
60151 reference to explain mode argument.
60152
60153 2012-04-07 Mike Frysinger <vapier@gentoo.org>
60154
60155 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
60156 * sysdeps/x86_64/memset_chk.S: Likewise.
60157
60158 2012-04-07 David S. Miller <davem@davemloft.net>
60159
60160 * elf/elf.h (R_SPARC_WDISP10): Define.
60161 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
60162 R_SPARC_SIZE32.
60163 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
60164 R_SPARC_SIZE64 and R_SPARC_H34.
60165
60166 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
60167
60168 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
60169 conditions and remove no longer applicable assertion.
60170
60171 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
60172
60173 * bits/byteswap.h: Include <features.h>.
60174 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60175 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60176
60177 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
60178
60179 * bits/byteswap.h (__bswap_16): Removed.
60180 Include <bits/byteswap-16.h> to get __bswap_16.
60181 * sysdeps/i386/bits/byteswap.h: Likewise.
60182 * sysdeps/s390/bits/byteswap.h: Likewise.
60183 * sysdeps/x86_64/bits/byteswap.h: Likewise.
60184 * bits/byteswap-16.h: New file.
60185 * sysdeps/i386/bits/byteswap-16.h: Likewise.
60186 * sysdeps/s390/bits/byteswap-16.h: Likewise.
60187 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
60188 * string/Makefile (headers): Add bits/byteswap-16.h.
60189
60190 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
60191
60192 [BZ #13895]
60193 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
60194 extra indirection.
60195 * nss/Makefile (tests-static, tests): Add tst-nss-static.
60196 * nss/tst-nss-static.c: New.
60197
60198 2012-04-06 Robert Millan <rmh@gnu.org>
60199
60200 [BZ #6486]
60201 * manual/llio.texi (File Position Primitive): lseek
60202 refers to WHENCE when it really means OFFSET.
60203
60204 2012-04-06 Andreas Jaeger <aj@suse.de>
60205
60206 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
60207 strncmp declarations.
60208
60209 * abilist/libc.abilist: Add __poll and __ppoll.
60210
60211 2012-04-05 David S. Miller <davem@davemloft.net>
60212
60213 * scripts/check-local-headers.sh: Accept a host triplet in the
60214 path matched by the exclude regexp.
60215
60216 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
60217 definition.
60218 * sysdeps/powerpc/powerpc32/dl-machine.h
60219 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
60220 * sysdeps/s390/s390-32/dl-machine.h
60221 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60222 * sysdeps/sparc/sparc32/dl-machine.h
60223 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60224 * sysdeps/sparc/sparc64/dl-machine.h
60225 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60226
60227 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
60228 lazy binding.
60229 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
60230 undefined symbol errors.
60231
60232 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
60233 DT_NEEDED entries.
60234
60235 2012-04-05 Michael Matz <matz@suse.de>
60236
60237 [BZ #13592]
60238 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
60239
60240 2012-04-05 Andreas Jaeger <aj@suse.de>
60241
60242 [BZ #13908]
60243 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
60244 comment.
60245
60246 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60247
60248 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
60249 which ROUND is no valid rounding mode.
60250
60251 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60252
60253 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
60254 read again.
60255 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
60256
60257 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60258
60259 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
60260 an exception using FPU order intentionally.
60261
60262 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60263
60264 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
60265 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
60266 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
60267 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
60268
60269 2012-04-05 Simon Josefsson <simon@josefsson.org>
60270
60271 [BZ #12340]
60272 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
60273 EINVAL when BUFLEN is too smal.
60274
60275 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
60276
60277 [BZ #13553]
60278 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
60279 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
60280
60281 2012-04-03 Andreas Jaeger <aj@suse.de>
60282
60283 [BZ #13938]
60284 * manual/setjmp.texi (System V contexts): Fix sentence.
60285
60286 [BZ #13926]
60287 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
60288 New macro for this case.
60289 [!__GNUC__] (__bswap_64): New inline function for this case.
60290 * sysdeps/x86_64/bits/byteswap.h: Likewise.
60291 * bits/byteswap.h: Likewise.
60292 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
60293 ull, guard with __GLIBC_HAVE_LONG_LONG.
60294
60295 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
60296 __GLIBC_HAVE_LONG_LONG.
60297
60298 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
60299 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
60300
60301 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
60302
60303 [BZ #13691]
60304 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
60305 inptr and inend, rather than using last_ch.
60306
60307 2012-04-02 David S. Miller <davem@davemloft.net>
60308
60309 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
60310 * stdio-common/printf-parse.h (read_int): Change return type to
60311 'int', return -1 on INT_MAX overflow.
60312 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
60313 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
60314 overflows INT_MAX. Check for overflow of in-format-string precision
60315 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
60316 SIZE_MAX not INT_MAX for integer overflow test.
60317 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
60318 skip the construct in the format string but do not record anything.
60319 * stdio-common/bug22.c: Adjust to test both width/prevision
60320 INT_MAX overflow as well as total length INT_MAX overflow. Check
60321 explicitly for proper errno values.
60322
60323 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
60324
60325 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
60326 CHAR_MAX.
60327 * string/test-strcmp.c [! WIDE]: Likewise.
60328 * time/tst-mktime2.c: Likewise for INT_MAX.
60329 * string/test-string.h: #include <sys/param.h> for MIN.
60330
60331 * csu/init-first.c (__libc_init_first): Call __ctype_init.
60332 * sysdeps/i386/init-first.c (init): Likewise.
60333 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
60334 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
60335 * sysdeps/sh/init-first.c (init): Likewise.
60336
60337 2012-04-01 Ulrich Drepper <drepper@gmail.com>
60338
60339 * po/ru.po: Update from translation team.
60340 * po/vi.po: Likewise.
60341
60342 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
60343
60344 * resolv/nss_dns/dns-host.c: Merge copyright years.
60345
60346 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60347
60348 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60349 Optimize memcpy with prefetch if
60350 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
60351 src, dst pointers have unequal 16 byte alignments.
60352
60353 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
60354
60355 [BZ #13928]
60356 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
60357 from a CNAME entry and return the minimum ttl for the query.
60358 (gaih_getanswer_slice): Likewise.
60359
60360 2012-03-30 Jeff Law <law@redhat.com>
60361
60362 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
60363 due to long keys.
60364 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
60365 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
60366
60367 * resolv/nss_dns/dns-host.c: Update copyright year.
60368
60369 2012-03-30 Ulrich Drepper <drepper@gmail.com>
60370
60371 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
60372 requests to save a system call. Fix check that all bytes are sent.
60373
60374 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
60375 comments for sendmmsg.
60376
60377 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
60378
60379 [BZ #13691]
60380 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
60381 with only 1 character between 0x0041 and 0x01b0.
60382 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
60383 * wcsmbs/tst-mbsnrtowcs.c: New file.
60384
60385 2012-03-29 David S. Miller <davem@davemloft.net>
60386
60387 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
60388 small copies by hand.
60389
60390 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
60391
60392 [BZ #13761]
60393 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
60394 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
60395 group memberships.
60396
60397 2012-03-28 David S. Miller <davem@davemloft.net>
60398
60399 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
60400 that branches into memcpy.
60401 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
60402 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
60403 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60404 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
60405 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
60406 bits.
60407 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
60408 implementation too.
60409 * sysdeps/sparc/mempcpy.S: New file.
60410
60411 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
60412 the IFUNC routine in the libc case.
60413 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
60414
60415 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
60416 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
60417 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
60418 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
60419 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
60420 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
60421 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
60422 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
60423
60424 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
60425 loop to 256 bytes instead of 64 bytes and fix test signedness.
60426
60427 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
60428 * sysdeps/sparc/sparc32/Makefile: rather than here...
60429 * sysdeps/sparc/sparc64/Makefile: and here.
60430
60431 2012-03-28 Ulrich Drepper <drepper@gmail.com>
60432
60433 * malloc/mallocbug.c: Avoid warnings about unused variables.
60434
60435 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
60436
60437 [BZ #13760]
60438 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
60439 in the right place. Discard and retry query if response is
60440 larger than input buffer size.
60441
60442 2012-03-28 Joseph Myers <joseph@codesourcery.com>
60443
60444 [BZ #369]
60445 [BZ #2678]
60446 [BZ #3866]
60447 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
60448 x for large integer exponent.
60449 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
60450 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
60451 sign of result as needed afterwards.
60452 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
60453 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
60454 result for underflowing pow the same as for overflow.
60455 (__kernel_standard_l): Handle powl overflow and underflow here
60456 rather than calling __kernel_standard.
60457 * math/libm-test.inc (pow_test): Add more tests.
60458
60459 [BZ #3868]
60460 [BZ #13879]
60461 [BZ #13910]
60462 [BZ #13911]
60463 [BZ #13912]
60464 [BZ #13913]
60465 [BZ #13915]
60466 [BZ #13916]
60467 [BZ #13917]
60468 [BZ #13918]
60469 [BZ #13919]
60470 [BZ #13920]
60471 [BZ #13921]
60472 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
60473 * sysdeps/ieee754/k_standard.c: Include <float.h>.
60474 (__kernel_standard_l): New function.
60475 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
60476 __kernel_standard.
60477 * math/w_acosl.c (__acosl): Likewise.
60478 * math/w_asinl.c (__asinl): Likewise.
60479 * math/w_atan2l.c (__atan2l): Likewise.
60480 * math/w_atanhl.c (__atanhl): Likewise.
60481 * math/w_coshl.c (__coshl): Likewise.
60482 * math/w_exp10l.c (__exp10l): Likewise.
60483 * math/w_exp2l.c (__exp2l): Likewise.
60484 * math/w_fmodl.c (__fmodl): Likewise.
60485 * math/w_hypotl.c (__hypotl): Likewise.
60486 * math/w_j0l.c (__j0l, __y0l): Likewise.
60487 * math/w_j1l.c (__j1l, __y1l): Likewise.
60488 * math/w_jnl.c (__jnl, __ynl): Likewise.
60489 * math/w_lgammal.c (__lgammal): Likewise.
60490 * math/w_log10l.c (__log10l): Likewise.
60491 * math/w_log2l.c (__log2l): Likewise.
60492 * math/w_logl.c (__logl): Likewise.
60493 * math/w_powl.c (__powl): Likewise.
60494 * math/w_remainderl.c (__remainderl): Likewise.
60495 * math/w_scalbl.c (sysv_scalbl): Likewise.
60496 * math/w_sinhl.c (__sinhl): Likewise.
60497 * math/w_sqrtl.c (__sqrtl): Likewise.
60498 * math/w_tgammal.c (__tgammal): Likewise.
60499 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
60500 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
60501 * math/libm-test.inc (acos_test): Add more tests.
60502 (acosh_test): Likewise.
60503 (asin_test): Likewise.
60504 (atanh_test): Likewise.
60505 (exp_test): Likewise.
60506 (exp10_test): Likewise.
60507 (exp2_test): Likewise.
60508 (expm1_test): Likewise.
60509 (lgamma_test): Likewise.
60510 (log_test): Likewise.
60511 (log10_test): Likewise.
60512 (log1p_test): Likewise.
60513 (log2_test): Likewise.
60514 (pow_test): Do not allow some spurious overflow exceptions.
60515 (sqrt_test): Add more tests.
60516 (tgamma_test): Likewise.
60517 (y0_test): Likewise.
60518 (y1_test): Likewise.
60519 (yn_test): Likewise.
60520
60521 2012-03-27 Anton Blanchard <anton@samba.org>
60522
60523 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
60524 MAP_HUGETLB.
60525 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60526 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60527 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60528
60529 2012-03-27 David S. Miller <davem@davemloft.net>
60530
60531 * conform/Makefile: Run run-conformtest.sh using $(BASH).
60532
60533 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
60534 have-as-vis3 check.
60535
60536 2012-03-27 Andreas Jaeger <aj@suse.de>
60537
60538 * sysdeps/x86_64/elf/configure.in: Moved to ...
60539 * sysdeps/x86_64/configure.in: ... here.
60540 * sysdeps/x86_64/elf/start.S: Moved to ...
60541 * sysdeps/x86_64/start.S: ... here.
60542 * sysdeps/x86_64/elf/configure: Delete.
60543
60544 * sysdeps/x86_64/configure.in: Merge contents from
60545 sysdeps/i386/configure.in (without i686 check).
60546
60547 * sysdeps/i386/elf/Versions: Merge into ...
60548 * sysdeps/i386/Versions: ... this.
60549 * sysdeps/i386/elf/Versions: Delete file.
60550 * sysdeps/i386/elf/start.S: Moved to ...
60551 * sysdeps/i386/start.S: ...here.
60552 * sysdeps/i386/elf/configure.in: Merge into...
60553 * sysdeps/i386/configure.in: ...here.
60554 * sysdeps/i386/elf/configure.in: Delete file.
60555 * sysdeps/i386/elf/configure: Delete file.
60556
60557 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
60558 * debug/backtracesyms.c: ... here.
60559 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
60560 * debug/backtracesymsfd.c: ... here.
60561 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
60562 * sysdeps/generic/ifunc-sel.h: ... here.
60563
60564 * sysdeps/unix/i386/start.c: Delete file.
60565 * sysdeps/unix/sparc/start.c: Delete file.
60566 * sysdeps/unix/start.c: Delete file.
60567
60568 * sysdeps/sh/elf/configure.in: Moved to ...
60569 * sysdeps/sh/configure.in: ... here.
60570 * sysdeps/sh/elf/start.S: Moved to ...
60571 * sysdeps/sh/start.S: ... here.
60572 * sysdeps/sh/elf/configure: Delete file.
60573
60574 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
60575 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
60576 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
60577 * sysdeps/powerpc/powerpc64/entry.h: ... here.
60578 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
60579 * sysdeps/powerpc/powerpc64/start.S: here.
60580 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
60581 * sysdeps/powerpc/powerpc64/Makefile: ... this.
60582 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
60583 * sysdeps/powerpc/powerpc64/configure.in: ... this.
60584 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
60585
60586 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
60587 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
60588 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
60589 * sysdeps/powerpc/powerpc32/start.S: ... here.
60590 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
60591 * sysdeps/powerpc/powerpc32/configure.in: ... this.
60592 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
60593
60594 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
60595 * sysdeps/powerpc/ifunc-sel.h: ... here.
60596 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
60597 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
60598
60599 * sysdeps/sparc/elf/configure.in: Moved to ...
60600 * sysdeps/sparc/configure.in: ... here.
60601 * sysdeps/sparc/elf/configure: Delete file.
60602 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
60603 * sysdeps/sparc/sparc32/start.S: ... here.
60604 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
60605 * sysdeps/sparc/sparc64/start.S: ... here.
60606 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
60607 * sysdeps/sparc/sparc32/Makefile: ... this.
60608 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
60609 * sysdeps/sparc/sparc64/Makefile: ... this.
60610
60611 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
60612 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
60613 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
60614 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
60615 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
60616 * sysdeps/s390/s390-32/setjmp.S: ... here.
60617 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
60618 * sysdeps/s390/s390-32/configure.in: ... here.
60619 * sysdeps/s390/s390-32/elf/configure: Delete file.
60620 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
60621 * sysdeps/s390/s390-32/start.S: ... here.
60622
60623 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
60624 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
60625 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
60626 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
60627 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
60628 * sysdeps/s390/s390-64/setjmp.S: ... here.
60629 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
60630 * sysdeps/s390/s390-64/configure.in: ... here
60631 * sysdeps/s390/s390-64/elf/configure: Delete file.
60632 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
60633 * sysdeps/s390/s390-64/start.S: ... here.
60634 * sysdeps/s390/s390-64/elf/configure: Delete.
60635
60636 * configure.in: Remove support for elf directories in sysdeps.
60637
60638 * configure: Regenerated.
60639 * sysdeps/i386/configure: Regenerated.
60640 * sysdeps/powerpc/powerpc32/configure: Regenerated.
60641 * sysdeps/powerpc/powerpc64/configure: Regenerated.
60642 * sysdeps/s390/s390-32/configure: Regenerated.
60643 * sysdeps/s390/s390-64/configure: Regenerated.
60644 * sysdeps/sh/configure: Regenerated.
60645 * sysdeps/sparc/configure: Regenerated.
60646 * sysdeps/x86_64/configure: Regenerated.
60647
60648 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
60649
60650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60651
60652 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
60653 denormal result into account.
60654
60655 2012-03-25 Roland McGrath <roland@hack.frob.com>
60656
60657 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
60658 Reported by Allan McRae <allan@archlinux.org>.
60659
60660 2012-03-23 Jeff Law <law@redhat.com>
60661
60662 * nss/getnssent.c (__nss_getent): Fix typo.
60663
60664 2012-03-23 David S. Miller <davem@davemloft.net>
60665
60666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60667
60668 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
60669
60670 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
60671 to pad to uint64_t for each field.
60672 (dl_tls_index): Replace unsigned long with uint64_t.
60673
60674 2012-03-23 Daniel Jacobowitz <dmj@google.com>
60675 Paul Pluzhnikov <ppluzhnikov@google.com>
60676
60677 [BZ #6528]
60678 * grp/Makefile (otherlibs): Don't set it.
60679 * inet/Makefile (otherlibs): Likewise.
60680 * login/Makefile (otherlibs): Likewise.
60681 * nscd/Makefile (otherlibs): Likewise.
60682 * posix/Makefile (otherlibs): Likewise.
60683 * pwd/Makefile (otherlibs): Likewise.
60684 * rt/Makefile (otherlibs): Likewise.
60685 * sunrpc/Makefile (otherlibs): Likewise.
60686 * nss/Makefile (otherlibs): Likewise.
60687 Add libnss_files to routines and static-only-routines.
60688 ($(objpfx)getent): Remove rule.
60689 * resolv/Makefile: Add libnss_dns and libresolv to routines and
60690 static-only-routines.
60691
60692 2012-03-22 Joseph Myers <joseph@codesourcery.com>
60693
60694 [BZ #13892]
60695 * math/s_cexp.c: Include <float.h>.
60696 (__cexp): Handle exp result overflowing not necessarily
60697 overflowing both real and imaginary parts of result.
60698 * math/s_cexpf.c: Likewise.
60699 * math/s_cexpl.c: Likewise.
60700 * math/libm-test.inc (cexp_test): Add more tests.
60701 * sysdeps/i386/fpu/libm-test-ulps: Update.
60702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60703
60704 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
60705
60706 * include/link.h (ELFW): New macro.
60707 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
60708 Replace ELF64_R_TYPE with ELFW(R_TYPE).
60709
60710 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
60711
60712 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
60713 with uint64_t.
60714
60715 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
60716
60717 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
60718 declaration.
60719 (struct La_x32_retval): Likewise.
60720
60721 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
60722
60723 * sysdeps/x86_64/preconfigure.in: New file.
60724 * sysdeps/x86_64/preconfigure: New generated file.
60725
60726 2012-03-22 Joseph Myers <joseph@codesourcery.com>
60727
60728 [BZ #13824]
60729 * math/e_exp2l.c: Include <float.h>.
60730 (__ieee754_exp2l): Handle overflow and underflow cases
60731 separately. Only pass fractional part of argument to
60732 __ieee754_expl.
60733 * math/libm-test.inc (exp2_test): Add more tests.
60734
60735 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
60736 negating x to take absolute value.
60737 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
60738 Likewise.
60739 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
60740 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
60741 Likewise.
60742 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
60743 computing low part if x was negated.
60744 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
60745
60746 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
60747
60748 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
60749 la_x32_gnu_pltexit.
60750 (pltexit): Cast int_retval to ptrdiff_t.
60751 * elf/tst-auditmod3b.c: Likewise.
60752 * elf/tst-auditmod4b.c: Likewise.
60753 * elf/tst-auditmod5b.c: Likewise.
60754 * elf/tst-auditmod6b.c: Likewise.
60755 * elf/tst-auditmod6c.c: Likewise.
60756 * elf/tst-auditmod7b.c: Likewise.
60757
60758 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
60759 and x32_gnu_pltexit.
60760
60761 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
60762 __ELF_NATIVE_CLASS.
60763 (La_x32_regs): New macro.
60764 (La_x32_retval): Likewise.
60765 (la_x32_gnu_pltenter): New function prototype.
60766 (la_x32_gnu_pltexit): Likewise.
60767
60768 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
60769
60770 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
60771 exponent.
60772
60773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60774
60775 * configure.in (libc_cv_cc_nofma): Check for option to disable
60776 generation of FMA instructions.
60777 * configure: Regenerate.
60778 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
60779 * sysdeps/ieee754/dbl-64/Makefile: New file.
60780 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
60781 Remove brandred-fma4.
60782 (CFLAGS-brandred-fma4.c): Remove.
60783 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
60784 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
60785 define.
60786 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
60787 define.
60788
60789 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
60790
60791 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
60792 LLONG_MAX != LONG_MAX.
60793 (_itoa_word): Use _ITOA_WORD_TYPE on value.
60794 (_fitoa_word): Likewise.
60795 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
60796 LLONG_MAX != LONG_MAX.
60797 * stdio-common/_itowa.h: Include <_itoa.h>.
60798 (_itowa_word): Use _ITOA_WORD_TYPE on value.
60799 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
60800 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
60801 only if not defined.
60802 (_ITOA_WORD_TYPE): Likewise.
60803 (_itoa_word): Use _ITOA_WORD_TYPE on value.
60804 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
60805
60806 2012-03-21 David S. Miller <davem@davemloft.net>
60807
60808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60809
60810 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
60811
60812 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
60813 of x86_64 when setting libc_cv_slibdir, libdir and
60814 libc_cv_localedir.
60815 * sysdeps/unix/sysv/linux/configure: Regenerated.
60816
60817 2012-03-21 Joseph Myers <joseph@codesourcery.com>
60818
60819 * manual/lang.texi (Old Varargs): Remove section.
60820 (How Variadic): Update menu.
60821 (va_start): Do not mention varargs.h.
60822
60823 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
60824 Joseph Myers <joseph@codesourcery.com>
60825
60826 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
60827 link test.
60828 * configure: Regenerated.
60829
60830 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
60831
60832 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
60833 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
60834 conformtest.pl
60835
60836 2012-03-21 Joseph Myers <joseph@codesourcery.com>
60837
60838 * NOTES: Remove.
60839 * Makefile (files-for-dist): Remove NOTES.
60840 (NOTES): Remove rule.
60841 * README: Don't refer to NOTES.
60842 * manual/creature.texi: Don't include macros.texi.
60843 * manual/intro.texi (creature.texi): Remove comment referring to
60844 NOTES.
60845
60846 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
60847 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
60848 * configure: Regenerated.
60849 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
60850 LIBC_TRY_CC_OPTION.
60851 (libc_cv_as_i686): Likewise.
60852 (libc_cv_cc_avx): Likewise.
60853 (libc_cv_cc_sse2avx): Likewise.
60854 (libc_cv_cc_fma4): Likewise.
60855 (libc_cv_cc_novzeroupper): Likewise.
60856 * sysdeps/i386/configure: Regenerated.
60857
60858 [BZ #13883]
60859 * sysdeps/i386/fpu/s_cexp.S: Remove.
60860 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
60861 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
60862 * math/libm-test.inc (cexp_test): Add more tests.
60863 * sysdeps/i386/fpu/libm-test-ulps: Update.
60864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60865
60866 2012-03-21 Allan McRae <allan@archlinux.org>
60867
60868 * timezone/Makefile: Do not install iso3166.tab and zone.tab
60869
60870 2012-03-21 Joseph Myers <joseph@codesourcery.com>
60871
60872 [BZ #13871]
60873 * math/w_exp2.c: Do not include <float.h>.
60874 (o_threshold, u_threshold): Remove.
60875 (__exp2): Calculate result before checking finiteness and calling
60876 __kernel_standard.
60877 * math/w_exp2f.c: Likewise.
60878 * math/w_exp2l.c: Likewise.
60879 * math/libm-test.inc (exp2_test): Require overflow exception for
60880 1e6 input.
60881
60882 [BZ #3866]
60883 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
60884 range of signed 64-bit integers before using fistpll. Remove
60885 checks for whether integers fit in mantissa bits.
60886 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
60887 the range of signed 32-bit integers before using fistpl. Remove
60888 checks for whether integers fit in mantissa bits.
60889 * sysdeps/i386/fpu/e_powl.S (p64): New object.
60890 (__ieee754_powl): Test for y outside the range of signed 64-bit
60891 integers before using fistpll. Reduce 64-bit values to 63-bit
60892 ones as needed.
60893 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
60894 divide-by-zero is raised for zero to large negative powers.
60895 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
60896 (__ieee754_powl): Test for y outside the range of signed 64-bit
60897 integers before using fistpll. Reduce 64-bit values to 63-bit
60898 ones as needed.
60899 * math/libm-test.inc (pow_test): Add more tests.
60900
60901 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
60902
60903 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
60904 <stdio-common/_itoa.h>.
60905 * debug/segfault.c: Likewise.
60906 * elf/dl-cache.c: Likewise.
60907 * elf/dl-minimal.c: Likewise.
60908 * elf/dl-misc.c: Likewise.
60909 * elf/dl-sysdep.c: Likewise.
60910 * elf/dl-version.c: Likewise.
60911 * elf/rtld.c: Likewise.
60912 * hurd/hurdsock.c: Likewise.
60913 * hurd/lookup-retry.c: Likewise.
60914 * malloc/malloc.c: Likewise.
60915 * malloc/mtrace.c: Likewise.
60916 * nscd/nscd_getgr_r.c: Likewise.
60917 * nscd/nscd_getpw_r.c: Likewise.
60918 * nscd/nscd_getserv_r.c: Likewise.
60919 * posix/getopt_init.c: Likewise.
60920 * posix/wordexp.c: Likewise.
60921 * stdio-common/_itoa.c: Likewise.
60922 * stdio-common/printf_fphex.c: Likewise.
60923 * stdio-common/vfprintf.c: Likewise.
60924 * string/_strerror.c: Likewise.
60925 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
60926 * sysdeps/i386/i686/hp-timing.h: Likewise.
60927 * sysdeps/mach/_strerror.c: Likewise.
60928 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
60929 * sysdeps/mach/hurd/sethostid.c: Likewise.
60930 * sysdeps/mach/hurd/xmknodat.c: Likewise.
60931 * sysdeps/mach/xpg-strerror.c: Likewise.
60932 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
60933 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
60934 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
60935 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
60936 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
60937 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
60938 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
60939 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
60940 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
60941 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
60942 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
60943 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
60944 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
60945 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
60946 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
60947 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
60948 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
60949 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
60950 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
60951 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
60952 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
60953
60954 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
60955
60956 * stdio-common/_itoa.h: Moved to ...
60957 * sysdeps/generic/_itoa.h: Here.
60958
60959 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
60960
60961 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
60962 instead of "_itoa.h" and "_itowa.h".
60963 * stdio-common/vfprintf.: Likewise.
60964
60965 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
60966
60967 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
60968 <bits/wordsize.h>.
60969 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
60970 (__signbit): Likwise.
60971 (llrintf): Likwise.
60972 (llrint): Likwise.
60973
60974 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
60975
60976 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
60977 __WORDSIZE != 64.
60978
60979 2012-03-20 Joseph Myers <joseph@codesourcery.com>
60980
60981 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
60982 OVERFLOW_EXCEPTION_OK.
60983 * math/libm-test.inc ("Philosophy"): Update comment about
60984 exception testing.
60985 (OVERFLOW_EXCEPTION): Define.
60986 (OVERFLOW_EXCEPTION_OK): Likewise.
60987 (INVALID_EXCEPTION_OK): Renumber.
60988 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60989 (IGNORE_ZERO_INF_SIGN): Likewise.
60990 (test_exceptions): Handle FE_OVERFLOW.
60991 (exp10_test): Expect overflow exceptions.
60992 (exp2_test): Likewise.
60993 (expm1_test): Likewise.
60994 (nextafter_test): Likewise.
60995 (pow_test): Likewise.
60996 (scalbn_test): Likewise.
60997 (scalbln_test): Likewise.
60998
60999 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
61000
61001 * sysdeps/x86_64/bits/atomic.h
61002 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
61003 64bit integer.
61004 (atomic_exchange_acq): Likewise.
61005 (__arch_exchange_and_add_body): Likewise.
61006 (__arch_add_body): Likewise.
61007 (atomic_add_negative): Likewise.
61008 (atomic_add_zero): Likewise.
61009
61010 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
61011
61012 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
61013 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
61014
61015 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
61016
61017 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
61018 Check __x86_64__ instead of __WORDSIZE.
61019
61020 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
61021
61022 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
61023
61024 2012-03-19 David S. Miller <davem@davemloft.net>
61025
61026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61027
61028 * sysdeps/sparc/fpu/fenv_private.h: New file.
61029 * sysdeps/sparc/fpu/math_private.h: Use it.
61030 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
61031 Remove.
61032 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
61033 (libc_feholdexcept_setroundl): Remove.
61034 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
61035 Remove.
61036 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
61037 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
61038
61039 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
61040
61041 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
61042 int64_t instead of long int.
61043 (INSERT_WORDS64): Likwise.
61044
61045 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
61046
61047 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
61048 _Unwind_GetCFA return to _Unwind_Ptr first.
61049
61050 2012-03-19 Joseph Myers <joseph@codesourcery.com>
61051
61052 [BZ #13629]
61053 * math/s_clog.c: Include <float.h>.
61054 (__clog): Scale large or subnormal inputs.
61055 * math/s_clogf.c: Likewise.
61056 * math/s_clogl.c: Likewise.
61057 * math/s_clog10.c: Include <float.h>.
61058 (M_LOG10_2): Define.
61059 (__clog10): Scale large or subnormal inputs.
61060 * math/s_clog10f.c: Likewise.
61061 * math/s_clog10l.c: Likewise.
61062 * math/libm-test.inc (clog_test): Add more tests.
61063 (clog10_test): Likewise.
61064 * sysdeps/i386/fpu/libm-test-ulps: Update.
61065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61066
61067 [BZ #11451]
61068 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
61069 x and y.
61070 * math/libm-test.inc (atan2_test): Add another test.
61071
61072 * Makerules (common-objdir-compile): Remove.
61073 * sysdeps/unix/Makefile (config-generated): Do not add
61074 $(unix-generated) to variable.
61075 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
61076 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
61077 Remove rule.
61078 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
61079 Likewise.
61080 [generic bits/local_lim.h] (before-compile): Do not append to
61081 variable.
61082 [generic bits/local_lim.h] (common-generated): Likewise.
61083 [generic sys/param.h] (before-compile): Do not append to variable.
61084 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
61085 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
61086 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
61087 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
61088 include.
61089 [generic sys/param.h] (sys/param.h-includes): Remove variable.
61090 [generic sys/param.h] (sys/param.h-includes): Remove rule.
61091 [generic sys/param.h] ($(addprefix
61092 $(common-objpfx),$(sys/param.h-includes))): Likewise.
61093 [generic sys/param.h] (common-generated): Do not append to
61094 variable.
61095 [generic sys/param.h] (sysdep_headers): Likewise.
61096 [generic bits/errno.h] (before-compile): Do not append to
61097 variable.
61098 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
61099 rule.
61100 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
61101 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
61102 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
61103 [generic bits/errno.h] (common-generated): Do not append to
61104 variable.
61105 [generic bits/ioctls.h] (before-compile): Do not append to
61106 variable.
61107 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
61108 rule.
61109 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
61110 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
61111 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
61112 rule.
61113 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
61114 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
61115 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
61116 [generic bits/ioctls.h] (common-generated): Do not append to
61117 variable.
61118 [generic sys/syscall.h] (syscall.h): Remove variable.
61119 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
61120 rule.
61121 [generic sys/syscall.h] (before-compile): Do not append to
61122 variable.
61123 [generic sys/syscall.h] (common-generated): Likewise.
61124 * sysdeps/unix/errnos-tmpl.c: Remove file.
61125 * sysdeps/unix/errnos.awk: Likewise.
61126 * sysdeps/unix/ioctls-tmpl.c: Likewise.
61127 * sysdeps/unix/ioctls.awk: Likewise.
61128 * sysdeps/unix/mk-local_lim.c: Likewise.
61129 * sysdeps/unix/snarf-ioctls: Likewise.
61130
61131 2012-03-19 Richard Henderson <rth@twiddle.net>
61132
61133 * sysdeps/i386/fpu/fenv_private.h: New file.
61134 * sysdeps/i386/fpu/math_private.h: Use it.
61135 (math_opt_barrier, math_force_eval): Remove.
61136 (libc_feholdexcept_setround_53bit): Remove.
61137 (libc_feupdateenv_53bit): Remove.
61138 * sysdeps/x86_64/fpu/math_private.h: Likewise.
61139 (math_opt_barrier, math_force_eval): Remove.
61140 (libc_feholdexcept): Remove.
61141 (libc_feholdexcept_setround): Remove.
61142 (libc_fetestexcept, libc_fesetenv): Remove.
61143 (libc_feupdateenv_test): Remove.
61144 (libc_feupdateenv, libc_feholdsetround): Remove.
61145 (libc_feresetround): Remove.
61146
61147 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
61148 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
61149
61150 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
61151 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
61152 (libc_feupdateenv_testl): New.
61153 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
61154 (libc_feupdateenv_testf): New.
61155 (libc_feupdateenv): Use libc_feupdateenv_test.
61156 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
61157 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
61158
61159 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
61160 (libc_feholdsetroundf, libc_feholdsetroundl): New.
61161 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
61162 (libc_feresetround_noex): New.
61163 (libc_feresetround_noexf): New.
61164 (libc_feresetround_noexl): New.
61165 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
61166 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
61167 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
61168 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
61169 SET_RESTORE_ROUND.
61170 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
61171 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
61172 (__cos): Likewise.
61173 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
61174 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
61175 SET_RESTORE_ROUND_NOEX.
61176 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
61177 SET_RESTORE_ROUND_NOEXF.
61178 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
61179 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
61180 (libc_feholdsetroundf): New.
61181 (libc_feresetround, libc_feresetroundf): New.
61182
61183 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
61184 (libc_feholdexcept_setround_53bit): Convert from macro to function.
61185 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
61186
61187 * sysdeps/generic/math_private.h: Include <fenv.h>.
61188 (default_libc_feholdexcept): New.
61189 (default_libc_feholdexcept_setround): New.
61190 (default_libc_fesetenv, default_libc_feupdateenv): New.
61191 (libc_feholdexcept): Only define if undefined.
61192 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
61193 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
61194 (libc_feholdexcept_setroundl): Likewise.
61195 (libc_feholdexcept_setround_53bit): Likewise.
61196 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
61197 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
61198 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
61199 (libc_feupdateenv_53bit): Likewise.
61200 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
61201 (libc_feholdexcept): Convert from macro to inline function.
61202 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
61203 (libc_fesetenv, libc_feupdateenv): Likewise.
61204
61205 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
61206 not previously defined.
61207 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
61208 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
61209 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
61210 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
61211 * sysdeps/ieee754/flt-32/math_private.h: New file.
61212 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
61213 math_private.h below SET_FLOAT_WORD.
61214 (__isnan, __isinf_ns, __finite): Remove.
61215 (__isnanf, __isinf_nsf, __finitef): Remove.
61216
61217 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
61218
61219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61220
61221 2012-03-17 David S. Miller <davem@davemloft.net>
61222
61223 [BZ #6471]
61224 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
61225 for 2.16.
61226
61227 2012-03-16 David S. Miller <davem@davemloft.net>
61228
61229 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
61230 warnings.
61231
61232 [BZ #6471]
61233 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
61234 properly.
61235 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
61236 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
61237 sysdep_routines when subdir is sysvipc.
61238 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
61239 __getshmlba helper.
61240
61241 * sysdeps/sparc/fpu/libm-test/ulps: Update.
61242
61243 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
61244
61245 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
61246 [__LP64__].
61247
61248 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
61249
61250 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
61251 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
61252 (__lround): Renamed to ...
61253 (__llround): This. Replace long int with long long int.
61254 Define lround functions as aliases of llround functions.
61255 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
61256
61257 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
61258
61259 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
61260 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
61261 adresses to uintptr_t. Replace "long int" and "unsigned long
61262 int" with "greg_t" on va_arg.
61263
61264 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
61265
61266 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
61267 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
61268
61269 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
61270 Move e_machine check before EI_CLASS check. Handle x32
61271 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
61272 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
61273 SKIP_EM_IA_64 and include
61274 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
61275
61276 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
61277 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
61278 (add_system_dir): New macro.
61279
61280 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
61281 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
61282
61283 2012-03-16 Joseph Myers <joseph@codesourcery.com>
61284
61285 [BZ #2551]
61286 [BZ #2552]
61287 [BZ #2553]
61288 [BZ #2554]
61289 [BZ #2562]
61290 [BZ #2563]
61291 [BZ #2565]
61292 [BZ #2566]
61293 [BZ #2576]
61294 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
61295 (y0): Likewise.
61296 * math/w_j0f.c (j0f): Likewise.
61297 (y0f): Likewise.
61298 * math/w_j0l.c (__j0l): Likewise.
61299 (__y0l): Likewise.
61300 * math/w_j1.c (j1): Likewise.
61301 (y1): Likewise.
61302 * math/w_j1f.c (j1f): Likewise.
61303 (y1f): Likewise.
61304 * math/w_j1l.c (__j1l): Likewise.
61305 (__y1l): Likewise.
61306 * math/w_jn.c (jn): Likewise.
61307 (yn): Likewise.
61308 * math/w_jnf.c (jnf): Likewise.
61309 (ynf): Likewise.
61310 * math/w_jnl.c (__jnl): Likewise.
61311 (__ynl): Likewise.
61312 * math/libm-test.inc (j0_test): Add more tests.
61313 (j1_test): Likewise.
61314 (jn_test): Likewise. Add trailing semicolon to existing test.
61315 (y0_test): Likewise.
61316 (y1_test): Likewise.
61317 * sysdeps/i386/fpu/libm-test-ulps: Update.
61318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61319
61320 [BZ #13851]
61321 [BZ #13854]
61322 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
61323 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
61324 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
61325 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
61326 (__tanl): Set errno for infinite argument.
61327 * sysdeps/i386/fpu/mptan.c: Remove.
61328 * sysdeps/i386/fpu/s_tan.S: Likewise.
61329 * sysdeps/i386/fpu/s_tanl.S: Likewise.
61330 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
61331 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
61332 * math/libm-test.inc (tan_test): Add more tests and enable more
61333 tests for double and long double.
61334 * sysdeps/i386/fpu/libm-test-ulps: Update.
61335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61336
61337 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
61338
61339 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
61340 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
61341
61342 2012-03-16 Roland McGrath <roland@hack.frob.com>
61343
61344 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
61345 * configure.in: Use it for both main tree and add-ons.
61346 * configure: Regenerated.
61347
61348 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
61349
61350 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
61351
61352 2012-03-16 Joseph Myers <joseph@codesourcery.com>
61353
61354 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
61355 in comment.
61356
61357 [BZ #13851]
61358 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
61359 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
61360 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
61361 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
61362 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
61363 infinite argument.
61364 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
61365 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
61366 != 0 for prec == 2.
61367 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
61368 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
61369 * sysdeps/i386/fpu/s_cosl.S: Likewise.
61370 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
61371 * sysdeps/i386/fpu/s_sinl.S: Likewise.
61372 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
61373 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
61374 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
61375 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
61376 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
61377 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
61378 * math/libm-test.inc (cos_test): Add more tests and enable more
61379 tests for long double.
61380 (sin_test): Likewise.
61381 (sincos_test): Likewise.
61382 * sysdeps/i386/fpu/libm-test-ulps: Update.
61383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61384
61385 2012-03-16 David S. Miller <davem@davemloft.net>
61386
61387 * sysdeps/sparc/fpu/math_private.h: New file.
61388
61389 2012-03-15 David S. Miller <davem@davemloft.net>
61390
61391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
61392 file.
61393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
61394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
61395 file.
61396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
61397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
61398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
61399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
61400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
61401 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
61402 sysdep routines.
61403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
61404
61405 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
61406 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
61407
61408 * sysdeps/sparc/sparc-ifunc.h: New file.
61409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
61410 sparc-ifunc.h
61411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
61413 Likewise.
61414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
61415 Likewise.
61416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
61417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
61418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61420 Likewise.
61421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
61423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
61425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
61426 Likewise.
61427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
61428 Likewise.
61429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
61431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
61432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
61433 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61434 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61435 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
61436 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
61437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
61440 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
61441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
61442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
61443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
61444 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
61445 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
61446 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
61447 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
61448 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
61449 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
61450 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
61451 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
61452 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
61453
61454 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
61455
61456 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
61457 scaling.
61458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61459
61460 2012-03-15 Andreas Jaeger <aj@suse.de>
61461
61462 [BZ #13852]
61463 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
61464 ieee754/flt-32 implementation for sin, cos and sincos.
61465 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
61466 * sysdeps/i386/fpu/s_cosf.S: Likewise.
61467 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
61468 * sysdeps/i386/fpu/s_sinf.S: Likewise.
61469 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
61470 ieee754/flt-32 implementation for tan.
61471
61472 * math/libm-test.inc (cos_test): Enable some large input tests for
61473 float as well
61474 (sin_test): Likewise.
61475 (sincos_test): Likewise.
61476 (tan_test): Add tests for large input.
61477
61478 * sysdeps/i386/fpu/libm-test-ulps: Update.
61479
61480 2012-03-15 Andreas Jaeger <aj@suse.de>
61481
61482 [BZ #13658]
61483 * math/libm-test.inc (cos_test): Add more test cases.
61484 (sin_test): Likewise.
61485 (sincos_test): Likewise.
61486
61487 2012-03-15 Andreas Jaeger <aj@suse.de>
61488
61489 [BZ #13837]
61490 * math/libm-test.inc (cos_test): Add a test case for large input
61491 value.
61492 (sin_test): Likewise.
61493 (sincos_test): Likewise.
61494
61495 2012-03-15 Andreas Jaeger <aj@suse.de>
61496 Joseph Myers <joseph@codesourcery.com>
61497
61498 [BZ #13658]
61499 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
61500 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
61501 * sysdeps/i386/fpu/branred.c: Likewise.
61502 * sysdeps/i386/fpu/dosincos.c: Likewise.
61503 * sysdeps/i386/fpu/mpa.c: Likewise.
61504 * sysdeps/i386/fpu/s_cos.S: Likewise.
61505 * sysdeps/i386/fpu/s_sin.S: Likewise.
61506 * sysdeps/i386/fpu/s_sincos.S: Likewise.
61507 * sysdeps/i386/fpu/sincos32.c: Likewise.
61508
61509 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
61510 Define.
61511 (libc_feupdateenv_53bit): Define.
61512 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
61513 Define.
61514 (libc_feupdateenv_53bit): Define.
61515
61516 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
61517 53 bit (without extend i386 double precision).
61518
61519 * math/libm-test.inc (sincos_test): Add tests for large input.
61520 (sin): Likewise.
61521 (cos): Likewise.
61522
61523 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
61524
61525 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
61526
61527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61528
61529 2012-03-15 David S. Miller <davem@davemloft.net>
61530
61531 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
61532 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
61533 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
61534 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
61535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
61536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
61537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
61538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
61539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
61540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
61541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
61542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
61543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
61544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
61545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
61546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
61547 file.
61548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
61549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
61550 file.
61551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
61552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
61553 file.
61554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
61555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
61556 file.
61557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
61558 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
61559 fmin/fmax sysdep routines.
61560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
61561
61562 2012-03-14 David S. Miller <davem@davemloft.net>
61563
61564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
61565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
61566 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
61567 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
61568 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
61569 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
61570 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
61571 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
61572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
61573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
61574 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
61575 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
61576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
61577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
61578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
61579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
61580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
61581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
61582 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
61583 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
61584 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
61585 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
61586 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
61587 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
61588 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
61589 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
61590 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
61591 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
61592 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
61593 routines.
61594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
61595 file.
61596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
61597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
61598 file.
61599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
61600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
61601 file.
61602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
61603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
61604 file.
61605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
61606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
61607 file.
61608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
61609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
61610 file.
61611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
61612 file.
61613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
61614 file.
61615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
61616 file.
61617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
61618 New file.
61619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
61620 file.
61621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
61622 file.
61623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
61624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
61625 file.
61626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
61627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
61628 file.
61629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
61630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
61631 file.
61632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
61633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
61634 VIS3 routines.
61635
61636 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61637 New file.
61638
61639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61640
61641 * sysdeps/sparc/configure.in: New file.
61642 * sysdeps/sparc/configure: Generate.
61643 * configure.in (libc_cv_sparc_as_vis3): Substitute.
61644 * configure: Regenerate.
61645 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
61646 * config.make.in (have-as-vis3): New.
61647 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
61648 available use -Av9d instead of -Av9a.
61649 * sysdeps/sparc/sparc64/Makefile: Likewise.
61650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
61651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
61652 New file.
61653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
61654 file.
61655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
61656 New file.
61657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
61658 file.
61659 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
61660 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
61661 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
61662 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
61663 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
61664
61665 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
61666 fzeros/fnegs to load 0x80000000 into a float register instead of
61667 using the stack.
61668 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
61669
61670 2012-03-14 Joseph Myers <joseph@codesourcery.com>
61671
61672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61673 bits/syscall.h.
61674 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
61675 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
61676 ($(inst_includedir)/bits/syscall.h): Remove rule.
61677 ($(objpfx)bits/syscall.d): Include instead of
61678 $(objpfx)syscall-list.d.
61679 (generated): Change syscall-list.h and syscall-list.d to
61680 bits/syscall.h and bits/syscall.d.
61681
61682 2012-03-14 Roland McGrath <roland@hack.frob.com>
61683
61684 [BZ #13846]
61685 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
61686
61687 2012-03-14 Joseph Myers <joseph@codesourcery.com>
61688
61689 [BZ #13841]
61690 * math/s_csqrt.c: Include <float.h>.
61691 (__csqrt): Scale large or subnormal inputs.
61692 * math/s_csqrtf.c: Likewise.
61693 * math/s_csqrtl.c: Likewise.
61694 * math/libm-test.inc (csqrt_test): Add more tests.
61695 * sysdeps/i386/fpu/libm-test-ulps: Update.
61696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61697
61698 [BZ #13840]
61699 * math/libm-test.inc (hypot_test): Add more tests.
61700
61701 2012-03-13 David S. Miller <davem@davemloft.net>
61702
61703 [BZ #13840]
61704 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
61705 double-precision for the calculation instead of scaling.
61706
61707 2012-03-13 Joseph Myers <joseph@codesourcery.com>
61708
61709 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
61710 manipulate bits before adding and subtracting TWO52[sx].
61711 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
61712 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
61713 Likewise.
61714 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
61715
61716 2012-03-13 David S. Miller <davem@davemloft.net>
61717
61718 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
61719 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
61720 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
61721 rtld-global-offsets.h
61722 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61723
61724 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
61725 large parameters.
61726
61727 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
61728
61729 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
61730 'err' in the ifdef scope in which it is actually used.
61731
61732 * nss/nss_db/db-init.c: Include string.h
61733
61734 2012-03-12 David S. Miller <davem@davemloft.net>
61735
61736 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61737 masking out of the most significant byte of random value used.
61738 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61739 Fix coding style in previous change.
61740
61741 * sysdeps/unix/sysv/linux/kernel-features.h
61742 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
61743 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
61744 expression.
61745 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
61746 later.
61747
61748 2012-03-11 David S. Miller <davem@davemloft.net>
61749
61750 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
61751 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
61752 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
61753 for 'resultvar' otherwise things get truncated on 64-bit.
61754
61755 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61756 Fix masking out of the most significant byte of random value used.
61757
61758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61759
61760 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
61761
61762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61763
61764 2012-03-09 David S. Miller <davem@davemloft.net>
61765
61766 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
61767 variables with appropriate CPP guards.
61768 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
61769 from the frame pointer, not the stack pointer. Correct layout
61770 comments. Fix test on resulting framesize and the management of
61771 the outregs buffer for pltexit. Preserve floating point return
61772 values across _dl_call_pltexit call.
61773 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
61774 framesize and the management of the outregs buffer for pltexit.
61775 Preserve floating point return values across _dl_call_pltexit
61776 call.
61777 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
61778 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
61779 (la_sparc64_gnu_pltexit): New functions.
61780 (print_exit): Fix format string for return register value.
61781
61782 2012-03-10 Joseph Myers <joseph@codesourcery.com>
61783
61784 * sunrpc/Makefile (others): Add rpcgen.
61785 ($(objpfx)rpcgen): Remove special build rule and dependency on
61786 libc.
61787 * sunrpc/rpcgen.c: New file.
61788
61789 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
61790
61791 [BZ #13673]
61792 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
61793 * stdio-common/bug-vfprintf-nargs.c: Likewise.
61794 * sysdeps/i386/crti.S: Likewise.
61795 * sysdeps/i386/crtn.S: Likewise.
61796 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
61797 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
61798 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
61799 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
61800 * sysdeps/sh/crti.S: Likewise.
61801 * sysdeps/sh/crtn.S: Likewise.
61802 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
61803
61804 [BZ #13673]
61805 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
61806 with URL.
61807 * locale/programs/locfile-kw.gperf: Likewise.
61808 * locale/programs/charmap-kw.h: Regenerated.
61809 * locale/programs/locfile-kw.h: Likewise.
61810
61811 [BZ #13673]
61812 * intl/plural.y: Replace FSF snail mail address with URL.
61813 * intl/plural.c: Regenerated.
61814
61815 2012-03-09 Richard Henderson <rth@twiddle.net>
61816
61817 * include/math_private.h: Remove file.
61818 * math/math_private.h: Move file ...
61819 * sysdeps/generic/math_private.h: ... here.
61820
61821 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
61822 * sysdeps/powerpc/fpu/math_private.h: Likewise.
61823 * sysdeps/x86_64/fpu/math_private.h: Likewise.
61824
61825 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
61826 and <math_private.h>.
61827 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
61828 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
61829 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
61830 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
61831 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
61832 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
61833 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
61834 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61835 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61836 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61837 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61838 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61839 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61840 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61841 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61842 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61843 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61844 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61845 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61846 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
61847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61848 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61849 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61851 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61852 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61853 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61854 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61855 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61856 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61857 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61858 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61859 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61860 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61861 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61862 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61863 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61864 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61865 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61866 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61867 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
61868 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61869 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
61870 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
61871 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
61872 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61873 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
61874 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61875 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61876 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61877 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
61878 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
61879 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
61880 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61881 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
61882 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61883 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
61884 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
61885 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
61886 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
61887 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61888 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
61889 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61890 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61891 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
61892 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61893 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61894 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61895 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
61896 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
61897 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
61898 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61899 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
61900 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61901 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
61902 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
61903 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
61904 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61905 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
61906 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
61907 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
61908 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
61909 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
61910 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
61911 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
61912 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
61913 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
61914 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
61915 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
61916 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61917 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61918 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
61919 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61920 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
61921 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
61922 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
61923 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61924 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
61925 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61926 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
61927 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
61928 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
61929 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
61930 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
61931 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61932 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
61933 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
61934 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
61935 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61936 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61937 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61938 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61939 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
61940 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61941 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
61942 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
61943 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61944 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
61945 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61946 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
61947 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61948 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
61949 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
61950 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
61951 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61952 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
61953 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
61954 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
61955 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
61956 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
61957 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
61958 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
61959 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61960 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
61961 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
61962 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
61963 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
61964 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
61965 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
61966 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
61967 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
61968 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
61969 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
61970 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
61971 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
61972 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
61973 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
61974 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
61975 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
61976 * sysdeps/ieee754/k_standard.c: Likewise.
61977 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61978 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61979 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61980 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61981 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61982 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61983 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61984 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61985 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61986 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61987 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61988 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61989 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61990 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61991 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61992 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61993 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
61994 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61995 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61996 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
61997 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
61998 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
61999 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62000 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
62001 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
62002 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
62003 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
62004 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
62005 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
62006 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62007 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
62008 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
62009 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
62010 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
62011 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
62012 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
62013 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
62014 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
62015 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
62016 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
62017 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
62018 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
62019 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
62020 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
62021 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
62022 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
62023 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
62024 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
62025 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
62026 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62027 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62028 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
62029 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
62030 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
62031 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62032 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62033 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
62034 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
62035 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
62036 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
62037 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62038 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
62039 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
62040 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
62041 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
62042 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
62043 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
62044 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
62045 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
62046 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
62047 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
62048 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62049 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
62050 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
62051 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
62052 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
62053 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
62054 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
62055 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62056 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62057 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62058 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62059 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
62060 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
62061 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
62062 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
62063 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
62064 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
62065 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62066 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
62067 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
62068 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
62069 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
62070 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
62071 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
62072 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
62073 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
62074 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
62075 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
62076 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
62077 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
62078 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
62079 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62080 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
62081 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
62082 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62083 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62084 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
62085 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
62086 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
62087 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
62088 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
62089 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
62090 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
62091 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
62092 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
62093 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
62094 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
62095 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
62096 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
62097 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62098 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
62099 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
62100 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
62101 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
62102 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
62103 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
62104 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
62105 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
62106 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62107 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
62108 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
62109 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
62110 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
62111 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
62112 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
62113 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
62114 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
62115 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
62116 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
62117 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
62118 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
62119 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
62120 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
62121 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
62122 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
62123 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
62124 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
62125 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
62126 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
62127 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
62128 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
62129 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
62130 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
62131 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
62132 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
62133 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
62134 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
62135 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
62136 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
62137 * sysdeps/ieee754/s_lib_version.c: Likewise.
62138 * sysdeps/ieee754/s_matherr.c: Likewise.
62139 * sysdeps/ieee754/s_signgam.c: Likewise.
62140 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
62141 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62142 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
62143 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
62144 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
62145 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
62146 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
62147 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
62148 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
62149 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
62150 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
62151 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
62152 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
62153 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
62154 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
62155 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62156 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62157 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62158 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62159 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62160 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62161
62162 2012-03-09 Joseph Myers <joseph@codesourcery.com>
62163
62164 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
62165 * sunrpc/rpc_main.c: Likewise.
62166 * sunrpc/rpc_svcout.c: Likewise.
62167
62168 2012-03-09 David S. Miller <davem@davemloft.net>
62169
62170 * include/math_private.h: New file.
62171
62172 2012-03-09 Joseph Myers <joseph@codesourcery.com>
62173
62174 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
62175 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
62176 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
62177 from <bits/socket_type.h>.
62178 (enum __socket_type): Don't define here.
62179 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
62180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62181 bits/socket_type.h.
62182
62183 [BZ #13566]
62184 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
62185 checking __USE_GNU.
62186
62187 * Makerules ($(inst_includedir)/%.h): New rule.
62188 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
62189 (install-others): Remove variable setting.
62190 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
62191
62192 2012-03-08 Richard Henderson <rth@twiddle.net>
62193
62194 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
62195 from macro to inline function; merge with the
62196 !__LIBC_INTERNAL_MATH_INLINES version.
62197 (__ieee754_sqrtf): Likewise.
62198
62199 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
62200 to inline function.
62201 (__rintf, __floor, __floorf): Likewise.
62202
62203 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
62204 macro to inline function.
62205 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
62206
62207 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
62208 not <math/math_private.h>.
62209
62210 2012-03-08 David S. Miller <davem@davemloft.net>
62211
62212 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
62213 copyright year.
62214 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
62215
62216 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
62217
62218 * resolv/gai_misc.c (handle_requests): Fix struct timespec
62219 normalization.
62220 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
62221 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
62222
62223 2012-03-08 Ulrich Drepper <drepper@gmail.com>
62224
62225 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
62226 be defined individually, they must be defined as a block. Define
62227 S for printing a string instead of hidint the different by using a
62228 macro for adding the 'l'.
62229 * stdio-common/tst-fphex-wide.c: Adjust.
62230
62231 2012-03-07 Marek Polacek <polacek@redhat.com>
62232
62233 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
62234
62235 2012-03-08 Marek Polacek <polacek@redhat.com>
62236
62237 [BZ #13806]
62238 * stdio-common/Makefile (tests): Add tst-fphex-wide.
62239 * stdio-common/tst-fphex.c: Define a few macros to make the
62240 test reusable. Use them.
62241 * stdio-common/tst-fphex-wide.c: New file.
62242
62243 2012-03-08 Joseph Myers <joseph@codesourcery.com>
62244
62245 [BZ #6911]
62246 * manual/macros.texi (gnusystems): New macro.
62247 (nongnusystems): Likewise.
62248 (gnulinuxhurdsystems): Likewise.
62249 (gnuhurdsystems): Likewise..
62250 (gnulinuxsystems): Likewise.
62251 * manual/charset.texi: Use new macros or @theglibc{} to refer to
62252 variants of the GNU system, not "GNU system".
62253 * manual/conf.texi: Likewise.
62254 * manual/errno.texi: Likewise. Update example of errno macro
62255 expansion.
62256 * manual/filesys.texi: Likewise.
62257 (getumask): Document as specific to GNU/Hurd.
62258 * manual/install.texi: Likewise. Reword some references to
62259 GNU/Linux.
62260 * manual/intro.texi: Likewise.
62261 * manual/io.texi: Likewise.
62262 (File Name Portability): Detail which constraints are inapplicable
62263 to all GNU systems and which are only inapplicable to GNU/Hurd.
62264 * manual/job.texi: Likewise.
62265 * manual/llio.texi: Likewise.
62266 (O_NOCTTY): Document as present on GNU/Linux.
62267 * manual/maint.texi: Likewise.
62268 * manual/memory.texi: Likewise.
62269 * manual/pattern.texi: Likewise.
62270 * manual/pipe.texi: Likewise.
62271 * manual/process.texi: Likewise.
62272 * manual/resource.texi: Likewise.
62273 (RUSAGE_CHILDREN): Remove statement about specifying a particular
62274 child on GNU/Hurd.
62275 * manual/setjmp.texi: Likewise.
62276 * manual/signal.texi: Likewise.
62277 * manual/startup.texi: Likewise.
62278 * manual/stdio.texi: Likewise.
62279 * manual/terminal.texi: Likewise.
62280 (ONLCR): Document as POSIX.
62281 (OXTABS): Document availability on GNU/Linux as XTABS.
62282 (ONOEOT): Document availability separately from other bits.
62283 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
62284 * manual/time.texi: Likewise.
62285 * manual/users.texi: Likewise.
62286 * INSTALL: Regenerated.
62287 * sysdeps/gnu/errlist.c: Regenerated.
62288
62289 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
62290 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
62291 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
62292 puts.
62293 * configure: Regenerated.
62294
62295 2012-03-07 Joseph Myers <joseph@codesourcery.com>
62296
62297 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
62298 default includes instead of AC_HEADER_CHECK.
62299 * sysdeps/i386/configure: Regenerated.
62300
62301 [BZ #10716]
62302 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
62303 * math/s_cacoshf.c (__cacoshf): Likewise.
62304 * math/s_cacoshl.c (__cacoshl): Likewise.
62305 * math/s_casinh.c (__casinh): Set signs of result from argument.
62306 * math/s_casinhf.c (__casinhf): Likewise.
62307 * math/s_casinhl.c (__casinhl): Likewise.
62308 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
62309 (casinh_test): Add more tests.
62310 * sysdeps/i386/fpu/libm-test-ulps: Update.
62311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62312
62313 2012-03-07 Ulrich Drepper <drepper@gmail.com>
62314
62315 * po/zh_TW.po: Update from translation team.
62316
62317 * login/Makefile (distribute): Remove variable.
62318 * catgets/Makefile: Likewise.
62319 * mach/Makefile: Likewise.
62320 * malloc/Makefile: Likewise.
62321 * misc/Makefile: Likewise.
62322 * iconv/Makefile: Likewise.
62323 * nscd/Makefile: Likewise.
62324 * hurd/Makefile: Likewise.
62325 * manual/Makefile: Likewise.
62326 * locale/Makefile: Likewise.
62327 * intl/Makefile: Likewise.
62328 * conform/Makefile: Likewise.
62329 * nss/Makefile: Likewise.
62330 * time/Makefile: Likewise.
62331 * soft-fp/Makefile: Likewise.
62332 * dirent/Makefile: Likewise.
62333 * gmon/Makefile: Likewise.
62334 * po/Makefile: Likewise.
62335 * rt/Makefile: Likewise.
62336 * socket/Makefile: Likewise.
62337 * math/Makefile: Likewise.
62338 * signal/Makefile: Likewise.
62339 * debug/Makefile: Likewise.
62340 * elf/Makefile: Likewise.
62341 * timezone/Makefile: Likewise.
62342 * stdlib/Makefile: Likewise.
62343 * iconvdata/Makefile: Likewise.
62344 * sunrpc/Makefile: Likewise.
62345 * io/Makefile: Likewise.
62346 * argp/Makefile: Likewise.
62347 * inet/Makefile: Likewise.
62348 * hesiod/Makefile: Likewise.
62349 * grp/Makefile: Likewise.
62350 * csu/Makefile: Likewise.
62351 * wctype/Makefile: Likewise.
62352 * crypt/Makefile: Likewise.
62353 * libio/Makefile: Likewise.
62354 * string/Makefile: Likewise.
62355 * nis/Makefile: Likewise.
62356 * resolv/Makefile: Likewise.
62357 * stdio-common/Makefile: Likewise.
62358 * wcsmbs/Makefile: Likewise.
62359 * dlfcn/Makefile: Likewise.
62360 * posix/Makefile: Likewise.
62361
62362 [BZ #6959]
62363 * timezone/Makefile: Don't install timezone files, just the programs
62364 and scripts.
62365
62366 2012-03-06 Ulrich Drepper <drepper@gmail.com>
62367
62368 * nss/databases.def: Add missing gshadow entry.
62369
62370 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
62371
62372 2012-03-06 Marek Polacek <polacek@redhat.com>
62373
62374 [BZ #13726]
62375 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
62376 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62377 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
62378 * stdio-common/tst-long-dbl-fphex.c: New file.
62379
62380 2012-03-06 David S. Miller <davem@davemloft.net>
62381
62382 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62383 (set_obp_int): New function.
62384 (get_obp_int): New function.
62385 (__get_clockfreq_via_dev_openprom): Likewise.
62386 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
62387 Avoid unused variable warnings on 'val' and use builtin_expect.
62388 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
62389 __builtin_expect.
62390 (INLINE_CLONE_SYSCALL): Likewise.
62391
62392 2012-03-05 David S. Miller <davem@davemloft.net>
62393
62394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62395
62396 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
62397
62398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62399
62400 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
62401 only for |x| >= 40.
62402 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62403
62404 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
62405
62406 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
62407 Replace gettimeofday with __vdso_gettimeofday.
62408
62409 * sysdeps/unix/sysv/linux/x86_64/init-first.c
62410 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
62411 __vdso_clock_gettime and __vdso_getcpu.
62412
62413 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
62414 time with __vdso_time.
62415
62416 2012-03-05 Joseph Myers <joseph@codesourcery.com>
62417
62418 * manual/lang.texi (size_t): Note types to which size_t may be
62419 equivalent with the GNU C Library, but do not describe when
62420 differences between them are significant.
62421
62422 2012-03-05 Andreas Jaeger <aj@suse.de>
62423
62424 * sysdeps/i386/fpu/libm-test-ulps: Update.
62425
62426 2012-03-05 Joseph Myers <joseph@codesourcery.com>
62427
62428 [BZ #3976]
62429 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
62430 (__ieee754_pow): Save and restore rounding mode and use
62431 round-to-nearest for main computations.
62432 * math/libm-test.inc (pow_test_tonearest): New function.
62433 (pow_test_towardzero): Likewise.
62434 (pow_test_downward): Likewise.
62435 (pow_test_upward): Likewise.
62436 (main): Call the new functions.
62437 * sysdeps/i386/fpu/libm-test-ulps: Update.
62438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62439
62440 [BZ #3976]
62441 * math/libm-test.inc (cosh_test_tonearest): New function.
62442 (cosh_test_towardzero): Likewise.
62443 (cosh_test_downward): Likewise.
62444 (cosh_test_upward): Likewise.
62445 (sinh_test_tonearest): Likewise.
62446 (sinh_test_towardzero): Likewise.
62447 (sinh_test_downward): Likewise.
62448 (sinh_test_upward): Likewise.
62449 (main): Call the new functions.
62450 * sysdeps/i386/fpu/libm-test-ulps: Update.
62451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62452
62453 2012-03-05 Tom de Vries <tom@codesourcery.com>
62454
62455 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
62456 default stack guard is set in last bytes.
62457 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
62458
62459 2012-03-05 Kees Cook <keescook@chromium.org>
62460
62461 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
62462
62463 [BZ #13656]
62464 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
62465 possibly allocate from heap instead of stack.
62466 * stdio-common/bug-vfprintf-nargs.c: New file.
62467 * stdio-common/Makefile (tests): Add nargs overflow test.
62468
62469 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
62470
62471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62472
62473 2012-03-03 Marek Polacek <polacek@redhat.com>
62474
62475 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
62476 * math/math_private.h: Likewise.
62477 * stdlib/tst-strtod.c: Likewise.
62478 * sysdeps/i386/i486/bits/atomic.h: Likewise.
62479 * sysdeps/x86_64/bits/atomic.h: Likewise.
62480
62481 2012-03-02 David S. Miller <davem@davemloft.net>
62482
62483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
62484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
62485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
62486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
62487 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
62488 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
62489 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
62490 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
62491
62492 2012-03-02 Roland McGrath <roland@hack.frob.com>
62493
62494 [BZ #13792]
62495 * manual/examples/README: New file, says the example source files
62496 can be used under GPL>=2.
62497 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
62498 line containing just "*/".
62499 * manual/examples/add.c: Add copyright header (GPL>=2).
62500 * manual/examples/argp-ex1.c: Likewise.
62501 * manual/examples/argp-ex2.c: Likewise.
62502 * manual/examples/argp-ex3.c: Likewise.
62503 * manual/examples/argp-ex4.c: Likewise.
62504 * manual/examples/atexit.c: Likewise.
62505 * manual/examples/db.c: Likewise.
62506 * manual/examples/dir.c: Likewise.
62507 * manual/examples/dir2.c: Likewise.
62508 * manual/examples/execinfo.c: Likewise.
62509 * manual/examples/filecli.c: Likewise.
62510 * manual/examples/filesrv.c: Likewise.
62511 * manual/examples/fmtmsgexpl.c: Likewise.
62512 * manual/examples/genpass.c: Likewise.
62513 * manual/examples/inetcli.c: Likewise.
62514 * manual/examples/inetsrv.c: Likewise.
62515 * manual/examples/isockad.c: Likewise.
62516 * manual/examples/longopt.c: Likewise.
62517 * manual/examples/memopen.c: Likewise.
62518 * manual/examples/memstrm.c: Likewise.
62519 * manual/examples/mkfsock.c: Likewise.
62520 * manual/examples/mkisock.c: Likewise.
62521 * manual/examples/mygetpass.c: Likewise.
62522 * manual/examples/pipe.c: Likewise.
62523 * manual/examples/popen.c: Likewise.
62524 * manual/examples/rprintf.c: Likewise.
62525 * manual/examples/search.c: Likewise.
62526 * manual/examples/select.c: Likewise.
62527 * manual/examples/setjmp.c: Likewise.
62528 * manual/examples/sigh1.c: Likewise.
62529 * manual/examples/sigusr.c: Likewise.
62530 * manual/examples/stpcpy.c: Likewise.
62531 * manual/examples/strdupa.c: Likewise.
62532 * manual/examples/strftim.c: Likewise.
62533 * manual/examples/strncat.c: Likewise.
62534 * manual/examples/subopt.c: Likewise.
62535 * manual/examples/swapcontext.c: Likewise.
62536 * manual/examples/termios.c: Likewise.
62537 * manual/examples/testopt.c: Likewise.
62538 * manual/examples/testpass.c: Likewise.
62539 * manual/examples/timeval_subtract.c: Likewise.
62540
62541 [BZ #13792]
62542 * manual/time.texi (Elapsed Time): Move timeval_subtract example
62543 function to ...
62544 * manual/timeval_subtract.c.texi: ... here, new file.
62545
62546 2012-03-02 David S. Miller <davem@davemloft.net>
62547
62548 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
62549
62550 2012-03-02 Joseph Myers <joseph@codesourcery.com>
62551
62552 [BZ #3976]
62553 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
62554 (__sin): Save and restore rounding mode and use round-to-nearest
62555 for all computations.
62556 (__cos): Save and restore rounding mode and use round-to-nearest
62557 for all computations.
62558 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
62559 <fenv.h>.
62560 (tan): Save and restore rounding mode and use round-to-nearest for
62561 all computations.
62562 * math/libm-test.inc (cos_test_tonearest): New function.
62563 (cos_test_towardzero): Likewise.
62564 (cos_test_downward): Likewise.
62565 (cos_test_upward): Likewise.
62566 (sin_test_tonearest): Likewise.
62567 (sin_test_towardzero): Likewise.
62568 (sin_test_downward): Likewise.
62569 (sin_test_upward): Likewise.
62570 (tan_test_tonearest): Likewise.
62571 (tan_test_towardzero): Likewise.
62572 (tan_test_downward): Likewise.
62573 (tan_test_upward): Likewise.
62574 (main): Call the new functions.
62575 * sysdeps/i386/fpu/libm-test-ulps: Update.
62576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62577
62578 [BZ #10135]
62579 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
62580 small n, then large n, before computing and testing k+n.
62581 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
62582 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
62583 Likewise.
62584 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
62585 Likewise.
62586 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
62587 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
62588 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
62589 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
62590 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
62591 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
62592 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
62593 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
62594 * math/libm-test.inc (scalbn_test): Add more tests.
62595 (scalbln_test): Likewise.
62596
62597 * manual/filesys.texi (mode_t): Describe constraints on size and
62598 signedness, not exact equivalence to a particular type.
62599 (ino_t): Likewise.
62600 (ino64_t): Likewise.
62601 (dev_t): Likewise.
62602 (nlink_t): Likewise.
62603 (blkcnt_t): Likewise.
62604 (blkcnt64_t): Likewise.
62605 * manual/llio.texi (off_t): Likewise.
62606
62607 [BZ #3976]
62608 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
62609 (__ieee754_exp): Save and restore rounding mode and use
62610 round-to-nearest for all computations.
62611 * math/libm-test.inc (exp_test_tonearest): New function.
62612 (exp_test_towardzero): Likewise.
62613 (exp_test_downward): Likewise.
62614 (exp_test_upward): Likewise.
62615 (main): Call the new functions.
62616 * sysdeps/i386/fpu/libm-test-ulps: Update.
62617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62618
62619 2012-03-01 Chris Demetriou <cgd@google.com>
62620
62621 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
62622 have predictable order.
62623
62624 2012-03-01 David S. Miller <davem@davemloft.net>
62625
62626 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
62627
62628 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
62629 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
62630 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
62631 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
62632
62633 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
62634 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
62635 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
62636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
62637 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
62638 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
62639 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
62640 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
62641 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
62642
62643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62644
62645 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
62646 * sysdeps/sparc/fpu/libm-test-ulps: to here.
62647 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
62648
62649 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
62650 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
62651 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
62652 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
62653 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
62654 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
62655 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
62656 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
62657 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
62658 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
62659 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
62660 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62661 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
62662 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
62663 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62664 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62665 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
62666 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
62667 * sysdeps/sparc/elf/configure: Regenerated.
62668
62669 2012-03-01 Joseph Myers <joseph@codesourcery.com>
62670
62671 * configure.in (AS, LD): Require binutils 2.20 or later.
62672 * configure: Regenerated.
62673 * manual/install.texi (Tools for Compilation): Give binutils 2.20
62674 as required minimum version.
62675 * INSTALL: Regenerated.
62676
62677 [BZ #2541]
62678 [BZ #4108]
62679 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
62680 before squaring exponent.
62681 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
62682 bottom long double and 27 bits of top long double before squaring
62683 exponent.
62684 * math/libm-test.inc (erfc_test): Add more tests.
62685 * sysdeps/i386/fpu/libm-test-ulps: Update.
62686 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62688
62689 2012-03-01 Kai Tietz <ktietz@redhat.com>
62690
62691 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
62692 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
62693 containing bit-fields.
62694 * soft-fp/extended.h (_FP_UNION_E): Likewise.
62695 * soft-fp/single.h (_FP_UNION_S): Likewise.
62696 * soft-fp/double.h (_FP_UNION_D): Likewise.
62697
62698 2012-02-29 Joseph Myers <joseph@codesourcery.com>
62699
62700 [BZ #13786]
62701 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
62702 not include ../strcmp.S.
62703 [USE_AS_STRNCASECMP_L]: Likewise.
62704 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
62705 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
62706 * sysdeps/i386/i686/multiarch/strncase_l-c.c
62707 (__strncasecmp_l_ia32): Define as alias to
62708 __strncasecmp_l_nonascii.
62709
62710 [BZ #5794]
62711 * math/libm-test.inc (expm1_test): Add test for bug 5794.
62712 * sysdeps/i386/fpu/libm-test-ulps: Update.
62713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62714
62715 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
62716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62717
62718 2012-02-29 Jeff Law <law@redhat.com>
62719
62720 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
62721 out of bounds read.
62722
62723 2012-02-29 Marek Polacek <polacek@redhat.com>
62724
62725 [BZ #13706]
62726 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
62727 * elf/Makefile: Add rules to run tst-unused-dep.out.
62728
62729 2012-02-28 David S. Miller <davem@davemloft.net>
62730
62731 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
62732 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
62733 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
62734 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
62735 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
62736 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
62737
62738 2012-02-29 Joseph Myers <joseph@codesourcery.com>
62739
62740 * math/libm-test.inc (llround_test): Move one test from
62741 lround_test. Use TEST_f_L in moved test.
62742 (lround_test): Move misplaced test to llround_test. Add testcase
62743 from bug 2561.
62744
62745 2012-02-28 Ulrich Drepper <drepper@gmail.com>
62746
62747 * sysdeps/x86_64/fpu/e_expf.S: New file.
62748 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
62749
62750 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
62751
62752 [BZ #13637]
62753 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
62754 of remain_len that may cause incomplete multi-byte character and
62755 false match.
62756 * posix/bug-regex33.c: New file.
62757 * posix/Makefile (tests): Add bug-regex33.
62758
62759 2012-02-28 Joseph Myers <joseph@codesourcery.com>
62760
62761 * manual/macros.texi: New file.
62762 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
62763 * manual/libc.texinfo: Include macros.texi.
62764 * manual/creatute.texi: Likewise.
62765 * manual/install.texi: Likewise.
62766 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
62767 @glibcadj{} in references to the GNU C Library.
62768 * manual/charset.texi: Likewise.
62769 * manual/conf.texi: Likewise.
62770 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
62771 when not using those macros.
62772 * manual/creature.texi: Likewise.
62773 * manual/crypt.texi: Likewise.
62774 * manual/errno.texi: Likewise.
62775 * manual/filesys.texi: Likewise.
62776 * manual/header.texi: Likewise.
62777 * manual/install.texi: Likewise.
62778 * manual/intro.texi: Likewise.
62779 * manual/io.texi: Likewise.
62780 * manual/job.texi: Likewise.
62781 * manual/lang.texi: Likewise.
62782 * manual/libc.texiinfo: Likewise.
62783 * manual/llio.texi: Likewise.
62784 * manual/locale.texi: Likewise.
62785 * manual/maint.texi: Likewise.
62786 * manual/math.texi: Likewise.
62787 * manual/memory.texi: Likewise.
62788 * manual/message.texi: Likewise.
62789 * manual/nss.texi: Likewise.
62790 * manual/pattern.texi: Likewise.
62791 * manual/process.texi: Likewise.
62792 * manual/resource.texi: Likewise.
62793 * manual/search.texi: Likewise.
62794 * manual/setjmp.texi: Likewise.
62795 * manual/signal.texi: Likewise.
62796 * manual/socket.texi: Likewise.
62797 * manual/startup.texi: Likewise.
62798 * manual/stdio.texi: Likewise.
62799 * manual/string.texi: Likewise.
62800 * manual/sysinfo.texi: Likewise.
62801 * manual/syslog.texi: Likewise.
62802 * manual/terminal.texi: Likewise.
62803 * manual/time.texi: Likewise.
62804 * manual/users.texi: Likewise.
62805 * INSTALL: Regenerated.
62806 * NOTES: Regenerated.
62807 * sysdeps/gnu/errlist.c: Regenerated.
62808
62809 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
62810
62811 * include/dirent.h: Include <dirstream.h> before
62812 <dirent/dirent.h>.
62813
62814 2012-02-28 David S. Miller <davem@davemloft.net>
62815
62816 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
62817 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
62818 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
62819 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
62820
62821 2012-02-27 David S. Miller <davem@davemloft.net>
62822
62823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
62824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
62825 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
62826 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
62827
62828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
62829 frame pointer instead of stack pointer relative arg slot.
62830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
62831 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
62832 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
62833
62834 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
62835
62836 [BZ #3992]
62837 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
62838
62839 2012-02-27 David S. Miller <davem@davemloft.net>
62840
62841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
62842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
62843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
62844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
62845 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
62846 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
62847 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
62848 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
62849
62850 2012-02-27 Joseph Myers <joseph@codesourcery.com>
62851
62852 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
62853 later. Allow versions 5-9.
62854 * configure: Regenerated.
62855 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
62856 required minimum version and 4.6 as recommended version. Do not
62857 mention bugs in GCC 2.7 and 2.8.
62858 * INSTALL: Regenerated.
62859
62860 2012-02-27 David S. Miller <davem@davemloft.net>
62861
62862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
62863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
62864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
62865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
62866 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
62867 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
62868 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
62869 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
62870
62871 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
62872 manipulate bits before adding and subtracting TWO112[sx].
62873 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
62874
62875 2012-02-27 Roland McGrath <roland@hack.frob.com>
62876
62877 [BZ #13775]
62878 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
62879 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
62880 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
62881 being in POSIX, because they are in 1003.1-2008.
62882
62883 * rt/tst-aio.c: Include <fcntl.h>.
62884 * rt/tst-aio7.c: Likewise.
62885 * rt/tst-aio64.c: Likewise.
62886
62887 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
62888
62889 2012-02-27 Joseph Myers <joseph@codesourcery.com>
62890
62891 * manual/install.texi (--with-headers): Describe headers as
62892 interface headers, not private headers.
62893 (Specific advice for GNU/Linux systems): Describe use of headers
62894 from "make headers_install", not private headers from older
62895 kernels.
62896 * INSTALL: Regenerated.
62897 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
62898 Change to 2.6.19.
62899 * sysdeps/unix/sysv/linux/configure: Regenerated.
62900
62901 * manual/llio.texi (fclean): Remove documentation.
62902
62903 * manual/Makefile (libc-texi-generated): New variable. Include
62904 version.texi.
62905 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
62906 $(libc-texi-generated), not duplicated list of files.
62907 (version.texi, stamp-version): New rules.
62908 (realclean): Remove $(libc-texi-generated), not individual files
62909 from that list. Do not remove dir-add.texinfo.
62910 * manual/libc.texinfo: Comment out uses of edition numbers and
62911 references to printed manual. Remove last-updated dates.
62912 (EDITION): Comment out.
62913 (ISBN): Likewise.
62914 (VERSION, UPDATED): Remove.
62915 (version.texi): Include.
62916
62917 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
62918
62919 * sysdeps/posix/spawni.c: Include <signal.h>.
62920 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
62921 * sysdeps/pthread/aio_fsync.c: Likewise.
62922
62923 2012-02-26 Ulrich Drepper <drepper@gmail.com>
62924
62925 * conform/Makefile (tests): Run only when not cross-compiling and
62926 when fast-check is not defined.
62927
62928 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
62929 * conform/data/limits.h-data: Fixes for POSIX2008.
62930 * conform/run-conformtest.sh: Run all tests.
62931 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
62932 headers.
62933 * include/bits/dlfcn.h: Likewise.
62934 * include/langinfo.h: Likewise.
62935 * include/monetary.h: Likewise.
62936 * include/sys/poll.h: Likewise.
62937
62938 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
62939 for __USE_GNU.
62940 * posix/spawn.h: Define __need_sigset_t.
62941 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
62942 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
62943 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
62944 to get sigevent_t only.
62945 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
62946 only for __USE_GNU.
62947 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62948 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
62949 process_vm_writev only for __USE_GNU.
62950 * termios/termios.h: Declare tcgetsid also for POSIX2008.
62951
62952 * conform/Makefile: For now ignore errors from run-conformtest.
62953 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
62954 POSIX to avoid namespace pollution. Don't prepend headers.
62955 * conform/data/aio.h-data: Fixes for POSIX testing.
62956 * conform/data/fcntl.h-data: Likewise.
62957 * conform/data/glob.h-data: Likewise.
62958 * conform/data/grp.h-data: Likewise.
62959 * conform/data/pthread.h-data: Likewise.
62960 * conform/data/pwd.h-data: Likewise.
62961 * conform/data/signal.h-data: Likewise.
62962 * conform/data/spawn.h-data: Likewise.
62963 * conform/data/stdio.h-data: Likewise.
62964 * conform/data/stdlib.h-data: Likewise.
62965 * conform/data/stropts.h-data: Likewise.
62966 * conform/data/sys/mman.h-data: Likewise.
62967 * conform/data/sys/stat.h-data: Likewise.
62968 * conform/data/sys/types.h-data: Likewise.
62969 * conform/data/sys/wait.h-data: Likewise.
62970 * conform/data/time.h-data: Likewise.
62971 * conform/data/unistd.h-data: Likewise.
62972 * conform/data/utime.h-data: Likewise.
62973
62974 * io/sys/stat.h: fchmod was always in POSIX.
62975 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
62976 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
62977 * rt/aio.h: Define __need_timespec before including <time.h>.
62978 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
62979 struct. Add forward declaration of pthread_attr_t and use it in
62980 sigevent.
62981 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62982 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62983 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
62984 always remove CLK_TCK definition.
62985
62986 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
62987
62988 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
62989
62990 2012-02-25 Ulrich Drepper <drepper@gmail.com>
62991
62992 * conform/run-conformtest.sh: New file.
62993 * conform/Makefile: Run run-conformtest for tests.
62994 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
62995 support.
62996
62997 * conform/data/uchar.h-data: New file.
62998 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
62999 * conform/data/arpa/inet.h-data: Likewise.
63000 * conform/data/assert.h-data: Likewise.
63001 * conform/data/complex.h-data: Likewise.
63002 * conform/data/cpio.h-data: Likewise.
63003 * conform/data/ctype.h-data: Likewise.
63004 * conform/data/dirent.h-data: Likewise.
63005 * conform/data/dlfcn.h-data: Likewise.
63006 * conform/data/errno.h-data: Likewise.
63007 * conform/data/fcntl.h-data: Likewise.
63008 * conform/data/float.h-data: Likewise.
63009 * conform/data/fmtmsg.h-data: Likewise.
63010 * conform/data/fnmatch.h-data: Likewise.
63011 * conform/data/ftw.h-data: Likewise.
63012 * conform/data/glob.h-data: Likewise.
63013 * conform/data/grp.h-data: Likewise.
63014 * conform/data/iconv.h-data: Likewise.
63015 * conform/data/inttypes.h-data: Likewise.
63016 * conform/data/langinfo.h-data: Likewise.
63017 * conform/data/libgen.h-data: Likewise.
63018 * conform/data/limits.h-data: Likewise.
63019 * conform/data/locale.h-data: Likewise.
63020 * conform/data/math.h-data: Likewise.
63021 * conform/data/monetary.h-data: Likewise.
63022 * conform/data/mqueue.h-data: Likewise.
63023 * conform/data/ndbm.h-data: Likewise.
63024 * conform/data/net/if.h-data: Likewise.
63025 * conform/data/netdb.h-data: Likewise.
63026 * conform/data/netinet/in.h-data: Likewise.
63027 * conform/data/nl_types.h-data: Likewise.
63028 * conform/data/poll.h-data: Likewise.
63029 * conform/data/pthread.h-data: Likewise.
63030 * conform/data/pwd.h-data: Likewise.
63031 * conform/data/regex.h-data: Likewise.
63032 * conform/data/sched.h-data: Likewise.
63033 * conform/data/search.h-data: Likewise.
63034 * conform/data/semaphore.h-data: Likewise.
63035 * conform/data/setjmp.h-data: Likewise.
63036 * conform/data/signal.h-data: Likewise.
63037 * conform/data/spawn.h-data: Likewise.
63038 * conform/data/stdarg.h-data: Likewise.
63039 * conform/data/stdio.h-data: Likewise.
63040 * conform/data/stdlib.h-data: Likewise.
63041 * conform/data/string.h-data: Likewise.
63042 * conform/data/strings.h-data: Likewise.
63043 * conform/data/stropts.h-data: Likewise.
63044 * conform/data/sys/ipc.h-data: Likewise.
63045 * conform/data/sys/mman.h-data: Likewise.
63046 * conform/data/sys/msg.h-data: Likewise.
63047 * conform/data/sys/resource.h-data: Likewise.
63048 * conform/data/sys/select.h-data: Likewise.
63049 * conform/data/sys/sem.h-data: Likewise.
63050 * conform/data/sys/shm.h-data: Likewise.
63051 * conform/data/sys/socket.h-data: Likewise.
63052 * conform/data/sys/stat.h-data: Likewise.
63053 * conform/data/sys/statvfs.h-data: Likewise.
63054 * conform/data/sys/time.h-data: Likewise.
63055 * conform/data/sys/timeb.h-data: Likewise.
63056 * conform/data/sys/times.h-data: Likewise.
63057 * conform/data/sys/types.h-data: Likewise.
63058 * conform/data/sys/uio.h-data: Likewise.
63059 * conform/data/sys/un.h-data: Likewise.
63060 * conform/data/sys/utsname.h-data: Likewise.
63061 * conform/data/sys/wait.h-data: Likewise.
63062 * conform/data/syslog.h-data: Likewise.
63063 * conform/data/tar.h-data: Likewise.
63064 * conform/data/termios.h-data: Likewise.
63065 * conform/data/utime.h-data: Likewise.
63066 * conform/data/utmpx.h-data: Likewise.
63067 * conform/data/varargs.h-data: Likewise.
63068 * conform/data/wchar.h-data: Likewise.
63069 * conform/data/wctype.h-data: Likewise.
63070 * conform/data/wordexp.h-data: Likewise.
63071
63072 * include/stropts.h: New file.
63073 * include/uchar.h: New file.
63074 * include/aio.h: Changes to allow conformtest.pl to use the headers.
63075 * include/assert.h: Likewise.
63076 * include/ctype.h: Likewise.
63077 * include/dirent.h: Likewise.
63078 * include/dlfcn.h: Likewise.
63079 * include/fcntl.h: Likewise.
63080 * include/fnmatch.h: Likewise.
63081 * include/glob.h: Likewise.
63082 * include/grp.h: Likewise.
63083 * include/libio.h: Likewise.
63084 * include/locale.h: Likewise.
63085 * include/math.h: Likewise.
63086 * include/net/if.h: Likewise.
63087 * include/netdb.h: Likewise.
63088 * include/netinet/in.h: Likewise.
63089 * include/pthread.h: Likewise.
63090 * include/pwd.h: Likewise.
63091 * include/regex.h: Likewise.
63092 * include/sched.h: Likewise.
63093 * include/search.h: Likewise.
63094 * include/setjmp.h: Likewise.
63095 * include/signal.h: Likewise.
63096 * include/stdio.h: Likewise.
63097 * include/stdlib.h: Likewise.
63098 * include/string.h: Likewise.
63099 * include/sys/cdefs.h: Likewise.
63100 * include/sys/mman.h: Likewise.
63101 * include/sys/msg.h: Likewise.
63102 * include/sys/resource.h: Likewise.
63103 * include/sys/select.h: Likewise.
63104 * include/sys/socket.h: Likewise.
63105 * include/sys/stat.h: Likewise.
63106 * include/sys/statvfs.h: Likewise.
63107 * include/sys/time.h: Likewise.
63108 * include/sys/times.h: Likewise.
63109 * include/sys/uio.h: Likewise.
63110 * include/sys/utsname.h: Likewise.
63111 * include/sys/wait.h: Likewise.
63112 * include/termios.h: Likewise.
63113 * include/time.h: Likewise.
63114 * include/ulimit.h: Likewise.
63115 * include/unistd.h: Likewise.
63116 * include/utime.h: Likewise.
63117 * include/wchar.h: Likewise.
63118 * include/wctype.h: Likewise.
63119 * include/wordexp.h: Likewise.
63120
63121 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
63122
63123 * time/time.h: TIME_UTC must be a macro.
63124 Make timespec_get available for ISO C11 only as well.
63125
63126 2012-02-24 Ulrich Drepper <drepper@gmail.com>
63127
63128 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
63129 Reported by Peng Haitao <penght@cn.fujitsu.com>.
63130
63131 2012-02-24 Joseph Myers <joseph@codesourcery.com>
63132
63133 * configure.in: Use -o not -a in test for unsupported multi-arch.
63134
63135 2012-02-24 Joseph Myers <joseph@codesourcery.com>
63136
63137 * manual/texinfo.tex: Update to version 2012-01-19.16.
63138
63139 2012-02-24 Joseph Myers <joseph@codesourcery.com>
63140
63141 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
63142
63143 2012-02-24 Roland McGrath <roland@hack.frob.com>
63144
63145 [BZ #13738]
63146 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
63147 * manual/fdl-1.3.texi: New file.
63148 * manual/fdl-1.1.texi: File removed.
63149
63150 [BZ #13738]
63151 * manual/libc.texinfo (FDL_VERSION): New @set.
63152 Use it for mention of FDL in cover text.
63153 (Documentation License): Use it in @include file name.
63154
63155 2012-02-22 Joseph Myers <joseph@codesourcery.com>
63156 Roland McGrath <roland@hack.frob.com>
63157
63158 [BZ #5461]
63159 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
63160 (not LONG_LONG_MAX and LONG_LONG_MIN.
63161 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
63162 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
63163 name.
63164 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
63165
63166 2012-02-22 Joseph Myers <joseph@codesourcery.com>
63167
63168 [BZ #2547]
63169 [BZ #11365]
63170 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
63171 manipulate bits before adding and subtracting TWO23[sx].
63172 * math/libm-test.inc (nearbyint_test): Add more tests.
63173
63174 2012-02-22 Joseph Myers <joseph@codesourcery.com>
63175
63176 [BZ #2548]
63177 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
63178 bits before adding and subtracting TWO23[sx].
63179 * math/libm-test.inc (rint_test): Add more tests.
63180 (rint_test_tonearest): Likewise.
63181 (rint_test_towardzero): Likewise.
63182 (rint_test_downward): Likewise.
63183 (rint_test_upward: Likewise.
63184
63185 2012-02-22 Joseph Myers <joseph@codesourcery.com>
63186
63187 [BZ #10110]
63188 * include/stdc-predef.h: New file. Extracted from features.h.
63189 * include/features.h: Include stdc-predef.h.
63190 * Makefile (headers): Add stdc-predef.h.
63191 * CONFORMANCE (Compiler limitations): Update.
63192
63193 2012-02-22 Joseph Myers <joseph@codesourcery.com>
63194
63195 * manual/libc.texinfo (VERSION, UPDATED): Revert.
63196
63197 2012-02-21 David S. Miller <davem@davemloft.net>
63198
63199 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
63200 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63201
63202 2012-02-20 David S. Miller <davem@davemloft.net>
63203
63204 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
63205 using a normal save/restore sequence, rather than allocating a
63206 dummy stack frame just to store a frame pointer and restore.
63207 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63208
63209 2012-02-21 Joseph Myers <joseph@codesourcery.com>
63210
63211 * manual/install.texi: Fix stray word in line-wrapped comment.
63212
63213 2012-02-20 David S. Miller <davem@davemloft.net>
63214
63215 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
63216 both binutils and gcc support GOTDATA.
63217
63218 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
63219 "rd %pc" in the PIC register setup sequences.
63220
63221 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
63222 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
63223 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63224 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
63225 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63226 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
63227 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63228 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63229 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
63230 (SYSCALL_ERROR_HANDLER): Likewise.
63231 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63232 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63233 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
63234 (SYSCALL_ERROR_HANDLER): Likewise.
63235
63236 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
63237 (HAVE_GCC_GOTDATA): New.
63238 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
63239 relocation support in both binutils and gcc.
63240 * sysdeps/sparc/elf/configure: Regenerate.
63241
63242 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
63243 * sysdeps/sparc/sparc32/elf/configure: Delete.
63244 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
63245 * sysdeps/sparc/sparc64/elf/configure: Delete.
63246 * sysdeps/sparc/elf/configure.in: New file.
63247 * sysdeps/sparc/elf/configure: Generate.
63248
63249 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
63250 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
63251 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
63252 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
63253 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
63254
63255 2012-02-21 Joseph Myers <joseph@codesourcery.com>
63256
63257 * manual/install.texi: Do not mention specific glibc version
63258 numbers.
63259 * manual/libc.texinfo (VERSION, UPDATED): Update.
63260 (@copying): Use @copyright{} and range of years.
63261
63262 2012-02-21 Joseph Myers <joseph@codesourcery.com>
63263
63264 [BZ #13695]
63265 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
63266 [crti.S not in sysdirs] (generated): Do not append.
63267 [crti.S not in sysdirs] (omit-deps): Likewise.
63268 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
63269 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
63270 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
63271 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
63272 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
63273 Likewise.
63274 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
63275 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
63276 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
63277 * csu/defs.awk: Remove file.
63278 * sysdeps/generic/initfini.c: Likewise.
63279 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
63280 variable.
63281 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
63282 Likewise.
63283
63284 2012-02-20 Joseph Myers <joseph@codesourcery.com>
63285
63286 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
63287 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
63288 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
63289 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
63290 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63291 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
63292 <bits/epoll.h>.
63293 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
63294 (__EPOLL_PACKED): Define to empty if not defined by
63295 <bits/epoll.h>.
63296 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
63297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63298 bits/epoll.h.
63299
63300 2012-02-20 Joseph Myers <joseph@codesourcery.com>
63301
63302 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
63303 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
63304 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
63305 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
63306 <bits/timerfd.h>.
63307 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
63308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63309 bits/timerfd.h.
63310
63311 2012-02-20 Joseph Myers <joseph@codesourcery.com>
63312
63313 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
63314 in C locale.
63315 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63316 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63317 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
63318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63319
63320 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
63321
63322 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63323 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63324
63325 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
63326
63327 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
63328 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
63329 defined.
63330 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
63331 Likewise.
63332 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
63333 entry for 2.16.
63334
63335 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
63336
63337 * math/w_acos.c: Use non-signaling floating-point comparisons.
63338 * math/w_acosf.c: Likewise.
63339 * math/w_acosh.c: Likewise.
63340 * math/w_acoshf.c: Likewise.
63341 * math/w_acoshl.c: Likewise.
63342 * math/w_acosl.c: Likewise.
63343 * math/w_asin.c: Likewise.
63344 * math/w_asinf.c: Likewise.
63345 * math/w_asinl.c: Likewise.
63346 * math/w_atanh.c: Likewise.
63347 * math/w_atanhf.c: Likewise.
63348 * math/w_atanhl.c: Likewise.
63349 * math/w_exp2.c: Likewise.
63350 * math/w_exp2f.c: Likewise.
63351 * math/w_exp2l.c: Likewise.
63352 * math/w_j0.c: Likewise.
63353 * math/w_j0f.c: Likewise.
63354 * math/w_j0l.c: Likewise.
63355 * math/w_j1.c: Likewise.
63356 * math/w_j1f.c: Likewise.
63357 * math/w_j1l.c: Likewise.
63358 * math/w_jn.c: Likewise.
63359 * math/w_jnf.c: Likewise.
63360 * math/w_log.c: Likewise.
63361 * math/w_log10.c: Likewise.
63362 * math/w_log10f.c: Likewise.
63363 * math/w_log10l.c: Likewise.
63364 * math/w_log2.c: Likewise.
63365 * math/w_log2f.c: Likewise.
63366 * math/w_log2l.c: Likewise.
63367 * math/w_logf.c: Likewise.
63368 * math/w_logl.c: Likewise.
63369 * math/w_sqrt.c: Likewise.
63370 * math/w_sqrtf.c: Likewise.
63371 * math/w_sqrtl.c: Likewise.
63372 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63373 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
63374 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63375 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
63376 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
63377
63378 2012-02-19 Joseph Myers <joseph@codesourcery.com>
63379
63380 [BZ #9739]
63381 * manual/string.texi (strnlen): Use correct parameter name in
63382 equivalent expression.
63383
63384 2012-02-19 Joseph Myers <joseph@codesourcery.com>
63385
63386 [BZ #11174]
63387 * manual/users.texi (seteuid): Consistently use neweuid for
63388 argument name.
63389
63390 2012-02-19 Joseph Myers <joseph@codesourcery.com>
63391
63392 [BZ #13704]
63393 * manual/nss.texi (Services in the NSS configuration): Correct
63394 list of services in example configuration file.
63395
63396 2012-02-19 Nick Bowler <nbowler@draconx.ca>
63397
63398 [BZ #11322]
63399 * manual/arith.texi: Remove statements about negative zero
63400 behaving identically to zero.
63401
63402 2012-02-18 Joseph Myers <joseph@codesourcery.com>
63403
63404 [BZ #5993]
63405 * manual/install.texi: Do not document upgrading from libc5.
63406
63407 2012-02-18 Joseph Myers <joseph@codesourcery.com>
63408
63409 [BZ #4596]
63410 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
63411
63412 2012-02-18 David S. Miller <davem@davemloft.net>
63413
63414 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
63415 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
63416 %o7 across the call.
63417 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
63418 instead.
63419 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
63420 SETUP_PIC_REG_LEAF.
63421 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63422 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
63423 * sysdeps/sparc/crtn.S: Likewise.
63424
63425 2012-02-17 Ulrich Drepper <drepper@gmail.com>
63426
63427 * aout/Makefile: Remove.
63428
63429 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
63430
63431 [BZ #13058]
63432 * manual/examples/argp-ex1.c (main): Format definition in GNU
63433 style.
63434 * manual/examples/argp-ex2.c (main): Likewise.
63435 * manual/examples/argp-ex3.c (main): Likewise.
63436 * manual/examples/argp-ex4.c (main): Likewise.
63437 * manual/examples/longopt.c (main): Use new-style prototype
63438 definition.
63439 * manual/examples/strncat.c (main): Specify return type and use
63440 (void) for arguments.
63441 * manual/examples/subopt.c (main): Use char **argv argument.
63442
63443 2012-02-17 Joseph Myers <joseph@codesourcery.com>
63444
63445 [BZ #5077]
63446 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
63447 rounding modes.
63448
63449 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
63450
63451 [BZ #6907]
63452 * manual/string.texi (strchr): Change when strchrnul is
63453 recommended.
63454
63455 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
63456
63457 [BZ #174]
63458 * manual/locale.texi (setlocale): Document LOCPATH.
63459
63460 2012-02-17 Joseph Myers <joseph@codesourcery.com>
63461
63462 [BZ #10210]
63463 * manual/process.texi (execle): Move @dots{} before last argument.
63464
63465 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
63466
63467 [BZ #12047]
63468 * manual/charset.texi (Generic Charset Conversion): Fix typo
63469 (LC_TYPE -> LC_CTYPE).
63470
63471 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
63472
63473 [BZ #5805]
63474 * manual/arith.texi (scalbn): Use @var{} on parameter names.
63475 (scalbnf): Likewise.
63476 (scalbnl): Likewise.
63477 (scalbln): Likewise.
63478 (scalblnf): Likewise.
63479 (scalblnl): Likewise.
63480 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
63481 (vwarnx): Likewise.
63482 (verr): Likewise.
63483 (verrx): Likewise.
63484 * manual/filesys.texi (telldir): Use braces around return type.
63485 * manual/llio.texi (mmap): Add space after comma.
63486 (mmap64): Likewise.
63487 * manual/math.texi (jn): Use @var{} on parameter names.
63488 (jnf): Likewise.
63489 (jnl): Likewise.
63490 (yn): Likewise.
63491 (ynf): Likewise.
63492 (ynl): Likewise.
63493 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
63494 line.
63495 * manual/resource.texi (ulimit): Use @dots{} instead of literal
63496 "...".
63497 (sched_get_priority_min): Remove semicolon on @deftypefun line.
63498 (sched_get_priority_max): Likewise.
63499 * manual/signal.texi (sigvec): Add space after comma.
63500 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
63501 names.
63502 (if_indextoname): Likewise.
63503 (if_freenameindex): Likewise.
63504 (sendto): Use ',' instead of '.' in prototype.
63505 * manual/startup.texi (syscall): Use @dots{} instead of literal
63506 "...".
63507 * manual/stdio.texi (__fpending): Separate initial words of
63508 paragraph from @deftypefun line.
63509 * manual/syslog.texi (syslog): Use @dots{} instead of literal
63510 "...".
63511 (vsyslog): Use @var{} on parameter names.
63512 * manual/terminal.texi (stty): Use @var{} on parameter names.
63513 * manual/users.texi (getutmp): Use @var{} on parameter names.
63514 (getutmpx): Likewise.
63515
63516 2012-02-17 Joseph Myers <joseph@codesourcery.com>
63517
63518 [BZ #6884]
63519 * manual/stdio.texi (fopen): Fix typos in description of
63520 ",ccs=STRING".
63521
63522 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
63523
63524 [BZ #4026]
63525 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
63526 get clock_id definition.
63527
63528 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
63529
63530 [BZ #4822]
63531 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
63532 (madvise): Cast every argument to void on its own.
63533
63534 2012-02-17 Joseph Myers <joseph@codesourcery.com>
63535
63536 [BZ #9902]
63537 * manual/startup.texi (Exit Status): Fix typo.
63538
63539 2012-02-17 Joseph Myers <joseph@codesourcery.com>
63540
63541 [BZ #10140]
63542 * manual/examples/argp-ex1.c: Include <stdlib.h>.
63543 * manual/examples/argp-ex2.c: Likewise.
63544 * manual/examples/argp-ex3.c: Likewise.
63545
63546 2012-02-16 Richard Henderson <rth@redhat.com>
63547
63548 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
63549 * sysdeps/s390/s390-32/initfini.c: Remove.
63550 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
63551 * sysdeps/s390/s390-64/initfini.c: Remove.
63552
63553 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
63554
63555 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
63556 compiler output for sysdeps/generic/initfini.c.
63557 * sysdeps/sh/elf/initfini.c: Remove file.
63558
63559 2012-02-16 David S. Miller <davem@davemloft.net>
63560
63561 [BZ #11494]
63562 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
63563
63564 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
63565 * sysdeps/sparc/crti.S: New file.
63566 * sysdeps/sparc/crtn.S: New file.
63567 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
63568 * sysdeps/sparc/sparc64/Makefile: Likewise.
63569
63570 2012-02-15 Mike Frysinger <vapier@gentoo.org>
63571
63572 [BZ #3335]
63573 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
63574
63575 2012-02-15 Roland McGrath <roland@hack.frob.com>
63576
63577 [BZ #4822]
63578 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
63579
63580 * mach/devstream.c (cookie_io_functions_t): Macro removed.
63581 (write, read, close): Likewise.
63582 Patch by Aurelien Jarno <aurelien@aurel32.net>.
63583
63584 2012-02-15 Joseph Myers <joseph@codesourcery.com>
63585
63586 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
63587 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
63588 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
63589 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
63590 <bits/signalfd.h>.
63591 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
63592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63593 bits/signalfd.h.
63594
63595 2012-02-14 Marek Polacek <polacek@redhat.com>
63596
63597 * sysdeps/x86_64/crti.S: New file.
63598 * sysdeps/x86_64/crtn.S: New file.
63599 * sysdeps/x86_64/elf/initfini.c: Remove file.
63600
63601 2012-02-13 Joseph Myers <joseph@codesourcery.com>
63602
63603 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
63604 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
63605 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
63606 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
63607 <bits/inotify.h>.
63608 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
63609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63610 bits/inotify.h.
63611
63612 2012-02-13 Joseph Myers <joseph@codesourcery.com>
63613
63614 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
63615 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
63616 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
63617 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
63618 <bits/eventfd.h>.
63619 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
63620 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63621 bits/eventfd.h.
63622
63623 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
63624
63625 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
63626 __feraiseexcept instead of feraiseexcept.
63627
63628 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
63629 nanosleep invocations.
63630 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
63631 strings, and add error checking for a nanosleep invocations.
63632
63633 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
63634
63635 Replace FSF snail mail address with URLs, as per GNU coding standards.
63636 Most of the snail mail addresses were wrong anyway, and omitting
63637 them makes the source code easier to maintain. Almost all of the
63638 changes are to license notices and to locale LC_IDENTIFICATION
63639 addresses, except for this one:
63640 * manual/libc.texinfo: In "Published by", give the FSF's URL,
63641 not its snail mail address.
63642
63643 2012-02-09 Richard Henderson <rth@twiddle.net>
63644
63645 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
63646 of kernel-features.h.
63647
63648 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
63649
63650 2012-02-08 Marek Polacek <polacek@redhat.com>
63651
63652 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
63653 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
63654 * sysdeps/gnu/_G_config.h: Likewise.
63655 * sysdeps/generic/_G_config.h: Likewise.
63656
63657 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
63658
63659 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
63660 tests.
63661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63662
63663 * sysdeps/powerpc/powerpc32/crti.S: New file.
63664 * sysdeps/powerpc/powerpc32/crtn.S: New file.
63665 * sysdeps/powerpc/powerpc64/crti.S: New file.
63666 * sysdeps/powerpc/powerpc64/crtn.S: New file.
63667
63668 * Makeconfig (have-initfini): Don't set.
63669 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
63670 * configure.in (nopic_initfini): Don't substitute.
63671 * config.h.in (HAVE_INITFINI): Don't #undef.
63672 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
63673 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
63674
63675 2012-02-08 Joseph Myers <joseph@codesourcery.com>
63676
63677 Support crti.S and crtn.S provided directly by architectures.
63678 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
63679 [crti.S in sysdirs] (omit-deps): Likewise.
63680 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
63681 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
63682 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
63683 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
63684 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
63685 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
63686 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
63687 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
63688 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
63689 compiler output for sysdeps/generic/initfini.c.
63690 * sysdeps/i386/elf/Makefile: Remove file.
63691 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
63692
63693 2012-02-07 Marek Polacek <polacek@redhat.com>
63694
63695 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
63696 * sysdeps/gnu/_G_config.h: Likewise.
63697 * sysdeps/mach/hurd/_G_config.h: Likewise.
63698
63699 2012-02-07 Marek Polacek <polacek@redhat.com>
63700
63701 * math/Makefile (tests): Add tst-CMPLX2.
63702 * math/tst-CMPLX2.c: New file.
63703
63704 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
63705
63706 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63707
63708 * math/libm-test.inc (jn_test): Add missing L suffix.
63709
63710 2012-02-06 Marek Polacek <polacek@redhat.com>
63711
63712 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
63713 * sysdeps/i386/fpu/e_powf.S: Likewise.
63714 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63715 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
63716 * sysdeps/i386/fpu/e_acosh.S: Likewise.
63717 * sysdeps/i386/fpu/e_pow.S: Likewise.
63718 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63719 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63720 * sysdeps/i386/fpu/s_expm1.S: Likewise.
63721 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63722 * sysdeps/i386/fpu/e_log2.S: Likewise.
63723 * sysdeps/i386/fpu/e_log2l.S: Likewise.
63724 * sysdeps/i386/fpu/e_scalb.S: Likewise.
63725 * sysdeps/i386/fpu/e_powl.S: Likewise.
63726 * sysdeps/i386/fpu/s_log1p.S: Likewise.
63727 * sysdeps/i386/fpu/e_log10f.S: Likewise.
63728 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63729 * sysdeps/i386/fpu/e_logl.S: Likewise.
63730 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63731 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
63732 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63733 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63734 * sysdeps/i386/fpu/e_log2f.S: Likewise.
63735 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63736 * sysdeps/i386/fpu/e_log.S: Likewise.
63737 * sysdeps/i386/fpu/s_cexp.S: Likewise.
63738 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63739 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
63740 * sysdeps/i386/fpu/e_logf.S: Likewise.
63741 * sysdeps/i386/fpu/e_log10l.S: Likewise.
63742 * sysdeps/i386/fpu/e_atanh.S: Likewise.
63743 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
63744 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63745 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
63746 * sysdeps/i386/fpu/e_log10.S: Likewise.
63747 * sysdeps/i386/fpu/s_frexp.S: Likewise.
63748 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63749 * sysdeps/i386/fpu/s_asinh.S: Likewise.
63750 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63751 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63752 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63753 * sysdeps/i386/asm-syntax.h: Likewise.
63754 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63755 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63756 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63757 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
63758 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
63759 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63760 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63761 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63762 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63763 * sysdeps/powerpc/sysdep.h: Likewise.
63764 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
63765 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63766
63767 2012-02-06 Joseph Myers <joseph@codesourcery.com>
63768
63769 [BZ #411]
63770 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
63771
63772 2012-02-06 Joseph Myers <joseph@codesourcery.com>
63773
63774 * sysdeps/i386/sysdep.h: Include <features.h>.
63775 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
63776 version.
63777
63778 2012-02-05 Joseph Myers <joseph@codesourcery.com>
63779
63780 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
63781 Define.
63782 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
63783 LOAD_PIC_REG_STR.
63784
63785 2012-02-03 Joseph Myers <joseph@codesourcery.com>
63786
63787 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
63788 (SETUP_PIC_REG): Use GET_PC_THUNK.
63789 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
63790 macro.
63791
63792 2012-02-03 Joseph Myers <joseph@codesourcery.com>
63793
63794 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
63795 for non-PIC compilation.
63796 (SETUP_PIC_REG): Add .p2align directive.
63797 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
63798 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
63799 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
63800 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
63801 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
63802 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
63803 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
63804 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63805 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
63806 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
63807 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
63808 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
63809 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
63810 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
63811 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
63812 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
63813 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
63814 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
63815 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
63816 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
63817 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63818 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
63819 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
63820 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
63821 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
63822 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
63823 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63824 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
63825 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
63826 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
63827 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
63828 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63829 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
63830 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
63831 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
63832 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
63833 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
63834 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
63835 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
63836 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
63837 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
63838
63839 2012-02-03 Joseph Myers <joseph@codesourcery.com>
63840
63841 * math/tst-CMPLX.c: Include <stdio.h>.
63842
63843 2012-01-31 Joseph Myers <joseph@codesourcery.com>
63844
63845 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
63846 float.
63847 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
63848 * sysdeps/sparc/bits/mathdef.h: Likewise.
63849
63850 2012-01-31 Marek Polacek <polacek@redhat.com>
63851
63852 * libio/libio.h: Don't define _PARAMS.
63853 * locale/programs/config.h: Don't define PARAMS.
63854 * stdlib/strtol_l.c: Likewise.
63855 (__strtol_l): Remove PARAMS from the prototype.
63856
63857 2012-01-31 Ulrich Drepper <drepper@gmail.com>
63858
63859 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
63860 names. Just use the correct names. Remove unnecessary wrapper
63861 functions.
63862 * malloc/arena.c: Likewise.
63863 * malloc/hooks.c: Likewise.
63864
63865 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
63866 ARENA_TEST says not to. Simplify test for creation of a new arena.
63867 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
63868
63869 2012-01-30 Ulrich Drepper <drepper@gmail.com>
63870
63871 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
63872 into tail calls.
63873 (update_get_addr): New function.
63874 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
63875 GET_ADDR_MODULE parameter.
63876
63877 2012-01-30 Joseph Myers <joseph@codesourcery.com>
63878
63879 * crypt/cert.c: Remove __STDC__ conditionals.
63880 * crypt/crypt-entry.c: Likewise.
63881 * crypt/crypt_util.c: Likewise.
63882 * libio/filedoalloc.c: Likewise.
63883 * libio/fileops.c: Likewise.
63884 * libio/genops.c: Likewise.
63885 * libio/iofclose.c: Likewise.
63886 * libio/iofdopen.c: Likewise.
63887 * libio/iofopen.c: Likewise.
63888 * libio/iofopen64.c: Likewise.
63889 * libio/iogetdelim.c: Likewise.
63890 * libio/iopopen.c: Likewise.
63891 * libio/obprintf.c: Likewise.
63892 * libio/oldfileops.c: Likewise.
63893 * libio/oldiofclose.c: Likewise.
63894 * libio/oldiofdopen.c: Likewise.
63895 * libio/oldiofopen.c: Likewise.
63896 * libio/oldiopopen.c: Likewise.
63897 * libio/wfiledoalloc.c: Likewise.
63898 * libio/wgenops.c: Likewise.
63899 * locale/programs/xmalloc.c: Likewise.
63900 * misc/syslog.c: Likewise.
63901 * stdio-common/xbug.c: Likewise.
63902 * string/memchr.c: Likewise.
63903 * string/memcmp.c: Likewise.
63904 * string/memrchr.c: Likewise.
63905 * string/rawmemchr.c: Likewise.
63906 * sysdeps/posix/getcwd.c: Likewise.
63907 * time/strftime_l.c: Likewise.
63908
63909 2012-01-30 Joseph Myers <joseph@codesourcery.com>
63910
63911 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
63912 * config.make.in (config-cflags-sse2avx): Define.
63913 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
63914 Fix typo.
63915
63916 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
63917
63918 * scripts/config.guess: Update from upstream config git repository.
63919 * scripts/config.sub: Likewise.
63920
63921 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
63922
63923 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
63924 (EM_NUM): Update.
63925 (R_TILEPRO_*, R_TILEGX_*): New macros.
63926
63927 * scripts/firstversions.awk: Fix bug in version range handling.
63928
63929 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
63930
63931 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
63932
63933 * include/sys/epoll.h: New file.
63934 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
63935 libc_hidden_def.
63936
63937 2012-01-28 Ulrich Drepper <drepper@gmail.com>
63938
63939 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
63940 Avoid unnecessary __WORDSIZE == 64 test.
63941 (fmaxf): Use VEX format if possible.
63942 (fmax): Likewise.
63943 (fminf): Likewise.
63944 (fmin): Likewise.
63945
63946 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
63947 * math/math_private.h: Remove libc_fegetround* and
63948 libc_fesetround*.
63949 * sysdeps/i386/configure.in: Check for -msse2avx.
63950 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
63951 also if SSE2AVX is defined.
63952 Remove libc_fegetround* and libc_fesetround*.
63953 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
63954 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
63955 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
63956 of HAS_YMM_USABLE.
63957 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63958 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63959 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63960 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63961 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63962
63963 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
63964
63965 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63966
63967 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
63968 size is not set.
63969 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63970
63971 2012-01-27 Ulrich Drepper <drepper@gmail.com>
63972
63973 [BZ #13618]
63974 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
63975 relocation.
63976 * Makeconfig (libm): Define.
63977 * elf/Makefile: Add rules to build and run tst-relsort1.
63978 * elf/tst-relsort1.c: New file.
63979 * elf/tst-relsort1mod1.c: New file.
63980 * elf/tst-relsort1mod2.c: New file.
63981
63982 2012-01-27 Joseph Myers <joseph@codesourcery.com>
63983
63984 * math/s_ldexp.c: Remove __STDC__ conditionals.
63985 * math/s_ldexpf.c: Likewise.
63986 * math/s_ldexpl.c: Likewise.
63987 * math/s_nextafter.c: Likewise.
63988 * math/s_nexttowardf.c: Likewise.
63989 * math/s_significand.c: Likewise.
63990 * math/s_significandf.c: Likewise.
63991 * math/s_significandl.c: Likewise.
63992 * math/w_jnl.c: Likewise.
63993 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63994 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63995 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63996 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63997 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63998 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63999 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
64000 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
64001 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
64002 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
64003 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
64004 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64005 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
64006 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
64007 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
64008 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
64009 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
64010 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
64011 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64012 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64013 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64014 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64015 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64016 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64017 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64018 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64019 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64020 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64021 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
64022 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64023 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64024 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
64025 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64026 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
64027 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
64028 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64029 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
64030 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
64031 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
64032 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
64033 * sysdeps/ieee754/k_standard.c: Likewise.
64034 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64035 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64036 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
64037 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
64038 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
64039 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
64040 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64041 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
64042 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
64043 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
64044 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
64045 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
64046 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
64047 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
64048 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
64049 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
64050 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
64051 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64052 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64053 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
64054 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64055 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64056 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
64057 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
64058 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64059 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
64060 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64061 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64062 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64063 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
64064 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
64065 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
64066 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
64067 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
64068 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
64069 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
64070 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
64071 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
64072 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
64073 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
64074 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
64075 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
64076 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
64077 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
64078 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
64079 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
64080 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
64081 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64082 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
64083 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
64084 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
64085 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64086 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64087 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
64088 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
64089 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
64090 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
64091 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64092 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64093 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64094 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
64095 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
64096 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64097 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64098 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64099 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64100 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64101 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64102 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64103 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64104 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64105 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64106 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64107 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64108 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64109 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64110 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64111 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64112 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64113 * sysdeps/ieee754/s_matherr.c: Likewise.
64114 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64115 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64116 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64117 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64118
64119 2012-01-26 Joseph Myers <joseph@codesourcery.com>
64120
64121 * crypt/md5.h: Remove __STDC__ conditionals.
64122 * libio/libioP.h: Likewise.
64123 * locale/programs/config.h: Likewise.
64124 * sysdeps/generic/sysdep.h: Likewise.
64125 * sysdeps/i386/asm-syntax.h: Likewise.
64126 * sysdeps/s390/asm-syntax.h: Likewise.
64127 * sysdeps/unix/sysdep.h: Likewise.
64128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
64129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64130
64131 2012-01-26 Joseph Myers <joseph@codesourcery.com>
64132
64133 * libio/libio.h: Remove __STDC__ conditionals.
64134 * malloc/obstack.h: Likewise.
64135 * math/complex.h: Likewise.
64136 * math/math.h: Likewise.
64137 * sysdeps/generic/_G_config.h: Likewise.
64138 * sysdeps/gnu/_G_config.h: Likewise.
64139 * sysdeps/mach/hurd/_G_config.h: Likewise.
64140 * sysdeps/powerpc/bits/mathdef.h: Likewise.
64141 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64142 * sysdeps/sparc/bits/mathdef.h: Likewise.
64143
64144 2012-01-26 Ulrich Drepper <drepper@gmail.com>
64145
64146 [BZ #13583]
64147 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
64148 Clean up HAS_* macros.
64149 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
64150 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
64151 possible.
64152 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
64153 HAS_AVX.
64154 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64155 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64156 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64157 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64158 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64159
64160 2012-01-25 Joseph Myers <joseph@codesourcery.com>
64161
64162 * elf/tst-unique3.cc (gets): Remove declaration.
64163 * elf/tst-unique3lib.cc (gets): Likewise.
64164 * elf/tst-unique3lib2.cc (gets): Likewise.
64165 * elf/tst-unique4.cc (gets): Likewise.
64166
64167 2012-01-24 Ulrich Drepper <drepper@gmail.com>
64168
64169 * include/stdio.h: Add C++ protection. Add gets declarations and
64170 definitions.
64171 * debug/tst-chk1.c: Don't declare gets here.
64172 * stdio-common/tst-gets.c: Likewise.
64173
64174 2012-01-24 Joseph Myers <joseph@codesourcery.com>
64175
64176 * posix/glob: Remove directory.
64177
64178 2012-01-24 Joseph Myers <joseph@codesourcery.com>
64179
64180 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
64181
64182 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
64183
64184 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
64185 of the non-standard EPFNOSUPPORT.
64186
64187 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
64188
64189 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
64190 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
64191 ANYWHERE set to 1 only on KERN_NO_SPACE error.
64192
64193 2012-01-21 Ulrich Drepper <drepper@gmail.com>
64194
64195 * wcsmbs/uchar.h: Test __STDC_VERSION__.
64196
64197 2012-01-20 Ulrich Drepper <drepper@gmail.com>
64198
64199 * nscd/aicache.c (addhstaiX): Do not cache negative results of
64200 transient errors.
64201 * nscd/grpcache.c (cache_addgr): Likewise.
64202 * nscd/hstcache.c (cache_addhst): Likewise.
64203 * nscd/initgrcache.c (addinitgroupsX): Likewise.
64204 * nscd/pwdcache.c (cache_addpw): Likewise.
64205 * nscd/servicescache.c (cache_addserv): Likewise.
64206
64207 2012-01-16 Ulrich Drepper <drepper@gmail.com>
64208
64209 * malloc/malloc.c: Various cleanups.
64210 * malloc/hooks.c: Likewise.
64211
64212 * stdlib/Makefile (tests): Add bug-fmtmsg1.
64213 * stdlib/bug-fmtmsg1.c: New file.
64214
64215 * stdlib/fmtmsg.c (init): Add missing unlock.
64216 Patch by Peng Haitao <penght@cn.fujitsu.com>.
64217
64218 2012-01-12 Marek Polacek <polacek@redhat.com>
64219
64220 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
64221 and _GNU_SOURCE.
64222
64223 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
64224
64225 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
64226 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
64227 macro to ensure uniqueness of label name.
64228 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
64229 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
64230
64231 2012-01-11 Ulrich Drepper <drepper@gmail.com>
64232
64233 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
64234
64235 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
64236 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
64237 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
64238 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
64239
64240 2012-01-10 Ulrich Drepper <drepper@gmail.com>
64241
64242 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
64243
64244 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
64245 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
64246 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
64247
64248 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
64249
64250 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
64251 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
64252 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64253 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
64254
64255 * math/bits/math-finite.h: Add ldexp support.
64256
64257 2012-01-10 Marek Polacek <polacek@redhat.com>
64258
64259 * locale/programs/localedef.h (show_archive_content): Add noreturn
64260 attribute.
64261
64262 2012-01-09 Ulrich Drepper <drepper@gmail.com>
64263
64264 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
64265
64266 2012-01-08 Ulrich Drepper <drepper@gmail.com>
64267
64268 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
64269
64270 * io/Makefile (headers): Add bits/poll2.h.
64271
64272 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
64273
64274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
64275 typo #include statement.
64276
64277 2012-01-08 Ulrich Drepper <drepper@gmail.com>
64278
64279 * include/sys/cdefs.h: Define __attribute_alloc_size.
64280 * catgets/gencat.c: Add alloc_size attribute and apply consistently
64281 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
64282 * elf/pldd.c: Likewise.
64283 * iconv/iconv_charmap.c: Likewise.
64284 * iconv/iconvconfig.c: Likewise.
64285 * iconv/strtab.c: Likewise.
64286 * locale/programs/locale.c: Likewise.
64287 * locale/programs/localedef.h: Likewise.
64288 * locale/programs/simple-hash.c: Likewise.
64289 * nscd/nscd.h: Likewise.
64290 * nss/makedb.c: Likewise.
64291 * sysdeps/generic/ldconfig.h: Likewise.
64292 * locale/programs/localedef.c: Remove xmalloc prototype.
64293 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
64294
64295 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
64296
64297 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
64298 appropriate.
64299
64300 2012-01-08 Ulrich Drepper <drepper@gmail.com>
64301
64302 * math/Makefile (tests): Add tst-CMPLX.
64303 * math/tst-CMPLX.c: New file.
64304
64305 * math/complex.h (CMPLXL): Fix typo.
64306
64307 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
64308 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
64309 GLIBC_2.16.
64310 * debug/tst-chk1.c: Add poll and ppoll tests.
64311 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
64312 * include/sys/poll.h: Add hidden proto for ppoll.
64313 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
64314 * sysdeps/mach/hurd/ppoll.c: Likewise.
64315 * io/ppoll.c: Likewise.
64316 * debug/poll_chk.c: New file.
64317 * debug/ppoll_chk.c: New file.
64318 * include/bits/poll2.h: New file.
64319 * io/bits/poll2.h: New file.
64320
64321 [BZ #1350]
64322 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
64323
64324 * configure.in: static is always set to yes. Remove.
64325 * config.make.in: Don't set build-static.
64326 * Makeconfig: Remove use of build-static.
64327 * dlfcn/Makefile: Likewise.
64328 * elf/Makefile: Likewise.
64329 * math/Makefile: Likewise.
64330 * misc/Makefile: Likewise.
64331 * nptl/Makefile: Likewise.
64332 * sysdeps/mach/hurd/Makefile: Likewise.
64333
64334 * configure.in: PWD_P is not used anymore.
64335 * config.make.in: Remove PWD_P entry.
64336
64337 * configure.in: Remove last remnants of RANLIB.
64338 No need to check for signed size_t anymore.
64339 Don't set libc_commonpagesize and libc_relro_required here for Alpha
64340 and IA-64.
64341 Remove __builtin_expect test because we require at least gcc 3.4.
64342 * aclocal.m4: Likewise.
64343
64344 * wcsmbs/mbrtoc16.c: Implement using towc function.
64345 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
64346 * wcsmbs/wcsmbsload.c: Likewise.
64347 * iconv/gconv_simple.c: Likewise.
64348 * iconv/gconv_int.h: Likewise.
64349 * iconv/gconv_builtin.h: Likewise.
64350 * iconv/iconv_prog.c: Remove CHAR16 handling.
64351
64352 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
64353
64354 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
64355
64356 * configure.in: Remove --with-elf and --enable-bounded options.
64357 Dont set base_machine for ia64. More non-ELF conditions removed.
64358 Remove testing and setting of leading underscore information.
64359 * config.make.in (build-bounded): Set to no.
64360 * config.h.in: Remove NO_UNDERSCORES entry.
64361 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
64362 them.
64363 * csu/start.c: Remove !NO_UNDERSCORE code.
64364 * locale/localeinfo.h: Likewise.
64365 * sysdeps/generic/machine-gmon.h: Likewise.
64366 * sysdeps/generic/sysdep.h: Likewise.
64367 * sysdeps/i386/sysdep.h: Likewise.
64368 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
64369 * sysdeps/mach/sysdep.h: Likewise.
64370 * sysdeps/s390/s390-32/sysdep.h: Likewise.
64371 * sysdeps/s390/s390-64/sysdep.h: Likewise.
64372 * sysdeps/sh/sysdep.h: Likewise.
64373 * sysdeps/sparc/sparc32/alloca.S: Likewise.
64374 * sysdeps/unix/i386/sysdep.S: Likewise.
64375 * sysdeps/unix/sparc/start.c: Likewise.
64376 * sysdeps/unix/sparc/sysdep.S: Likewise.
64377 * sysdeps/unix/sparc/sysdep.h: Likewise.
64378 * sysdeps/unix/start.c: Likewise.
64379 * sysdeps/unix/x86_64/sysdep.S: Likewise.
64380 * sysdeps/x86_64/sysdep.h: Likewise.
64381
64382 2012-01-07 Ulrich Drepper <drepper@gmail.com>
64383
64384 [BZ #13553]
64385 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
64386 for non-gcc.
64387 * argp/argp-fmtstream.h: Use const instead __const.
64388 * argp/argp.h: Likewise.
64389 * assert/assert.h: Likewise.
64390 * bits/fenv.h: Likewise.
64391 * bits/sched.h: Likewise.
64392 * bits/sigset.h: Likewise.
64393 * bits/sigthread.h: Likewise.
64394 * catgets/nl_types.h: Likewise.
64395 * conform/data/pthread.h-data: Likewise.
64396 * crypt/crypt-private.h: Likewise.
64397 * crypt/crypt.h: Likewise.
64398 * crypt/crypt_util.c: Likewise.
64399 * ctype/ctype.h: Likewise.
64400 * debug/execinfo.h: Likewise.
64401 * debug/mbsnrtowcs_chk.c: Likewise.
64402 * debug/mbsrtowcs_chk.c: Likewise.
64403 * debug/wcsnrtombs_chk.c: Likewise.
64404 * debug/wcsrtombs_chk.c: Likewise.
64405 * debug/wcstombs_chk.c: Likewise.
64406 * dirent/dirent.h: Likewise.
64407 * dlfcn/dlfcn.h: Likewise.
64408 * elf/neededtest4.c: Likewise.
64409 * grp/grp.h: Likewise.
64410 * gshadow/gshadow.h: Likewise.
64411 * iconv/gconv.h: Likewise.
64412 * iconv/gconv_int.h: Likewise.
64413 * iconv/gconv_simple.c: Likewise.
64414 * iconv/iconv.h: Likewise.
64415 * iconv/loop.c: Likewise.
64416 * iconv/skeleton.c: Likewise.
64417 * include/aio.h: Likewise.
64418 * include/aliases.h: Likewise.
64419 * include/argz.h: Likewise.
64420 * include/arpa/inet.h: Likewise.
64421 * include/assert.h: Likewise.
64422 * include/dirent.h: Likewise.
64423 * include/dlfcn.h: Likewise.
64424 * include/execinfo.h: Likewise.
64425 * include/fcntl.h: Likewise.
64426 * include/fenv.h: Likewise.
64427 * include/glob.h: Likewise.
64428 * include/grp.h: Likewise.
64429 * include/libintl.h: Likewise.
64430 * include/mntent.h: Likewise.
64431 * include/netdb.h: Likewise.
64432 * include/pwd.h: Likewise.
64433 * include/rpc/netdb.h: Likewise.
64434 * include/sched.h: Likewise.
64435 * include/search.h: Likewise.
64436 * include/shadow.h: Likewise.
64437 * include/signal.h: Likewise.
64438 * include/stdio.h: Likewise.
64439 * include/stdlib.h: Likewise.
64440 * include/string.h: Likewise.
64441 * include/sys/socket.h: Likewise.
64442 * include/sys/stat.h: Likewise.
64443 * include/sys/statfs.h: Likewise.
64444 * include/sys/statvfs.h: Likewise.
64445 * include/sys/syslog.h: Likewise.
64446 * include/sys/time.h: Likewise.
64447 * include/sys/uio.h: Likewise.
64448 * include/time.h: Likewise.
64449 * include/unistd.h: Likewise.
64450 * include/utmp.h: Likewise.
64451 * include/wchar.h: Likewise.
64452 * include/wctype.h: Likewise.
64453 * inet/aliases.h: Likewise.
64454 * inet/arpa/inet.h: Likewise.
64455 * inet/netinet/ether.h: Likewise.
64456 * inet/netinet/in.h: Likewise.
64457 * intl/libintl.h: Likewise.
64458 * io/bits/fcntl2.h: Likewise.
64459 * io/fcntl.h: Likewise.
64460 * io/ftw.h: Likewise.
64461 * io/sys/poll.h: Likewise.
64462 * io/sys/stat.h: Likewise.
64463 * io/sys/statfs.h: Likewise.
64464 * io/sys/statvfs.h: Likewise.
64465 * io/utime.h: Likewise.
64466 * libio/bits/stdio.h: Likewise.
64467 * libio/bits/stdio2.h: Likewise.
64468 * libio/libio.h: Likewise.
64469 * libio/libioP.h: Likewise.
64470 * libio/stdio.h: Likewise.
64471 * locale/lc-ctype.c: Likewise.
64472 * locale/locale.h: Likewise.
64473 * login/utmp.h: Likewise.
64474 * malloc/arena.c: Likewise.
64475 * malloc/malloc.c: Likewise.
64476 * malloc/malloc.h: Likewise.
64477 * malloc/mcheck.c: Likewise.
64478 * malloc/mtrace.c: Likewise.
64479 * math/bits/mathcalls.h: Likewise.
64480 * math/fenv.h: Likewise.
64481 * math/math_private.h: Likewise.
64482 * misc/bits/error.h: Likewise.
64483 * misc/bits/syslog.h: Likewise.
64484 * misc/err.h: Likewise.
64485 * misc/error.h: Likewise.
64486 * misc/fstab.h: Likewise.
64487 * misc/mntent.h: Likewise.
64488 * misc/regexp.h: Likewise.
64489 * misc/search.h: Likewise.
64490 * misc/sgtty.h: Likewise.
64491 * misc/sys/mman.h: Likewise.
64492 * misc/sys/syslog.h: Likewise.
64493 * misc/sys/uio.h: Likewise.
64494 * misc/sys/xattr.h: Likewise.
64495 * misc/ttyent.h: Likewise.
64496 * nis/rpcsvc/ypclnt.h: Likewise.
64497 * nss/nss.h: Likewise.
64498 * posix/bits/unistd.h: Likewise.
64499 * posix/fnmatch.h: Likewise.
64500 * posix/glob.h: Likewise.
64501 * posix/sched.h: Likewise.
64502 * posix/spawn.h: Likewise.
64503 * posix/sys/wait.h: Likewise.
64504 * posix/unistd.h: Likewise.
64505 * posix/wordexp.h: Likewise.
64506 * pwd/pwd.h: Likewise.
64507 * resolv/netdb.h: Likewise.
64508 * resource/sys/resource.h: Likewise.
64509 * rt/aio.h: Likewise.
64510 * rt/bits/mqueue2.h: Likewise.
64511 * rt/mqueue.h: Likewise.
64512 * shadow/shadow.h: Likewise.
64513 * signal/signal.h: Likewise.
64514 * socket/send.c: Likewise.
64515 * socket/sendto.c: Likewise.
64516 * socket/sys/socket.h: Likewise.
64517 * stdio-common/printf.h: Likewise.
64518 * stdlib/bits/stdlib.h: Likewise.
64519 * stdlib/fmtmsg.h: Likewise.
64520 * stdlib/monetary.h: Likewise.
64521 * stdlib/stdlib.h: Likewise.
64522 * stdlib/ucontext.h: Likewise.
64523 * streams/stropts.h: Likewise.
64524 * string/argz.h: Likewise.
64525 * string/bits/string2.h: Likewise.
64526 * string/string.h: Likewise.
64527 * string/strings.h: Likewise.
64528 * sunrpc/rpc/auth.h: Likewise.
64529 * sunrpc/rpc/auth_des.h: Likewise.
64530 * sunrpc/rpc/clnt.h: Likewise.
64531 * sunrpc/rpc/netdb.h: Likewise.
64532 * sunrpc/rpc/pmap_clnt.h: Likewise.
64533 * sunrpc/rpc/xdr.h: Likewise.
64534 * sysdeps/generic/inttypes.h: Likewise.
64535 * sysdeps/generic/net/if.h: Likewise.
64536 * sysdeps/generic/sys/swap.h: Likewise.
64537 * sysdeps/gnu/net/if.h: Likewise.
64538 * sysdeps/gnu/utmpx.h: Likewise.
64539 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
64540 * sysdeps/i386/i486/bits/string.h: Likewise.
64541 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
64542 * sysdeps/s390/bits/string.h: Likewise.
64543 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
64544 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
64545 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
64546 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
64547 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
64548 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
64549 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
64550 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
64551 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
64552 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
64553 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
64554 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
64555 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
64556 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
64557 * sysdeps/unix/sysv/linux/readv.c: Likewise.
64558 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
64559 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
64560 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64561 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
64562 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
64563 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
64564 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
64565 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
64566 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
64567 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
64568 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
64569 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
64570 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64571 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
64572 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
64573 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
64574 * sysvipc/sys/ipc.h: Likewise.
64575 * sysvipc/sys/msg.h: Likewise.
64576 * sysvipc/sys/sem.h: Likewise.
64577 * sysvipc/sys/shm.h: Likewise.
64578 * termios/termios.h: Likewise.
64579 * time/sys/time.h: Likewise.
64580 * time/time.h: Likewise.
64581 * wcsmbs/bits/wchar2.h: Likewise.
64582 * wcsmbs/uchar.h: Likewise.
64583 * wcsmbs/wchar.h: Likewise.
64584 * wctype/wctype.h: Likewise.
64585
64586 [BZ #13551]
64587 * Makeconfig: Remove all but ELF support including AIX support.
64588 * Makerules: Likewise.
64589 * config.h.in: Likewise.
64590 * config.make.in: Likewise.
64591 * configure: Likewise.
64592 * configure.in: Likewise.
64593 * csu/Makefile: Likewise.
64594 * csu/version.c: Likewise.
64595 * debug/Makefile: Likewise.
64596 * dlfcn/Makefile: Likewise.
64597 * elf/Makefile: Likewise.
64598 * extra-lib.mk: Likewise.
64599 * iconv/Makefile: Likewise.
64600 * include/libc-symbols.h: Likewise.
64601 * include/shlib-compat.h: Likewise.
64602 * resolv/Makefile: Likewise.
64603 * resolv/res_libc.c: Likewise.
64604 * rt/Makefile: Likewise.
64605 * sysdeps/i386/asm-syntax.h: Likewise.
64606 * sysdeps/i386/sysdep.h: Likewise.
64607 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
64608 * sysdeps/mach/sysdep.h: Likewise.
64609 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
64610 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
64611 * sysdeps/s390/asm-syntax.h: Likewise.
64612 * sysdeps/s390/s390-32/sysdep.h: Likewise.
64613 * sysdeps/s390/s390-64/sysdep.h: Likewise.
64614 * sysdeps/sh/sysdep.h: Likewise.
64615 * sysdeps/unix/sparc/sysdep.h: Likewise.
64616 * sysdeps/wordsize-32/divdi3.c: Likewise.
64617 * sysdeps/x86_64/sysdep.h: Likewise.
64618
64619 * argp/Versions: Remove _argp_unlock_xxx.
64620
64621 [BZ #13559]
64622 * abilist/ld.abilist: Update. Adjust for removal of tls option.
64623 * abilist/libBrokenLocale.abilist: Likewise.
64624 * abilist/libanl.abilist: Likewise.
64625 * abilist/libc.abilist: Likewise.
64626 * abilist/libcrypt.abilist: Likewise.
64627 * abilist/libdl.abilist: Likewise.
64628 * abilist/libm.abilist: Likewise.
64629 * abilist/libnsl.abilist: Likewise.
64630 * abilist/libpthread.abilist: Likewise.
64631 * abilist/libresolv.abilist: Likewise.
64632 * abilist/librt.abilist: Likewise.
64633 * abilist/libthread_db.abilist: Likewise.
64634 * abilist/libutil.abilist: Likewise.
64635 * abilist/libnss_db.abilist: New file.
64636
64637 * scripts/abilist.awk: Add support for indirect functions.
64638
64639 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
64640
64641 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
64642
64643 * shlib-versions: Remove entries for ports architectures.
64644
64645 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
64646 files in ports.
64647 * elf/stackguard-macros.h: Remove support for IA-64.
64648 * elf/tst-auditmod1.c: Likewise.
64649 * sysdeps/generic/ldsodefs.h: Likewise.
64650
64651 * sysdeps/unix/sysv/linux/configure.in: Ports should define
64652 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
64653 configure files.
64654
64655 [BZ #13552]
64656 * configure.in: Remove --enable-omitfp support.
64657 * FAQ.in: Adjust.
64658 * config.make.in: Likewise.
64659 * Makeconfig: Likewise.
64660 * manual/install.texi: Likewise.
64661
64662 In case anyone cares, the IA-64 architecture could move to ports.
64663 * sysdeps/ia64/*: Removed.
64664 * sysdeps/unix/sysv/linux/ia64/*: Removed.
64665 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
64666
64667 [BZ #13555]
64668 * configure.in: Remove entries for unsupported architectures.
64669
64670 [BZ #13533]
64671 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
64672 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
64673 routines.
64674 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
64675 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
64676 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
64677 fall back to using wcrtomb.
64678 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
64679 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
64680 renaming.
64681 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
64682 * wcsmbs/tst-c16c32-1.c: New file.
64683
64684 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
64685 local variable.
64686
64687 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
64688
64689 * elf/tst-unique3.cc: Add explicit declaration of gets.
64690 * elf/tst-unique3lib.cc: Likewise.
64691 * elf/tst-unique3lib2.cc: Likewise.
64692 * elf/tst-unique4.cc: Likewise.
64693
64694 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
64695
64696 2012-01-06 Joseph Myers <joseph@codesourcery.com>
64697
64698 [BZ #13566]
64699 * assert/assert.h (static_assert): Don't define for C++.
64700 * libio/stdio.h (gets): Do declare for C++ <= C++11.
64701 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
64702
64703 2012-01-03 Ulrich Drepper <drepper@gmail.com>
64704
64705 * iconv/loop.c (single loop): Fix assertion in storing of
64706 remaining bytes.
64707
64708 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
64709
64710 2012-01-01 Ulrich Drepper <drepper@gmail.com>
64711
64712 * posix/getconf.c: Update copyright year.
64713 * nss/getent.c: Likewise.
64714 * nss/makedb.c: Likewise.
64715 * iconv/iconvconfig.c: Likewise.
64716 * iconv/iconv_prog.c: Likewise.
64717 * elf/ldconfig.c: Likewise.
64718 * elf/pldd.c: Likewise.
64719 * elf/sotruss.ksh: Likewise.
64720 * catgets/gencat.c: Likewise.
64721 * csu/version.c: Likewise.
64722 * elf/ldd.bash.in: Likewise.
64723 * elf/sprof.c (print_version): Likewise.
64724 * locale/programs/locale.c: Likewise.
64725 * locale/programs/localedef.c: Likewise.
64726 * login/programs/pt_chown.c: Likewise.
64727 * nscd/nscd.c (print_version): Likewise.
64728 * debug/xtrace.sh: Likewise.
64729 * malloc/memusage.sh: Likewise.
64730 * malloc/mtrace.pl: Likewise.
64731 * debug/catchsegv.sh: Likewise.
64732
64733 2011-12-30 Jakub Jelinek <jakub@redhat.com>
64734
64735 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
64736 pure attribute.
64737
64738 2011-12-24 Ulrich Drepper <drepper@gmail.com>
64739
64740 [BZ #13533]
64741 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
64742 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
64743 transformations.
64744 * iconv/gconv_int.h: Likewise.
64745 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
64746 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
64747 from libc for GLIBC_2.16.
64748 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
64749 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
64750 * wcsmbs/uchar.h: Really define mbstate_t.
64751 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
64752 * wcsmbs/c16rtomb.c: New file.
64753 * wcsmbs/mbrtoc16.c: New file.
64754 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
64755 for C/POSIX locale.
64756 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
64757 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
64758
64759 * wcsmbs/wchar.h: Add missing __restrict.
64760
64761 2011-12-23 Ulrich Drepper <drepper@gmail.com>
64762
64763 [BZ #13532]
64764 * time/Makefile (routines): Add timespec_get.
64765 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
64766 * time/time.h: Define TIME_UTC and declare timespec_get. Define
64767 timespec for ISO C11.
64768 * time/timespec_get.c: New file.
64769 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
64770 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
64771
64772 [BZ #13531]
64773 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
64774 * stdlib/stdlib.h: Declare aligned_alloc.
64775 * Versions.def: Add GLIBC_2.16 for libc.
64776 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
64777
64778 [BZ 13527]
64779 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
64780 ISO C11.
64781
64782 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
64783 code.
64784
64785 [BZ #13528]
64786 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
64787
64788 [BZ #13529]
64789 * assert/assert.h (static_assert): Define.
64790
64791 * version.h: Update for 2.16 development version.
64792
64793 [BZ #13526]
64794 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
64795 _ISOC11_SOURCE.
64796
64797 * version.h (RELEASE): Bump for 2.15 release.
64798 * include/features.h (__GLIBC_MINOR__): Bump to 15.
64799
64800 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
64801 Patch by Marek Polacek <mpolacek@redhat.com>.
64802
64803 * bits/byteswap.h: Protect long long constants with __extension__.
64804 * sysdeps/i386/bits/byteswap.h: Likewise.
64805 * sysdeps/ia64/bits/byteswap.h: Likewise.
64806 * sysdeps/s390/bits/byteswap.h: Likewise.
64807 * sysdeps/x86_64/bits/byteswap.h: Likewise.
64808
64809 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
64810
64811 [BZ #13540]
64812 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
64813 destination buffer.
64814 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
64815
64816 2011-12-23 Marek Polacek <polacek@redhat.com>
64817
64818 * elf/dl-addr.c (determine_info): Add inline keyword.
64819 * elf/tst-auditmod4b.c (check_avx): Likewise.
64820 * elf/tst-auditmod6b.c (check_avx): Likewise.
64821 * elf/tst-auditmod6c.c (check_avx): Likewise.
64822 * elf/tst-auditmod7b.c (check_avx): Likewise.
64823
64824 2011-12-23 Ulrich Drepper <drepper@gmail.com>
64825
64826 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
64827 !__SSE_MATH__.
64828
64829 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
64830
64831 [BZ #13540]
64832 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
64833 processing for last bytes.
64834
64835 2011-08-06 Bruno Haible <bruno@clisp.org>
64836
64837 [BZ #13061]
64838 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
64839 U+0385, not to U+1FEE.
64840
64841 [BZ #13062]
64842 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
64843 entry for U+00A5 U+0301.
64844
64845 2011-12-22 Ulrich Drepper <drepper@gmail.com>
64846
64847 [BZ #13166]
64848 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
64849 buffer for the output is too small.
64850
64851 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
64852 optimization.
64853
64854 [BZ #13185]
64855 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
64856 SSE flags if possible.
64857
64858 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
64859
64860 [BZ #13540]
64861 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
64862 processing for last bytes.
64863
64864 2011-12-22 Joseph Myers <joseph@codesourcery.com>
64865
64866 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
64867 (syscall-list-default-options, syscall-list-default-condition)
64868 (syscall-list-includes): Define.
64869 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
64870 list of ABIs and options and #if conditions for each ABI. Do not
64871 handle common syscalls between ABIs specially.
64872 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
64873 Remove.
64874 (syscall-list-variants, syscall-list-32bit-options)
64875 (syscall-list-32bit-condition, syscall-list-64bit-options)
64876 (syscall-list-64bit-condition): Define.
64877 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
64878 (syscall-list-variants, syscall-list-32bit-options)
64879 (syscall-list-32bit-condition, syscall-list-64bit-options)
64880 (syscall-list-64bit-condition): Define.
64881 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
64882 Remove.
64883 (syscall-list-variants, syscall-list-32bit-options)
64884 (syscall-list-32bit-condition, syscall-list-64bit-options)
64885 (syscall-list-64bit-condition): Define.
64886 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
64887 Remove.
64888 (syscall-list-variants, syscall-list-32bit-options)
64889 (syscall-list-32bit-condition, syscall-list-64bit-options)
64890 (syscall-list-64bit-condition): Define.
64891
64892 2011-12-22 Ulrich Drepper <drepper@gmail.com>
64893
64894 * locale/iso-639.def: Add brx entry.
64895
64896 [BZ #13328]
64897 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
64898 Proposed by Mariusz_Cukr <marcukr@op.pl>.
64899
64900 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
64901 __feraiseexcept_renamed.
64902
64903 2011-12-21 Ulrich Drepper <drepper@gmail.com>
64904
64905 [BZ #13538]
64906 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
64907 EPOLLET with unsigned values.
64908 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64909 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
64910
64911 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
64912 to large cancellation.
64913 * math/s_cacoshf.c: Likewise.
64914 * math/s_cacoshl.c: Likewise.
64915
64916 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
64917
64918 [BZ #13305]
64919 [BZ #12786]
64920 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
64921 * math/s_cacoshf.c: Likewise.
64922 * math/s_cacoshl.c: Likewise.
64923
64924 2011-12-21 Ulrich Drepper <drepper@gmail.com>
64925
64926 [BZ #13439]
64927 * iconv/gconv.h: Define __GCONV_SWAP.
64928 * iconvdata/unicode.c: The swap bit must be stored in __flags.
64929 * iconvdata/utf-16.c: Likewise.
64930 * iconvdata/utf-32.c: Likewise.
64931
64932 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
64933
64934 [BZ #13524]
64935 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
64936 numerator after shifting it by one limb.
64937
64938 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
64939
64940 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
64941 under [__USE_EXTERN_INLINES].
64942
64943 2011-12-17 Ulrich Drepper <drepper@gmail.com>
64944
64945 [BZ #13446]
64946 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
64947
64948 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64949
64950 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
64951 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
64952 optimized code.
64953 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
64954 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
64955 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
64956 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
64957 for strncasecmp/strncasecmp_l compilation.
64958 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
64959 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
64960
64961 2011-12-08 Marek Polacek <mpolacek@redhat.com>
64962
64963 [BZ #13484]
64964 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
64965 of __asm__.
64966
64967 2011-12-17 Ulrich Drepper <drepper@gmail.com>
64968
64969 [BZ #13506]
64970 * time/tzfile.c (__tzfile_read): Check values from file header.
64971
64972 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
64973
64974 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
64975 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
64976 * powerpc/powerpc32/dl-start.S: Likewise.
64977 * powerpc/powerpc32/elf/start.S: Likewise.
64978 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
64979 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
64980 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
64981 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
64982 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
64983 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
64984 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
64985 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
64986 * powerpc/powerpc32/fpu/s_round.S: Likewise.
64987 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
64988 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
64989 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
64990 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
64991 * powerpc/powerpc32/memset.S: Likewise.
64992 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
64993 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64994 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64995 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64996 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64997 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
64998 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
64999 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
65000 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
65001 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
65002 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
65003 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
65004 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
65005
65006 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65007
65008 * math/libm-test.inc: Added more nearbyint tests.
65009 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
65010 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
65011 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
65012 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
65013
65014 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
65015
65016 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
65017 FD_CLOEXEC.
65018
65019 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65020
65021 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
65022 Add wcscpy-ssse3 wcscpy-c.
65023 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
65024 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
65025 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
65026 * sysdeps/x86_64/wcschr.S: New file.
65027 * sysdeps/x86_64/wcsrchr.S: New file.
65028 * string/test-strcmp.c: Remove checking of wcscmp function for
65029 wrong alignments.
65030 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
65031 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
65032 wcsrchr-sse2 wcsrchr-c.
65033 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
65034 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
65035 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
65036 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
65037 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
65038 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
65039 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
65040 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
65041 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
65042 * wcsmbc/wcschr.c (WCSCHR): New macro.
65043
65044 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65045
65046 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
65047 * wcsmbs/test-wcsrchr.c: New file.
65048 * string/test-strrchr.c: Add wcsrchr support.
65049 (WIDE): New macro.
65050 * wcsmbs/test-wcscpy.c: New file.
65051 * string/test-strcpy.c: Add wcscpy support.
65052 (WIDE): New macro.
65053
65054 2011-12-10 Ulrich Drepper <drepper@gmail.com>
65055
65056 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
65057 the inner loop.
65058
65059 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
65060
65061 [BZ #13472]
65062 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
65063
65064 2011-12-04 Ulrich Drepper <drepper@gmail.com>
65065
65066 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
65067 Minor optimizations.
65068
65069 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
65070 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
65071 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
65072
65073 2011-12-03 Ulrich Drepper <drepper@gmail.com>
65074
65075 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
65076 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
65077 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
65078 for gcc to avoid warnings.
65079 * inet/Makefile (tests): Add tst-checks.
65080 * inet/tst-checks.c: New file.
65081
65082 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
65083 warning.
65084
65085 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
65086 __wmemcmp_sse2.
65087
65088 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
65089 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
65090
65091 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
65092
65093 2011-12-02 Ulrich Drepper <drepper@gmail.com>
65094
65095 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
65096 problem.
65097
65098 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
65099
65100 2011-11-29 Joseph Myers <joseph@codesourcery.com>
65101
65102 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
65103 conditional on GCC version.
65104 (__arch_compare_and_exchange_val_8_acq)
65105 (__arch_compare_and_exchange_val_16_acq)
65106 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
65107 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
65108 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
65109
65110 2011-12-02 Joseph Myers <joseph@codesourcery.com>
65111
65112 * sysdeps/sh/backtrace.c: New file.
65113
65114 2011-12-02 Andreas Schwab <schwab@redhat.com>
65115
65116 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
65117 parenthesis.
65118
65119 2011-12-01 Andreas Schwab <schwab@redhat.com>
65120
65121 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
65122 falling back to utime.
65123
65124 2011-11-30 Andreas Schwab <schwab@redhat.com>
65125
65126 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
65127 expectations for float.
65128
65129 2011-11-29 Andreas Schwab <schwab@redhat.com>
65130
65131 * locale/weight.h (findidx): Add parameter len.
65132 * locale/weightwc.h (findidx): Likewise.
65133 * posix/fnmatch_loop.c (FCT): Adjust caller.
65134 * posix/regcomp.c (build_equiv_class): Likewise.
65135 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
65136 * posix/regexec.c (check_node_accept_bytes): Likewise.
65137 * string/strcoll_l.c (STRCOLL): Likewise.
65138 * string/strxfrm_l.c (STRXFRM): Likewise.
65139
65140 2011-11-17 Ulrich Drepper <drepper@gmail.com>
65141
65142 * Makefile.in: Remove CVSOPT handling.
65143 * configure.in: Remove use of AC_REVISION.
65144 * iconvdata/Makefile (distribute): No need to filter out CVS.
65145 * scripts/list-sources.sh: Remove CVS, subversion and monotone
65146 handling.
65147
65148 2011-11-16 Andreas Schwab <schwab@redhat.com>
65149
65150 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
65151 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
65152 [USE_AS_STRNCASECMP_L]: Likewise.
65153 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
65154 NO_TLS_DIRECT_SEG_REFS.
65155 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
65156 Fix argument offsets for non-PIC.
65157 [USE_AS_STRNCASECMP_L]: Likewise.
65158 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
65159 NO_TLS_DIRECT_SEG_REFS.
65160
65161 2011-11-15 Ulrich Drepper <drepper@gmail.com>
65162
65163 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
65164 O_CLOEXEC.
65165 * locale/loadlocale.c (_nl_load_locale): Likewise.
65166
65167 2011-11-15 Andreas Schwab <schwab@redhat.com>
65168
65169 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
65170 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
65171 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
65172 (SYSCALL_GETTIME): Set errno on error.
65173
65174 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
65175 count references to noai6ai_cached.
65176
65177 2011-11-15 Ulrich Drepper <drepper@gmail.com>
65178
65179 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
65180
65181 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
65182 FD_CLOEXEC for /proc/self/maps.
65183
65184 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
65185 FD_CLOEXEC for /proc/meminfo.
65186
65187 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
65188 gai.conf.
65189
65190 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
65191 FD_CLOEXEC for given file.
65192
65193 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
65194
65195 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
65196 FD_CLOEXEC for /etc/hosts.
65197 (_gethtent): Likewise.
65198
65199 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
65200
65201 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
65202 cancellation and set FD_CLOEXEC for /etc/netgroup.
65203
65204 * nss/nss_files/files-key.c (search): Don't allow cancellation when
65205 reading /etc/publickey.
65206
65207 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
65208 allow cancellation when reading /etc/group.
65209
65210 * nss/nss_files/files-alias.c (internal_setent): Don't allow
65211 cancellation.
65212 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
65213
65214 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
65215 when using data file.
65216
65217 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
65218
65219 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
65220 (write_nis_obj): Use "c" and "e" in fopen.
65221
65222 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
65223
65224 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
65225
65226 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
65227
65228 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
65229
65230 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
65231 locale.alias.
65232
65233 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
65234
65235 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
65236
65237 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
65238
65239 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
65240 file parsing and set FD_CLOEXEC.
65241
65242 2011-11-14 Ulrich Drepper <drepper@gmail.com>
65243
65244 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
65245
65246 2011-11-14 Andreas Schwab <schwab@redhat.com>
65247
65248 * malloc/arena.c (arena_get2): Don't call reused_arena when
65249 _int_new_arena failed.
65250
65251 2011-11-14 Ulrich Drepper <drepper@gmail.com>
65252
65253 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
65254 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
65255 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
65256 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65257 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65258 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
65259 to compile strcasecmp and strncasecmp.
65260 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
65261 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
65262
65263 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
65264
65265 2011-11-13 Ulrich Drepper <drepper@gmail.com>
65266
65267 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
65268 locale-defines.sym to gen-as-const-headers.
65269 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
65270 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
65271 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
65272 to compile strcasecmp and strncasecmp.
65273 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
65274 strcasecmp_l and strncasecmp_l.
65275 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
65276 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
65277 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
65278 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
65279 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
65280 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
65281 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
65282 * sysdeps/i386/i686/multiarch/strncase.S: New file.
65283 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
65284 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
65285 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
65286
65287 2011-11-12 Ulrich Drepper <drepper@gmail.com>
65288
65289 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
65290 result of SYSDEP_GETTIME_CPU to retval.
65291 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
65292 parameter list to macro. Remove trailing semicolon. Adjust users.
65293
65294 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
65295 variable.
65296
65297 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
65298 mantissa words.
65299 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
65300
65301 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
65302 from unused variable.
65303
65304 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
65305 DWARF definitions.
65306 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
65307 for assembling.
65308
65309 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
65310 over namespaces.
65311
65312 * sunrpc/rpc_prot.c (rejected): Fix case value.
65313
65314 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
65315 unsigned long long int to avoid warnings in shift.
65316
65317 * posix/regex_internal.c (re_string_reconstruct): Actually use result
65318 of use of trans.
65319 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
65320 variable tmp.
65321
65322 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
65323 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
65324 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
65325
65326 * nis/nis_table.c (nis_list): Use variable of correct type for
65327 result of __follow_path call.
65328
65329 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65330
65331 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
65332 of math functions ceil, trunc, floor, round, and sqrt, when
65333 avaliable on the platform.
65334 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
65335 name clash.
65336 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65337 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65338 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
65339
65340 2011-10-30 Marek Polacek <mpolacek@redhat.com>
65341
65342 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
65343 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65344
65345 2011-11-11 Roland McGrath <roland@hack.frob.com>
65346
65347 * include/unistd.h: Fix __readlink return type.
65348 Reported by Chris Metcalf <cmetcalf@tilera.com>.
65349
65350 2011-11-11 Ulrich Drepper <drepper@gmail.com>
65351
65352 * stdlib/ucontext.h: Undo last change for makecontext.
65353
65354 2011-11-11 Andreas Schwab <schwab@redhat.com>
65355
65356 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
65357
65358 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
65359 * setjmp/setjmp.h: Mark functions as non-leaf.
65360 * setjmp/bits/setjmp2.h: Likewise.
65361 * stdlib/ucontext.h: Likewise.
65362
65363 2011-11-10 Andreas Schwab <schwab@redhat.com>
65364
65365 * malloc/arena.c (_int_new_arena): Don't increment narenas.
65366 (reused_arena): Don't check arena limit.
65367 (arena_get2): Atomically check arena limit.
65368
65369 2011-11-08 Ulrich Drepper <drepper@gmail.com>
65370
65371 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
65372 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
65373
65374 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
65375 instructions.
65376
65377 2011-11-07 Andreas Schwab <schwab@redhat.com>
65378
65379 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
65380 handler when locking.
65381
65382 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
65383 Fix size of allocated buffer.
65384
65385 2011-11-04 Andreas Schwab <schwab@redhat.com>
65386
65387 [BZ #10103]
65388 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
65389 declarations for long double functions.
65390 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
65391
65392 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
65393
65394 2011-11-03 Andreas Schwab <schwab@redhat.com>
65395
65396 * nscd/nscd.c (main): Don't start AVC thread until credentials are
65397 installed.
65398
65399 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
65400 is disabled.
65401
65402 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
65403
65404 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
65405
65406 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
65407
65408 * include/alloca.h (stackinfo_alloca_round): Define.
65409 (extend_alloca): Use it.
65410 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
65411 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
65412 here.
65413
65414 * scripts/check-local-headers.sh: Ignore libaudit.h.
65415
65416 * nscd/Makefile (extra-objs): Make recursively expanded.
65417
65418 2011-11-01 Ulrich Drepper <drepper@gmail.com>
65419
65420 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
65421 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
65422
65423 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
65424 * posix/tst-rfc3484-2.c: Likewise.
65425 * posix/tst-rfc3484-3.c: Likewise.
65426
65427 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
65428 process_vm_writev.
65429 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
65430 process_vm_writev.
65431 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
65432 process_vm_writev from libc using GLIBC_2.15 version.
65433
65434 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
65435
65436 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
65437
65438 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
65439 stack usage.
65440
65441 2011-10-31 Ulrich Drepper <drepper@gmail.com>
65442
65443 [BZ #13367]
65444 * nss/getent.c (initgroups_keys): Show error message in case no group
65445 names are given.
65446
65447 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
65448 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
65449 __bump_nl_timestamp.
65450 * nscd/connections (nscd_init): When host database is served open
65451 netlink socket and request notification about configuration changes.
65452 (main_loop_poll): Track netlink file descriptor and bump timestamp
65453 in case data becomes available.
65454 (main_loop_epoll): Likewise.
65455 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
65456 (database_pers_head): Add extra_data fileds.
65457 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
65458 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
65459 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
65460 Adjust caller.
65461 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
65462 in6ai data, call __free_in6ai.
65463 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
65464 Add -DHAVE_NETLINK.
65465 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
65466 interface information. Reuse previous data if netlink timestamp
65467 is not changed.
65468 (__bump_nl_timestamp): New function.
65469 (__free_in6ai): New function.
65470
65471 2011-10-30 Ulrich Drepper <drepper@gmail.com>
65472
65473 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
65474 close_not_cancel_no_status here.
65475 (__check_pf): Reorganize code a bit to not call close twice if OOM.
65476
65477 2011-10-29 Ulrich Drepper <drepper@gmail.com>
65478
65479 [BZ #13276]
65480 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
65481 return value.
65482
65483 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
65484 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
65485 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
65486
65487 2011-07-03 Andreas Jaeger <aj@suse.de>
65488
65489 [BZ #10709]
65490 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
65491 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
65492 * math/libm-test.inc (sin_test): Add test case.
65493
65494 2011-10-29 Ulrich Drepper <drepper@gmail.com>
65495
65496 [BZ #13337]
65497 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
65498 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
65499
65500 * elf/chroot_canon.c (chroot_canon): Cleanups.
65501
65502 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
65503
65504 [BZ #13335]
65505 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
65506 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
65507
65508 * string/test-strchr.c: Make usable for strchrnul testing.
65509 * string/test-strchrnul.c: New file.
65510 * string/Makefile (strop-tests): Add strchrnul.
65511
65512 * po/it.po: Update from translation team.
65513 * po/es.po: Likewise.
65514
65515 2011-10-28 Ulrich Drepper <drepper@gmail.com>
65516
65517 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
65518 the three constants needed as parameters. Drop the others.
65519 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
65520 __m128i_strloadu_tolower.
65521 Create and initialize variable zero and use it in all the places
65522 where _mm_setzero_si128 was used.
65523
65524 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
65525 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
65526 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
65527 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
65528 anymore.
65529 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
65530 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
65531 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
65532 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
65533 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
65534 __mpranred, __mptan.
65535 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
65536 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
65537 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
65538 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
65539 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
65540 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
65541 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
65542 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
65543 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
65544
65545 2011-10-28 Andreas Schwab <schwab@redhat.com>
65546
65547 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
65548 redefine if SHARED.
65549 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
65550
65551 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
65552 wide char related routines to wcsmbs subdir.
65553
65554 2011-10-27 Andreas Schwab <schwab@redhat.com>
65555
65556 [BZ #13344]
65557 * misc/sys/cdefs.h (__THROWNL): Define.
65558 * posix/unistd.h: Use __THREADNL instead of __THREAD
65559 for memory synchronization functions.
65560
65561 2011-10-26 Roland McGrath <roland@hack.frob.com>
65562
65563 [BZ #13349]
65564 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
65565 doesn't exist.
65566 * manual/stdio.texi (Obstack Streams): Node removed.
65567
65568 2011-10-26 Andreas Schwab <schwab@redhat.com>
65569
65570 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
65571 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65572 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65573
65574 * math/math_private.h (math_force_eval): Allow non-addressable
65575 arguments.
65576 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
65577
65578 2011-10-25 Ulrich Drepper <drepper@gmail.com>
65579
65580 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
65581 file is not needed.
65582
65583 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
65584 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
65585 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65586 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65587 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65588 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65589 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65590 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
65591 Add AVX variants.
65592 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
65593 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
65594 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
65595 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
65596 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
65597 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
65598 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
65599 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
65600 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
65601 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
65602 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
65603 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
65604 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
65605 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
65606 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
65607 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
65608 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
65609 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
65610 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
65611
65612 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
65613 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
65614
65615 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
65616 place. Use VEX encoding when compiling for AVX.
65617
65618 2011-10-25 Andreas Schwab <schwab@redhat.com>
65619
65620 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
65621 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65622
65623 * string/test-strchr.c (do_test): Don't generate NUL bytes.
65624
65625 2011-10-25 Ulrich Drepper <drepper@gmail.com>
65626
65627 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
65628 useless if() expression.
65629 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65630 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
65631 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
65632 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65633 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
65634 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65635 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65636 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65637 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65638 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65639 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65640 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65641 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
65642 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65643 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
65644 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65645 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65646 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65647 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
65648
65649 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
65650
65651 2011-10-25 Andreas Schwab <schwab@redhat.com>
65652
65653 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
65654 condition.
65655 * elf/dl-fini.c (_dl_sort_fini): Likewise.
65656
65657 2011-10-25 Ulrich Drepper <drepper@gmail.com>
65658
65659 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
65660 .text section. Avoid duplicate constants.
65661 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65662 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65663 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65664 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65665 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65666 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65667 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65668 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65669 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
65670 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
65671 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
65672 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65673 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
65674 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
65675 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
65676 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
65677 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
65678 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
65679 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65680 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65681 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65682 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65683 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65684 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
65685 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
65686 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
65687 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
65688 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
65689 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
65690 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
65691 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
65692 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
65693 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65694 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
65695 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
65696 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
65697 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
65698 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
65699 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
65700 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
65701 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
65702 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
65703 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
65704 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
65705 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
65706
65707 2011-10-24 Ulrich Drepper <drepper@gmail.com>
65708
65709 * sysdeps/x86_64/dla.h: Move to ...
65710 * sysdeps/x86_64/fpu/dla.h: ...here.
65711 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
65712 situations. Use __builtin_fma only for gcc 4.6 and up.
65713
65714 * config.make.in: Add have-mfma4 entry.
65715 * configure.in: Substitute libc_cv_cc_fma4.
65716 * math/Makefile (dbl-only-routines): Add sincostab.
65717 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
65718 Use __sincostab not sincos.
65719 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
65720 name is a macro.
65721 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65722 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65723 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65724 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
65725 using __copysign.
65726 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
65727 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
65728 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
65729 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
65730 and __inv.
65731 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
65732 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
65733 __copysign.
65734 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
65735 define aliases when function name is a macro.
65736 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
65737 sysdeps/ieee754/dbl-64/sincos.tbl.
65738 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
65739 fma4-enabled routines.
65740 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
65741 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
65742 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
65743 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
65744 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
65745 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
65746 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
65747 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
65748 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
65749 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
65750 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
65751 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
65752 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
65753 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
65754 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
65755 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
65756 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
65757 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
65758 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
65759 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
65760 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
65761 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
65762 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
65763 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
65764 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
65765 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
65766 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
65767 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
65768 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
65769 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
65770
65771 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
65772 rename.
65773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65774 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65775 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65776 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65777 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65778 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65779 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65780 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65781
65782 2011-10-24 Andreas Schwab <schwab@redhat.com>
65783
65784 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
65785
65786 2011-10-23 Ulrich Drepper <drepper@gmail.com>
65787
65788 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
65789
65790 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
65791 prediction.
65792 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
65793
65794 * string/strnlen.c: Don't define STRNLEN, reverse logic.
65795 Remove unused variable magic_bits.
65796 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
65797
65798 * string/strnlen.c: Define and use STRNLEN macro.
65799 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
65800 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
65801 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
65802 * wcsmbs/wcslen.c: Define and use WCSLEN.
65803 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
65804 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
65805 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
65806 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
65807 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
65808 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
65809 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
65810
65811 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65812
65813 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65814 strnlen-sse2-no-bsf.
65815 Rename strlen-no-bsf to strlen-sse2-no-bsf.
65816 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
65817 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
65818 Add strnlen support.
65819 (USE_AS_STRNLEN): New macro.
65820 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
65821 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
65822 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
65823 * sysdeps/x86_64/wcslen.S: New file.
65824
65825 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
65826
65827 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
65828 XMM-moves are used for copying on small sizes.
65829
65830 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65831
65832 * wcsmbs/Makefile (strop-tests): Add wcschr.
65833 * wcsmbs/test-wcschr.c: New file.
65834 * string/test-strchr.c: Update.
65835 Add wcschr support.
65836 (WIDE): New macro.
65837
65838 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65839
65840 * wcsmbs/Makefile (strop-tests): Add wcslen.
65841 * wcsmbs/test-wcslen.c: New file.
65842 * string/test-strlen.c: Update.
65843 Add wcslen support.
65844 (WIDE): New macro.
65845
65846 2011-10-23 Ulrich Drepper <drepper@gmail.com>
65847
65848 * po/it.po: Update from translation team.
65849
65850 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65851
65852 * sysdeps/x86_64/wcscmp.S: Update.
65853 Fix wrong comparison semantics.
65854 wcscmp shall use signed comparison not unsigned.
65855 Don't use substraction to avoid overflow bug.
65856 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
65857 * wcsmbc/wcscmp.c: Likewise.
65858 * string/test-strcmp.c: Likewise.
65859 Add new tests to check cases with negative values.
65860
65861 2011-10-23 Ulrich Drepper <drepper@gmail.com>
65862
65863 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
65864 * sysdeps/x86_64/dla.h: ...here. New file.
65865 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
65866 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65867 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65868 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65869 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65870 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65871 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65872 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65873 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65874
65875 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
65876
65877 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
65878 __ynl_finite aliases.
65879
65880 2011-10-22 Ulrich Drepper <drepper@gmail.com>
65881
65882 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65883
65884 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
65885 define DLA_FMA.
65886 [DLA_FMA] (EMULV): Use DLA_FMA.
65887 [DLA_FMA] (MUL12): Use EMULV.
65888 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
65889 that are not needed.
65890 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65891 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65892 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65893 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65894 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65895 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65896 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65897
65898 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
65899
65900 * math/s_nan.c: Undef __nan.
65901 * math/s_nanf.c: Undef __nanf.
65902 * math/s_nanl.c: Undef __nanl.
65903 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
65904 "math_private.h".
65905
65906 2011-10-22 Ulrich Drepper <drepper@gmail.com>
65907
65908 * math/s_catan.c: Add branch predictions.
65909 * math/s_catanf.c: Likewise.
65910 * math/s_catanh.c: Likewise.
65911 * math/s_catanhf.c: Likewise.
65912 * math/s_catanhl.c: Likewise.
65913 * math/s_catanl.c: Likewise.
65914 * math/s_cexp.c: Likewise.
65915 * math/s_cexpf.c: Likewise.
65916 * math/s_cexpl.c: Likewise.
65917 * math/s_clog.c: Likewise.
65918 * math/s_clog10.c: Likewise.
65919 * math/s_clog10f.c: Likewise.
65920 * math/s_clog10l.c: Likewise.
65921 * math/s_clogf.c: Likewise.
65922 * math/s_clogl.c: Likewise.
65923 * math/s_csqrt.c: Likewise.
65924 * math/s_csqrtf.c: Likewise.
65925 * math/s_csqrtl.c: Likewise.
65926 * math/s_ctanf.c: Likewise.
65927 * math/s_ctanh.c: Likewise.
65928 * math/s_ctanhf.c: Likewise.
65929 * math/s_ctanhl.c: Likewise.
65930 * math/s_ctanl.c: Likewise.
65931
65932 * math/math_private.h: Define __nan, __nanf, __nanl.
65933 * math/s_cacosh.c: Include <math_private.h>.
65934 * math/s_cacoshl.c: Likewise.
65935 * math/s_casinh.c: Likewise.
65936 * math/s_casinhf.c: Likewise.
65937 * math/s_casinhl.c: Likewise.
65938 * math/s_ccos.c: Rely entire on ccosh.
65939 * math/s_ccosf.c: Rely entire on ccoshf.
65940 * math/s_ccosl.c: Rely entirely on ccoshl.
65941 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
65942 Remove tests for FE_INVALID.
65943 * math/s_ccoshf.c: Likewise.
65944 * math/s_ccoshl.c: Likewise.
65945 * math/s_csin.c: Likewise.
65946 * math/s_csinf.c: Likewise.
65947 * math/s_csinh.c Likewise.
65948 * math/s_csinhf.c: Likewise.
65949 * math/s_csinhl.c: Likewise.
65950 * math/s_csinl.c: Likewise.
65951 * math/s_ctan.c: Likewise.
65952 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
65953 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
65954 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
65955
65956 2011-10-21 Ulrich Drepper <drepper@gmail.com>
65957
65958 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
65959 compilation problems.
65960
65961 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
65962 __builtin_expect.
65963
65964 2011-10-20 Ulrich Drepper <drepper@gmail.com>
65965
65966 * sysdeps/i386/configure.in: Test for -mfma4 option.
65967 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
65968 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
65969 COMMON_CPUID_INDEX_80000001.
65970 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
65971 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
65972 use it if FMA3 is not supported.
65973 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
65974
65975 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
65976 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65977
65978 2011-10-20 Andreas Schwab <schwab@redhat.com>
65979
65980 [BZ #12892]
65981 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
65982 it would create a cycle with a link time dependency.
65983
65984 2011-10-19 Ulrich Drepper <drepper@gmail.com>
65985
65986 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
65987 instruction.
65988 * string/Makefile (strop-tests): Add rawmemchr.
65989 * string/test-rawmemchr.c: New file.
65990
65991 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
65992 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
65993 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
65994 when compiling str{,n}casecmp and when AVX is available. Hook up
65995 new optimized code in initializers.
65996
65997 2011-10-19 Andreas Schwab <schwab@redhat.com>
65998
65999 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
66000 __feraiseexcept instead of feraiseexcept.
66001
66002 2011-10-18 Ulrich Drepper <drepper@gmail.com>
66003
66004 * math/math_private.h: Define defaults for libc_fetestexcept and
66005 libc_feupdateenv.
66006 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
66007 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
66008 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66009 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66010 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66011 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66012 libc_fetestexcept and libc_feupdateenv.
66013
66014 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
66015 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
66016 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
66017 * sysdeps/x86_64/fpu/math_private.h: Define special version of
66018 libc_feholdexcept_setround.
66019
66020 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
66021 Add s_nearbyint-c and s_nearbyintf-c.
66022 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
66023 nearbyintf inlines.
66024 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
66025 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
66026 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
66027 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
66028
66029 * math/math_private.h: Define defaults for libc_fegetround,
66030 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
66031 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
66032 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
66033 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
66034 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
66035 standard functions.
66036 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66037 Remove comments and hacks for old compiler versions.
66038 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66039 libc_fegetround, libc_fesetround, libc_feholdexcept, and
66040 libc_feholdexceptl.
66041
66042 2011-10-18 Andreas Schwab <schwab@redhat.com>
66043
66044 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
66045 (__feraiseexcept_renamed): Add __NTH.
66046 (feraiseexcept): Add __NTH. Rename local variables to fix
66047 namespace violations.
66048
66049 2011-10-17 Ulrich Drepper <drepper@gmail.com>
66050
66051 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
66052
66053 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
66054
66055 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
66056 recently added interfaces.
66057 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
66058
66059 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
66060 about macro parameter expansion.
66061
66062 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
66063 __NO_MATH_INLINES is defined. Cleanups.
66064
66065 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
66066 and __floorf is target has SSE4.1.
66067 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
66068 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
66069 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
66070 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
66071
66072 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
66073 name.
66074 (floorf): Likewise.
66075
66076 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
66077
66078 2011-10-17 Andreas Schwab <schwab@redhat.com>
66079
66080 * misc/sys/cdefs.h: Fix last change.
66081
66082 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
66083 database lookup.
66084
66085 2011-10-16 Ulrich Drepper <drepper@gmail.com>
66086
66087 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
66088
66089 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
66090 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66091 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66092 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66093 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66094 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66095 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66096 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66097 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66098 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
66099 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
66100 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
66101 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
66102 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
66103 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
66104 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
66105 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
66106 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
66107 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
66108 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
66109 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
66110 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
66111
66112 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
66113 ceil, ceilf, floor, floorf.
66114
66115 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
66116 Perform IRELATIVE relocations last.
66117
66118 * elf/do-rel.h: Add another parameter nrelative, replacing the
66119 local variable with the same name. Change name of the function
66120 to end in Rel or Rela (uppercase).
66121 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
66122 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
66123 elf_dynamic_do_##reloc function.
66124
66125 2011-10-15 Ulrich Drepper <drepper@gmail.com>
66126
66127 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
66128 is sufficient, at least on modern CPUs.
66129
66130 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
66131
66132 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
66133 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
66134
66135 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
66136 __expl_finite.
66137 * math/bits/math-finite.h: Add entries for exp.
66138 * math/e_expl.c: Add __*_finite alias.
66139 * sysdeps/i386/fpu/e_exp.S: Likewise.
66140 * sysdeps/i386/fpu/e_expf.S: Likewise.
66141 * sysdeps/i386/fpu/e_expl.c: Likewise.
66142 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66143 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66144 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
66145 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
66146 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
66147 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
66148 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
66149
66150 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
66151 is sufficient, at least on modern CPUs.
66152
66153 * ctype/ctype-info.c (__ctype_init): Define.
66154 * include/ctype.h (__ctype_init): Declare.
66155 (__ctype_b_loc): The variable is always initialized.
66156 (__ctype_toupper_loc): Likewise.
66157 (__ctype_tolower_loc): Likewise.
66158 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
66159 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
66160
66161 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
66162
66163 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
66164
66165 * configure.in: Also look in $cxxmachine/include for C++ system
66166 headers.
66167
66168 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66169
66170 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
66171 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
66172 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
66173 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
66174 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
66175 (USE_AS_WMEMCMP): New macro.
66176 Fixing indents.
66177 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
66178 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
66179 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
66180 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
66181 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66182 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
66183 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
66184 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
66185 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
66186 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
66187 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
66188 (USE_AS_WMEMCMP): New macro.
66189 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
66190 * sysdeps/string/test-memcmp.c: Update.
66191 Fix simple_wmemcmp.
66192 Add new tests.
66193 * wcsmbs/wmemcmp.c: Update.
66194 (WMEMCMP): New macro.
66195 Fix overflow bug.
66196
66197 2011-10-12 Andreas Jaeger <aj@suse.de>
66198
66199 [BZ #13268]
66200 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
66201
66202 2011-10-15 Ulrich Drepper <drepper@gmail.com>
66203
66204 * libio/iofwide.c (do_length): Avoid warning.
66205
66206 * ctype/ctype.h (__isctype_f): Add missing __THROW.
66207
66208 2011-10-14 Ulrich Drepper <drepper@gmail.com>
66209
66210 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
66211
66212 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
66213 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
66214 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
66215 * sysdeps/i386/i686/fpu/e_log.S: New file.
66216 * sysdeps/i386/i686/fpu/e_logf.S: New file.
66217 * sysdeps/i386/i686/fpu/e_logl.S: New file.
66218
66219 * ctype/ctype.h: Add support for inlined isXXX functions when
66220 compiling C++ code.
66221
66222 2011-10-14 Andreas Schwab <schwab@redhat.com>
66223
66224 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66225
66226 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
66227
66228 2011-10-13 Roland McGrath <roland@hack.frob.com>
66229
66230 [BZ #13291]
66231 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
66232
66233 2011-10-13 Andreas Schwab <schwab@redhat.com>
66234
66235 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
66236 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
66237 feraiseexcept.
66238
66239 * sysdeps/x86_64/memrchr.S: Check for zero size.
66240
66241 * string/stratcliff.c: Add memrchr tests.
66242
66243 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66244
66245 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66246 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
66247 rawmemchr-sse2 rawmemchr-sse2-bsf.
66248 * sysdeps/i386/i686/multiarch/memchr.S: New file.
66249 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
66250 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
66251 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
66252 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
66253 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
66254 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
66255 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
66256 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
66257 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
66258 * string/memrchr.c (MEMRCHR): New macro.
66259
66260 2011-10-12 Ulrich Drepper <drepper@gmail.com>
66261
66262 Add integration with gcc's -ffinite-math-only and optimize wrapper
66263 functions in libm.
66264 * Versions.def: Define GLIBC_2.15 version for libm.
66265 * math/Makefile (headers): Add bits/math-finite.h.
66266 * math/bits/math-finite.h: New file.
66267 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
66268 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
66269 * math/e_acoshl.c: Add __*_finite alias.
66270 * math/e_acosl.c: Likewise.
66271 * math/e_asinl.c: Likewise.
66272 * math/e_atan2l.c: Likewise.
66273 * math/e_atanhl.c: Likewise.
66274 * math/e_coshl.c: Likewise.
66275 * math/e_exp10.c: Likewise.
66276 * math/e_exp10f.c: Likewise.
66277 * math/e_exp10l.c: Likewise.
66278 * math/e_exp2l.c: Likewise.
66279 * math/e_fmodl.c: Likewise.
66280 * math/e_gammal_r.c: Likewise.
66281 * math/e_hypotl.c: Likewise.
66282 * math/e_j0l.c: Likewise.
66283 * math/e_j1l.c: Likewise.
66284 * math/e_jnl.c: Likewise.
66285 * math/e_lgammal_r.c: Likewise.
66286 * math/e_log10l.c: Likewise.
66287 * math/e_log2l.c: Likewise.
66288 * math/e_logl.c: Likewise.
66289 * math/e_powl.c: Likewise.
66290 * math/e_sinhl.c: Likewise.
66291 * math/e_sqrtl.c: Likewise.
66292 * math/e_scalb.c: Completely rewritten and optimized.
66293 * math/e_scalbf.c: Likewise.
66294 * math/e_scalbl.c: Likewise.
66295 * math/w_acos.c: Likewise.
66296 * math/w_acosf.c: Likewise.
66297 * math/w_acosl.c: Likewise.
66298 * math/w_acosh.c: Likewise.
66299 * math/w_acoshf.c: Likewise.
66300 * math/w_acoshl.c: Likewise.
66301 * math/w_asin.c: Likewise.
66302 * math/w_asinf.c: Likewise.
66303 * math/w_asinl.c: Likewise.
66304 * math/w_atan2.c: Likewise.
66305 * math/w_atan2f.c: Likewise.
66306 * math/w_atan2l.c: Likewise.
66307 * math/w_atanh.c: Likewise.
66308 * math/w_atanhf.c: Likewise.
66309 * math/w_atanhl.c: Likewise.
66310 * math/w_exp10.c: Likewise.
66311 * math/w_exp10f.c: Likewise.
66312 * math/w_exp10l.c: Likewise.
66313 * math/w_fmod.c: Likewise.
66314 * math/w_fmodf.c: Likewise.
66315 * math/w_fmodl.c: Likewise.
66316 * math/w_j0.c: Likewise.
66317 * math/w_j0f.c: Likewise.
66318 * math/w_j0l.c: Likewise.
66319 * math/w_j1.c: Likewise.
66320 * math/w_j1f.c: Likewise.
66321 * math/w_j1l.c: Likewise.
66322 * math/w_jn.c: Likewise.
66323 * math/w_jnf.c: Likewise.
66324 * math/w_log.c: Likewise.
66325 * math/w_logf.c: Likewise.
66326 * math/w_logl.c: Likewise.
66327 * math/w_log10.c: Likewise.
66328 * math/w_log10f.c: Likewise.
66329 * math/w_log10l.c: Likewise.
66330 * math/w_log2.c: Likewise.
66331 * math/w_log2f.c: Likewise.
66332 * math/w_log2l.c: Likewise.
66333 * math/w_pow.c: Likewise.
66334 * math/w_powf.c: Likewise.
66335 * math/w_powl.c: Likewise.
66336 * math/w_remainder.c: Likewise.
66337 * math/w_remainderf.c: Likewise.
66338 * math/w_remainderl.c: Likewise.
66339 * math/w_scalb.c: Likewise.
66340 * math/w_scalbf.c: Likewise.
66341 * math/w_scalbl.c: Likewise.
66342 * math/w_sqrt.c: Likewise.
66343 * math/w_sqrtf.c: Likewise.
66344 * math/w_sqrtl.c: Likewise.
66345 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
66346 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
66347 used.
66348 * math/math_private.h: Declare __kernel_standard_f.
66349 * math/w_cosh.c: Remove cruft and optimize a bit.
66350 * math/w_coshf.c: Likewise.
66351 * math/w_coshl.c: Likewise.
66352 * math/w_exp2.c: Likewise.
66353 * math/w_exp2f.c: Likewise.
66354 * math/w_exp2l.c: Likewise.
66355 * math/w_hypot.c: Likewise.
66356 * math/w_hypotf.c: Likewise.
66357 * math/w_hypotl.c: Likewise.
66358 * math/w_lgamma.c: Likewise.
66359 * math/w_lgamma_r.c: Likewise.
66360 * math/w_lgammaf.c: Likewise.
66361 * math/w_lgammaf_r.c: Likewise.
66362 * math/w_lgammal.c: Likewise.
66363 * math/w_lgammal_r.c: Likewise.
66364 * math/w_sinh.c: Likewise.
66365 * math/w_sinhf.c: Likewise.
66366 * math/w_sinhl.c: Likewise.
66367 * math/w_tgamma.c: Likewise.
66368 * math/w_tgammaf.c: Likewise.
66369 * math/w_tgammal.c: Likewise.
66370 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66371 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66372 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
66373 Minor optimizations. Pretty printing. Remove cruft.
66374 * sysdeps/i386/fpu/e_acosf.S: Likewise.
66375 * sysdeps/i386/fpu/e_acosh.S: Likewise.
66376 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
66377 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
66378 * sysdeps/i386/fpu/e_acosl.c: Likewise.
66379 * sysdeps/i386/fpu/e_asin.S: Likewise.
66380 * sysdeps/i386/fpu/e_asinf.S: Likewise.
66381 * sysdeps/i386/fpu/e_atan2.S: Likewise.
66382 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
66383 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
66384 * sysdeps/i386/fpu/e_atanh.S: Likewise.
66385 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
66386 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
66387 * sysdeps/i386/fpu/e_exp10.S: Likewise.
66388 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
66389 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
66390 * sysdeps/i386/fpu/e_exp2.S: Likewise.
66391 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
66392 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
66393 * sysdeps/i386/fpu/e_fmod.S: Likewise.
66394 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
66395 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
66396 * sysdeps/i386/fpu/e_hypot.S: Likewise.
66397 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
66398 * sysdeps/i386/fpu/e_log.S: Likewise.
66399 * sysdeps/i386/fpu/e_log10.S: Likewise.
66400 * sysdeps/i386/fpu/e_log10f.S: Likewise.
66401 * sysdeps/i386/fpu/e_log10l.S: Likewise.
66402 * sysdeps/i386/fpu/e_log2.S: Likewise.
66403 * sysdeps/i386/fpu/e_log2f.S: Likewise.
66404 * sysdeps/i386/fpu/e_log2l.S: Likewise.
66405 * sysdeps/i386/fpu/e_logf.S: Likewise.
66406 * sysdeps/i386/fpu/e_logl.S: Likewise.
66407 * sysdeps/i386/fpu/e_pow.S: Likewise.
66408 * sysdeps/i386/fpu/e_powf.S: Likewise.
66409 * sysdeps/i386/fpu/e_powl.S: Likewise.
66410 * sysdeps/i386/fpu/e_remainder.S: Likewise.
66411 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
66412 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
66413 * sysdeps/i386/fpu/e_scalb.S: Likewise.
66414 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
66415 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
66416 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
66417 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
66418 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
66419 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
66420 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66421 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66422 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
66423 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66424 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
66425 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
66426 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
66427 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66428 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
66429 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
66430 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66431 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66432 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
66433 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
66434 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66435 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66436 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66437 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66438 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66439 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
66440 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66441 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66442 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66443 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66444 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66445 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66446 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66447 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
66448 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66449 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66450 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66451 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66452 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66453 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66454 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66455 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66456 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66457 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66458 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66459 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66460 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66461 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66462 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66463 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66464 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66465 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66466 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66467 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66468 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
66469 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66470 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66471 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66472 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66473 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66474 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66475 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66476 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66477 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66478 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66479 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66480 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66481 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66482 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66483 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66484 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66485 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66486 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66487 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
66488 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66489 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66490 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66491 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66492 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66493 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66494 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66495 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
66496 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66497 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66498 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66499 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66500 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66501 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
66502 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66503 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66504 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66505 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66506 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66507 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66508 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66509 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66510 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66511 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66512 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
66513 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66514 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
66515 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
66516 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
66517 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
66518 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
66519 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
66520 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
66521 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
66522 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
66523 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
66524 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
66525 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
66526 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66527 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
66528 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
66529 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
66530 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
66531 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
66532 (__isnanf): Likewise.
66533 (__isinf_ns): Likewise.
66534 (__isinf_nsf): Likewise.
66535 (__finite): Likewise.
66536 (__finitef): Likewise.
66537 (__ieee754_sqrt): Define as macro.
66538 (__ieee754_sqrtf): Define as macro.
66539 (__ieee754_sqrtl): Define as macro.
66540 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
66541 inlined copy.
66542 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
66543 __FINITE_MATH_ONLY__ consistent.
66544 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
66545
66546 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
66547
66548 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
66549 of rawmemchr.
66550
66551 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
66552
66553 2011-10-09 Ulrich Drepper <drepper@gmail.com>
66554
66555 * po/ja.po: Update from translation team.
66556
66557 2011-10-08 Roland McGrath <roland@hack.frob.com>
66558
66559 * locale/programs/locarchive.c (prepare_address_space): New function.
66560 (create_archive, enlarge_archive, open_archive): Use it.
66561
66562 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
66563 inside [SHARED], where it is used.
66564
66565 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
66566
66567 * nss/getent.c (netgroup_keys): Remove unused variable.
66568 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66569
66570 2011-10-08 Ulrich Drepper <drepper@gmail.com>
66571
66572 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
66573 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
66574 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
66575 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
66576 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
66577 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
66578 * math/Makefile (libm-calls): Add s_isinf_ns.
66579 * math/divtc3.c: Use __isinf_nsl instead of isinf.
66580 * math/multc3.c: Likewise.
66581 * math/s_casin.c: Likewise.
66582 * math/s_casinf.c: Likewise.
66583 * math/s_casinl.c: Likewise.
66584 * math/s_ccos.c: Likewise.
66585 * math/s_ccosf.c: Likewise.
66586 * math/s_ccosl.c: Likewise.
66587 * math/s_ctan.c: Likewise.
66588 * math/s_ctanf.c: Likewise.
66589 * math/s_ctanh.c: Likewise.
66590 * math/s_ctanhf.c: Likewise.
66591 * math/s_ctanhl.c: Likewise.
66592 * math/s_ctanl.c: Likewise.
66593 * math/w_fmod.c: Likewise.
66594 * math/w_fmodf.c: Likewise.
66595 * math/w_fmodl.c: Likewise.
66596 * math/w_remainder.c: Likewise.
66597 * math/w_remainderf.c: Likewise.
66598 * math/w_remainderl.c: Likewise.
66599 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
66600 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
66601 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
66602 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
66603 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
66604 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
66605 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
66606 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
66607
66608 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
66609 of the number.
66610 * stdio-common/printf_fphex.c: Likewise.
66611 * stdio-common/printf_size.c: Likewise.
66612
66613 * math/e_exp10.c: Include math_private.h using <...> not "...".
66614 * math/e_exp10f.c: Likewise.
66615 * math/e_exp10l.c: Likewise.
66616 * math/e_exp2l.c: Likewise.
66617 * math/e_j0l.c: Likewise.
66618 * math/e_j1l.c: Likewise.
66619 * math/e_jnl.c: Likewise.
66620 * math/e_lgammal_r.c: Likewise.
66621 * math/e_rem_pio2l.c: Likewise.
66622 * math/e_scalb.c: Likewise.
66623 * math/e_scalbf.c: Likewise.
66624 * math/e_scalbl.c: Likewise.
66625 * math/k_cosl.c: Likewise.
66626 * math/k_sinl.c: Likewise.
66627 * math/k_tanl.c: Likewise.
66628 * math/s_cacoshf.c: Likewise.
66629 * math/s_catan.c: Likewise.
66630 * math/s_catanf.c: Likewise.
66631 * math/s_catanh.c: Likewise.
66632 * math/s_catanhf.c: Likewise.
66633 * math/s_catanhl.c: Likewise.
66634 * math/s_catanl.c: Likewise.
66635 * math/s_ccosh.c: Likewise.
66636 * math/s_ccoshf.c: Likewise.
66637 * math/s_ccoshl.c: Likewise.
66638 * math/s_cexp.c: Likewise.
66639 * math/s_cexpf.c: Likewise.
66640 * math/s_cexpl.c: Likewise.
66641 * math/s_clog.c: Likewise.
66642 * math/s_clog10.c: Likewise.
66643 * math/s_clog10f.c: Likewise.
66644 * math/s_clog10l.c: Likewise.
66645 * math/s_clogf.c: Likewise.
66646 * math/s_clogl.c: Likewise.
66647 * math/s_csin.c: Likewise.
66648 * math/s_csinf.c: Likewise.
66649 * math/s_csinh.c: Likewise.
66650 * math/s_csinhf.c: Likewise.
66651 * math/s_csinhl.c: Likewise.
66652 * math/s_csinl.c: Likewise.
66653 * math/s_csqrt.c: Likewise.
66654 * math/s_csqrtf.c: Likewise.
66655 * math/s_csqrtl.c: Likewise.
66656 * math/s_ctan.c: Likewise.
66657 * math/s_ctanf.c: Likewise.
66658 * math/s_ctanh.c: Likewise.
66659 * math/s_ctanhf.c: Likewise.
66660 * math/s_ctanhl.c: Likewise.
66661 * math/s_ctanl.c: Likewise.
66662 * math/s_ldexp.c: Likewise.
66663 * math/s_ldexpf.c: Likewise.
66664 * math/s_ldexpl.c: Likewise.
66665 * math/s_significand.c: Likewise.
66666 * math/s_significandf.c: Likewise.
66667 * math/s_significandl.c: Likewise.
66668 * math/w_acos.c: Likewise.
66669 * math/w_acosf.c: Likewise.
66670 * math/w_acosh.c: Likewise.
66671 * math/w_acoshf.c: Likewise.
66672 * math/w_acoshl.c: Likewise.
66673 * math/w_acosl.c: Likewise.
66674 * math/w_asin.c: Likewise.
66675 * math/w_asinf.c: Likewise.
66676 * math/w_asinl.c: Likewise.
66677 * math/w_atan2.c: Likewise.
66678 * math/w_atan2f.c: Likewise.
66679 * math/w_atan2l.c: Likewise.
66680 * math/w_atanh.c: Likewise.
66681 * math/w_atanhf.c: Likewise.
66682 * math/w_atanhl.c: Likewise.
66683 * math/w_cosh.c: Likewise.
66684 * math/w_coshf.c: Likewise.
66685 * math/w_coshl.c: Likewise.
66686 * math/w_dremf.c: Likewise.
66687 * math/w_exp10.c: Likewise.
66688 * math/w_exp10f.c: Likewise.
66689 * math/w_exp10l.c: Likewise.
66690 * math/w_exp2.c: Likewise.
66691 * math/w_exp2f.c: Likewise.
66692 * math/w_fmod.c: Likewise.
66693 * math/w_fmodf.c: Likewise.
66694 * math/w_fmodl.c: Likewise.
66695 * math/w_hypot.c: Likewise.
66696 * math/w_hypotf.c: Likewise.
66697 * math/w_hypotl.c: Likewise.
66698 * math/w_j0.c: Likewise.
66699 * math/w_j0f.c: Likewise.
66700 * math/w_j0l.c: Likewise.
66701 * math/w_j1.c: Likewise.
66702 * math/w_j1f.c: Likewise.
66703 * math/w_j1l.c: Likewise.
66704 * math/w_jn.c: Likewise.
66705 * math/w_jnf.c: Likewise.
66706 * math/w_jnl.c: Likewise.
66707 * math/w_lgamma.c: Likewise.
66708 * math/w_lgamma_r.c: Likewise.
66709 * math/w_lgammaf.c: Likewise.
66710 * math/w_lgammaf_r.c: Likewise.
66711 * math/w_lgammal.c: Likewise.
66712 * math/w_lgammal_r.c: Likewise.
66713 * math/w_log.c: Likewise.
66714 * math/w_log10.c: Likewise.
66715 * math/w_log10f.c: Likewise.
66716 * math/w_log10l.c: Likewise.
66717 * math/w_log2.c: Likewise.
66718 * math/w_log2f.c: Likewise.
66719 * math/w_log2l.c: Likewise.
66720 * math/w_logf.c: Likewise.
66721 * math/w_logl.c: Likewise.
66722 * math/w_pow.c: Likewise.
66723 * math/w_powf.c: Likewise.
66724 * math/w_powl.c: Likewise.
66725 * math/w_remainder.c: Likewise.
66726 * math/w_remainderf.c: Likewise.
66727 * math/w_remainderl.c: Likewise.
66728 * math/w_scalb.c: Likewise.
66729 * math/w_scalbf.c: Likewise.
66730 * math/w_scalbl.c: Likewise.
66731 * math/w_sinh.c: Likewise.
66732 * math/w_sinhf.c: Likewise.
66733 * math/w_sinhl.c: Likewise.
66734 * math/w_sqrt.c: Likewise.
66735 * math/w_sqrtf.c: Likewise.
66736 * math/w_sqrtl.c: Likewise.
66737 * math/w_tgamma.c: Likewise.
66738 * math/w_tgammaf.c: Likewise.
66739 * math/w_tgammal.c: Likewise.
66740
66741 * po/ja.po: Update from translation team.
66742
66743 2011-09-29 Andreas Jaeger <aj@suse.de>
66744
66745 [BZ #13179]
66746 * sunrpc/netname.c (netname2host): Fix logic.
66747
66748 [BZ #6779]
66749 [BZ #6783]
66750 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
66751 correctly.
66752 * math/w_remainder.c (__remainder): Likewise.
66753 * math/w_remainderf.c (__remainderf): Likewise.
66754 * math/libm-test.inc (remainder_test): Add test cases.
66755
66756 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66757
66758 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
66759 sdiv_qrnnd.
66760
66761 2011-10-07 Ulrich Drepper <drepper@gmail.com>
66762
66763 * string/test-memcmp.c: Avoid unncessary #defines.
66764 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66765
66766 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66767
66768 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
66769 Use new sse2 version for core i3 - i7 as it's faster
66770 than sse42 version.
66771 (bit_Prefer_PMINUB_for_stringop): New.
66772 * sysdeps/x86_64/rawmemchr.S: Update.
66773 Replace with faster SSE2 version.
66774 * sysdeps/x86_64/memrchr.S: New file.
66775 * sysdeps/x86_64/memchr.S: Update.
66776 Replace with faster SSE2 version.
66777
66778 2011-09-12 Marek Polacek <mpolacek@redhat.com>
66779
66780 * elf/dl-load.c (lose): Add cast to avoid warning.
66781
66782 2011-10-07 Ulrich Drepper <drepper@gmail.com>
66783
66784 * po/ca.po: Update from translation team.
66785
66786 * inet/getnetgrent_r.c: Hook up nscd.
66787 * nscd/Makefile (routines): Add nscd_netgroup.
66788 (nscd-modules): Add netgroupcache.
66789 (CFLAGS-netgroupcache.c): Define.
66790 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
66791 (cache_search): Add const to second parameter.
66792 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
66793 INNETGR.
66794 (dbs): Add netgrdb entry.
66795 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
66796 (verify_persistent_db): Handle netgrdb.
66797 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
66798 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
66799 GETFDNETGR.
66800 (netgroup_response_header): Define.
66801 (innetgroup_response_header): Define.
66802 (datahead): Add netgroup_response_header and innetgroup_response_header
66803 elements.
66804 * nscd/nscd.conf: Add entries for netgroup cache.
66805 * nscd/nscd.h (dbtype): Add netgrdb.
66806 (_PATH_NSCD_NETGROUP_DB): Define.
66807 (netgroup_iov_disabled): Declare.
66808 (xmalloc, xcalloc, xrealloc): Move declarations here.
66809 (cache_search): Adjust prototype.
66810 Add netgroup-related prototypes.
66811 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
66812 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
66813 (__nscd_innetgr): Declare.
66814 * nscd/selinux.c (perms): Use access_vector_t as element type and
66815 add netgroup-related initializers.
66816 * nscd/netgroupcache.c: New file.
66817 * nscd/nscd_netgroup.c: New file.
66818 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
66819 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
66820 For four parameters use innetgr.
66821 * nss/nss_files/files-init.c: Add definition and callback for netgr.
66822 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
66823 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
66824 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
66825
66826 * nscd/connections.c (register_traced_file): Don't register file
66827 for disabled databases.
66828
66829 2011-10-06 Ulrich Drepper <drepper@gmail.com>
66830
66831 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
66832
66833 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
66834 from tree and freeing node.
66835
66836 2011-09-25 Jiri Olsa <jolsa@redhat.com>
66837
66838 * nss/nsswitch.c (__nss_database_lookup): Handle
66839 nss_parse_service_list out of memory case.
66840
66841 2011-09-15 Jiri Olsa <jolsa@redhat.com>
66842
66843 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
66844 out of memory case.
66845
66846 2011-10-04 Andreas Schwab <schwab@redhat.com>
66847
66848 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
66849 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
66850 pass it down.
66851 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
66852 elf_machine_rela, elf_machine_lazy_rel.
66853 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
66854 (ELF_DYNAMIC_DO_REL): Likewise.
66855 (ELF_DYNAMIC_DO_RELA): Likewise.
66856 (ELF_DYNAMIC_RELOCATE): Likewise.
66857 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
66858 to ELF_DYNAMIC_DO_REL.
66859 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
66860 (dl_main): In trace mode always set __RTLD_NOIFUNC.
66861 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
66862 elf_machine_rela.
66863 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
66864 skip_ifunc, don't call ifunc function if non-zero.
66865 (elf_machine_rela): Likewise.
66866 (elf_machine_lazy_rel): Likewise.
66867 (elf_machine_lazy_rela): Likewise.
66868 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
66869 (elf_machine_lazy_rel): Likewise.
66870 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
66871 Likewise.
66872 (elf_machine_lazy_rel): Likewise.
66873 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66874 Likewise.
66875 (elf_machine_lazy_rel): Likewise.
66876 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
66877 (elf_machine_lazy_rel): Likewise.
66878 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
66879 (elf_machine_lazy_rel): Likewise.
66880 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
66881 (elf_machine_lazy_rel): Likewise.
66882 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
66883 (elf_machine_lazy_rel): Likewise.
66884 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
66885 (elf_machine_lazy_rel): Likewise.
66886 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
66887 (elf_machine_lazy_rel): Likewise.
66888
66889 2011-09-28 Ulrich Drepper <drepper@gmail.com>
66890
66891 * nss/nss_files/files-init.c (_nss_files_init): Use static
66892 initialization for all the *_traced_file variables.
66893
66894 2011-09-28 Andreas Schwab <schwab@redhat.com>
66895
66896 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66897
66898 2011-09-27 Roland McGrath <roland@hack.frob.com>
66899
66900 [BZ #13226]
66901 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
66902
66903 2011-09-27 Andreas Schwab <schwab@redhat.com>
66904
66905 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
66906 Reread the line before reparsing it.
66907
66908 2011-09-26 Andreas Schwab <schwab@redhat.com>
66909
66910 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
66911
66912 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
66913 Maxim Kuvyrkov <maxim@codesourcery.com>
66914 Joseph Myers <joseph@codesourcery.com>
66915
66916 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
66917 if needed for __stack_chk_guard.
66918
66919 2011-09-19 Roland McGrath <roland@hack.frob.com>
66920
66921 * sysdeps/posix/spawni.c (script_execute): Always define it.
66922 It will be optimized away if unused.
66923 (maybe_script_execute): New function.
66924 (__spawni): Call it.
66925
66926 * Makerules: Don't include tls.make.
66927 (config-tls): Always set to thread.
66928 * tls.make.c: File removed.
66929
66930 2011-09-19 Mike Frysinger <vapier@gentoo.org>
66931
66932 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
66933 * config.make.in (CPPFLAGS-config): New substituted variable.
66934
66935 2011-09-15 Ulrich Drepper <drepper@gmail.com>
66936
66937 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
66938
66939 [BZ #13192]
66940 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
66941 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
66942
66943 2011-09-15 Roland McGrath <roland@hack.frob.com>
66944
66945 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
66946 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
66947 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
66948 (CALL_FAIL): Likewise.
66949 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
66950 (CALL_FAIL): Macro removed.
66951 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
66952
66953 2011-09-15 Ulrich Drepper <drepper@gmail.com>
66954
66955 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
66956 for __FINITE_MATH_ONLY__ == 1.
66957
66958 2011-09-15 Andreas Schwab <schwab@redhat.com>
66959
66960 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
66961 __ieee754_sqrt instead of sqrt.
66962 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
66963 __ieee754_sqrtf instead of sqrtf.
66964 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
66965 __floorf instead of floorf.
66966 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
66967 __floorf, __truncf instead of floorf, truncf.
66968
66969 2011-09-14 Ulrich Drepper <drepper@gmail.com>
66970
66971 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
66972
66973 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
66974 __extern_always_inline.
66975 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
66976 32-bit.
66977
66978 2011-09-14 Andreas Schwab <schwab@redhat.com>
66979
66980 * elf/rtld.c (dl_main): Also relocate in dependency order when
66981 doing symbol dependency testing.
66982
66983 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
66984
66985 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66986 Always define `refsym'.
66987
66988 2011-09-13 Andreas Schwab <schwab@redhat.com>
66989
66990 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
66991 (__FD_ELT): Renamed from __FDELT.
66992 * misc/bits/select2.h (__FD_ELT): Likewise.
66993 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
66994 __FD_MASK instead of __FDELT, __FDMASK.
66995 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
66996 Likewise.
66997 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
66998 Likewise.
66999
67000 * elf/Makefile (gen-ldd): Fix pattern.
67001
67002 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
67003 (init_tls): Likewise.
67004
67005 2011-09-12 Ulrich Drepper <drepper@gmail.com>
67006
67007 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
67008
67009 2011-09-12 Andreas Schwab <schwab@redhat.com>
67010
67011 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
67012 `struct cmsghdr *' instead of `void *'.
67013 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
67014 Likewise.
67015
67016 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
67017
67018 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
67019 if non-absolute.
67020 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
67021 ldd_rewrite_script.
67022
67023 2011-09-11 Ulrich Drepper <drepper@gmail.com>
67024
67025 * configure.in: Remove --with-tls option.
67026 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
67027 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
67028 out in case it is missing.
67029 * sysdeps/ia64/elf/configure.in: Likewise.
67030 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
67031 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
67032 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
67033 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
67034 * sysdeps/sh/elf/configure.in: Likewise.
67035 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
67036 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67037 * sysdeps/x86_64/elf/configure.in: Likewise.
67038 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
67039 * sysdeps/mach/hurd/tls.h: Likewise.
67040
67041 [BZ #13067]
67042 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
67043
67044 [BZ #13090]
67045 * configure.in: Fix use of AC_INIT.
67046
67047 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
67048
67049 2011-09-10 Ulrich Drepper <drepper@gmail.com>
67050
67051 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
67052 __set_errno.
67053 * malloc/hooks.c: Likewise.
67054
67055 [BZ #11929]
67056 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
67057 variables statically.
67058 (narenas): Initialize.
67059 (list_lock): Initialize.
67060 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
67061 initializtion of main_arena and list_lock. Small cleanups.
67062 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
67063 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
67064 Add initializers to main_arena and mp_.
67065 (malloc_state): Remove pagesize member. Change all users to use
67066 GLRO(dl_pagesize).
67067
67068 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
67069 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
67070 is always initialized.
67071
67072 * malloc/malloc.c: Removed unused configurations and dead code.
67073 * malloc/arena.c: Likewise.
67074 * malloc/hooks.c: Likewise.
67075 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
67076
67077 * include/tls.h: Removed. USE___THREAD must always be defined.
67078 * bits/libc-tsd.h: Don't handle !USE___THREAD.
67079 * elf/dl-libc.c: Likewise.
67080 * elf/dl-tsd.c: Likewise.
67081 * include/errno.h: Likewise.
67082 * include/netdb.h: Likewise.
67083 * include/resolv.h: Likewise.
67084 * inet/herrno-loc.c: Likewise.
67085 * inet/herrno.c: Likewise.
67086 * malloc/arena.c: Likewise.
67087 * malloc/hooks.c: Likewise.
67088 * malloc/malloc.c: Likewise.
67089 * resolv/res-state.c: Likewise.
67090 * resolv/res_libc.c: Likewise.
67091 * sysdeps/i386/dl-machine.h: Likewise.
67092 * sysdeps/ia64/dl-machine.h: Likewise.
67093 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
67094 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
67095 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
67096 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
67097 * sysdeps/sh/dl-machine.h: Likewise.
67098 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67099 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67100 * sysdeps/unix/i386/sysdep.S: Likewise.
67101 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
67102 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
67103 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
67104 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
67105 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
67106 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
67107 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
67108 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67109 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
67111 * sysdeps/unix/x86_64/sysdep.S: Likewise.
67112 * sysdeps/x86_64/dl-machine.h: Likewise.
67113 * tls.make.c: Likewise.
67114
67115 * configure.in: Remove --with-__thread option. Make tests for
67116 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
67117 tls_model attribute fail if no support is available. Remove
67118 USE_IN_LIBIO.
67119 * Makeconfig: Adjust for dropped configure option. All features are
67120 now mandatory.
67121 * Makerules: Likewise.
67122 * Versions.def: Likewise.
67123 * argp/argp-fmtstream.c: Likewise.
67124 * argp/argp-fmtstream.h: Likewise.
67125 * argp/argp-help.c: Likewise.
67126 * assert/assert.c: Likewise.
67127 * config.h.in: Likewise.
67128 * config.make.in: Likewise.
67129 * configure: Likewise.
67130 * configure.in: Likewise.
67131 * csu/Versions: Likewise.
67132 * csu/init.c: Likewise.
67133 * elf/tst-audit2.c: Likewise.
67134 * elf/tst-tls10.c: Likewise.
67135 * elf/tst-tls10.h: Likewise.
67136 * elf/tst-tls11.c: Likewise.
67137 * elf/tst-tls12.c: Likewise.
67138 * elf/tst-tls14.c: Likewise.
67139 * elf/tst-tlsmod11.c: Likewise.
67140 * elf/tst-tlsmod12.c: Likewise.
67141 * elf/tst-tlsmod13.c: Likewise.
67142 * elf/tst-tlsmod13a.c: Likewise.
67143 * elf/tst-tlsmod14a.c: Likewise.
67144 * elf/tst-tlsmod15b.c: Likewise.
67145 * elf/tst-tlsmod16a.c: Likewise.
67146 * elf/tst-tlsmod16b.c: Likewise.
67147 * elf/tst-tlsmod7.c: Likewise.
67148 * elf/tst-tlsmod8.c: Likewise.
67149 * elf/tst-tlsmod9.c: Likewise.
67150 * gmon/gmon.c: Likewise.
67151 * grp/fgetgrent_r.c: Likewise.
67152 * grp/putgrent.c: Likewise.
67153 * hurd/fopenport.c: Likewise.
67154 * include/libc-symbols.h: Likewise.
67155 * include/tls.h: Likewise.
67156 * intl/gettextP.h: Likewise.
67157 * intl/loadinfo.h: Likewise.
67158 * locale/global-locale.c: Likewise.
67159 * locale/localeinfo.h: Likewise.
67160 * mach/devstream.c: Likewise.
67161 * malloc/arena.c: Likewise.
67162 * malloc/set-freeres.c: Likewise.
67163 * misc/err.c: Likewise.
67164 * misc/getttyent.c: Likewise.
67165 * misc/mntent_r.c: Likewise.
67166 * posix/getopt.c: Likewise.
67167 * posix/wordexp.c: Likewise.
67168 * pwd/fgetpwent_r.c: Likewise.
67169 * resolv/Versions: Likewise.
67170 * resolv/res_hconf.c: Likewise.
67171 * shadow/fgetspent_r.c: Likewise.
67172 * shadow/putspent.c: Likewise.
67173 * stdio-common/printf_fphex.c: Likewise.
67174 * stdio-common/tmpfile.c: Likewise.
67175 * stdlib/abort.c: Likewise.
67176 * stdlib/fmtmsg.c: Likewise.
67177 * sunrpc/auth_unix.c: Likewise.
67178 * sunrpc/clnt_perr.c: Likewise.
67179 * sunrpc/clnt_tcp.c: Likewise.
67180 * sunrpc/clnt_udp.c: Likewise.
67181 * sunrpc/clnt_unix.c: Likewise.
67182 * sunrpc/openchild.c: Likewise.
67183 * sunrpc/svc_simple.c: Likewise.
67184 * sunrpc/svc_tcp.c: Likewise.
67185 * sunrpc/svc_udp.c: Likewise.
67186 * sunrpc/svc_unix.c: Likewise.
67187 * sunrpc/xdr.c: Likewise.
67188 * sunrpc/xdr_array.c: Likewise.
67189 * sunrpc/xdr_rec.c: Likewise.
67190 * sunrpc/xdr_ref.c: Likewise.
67191 * sunrpc/xdr_stdio.c: Likewise.
67192
67193 2011-09-09 Ulrich Drepper <drepper@gmail.com>
67194
67195 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67196
67197 2011-07-03 Andreas Jaeger <aj@suse.de>
67198
67199 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
67200 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
67201 regenerate with gen-libm-tests.pl.
67202
67203 2010-05-12 Petr Baudis <pasky@suse.cz>
67204
67205 [BZ #11589]
67206 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
67207 around j0() zero points by switching to j1().
67208 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67209 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67210 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67211 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67212
67213 2011-09-09 Ulrich Drepper <drepper@gmail.com>
67214
67215 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
67216 instead of 0.
67217 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
67218 instead of 0.
67219 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67220 Patch in part by Pavel Roskin <proski@gnu.org>.
67221
67222 [BZ #13138]
67223 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
67224 realloc.
67225 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
67226 Free memory block if necessary.
67227
67228 [BZ #12847]
67229 * libio/genops.c (INTDEF): For string streams the _lock pointer can
67230 be NULL. Don't lock in this case.
67231
67232 2011-09-09 Roland McGrath <roland@hack.frob.com>
67233
67234 * elf/elf.h (ELFOSABI_GNU): New macro.
67235 (ELFOSABI_LINUX): Define to that.
67236
67237 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
67238
67239 * string/strncat.c (strncat): Undef the symbol in case it has been
67240 defined in bits/string.h.
67241
67242 2011-09-09 Ulrich Drepper <drepper@gmail.com>
67243
67244 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
67245
67246 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
67247 link map.
67248
67249 2011-08-17 Andreas Jaeger <aj@suse.de>
67250
67251 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
67252
67253 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
67254 Ian Lance Taylor <iant@google.com>
67255
67256 * math/libm-test.inc (lround_test): New testcase.
67257 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
67258
67259 2011-09-08 Ulrich Drepper <drepper@gmail.com>
67260
67261 * Makefile: Remove support for automatic cvs check-ins.
67262 * Makerules: Likewise.
67263 * config.make.in: Likewise.
67264 * configure.in: Likewise.
67265 * intl/Makefile: Likewise.
67266 * locale/Makefile: Likewise.
67267 * po/Makefile: Likewise.
67268 * posix/Makefile: Likewise.
67269 * sysdeps/gnu/Makefile: Likewise.
67270 * sysdeps/mach/hurd/Makefile: Likewise.
67271 * sysdeps/sparc/sparc32/Makefile: Likewise.
67272
67273 [BZ #13118]
67274 * posix/Makefile (bug-regex32-ENV): Define.
67275 Patch by John Stanley <jpsinthemix@verizon.net>.
67276
67277 * misc/Makefile (headers): Add bits/select2.h.
67278 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
67279 * misc/bits/select2.h: New file.
67280 * include/bits/select2.h: New file.
67281 * debug/Makefile (routines): Add fdelt_chk.
67282 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
67283 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
67284 FD_ISSET.
67285 * debug/fdelt_chk.c: New file.
67286
67287 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
67288 * wcsmbs/test-wmemcmp.c: Likewise.
67289 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
67290 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
67291
67292 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67293
67294 * string/Makefile (strop-tests): Add memcmp.
67295 * string/test-wmemcmp.c: New file.
67296 * string/test-memcmp.c: Add wmemcmp support.
67297
67298 2011-09-08 Roland McGrath <roland@hack.frob.com>
67299
67300 [BZ #13153]
67301 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
67302 2011-07-19 change.
67303
67304 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
67305 garbage value in a __mach_port_mod_refs call in the cases of the
67306 task-self and thread-self ports.
67307
67308 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
67309
67310 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
67311
67312 2011-09-08 Andreas Schwab <schwab@redhat.com>
67313
67314 * elf/dl-load.c (lose): Check for non-null L.
67315
67316 2011-09-07 Ulrich Drepper <drepper@gmail.com>
67317
67318 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
67319
67320 * elf/dl-libc.c (dlerror_run): Pass back error code from
67321 dl_catch_error.
67322
67323 [BZ #13123]
67324 * elf/dl-load.c (lose): Free l_origin if it is valid.
67325
67326 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
67327 names.
67328 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
67329 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67330 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67331 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67332 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
67333 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
67334
67335 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67336
67337 * sysdeps/powerpc/fpu/e_hypot.c: New file.
67338 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
67339 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
67340 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
67341 * sysdeps/powerpc/fpu/k_cosf.c: New file.
67342 * sysdeps/powerpc/fpu/k_sinf.c: New file.
67343 * sysdeps/powerpc/fpu/s_cosf.c: New file.
67344 * sysdeps/powerpc/fpu/s_sinf.c: New file.
67345 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
67346 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
67347
67348 2011-08-15 Alan Modra <amodra@gmail.com>
67349
67350 [BZ #13092]
67351 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
67352 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
67353 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
67354 ppc_mcount to static-only-routines.
67355 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
67356 __mcount_internal.
67357 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
67358 __mcount_internal with usual JUMPTARGET. Remove useless nop.
67359
67360 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
67361
67362 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
67363 for finite and infinity parameters.
67364
67365 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
67366
67367 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
67368 and add nop instructions for throughput optimization.
67369 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67370
67371 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
67372
67373 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
67374 aligned copy for power7 with vector-scalar instructions.
67375 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
67376
67377 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
67378
67379 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
67380 AVX check.
67381
67382 2011-09-07 Andreas Schwab <schwab@redhat.com>
67383
67384 [BZ #13144]
67385 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
67386 last change.
67387
67388 2011-09-07 Ulrich Drepper <drepper@gmail.com>
67389
67390 * sysdeps/unix/sysv/linux/x86_64/init-first.c
67391 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
67392 syscall wrapper around clock_gettime in __vdso_clock_gettime.
67393 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
67394 clock_gettime.
67395
67396 2011-09-06 Ulrich Drepper <drepper@gmail.com>
67397
67398 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
67399 Forgot to demangle the pointer.
67400
67401 * sysdeps/i386/sysdep.h: Define atom_text_section.
67402 * sysdeps/x86_64/sysdep.h: Likewise.
67403 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
67404 section with atom_text_section.
67405 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67406 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67407 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
67408 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67409 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
67410
67411 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
67412 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
67413 already be defined. Change to take two parameters and don't assign
67414 result to variable. Adjust all users.
67415 Define INTERNAL_GETTIME if not already defined.
67416 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
67417 call.
67418 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
67419 HAVE_CLOCK_GETTIME_VSYSCALL.
67420 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
67421
67422 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
67423 gettimeofday vsyscall, just use time.
67424
67425 2011-09-06 Andreas Schwab <schwab@redhat.com>
67426
67427 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
67428 <errno.h>.
67429
67430 2011-09-06 Ulrich Drepper <drepper@gmail.com>
67431
67432 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
67433 syscall on x86-64.
67434 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
67435 syscall.
67436 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
67437 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
67438 syscall if possible.
67439
67440 2011-09-05 Ulrich Drepper <drepper@gmail.com>
67441
67442 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
67443 e_ident. Don't pass to find_mapsXX.
67444 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
67445
67446 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
67447
67448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67449 strchr-sse2-no-bsf strrchr-sse2-no-bsf
67450 * sysdeps/x86_64/multiarch/strchr.S: Update.
67451 Check bit_slow_BSF bit.
67452 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
67453 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
67454 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
67455
67456 2011-09-05 Ulrich Drepper <drepper@gmail.com>
67457
67458 [BZ #13134]
67459 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
67460 before glibc 2.15.
67461 (tryshell): Define.
67462 (__spawni): Change last parameter to be flag. Test
67463 SPAWN_XFLAGS_USE_PATH flag to use path or not.
67464 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
67465 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
67466 * posix/spawni.c: Likewise.
67467 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
67468 * posix/spawnp.c: Likewise. Change normal version to use
67469 SPAWN_XFLAGS_USE_PATH.
67470 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
67471 SPAWN_XFLAGS_TRY_SHELL.
67472
67473 [BZ #13150]
67474 * posix/glob.h: Remove gcc 1.x support.
67475
67476 [BZ #13068]
67477 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
67478
67479 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
67480
67481 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67482 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
67483 strrchr-sse2-bsf
67484 * sysdeps/i386/i686/multiarch/strchr.S: New file.
67485 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
67486 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
67487 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
67488 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
67489 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
67490
67491 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67492
67493 * sysdeps/x86_64/wcscmp.S: New file.
67494
67495 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
67496 wcscmp-c wcscmp-sse2
67497 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
67498 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
67499 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
67500 * wcsmbs/wcscmp.c: Allow renaming.
67501
67502 2011-09-05 David S. Miller <davem@davemloft.net>
67503
67504 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
67505 stack slot, rather than the struct return pointer slot.
67506 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
67507 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
67508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
67509 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
67510
67511 2011-09-05 Ulrich Drepper <drepper@gmail.com>
67512
67513 * po/ja.po: Update from translation team.
67514
67515 [BZ #13144]
67516 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
67517 kernel in 64-bit binaries.
67518
67519 2011-09-01 David S. Miller <davem@davemloft.net>
67520
67521 * elf/elf.h (HWCAP_SPARC_*): Move to..
67522 * sysdeps/sparc/sysdep.h: this new file and add new values.
67523 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
67524 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
67525 _DL_HWCAP_COUNT to 24.
67526 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
67527 entries.
67528 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
67529 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
67530 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
67531 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
67532 instead of magic constants.
67533 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67534
67535 2011-08-31 David S. Miller <davem@davemloft.net>
67536
67537 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
67538 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
67539 Reimplement to do errno handling inline.
67540 (SYSCALL_ERROR_HANDLER): New macro.
67541 (__SYSCALL_STRING): Do not do errno handling in asm.
67542 (__CLONE_SYSCALL_STRING): Delete.
67543 (__INTERNAL_SYSCALL_STRING): Delete.
67544 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
67545 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
67546 (PSEUDO): Reimplement to do errno handling inline.
67547 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
67548 (SYSCALL_ERROR_HANDLER): New macro.
67549 (__SYSCALL_STRING): Do not do errno handling in asm.
67550 (__CLONE_SYSCALL_STRING): Delete.
67551 (__INTERNAL_SYSCALL_STRING): Delete.
67552 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
67553 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
67554 i386.
67555 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
67556 (inline_syscall*): Add 'err' argument.
67557 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
67558 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
67559 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
67560 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
67561
67562 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
67563 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67564
67565 2011-08-30 Andreas Schwab <schwab@redhat.com>
67566
67567 * elf/rtld.c (dl_main): Relocate objects in dependency order.
67568
67569 2011-08-29 Jiri Olsa <jolsa@redhat.com>
67570
67571 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
67572 directive.
67573
67574 2011-08-24 David S. Miller <davem@davemloft.net>
67575
67576 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
67577
67578 2011-08-24 Andreas Schwab <schwab@redhat.com>
67579
67580 * elf/Makefile: Add rules to build and run unload8 test.
67581 * elf/unload8.c: New file.
67582 * elf/unload8mod1.c: New file.
67583 * elf/unload8mod1x.c: New file.
67584 * elf/unload8mod2.c: New file.
67585 * elf/unload8mod3.c: New file.
67586
67587 * elf/dl-close.c (_dl_close_worker): Reset private search list if
67588 it wasn't used.
67589
67590 2011-08-23 David S. Miller <davem@davemloft.net>
67591
67592 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
67593 subtract stack bias.
67594 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
67595 %sp not %fp in calculations.
67596 (_JMPBUF_UNWINDS_ADJ): Likewise.
67597
67598 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
67599 (aio_suspend): Call it to force an exception region around the
67600 AIO_MISC_WAIT() invocation.
67601
67602 2011-08-23 Andreas Schwab <schwab@redhat.com>
67603
67604 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
67605 backslash.
67606
67607 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
67608
67609 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
67610 protection macro.
67611 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
67612 and <dl-machine.h>.
67613 (Elf64_FuncDesc): Remove.
67614
67615 2011-08-22 David S. Miller <davem@davemloft.net>
67616
67617 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
67618 sigaltstack check, add missing cfi directives.
67619 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
67620 missing cfi directives, and sigaltstack handling.
67621
67622 2011-08-16 Andreas Schwab <schwab@redhat.com>
67623
67624 [BZ #11724]
67625 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
67626 object is seen twice.
67627 * elf/dl-fini.c (_dl_sort_fini): Likewise.
67628
67629 * elf/Makefile (distribute): Add tst-initorder2.c.
67630 (tests): Add tst-initorder2.
67631 (modules-names): Add tst-initorder2a tst-initorder2b
67632 tst-initorder2c tst-initorder2d. Add rules to build them.
67633 ($(objpfx)tst-initorder2.out): New rule.
67634 * elf/tst-initorder2.c: New file.
67635 * elf/tst-initorder2.exp: New file.
67636
67637 2011-08-22 Andreas Schwab <schwab@redhat.com>
67638
67639 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
67640
67641 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
67642 dependencies back to end of function.
67643
67644 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
67645 $(elfobjdir)/ld.so.
67646
67647 2011-08-21 Ulrich Drepper <drepper@gmail.com>
67648
67649 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
67650 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
67651 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
67652 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
67653 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
67654 of __vdso_gettimeofday.
67655 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
67656 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
67657 attribute_hidden.
67658 (_libc_vdso_platform_setup): Remove initialization of
67659 __vdso_gettimeofday and __vdso_time.
67660
67661 2011-08-20 Ulrich Drepper <drepper@gmail.com>
67662
67663 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
67664 and fgetc_unlocked.
67665 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
67666 getc_unlocked.
67667
67668 * elf/dl-open.c (add_to_global): Report additions to the global scope
67669 for LD_DEBUG=scopes.
67670 (dl_open_worker): Also print scope of newly loaded dependencies.
67671 (_dl_show_scope): Indicate if there is no scope.
67672
67673 [BZ #13114]
67674 * stdio-common/Makefile (tests): Add bug24.
67675 * stdio-common/bug24.c: New file.
67676
67677 2011-08-19 Andreas Jaeger <aj@suse.de>
67678
67679 [BZ #13114]
67680 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
67681 non-existant file when using close-on-exec mode.
67682
67683 2011-08-20 Ulrich Drepper <drepper@gmail.com>
67684
67685 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
67686 the very first instruction.
67687
67688 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
67689 the CFI state in the end.
67690 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
67691 inclusion of dl-trampoline.h.
67692 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
67693
67694 2011-08-19 Andreas Schwab <schwab@redhat.com>
67695
67696 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
67697 expectations for long double.
67698
67699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
67700 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
67701
67702 2011-08-14 David S. Miller <davem@davemloft.net>
67703
67704 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
67705 artificual limit depends upon the system page size.
67706
67707 2011-08-17 Ulrich Drepper <drepper@gmail.com>
67708
67709 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
67710 * resolv/Makefile: Define CFLAGS-libresolv.
67711
67712 2011-08-17 Andreas Schwab <schwab@redhat.com>
67713
67714 * nss/makedb.c (compute_tables): Make variables used in nested
67715 function static.
67716
67717 2011-08-17 Ulrich Drepper <drepper@gmail.com>
67718
67719 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
67720 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
67721 if buffer was too small.
67722
67723 * elf/pldd.c (main): Attach to all threads in the process.
67724 Rewrite /proc handling to use *at functions.
67725
67726 2011-08-16 Ulrich Drepper <drepper@gmail.com>
67727
67728 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
67729 specifies first scope to show.
67730 (dl_open_worker): Update callers. Move printing scope of new
67731 object to before the relocation.
67732 * elf/rtld.c (dl_main): Update _dl_show_scope call.
67733 * sysdeps/generic/ldsodefs.h: Update declaration.
67734
67735 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
67736 string for the scope number.
67737
67738 2011-08-14 Ulrich Drepper <drepper@gmail.com>
67739
67740 * nscd/servicescache.c (cache_addserv): Make sure written is always
67741 initialized.
67742
67743 2011-08-14 Roland McGrath <roland@hack.frob.com>
67744
67745 * sysdeps/i386/i486/bits/atomic.h
67746 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
67747 statement expression, so as to suppress "set but not used" warning.
67748 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
67749
67750 * string/strncat.c (STRNCAT): Use prototype definition.
67751
67752 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
67753 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
67754 -Iprograms here.
67755 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
67756 (localedef-modules): Add localedef.
67757 (locale-modules): Add locale.
67758
67759 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
67760 * elf/rtld.c (dl_main): Invert order of assignment in last change,
67761 to avoid a warning.
67762
67763 2011-08-14 David S. Miller <davem@davemloft.net>
67764
67765 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
67766 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
67767
67768 2011-08-13 Ulrich Drepper <drepper@gmail.com>
67769
67770 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
67771 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
67772 * elf/rtld.c (dl_main): Set l_name of vDSO.
67773 Call _dl_show_scope when DL_DEBUG_SCOPES.
67774 (process_dl_debug): Recognize scopes flag and also set it for all.
67775 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
67776 Declare _dl_show_scope.
67777
67778 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
67779 (do_dlopen): Pass caller_dlopen to dl_open.
67780 (__libc_dlopen_mode): Initialize caller_dlopen.
67781
67782 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
67783 of libc. Make tolower call locale-independent. Optimize a bit by
67784 using isdigit instead of isalnum.
67785 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
67786
67787 2011-08-12 Ulrich Drepper <drepper@gmail.com>
67788
67789 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
67790 was a dependency or dynamically loaded.
67791
67792 2011-08-11 Ulrich Drepper <drepper@gmail.com>
67793
67794 * intl/l10nflist.c: Allow architecture-specific pop function.
67795 * sysdeps/x86_64/l10nflist.c: New file.
67796
67797 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
67798 classification.
67799
67800 2011-08-10 Andreas Schwab <schwab@redhat.com>
67801
67802 * include/dirent.h: Add libc_hidden_proto for scandirat and
67803 scandirat64. Don't declare __scandirat64.
67804 * dirent/scandirat.c: Add libc_hidden_def.
67805 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
67806 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
67807
67808 2011-08-10 David S. Miller <davem@davemloft.net>
67809
67810 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
67811 enum.
67812 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
67813 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
67814 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
67815
67816 2011-08-09 Ulrich Drepper <drepper@gmail.com>
67817
67818 * Versions.def [libc]: Add GLIBC_2.15.
67819 * dirent/Makefile (routines): Add scandirat and scandirat64.
67820 * dirent/Versions [libc]: Export scandirat and scandirat64 for
67821 GLIBC_2.15.
67822 * dirent/dirent.h: Declare scandirat and scandirat64.
67823 * dirent/scandirat.c: New file.
67824 * dirent/scandirat64.c: New file.
67825 * sysdeps/wordsize-64/scandirat.c: New file.
67826 * sysdeps/wordsize-64/scandirat64.c: New file.
67827 * dirent/opendir.c: Define opendirat.
67828 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
67829 using scandirat.
67830 * dirent/scandir64.c: Adjust for scandir.c change.
67831 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
67832 __scandirat64, and __scandir_cancel_handler.
67833 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
67834 additional parameter and use openat instead of open (outside of ld.so).
67835 Add new __opendir as wrapper around __opendirat.
67836 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
67837 here without requiring old scandirat implementation.
67838
67839 2011-08-08 Ulrich Drepper <drepper@gmail.com>
67840
67841 * dirent/scandir.c (cancel_handler): Renamed to
67842 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
67843 defined. Adjust users.
67844 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
67845 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
67846
67847 2011-08-04 Ulrich Drepper <drepper@gmail.com>
67848
67849 * string/test-string.h (IMPL): Use __STRING to expand name and then
67850 stringify it.
67851
67852 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
67853 of cleanups.
67854
67855 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67856
67857 * string/Makefile: Update.
67858 (strop-tests): Append strncat.
67859 * string/test-wcscmp.c: New file.
67860 New comprehensive test for wcscmp.
67861 * string/test-strcmp.c: Update.
67862 (WIDE): New define.
67863
67864 2011-07-22 Andreas Schwab <schwab@redhat.com>
67865
67866 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
67867 line.
67868
67869 2011-07-26 Andreas Schwab <schwab@redhat.com>
67870
67871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
67872 encoding to ACE if AI_IDN.
67873
67874 2011-08-01 Jakub Jelinek <jakub@redhat.com>
67875
67876 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
67877 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
67878
67879 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
67880
67881 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
67882 Fix overflow bug in strncat.
67883 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
67884
67885 * string/test-strncat.c: Update.
67886 Add new tests for checking overflow bugs.
67887
67888 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
67889
67890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67891 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
67892 * sysdeps/i386/i686/multiarch/strcat.S: New file.
67893 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
67894 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
67895 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
67896 * sysdeps/i386/i686/multiarch/strncat.S: New file.
67897 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
67898 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
67899
67900 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
67901 (USE_AS_STRCAT): Define.
67902 Add strcat and strncat support.
67903 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67904
67905 2011-07-25 Andreas Schwab <schwab@redhat.com>
67906
67907 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
67908 __n bigger than INT_MAX+1.
67909 (__strncmp_g): Likewise.
67910
67911 2011-07-23 Ulrich Drepper <drepper@gmail.com>
67912
67913 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
67914 * libio/stido.h: Likewise.
67915
67916 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
67917 (AF_NFC): Define.
67918 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
67919 (AF_NFC): Define.
67920
67921 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
67922 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
67923 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
67924 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
67925 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
67926
67927 [BZ #13021]
67928 * scripts/test-installation.pl: Don't expect libnss_test1 to be
67929 installed.
67930
67931 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
67932 typo.
67933 (_dl_x86_64_save_sse): Likewise.
67934
67935 2011-07-22 Ulrich Drepper <drepper@gmail.com>
67936
67937 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
67938 OSXSAVE.
67939 (_dl_x86_64_save_sse): Likewise.
67940
67941 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
67942
67943 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
67944
67945 2011-07-21 Andreas Schwab <schwab@redhat.com>
67946
67947 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
67948 change.
67949 (_dl_x86_64_save_sse): Use correct AVX check.
67950
67951 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67952
67953 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
67954 bug in strncpy/strncat.
67955 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
67956
67957 2011-07-21 Ulrich Drepper <drepper@gmail.com>
67958
67959 * string/tester.c (test_strcat): Add tests for different alignments
67960 of source and destination.
67961 (test_strncat): Likewise.
67962
67963 2011-07-20 Ulrich Drepper <drepper@gmail.com>
67964
67965 [BZ #12852]
67966 * posix/glob.c (glob): Check passed in values before using them in
67967 expressions to avoid some overflows.
67968 (glob_in_dir): Likewise.
67969
67970 [BZ #13007]
67971 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
67972 check for AVX enablement so that we don't crash with old kernels and
67973 new hardware.
67974 * elf/tst-audit4.c: Add same checks here.
67975 * elf/tst-audit6.c: Likewise.
67976
67977 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
67978
67979 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
67980
67981 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
67982
67983 2011-07-20 Ulrich Drepper <drepper@gmail.com>
67984
67985 * po/cs.po: Update from translation team.
67986 * po/bg.po: Likewise.
67987
67988 2011-07-12 Marek Polacek <mpolacek@redhat.com>
67989
67990 * misc/sys/cdefs.h: Add support for const attribute.
67991 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
67992 to gnu_dev_{major,minor,makedev} functions.
67993
67994 2011-07-20 Marek Polacek <mpolacek@redhat.com>
67995
67996 * intl/dcigettext.c (get_output_charset): Add missing bracket.
67997
67998 2011-07-20 Andreas Schwab <schwab@redhat.com>
67999
68000 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
68001 strlen results.
68002
68003 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68004
68005 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
68006 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
68007 register in order to avoid conflicts with the soft frame pointer
68008 being held in r11 when necessary.
68009 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
68010 (INTERNAL_VSYSCALL_NCS): Likewise.
68011
68012 2011-07-14 Marek Polacek <mpolacek@redhat.com>
68013
68014 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
68015 * elf/dl-fini.c (_dl_fini): Adjust caller.
68016 * elf/dl-close.c (_dl_close_worker): Likewise.
68017 * sysdeps/generic/ldsodefs.h: Adjust declaration.
68018
68019 2011-07-15 Marek Polacek <mpolacek@redhat.com>
68020
68021 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
68022 "aux_cache->nlibs < 0".
68023
68024 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
68025 in the reload-count case.
68026
68027 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
68028
68029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68030 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
68031 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
68032 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
68033 * sysdeps/x86_64/multiarch/strcat.S: New file.
68034 * sysdeps/x86_64/multiarch/strncat.S: New file.
68035 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
68036 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
68037 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
68038 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
68039 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
68040 (USE_AS_STRCAT): Define.
68041 Add strcat and strncat support.
68042 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68043 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
68044 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
68045 * string/strncat.c: Update.
68046 (USE_AS_STRNCAT): Define.
68047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68048 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
68049 and i7.
68050 * sysdeps/x86_64/multiarch/init-arch.h
68051 (bit_Prefer_PMINUB_for_stringop): New.
68052 (index_Prefer_PMINUB_for_stringop): Likewise.
68053 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
68054 bit_Prefer_PMINUB_for_stringop.
68055
68056 2011-07-19 Ulrich Drepper <drepper@gmail.com>
68057
68058 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
68059 buffer64.
68060 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
68061 of casting of buffer.
68062 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
68063 buffer32 and buffer64.
68064 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
68065 writes instead of casting of buffer.
68066 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
68067 buffer32.
68068 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
68069 casting of buffer.
68070
68071 2011-07-19 Andreas Schwab <schwab@redhat.com>
68072
68073 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
68074
68075 2011-07-19 Ulrich Drepper <drepper@gmail.com>
68076
68077 * nscd/nscd.c (termination_handler): Don't do anything for a database
68078 if it has not yet been initialized.
68079
68080 2011-07-18 Ulrich Drepper <drepper@gmail.com>
68081
68082 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68083
68084 2011-07-15 Marek Polacek <mpolacek@redhat.com>
68085
68086 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68087
68088 2011-07-18 Ulrich Drepper <drepper@gmail.com>
68089
68090 * po/nl.po: Update from translation team.
68091 * po/sv.po: Likewise.
68092
68093 2011-07-16 Roland McGrath <roland@hack.frob.com>
68094
68095 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
68096 now disallowed by GCC.
68097
68098 * configure.in (use-default-link): Default to yes if a test -shared
68099 link meets our qualifications.
68100 * configure: Regenerated.
68101
68102 * config.make.in (output-format): New variable.
68103 * configure.in: Check for ld --print-output-format support.
68104 * configure: Regenerated.
68105 * Makerules ($(common-objpfx)format.lds)
68106 [$(output-format) != unknown]: Just use $(output-format),
68107 instead of the linker-script munging.
68108
68109 2011-07-14 Roland McGrath <roland@hack.frob.com>
68110
68111 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
68112 of $(common-objpfx)shlib.lds.
68113 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
68114
68115 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
68116 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
68117
68118 * configure.in (-z relro check): Adjust test code to add a large
68119 writable data section after it.
68120 * configure: Regenerated.
68121
68122 2011-07-11 Roland McGrath <roland@hack.frob.com>
68123
68124 * configure.in (-z relro check): Fix test code to make the variable
68125 truly const.
68126 * configure: Regenerated.
68127
68128 2011-07-11 Ulrich Drepper <drepper@gmail.com>
68129
68130 * nscd/nscd.h (struct traced_file): Define.
68131 (struct database_dyn): Remove inotify_descr, reset_res, and filename
68132 elements. Add traced_files.
68133 (inotify_fd): Declare.
68134 (register_traced_file): Declare.
68135 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
68136 (inotify_fd): Export.
68137 (resolv_conf_descr): Remove.
68138 (nscd_init): Move inotify descriptor creation to main.
68139 Don't register files for notification here.
68140 (register_traced_file): New function.
68141 (invalidate_cache): Don't use reset_res to determine whether to call
68142 res_init, go through the list of registered files.
68143 (main_loop_poll): The inotify descriptors are now stored in the
68144 structures for the traced files.
68145 (main_loop_epoll): Likewise
68146 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
68147 to __nss_disable_nscd.
68148 * nscd/cache.c (prune_cache): There is no single inotify descriptor
68149 for a database anymore. Check the records for all the registered
68150 files instead.
68151 * nss/Makefile (libnss_files-routines): Add files-init.
68152 (libnss_db-routines): Add db-init.
68153 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
68154 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
68155 * nss/nss_db/db-init.c: New file.
68156 * nss/nss_files/files-init.c: New file.
68157 * nss/nsswitch.c (nss_load_library): New function. Broken out of
68158 __nss_lookup_function.
68159 (__nss_lookup_function): Call nss_load_library.
68160 (nss_load_all_libraries): New function.
68161 (__nss_disable_nscd): Take parameter with callback function for files
68162 to register. Set is_nscd. Load all the DSOs for the NSS modules
68163 used for the cached services.
68164 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
68165 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
68166 options for features to all the files in nscd.
68167
68168 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
68169
68170 2011-07-10 Roland McGrath <roland@hack.frob.com>
68171
68172 * csu/elf-init.c (__libc_csu_init): Comment typo.
68173
68174 2011-07-09 Ulrich Drepper <drepper@gmail.com>
68175
68176 * po/pl.po: Update from translation team.
68177 * po/ja.po: Likewise.
68178 * po/ru.po: Likewise.
68179 * po/ko.po: Likewise.
68180 * po/fr.po: Likewise.
68181
68182 2011-07-09 Roland McGrath <roland@hack.frob.com>
68183
68184 * configure.in (.ctors/.dtors header and trailer check):
68185 Use an empirical test on a built program.
68186 * configure: Regenerated.
68187
68188 * configure.in (-z relro check): Use an empirical test on a built DSO.
68189 Detect, but do not require, on ia64.
68190 * configure: Regenerated.
68191
68192 * configure.in (READELF): Find it with AC_CHECK_TOOL.
68193 Update tests that use readelf to use $READELF instead.
68194 * configure: Regenerated.
68195
68196 2011-07-08 Ulrich Drepper <drepper@gmail.com>
68197
68198 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
68199 if the result is not used.
68200
68201 2011-07-05 Andreas Jaeger <aj@suse.de>
68202
68203 [BZ#9696]
68204 * stdlib/tst-strtod.c: Add testcase.
68205
68206 2011-07-07 Ulrich Drepper <drepper@gmail.com>
68207
68208 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
68209 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
68210 The latter has a higher limit. Take additional parameter to pass to
68211 the new function.
68212 (__pathconf): Pass file to __statfs_link_max.
68213 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
68214 __statfs_link_max.
68215 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
68216 __statfs_link_max.
68217
68218 [BZ #12868]
68219 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
68220 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68221 Handle Lustre.
68222 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
68223 (__statfs_filesize_max): Likewise.
68224 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
68225
68226 2011-07-05 Andreas Jaeger <aj@suse.de>
68227
68228 * resolv/res_comp.c (dn_skipname): Remove unused variable.
68229
68230 2011-07-06 Marek Polacek <mpolacek@redhat.com>
68231
68232 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
68233 `status' variable.
68234 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
68235 Likewise.
68236
68237 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
68238
68239 * Makefile (strop-tests): Add strncat.
68240 * string/test-strncat.c: New file.
68241
68242 2011-06-30 Marek Polacek <mpolacek@redhat.com>
68243
68244 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
68245
68246 2011-06-21 Andreas Jaeger <aj@suse.de>
68247
68248 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
68249 Copy rule from iconvdata/Makefile.
68250
68251 2011-07-06 Ulrich Drepper <drepper@gmail.com>
68252
68253 [BZ #12922]
68254 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
68255 but no long options are defined, just return 'W'.
68256
68257 2011-06-22 Marek Polacek <mpolacek@redhat.com>
68258
68259 [BZ #9696]
68260 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
68261
68262 2011-07-06 Ulrich Drepper <drepper@gmail.com>
68263
68264 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
68265 netgroups to read.
68266 (innetgr): Likewise.
68267
68268 2011-07-05 Roland McGrath <roland@hack.frob.com>
68269
68270 * config.make.in (install_root): Default to $(DESTDIR).
68271
68272 2011-07-05 Ulrich Drepper <drepper@gmail.com>
68273
68274 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
68275
68276 2011-07-02 Roland McGrath <roland@hack.frob.com>
68277
68278 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
68279
68280 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
68281 containing directory rather than embedding absolute directory names.
68282
68283 * scripts/check-local-headers.sh: Rewritten using awk.
68284 Match by word, not by line. Print error messages for matches.
68285 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
68286
68287 * Makerules [shlib-lds-flags empty]:
68288 ($(common-objpfx)libc_pic.opts): New target.
68289 ($(common-objpfx)libc_pic.os.clean): New target.
68290 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
68291
68292 * config.make.in (OBJCOPY): New variable.
68293 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
68294 * configure: Regenerated.
68295
68296 * config.make.in (use-default-link): New variable.
68297 * configure.in (use_default_link): Grok --with-default-link to set it.
68298 * configure: Regenerated.
68299 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
68300 (shlib-lds, shlib-lds-flags): Define to empty.
68301
68302 * Makerules (shlib-lds): New variable.
68303 (shlib-lds-flags): New variable.
68304 (build-shlib, build-moduile, build-module-asneeded): Use it.
68305 ($(common-objpfx)libc.so): Use $(shlib-lds).
68306 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
68307 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
68308
68309 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
68310 DT_FLAGS/DT_FLAGS_1 with zero flags.
68311
68312 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
68313 linker script munging.
68314
68315 2011-07-02 Ulrich Drepper <drepper@gmail.com>
68316
68317 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
68318 as 128-bit value.
68319 * crypt/sha512.c (sha512_process_block): Perform total addition using
68320 128-bit if possible.
68321 (__sha512_finish_ctx): Likewise.
68322 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
68323 as 64-bit value.
68324 * crypt/sha256.c (SWAP64): Define.
68325 (sha256_process_block): Perform total addition using 64-bit if
68326 possible.
68327 (__sha256_finish_ctx): Likewise.
68328
68329 2011-07-01 Ulrich Drepper <drepper@gmail.com>
68330
68331 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
68332 * nscd/initgrcache.c (addinitgroupsX): Likewise.
68333 * nscd/hstcache.c (cache_addhst): Likewise.
68334 * nscd/grpcache.c (cache_addgr): Likewise.
68335 * nscd/aicache.c (addhstaiX): Likewise
68336 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
68337
68338 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
68339
68340 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
68341 * nscd/initgrcache.c (addinitgroupsX): Likewise.
68342 * nscd/hstcache.c (cache_addhst): Likewise.
68343 * nscd/grpcache.c (cache_addgr): Likewise.
68344 * nscd/aicache.c (addhstaiX): Likewise
68345
68346 2011-07-01 Andreas Schwab <schwab@redhat.com>
68347
68348 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
68349 domain only when needed.
68350
68351 2011-06-30 Andreas Schwab <schwab@redhat.com>
68352
68353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
68354 is always restored.
68355
68356 2011-06-29 Ulrich Drepper <drepper@gmail.com>
68357
68358 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
68359 are re-adding the entry.
68360 * nscd/servicescache.c (cache_addserv): Likewise.
68361
68362 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
68363
68364 * sysdeps/generic/dl-irel.h: fix protection against multiple
68365 inclusions.
68366 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
68367
68368 2011-06-28 Ulrich Drepper <drepper@gmail.com>
68369
68370 [BZ #12935]
68371 * malloc/memusage.sh: Fix quoting in message.
68372 * debug/xtrace.sh: Likewise.
68373
68374 * configure.in: Remove support for --experimental-malloc option, make
68375 it the default.
68376 * config.make.in: Likewise.
68377 * malloc/Makefile: Likewise.
68378
68379 2011-06-27 Andreas Schwab <schwab@redhat.com>
68380
68381 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
68382 two-byte characters.
68383
68384 2011-06-27 Roland McGrath <roland@hack.frob.com>
68385
68386 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
68387 AC_CACHE_CHECK invocation.
68388 * configure: Regenerated.
68389
68390 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
68391
68392 2011-06-27 Ulrich Drepper <drepper@gmail.com>
68393
68394 [BZ #12350]
68395 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
68396 bit from old_res_options.
68397
68398 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
68399
68400 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
68401 value type for setfct.
68402
68403 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
68404
68405 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68406 __gettimeofday instead of gettimeofday.
68407
68408 2011-06-26 Ulrich Drepper <drepper@gmail.com>
68409
68410 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
68411
68412 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
68413
68414 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
68415
68416 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
68417 info.
68418
68419 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
68420
68421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68422 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
68423 strcpy-sse2-unaligned strncpy-sse2-unaligned
68424 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
68425 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
68426 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
68427 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
68428 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
68429 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
68430 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
68431 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
68432 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
68433 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
68434 (STRCPY): Support SSE2 and SSSE3 versions.
68435
68436 2011-06-24 Ulrich Drepper <drepper@gmail.com>
68437
68438 [BZ #12874]
68439 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
68440 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
68441 kernels which artificially limit size of requests.
68442
68443 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
68444
68445 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68446 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
68447 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
68448 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
68449 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
68450 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
68451 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
68452 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
68453 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
68454 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
68455 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
68456 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
68457 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
68458 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
68459 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
68460 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68461 Enable unaligned load optimization for Intel Core i3, i5 and i7
68462 processors.
68463 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
68464 Define.
68465 (index_Fast_Unaligned_Load): Define.
68466 (HAS_FAST_UNALIGNED_LOAD): Define.
68467
68468 2011-06-23 Marek Polacek <mpolacek@redhat.com>
68469
68470 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
68471
68472 2011-06-22 Ulrich Drepper <drepper@gmail.com>
68473
68474 [BZ #12907]
68475 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
68476 until it is clear that the information is realy needed.
68477 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
68478
68479 2011-06-22 Andreas Schwab <schwab@redhat.com>
68480
68481 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
68482
68483 2011-06-22 Ulrich Drepper <drepper@gmail.com>
68484
68485 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68486 /sys/devices/system/cpu/online if it is usable.
68487
68488 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
68489 reading the information from the /proc filesystem to once a second.
68490
68491 2011-06-21 Andreas Jaeger <aj@suse.de>
68492
68493 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
68494 NULL after inclusion of kernel headers.
68495
68496 2011-06-21 Ulrich Drepper <drepper@gmail.com>
68497
68498 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
68499 calls to internal_setent.
68500
68501 [BZ #12885]
68502 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
68503 addresses using gethostbyname4_r ignore IPv4 addresses.
68504
68505 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
68506 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
68507
68508 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
68509
68510 2011-06-20 David S. Miller <davem@davemloft.net>
68511
68512 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
68513 inclusions.
68514 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
68515
68516 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
68517 (elf_irel): Use it.
68518 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
68519 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
68520 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
68521 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
68522 * sysdeps/x86_64/dl-irel.h: Likewise.
68523
68524 * elf/dl-runtime.c: Use elf_ifunc_invoke.
68525 * elf/dl-sym.c: Likewise.
68526
68527 2011-06-15 Ulrich Drepper <drepper@gmail.com>
68528
68529 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
68530 need to dereference resplen2.
68531
68532 2011-06-14 Andreas Schwab <schwab@redhat.com>
68533
68534 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
68535
68536 2011-06-15 Ulrich Drepper <drepper@gmail.com>
68537
68538 * Makeconfig: Define vardbdir and inst_vardbdir.
68539 * nss/Makefile: Add rules to install db-Makefile.
68540
68541 * nss/nss_db/db-XXX.c: Cleanup.
68542
68543 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
68544 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
68545 GLIBC_PRIVATE.
68546 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
68547 * nss/makedb.c: Implement -g option to specify that value strings
68548 are generated and should not be added to table iterated over for
68549 get*ent calls.
68550 * nss/nss_db/db-initgroups.c: New file.
68551
68552 * nss/getent.c: Add support for initgroups lookups through getgrouplist
68553 interface.
68554
68555 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
68556 (internal_getgrouplist): Adjust to name change.
68557 Update use_initgroups_entry if this is not the first call.
68558 * nss/databases.def: Add initgroups entry.
68559
68560 * nss/makedb.c (compute_tables): Check result of multiple hash table
68561 sizes to minimize maximum chain length.
68562
68563 2011-06-14 Ulrich Drepper <drepper@gmail.com>
68564
68565 * Versions.def: Add entry for libnss_db.
68566 * shlib-versions: Likewise.
68567 * nss/Makefile: Add rules to build libnss_db.
68568 * nss/Versions: Add libnss_db information. Organize libnss_files
68569 entries better.
68570 * nss/db-Makefile: Add gshadow support. Change rules for the new
68571 makedb progra. Some minor improvements to generate smaller files.
68572 * nss/nss_db/nss_db.h: Move NSS database header data structures to
68573 here from...
68574 * nss/makedb.c: ...here.
68575 Improve database format to be smaller and require less memory at
68576 runtime.
68577 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
68578 db anymore.
68579 * nss/nss_db/db-netgrp.c: Likewise.
68580 * nss/nss_db/db-open.c: Likewise.
68581 * nss/nss_files/flies-XXX.x: Adjust comments.
68582 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
68583 * nss/nss_files/files-grp.c: Likewise.
68584 * nss/nss_files/files-hosts.c: Likewise.
68585 * nss/nss_files/files-network.c: Likewise.
68586 * nss/nss_files/files-proto.c: Likewise.
68587 * nss/nss_files/files-pwd.c: Likewise.
68588 * nss/nss_files/files-rpc.c: Likewise.
68589 * nss/nss_files/files-service.c: Likewise.
68590 * nss/nss_files/files-sgrp.c: Likewise.
68591 * nss/nss_files/files-spwd.c: Likewise.
68592 * nss/nss_db/db-alias.c: Removed.
68593 * nss/nss_db/dummy-db.h: Removed.
68594
68595 2011-06-02 Ulrich Drepper <drepper@gmail.com>
68596
68597 * nss/makedb.c: Rewritten to not use database library.
68598 * nss/Makefile: Update to build new makedb program.
68599
68600 2011-06-14 Andreas Jaeger <aj@suse.de>
68601
68602 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
68603 memset declaration.
68604
68605 2011-06-10 Andreas Schwab <schwab@redhat.com>
68606
68607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
68608 tmpbuf.
68609
68610 2011-06-10 Roland McGrath <roland@hack.frob.com>
68611
68612 * Makerules (shlib.lds): Fail if the linker script comes out empty.
68613 * elf/Makefile ($(objpfx)ld.so): Likewise.
68614
68615 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
68616 Don't list ld.so twice in dependencies.
68617
68618 * posix/bug-regex31.c: Include <stdlib.h>.
68619
68620 * nscd/hstcache.c (cache_addhst): Remove unused variable.
68621
68622 * nis/nss_compat/compat-spwd.c
68623 (getspent_next_nss_netgr): Remove unused variable.
68624 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
68625
68626 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
68627 nonmembers" output to use the right array.
68628
68629 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
68630
68631 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
68632
68633 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
68634 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
68635 * catgets/gencat.c (read_input_file): Likewise.
68636 * locale/programs/locarchive.c (enlarge_archive): Likewise.
68637
68638 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
68639 variable definition inside #if's controlling its use.
68640
68641 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
68642
68643 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
68644
68645 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
68646
68647 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
68648 unreachable code.
68649
68650 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
68651
68652 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
68653 * configure: Regenerated.
68654
68655 * Makerules: Revert last change.
68656 * elf/Makefile: Likewise.
68657
68658 2011-06-09 Roland McGrath <roland@hack.frob.com>
68659
68660 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
68661 * elf/Makefile ($(objpfx)librtld.os): Likewise.
68662 (reloc-link): Likewise.
68663
68664 2011-06-09 Ulrich Drepper <drepper@gmail.com>
68665
68666 * elf/Makefile: Add rules to build pldd.
68667 * elf/pldd.c: New file.
68668 * elf/pldd-xx.c: New file.
68669
68670 2011-06-07 Ulrich Drepper <drepper@gmail.com>
68671
68672 * version.h: Update for 2.15 development version.
68673
68674 2011-06-07 David S. Miller <davem@davemloft.net>
68675
68676 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
68677 ifuncs.
68678 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
68679 elf_machine_lazy_rel): Likewise.
68680 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
68681 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
68682 elf_machine_lazy_rel): Likewise.
68683 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
68684 dl_hwcap via passed in argument.
68685 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
68686 Likewise.
68687
68688 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68689
68690 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
68691
68692 2011-06-06 Roland McGrath <roland@hack.frob.com>
68693
68694 [BZ #12849]
68695 * manual/fdl-1.1.texi: New file, verbatim from:
68696 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
68697 * manual/lgpl-2.1.texi: New file, verbatim from:
68698 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
68699 * manual/Makefile (licenses): New variable, list those new file names.
68700 (texis): Use it.
68701 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
68702
68703 * manual/fdl.texi: File removed.
68704 * manual/lesser.texi: File removed.
68705 * manual/libc.texinfo (Copying, Documentation License):
68706 Use new @include file names, put @appendix directive before @include.
68707
68708 2011-06-04 Jakub Jelinek <jakub@redhat.com>
68709
68710 [BZ #12841]
68711 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
68712 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
68713 (mq_open): Add __NTH.
68714
68715 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
68716
68717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68718 Assume Intel Core i3/i5/i7 processor if AVX is available.
68719
68720 2011-05-31 Ulrich Drepper <drepper@gmail.com>
68721
68722 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68723 typo.
68724
68725 2011-05-31 Andreas Schwab <schwab@redhat.com>
68726
68727 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
68728 memory. Use alloca_account. Fix memory leak when retrying.
68729
68730 2011-05-31 Ulrich Drepper <drepper@gmail.com>
68731
68732 * version.h (RELEASE): Bump for 2.14 release.
68733 * include/features.h (__GLIBC_MINOR__): Bump to 14.
68734
68735 * config.make.in (RANLIB): Remove entry.
68736
68737 2011-05-30 Ulrich Drepper <drepper@gmail.com>
68738
68739 * po/Makefile (po-sed-cmd): Add ksh to extensions.
68740 (libc.pot): Work around missing support for .ksh extension in xgettext.
68741
68742 [BZ #12684]
68743 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
68744 if both request failed.
68745 (send_dg): In case of server errors clear resplen or *resplen2.
68746
68747 [BZ #12454]
68748 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
68749 when there are multiple maps.
68750 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
68751 (_dl_fini): Remove test here.
68752
68753 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
68754
68755 2011-05-29 Ulrich Drepper <drepper@gmail.com>
68756
68757 [BZ #12350]
68758 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
68759 bit from old_res_options.
68760 (gaih_inet): Likewise.
68761
68762 [BZ #11099]
68763 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
68764 as signed.
68765
68766 * resolv/res_init.c (res_setoptions): Make the code more compact.
68767
68768 [BZ #11558]
68769 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
68770 set RES_USEVC.
68771
68772 [BZ #11634]
68773 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
68774
68775 * malloc/malloc.h: Mark malloc hook variables as deprecated.
68776
68777 [BZ #11781]
68778 * malloc/malloc.h: Declare malloc hook variables as volatile.
68779
68780 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
68781 in last patch.
68782
68783 [BZ #11799]
68784 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
68785 raise in the comment.
68786 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
68787 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
68788 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
68789
68790 2011-05-28 Ulrich Drepper <drepper@gmail.com>
68791
68792 [BZ #12811]
68793 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
68794 grow the buffers more if it already has to be sufficient.
68795 (build_wcs_upper_buffer): Likewise.
68796 * posix/regexec.c (check_matching): Likewise.
68797 (clean_state_log_if_needed): Likewise.
68798 (extend_buffers): Don't enlarge buffers beyond size of the input
68799 buffer.
68800 Patches mostly by Emil Wojak <emil@wojak.eu>.
68801 * posix/bug-regex32.c: New file.
68802 * posix/Makefile (tests): Add bug-regex32.
68803
68804 * locale/findlocale.c (_nl_find_locale): Return right away if
68805 _nl_explode_name failed.
68806 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
68807
68808 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
68809
68810 * debug/xtrace.sh: Unify messages.
68811 * malloc/memusage.sh: Likewise.
68812
68813 [BZ #12813]
68814 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
68815 time symbol from vDSO. Substitute with vsyscall if not available.
68816 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
68817 __vdso_time.
68818
68819 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
68820 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
68821 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
68822 Add sendmmsg and internal_sendmmsg.
68823 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
68824 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
68825 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
68826
68827 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
68828 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
68829 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
68830
68831 2011-05-27 Ulrich Drepper <drepper@gmail.com>
68832
68833 [BZ #12813]
68834 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
68835 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
68836 available.
68837 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
68838 __vdso_getcpu.
68839
68840 [BZ #12814]
68841 * iconvdata/Makefile (tests): Add bug-iconv9.
68842 * iconvdata/bug-iconv9.c: New file.
68843
68844 2011-05-27 Andreas Schwab <schwab@redhat.com>
68845
68846 [BZ #12814]
68847 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
68848
68849 2011-05-25 Jakub Jelinek <jakub@redhat.com>
68850
68851 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
68852 (struct user_regs_struct): Change intcs field back to cs.
68853
68854 2011-05-25 Ulrich Drepper <drepper@gmail.com>
68855
68856 * po/ja.po: Update from translation team.
68857
68858 2011-05-23 Ulrich Drepper <drepper@gmail.com>
68859
68860 [BZ #12795]
68861 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
68862 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
68863
68864 2011-05-20 Andreas Schwab <schwab@redhat.com>
68865
68866 * stdlib/longlong.h: Update from GCC.
68867
68868 2011-05-23 Andreas Schwab <schwab@redhat.com>
68869
68870 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
68871 parameter name.
68872 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
68873 Add parameter name.
68874 (__sysconf): Pass it down.
68875
68876 2011-05-22 Ulrich Drepper <drepper@gmail.com>
68877
68878 [BZ #12671]
68879 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
68880 some situations.
68881 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
68882 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
68883 add in in __libc_use_alloca calls. Adjust callers.
68884 (glob): Use malloc in some situations.
68885
68886 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
68887 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
68888 pltexit.
68889
68890 2011-05-21 Ulrich Drepper <drepper@gmail.com>
68891
68892 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
68893 and CLOCK_BOOTTIME_ALARM.
68894
68895 [BZ #12782]
68896 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
68897 is returned.
68898
68899 * string/_strerror.c (__strerror_r): Print negative errors as signed
68900 numbers.
68901
68902 [BZ #12777]
68903 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
68904 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
68905 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
68906
68907 * configure.in: Fix typo in redirection and correct removal of test
68908 files in two cases.
68909
68910 [BZ #12788]
68911 * locale/setlocale.c (new_composite_name): Fix test to check for
68912 identical name of all categories.
68913
68914 [BZ #12792]
68915 * libio/filedoalloc.c (local_isatty): New function.
68916 (_IO_file_doallocate): Use local_isatty.
68917 * stdio-common/perror.c (perror): In case a new stream is used
68918 forward the stream error.
68919 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
68920 error flag.
68921
68922 2011-05-20 Ulrich Drepper <drepper@gmail.com>
68923
68924 [BZ #11884]
68925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
68926 alloca.
68927 * include/alloca.h (extend_alloca_account): Define.
68928
68929 [BZ #11857]
68930 * posix/regex.h: Fix comments with documentation of user-accessible
68931 fields after compilation and describe correct free'ing of pattern
68932 after re_compile_pattern.
68933 Patch by Reuben Thomas <rrt@sc3d.org>.
68934
68935 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
68936
68937 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
68938 and -mno-altivec to prevent the compiler from using Altivec and/or
68939 VSX instructions when the corresponding registers are not available.
68940
68941 2011-05-19 Andreas Schwab <schwab@redhat.com>
68942
68943 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
68944
68945 2011-05-19 Ulrich Drepper <drepper@gmail.com>
68946
68947 * libio/freopen.c (freopen): Use __dup2, not dup2.
68948 * libio/freopen64.c (freopen64): Likewise.
68949
68950 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
68951
68952 [BZ #12775]
68953 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
68954 * math/Makefile (tests): Add test-powl.
68955 (CFLAGS-test-powl.c): Define.
68956 * math/test-powl.c: New file.
68957
68958 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
68959
68960 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
68961
68962 2011-05-17 Ulrich Drepper <drepper@gmail.com>
68963
68964 [BZ #11837]
68965 * iconvdata/gb18030.c: Update to GB18020-2005.
68966
68967 2011-05-16 Ulrich Drepper <drepper@gmail.com>
68968
68969 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
68970 RE_SYNTAX_POSIX_AWK): Update to match recent development.
68971 Patch by Aharon Robbins <arnold@skeeve.com>.
68972
68973 [BZ #11892]
68974 * stdlib/putenv.c (putenv): Don't always create copy of the variable
68975 on the stack.
68976
68977 [BZ #11895]
68978 * misc/pselect.c (__pselect): Handle timeout value errors hidden
68979 through underflows.
68980
68981 [BZ #12766]
68982 * misc/error.c (error_at_line): Ensure file_name and old_file_name
68983 point to strings before performing equality test for error_one_per_line
68984 mode.
68985
68986 [BZ #11697]
68987 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
68988
68989 [BZ #11820]
68990 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
68991 (struct user_fpregs_struct): Avoid __uint*_t types.
68992
68993 [BZ #6420]
68994 * malloc/mtrace.c (tr_where): Add additional parameter to point to
68995 symbol info. Use it instead of calling _dl_addr locally.
68996 (lock_and_info): New function.
68997 (tr_freehook): Call lock_and_info and pass symbol info as additional
68998 parameter to tr_where.
68999 (tr_mallochook): Likewise.
69000 (tr_reallochook): Likewise.
69001 (tr_memalignhook): Likewise.
69002
69003 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
69004 used and couldn't be at all thread-safe.
69005
69006 2011-05-15 Ulrich Drepper <drepper@gmail.com>
69007
69008 * libio/freopen.c (freopen): Don't close old file descriptor
69009 before the new one is opened. Instead dup the new file descriptor
69010 to the old one after the new stream is created.
69011 * libio/freopen64.c (freopen64): Likewise.
69012 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
69013 * libio/fileops.c (_IO_new_file_close_it): Handle new
69014 _IO_FLAGS2_NOCLOSE flag.
69015 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
69016 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
69017 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
69018 _IO_FLAGS2_NOCLOSE flag.
69019 * include/unistd.h: Add hidden_proto for dup3.
69020 Define __have_dup3.
69021 * io/dup3.c: Define hidden symbol.
69022 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
69023
69024 [BZ #7101]
69025 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
69026 when an incomplete long option is used.
69027 * posix/tst-getopt_long1.c: New file.
69028 * posix/Makefile (tests): Add tst-getopt_long1.
69029
69030 [BZ #10138]
69031 * scripts/config.guess: Update from autoconf-2.68.
69032 * scripts/config.sub: Likewise.
69033
69034 [BZ #10157]
69035 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
69036 tests into ...
69037 (has_cpuclock): ...this. New function.
69038 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
69039 macro here based on has_cpuclock code.
69040
69041 [BZ #10149]
69042 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69043 First byte (not low byte) is now always NUL.
69044 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
69045
69046 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69047 Use non-cancelable interfaces.
69048
69049 [BZ #9809]
69050 * locale/iso-639.def: Add entry for Sorani.
69051
69052 [BZ #11901]
69053 * include/stdlib.h: Move include protection to the right place.
69054 Define abort_msg_s. Declare __abort_msg with it.
69055 * stdlib/abort.c (__abort_msg): Adjust type.
69056 * assert/assert.c (__assert_fail_base): New function. Majority
69057 of code from __assert_fail. Allocate memory for __abort_msg with
69058 mmap.
69059 (__assert_fail): Now call __assert_fail_base.
69060 * assert/assert-perr.c: Remove bulk of implementation. Use
69061 __assert_fail_base.
69062 * include/assert.hL Declare __assert_fail_base.
69063 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
69064 mmap.
69065 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
69066
69067 2011-05-14 Ulrich Drepper <drepper@gmail.com>
69068
69069 [BZ #11952]
69070 [BZ #12453]
69071 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
69072 until all modules are registered in the DTV.
69073 * elf/Makefile: Add rules to build and run tst-tls19.
69074 * elf/tst-tls19.c: New file.
69075 * elf/tst-tls19mod1.c: New file.
69076 * elf/tst-tls19mod2.c: New file.
69077 * elf/tst-tls19mod3.c: New file.
69078 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
69079
69080 [BZ #12083]
69081 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
69082 correctly.
69083
69084 [BZ #12601]
69085 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
69086 two-byte sequence errors.
69087 * iconvdata/Makefile (tests): Add bug-iconv8.
69088 * iconvdata/bug-iconv8.c: New file.
69089
69090 [BZ #12626]
69091 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
69092 buf2 definition.
69093
69094 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
69095
69096 [BZ #12432]
69097 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
69098 (dummy_getcfa): New function.
69099 (init): Get _Unwind_GetCFA address, use dummy if not found.
69100 (backtrace_helper): In recursion check, also check whether CFA changes.
69101 (__backtrace): Completely initialize arg.
69102
69103 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
69104 storing incomplete byte sequence in state object. Avoid testing for
69105 guaranteed too small input if we know there is enough data available.
69106
69107 2011-05-11 Andreas Schwab <schwab@redhat.com>
69108
69109 * Makeconfig (+link-pie): Indent.
69110 * Rules (binaries-pie): Define if $(have-fpie) and
69111 $(build-shared).
69112 (binaries-shared): Also filter out $(binaries-pie).
69113 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
69114 * nscd/Makefile (others-pie): Add nscd.
69115 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
69116 ($(objpfx)nscd): Remove command override.
69117 * login/Makefile (others-pie): Add pt_chown.
69118 ($(objpfx)pt_chown): Remove command override.
69119 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
69120 remove command overrides.
69121
69122 2011-05-13 Ulrich Drepper <drepper@gmail.com>
69123
69124 * libio/tst_putwc.c: Fix error messages.
69125
69126 [BZ #12724]
69127 * libio/fileops.c (_IO_new_file_close_it): Always flush when
69128 currently writing and seek to current position when not.
69129 * libio/Makefile (tests): Add bug-fclose1.
69130 * libio/bug-fclose1.c: New file.
69131
69132 2011-05-12 Ulrich Drepper <drepper@gmail.com>
69133
69134 [BZ #12511]
69135 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
69136 don't set DF_1_NODELETE here.
69137 (do_lookup_x): When entering new entry test for copy relocation
69138 and if necessary set DF_1_NODELETE flag.
69139 * elf/tst-unique4.cc: New file.
69140 * elf/tst-unique4.h: New file.
69141 * elf/tst-unique4lib.cc: New file.
69142 * elf/Makefile: Add rules to build and run tst-unique4.
69143 Patch by Piotr Bury <pbury@goahead.com>.
69144
69145 2011-05-11 Ulrich Drepper <drepper@gmail.com>
69146
69147 [BZ #12052]
69148 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
69149
69150 [BZ #12625]
69151 * misc/mntent_r.c (addmntent): Flush the stream after the output
69152
69153 [BZ #12393]
69154 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
69155 (is_trusted_path_normalize): Skip initial colon. Append slash
69156 to empty buffer. Duplicate is_trusted_path code but allow
69157 constructed patch to be prefix.
69158 (is_dst): Allow $ORIGIN followed by /.
69159 (_dl_dst_substitute): Correct clearing of check_for_trusted.
69160 Correct testing of result of is_trusted_path_normalize
69161 (decompose_rpath): Fix warning.
69162
69163 2011-05-10 Ulrich Drepper <drepper@gmail.com>
69164
69165 [BZ #11257]
69166 * grp/initgroups.c (internal_getgrouplist): When we found the service
69167 list through the initgroups entry in nsswitch.conf do not always
69168 continue on a successful lookup. Don't always use the
69169 __nss_group_database value if it is set.
69170 * nss/nsswitch.conf (initgroups): Change action for successful db
69171 lookup to continue for compatibility.
69172
69173 2011-05-09 Ulrich Drepper <drepper@gmail.com>
69174
69175 [BZ #11532]
69176 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
69177 and CP774 modules.
69178 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
69179 and CP774 modules.
69180 * iconvdata/tst-tables.sh: Likewise.
69181 * iconvdata/cp770.c: New file.
69182 * iconvdata/cp771.c: New file.
69183 * iconvdata/cp772.c: New file.
69184 * iconvdata/cp773.c: New file.
69185 * iconvdata/cp774.c: New file.
69186 * iconvdata/testdata/CP770: New file.
69187 * iconvdata/testdata/CP770..UTF8: New file.
69188 * iconvdata/testdata/CP771: New file.
69189 * iconvdata/testdata/CP771..UTF8: New file.
69190 * iconvdata/testdata/CP772: New file.
69191 * iconvdata/testdata/CP772..UTF8: New file.
69192 * iconvdata/testdata/CP773: New file.
69193 * iconvdata/testdata/CP773..UTF8: New file.
69194 * iconvdata/testdata/CP774: New file.
69195 * iconvdata/testdata/CP774..UTF8: New file.
69196
69197 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
69198 END CHARMAP line.
69199 * iconvdata/gen-8bit-gap.sh: Likewise.
69200 * iconvdata/gen-8bit.sh: Likewise.
69201
69202 * locale/iso-639.def: Add ary entry.
69203
69204 [BZ #11258]
69205 * locale/C-translit.h.in: Add U20A1 transliteration.
69206
69207 [BZ #12178]
69208 * locale/iso-639.def: Add wae entry.
69209 Patch by Kevin Bortis <bortis@translate-wae.ch>.
69210
69211 [BZ #12545]
69212 * locale/programs/localedef.c (construct_output_path): Use ssize_t
69213 for n.
69214
69215 [BZ #12711]
69216 * locale/C-translit.h.in: Add entry for U20B9.
69217 Patch by pravin.d.s@gmail.com.
69218
69219 2011-05-08 Ulrich Drepper <drepper@gmail.com>
69220
69221 [BZ #12713]
69222 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
69223 ENAMETOOLONG use generic getcwd.
69224 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
69225 in rtld. Use *stat64.
69226 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
69227 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
69228 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
69229 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
69230 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
69231 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
69232 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
69233 __fstatat64 macros.
69234 * include/dirent.h: Add libc_hidden_proto for rewinddir.
69235 * dirent/rewinddir.c: Add libc_hidden_def.
69236 * sysdeps/mach/hurd/rewinddir.c: Likewise.
69237 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
69238
69239 * include/dirent.h (__alloc_dir): Add flags parameter.
69240 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
69241 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
69242 __alloc_dir.
69243 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
69244 from fdopendir if O_CLOEXEC is already set.
69245
69246 2011-03-15 Alan Modra <amodra@gmail.com>
69247
69248 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
69249 l_tls_firstbyte_offset non-zero. Save padding offset in
69250 l_tls_firstbyte_offset for later use.
69251 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
69252 freeing static tls block.
69253
69254 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
69255
69256 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
69257 where #ifdef was intended. The intent is to prevent ARG_MAX from
69258 being defined by the kernel headers.
69259
69260 2011-05-07 Ulrich Drepper <drepper@gmail.com>
69261
69262 [BZ #12734]
69263 * resolv/resolv.h: Define RES_NOTLDQUERY.
69264 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
69265 no-tld-query and set RES_NOTLDQUERY.
69266 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
69267 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
69268 modern BIND to search name as TLD unless forbidden.
69269
69270 2011-05-07 Petr Baudis <pasky@suse.cz>
69271 Ulrich Drepper <drepper@gmail.com>
69272
69273 [BZ #12393]
69274 * elf/dl-load.c (fillin_rpath): Move trusted path check...
69275 (is_trusted_path): ...to here.
69276 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
69277 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
69278 using is_trusted_path_normalize() in setuid scripts.
69279
69280 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
69281
69282 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
69283 __BEGIN/__END_DECLS.
69284
69285 2011-05-06 Ulrich Drepper <drepper@gmail.com>
69286
69287 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
69288 NSS_STATUS_NOTFOUND if no record was found.
69289
69290 2011-05-05 Andreas Schwab <schwab@redhat.com>
69291
69292 * sunrpc/Makefile (headers): Add rpc/netdb.h.
69293 (headers-not-in-tirpc): Remove rpc/netdb.h
69294 * resolv/netdb.h: Revert last change.
69295
69296 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
69297
69298 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
69299 circular dependency between libgcc.a and libc.a.
69300
69301 2011-05-05 Andreas Schwab <schwab@redhat.com>
69302
69303 * resolv/netdb.h: Don't include <rpc/netdb.h>.
69304 * nis/Makefile: Don't install rpcsvc/*.
69305 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
69306 instead of <rpc/types.h>.
69307 (MAXHOSTNAMELEN): Define.
69308
69309 2011-05-03 Andreas Schwab <schwab@redhat.com>
69310
69311 * elf/ldconfig.c (add_dir): Don't crash on empty path.
69312
69313 2011-04-28 Maciej Babinski <mbabinski@google.com>
69314
69315 [BZ #12714]
69316 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
69317 gethostbyname4_r when IPv6 results are possible.
69318
69319 2011-05-02 Ulrich Drepper <drepper@gmail.com>
69320
69321 [BZ #12723]
69322 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
69323 _PC_PIPE_BUF handling.
69324
69325 2011-04-30 Bruno Haible <bruno@clisp.org>
69326
69327 [BZ #12717]
69328 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
69329 * resolv/netdb.h (getnameinfo): Change type of flags parameter
69330 to 'int'.
69331 * inet/getnameinfo.c (getnameinfo): Likewise.
69332
69333 2011-04-29 Ulrich Drepper <drepper@gmail.com>
69334
69335 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
69336 to groups setting in database lookup.
69337 * nss/nsswitch.conf: Add initgroups entry.
69338
69339 2011-04-22 Ulrich Drepper <drepper@gmail.com>
69340
69341 [BZ #12685]
69342 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
69343 mode string.
69344 Patch by Eric Blake <eblake@redhat.com>.
69345
69346 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
69347
69348 * sunrpc/Makefile (need-export-routines): Add svc_run.
69349 (routines): Remove svc_run.
69350 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
69351 * sunrpc/clnt_perr.c (clnt_perrno): Export.
69352 * sunrpc/svc_run.c (svc_run): Likewise.
69353 * sunrpc/svc_udp.c (svcudp_create): Likewise.
69354
69355 2011-04-21 Ulrich Drepper <drepper@gmail.com>
69356
69357 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
69358 problem in reallocation in last patch.
69359
69360 2011-04-20 Ulrich Drepper <drepper@gmail.com>
69361
69362 * sunrpc/Makefile: Move inclusion of Rules.
69363
69364 2011-04-19 Ulrich Drepper <drepper@gmail.com>
69365
69366 * nss/nss_files/files-initgroups.c: New file.
69367 * nss/Makefile (libnss_files-routines): Add files-initgroups.
69368 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
69369 _nss_files_initgroups_dyn.
69370
69371 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
69372
69373 * elf/elf.h (R_ARM_IRELATIVE): Define.
69374
69375 2011-04-19 Ulrich Drepper <drepper@gmail.com>
69376
69377 * po/ru.po: Update from translation team.
69378
69379 2011-04-17 Ulrich Drepper <drepper@gmail.com>
69380
69381 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
69382 dependencies.
69383
69384 2011-02-06 Mike Frysinger <vapier@gentoo.org>
69385
69386 [BZ #12653]
69387 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
69388 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
69389 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69390 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
69391 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
69392
69393 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
69394
69395 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
69396 differing bytes.
69397 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
69398 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
69399 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69400
69401 2011-04-17 Ulrich Drepper <drepper@gmail.com>
69402
69403 [BZ #12420]
69404 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
69405 storing it.
69406 * stdlib/bug-getcontext.c: New file.
69407 * stdlib/Makefile: Add rules to build and run bug-getcontext.
69408
69409 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69410
69411 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
69412 instructions into .machine "z9-109".
69413 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
69414 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
69415
69416 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69417
69418 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
69419 between environment variables and auxiliary vector.
69420
69421 2011-04-16 Ulrich Drepper <drepper@gmail.com>
69422
69423 * Makefile: Add rules to build linkobj/libc.so.
69424 * include/libc-symbols.h: Define libc_hidden_nolink.
69425 * include/rpc/auth.h: Mark functions which are to be hidden.
69426 * include/rpc/auth_des.h: Likewise.
69427 * include/rpc/auth_unix.h: Likewise.
69428 * include/rpc/clnt.h: Likewise.
69429 * include/rpc/des_crypt.h: Likewise.
69430 * include/rpc/key_prot.h: Likewise.
69431 * include/rpc/pmap_clnt.h: Likewise.
69432 * include/rpc/pmap_prot.h: Likewise.
69433 * include/rpc/pmap_rmt.h: Likewise.
69434 * include/rpc/rpc_msg.h: Likewise.
69435 * include/rpc/svc.h: Likewise.
69436 * include/rpc/svc_auth.h: Likewise.
69437 * include/rpc/xdr.h: Likewise.
69438 * nis/Makefile: Link all DSOs against linkobj/libc.so.
69439 * nss/Makefile: Likewise.
69440 * sunrpc/Makefile: Don't install headers. Build library with normal
69441 entry points. Don't build rpcinfo. Link RPC tests appropriately.
69442 * sunrpc/auth_des.c: Hide exported symbols by default, export some
69443 for the compat linking library. Remove use of INTDEF/INTUSE.
69444 * sunrpc/auth_none.c: Likewise.
69445 * sunrpc/auth_unix.c: Likewise.
69446 * sunrpc/authdes_prot.c: Likewise.
69447 * sunrpc/authuxprot.c: Likewise.
69448 * sunrpc/clnt_gen.c: Likewise.
69449 * sunrpc/clnt_perr.c: Likewise.
69450 * sunrpc/clnt_raw.c: Likewise.
69451 * sunrpc/clnt_simp.c: Likewise.
69452 * sunrpc/clnt_tcp.c: Likewise.
69453 * sunrpc/clnt_udp.c: Likewise.
69454 * sunrpc/clnt_unix.c: Likewise.
69455 * sunrpc/des_crypt.c: Likewise.
69456 * sunrpc/des_soft.c: Likewise.
69457 * sunrpc/get_myaddr.c: Likewise.
69458 * sunrpc/key_call.c: Likewise.
69459 * sunrpc/key_prot.c: Likewise.
69460 * sunrpc/netname.c: Likewise.
69461 * sunrpc/pm_getmaps.c: Likewise.
69462 * sunrpc/pm_getport.c: Likewise.
69463 * sunrpc/pmap_clnt.c: Likewise.
69464 * sunrpc/pmap_prot.c: Likewise.
69465 * sunrpc/pmap_prot2.c: Likewise.
69466 * sunrpc/pmap_rmt.c: Likewise.
69467 * sunrpc/publickey.c: Likewise.
69468 * sunrpc/rpc_cmsg.c: Likewise.
69469 * sunrpc/rpc_common.c: Likewise.
69470 * sunrpc/rpc_dtable.c: Likewise.
69471 * sunrpc/rpc_prot.c: Likewise.
69472 * sunrpc/rpc_thread.c: Likewise.
69473 * sunrpc/rtime.c: Likewise.
69474 * sunrpc/svc.c: Likewise.
69475 * sunrpc/svc_auth.c: Likewise.
69476 * sunrpc/svc_authux.c: Likewise.
69477 * sunrpc/svc_raw.c: Likewise.
69478 * sunrpc/svc_run.c: Likewise.
69479 * sunrpc/svc_simple.c: Likewise.
69480 * sunrpc/svc_tcp.c: Likewise.
69481 * sunrpc/svc_udp.c: Likewise.
69482 * sunrpc/svc_unix.c: Likewise.
69483 * sunrpc/svcauth_des.c: Likewise.
69484 * sunrpc/xcrypt.c: Likewise.
69485 * sunrpc/xdr.c: Likewise.
69486 * sunrpc/xdr_array.c: Likewise.
69487 * sunrpc/xdr_float.c: Likewise.
69488 * sunrpc/xdr_intXX_t.c: Likewise.
69489 * sunrpc/xdr_mem.c: Likewise.
69490 * sunrpc/xdr_rec.c: Likewise.
69491 * sunrpc/xdr_ref.c: Likewise.
69492 * sunrpc/xdr_sizeof.c: Likewise.
69493 * sunrpc/xdr_stdio.c: Likewise.
69494
69495 2011-04-10 Ulrich Drepper <drepper@gmail.com>
69496
69497 [BZ #12650]
69498 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
69499 * sysdeps/ia64/dl-tls.h: Likewise.
69500 * sysdeps/powerpc/dl-tls.h: Likewise.
69501 * sysdeps/s390/dl-tls.h: Likewise.
69502 * sysdeps/sh/dl-tls.h: Likewise.
69503 * sysdeps/sparc/dl-tls.h: Likewise.
69504 * sysdeps/x86_64/dl-tls.h: Likewise.
69505 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
69506
69507 2011-03-14 Andreas Schwab <schwab@redhat.com>
69508
69509 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
69510 rpath element also skip the following colon.
69511 (expand_dynamic_string_token): Add is_path parameter and pass
69512 down to DL_DST_REQUIRED and _dl_dst_substitute.
69513 (decompose_rpath): Call expand_dynamic_string_token with
69514 non-zero is_path. Ignore empty rpaths.
69515 (_dl_map_object_from_fd): Call expand_dynamic_string_token
69516 with zero is_path.
69517
69518 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
69519
69520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
69521 Make cancelable.
69522
69523 2011-04-09 Ulrich Drepper <drepper@gmail.com>
69524
69525 [BZ #12655]
69526 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
69527 Patch by Filipe David Manana <fdmanana@apache.org>.
69528
69529 2011-04-07 Andreas Schwab <schwab@redhat.com>
69530
69531 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
69532 Maintain aligned stack.
69533 (CHECK_RSP): Remove unused macro.
69534
69535 2011-04-03 Ulrich Drepper <drepper@gmail.com>
69536
69537 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
69538 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
69539
69540 2011-04-02 Ulrich Drepper <drepper@gmail.com>
69541
69542 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
69543
69544 * include/features.h: Mention __USE_XOPEN2K8 in comment.
69545
69546 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
69547
69548 [BZ #12518]
69549 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
69550 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
69551 * sysdeps/x86_64/memmove.c: New file.
69552 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
69553 (memcpy): Renamed to ...
69554 (__new_memcpy): This.
69555 (memcpy): Provide GLIBC_2_14 memcpy.
69556 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
69557 (memcpy): Provide GLIBC_2_2_5 memcpy.
69558
69559 2011-04-01 Ulrich Drepper <drepper@gmail.com>
69560
69561 [BZ #12631]
69562 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
69563
69564 2011-03-30 Andreas Schwab <schwab@redhat.com>
69565
69566 * misc/syncfs.c: New file.
69567 * misc/Makefile (routines): Add syncfs.
69568 * posix/unistd.h: Declare syncfs.
69569 * sysdeps/unix/syscalls.list: Add syncfs.
69570
69571 2011-04-01 Andreas Schwab <schwab@redhat.com>
69572
69573 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
69574 open_by_handle_at.
69575 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
69576 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69577 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69578 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69580 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
69581 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69582
69583 2011-04-01 Ulrich Drepper <drepper@gmail.com>
69584
69585 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
69586 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69587 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
69588 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69589 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69590 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69591 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69592
69593 * io/Makefile: Compile fallocate.c, fallocate64.c, and
69594 sync_file_range.c with -fexceptions.
69595 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
69596 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
69597 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
69598 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
69599 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
69600 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
69601 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
69602 sync_file_range as cancellation point
69603 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
69604 now a wrapper around __call_sync_file_range with cancellation handling.
69605 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
69606 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
69607 function name to __call_sync_file_range.
69608 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
69609 Add call_sync_file_range.
69610
69611 2011-04-01 Andreas Schwab <schwab@redhat.com>
69612
69613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69614 bits/timex.h.
69615
69616 2011-04-01 Ulrich Drepper <drepper@gmail.com>
69617
69618 * iconv/iconv.h: Fix typo in comment.
69619 * io/fcntl.h: Likewise.
69620 * libio/stdio.h: Likewise.
69621 * posix/spawn.h: Likewise.
69622 * posix/unistd.h: Likewise.
69623 * stdlib/stdlib.h: Likewise.
69624 * time/time.h: Likewise.
69625 * wcsmbs/wchar.h: Likewise.
69626
69627 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
69628 open_by_handle): Add.
69629 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
69630 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
69631 Augment a few comments.
69632 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69633 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69634 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69635 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69636 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69637 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
69638 open_by_handle.
69639
69640 * io/fcntl.h (AT_EMPTY_PATH): Define.
69641
69642 2011-03-30 Ulrich Drepper <drepper@gmail.com>
69643
69644 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
69645 * sysdeps/unix/sysv/linux/bits/time.h: New file.
69646 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
69647 to...
69648 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
69649 * Versions.def: Add GLIBC_2.14.
69650 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
69651 Export.
69652
69653 2011-03-22 Ulrich Drepper <drepper@gmail.com>
69654
69655 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
69656 round counter.
69657 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
69658
69659 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
69660
69661 [BZ #12597]
69662 * string/test-strncmp.c (do_page_test): New function.
69663 (check2): Likewise.
69664 (test_main): Call check2.
69665 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
69666
69667 2011-03-20 Ulrich Drepper <drepper@gmail.com>
69668
69669 [BZ #12587]
69670 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
69671 Handle cache information in CPU leaf 4.
69672 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
69673
69674 2011-03-18 Ulrich Drepper <drepper@gmail.com>
69675
69676 [BZ #12583]
69677 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
69678 character representation.
69679 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
69680
69681 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
69682
69683 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
69684 END(__isnan) to END(__isnanf) to match function entry point/label
69685 EALIGN(__isnanf,...).
69686
69687 2011-03-10 Jakub Jelinek <jakub@redhat.com>
69688
69689 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
69690
69691 2011-03-10 Ulrich Drepper <drepper@gmail.com>
69692
69693 [BZ #12510]
69694 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
69695 copy from the symbol referenced in the relocation to initialize the
69696 used variable.
69697 Patch by Piotr Bury <pbury@goahead.com>.
69698 * elf/Makefile: Add rules to build and tst-unique3.
69699 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
69700 * elf/tst-unique3.cc: New file.
69701 * elf/tst-unique3.h: New file.
69702 * elf/tst-unique3lib.cc: New file.
69703 * elf/tst-unique3lib2.cc: New file.
69704
69705 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
69706
69707 2011-03-10 Mike Frysinger <vapier@gentoo.org>
69708
69709 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
69710 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
69711 to _start.
69712
69713 2011-03-06 Ulrich Drepper <drepper@gmail.com>
69714
69715 * elf/dl-load.c (_dl_map_object): If we are looking for the first
69716 to-be-loaded object along a path to loader is ld.so.
69717
69718 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
69719 Ulrich Drepper <drepper@gmail.com>
69720
69721 * sysdeps/x86_64/memset.S: After aligning destination, code
69722 branches to different locations depending on the value of
69723 misalignment, when multiarch is enabled. Fix this.
69724
69725 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
69726
69727 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
69728 Set _x86_64_preferred_memory_instruction for AMD processsors.
69729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69730 Set bit_Prefer_SSE_for_memop for AMD processors.
69731
69732 2011-03-04 Ulrich Drepper <drepper@gmail.com>
69733
69734 * libio/fmemopen.c (fmemopen): Optimize a bit.
69735
69736 2011-03-03 Andreas Schwab <schwab@redhat.com>
69737
69738 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
69739
69740 2011-03-03 Roland McGrath <roland@redhat.com>
69741
69742 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
69743
69744 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
69745
69746 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
69747 __bzero_ultra1 instead of __memset_ultra1.
69748
69749 2011-02-23 Andreas Schwab <schwab@redhat.com>
69750 Ulrich Drepper <drepper@gmail.com>
69751
69752 [BZ #12509]
69753 * include/link.h (struct link_map): Add l_orig_initfini.
69754 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
69755 returning unsuccessfully.
69756 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
69757 close of a file loaded at startup, restore the original l_initfini
69758 list.
69759 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
69760 list, store the pointer.
69761 * elf/Makefile ($(objpfx)noload-mem): New rule.
69762 (noload-ENV): Define.
69763 (tests): Add $(objpfx)noload-mem.
69764 * elf/noload.c: Include <memcheck.h>.
69765 (main): Call mtrace. Close all opened handles.
69766
69767 2011-02-17 Andreas Schwab <schwab@redhat.com>
69768
69769 [BZ #12454]
69770 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
69771 dependencies are missing.
69772
69773 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
69774
69775 Fix __if_freereq crash: Unlike the generic version which uses free,
69776 Hurd needs munmap.
69777 * sysdeps/mach/hurd/ifreq.h: New file.
69778
69779 2011-01-27 Petr Baudis <pasky@suse.cz>
69780 Ulrich Drepper <drepper@gmail.com>
69781
69782 [BZ 12445]#
69783 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
69784 to extend_alloca().
69785 * stdio-common/bug23.c: New file.
69786 * stdio-common/Makefile (tests): Add bug23.
69787
69788 2010-09-28 Andreas Schwab <schwab@redhat.com>
69789 Ulrich Drepper <drepper@gmail.com>
69790
69791 [BZ #12489]
69792 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
69793 before performing relro protection. At old place add assertion
69794 to make sure nothing changed.
69795
69796 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
69797 Glauber de Oliveira Costa <glommer@gmail.com>
69798
69799 * elf/elf.h: Add new ARM TLS relocs.
69800
69801 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
69802
69803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
69804 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
69805 cast from r3.
69806 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
69807 'tests' variable.
69808 * sysdeps/wordsize-64/tst-writev.c: New file.
69809
69810 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
69811
69812 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
69813 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
69814 insns in _dl_start to prevent a TOC reference before relocs are
69815 resolved.
69816
69817 2011-02-15 Ulrich Drepper <drepper@gmail.com>
69818
69819 [BZ #12469]
69820 * Makeconfig: Remove RANLIB definition.
69821 * Makerules: Don't use RANLIB.
69822 * aclocal.m4: Remove ranlib test.
69823 * configure.in: No need to check for ranlib.
69824 * elf/rtld-Rules: Don't use RANLIB.
69825
69826 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
69827
69828 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
69829 protection macro.
69830 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
69831 inclusion protection macro.
69832
69833 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
69834 SIGRTMIN and SIGRTMAX and print information in that case only when
69835 SIGRTMIN is defined.
69836
69837 2011-02-11 Jakub Jelinek <jakub@redhat.com>
69838
69839 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
69840 arginfo fn returning -1.
69841
69842 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
69843 and thousands string is zero terminated.
69844
69845 2011-02-03 Andreas Schwab <schwab@redhat.com>
69846
69847 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
69848 sysdeps/unix/sysv/linux/bits/socket.h.
69849
69850 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
69851
69852 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
69853 (__CPU_COUNT): Remove old macros.
69854 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
69855 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
69856 (__CPU_ALLOC, __CPU_FREE): Add macros.
69857 (__sched_cpualloc, __sched_cpufree): Add declarations.
69858
69859 2011-02-05 Ulrich Drepper <drepper@gmail.com>
69860
69861 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
69862 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
69863 * nscd/aicache.c (addhstaiX): Return timeout of added value.
69864 (readdhstai): Return value of addhstaiX call.
69865 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
69866 (addgrbyX): Return value returned by cache_addgr.
69867 (readdgrbyname): Return value returned by addgrbyX.
69868 (readdgrbygid): Likewise.
69869 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
69870 (addpwbyX): Return value returned by cache_addpw.
69871 (readdpwbyname): Return value returned by addhstbyX.
69872 (readdpwbyuid): Likewise.
69873 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
69874 (addservbyX): Return value returned by cache_addserv.
69875 (readdservbyname): Return value returned by addservbyX:
69876 (readdservbyport): Likewise.
69877 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
69878 (addhstbyX): Return value returned by cache_addhst.
69879 (readdhstbyname): Return value returned by addhstbyX.
69880 (readdhstbyaddr): Likewise.
69881 (readdhstbynamev6): Likewise.
69882 (readdhstbyaddrv6): Likewise.
69883 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
69884 (readdinitgroups): Return value returned by addinitgroupsX.
69885 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
69886 (prune_cache): Keep track of timeout value of re-added entries.
69887 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
69888 * nscd/nscd.h: Adjust prototypes of readd* functions.
69889
69890 2011-02-04 Roland McGrath <roland@redhat.com>
69891
69892 * nis/nis_server.c (nis_servstate): Use the right name for 0.
69893 (nis_stats): Likewise.
69894 * nis/nis_modify.c (nis_modify): Likewise.
69895 * nis/nis_remove.c (nis_remove): Likewise.
69896 * nis/nis_add.c (nis_add): Likewise.
69897
69898 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
69899
69900 * posix/fnmatch_loop.c: Add some consts.
69901
69902 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
69903
69904 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
69905
69906 [BZ #12460]
69907 * config.make.in (config-cflags-novzeroupper): Define.
69908 * configure.in: Substitute libc_cv_cc_novzeroupper.
69909 * elf/Makefile (AVX-CFLAGS): Define.
69910 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
69911 (CFLAGS-tst-auditmod4a.c): Likewise.
69912 (CFLAGS-tst-auditmod4b.c): Likewise.
69913 (CFLAGS-tst-auditmod6b.c): Likewise.
69914 (CFLAGS-tst-auditmod6c.c): Likewise.
69915 (CFLAGS-tst-auditmod7b.c): Likewise.
69916 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
69917
69918 2011-02-02 Ulrich Drepper <drepper@gmail.com>
69919
69920 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
69921 function to the callback.
69922 Patch partly by Jiri Olsa <jolsa@redhat.com>.
69923
69924 2011-02-02 Andreas Schwab <schwab@redhat.com>
69925
69926 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
69927 of errno.
69928
69929 2011-01-19 Ulrich Drepper <drepper@gmail.com>
69930
69931 [BZ #11724]
69932 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
69933 of constructors.
69934 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
69935 of destructors.
69936 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
69937
69938 [BZ #11724]
69939 * elf/Makefile: Add rules to build and run new test.
69940 * elf/tst-initorder.c: New file.
69941 * elf/tst-initorder.exp: New file.
69942 * elf/tst-initordera1.c: New file.
69943 * elf/tst-initordera2.c: New file.
69944 * elf/tst-initordera3.c: New file.
69945 * elf/tst-initordera4.c: New file.
69946 * elf/tst-initorderb1.c: New file.
69947 * elf/tst-initorderb2.c: New file.
69948 * elf/tst-order-a1.c: New file.
69949 * elf/tst-order-a2.c: New file.
69950 * elf/tst-order-a3.c: New file.
69951 * elf/tst-order-a4.c: New file.
69952 * elf/tst-order-b1.c: New file.
69953 * elf/tst-order-b2.c: New file.
69954 * elf/tst-order-main.c: New file.
69955 New test case by George Gensure <werkt0@gmail.com>.
69956
69957 2010-10-01 Andreas Schwab <schwab@redhat.com>
69958
69959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69960 decoding ACE if AI_CANONIDN.
69961
69962 2011-01-18 Ulrich Drepper <drepper@gmail.com>
69963
69964 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
69965
69966 2011-01-17 Ulrich Drepper <drepper@gmail.com>
69967
69968 * version.h (RELEASE): Bump for 2.13 release.
69969 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
69970
69971 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
69972
69973 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
69974 MADV_NOHUGEPAGE.
69975 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
69976 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69977 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69978 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69979 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69980 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
69981
69982 * posix/getconf.c: Update copyright year.
69983 * catgets/gencat.c: Likewise.
69984 * csu/version.c: Likewise.
69985 * debug/catchsegv.sh: Likewise.
69986 * debug/xtrace.sh: Likewise.
69987 * elf/ldconfig.c: Likewise.
69988 * elf/ldd.bash.in: Likewise.
69989 * elf/sprof.c (print_version): Likewise.
69990 * iconv/iconv_prog.c: Likewise.
69991 * iconv/iconvconfig.c: Likewise.
69992 * locale/programs/locale.c: Likewise.
69993 * locale/programs/localedef.c: Likewise.
69994 * malloc/memusage.sh: Likewise.
69995 * malloc/mtrace.pl: Likewise.
69996 * nscd/nscd.c (print_version): Likewise.
69997 * nss/getent.c: Likewise.
69998
69999 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
70000 PF_CAIF, and PF_ALG.
70001 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70002
70003 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
70004
70005 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
70006 (modules-names): Use them.
70007 (ifunc-test-modules, ifunc-pie-tests): Define.
70008 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
70009 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
70010 (test-extras): Likewise.
70011 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
70012 $(compile-command.c).
70013 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
70014 (all-built-dso): Define.
70015 (check-textrel.out, check-execstack.out): Depend on it.
70016
70017 * configure.in: Don't override --enable-multi-arch.
70018
70019 2011-01-15 Ulrich Drepper <drepper@gmail.com>
70020
70021 [BZ #6812]
70022 * nscd/hstcache.c (tryagain): Define.
70023 (cache_addhst): Return tryagain not notfound for temporary errors.
70024 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
70025 failed.
70026
70027 2011-01-14 Ulrich Drepper <drepper@gmail.com>
70028
70029 [BZ #10563]
70030 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
70031 to make the syscall.
70032 * sysdeps/unix/sysv/linux/setgroups.c: New file.
70033
70034 [BZ #12378]
70035 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
70036 and fall back to matching as normal character if the string ends before
70037 the matching ']' is found. This is what POSIX requires.
70038 * posix/testfnm.c: Adjust test result.
70039 * posix/globtest.sh: Adjust test result. Add new test.
70040 * posix/tst-fnmatch.input: Likewise.
70041 * posix/tst-fnmatch2.c: Add new test.
70042
70043 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
70044
70045 * elf/Makefile (check-execstack): Revert last change. Depend on
70046 check-execstack.h.
70047 (check-execstack.h): New target.
70048 (generated): Add check-execstack.h.
70049 * elf/check-execstack.c: Include "check-execstack.h".
70050 (main): Revert last change.
70051 (handle_file): Return zero if GNU_STACK is absent and
70052 DEFAULT_STACK_PERMS doesn't include PF_X.
70053
70054 2011-01-13 Ulrich Drepper <drepper@gmail.com>
70055
70056 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
70057 in child fails because the descriptor is already closed.
70058 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
70059 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
70060 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
70061
70062 [BZ #12397]
70063 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
70064 syscall.
70065
70066 [BZ #10484]
70067 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
70068 temporary buffer used to handle multi lookups locally.
70069 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
70070
70071 2011-01-12 Ulrich Drepper <drepper@gmail.com>
70072
70073 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
70074 loader is ld.so.
70075
70076 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
70077
70078 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
70079 alignment for SSE2.
70080
70081 2011-01-12 Ulrich Drepper <drepper@gmail.com>
70082
70083 [BZ #12394]
70084 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
70085 characters. When rounding increased number of integer digits recompute
70086 number of groups.
70087 * stdio-common/tst-grouping.c: New file.
70088 * stdio-common/Makefile: Add rules to build and run tst-grouping.
70089
70090 2011-01-09 Ulrich Drepper <drepper@gmail.com>
70091
70092 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
70093 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
70094
70095 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
70096 void.
70097 * bits/select.h: Likewise.
70098
70099 2011-01-08 Ulrich Drepper <drepper@gmail.com>
70100
70101 * po/ja.po: Update from translation team.
70102
70103 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
70104
70105 [BZ #11155]
70106 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
70107 implementation just like for lxstat, fxstatat, et al.
70108
70109 2010-12-27 Jim Meyering <meyering@redhat.com>
70110
70111 [BZ #12348]
70112 * posix/regexec.c (build_trtable): Return failure indication upon
70113 calloc failure. Otherwise, re_search_internal could infloop on OOM.
70114
70115 2010-12-25 Ulrich Drepper <drepper@gmail.com>
70116
70117 [BZ #12201]
70118 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
70119 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
70120 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
70121 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
70122
70123 [BZ #12207]
70124 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
70125
70126 [BZ #12204]
70127 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
70128 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
70129
70130 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
70131
70132 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
70133 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
70134 script has SORT_BY_INIT_PRIORITY.
70135 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
70136 NO_CTORS_DTORS_SECTIONS is defined.
70137 * elf/soinit.c: Likewise.
70138 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
70139 NO_CTORS_DTORS_SECTIONS is defined.
70140 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
70141 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
70142 * sysdeps/sh/init-first.c: Likewise.
70143 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
70144
70145 2010-12-24 Ulrich Drepper <drepper@gmail.com>
70146
70147 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
70148 always use the slow path.
70149
70150 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
70151
70152 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
70153 similar rule which adds the sysdep directories to the header search in
70154 order to pick up the correct platform stackinfo.h.
70155 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
70156 perform test if it is, otherwise return successfully without testing.
70157 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
70158 DEFAULT_STACK_PERMS define in stackinfo.h.
70159 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
70160 defined in stackinfo.h.
70161 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
70162 DEFAULT_STACK_PERMS defined in stackinfo.h.
70163 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
70164 * sysdeps/ia64/stackinfo.h: Likewise.
70165 * sysdeps/s390/stackinfo.h: Likewise.
70166 * sysdeps/sh/stackinfo.h: Likewise.
70167 * sysdeps/sparc/stackinfo.h: Likewise.
70168 * sysdeps/x86_64/stackinfo.h: Likewise.
70169 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
70170 PF_X for powerpc64. Retain PF_X for powerpc32.
70171
70172 2010-12-19 Ulrich Drepper <drepper@gmail.com>
70173
70174 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
70175 accurately.
70176 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
70177 GETDENTS_64BIT_ALIGNED.
70178
70179 2010-12-14 Ulrich Drepper <dreper@gmail.com>
70180
70181 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
70182
70183 2010-12-10 Andreas Schwab <schwab@redhat.com>
70184
70185 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
70186 _GNU_SOURCE.
70187
70188 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
70189 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
70190 Remove __restrict.
70191 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
70192 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
70193
70194 2010-12-09 Ulrich Drepper <drepper@gmail.com>
70195
70196 [BZ #11655]
70197 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
70198 are initialized.
70199
70200 2010-12-09 Jakub Jelinek <jakub@redhat.com>
70201
70202 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
70203
70204 2010-12-03 Ulrich Drepper <drepper@gmail.com>
70205
70206 * po/it.po: Update from translation team.
70207
70208 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
70209
70210 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
70211 unused codes.
70212
70213 2010-11-30 Ulrich Drepper <drepper@gmail.com>
70214
70215 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
70216
70217 2010-11-24 Andreas Schwab <schwab@redhat.com>
70218
70219 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
70220 specially.
70221 (gaih_getanswer_slice): Likewise.
70222
70223 2010-10-20 Jakub Jelinek <jakub@redhat.com>
70224
70225 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
70226
70227 2010-05-31 Petr Baudis <pasky@suse.cz>
70228
70229 [BZ #11149]
70230 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
70231 silently even in the chroot mode.
70232
70233 2010-11-22 Ulrich Drepper <drepper@gmail.com>
70234
70235 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
70236 last patch a bit. Pretty printing
70237
70238 2010-05-31 Petr Baudis <pasky@suse.cz>
70239
70240 [BZ #10085]
70241 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
70242 initialization of skip_initgroups_dyn.
70243
70244 2010-11-19 Ulrich Drepper <drepper@gmail.com>
70245
70246 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
70247 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70248
70249 2010-11-16 Ulrich Drepper <drepper@gmail.com>
70250
70251 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
70252
70253 2010-11-11 Andreas Schwab <schwab@redhat.com>
70254
70255 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
70256 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
70257 (tst-fnmatch-ENV): Set MALLOC_TRACE.
70258 ($(objpfx)tst-fnmatch-mem): New rule.
70259 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
70260 * posix/tst-fnmatch.c (main): Call mtrace.
70261
70262 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
70263
70264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70265 Support Intel processor model 6 and model 0x2c.
70266
70267 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
70268
70269 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
70270 signed comparison.
70271
70272 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
70273
70274 [BZ #12205]
70275 * string/test-strncasecmp.c (check_result): New function.
70276 (do_one_test): Use it.
70277 (check1): New function.
70278 (test_main): Use it.
70279 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
70280 Support strcasecmp and strncasecmp.
70281
70282 2010-11-08 Ulrich Drepper <drepper@gmail.com>
70283
70284 [BZ #12194]
70285 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
70286 * sysdeps/x86_64/bits/byteswap.h: Likewise.
70287
70288 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
70289
70290 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
70291 IFUNC support.
70292 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70293 memset-x86-64.
70294 * sysdeps/x86_64/multiarch/bzero.S: New file.
70295 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
70296 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
70297 * sysdeps/x86_64/multiarch/memset.S: New file.
70298 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
70299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70300 Set bit_Prefer_SSE_for_memop for Intel processors.
70301 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
70302 Define.
70303 (index_Prefer_SSE_for_memop): Define.
70304 (HAS_PREFER_SSE_FOR_MEMOP): Define.
70305
70306 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
70307
70308 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
70309 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
70310
70311 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
70312
70313 [BZ #12191]
70314 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70315 (__x86_64_raw_data_cache_size_half): Likewise.
70316 (__x86_64_raw_shared_cache_size): Likewise.
70317 (__x86_64_raw_shared_cache_size_half): Likewise.
70318
70319 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70320 (__x86_64_raw_data_cache_size_half): Likewise.
70321 (__x86_64_raw_shared_cache_size): Likewise.
70322 (__x86_64_raw_shared_cache_size_half): Likewise.
70323 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
70324 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
70325 and __x86_64_raw_shared_cache_size_half. Round
70326 __x86_64_data_cache_size_half, __x86_64_data_cache_size
70327 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
70328 to multiple of 256 bytes.
70329
70330 2010-11-03 Ulrich Drepper <drepper@gmail.com>
70331
70332 [BZ #12167]
70333 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
70334 of inacessible symlinks. Verify result of symlink before returning it.
70335 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
70336 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
70337
70338 2010-10-28 Erich Ritz <erichritz@gmail.com>
70339
70340 * math/math.h (isinf): Fix typo in comment.
70341
70342 2010-11-01 Ulrich Drepper <drepper@gmail.com>
70343
70344 * po/da.po: Update from translation team.
70345
70346 2010-10-26 Ulrich Drepper <drepper@gmail.com>
70347
70348 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
70349 is added to the list.
70350
70351 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70352 Ulrich Drepper <drepper@gmail.com>
70353
70354 * elf/dl-object.c (_dl_new_object): Don't append the new object to
70355 the global list here. Move code to...
70356 (_dl_add_to_namespace_list): ...here. New function.
70357 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
70358 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
70359 * elf/dl-load.c (lose): Don't remove the element from the list.
70360 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
70361 (_dl_map_object): Likewise.
70362
70363 2010-10-25 Ulrich Drepper <drepper@gmail.com>
70364
70365 [BZ #12159]
70366 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
70367 into all bytes of SSE register.
70368 Patch by Richard Li <richardpku@gmail.com>.
70369
70370 2010-10-24 Ulrich Drepper <drepper@gmail.com>
70371
70372 [BZ #12140]
70373 * malloc/malloc.c (_int_free): Fill correct number of bytes when
70374 perturbing.
70375
70376 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
70377
70378 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
70379 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
70380 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
70381 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
70383 submachine.
70384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
70385
70386 2010-10-22 Andreas Schwab <schwab@redhat.com>
70387
70388 * include/dlfcn.h (__RTLD_SECURE): Define.
70389 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
70390 mode & __RTLD_SECURE instead.
70391 (open_path): Rename preloaded parameter to secure.
70392 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
70393 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
70394 * elf/dl-deps.c (openaux): Likewise.
70395 * elf/rtld.c (struct map_args): Remove is_preloaded.
70396 (map_doit): Don't use it.
70397 (dl_main): Likewise.
70398 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
70399 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
70400
70401 2010-09-09 Andreas Schwab <schwab@redhat.com>
70402
70403 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
70404 (sysd-rules-targets): Remove duplicates.
70405 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
70406 rtld-%.$o dependency.
70407
70408 2010-10-18 Andreas Schwab <schwab@redhat.com>
70409
70410 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
70411 _dl_map_object do it.
70412
70413 2010-10-19 Ulrich Drepper <drepper@gmail.com>
70414
70415 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
70416 fast fma builtins, define the macros in the C99 standard.
70417 (FP_FAST_FMAF): Likewise.
70418 (FP_FAST_FMAL): Likewise.
70419 * sysdeps/x86_64/bits/mathdef.h: Likewise.
70420
70421 * bits/mathdef.h: Update copyright year.
70422 * sysdeps/powerpc/bits/mathdef.h: Likewise.
70423
70424 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
70425
70426 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
70427 builtins, define the macros in the C99 standard.
70428 (FP_FAST_FMAF): Likewise.
70429 (FP_FAST_FMAL): Likewise.
70430 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
70431 multiply/add.
70432 (FP_FAST_FMAF): Likewise.
70433
70434 2010-10-15 Jakub Jelinek <jakub@redhat.com>
70435
70436 [BZ #3268]
70437 * math/libm-test.inc (fma_test): Some new testcases.
70438 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
70439 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
70440 y and infinite z. Do multiplication by C already in long double.
70441 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
70442 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
70443 y and infinite z. Do bitwise or of inexact bit into u.d.
70444 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
70445 * sysdeps/i386/fpu/s_fmaf.S: Removed.
70446 * sysdeps/i386/fpu/s_fma.S: Removed.
70447 * sysdeps/i386/fpu/s_fmal.S: Removed.
70448
70449 2010-10-16 Jakub Jelinek <jakub@redhat.com>
70450
70451 [BZ #3268]
70452 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
70453 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
70454 computation is not scheduled after fetestexcept. Fix value
70455 of minimum denormal long double.
70456
70457 2010-10-14 Jakub Jelinek <jakub@redhat.com>
70458
70459 [BZ #3268]
70460 * math/libm-test.inc (fma_test): Add some more tests.
70461 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
70462 correctly.
70463
70464 2010-10-15 Andreas Schwab <schwab@redhat.com>
70465
70466 * scripts/data/localplt-s390-linux-gnu.data: New file.
70467 * scripts/data/localplt-s390x-linux-gnu.data: New file.
70468
70469 2010-10-13 Jakub Jelinek <jakub@redhat.com>
70470
70471 [BZ #3268]
70472 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
70473 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
70474 instead of dbl-64.
70475 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
70476 inlines.
70477 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
70478 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
70479 if one of x and y is very large and the other is subnormal.
70480 * sysdeps/s390/fpu/s_fmaf.c: New file.
70481 * sysdeps/s390/fpu/s_fma.c: New file.
70482 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
70483 * sysdeps/powerpc/fpu/s_fma.S: New file.
70484 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
70485 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
70486 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
70487
70488 2010-10-12 Jakub Jelinek <jakub@redhat.com>
70489
70490 [BZ #3268]
70491 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
70492 fma tests.
70493 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
70494 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
70495 * sysdeps/i386/i686/multiarch/s_fma.c: Include
70496 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
70497 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
70498 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
70499 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
70500
70501 2010-10-12 Ulrich Drepper <drepper@redhat.com>
70502
70503 [BZ #12078]
70504 * posix/regcomp.c (parse_branch): One more memory leak plugged.
70505 * posix/bug-regex31.input: Add test case.
70506
70507 2010-10-11 Ulrich Drepper <drepper@gmail.com>
70508
70509 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
70510 * posix/bug-regex31.input: New file.
70511
70512 [BZ #12078]
70513 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
70514 (parse_sub_exp): Fix last change, use postorder.
70515
70516 * posix/bug-regex31.c: New file.
70517 * posix/Makefile: Add rules to build and run bug-regex31.
70518
70519 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
70520
70521 [BZ #12078]
70522 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
70523
70524 [BZ #12108]
70525 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
70526 to have entries in sys_siglist.
70527
70528 [BZ #12093]
70529 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
70530 be NULL.
70531
70532 2010-10-07 Jakub Jelinek <jakub@redhat.com>
70533
70534 [BZ #3268]
70535 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
70536 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
70537 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
70538 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
70539 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70540 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
70541 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
70542 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
70543 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
70544 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
70545 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
70546 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
70547 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
70548 * math/ftestexcept.c (fetestexcept): Likewise.
70549 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
70550 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
70551 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
70552 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
70553 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
70554 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
70555 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
70556
70557 2010-10-11 Ulrich Drepper <drepper@gmail.com>
70558
70559 [BZ #12107]
70560 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
70561 newline.
70562
70563 2010-10-06 Ulrich Drepper <drepper@gmail.com>
70564
70565 * string/bug-strstr1.c: New file.
70566 * string/Makefile: Add rules to build and run bug-strstr1.
70567
70568 2010-10-05 Eric Blake <eblake@redhat.com>
70569
70570 [BZ #12092]
70571 * string/str-two-way.h (two_way_long_needle): Always clear memory
70572 when skipping input due to the shift table.
70573
70574 2010-10-03 Ulrich Drepper <drepper@gmail.com>
70575
70576 [BZ #12005]
70577 * malloc/mcheck.c: Handle large requests.
70578
70579 [BZ #12077]
70580 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
70581 for strncmp and strncasecmp.
70582 * string/stratcliff.c: Add tests for strcmp and strncmp.
70583 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
70584
70585 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
70586
70587 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
70588 __set_fpscr.
70589
70590 2010-09-30 Andreas Jaeger <aj@suse.de>
70591
70592 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
70593 (CGROUP_SUPER_MAGIC): Define.
70594 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70595 Handle btrfs and cgroup file systems.
70596 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
70597 Likewise.
70598
70599 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
70600
70601 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
70602 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
70603
70604 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70605
70606 [BZ #12067]
70607 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
70608 trying to locate the ELF header.
70609
70610 2010-09-27 Andreas Schwab <schwab@redhat.com>
70611
70612 [BZ #11611]
70613 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
70614 Mask out sign-bit copies when constructing f_fsid.
70615
70616 2010-09-24 Petr Baudis <pasky@suse.cz>
70617
70618 * debug/stack_chk_fail_local.c: Add missing licence exception.
70619 * debug/warning-nop.c: Likewise.
70620
70621 2010-09-15 Joseph Myers <joseph@codesourcery.com>
70622
70623 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
70624 implementing getdents64 using getdents syscall, set d_type if
70625 __ASSUME_GETDENTS32_D_TYPE.
70626
70627 2010-09-16 Andreas Schwab <schwab@redhat.com>
70628
70629 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
70630 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
70631
70632 2010-09-21 Ulrich Drepper <drepper@redhat.com>
70633
70634 [BZ #12037]
70635 * posix/unistd.h: Undo change of feature selection for ftruncate from
70636 2010-01-11.
70637
70638 2010-09-20 Ulrich Drepper <drepper@redhat.com>
70639
70640 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
70641 detection.
70642
70643 2010-09-20 Andreas Schwab <schwab@redhat.com>
70644
70645 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
70646 fanotify_mark.
70647 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
70648
70649 2010-09-14 Andreas Schwab <schwab@redhat.com>
70650
70651 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
70652 variables after CHECK_SP call.
70653 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
70654
70655 2010-09-13 Andreas Schwab <schwab@redhat.com>
70656 Ulrich Drepper <drepper@redhat.com>
70657
70658 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
70659 re-relocationg ld.so.
70660 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
70661 _dl_init_paths call.
70662 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
70663 here anymore.
70664
70665 2010-09-14 Ulrich Drepper <drepper@redhat.com>
70666
70667 * resolv/res_init.c (__res_vinit): Count the default server we added.
70668
70669 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
70670 Ulrich Drepper <drepper@redhat.com>
70671
70672 [BZ #11968]
70673 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
70674 (____longjmp_chk): Use %ebx for saving value across system call.
70675 Add unwind info.
70676
70677 2010-09-06 Andreas Schwab <schwab@redhat.com>
70678
70679 * manual/Makefile: Don't mix pattern rules with normal rules.
70680
70681 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
70682
70683 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
70684 operation.
70685 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
70686 * libio/iofopncook.c (_IO_cookie_init): Likewise.
70687 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
70688 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
70689 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70690 Likewise.
70691
70692 2010-09-04 Ulrich Drepper <drepper@redhat.com>
70693
70694 [BZ #11979]
70695 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
70696 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
70697
70698 2010-09-02 Ulrich Drepper <drepper@redhat.com>
70699
70700 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
70701 * sysdeps/x86_64/addmul_1.S: Likewise.
70702 * sysdeps/x86_64/lshift.S: Likewise.
70703 * sysdeps/x86_64/mul_1.S: Likewise.
70704 * sysdeps/x86_64/rshift.S: Likewise.
70705 * sysdeps/x86_64/sub_n.S: Likewise.
70706 * sysdeps/x86_64/submul_1.S: Likewise.
70707
70708 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
70709
70710 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
70711 Define __sched_param instead of SCHED_* and sched_param when
70712 <bits/sched.h> is included with __need_schedparam defined.
70713 * bits/sched.h [__need_schedparam]
70714 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
70715 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
70716 (__defined_schedparam): Define to 1.
70717 (__sched_param): New structure, identical to sched_param.
70718 (__need_schedparam): Undefine.
70719
70720 2010-08-31 Mike Frysinger <vapier@gentoo.org>
70721
70722 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
70723 (epoll_create1): Declare.
70724
70725 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
70726
70727 2010-08-31 Andreas Schwab <schwab@redhat.com>
70728
70729 [BZ #7066]
70730 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
70731 shifting retval into place.
70732
70733 2010-09-01 Ulrich Drepper <drepper@redhat.com>
70734
70735 * nis/rpcsvc/nis.h: Update copyright notice.
70736 * nis/rpcsvc/nis.x: Likewise.
70737 * nis/rpcsvc/nis_callback.h: Likewise.
70738 * nis/rpcsvc/nis_callback.x: Likewise.
70739 * nis/rpcsvc/nis_object.x: Likewise.
70740 * nis/rpcsvc/nis_tags.h: Likewise.
70741 * nis/rpcsvc/yp.h: Likewise.
70742 * nis/rpcsvc/yp.x: Likewise.
70743 * nis/rpcsvc/ypupd.h: Likewise.
70744 * nis/yp_xdr.c: Likewise.
70745 * nis/ypupdate_xdr.c: Likewise.
70746
70747 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
70748 mainly the body of pmap_getport. Add parameters to specify timeouts.
70749 (pmap_getport): Use __libc_rpc_getport.
70750 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
70751 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
70752 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
70753
70754 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
70755
70756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
70757 fanotify_mark.
70758
70759 2010-08-27 Roland McGrath <roland@redhat.com>
70760
70761 * sysdeps/i386/i686/multiarch/Makefile
70762 (CFLAGS-varshift.c): New variable.
70763
70764 2010-08-27 Ulrich Drepper <drepper@redhat.com>
70765
70766 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
70767 * sysdeps/i386/i686/multiarch/varshift.c: New file.
70768
70769 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
70770
70771 * sysdeps/x86_64/strlen.S: Minimal code improvement.
70772
70773 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
70774
70775 * sysdeps/x86_64/strlen.S: Unroll the loop.
70776 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70777 strlen-sse2 strlen-sse2-bsf.
70778 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
70779 __strlen_no_bsf if bit_Slow_BSF is set.
70780 (__strlen_sse42): Removed.
70781 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
70782 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
70783
70784 2010-08-25 Roland McGrath <roland@redhat.com>
70785
70786 * sysdeps/x86_64/multiarch/varshift.S: File removed.
70787 * sysdeps/x86_64/multiarch/varshift.c: New file.
70788 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
70789 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
70790 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
70791 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
70792
70793 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
70794
70795 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70796 strlen-sse2 strlen-sse2-bsf.
70797 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
70798 __strlen_sse2_bsf if bit_Slow_BSF is unset.
70799 (__strlen_sse2): Removed.
70800 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
70801 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
70802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
70803 bit_Slow_BSF for Atom.
70804 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
70805 (index_Slow_BSF): Define.
70806 (HAS_SLOW_BSF): Define.
70807
70808 2010-08-25 Ulrich Drepper <drepper@redhat.com>
70809
70810 [BZ #10851]
70811 * resolv/res_init.c (__res_vinit): When no server address at all
70812 is given default to loopback.
70813
70814 2010-08-24 Roland McGrath <roland@redhat.com>
70815
70816 * configure.in: Remove config-name.h generation.
70817 * configure: Regenerated.
70818 * config-name.in: File removed.
70819 * scripts/config-uname.sh: New file.
70820 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
70821 ($(objdir)config-name.h): New target.
70822
70823 * sunrpc/rpc_parse.h: Avoid nested comment.
70824
70825 2010-08-24 Richard Henderson <rth@redhat.com>
70826 Ulrich Drepper <drepper@redhat.com>
70827 H.J. Lu <hongjiu.lu@intel.com>
70828
70829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
70830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
70831 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
70832 Replace _mm_srli_si128 with __m128i_shift_right. Replace
70833 _mm_alignr_epi8 with _mm_loadu_si128.
70834 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
70835 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
70836 (__m128i_shift_right): Removed.
70837 * sysdeps/i386/i686/multiarch/varshift.h: New file.
70838 * sysdeps/i386/i686/multiarch/varshift.S: New file.
70839 * sysdeps/x86_64/multiarch/varshift.h: New file.
70840 * sysdeps/x86_64/multiarch/varshift.S: New file.
70841
70842 2010-08-21 Mike Frysinger <vapier@gentoo.org>
70843
70844 * configure.in: Move assembler checks to before sysdep dir checking.
70845
70846 2010-08-20 Petr Baudis <pasky@suse.cz>
70847
70848 * LICENSES: Sync the sunrpc license.
70849
70850 2010-08-19 Ulrich Drepper <drepper@redhat.com>
70851
70852 * sunrpc/auth_des.c: Update copyright notice once again.
70853 * sunrpc/auth_none.c: Likewise.
70854 * sunrpc/auth_unix.c: Likewise.
70855 * sunrpc/authdes_prot.c: Likewise.
70856 * sunrpc/authuxprot.c: Likewise.
70857 * sunrpc/bindrsvprt.c: Likewise.
70858 * sunrpc/clnt_gen.c: Likewise.
70859 * sunrpc/clnt_perr.c: Likewise.
70860 * sunrpc/clnt_raw.c: Likewise.
70861 * sunrpc/clnt_simp.c: Likewise.
70862 * sunrpc/clnt_tcp.c: Likewise.
70863 * sunrpc/clnt_udp.c: Likewise.
70864 * sunrpc/clnt_unix.c: Likewise.
70865 * sunrpc/des_crypt.c: Likewise.
70866 * sunrpc/des_soft.c: Likewise.
70867 * sunrpc/get_myaddr.c: Likewise.
70868 * sunrpc/getrpcport.c: Likewise.
70869 * sunrpc/key_call.c: Likewise.
70870 * sunrpc/key_prot.c: Likewise.
70871 * sunrpc/openchild.c: Likewise.
70872 * sunrpc/pm_getmaps.c: Likewise.
70873 * sunrpc/pm_getport.c: Likewise.
70874 * sunrpc/pmap_clnt.c: Likewise.
70875 * sunrpc/pmap_prot.c: Likewise.
70876 * sunrpc/pmap_prot2.c: Likewise.
70877 * sunrpc/pmap_rmt.c: Likewise.
70878 * sunrpc/rpc/auth.h: Likewise.
70879 * sunrpc/rpc/auth_unix.h: Likewise.
70880 * sunrpc/rpc/clnt.h: Likewise.
70881 * sunrpc/rpc/des_crypt.h: Likewise.
70882 * sunrpc/rpc/key_prot.h: Likewise.
70883 * sunrpc/rpc/netdb.h: Likewise.
70884 * sunrpc/rpc/pmap_clnt.h: Likewise.
70885 * sunrpc/rpc/pmap_prot.h: Likewise.
70886 * sunrpc/rpc/pmap_rmt.h: Likewise.
70887 * sunrpc/rpc/rpc.h: Likewise.
70888 * sunrpc/rpc/rpc_des.h: Likewise.
70889 * sunrpc/rpc/rpc_msg.h: Likewise.
70890 * sunrpc/rpc/svc.h: Likewise.
70891 * sunrpc/rpc/svc_auth.h: Likewise.
70892 * sunrpc/rpc/types.h: Likewise.
70893 * sunrpc/rpc/xdr.h: Likewise.
70894 * sunrpc/rpc_clntout.c: Likewise.
70895 * sunrpc/rpc_cmsg.c: Likewise.
70896 * sunrpc/rpc_common.c: Likewise.
70897 * sunrpc/rpc_cout.c: Likewise.
70898 * sunrpc/rpc_dtable.c: Likewise.
70899 * sunrpc/rpc_hout.c: Likewise.
70900 * sunrpc/rpc_main.c: Likewise.
70901 * sunrpc/rpc_parse.c: Likewise.
70902 * sunrpc/rpc_parse.h: Likewise.
70903 * sunrpc/rpc_prot.c: Likewise.
70904 * sunrpc/rpc_sample.c: Likewise.
70905 * sunrpc/rpc_scan.c: Likewise.
70906 * sunrpc/rpc_scan.h: Likewise.
70907 * sunrpc/rpc_svcout.c: Likewise.
70908 * sunrpc/rpc_tblout.c: Likewise.
70909 * sunrpc/rpc_util.c: Likewise.
70910 * sunrpc/rpc_util.h: Likewise.
70911 * sunrpc/rpcinfo.c: Likewise.
70912 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
70913 * sunrpc/rpcsvc/key_prot.x: Likewise.
70914 * sunrpc/rpcsvc/klm_prot.x: Likewise.
70915 * sunrpc/rpcsvc/mount.x: Likewise.
70916 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
70917 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
70918 * sunrpc/rpcsvc/rex.x: Likewise.
70919 * sunrpc/rpcsvc/rstat.x: Likewise.
70920 * sunrpc/rpcsvc/rusers.x: Likewise.
70921 * sunrpc/rpcsvc/sm_inter.x: Likewise.
70922 * sunrpc/rpcsvc/spray.x: Likewise.
70923 * sunrpc/rpcsvc/yppasswd.x: Likewise.
70924 * sunrpc/rtime.c: Likewise.
70925 * sunrpc/svc.c: Likewise.
70926 * sunrpc/svc_auth.c: Likewise.
70927 * sunrpc/svc_authux.c: Likewise.
70928 * sunrpc/svc_raw.c: Likewise.
70929 * sunrpc/svc_run.c: Likewise.
70930 * sunrpc/svc_simple.c: Likewise.
70931 * sunrpc/svc_tcp.c: Likewise.
70932 * sunrpc/svc_udp.c: Likewise.
70933 * sunrpc/svc_unix.c: Likewise.
70934 * sunrpc/svcauth_des.c: Likewise.
70935 * sunrpc/xcrypt.c: Likewise.
70936 * sunrpc/xdr.c: Likewise.
70937 * sunrpc/xdr_array.c: Likewise.
70938 * sunrpc/xdr_float.c: Likewise.
70939 * sunrpc/xdr_mem.c: Likewise.
70940 * sunrpc/xdr_rec.c: Likewise.
70941 * sunrpc/xdr_ref.c: Likewise.
70942 * sunrpc/xdr_sizeof.c: Likewise.
70943 * sunrpc/xdr_stdio.c: Likewise.
70944
70945 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
70946 handling.
70947
70948 2010-08-19 Andreas Schwab <schwab@redhat.com>
70949
70950 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
70951
70952 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
70953
70954 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
70955 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
70956 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
70957 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
70958 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
70959 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
70960 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
70961 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
70962 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
70963 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
70964 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
70965 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
70966 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
70967 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
70968
70969 2010-07-26 Anton Blanchard <anton@samba.org>
70970
70971 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
70972 * malloc/arena.c (heap_trim): Likewise.
70973
70974 2010-08-16 Ulrich Drepper <drepper@redhat.com>
70975
70976 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
70977 here. Not...
70978 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
70979 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
70980
70981 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
70982
70983 * sysdeps/i386/elf/Makefile: New file.
70984
70985 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
70986
70987 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
70988 from fanotify_init.
70989 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
70990 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
70991
70992 2010-08-15 Ulrich Drepper <drepper@redhat.com>
70993
70994 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
70995 of strncasecmp_l.
70996 * sysdeps/multiarch/strcmp.S: Likewise.
70997
70998 2010-08-14 Ulrich Drepper <drepper@redhat.com>
70999
71000 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71001 strncase_l-nonascii.
71002 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71003 Add strncase_l-ssse3.
71004 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
71005 * sysdeps/x86_64/strcmp.S: Likewise.
71006 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
71007 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
71008 * sysdeps/x86_64/strncase.S: New file.
71009 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
71010 * sysdeps/x86_64/strncase_l.S: New file.
71011 * string/Makefile (strop-tests): Add strncasecmp.
71012 * string/test-strncasecmp.c: New file.
71013
71014 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
71015 warning.
71016
71017 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
71018 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
71019
71020 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
71021
71022 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
71023
71024 2010-08-12 Ulrich Drepper <drepper@redhat.com>
71025
71026 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
71027 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
71028 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
71029
71030 2010-05-01 Alan Modra <amodra@gmail.com>
71031
71032 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
71033 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
71034 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
71035 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
71036 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
71037 tidying. Don't tail-call __sigjmp_save for static lib.
71038 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
71039 save location.
71040 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
71041 (CALL_MCOUNT): Add eh info, and nop after bl.
71042 (TAIL_CALL_SYSCALL_ERROR): New macro.
71043 (PSEUDO_RET): Use it.
71044 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
71045 Correct save location of integer regs and cr.
71046 (_dl_profile_resolve): Correct cr save location. Delete nops
71047 after bl when SHARED. Reduce cfi size a little by better
71048 placement of cfi directives.
71049 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
71050 make a stack frame. Instead use parm save area as a temp.
71051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
71052 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
71053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
71054 Don't make a stack frame for parent, use parm save area.
71055 Increase child stack frame to 112 bytes. Don't save unused reg,
71056 and adjust reg usage. Set up cfi on error recovery and
71057 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
71058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71059 (__makecontext): Add dummy nop after jump to exit.
71060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
71061 Use correct parm save area and cr save, reduce stack frame.
71062 Correct cfi for possible PSEUDO_RET frame setup.
71063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
71064 Branch to local label emitted by PSEUDO_RET rather than
71065 __syscall_error.
71066
71067 2010-08-12 Andreas Schwab <schwab@redhat.com>
71068
71069 [BZ #11904]
71070 * locale/programs/locale.c (print_assignment): New function.
71071 (show_locale_vars): Use it.
71072
71073 2010-08-11 Ulrich Drepper <drepper@redhat.com>
71074
71075 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
71076 field.
71077 (struct statfs64): Likewise.
71078 (_STATFS_F_FLAGS): Define.
71079 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
71080 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71081 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
71082 (ST_VALID): Define locally.
71083 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
71084 __statvfs_getflags, use the provided value.
71085 * sysdeps/unix/sysv/linux/kernel-features.h: Define
71086 __ASSUME_STATFS_F_FLAGS.
71087
71088 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
71089
71090 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
71091 Add sys/fanotify.h.
71092 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
71093 fanotify_mask for GLIBC_2.13.
71094 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
71095 fanotify_init and fanotify_mark.
71096 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71097 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
71098
71099 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
71100 Add prlimit.
71101 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
71102 prlimit64 for GLIBC_2.13.
71103 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
71104 prlimit64.
71105 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
71106 syscall.
71107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
71108 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71109 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
71110 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
71111 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
71112 add prlimit alias.
71113 * sysdeps/unix/sysv/linux/prlimit.c: New file.
71114
71115 [BZ #11903]
71116 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
71117 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
71118
71119 * nss/Makefile: Add rules to build and run tst-nss-test1.
71120 * shlib-versions: Add entry for libnss_test1.
71121 * nss/nss_test1.c: New file.
71122 * nss/tst-nss-test1.c: New file.
71123
71124 * nss/nsswitch.c (__nss_database_custom): Define new variable.
71125 (__nss_configure_lookup): Set appropriate entry in
71126 __nss_configure_lookup to true.
71127 * nss/nsswitch.h: Define enum with indeces of databases in
71128 databases and __nss_database_custom arrays. Declare
71129 __nss_database_custom.
71130 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
71131 to avoid using nscd when custom rules are installed.
71132 * nss/getXXbyYY_r.c: Likewise.
71133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
71134
71135 * nss/nss_files/files-parse.c: Whitespace fixes.
71136
71137 2010-08-09 Ulrich Drepper <drepper@redhat.com>
71138
71139 [BZ #11883]
71140 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
71141 * posix/fnmatch_loop.c: Likewise.
71142
71143 2010-07-17 Andi Kleen <ak@linux.intel.com>
71144
71145 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
71146 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
71147 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
71148 * Versions.def [GLIBC_2.13]: Add.
71149
71150 2010-08-06 Ulrich Drepper <drepper@redhat.com>
71151
71152 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71153 Also fail if tpwd after pwuid call is NULL.
71154
71155 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
71156
71157 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
71158 when converting to ms.
71159
71160 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
71161
71162 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
71163 EOPNOTSUPP errors with ENOTTY.
71164 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
71165 EOPNOTSUPP errors with ENOTTY.
71166
71167 2010-07-31 Ulrich Drepper <drepper@redhat.com>
71168
71169 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71170 Add strcasecmp_l-ssse3.
71171 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
71172 strcasecmp.
71173 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
71174 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
71175 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
71176
71177 2010-07-30 Ulrich Drepper <drepper@redhat.com>
71178
71179 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
71180
71181 * string/Makefile (strop-tests): Add strcasecmp.
71182 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71183 strcasecmp_l-nonascii.
71184 (gen-as-const-headers): Add locale-defines.sym.
71185 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
71186 * sysdeps/x86_64/strcasecmp.S: New file.
71187 * sysdeps/x86_64/strcasecmp_l.S: New file.
71188 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
71189 * sysdeps/x86_64/locale-defines.sym: New file.
71190 * string/test-strcasecmp.c: New file.
71191
71192 * string/test-strcasestr.c: Test both ends of the range of characters.
71193 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
71194
71195 2010-07-29 Roland McGrath <roland@redhat.com>
71196
71197 [BZ #11856]
71198 * manual/locale.texi (Yes-or-No Questions): Fix example code.
71199
71200 2010-07-27 Ulrich Drepper <drepper@redhat.com>
71201
71202 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
71203 for ld.so.
71204
71205 2010-07-27 Andreas Schwab <schwab@redhat.com>
71206
71207 * manual/memory.texi (Malloc Tunable Parameters): Document
71208 M_PERTURB.
71209
71210 2010-07-26 Roland McGrath <roland@redhat.com>
71211
71212 [BZ #11840]
71213 * configure.in (-fgnu89-inline check): Set and substitute
71214 gnu89_inline, not libc_cv_gnu89_inline.
71215 * configure: Regenerated.
71216 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
71217
71218 2010-07-26 Ulrich Drepper <drepper@redhat.com>
71219
71220 * string/test-strnlen.c: New file.
71221 * string/Makefile (strop-tests): Add strnlen.
71222 * string/tester.c (test_strnlen): Add a few more test cases.
71223 * string/tst-strlen.c: Better error reporting.
71224
71225 * sysdeps/x86_64/strnlen.S: New file.
71226
71227 2010-07-24 Ulrich Drepper <drepper@redhat.com>
71228
71229 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
71230 lower-latency instructions.
71231
71232 2010-07-23 Ulrich Drepper <drepper@redhat.com>
71233
71234 * string/test-strcasestr.c: New file.
71235 * string/test-strstr.c: New file.
71236 * string/Makefile (strop-tests): Add strstr and strcasestr.
71237 * string/str-two-way.h: Don't undefine MAX.
71238 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
71239
71240 2010-07-21 Andreas Schwab <schwab@redhat.com>
71241
71242 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71243 strcasestr-nonascii.
71244 (CFLAGS-strcasestr-nonascii.c): Define.
71245 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
71246 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
71247 Remove unused attribute.
71248
71249 2010-07-20 Roland McGrath <roland@redhat.com>
71250
71251 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
71252 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
71253 ld.so.cache was broken. With it, there is no way to disable dsocaps
71254 like LD_HWCAP_MASK can disable hwcaps.
71255
71256 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
71257
71258 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
71259
71260 2010-07-16 Ulrich Drepper <drepper@redhat.com>
71261
71262 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
71263 call in strcasestr.
71264 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
71265 __strcasestr_sse42_nonascii.
71266 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
71267 strcasestr-nonascii.c.
71268 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
71269
71270 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
71271
71272 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
71273 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
71274 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
71275 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
71276
71277 2010-07-09 Ulrich Drepper <drepper@redhat.com>
71278
71279 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
71280 fcntl.
71281
71282 2010-07-06 Andreas Schwab <schwab@redhat.com>
71283
71284 [BZ #11577]
71285 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
71286 dl_signal_cerror.
71287
71288 2010-07-06 Ulrich Drepper <drepper@redhat.com>
71289
71290 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
71291 _PC_PIPE_BUF using F_GETPIPE_SZ.
71292
71293 2010-07-05 Roland McGrath <roland@redhat.com>
71294
71295 * manual/arith.texi (Rounding Functions): Fix rint description
71296 implicit in round description.
71297
71298 2010-07-02 Ulrich Drepper <drepper@redhat.com>
71299
71300 * elf/Makefile: Fix linking for a few tests to make recent linker
71301 happy.
71302
71303 2010-06-30 Andreas Schwab <schwab@redhat.com>
71304
71305 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71306 $(common-objpfx)libc_nonshared.a.
71307
71308 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
71309
71310 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
71311 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
71312 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71313 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71314 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
71315 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
71316 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71317 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
71319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
71320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
71321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
71323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
71325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
71326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
71327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
71328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
71330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
71332 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
71333 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
71334 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
71335 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
71336 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
71337 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
71338 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
71339 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
71340 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
71341 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
71342 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
71343 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
71344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
71345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
71346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
71347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
71348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
71349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
71350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
71351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
71352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
71353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
71354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
71355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
71356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
71357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
71358
71359 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
71360
71361 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
71362 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
71363 * string/memmove.c (memmove): Renamed to ...
71364 (MEMMOVE): ...this. Default to memmove.
71365 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
71366 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
71367 (END_CHK): Define.
71368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71369 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
71370 mempcpy-ssse3-back memmove-ssse3-back.
71371 * sysdeps/x86_64/multiarch/bcopy.S: New file .
71372 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
71373 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
71374 * sysdeps/x86_64/multiarch/memcpy.S: New file.
71375 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
71376 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
71377 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
71378 * sysdeps/x86_64/multiarch/memmove.c: New file.
71379 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
71380 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
71381 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
71382 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
71383 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
71384 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
71385 Define.
71386 (index_Fast_Copy_Backward): Define.
71387 (HAS_ARCH_FEATURE): Define.
71388 (HAS_FAST_REP_STRING): Define.
71389 (HAS_FAST_COPY_BACKWARD): Define.
71390
71391 2010-06-21 Andreas Schwab <schwab@redhat.com>
71392
71393 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71394 Restore proper fallback handling.
71395
71396 2010-06-19 Ulrich Drepper <drepper@redhat.com>
71397
71398 [BZ #11701]
71399 * posix/group_member.c (__group_member): Correct checking loop.
71400
71401 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
71402 OOM in getpwuid_r correctly. Return error number when the caller
71403 should return, otherwise -1.
71404 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
71405 call returning > 0 value.
71406 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
71407
71408 2010-06-07 Andreas Schwab <schwab@redhat.com>
71409
71410 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
71411 libc_nonshared.a from targets in modules-names.
71412
71413 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
71414
71415 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
71416 requires it.
71417
71418 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
71419
71420 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
71421 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
71422 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
71423 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
71424
71425 2010-06-02 Andreas Schwab <schwab@redhat.com>
71426
71427 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
71428
71429 2010-06-14 Ulrich Drepper <drepper@redhat.com>
71430
71431 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
71432 and F_GETPIPE_SZ.
71433 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71434 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71435 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71436 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71437 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71438 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
71439
71440 2010-06-14 Roland McGrath <roland@redhat.com>
71441
71442 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
71443
71444 2010-06-07 Jakub Jelinek <jakub@redhat.com>
71445
71446 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
71447 __REDIRECT followed by __THROW.
71448 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
71449 * posix/getopt.h (getopt): Likewise.
71450
71451 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
71452
71453 * hurd/lookup-at.c (__file_name_lookup_at): Accept
71454 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
71455 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
71456 in AT_FLAGS.
71457 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
71458 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
71459
71460 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
71461
71462 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
71463
71464 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
71465
71466 [BZ #11640]
71467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71468 Properly check family and model.
71469
71470 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
71471
71472 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
71473
71474 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
71475
71476 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
71477
71478 2010-05-21 Ulrich Drepper <drepper@redhat.com>
71479
71480 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
71481 symbol reference.
71482
71483 2010-05-19 Andreas Schwab <schwab@redhat.com>
71484
71485 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
71486 symbol reference.
71487
71488 2010-05-21 Andreas Schwab <schwab@redhat.com>
71489
71490 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
71491 and internal_recvmmsg.
71492 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
71493 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
71494 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
71495 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
71496
71497 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
71498 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
71499 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
71500
71501 2010-05-20 Andreas Schwab <schwab@redhat.com>
71502
71503 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
71504
71505 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
71506
71507 POWER7 optimizations.
71508 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
71509 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
71510
71511 2010-05-19 Ulrich Drepper <drepper@redhat.com>
71512
71513 * version.h: Update for 2.13 development version.
71514
71515 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
71516
71517 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
71518 exceptions. Return 0.
71519
71520 2010-05-07 Roland McGrath <roland@redhat.com>
71521
71522 * elf/ldconfig.c (main): Add a const.
71523
71524 2010-05-06 Ulrich Drepper <drepper@redhat.com>
71525
71526 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
71527 (args_options): Add no-idn option.
71528 (ahosts_keys_int): Add idn_flags to ai_flags.
71529 (parse_option): Handle 'i' option to clear idn_flags.
71530
71531 * malloc/malloc.c (_int_free): Possible race in the most recently
71532 added check. Only act on the data if no current modification
71533 happened.
71534
71535 See ChangeLog.17 for earlier changes.