Enhance tst-xmmymm.sh to detect zmm register usage in ld.so (BZ #16194)
[platform/upstream/glibc.git] / ChangeLog
1 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2
3         [BZ #16194]
4         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
6         register usage.
7         * sysdeps/x86/Makefile: Adjust.
8
9 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10             Roland McGrath  <roland@hack.frob.com>
11
12         * locale/weight.h: Add include guard.
13         (findidx): Make static rather than auto; take new parameters
14         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
15         * locale/weightwc.h: Likewise.
16         * posix/fnmatch_loop.c
17         (FCT): Change type of EXTRA from int32_t to wint_t.
18         Don't include either header inside the function.
19         Call FINDIDX rather than findidx, and pass new arguments.
20         #undef FINDIDX at the end of the file.
21         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
22         FINDIDX before including fnmatch_loop.c for the non-wide version.
23         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
24         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
25         for the wide version.
26         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
27         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
28         Pass new arguments to findidx.
29         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
30         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
31         Don't #include it inside the function.  Pass new arguments to findidx.
32         * posix/regex_internal.h
33         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
34         (re_string_elem_size_at): Don't #include it inside the function.
35         Pass new arguments to findidx.
36         * string/strcoll_l.c: #include WEIGHT_H at top level.
37         (get_next_seq): Don't #include it inside the function.
38         Pass new arguments to findidx.
39         (get_next_seq_nocache): Likewise.
40         * string/strxfrm_l.c: #include WEIGHT_H at top level.
41         (STRXFRM): Don't #include it inside the function.
42         Pass new arguments to findidx.
43
44 2014-09-11  Florian Weimer  <fweimer@redhat.com>
45
46         [BZ #17344]
47         * malloc/malloc.c (unlink): Turn asserts into a call to
48         malloc_printerr.
49
50 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
51
52         [BZ #17370]
53         * libio/wfileops (do_ftell_wide): Free OUT.
54
55 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
56
57         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
58
59 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60
61         [BZ #17363]
62         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
63         group if the current group is empty.
64
65 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66
67         * benchtests/bench-memset.c (test_main): Add more test from size
68         from 32 to 512 bytes.
69         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
70         Add POWER8 memset object.
71         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
72         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
73         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
74         implementation.
75         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
76         Likewise.
77         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
78         multiarch POWER8 memset optimization.
79         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
80         POWER8 memset optimization.
81
82         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
83         Remove bzero multiarch objects.
84         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
85         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
86         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
87         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
88         Remove define.
89         [__bzero]: Redefine to specific name.
90         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
91         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
92         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
93         define.
94         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
95         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
96
97 2014-09-10  Florian Weimer  <fweimer@redhat.com>
98
99         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
100         warnings into errors.
101
102         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
103         __cxa_thread_atexit_impl prototype.
104
105 2014-09-09  Steve Ellcey  <sellcey@mips.com>
106
107         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
108         Fix capitalization of error message.
109
110 2014-09-09  Steve Ellcey  <sellcey@mips.com>
111
112         * sysdeps/mips/preconfigure: Modify ABI tests.
113
114 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
115
116         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
117
118 2014-09-07  Roland McGrath  <roland@hack.frob.com>
119             Carlos O'Donell  <carlos@systemhalted.org>
120
121         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
122         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
123         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
124         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
125         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
126         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
127         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
128         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
129         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
130         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
131         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
132         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
133         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
134         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
135         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
136         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
137         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
138         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
139         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
140         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
141         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
142         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
143         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
144         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
145         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
146         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
147         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
148         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
149         Deconditionalize the code that was previously under [RESET_PID].
150         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
151         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
152         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
153         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
154         include sysdep.h.
155
156 2014-09-08  Allan McRae  <allan@archlinux.org>
157
158         * version.h (RELEASE): Set to "development".
159         (VERSION): Set to "2.20.90"
160
161 2014-09-07  Allan McRae  <allan@archlinux.org
162
163         * version.h (RELEASE): Set to "stable".
164         (VERSION): Set to "2.20"
165         * include/features.h (__GLIBC_MINOR__): Set to 20.
166
167         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
168         Liebler.
169
170         * po/ko.po: Update Korean translation from translation project.
171
172 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
173
174         [BZ #17354]
175         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
176         macro for handling signed relocations.
177
178 2014-09-03  Florian Weimer  <fweimer@redhat.com>
179
180         [BZ #17325]
181         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
182         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
183         assert.
184         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
185         * iconvdata/ibm935.c (BODY): Likewise.
186         * iconvdata/ibm937.c (BODY): Likewise.
187         * iconvdata/ibm939.c (BODY): Likewise.
188         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
189         assert.
190         * iconvdata/Makefile (iconv-test.out): Pass module list to test
191         script.
192         * iconvdata/run-iconv-test.sh: New test loop for checking for
193         decoder crashers.
194
195 2014-09-02  Khem Raj  <raj.khem@gmail.com>
196
197         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
198         libm_hidden_ver.
199
200 2014-09-01  Allan McRae  <allan@archlinux.org>
201
202         * po/eo.po: Update Esperanto translation from translation project.
203
204         * po/ca.po: Update Catalan translation from translation project.
205
206 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
207
208         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
209         __proc_dostop call.
210
211 2014-08-27  Mark Wielaard  <mjw@redhat.com>
212
213         [BZ #17319]
214         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
215         to call set_thread_area instead of hand written asm.
216         (__NR_set_thread_area): Removed define.
217         (TLS_FLAG_WRITABLE): Likewise.
218         (__ASSUME_SET_THREAD_AREA): Remove check.
219         (TLS_EBX_ARG): Remove define.
220         (TLS_LOAD_EBX): Likewise.
221
222 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
223
224         Simplify atomicity of socket creation in bind.
225
226         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
227         looking up the name after linking the file.
228
229 2014-08-27  Allan McRae  <allan@archlinux.org>
230
231         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
232
233 2014-08-26  Florian Weimer  <fweimer@redhat.com>
234
235         [BZ #17187]
236         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
237         trans_compare, open_translit, __gconv_translit_find):
238         Remove module loading code.
239
240 2014-08-26  Allan McRae  <allan@archlinux.org>
241
242         * po/vi.po: Update Vietnamese translation from translation project.
243
244         * po/uk.po: Update Ukrainian translation from translation project.
245
246         * po/fr.po: Update French translation from translation project.
247
248         * po/ru.po: Update Russian translation from translation project.
249
250         * po/pl.po: Update Polish translation from translation project.
251
252         * po/cs.po: Update Czech translation from translation project.
253
254         * po/de.po: Update German translation from translation project.
255
256         * po/bg.po: Update Bulgarian translation from translation project.
257
258         * po/sv.po: Update Sweedish translation from translation project.
259
260         * po/nl.po: Update Dutch translation from translation project.
261
262         * po/es.po: Update Spanish translation from translation project.
263
264 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
265
266         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
267
268         * catgets/Makefile (CPPFLAGS-gencat): Remove.
269         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
270         (CPPFLAGS-iconvconfig): Likewise.
271         * timezone/Makefile (CPPFLAGS-zic): Likewise.
272
273         * include/libc-symbols.h: Remove unnecessary check for
274         NOT_IN_libc.
275         * nptl/pthreadP.h: Likewise.
276         * sysdeps/aarch64/setjmp.S: Likewise.
277         * sysdeps/alpha/setjmp.S: Likewise.
278         * sysdeps/arm/sysdep.h: Likewise.
279         * sysdeps/i386/setjmp.S: Likewise.
280         * sysdeps/m68k/setjmp.c: Likewise.
281         * sysdeps/posix/getcwd.c: Likewise.
282         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
283         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
284         * sysdeps/s390/s390-32/setjmp.S: Likewise.
285         * sysdeps/s390/s390-64/setjmp.S: Likewise.
286         * sysdeps/sh/sh3/setjmp.S: Likewise.
287         * sysdeps/sh/sh4/setjmp.S: Likewise.
288         * sysdeps/unix/alpha/sysdep.h: Likewise.
289         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
290         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
291         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
292         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
295         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
296         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
297         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
298         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
299         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
300         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
301         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
302         * sysdeps/x86_64/setjmp.S: Likewise.
303
304 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
305
306         [BZ #17263]
307         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
308         <stdint.h>.
309         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
310         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
311
312 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
313
314         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
315
316         [BZ #17262]
317         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
318         and __x86_64__ when disabling x87 inline functions.
319
320 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
321
322         [BZ #17259]
323         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
324         asm statement with __cpuid_count.
325
326 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
327
328         * configure.ac: Change __ehdr_start code to dereference the struct.
329         Run readelf on the output to look for relocations.
330         * configure: Regenerated.
331
332 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
333
334         [BZ #17261]
335         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
336         value to 0.
337         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
338
339 2014-08-12  Roland McGrath  <roland@hack.frob.com>
340
341         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
342
343 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
344
345         [BZ #16892]
346         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
347         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
348
349 2014-08-12  Sean Anderson  <seanga2@gmail.com>
350
351         * malloc/malloc.c: Fix typo in comment.
352
353 2014-08-09  Allan McRae  <allan@archlinux.org>
354
355         * Regenerate libc.po.
356
357 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
358
359         * intl/tst-gettext2.sh: Check every lang file for creation.
360
361 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
362
363         * sysdeps/aarch64/fpu/math_private.h
364         (libc_feholdsetround_noex_aarch64_ctx): New function.
365
366 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
367
368         * sysdeps/arm/armv6/strcpy.S (strcpy):
369         Fix performance issue in misaligned cases.
370
371 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
372
373         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
374         Move definition from termios.h.
375         (struct termio): Likewise.
376         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
377         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
378         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
379         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
380         Likewise.
381         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
382         Move definition to ioctl-types.h
383         (struct termio): Likewise.
384         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
385         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
386         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
387         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
388         Likewise.
389
390 2014-08-05  Richard Henderson  <rth@redhat.com>
391
392         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
393         exceptions.
394         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
395         Add fraiseexcpt.
396         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
397         Use __feraiseexcept.
398         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
399         Protect libm symbols with IS_IN_libm.
400
401         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
402
403 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
404
405         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
406
407 2014-08-04  Will Newton  <will.newton@linaro.org>
408
409         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
410         file.
411
412 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
413
414         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
415         variants for each function.
416
417 2014-08-04  Roland McGrath  <roland@hack.frob.com>
418
419         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
420         appended ...
421         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
422         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
423         appended ...
424         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
425         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
426         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
427         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
428         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
429         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
430         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
431         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
432         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
433         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
434         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
435         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
436         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
437         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
438         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
439         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
440         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
441         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
442         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
443         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
444         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
445         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
446         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
447         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
448         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
449         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
450         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
451         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
452         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
453         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
454         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
455         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
456         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
457         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
458         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
459         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
460         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
461         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
462         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
463         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
464         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
465         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
466         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
467         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
468         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
469         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
470         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
471         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
472         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
473         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
474         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
475         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
476         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
477         Update #include.
478         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
479         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
480
481 2014-08-04  Roland McGrath  <roland@hack.frob.com>
482
483         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
484         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
485         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
486         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
487         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
488         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
489
490 2014-08-04  Roland McGrath  <roland@hack.frob.com>
491
492         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
493         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
494         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
495         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
496
497 2014-08-04  Roland McGrath  <roland@hack.frob.com>
498
499         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
500         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
501         (__libc_vfork): Define function under this name.
502         (__vfork): Define as an alias.
503         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
504         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
505
506 2014-08-04  Roland McGrath  <roland@hack.frob.com>
507
508         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
509         that was previously under [RESET_PID].
510         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
511
512 2014-08-04  Andreas Schwab  <schwab@suse.de>
513
514         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
515
516 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
517
518         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
519         (main): Likewise.
520
521 2014-08-01  Roland McGrath  <roland@hack.frob.com>
522
523         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
524
525 2014-08-01  Richard Henderon  <rth@redhat.com>
526
527         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
528         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
529         typo in exact zero test.
530         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
531         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
532         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
533
534 2014-08-01  Roland McGrath  <roland@hack.frob.com>
535
536         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
537         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
538         * sysdeps/arm/sysdep.h: ... here.
539         [!__ASSEMBLER__]: Include <stdint.h>.
540
541 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
542
543         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
544         (HAVE_WCTYPE_H): Likewise.
545         (HAVE_ISWCTYPE): Likewise.
546         (ENABLE_NLS): Likewise.
547         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
548         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
549
550         * posix/regex_internal.c: Check if DEBUG is defined and is
551         set.
552
553         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
554         (HAVE_MBSRTOWCS): Likewise.
555         * posix/fnmatch.c: Include string.h unconditionally.
556
557 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
558
559         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
560         reversal.
561
562 2014-07-31  Roland McGrath  <roland@hack.frob.com>
563
564         * sysdeps/generic/safe-fatal.h: New file.
565         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
566         * nptl/forward.c: Include it.
567         (__pthread_unwind): Use __safe_fatal as default action, rather
568         than a bogus use of INTERNAL_SYSCALL that could never work.
569
570         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
571         * configure.ac (libc_cv_builtin_trap): New test.
572         * configure: Regenerated.
573         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
574         (ABORT_INSTRUCTION): Define using __builtin_trap.
575
576         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
577         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
578         * sysdeps/nptl/nptl-signals.h: New file.
579         * nptl/pthreadP.h: Include <nptl-signals.h>.
580
581 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
582
583         * sysdeps/s390/s390-64/utf16-utf32-z9.c
584         (ONE_DIRECTION): Define.
585         * sysdeps/s390/s390-64/utf8-utf16-z9.c
586         (ONE_DIRECTION): Define.
587         * sysdeps/s390/s390-64/utf8-utf32-z9.c
588         (ONE_DIRECTION): Define.
589
590 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
591
592         * sysdeps/s390/Makefile: Delete file.
593         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
594         * sysdeps/s390/__longjmp.c: Delete file.
595         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
596         Remove fields __flags and __reserved.
597         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
598         and add versioning.
599         * sysdeps/s390/rtld-__longjmp.c: Delete file.
600         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
601         * sysdeps/s390/rtld-setjmp.S: Likewise.
602         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
603         * sysdeps/s390/s390-32/__longjmp.c: ... here.
604         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
605         * sysdeps/s390/s390-32/setjmp.S: ... here.
606         Add versioning.
607         (__sigsetjmp): Remove setting __flags field.
608         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
609         * sysdeps/s390/s390-64/__longjmp.c: ... here.
610         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
611         * sysdeps/s390/s390-64/setjmp.S: ... here.
612         Add versioning.
613         (__sigsetjmp): Remove setting __flags field.
614         * sysdeps/s390/setjmp.S: Delete file.
615         * sysdeps/s390/sigjmp.c: Likewise.
616         * sysdeps/s390/v1-longjmp.c: Likewise.
617         * sysdeps/s390/v1-setjmp.h: Likewise.
618         * sysdeps/s390/v1-sigjmp.c: Likewise.
619         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
620         Remove v1-longjmp_chk.
621         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
622         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
623         Include debug/longjmp_chk.c and add versioning.
624         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
625         Include nptl/pt-longjmp.c and add versioning.
626         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
627         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
628         Include __longjmp.c.
629         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
630         Move to ...
631         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
632         (__getcontext): Remove setting __flags field.
633         Add versioning.
634         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
635         Don't restore upper high grps.
636         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
637         Likewise.
638         (__swapcontext): Remove setting uc_flags field.
639         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
640         Delete file.
641         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
642         Include __longjmp.c.
643         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
644         Move to ...
645         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
646         (__getcontext): Remove setting __flags field.
647         Add versioning.
648         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
649         (__swapcontext): Remove setting uc_flags field.
650         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
651         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
652         Remove fields uc_high_gprs and __reserved.
653         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
654         New file with reverted content.
655         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
656         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
657         Regenerated.
658         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
659         Regenerated.
660
661 2014-07-31  Andreas Schwab  <schwab@suse.de>
662
663         * config.h.in (HAVE_IFUNC): Define to 0.
664         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
665         definedness.
666
667 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
668
669         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
670         memmove-avx-unaligned, memcpy-avx-unaligned and
671         mempcpy-avx-unaligned.
672         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
673         Add tests for AVX memcpy functions.
674         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
675         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
676         memcpy_chk.
677         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
678         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
679         memmove_chk.
680         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
681         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
682         mempcpy_chk.
683         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
684         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
685         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
686
687 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
688
689         [BZ #17213]
690         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
691         powerpc64le.
692
693 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
694
695         [BZ #16839]
696         * manual/llio.texi: Add section about open file description locks.
697         * manual/examples/ofdlocks.c: Example of open file description
698         lock usage.
699         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
700         F_OFD_SETLK, and F_OFD_SETLKW.
701
702 2014-07-23  Allan McRae  <allan@archlinux.org>
703
704         * po/es.po: Update Spanish translation from translation project.
705
706 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
707
708         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
709
710 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
711
712         [BZ #17078]
713         * sysdeps/arm/dl-machine.h (elf_machine_rela)
714         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
715         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
716
717 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
718
719         [BZ #17088]
720         * math/fesetenv.c (__fesetenv)
721         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
722         * math/feupdateenv.c (__feupdateenv)
723         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
724
725         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
726         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
727         (__ASSUME_SOCKETCALL): Do not define.
728
729         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
730         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
731         (__ASSUME_SOCKETCALL): Do not define.
732         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
733         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
734         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
735         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
736         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
737         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
738         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
739         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
740
741         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
742         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
743         (__ASSUME_SOCKETCALL): Do not define.
744         (__ASSUME_IPC64): Define unconditionally.
745         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
746         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
747         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
748         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
749         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
750         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
751         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
752         Likewise.
753
754         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
755         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
756         (__ASSUME_SOCKETCALL): Do not define.
757         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
758         (__ASSUME_FUTEX_LOCK_PI): Likewise.
759         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
760         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
761         (__ASSUME_REQUEUE_PI): Define unconditionally.
762         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
763         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
764         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
765         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
766         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
767         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
768
769         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
770         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
771         (__ASSUME_SOCKETCALL): Do not define.
772         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
773         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
774         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
775         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
776         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
777         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
778
779         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
780         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
781         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
782         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
783         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
784         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
785         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
786         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
787         (__ASSUME_GETCPU_SYSCALL): Likewise.
788
789         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
790         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
791         cases for individual architectures.
792         * sysdeps/gnu/configure: Regenerated.
793         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
794         LIBC_SLIBDIR_RTLDDIR.
795         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
796         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
797         LIBC_SLIBDIR_RTLDDIR.
798         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
800         LIBC_SLIBDIR_RTLDDIR.
801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
802         Regenerated.
803         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
804         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
805         file.
806         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
807         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
808         file.
809         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
810         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
811         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
812         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
813
814         * sysdeps/aarch64/shlib-versions: Move to ...
815         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
816         * sysdeps/alpha/shlib-versions: Move to ...
817         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
818         * sysdeps/arm/shlib-versions: Move to ...
819         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
820         * sysdeps/hppa/shlib-versions: Move all contents except for
821         libgcc_s entry to ...
822         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
823         entry from ...
824         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
825         * sysdeps/ia64/shlib-versions: Move to ...
826         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
827         entry from ...
828         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
829         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
830         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
831         * sysdeps/microblaze/shlib-versions: Move to ...
832         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
833         * sysdeps/mips/shlib-versions: Move to ...
834         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
835         entry from ...
836         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
837         * sysdeps/tile/shlib-versions: Move to ...
838         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
839         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
840         from ...
841         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
842         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
843         entry from ...
844         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
845
846 2014-07-17  Will Newton  <will.newton@linaro.org>
847
848         * sysdeps/arm/bits/atomic.h
849         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
850         (__arch_compare_and_exchange_bool_16_int): Likewise.
851         (__arch_compare_and_exchange_bool_64_int): Likewise.
852
853         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
854         into an #else block.
855
856 2014-07-16  Roland McGrath  <roland@hack.frob.com>
857
858         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
859         just Linux configurations.  Test empirically that the compiler sets
860         __ARM_EABI__, rather than using the tuple to decide.
861         * sysdeps/arm/preconfigure: Regenerated.
862         * sysdeps/unix/sysv/linux/arm/configure: File removed.
863         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
864         contents appended ...
865         * sysdeps/arm/configure.ac: ... here.
866         * sysdeps/arm/configure: Regenerated.
867
868 2014-07-15  Roland McGrath  <roland@hack.frob.com>
869
870         * nptl/pthread_kill.c: New file.
871         * nptl/pthread_sigmask.c: New file.
872         * nptl/pthread_sigqueue.c: New file.
873
874         * sysdeps/nptl/lowlevellock.h: New file.
875         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
876         * sysdeps/nptl/lowlevellock-futex.h: New file.
877
878         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
879         Remove dead declarations.
880
881 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
882
883         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
884         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
885         config-cflags-avx2.
886         * sysdeps/x86_64/configure.ac: Likewise.
887         * sysdeps/i386/configure: Regenerated.
888         * sysdeps/x86_64/configure: Likewise.
889         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
890         memset-avx2 only if config-cflags-avx2 is yes.
891         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
892         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
893         defined.
894         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
895         only if HAVE_AVX2_SUPPORT is defined.
896         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
897
898 2014-07-14  Alan Modra  <amodra@gmail.com>
899
900         [BZ #17153]
901         * elf/elf.h (DT_PPC64_NUM): Correct value.
902         * NEWS: Add to fixed bug list.
903
904 2014-07-13  Jim Meyering  <meyering@fb.com>
905
906         [BZ 17150]
907         regex: don't deref NULL upon heap allocation failure
908         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
909         failure in one more place.
910         To trigger the segfault, configure grep -with-included-regex,
911         build it, and run these commands:
912         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
913
914 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
915
916         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
917
918 2014-07-11  Richard Henderson  <rth@redhat.com>
919
920         * sysdeps/aarch64/libm-test-ulps: Update.
921
922 2014-07-10  Florian Weimer  <fweimer@redhat.com>
923
924         [BZ #17135]
925         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
926         * nptl/allocatestack.c (__nptl_setxid_error): New function.
927         (__nptl_setxid): Initialize error member.  Call
928         __nptl_setxid_error.
929         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
930         * nptl/descr.h (struct xid_command): Add error member.
931         * nptl/tst-setuid3.c: New file.
932         * nptl/Makefile (tests): Add it.
933
934 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
935
936         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
937         New define.
938         (__lll_trylock): Use __lll_base_trylock.
939         (__lll_cond_trylock): Likewise.
940
941 2014-07-10  Roland McGrath  <roland@hack.frob.com>
942
943         * nptl/pthread_create.c (start_thread): Use atomic_or and
944         lll_futex_wake directly rather than lll_robust_dead.
945         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
946         (lll_robust_dead): Macro removed.
947         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
948         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
949         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
950         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
951         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
952         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
953         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
954         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
955         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
956         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
957         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
958         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
959         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
960         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
961         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
962
963         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
964         Use atomic_compare_and_exchange_val_acq directly rather than
965         lll_robust_trylock.
966         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
967         (__lll_robust_trylock, lll_robust_trylock): Removed.
968         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
969         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
970         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
971         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
972         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
973         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
974         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
975         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
976         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
977         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
978         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
979         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
980         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
981         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
982
983 2014-07-02  Florian Weimer  <fweimer@redhat.com>
984
985         * manual/locale.texi (Locale Names): New section documenting
986         locale name syntax.  Adjust menu and node chaining accordingly.
987         (Choosing Locale): Reference Locale Names, Locale Categories.
988         Mention setting LC_ALL=C.  Reflect that name syntax is now
989         documented.
990         (Locale Categories): New section title.  Reference Locale Names.
991         LC_ALL is an environment variable, but not a category.
992         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
993         description, now in Locale Name.  Reference that section.  Locale
994         name syntax is now documented.
995
996 2014-07-02  Florian Weimer  <fweimer@redhat.com>
997
998         [BZ #17137]
999         * locale/findlocale.c (name_present, valid_locale_name): New
1000         functions.
1001         (_nl_find_locale): Use the loc_name variable to store name
1002         candidates.  Call name_present and valid_locale_name to check and
1003         validate locale names.  Return an error if the locale is invalid.
1004
1005 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1006
1007         * locale/setlocale.c (setlocale): Use strdup for allocating
1008         composite name copy.
1009
1010 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1011
1012         Sync up with gnulib.
1013         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1014         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1015         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1016         and _GL_ARG_NONNULL.
1017         [USE_UNLOCKED_IO]: Include unlocked-io.h.
1018         [!_LIBC]: Include code for Windows and Cygwin.
1019         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1020         Include prototype for int strerror_r.
1021         [!_LIBC] (is_open): New function.
1022         (flush_stdout): New function.
1023         (print_errno_message): Use it.
1024         (error): Likewise.
1025         (error_at_line): Likewise.
1026         (error_tail) Add function attribute macros.  Use
1027         __builtin_expect.
1028
1029         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1030
1031         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1032
1033         * io/ftw.c: Include sys/param.h unconditionally.
1034
1035         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1036
1037         [BZ #17125]
1038         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1039         libc_freeres_ptr.
1040         (freecache): New function to free CACHE on exit.
1041
1042         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1043         initialization.
1044
1045 2014-07-09  David S. Miller  <davem@davemloft.net>
1046
1047         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1048
1049         * sysdeps/sparc/nptl/internaltypes.h: Delete.
1050         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1051         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1052         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1053         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1054         * sysdeps/sparc/nptl/sem_init.c: Likewise.
1055         * sysdeps/sparc/nptl/sem_post.c: Likewise.
1056         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1057         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1058         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1059         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1060         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1061         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1062
1063 2014-07-09  Andreas Schwab  <schwab@suse.de>
1064
1065         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1066         output.
1067         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1068         (do_test): Likewise.
1069
1070         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1071
1072 2014-07-09  Will Newton  <will.newton@linaro.org>
1073
1074         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1075         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1076         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1077         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1078         * sysdeps/hppa/start.S (_start): Likewise.
1079
1080 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1081
1082         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1083
1084         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1085         defined.
1086
1087 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1088
1089         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1090         after checking that it is non-NULL.
1091
1092         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1093
1094 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1095
1096         * sysdeps/powerpc/memmove.c: Remove file.
1097         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1098         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1099         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1100         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1101         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1102         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1103         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1104         string memmove instead of removed powerpc one.
1105
1106         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1107         [weak_alias]: Fix compiler warning due trailing data.
1108         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1109         [weak_alias]: Likewise.
1110         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1111         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1112
1113         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1114         (__libc_ifunc_impl_list): Add memmove functions.
1115
1116 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1117
1118         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1119         Remove code.
1120         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1121         Likewise
1122         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1123         Likewise
1124         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1125         Likewise
1126         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1127         Likewise
1128         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1129         Likewise
1130         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1131         Likewise
1132         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1133         Likewise
1134         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1135         Likewise
1136         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1137         Likewise
1138         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1139         Likewise
1140         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1141         Likewise
1142         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1143         Likewise
1144         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1145         Likewise
1146         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1147         Likewise
1148         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1149         Likewise
1150         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1151         Likewise
1152
1153 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1154
1155         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1156         to avoid alignment traps in non-cacheable memory.
1157         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1158
1159         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1160         multiarch objects.
1161         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1162         file: multiarch power7 memmove.
1163         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1164         multiarch default memmove.
1165         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1166         multiarch memove for powerpc32/power4.
1167
1168         * string/bcopy.c: Use full path to include memmove.c.
1169         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1170         multiarch objects.
1171         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1172         bcopy for powerpc64.
1173         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1174         bcopy for powerpc64.
1175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1176         and memmove implementations.
1177         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1178         optimized multiarch memmove for POWER7/powerpc64.
1179         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1180         default multiarch memmove for powerpc64.
1181         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1182         multiarch for powerpc64.
1183         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1184         for POWER7/powerpc64.
1185         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1186         memmove for POWER7/powerpc64.
1187
1188         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1189         glibc default one.
1190
1191         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1192         __ELF_NATIVE_CLASS equal to 64.
1193
1194 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1195
1196         * sysdeps/nptl/lowlevellock.h: File removed.
1197
1198         * NEWS: NPTL is no longer an add-on!
1199         * nptl/internaltypes.h: Moved ...
1200         * sysdeps/nptl/internaltypes.h: ... here.
1201         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1202         * sysdeps/nptl/fork.c: Likewise.
1203         * sysdeps/nptl/gai_misc.h: Likewise.
1204         * sysdeps/nptl/librt-cancellation.c: Likewise.
1205         * sysdeps/nptl/jmp-unwind.c: Likewise.
1206         * sysdeps/nptl/setxid.h: Likewise.
1207         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1208         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1209         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1210         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1211         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1212         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1213         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1214         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1215         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1216         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1217         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1218         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1219         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1220         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1221         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1222         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1223         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1224         * nptl/Makeconfig: Moved ...
1225         * sysdeps/nptl/Makeconfig: ... here.
1226         * nptl/configure: File removed.
1227         * nptl/ANNOUNCE: File removed.
1228         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1229         * sysdeps/unix/sysv/linux/configure: Regenerated.
1230
1231         * nptl/Makefile (routines): Add libc_pthread_init,
1232         libc_multiple_threads, register-atfork and unregister-atfork.
1233         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1234         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1235         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1236         pthread-pi-defines.sym, structsem.sym.
1237         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1238         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1239         [$(subdir) = nptl] (tests): Add tst-setgetname.
1240         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1241         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1242         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1243         [!LIBC_SIGACTION]: Remove aliases.
1244         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1245         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1246         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1247         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1248         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1249         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1250         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1251         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1252         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1253         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1254         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1255         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1256         __libc_allocate_rtsig_private.
1257         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1258         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1259         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1260         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1261         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1262         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1263         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1264         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1265         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1266         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1267         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1268         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1269         * nptl/internaltypes.h: ... here.
1270         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1271         * sysdeps/nptl/jmp-unwind.c: ... here.
1272         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1273         * nptl/libc-lowlevellock.c: ... here.
1274         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1275         * nptl/libc_multiple_threads.c: ... here.
1276         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1277         * nptl/libc_pthread_init.c: ... here.
1278         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1279         * nptl/lowlevelbarrier.sym: ... here.
1280         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1281         * nptl/lowlevelcond.sym: ... here.
1282         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1283         * nptl/lowlevellock.c: ... here.
1284         * nptl/lowlevellock.h: Moved ...
1285         * sysdeps/nptl/lowlevellock.h: ... here.
1286         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1287         * nptl/lowlevelrobustlock.c: ... here.
1288         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1289         * nptl/lowlevelrobustlock.sym: ... here.
1290         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1291         * nptl/lowlevelrwlock.sym: ... here.
1292         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1293         * nptl/pt-fork.c: ... here.
1294         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1295         * nptl/pthread-pi-defines.sym: ... here.
1296         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1297         * nptl/pthread_attr_getaffinity.c: ... here.
1298         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1299         * nptl/pthread_attr_setaffinity.c: ... here.
1300         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1301         * nptl/pthread_mutex_cond_lock.c: ... here.
1302         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1303         Update #include.
1304         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1305         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1306         * nptl/pthread_once.c: ... here, replacing old file.
1307         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1308         * nptl/pthread_yield.c: ... here.
1309         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1310         * nptl/register-atfork.c: ... here.
1311         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1312         * nptl/sem_post.c: ... here.
1313         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1314         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1315         * nptl/sem_timedwait.c: ... here.
1316         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1317         * nptl/sem_trywait.c: ... here.
1318         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1319         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1320         * nptl/sem_wait.c: ... here.
1321         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1322         * nptl/structsem.sym: ... here.
1323         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1324         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1325         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1326         * nptl/unregister-atfork.c: ... here.
1327         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1328         * nptl/unwindbuf.sym: ... here.
1329         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1330         * sysdeps/nptl/fork.c: ... here.
1331         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1332         * sysdeps/nptl/fork.h: ... here.
1333         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1334         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1335         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1336         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1337         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1338         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1339         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1340         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1341         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1342         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1343         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1344         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1345         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1346         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1347         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1348         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1349         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1350         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1351         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1352         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1353         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1354         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1355         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1356         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1357         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1358         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1359         * sysdeps/unix/sysv/linux/raise.c: ... here.
1360         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1361         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1362         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1363         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1364         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1365         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1366         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1367         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1368         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1369         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1370         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1371         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1372         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1373         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1374         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1375
1376 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1377
1378         * sysdeps/generic/memcopy.h: Add comment for
1379         MEMCPY_OK_FOR_FWD_MEMMOVE.
1380
1381 2014-07-04  Will Newton  <will.newton@linaro.org>
1382
1383         * string/memchr.c: Merge from gnulib.
1384         [_LIBC]: Remove conditionals.
1385         (__ptr_t): Remove define.
1386         (LONG_MAX_32_BITS): Likewise.
1387         (LONG_MAX): Likewise.
1388         (MEMCHR): Use ANSI prototype and optimize algorithm.
1389
1390         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1391
1392 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1393
1394         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1395         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1396
1397         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1398         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1399         in a bare environment with no <stdlib.h> installed.
1400         * sysdeps/nptl/configure: Regenerated.
1401
1402         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1403
1404         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1405         AC_EGREP_CPP for kernel header checks, so they only succeed if
1406         including <linux/version.h> actually works right.
1407         * sysdeps/unix/sysv/linux/configure: Regenerated.
1408
1409         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1410         value so it's not diagnosed as unused.
1411
1412         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1413         thing) with "ifeq ($(subdir),rt)".
1414
1415 2014-07-03  Richard Henderson  <rth@redhat.com>
1416
1417         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1418         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1419         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1420
1421         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1422         (math_force_eval): New.
1423
1424         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1425         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1426
1427         * sysdeps/alpha/fpu/s_round.c: Remove file.
1428         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1429
1430         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1431         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1432         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1433         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1434         (_dl_start, print_statistics): Likewise.
1435         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1436         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1437
1438         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1439         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1440         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1441         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1442         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1443         (HP_SMALL_TIMING_AVAIL): Define.
1444         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1445         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1446         (HP_SMALL_TIMING_AVAIL): Define.
1447         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1448         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1449
1450         * sysdeps/aarch64/hp-timing.h: New file.
1451
1452         * sysdeps/generic/hp-timing.h: Remove dead comment.
1453         * sysdeps/generic/hp-timing-common.h: New file.
1454         * sysdeps/alpha/hp-timing.h: Include it.
1455         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1456         * sysdeps/i386/i686/hp-timing.h: Likewise.
1457         * sysdeps/ia64/hp-timing.h: Likewise.
1458         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1459         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1460         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1461         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1462         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1463         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1464         (hp_timing_t): New.
1465
1466         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1467         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1468         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1469         * elf/rtld.c (_dl_start_final): Likewise.
1470         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1471         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1472         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1473         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1474         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1475         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1476         (HP_TIMING_DIFF_INIT): Remove.
1477         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1478         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1479         (HP_TIMING_DIFF_INIT): Remove.
1480         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1481         * sysdeps/i386/i686/hp-timing.c: Remove file.
1482         * sysdeps/x86_64/hp-timing.c: Remove file.
1483         * sysdeps/ia64/hp-timing.c: Remove file.
1484         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1485         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1486         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1487         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1488
1489         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1490         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1491         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1492         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1493         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1494         (HP_TIMING_ACCUM): Remove.
1495         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1496         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1497         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1498
1499         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1500         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1501         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1502         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1503         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1504         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1505         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1506         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1507
1508         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1509
1510 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
1511
1512         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1513
1514 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1515
1516         Sync up with gettext.
1517         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1518         [_MSC_VER]: Include malloc.h
1519         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1520         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1521         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
1522         TEMP_FAILURE_RETRY.  Cast return of alloca.
1523         [!_LIBC] Call gl_rwlock_init.
1524         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1525
1526 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1527
1528         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1529         before checking its value.
1530
1531 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1532
1533         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1534
1535         * debug/memcpy_chk.c: Don't include pagecopy.h.
1536         * debug/mempcpy_chk.c: Likewise.
1537         * string/memcpy.c: Likewise.
1538         * string/memmove.c: Likewise.
1539         * sysdeps/powerpc/memmove.c: Likewise.
1540         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
1541         definition of PAGE_COPY_FWD_MAYBE here...
1542         * sysdeps/generic/pagecopy.h: ... from here.
1543         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1544
1545 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1546             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1547
1548         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1549         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1550         optimizations.
1551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1552         (__libc_ifunc_impl_list): Likewise.
1553         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1554         multiarch strcat for PPC64.
1555         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1556         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1557
1558 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1559
1560         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1561
1562 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1563
1564         * intl/loadmsgcat.c: Remove declaration of
1565         get_sysdep_segment_value.
1566         (get_sysdep_segment_value): Use ISO C style.
1567         (_nl_load_domain): Use ISO C style.  Get rid of redundant
1568         semicolon.  Fix typo and formatting in comment.
1569         (_nl_unload_domain): Use ISO C style.
1570
1571         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1572
1573 2014-07-02  Will Newton  <will.newton@linaro.org>
1574
1575         * malloc/obstack.c: Merge from gnulib master.
1576         [HAVE_CONFIG_H]: Remove conditional code.
1577         [!_LIBC]: Include config.h.
1578         [!ELIDE_CODE]: Don't include inttypes.h, include
1579         stdint.h unconditionally.
1580         (print_and_abort): Mark as _Noreturn.
1581         (_obstack_allocated_p): Mark as __attribute_pure__.
1582         (obstack_free): Rename to __obstack_free.
1583         [!__attribute__]: Remove conditional code.
1584         * malloc/obstack.h: Merge from gnulib master.
1585         [__cplusplus]: Move conditional down.
1586         [!__attribute_pure__]: Define __attribute_pure__ here
1587         if it is not already defined.
1588         (_obstack_memory_used): Mark as __attribute_pure__.
1589         [!__obstack_free]: Define as obstack_free.
1590         [__GNUC__]: Remove check for ancient NeXT gcc.
1591
1592 2014-07-02  Will Newton  <will.newton@linaro.org>
1593             Paul Eggert  <eggert@cs.ucla.edu>
1594
1595         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1596
1597 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1598
1599         * resolv/gethnamaddr.c: Add comment warning that the file is
1600         not maintained.
1601
1602 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
1603
1604         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1605         entries.
1606
1607         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1608         entry for aio_cancel and aio_cancel64.
1609         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1610         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1611         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1612         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1613         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1614         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1615         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1616         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1617         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1618         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1619         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1620         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1621         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1622
1623 2014-07-01  Roland McGrath  <roland@hack.frob.com>
1624
1625         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1626         * nptl/pthread_mutex_lock.c: Likewise.
1627         * nptl/pthread_mutex_timedlock.c: Likewise.
1628         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1629
1630 2014-07-01  Richard henderson  <rth@redhat.com>
1631
1632         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1633         (__isnan, __isnanl): Remove.
1634         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1635
1636         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1637
1638 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1639
1640         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1641
1642 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1643
1644         * resolv/nss_dns/dns-host.c (getanswer_r)
1645         [MULTI_PTRS_ARE_ALIASES]: Remove code.
1646
1647 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
1648
1649         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1650         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1651         undefine.
1652         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1653         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1654
1655 2014-07-01  Roland McGrath <roland@hack.frob.com>
1656
1657         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1658         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1659
1660         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1661         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1662
1663         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1664         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1665         ... here.
1666         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1667         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1668
1669         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1670         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1671         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1672         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1673
1674         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1675         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1676         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1677         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1678         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1679         Moved ...
1680         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1681         ... here.
1682         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1683         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1684         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1685         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1686         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1687         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1688         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1689         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1690         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1691         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1692         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1693         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1694         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1695         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1696         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1697         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1698         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1699         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1700         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1701         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1702         ... here.
1703         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1704         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1705         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1706         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1707         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1708         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1709         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1710         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1711
1712 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
1713
1714         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1715         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1716         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1717         Add sysdep.
1718
1719 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1720
1721         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1722
1723 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1724
1725         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1726         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1727
1728         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1729
1730         * sysdeps/arm/libm-test-ulps: Regenerated.
1731
1732 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1733             Roland McGrath <roland@hack.frob.com>
1734
1735         * test-skeleton.c (signal_handler): Kill the whole process group
1736         before killing the child individually.
1737         (main): Report any failure on `setpgid'.
1738
1739 2014-06-30  Roland McGrath  <roland@hack.frob.com>
1740
1741         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1742         from _TLS_H to _ARM_NPTL_TLS_H.
1743         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1744         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1745
1746 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1747
1748         [BZ #16539]
1749         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1750         (__expm1l): Return argument unchanged when small but not
1751         subnormal.
1752
1753         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1754         include macro name.
1755         (_FP_UNPACK_RAW_1_P): Likewise.
1756         (_FP_PACK_RAW_1): Likewise.
1757         (_FP_PACK_RAW_1_P): Likewise.
1758         (_FP_MUL_MEAT_1_wide): Likewise.
1759         (_FP_MUL_MEAT_DW_1_hard): Likewise.
1760         (_FP_MUL_MEAT_1_hard): Likewise.
1761         (_FP_DIV_MEAT_1_imm): Likewise.
1762         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1763         (_FP_DIV_MEAT_1_udiv): Likewise.
1764         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1765         (_FP_UNPACK_RAW_2): Likewise.
1766         (_FP_UNPACK_RAW_2_P): Likewise.
1767         (_FP_PACK_RAW_2): Likewise.
1768         (_FP_PACK_RAW_2_P): Likewise.
1769         (_FP_MUL_MEAT_DW_2_wide): Likewise.
1770         (_FP_MUL_MEAT_2_wide): Likewise.
1771         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1772         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1773         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1774         (_FP_MUL_MEAT_2_gmp): Likewise.
1775         (_FP_DIV_MEAT_2_udiv): Likewise.
1776         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1777         (_FP_FRAC_SRL_4): Likewise.
1778         (_FP_FRAC_SRST_4): Likewise.
1779         (_FP_FRAC_SRS_4): Likewise.
1780         (_FP_UNPACK_RAW_4): Likewise.
1781         (_FP_UNPACK_RAW_4_P): Likewise.
1782         (_FP_PACK_RAW_4): Likewise.
1783         (_FP_PACK_RAW_4_P): Likewise.
1784         (_FP_MUL_MEAT_DW_4_wide): Likewise.
1785         (_FP_MUL_MEAT_4_wide): Likewise.
1786         (_FP_MUL_MEAT_4_gmp): Likewise.
1787         (umul_ppppmnnn): Likewise.
1788         (_FP_DIV_MEAT_4_udiv): Likewise.
1789         (__FP_FRAC_ADD_4): Likewise.
1790         (__FP_FRAC_SUB_3): Likewise.
1791         (__FP_FRAC_SUB_4): Likewise.
1792         (__FP_FRAC_DEC_3): Likewise.
1793         (__FP_FRAC_DEC_4): Likewise.
1794         (__FP_FRAC_ADDI_4): Likewise.
1795         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1796         (_FP_FRAC_SRL_8): Likewise.
1797         (_FP_FRAC_SRS_8): Likewise.
1798
1799         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1800         include macro name.
1801         (FP_UNPACK_RAW_EP): Likewise.
1802         (FP_PACK_RAW_E): Likewise.
1803         (FP_PACK_RAW_EP): Likewise.
1804         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1805         (_FP_ISSIGNAN): Likewise.
1806         (_FP_ADD_INTERNAL): Likewise.
1807         (_FP_FMA): Likewise.
1808         (_FP_CMP): Likewise.
1809         (_FP_SQRT): Likewise.
1810         (_FP_TO_INT): Likewise.
1811         (_FP_FROM_INT): Likewise.
1812         (FP_EXTEND): Likewise.
1813         (_FP_DIV_MEAT_N_loop): Likewise.
1814
1815 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1816
1817         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1818         throughout.
1819
1820 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
1821
1822         [BZ #17097]
1823         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1824         result with correct sign in case of exponents that produce
1825         overflow except for X very close to 1.
1826
1827 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1828
1829         mktime: merge #if/#ifdef usage from glibc
1830         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1831         as that works with both Glibc's and Gnulib's style.
1832         See thread starting at Siddhesh Poyarekar's bug report at:
1833         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1834
1835 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1836
1837         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1838         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1839         * sysdeps/tile/tilegx/memmove.c: Remove file.
1840
1841 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1842
1843         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1844         abi-name definition.
1845         * scripts/soversions.awk: Do not handle or generate ABI lines.
1846         * shlib-versions: Remove ABI entries.
1847         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1848         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1849
1850 2014-06-27  Roland McGrath  <roland@hack.frob.com>
1851
1852         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1853         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1854         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1855         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1856         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1857         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1858         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1859         Moved ...
1860         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1861         ... here.
1862         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1863         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1864         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1865         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1866         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1867         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1868         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1869         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1870         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1871         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1872         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1873         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1874         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1875         Moved ...
1876         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1877         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1878         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1879         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1880         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1881         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1882         Moved ...
1883         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1884         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1885         Moved ...
1886         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1887         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1888         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1889         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1890         Moved ...
1891         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1892         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1893         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1894         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1895         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1896         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1897         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1898         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1899         Moved ...
1900         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1901         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1902         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1903         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1904         Moved ...
1905         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1906         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1907         Moved ...
1908         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1909         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1910         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1911         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1912         Moved ...
1913         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1914         ... here.
1915         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1916         Identical file removed.
1917         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1918         Moved ...
1919         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1920         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1921         Identical file removed.
1922         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1923         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1924         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1925         Moved ...
1926         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1927         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1928         Identical file removed.
1929         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1930         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1931         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1932         Identical file removed.
1933         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1934         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1935         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1936         Identical file removed.
1937         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1938         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1939         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1940         Identical file removed.
1941         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1942         Moved ...
1943         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1944         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1945         Identical file removed.
1946         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1947         Moved ...
1948         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1949         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1950         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1951         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1952         Identical file removed.
1953         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1954         Moved ...
1955         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1956         ... here.
1957         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1958         Identical file removed.
1959         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1960         Moved ...
1961         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1962         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1963         Identical file removed.
1964         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1965         Moved ...
1966         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1967         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1968         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1969         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1970         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1971         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1972         Moved ...
1973         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1974         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1975         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1976
1977         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1978         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1979         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1980         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1981         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1982
1983 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
1984
1985         [BZ #17092]
1986         * nscd/nscd.c (monitor_child): Return exit status of child
1987         instead of return value from wait syscall.
1988
1989 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1990
1991         * configure.ac (libc_commonpagesize): Remove variable.
1992         (libc_relro_required): Likewise.
1993         (libc_cv_z_relro): Remove configure test.
1994         * configure: Regenerated.
1995         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1996         variable.
1997         (libc_relro_required): Likewise.
1998         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1999         (libc_relro_required): Likewise.
2000         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2001         (libc_relro_required): Likewise.
2002         * sysdeps/arm/preconfigure: Regenerated.
2003         * sysdeps/ia64/preconfigure: Remove file.
2004         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2005         variable.
2006         (libc_relro_required): Likewise.
2007
2008         [BZ #16561]
2009         [BZ #16562]
2010         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2011         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2012         recompute overflowing results in original rounding mode.
2013         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2014         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2015         recompute overflowing results in original rounding mode.
2016         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2017         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2018         recompute overflowing results in original rounding mode.
2019         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2020         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2021         recompute overflowing results in original rounding mode.
2022         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2023         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2024         recompute overflowing results in original rounding mode.
2025         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2026         (libc_feholdsetround_ctx): New macro.
2027         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2028         * sysdeps/i386/fpu/libm-test-ulps: Update.
2029         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2030
2031 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2032
2033         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2034         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2035         corresponding .cpsetup call.
2036
2037 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2038
2039         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2040         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2041         * sysdeps/arm/Makefile [$(subdir) = csu]
2042         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2043         (static-only-routines): Add aeabi_read_tp here.
2044         (shared-only-routines): Add libc-aeabi_read_tp here.
2045         (CFLAGS-libc-start.c): Add -fexceptions here.
2046         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2047         (sysdep_routines, static-only-routines, shared-only-routines):
2048         Don't add to these here.
2049         (CFLAGS-libc-start.c): Likewise.
2050
2051         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2052         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2053         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2054         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2055         * sysdeps/arm/Makefile [$(subdir) = rt]
2056         (librt-sysdep_routines, librt-shared-only-routines):
2057         Append rt-aeabi_unwind_cpp_pr1 here.
2058         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2059         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2060         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2061         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2062         Append nptl-aeabi_unwind_cpp_pr1 here.
2063         (tests): Filter out tst-cleanupx4 here.
2064         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2065         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2066         Don't do those here.
2067
2068 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2069
2070         * scripts/list-sources.sh: Do not handle ports specially.
2071
2072 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2073
2074         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2075         * sysdeps/arm/feupdateenv.c: Likewise.
2076
2077         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2078
2079 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2080
2081         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2082         trailing whitespace removed.
2083         * scripts/config.guess: Update to version 2014-03-23.
2084         * scripts/config.sub: Update to version 2014-05-01
2085         * scripts/install-sh: Update to version 2013-12-25.23.
2086         * scripts/move-if-change: Update from gnulib.
2087
2088 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2089
2090         * debug/memmove_chk.c: Remove pagecopy.h include.
2091
2092 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2093
2094         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2095         identical to gnulib mktime.
2096
2097 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2098
2099         * configure.ac: Do not test for machine being rs6000.  Do not test
2100         for powerpc*-*soft.
2101         * configure: Regenerated.
2102
2103         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2104         test.
2105         * configure: Regenerated.
2106         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2107         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2108         Remove configure test.
2109         * sysdeps/arm/configure: Regenerated.
2110         * sysdeps/nptl/configure.ac: Do not check
2111         libc_cv_asm_cfi_directives.
2112         * sysdeps/nptl/configure: Regenerated.
2113         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2114         * sysdeps/x86_64/nptl/configure: Remove generated file.
2115         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2116         unconditional.
2117         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2118
2119 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2120
2121         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2122         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2123         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2124         it is defined.
2125
2126         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2127         instead of whether it is defined.
2128         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2129         * sysdeps/hppa/dl-machine.h: Likewise.
2130         * sysdeps/ia64/dl-machine.h: Likewise.
2131         * sysdeps/m68k/dl-machine.h: Likewise.
2132         * sysdeps/microblaze/dl-machine.h: Likewise.
2133         * sysdeps/mips/dl-machine.: Likewise.
2134         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2135         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2136         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2137         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2138         * sysdeps/sh/dl-machine.h: Likewise.
2139         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2140         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2141         * sysdeps/tile/dl-machine.h: Likewise.
2142         * sysdeps/x86_64/dl-machine.h: Likewise.
2143
2144         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2145         code.
2146         (verify_persistent_db): Likewise.
2147
2148 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2149
2150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2151         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2152         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2153         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2155         Moved ...
2156         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2157         ... here.
2158         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2159         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2161         Identical file removed.
2162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2163         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2165         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2167         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2169         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2171         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2173         Moved ...
2174         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2176         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2178         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2179         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2180         Moved ...
2181         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2183         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2185         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2187         Identical file removed.
2188         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2189         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2191         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2193         Moved ...
2194         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2195         ... here.
2196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2197         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2199         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2201         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2202         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2203         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2205         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2206         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2207         Moved ...
2208         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2209         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2210         Moved ...
2211         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2213         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2215         Moved ...
2216         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2218         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2219
2220         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2221         folded into ...
2222         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2223         * sysdeps/unix/sysv/linux/s390/Versions
2224         (libpthread: GLIBC_2.19): New version set.
2225         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2226         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2227         (librt: GLIBC_2.3.3): New version set.
2228         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2229         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2230         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2231         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2232         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2233         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2234         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2235         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2236         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2237         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2238         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2239         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2240         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2241         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2242         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2243         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2244         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2245         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2246         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2247         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2248         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2249         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2250         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2251         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2252         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2253         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2254         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2255         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2256         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2257         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2258         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2259         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2260         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2261         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2262         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2263         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2264         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2265         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2266         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2267         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2268         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2269         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2270         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2271         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2272         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2273
2274         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2275         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2276         (__libc_vfork): Define the function under this name.
2277         [!NOT_IN_libc] (__vfork): Make this an alias.
2278         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2279         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2280         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2281         (__libc_vfork): Define the function under this name.
2282         [!NOT_IN_libc] (__vfork): Make this an alias.
2283         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2284         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2285         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2286         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2287         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2288         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2289
2290         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2291         code that was previously under [RESET_PID].
2292         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2293         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2294         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2295
2296         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2297         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2298         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2299         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2300         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2301         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2302         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2303         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2304         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2305         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2306         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2307         Moved ...
2308         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2309         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2310         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2311         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2312         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2313         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2314         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2315         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2316         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2317         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2318         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2319         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2320         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2321         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2322         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2323         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2324         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2325         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2326         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2327         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2328         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2329         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2330         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2331         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2332         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2333         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2334         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2335         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2336         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2337
2338 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2339
2340         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2341         that was previously under [RESET_PID].
2342         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2343
2344 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2345
2346         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2347         not undefine and redefine.
2348         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2349         [O_CLOEXEC]: Make code unconditional.
2350         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2351         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2352         <kernel-features.h>.
2353         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2354         conditional variable definition.
2355         (shm_open) [O_CLOEXEC]: Make code unconditional.
2356         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2357         code.
2358
2359         * configure.ac (USE_REGPARMS): Don't define here.
2360         * configure: Regenerated.
2361         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2362         * sysdeps/i386/configure: Regenerated.
2363
2364         * nptl/createthread.c: Don't include kernel-features.h.
2365         * nptl/pthread_cancel.c: Likewise.
2366         * nptl/pthread_condattr_setclock.c: Likewise.
2367         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2368         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2369         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2370         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2371         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2372         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2373         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2374         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2375         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2376         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2377         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2378         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2379         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2380         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2381         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2382         * nscd/gai.c: Likewise.
2383         * nss/nss_db/db-open.c: Likewise.
2384         * sysdeps/generic/ldsodefs.h: Likewise.
2385         * sysdeps/sh/nptl/tls.h: Likewise.
2386         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2387         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2388         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2389         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2390         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2391         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2392         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2393         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2394         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2395         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2396         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2397         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2398         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2399         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2400         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2401         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2402         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2403         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2404         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2405         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2406         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2407         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2408         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2409         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2410         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2411         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2412         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2413         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2414         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2415         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2416         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2417         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2418         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2419         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2420         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2421         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2422         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2423         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2424         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2425         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2426         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2427         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2428         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2429         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2430         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2431         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2432         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2433         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2434         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2435         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2436         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2437         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2438         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2439         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2440         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2441         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2442         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2443         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2466         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2467         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2468         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2469         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2470         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2471         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2472         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2473         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2474         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2475         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2476         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2477         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2478         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2479         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2480         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2481         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2482         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2483         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2484         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2485         * sysdeps/unix/sysv/linux/system.c: Likewise.
2486         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2487         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2488         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2489         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2490         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2491         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2492         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2493
2494         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2495         * configure: Regenerated.
2496         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2497
2498         * configure.ac (base_machine): Do not set specially for particular
2499         machines here.
2500         * configure: Regenerated.
2501         * sysdeps/powerpc/preconfigure: Move machine and base_machine
2502         settings from configure.ac.
2503         * sysdeps/i386/preconfigure: New file.
2504         * sysdeps/s390/preconfigure: Likewise.
2505         * sysdeps/sh/preconfigure: Likewise.
2506         * sysdeps/sparc/preconfigure: Likewise.
2507
2508 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2509
2510         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2511         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2512         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2513         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2514         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2515         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2516         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2517         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2518         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2519         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2520         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2521         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2522         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2523         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2524         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2525         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2526         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2527         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2528         * sysdeps/sparc/sparc64/Makefile: ... appended here.
2529
2530         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2531         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2532         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2533         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2534         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2535         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2536         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2537         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2538         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2539         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2540         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2541         * sysdeps/sparc/sparc32/sem_post.c: ... here.
2542         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2543         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2544         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2545         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2546         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2547         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2548         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2549         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2550         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2551         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2552         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2553         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2554         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2555         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2556         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2557         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2558         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2559         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2560         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2561         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2562         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2563         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2564         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2565         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2566         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2567         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2568
2569         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2570         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2571         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2572         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2573         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2574         Moved ...
2575         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2576         ... here.
2577         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2578         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2579         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2580         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2581         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2582         Moved ...
2583         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2584         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2585         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2586         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2587         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2588         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2589         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2590         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2591         Moved ...
2592         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2594         Moved ...
2595         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2596         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2597         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2598         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2599         Moved ...
2600         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2602         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2604         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2605         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2606         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2607         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2608         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2609         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2610         Moved ...
2611         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2612         ... here.
2613         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2614         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2616         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2617         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2618         Moved ...
2619         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2620         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2621         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2622         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2623         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2625         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2626         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2627         Moved ...
2628         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2629         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2630         Moved ...
2631         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2633         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2634         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2635         Moved ...
2636         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2637         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2638         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2640         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2641
2642 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2643
2644         * timezone/checktab.awk: Update from tzcode 2014e.
2645         * timezone/private.h: Likewise.
2646         * timezone/tzfile.h: Likewise.
2647         * timezone/zdump.c: Likewise.
2648         * timezone/zic.c: Likewise.
2649
2650         * sysdeps/unix/sysv/linux/kernel-features.h
2651         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2652         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2653         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2654         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2655         Remove conditional code.
2656
2657 2014-06-25  Will Newton  <will.newton@linaro.org>
2658
2659         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2660         (_dl_arm_cap_flags): Add HWCAP2 values.
2661         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2662         (_DL_HWCAP_COUNT): Increase to 37.
2663         (_DL_HWCAP_LAST): New define.
2664         (_DL_HWCAP2_LAST): New define.
2665         (_dl_procinfo): Add support for printing
2666         AT_HWCAP2 entries.
2667         (_dl_string_hwcap): Use _dl_hwcap_string.
2668
2669 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2670
2671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2672
2673 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2674
2675         * README: Do not mention ports directory.
2676
2677         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2678         Remove macro.
2679         * sysdeps/unix/sysv/linux/futimes.c: Do not include
2680         <kernel-features.h>.
2681         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2682         conditional variable definition.
2683         (__futimes): Update comment.
2684         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2685         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2686
2687         [BZ #16560]
2688         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2689         arguments close to 0.
2690         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2691         Likewise.
2692         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2693         Likewise.
2694         * math/auto-libm-test-in: Add more tests of exp10.
2695         * math/auto-libm-test-out: Regenerated.
2696         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2697
2698         * sysdeps/unix/sysv/linux/kernel-features.h
2699         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2700         * sysdeps/unix/sysv/linux/readv.c: Do not include
2701         <kernel-features.h>.
2702         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2703         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2704         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2705         unconditional.
2706         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2707         conditional code.
2708         * sysdeps/unix/sysv/linux/writev.c: Do not include
2709         <kernel-features.h>.
2710         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2711         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2712         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2713         unconditional.
2714         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2715         conditional code.
2716
2717 2014-06-25  Will Newton  <will.newton@linaro.org>
2718
2719         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2720         comment changes throughout the file.  Remove checks
2721         for HAVE_*_H definitions that are not required.
2722         (__gen_tempname): Call abort if an unknown kind value is
2723         passed.
2724
2725 2014-06-25  Andreas Schwab  <schwab@suse.de>
2726
2727         [BZ #17086]
2728         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2729         scalbln, scalblnf, scalblnl in libc.
2730
2731 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2732
2733         [BZ #17086]
2734         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2735         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2736         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2737
2738 2014-06-24  Roland McGrath  <roland@hack.frob.com>
2739
2740         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2741         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2742         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2743         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2744         Update #include.
2745         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2746         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2747         Update #include.
2748         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2749         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2750         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2751         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2752         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2753         * sysdeps/x86/bits/pthreadtypes.h: ... here.
2754         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2755         * sysdeps/x86/bits/semaphore.h: ... here.
2756         * sysdeps/x86/nptl/elide.h: Moved ...
2757         * sysdeps/x86/elide.h: ... here.
2758         * sysdeps/x86_64/nptl/Implies: File removed.
2759         * sysdeps/i386/nptl/Implies: File removed.
2760
2761 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
2762
2763         [BZ #16539]
2764         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2765         return the argument for normal arguments with exponent below -64.
2766         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2767         Likewise.
2768         * math/auto-libm-test-in: Add another test of expm1.
2769         * math/auto-libm-test-out: Regenerated.
2770
2771         [BZ #16287]
2772         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2773         calling __erfcl for arguments at least 16.
2774         * math/auto-libm-test-in: Add more tests of erf.
2775         * math/auto-libm-test-out: Regenerated.
2776
2777         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2778         individual architectures.
2779         * sysdeps/unix/sysv/linux/configure: Regenerated.
2780         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2781         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2782         * sysdeps/unix/sysv/linux/powerpc/configure.ac
2783         (ldd_rewrite_script): Define variable.
2784         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2786         file.
2787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2788         generated file.
2789         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2790         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2791         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2792         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2793         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2794         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2795         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2796         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2797
2798 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2799
2800         [BZ #17084]
2801         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2802         Rename member __data.d to __data.__elision_data.
2803
2804 2014-06-24  Wilco  <wdijkstr@arm.com>
2805
2806         * NEWS: Add 16918 to fixed bug list.
2807
2808 2014-06-24  Wilco  <wdijkstr@arm.com>
2809
2810         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2811
2812 2014-06-24  Wilco  <wdijkstr@arm.com>
2813
2814         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2815         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2816         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2817         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2818         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2819         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2820         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2821         Use _FPU_MASK_RM.
2822
2823 2014-06-24  Wilco  <wdijkstr@arm.com>
2824
2825         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2826
2827 2014-06-24  Wilco  <wdijkstr@arm.com>
2828
2829         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2830         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2831         * sysdeps/arm/fesetround.c (fesetround): Remove space.
2832         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2833
2834 2014-06-24  Wilco  <wdijkstr@arm.com>
2835
2836         [BZ #16918]
2837         * sysdeps/arm/feupdateenv.c (feupdateenv):
2838         Rewrite to reduce FPSCR accesses and fix return value.
2839
2840 2014-06-24  Wilco  <wdijkstr@arm.com>
2841
2842         * sysdeps/arm/fclrexcpt.c (feclearexcept):
2843         Optimize to avoid unnecessary FPSCR writes.
2844         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2845         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2846         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2847         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2848
2849 2014-06-24  Wilco  <wdijkstr@arm.com>
2850
2851         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2852         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2853         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2854         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2855         Call libc_fetestexcept_vfp.
2856         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2857         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2858         __SOFTFP__ ifdef so that they can be built for softfp.
2859
2860 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2861
2862         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2863         argument type signed char.
2864
2865         * Makerules (check-abi): Dump diff of symlist if the test
2866         fails.
2867
2868 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2869
2870         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2871         using abort.
2872
2873         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2874         Remove unused variable ST.
2875
2876 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2877
2878         [BZ #16354]
2879         [BZ #17061]
2880         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2881         small arguments before calling __expm1.
2882         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2883         small arguments before calling __expm1f.
2884         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2885         small arguments before calling __expm1l.
2886         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2887         Likewise.
2888         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2889         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
2890         spurious underflow for some cosh tests.
2891         * math/auto-libm-test-out: Regenerated.
2892         * sysdeps/i386/fpu/libm-test-ulps: Update.
2893
2894         [BZ #17050]
2895         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2896         (__ieee754_y1): Set errno if return value overflows.
2897         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2898         (__ieee754_y1f): Set errno if return value overflows.
2899         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2900         (__ieee754_y1l): Set errno if return value overflows.
2901         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2902         (__ieee754_y1l): Set errno if return value overflows.
2903         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2904         * math/auto-libm-test-out: Regenerated.
2905
2906         * math/gen-auto-libm-tests.c: Document use of
2907         ignore-zero-inf-sign.
2908         (input_flag_type): Add value flag_ignore_zero_inf_sign.
2909         (input_flags): Add ignore-zero-inf-sign.
2910         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2911         * math/gen-libm-test.pl (generate_testfile): Handle
2912         ignore-zero-inf-sign.
2913         * math/auto-libm-test-in: Mark some cpow tests with
2914         ignore-zero-inf-sign and some with xfail-rounding.
2915         * math/auto-libm-test-out: Regenerated.
2916         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2917         * sysdeps/i386/fpu/libm-test-ulps: Update.
2918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2919
2920         [BZ #16315]
2921         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2922         overflowing or underflowing operations take place with sign of
2923         result.
2924         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2925         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2926         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2927         (__ieee754_pow): Recompute overflowing and underflowing results in
2928         original rounding mode.
2929         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2930         (__powl_helper): Allow negative argument X and scale negated value
2931         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
2932         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2933         overflowing or underflowing operations take place with sign of
2934         result.
2935         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2936         Include <math.h>.
2937         * math/auto-libm-test-in: Add more tests of pow.
2938         * math/auto-libm-test-out: Regenerated.
2939         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2940         (pow_tonearest_test_data): Remove.
2941         (pow_test_tonearest): Likewise.
2942         (pow_towardzero_test_data): Likewise.
2943         (pow_test_towardzero): Likewise.
2944         (pow_downward_test_data): Likewise.
2945         (pow_test_downward): Likewise.
2946         (pow_upward_test_data): Likewise.
2947         (pow_test_upward): Likewise.
2948         (main): Don't call removed functions.
2949         * sysdeps/i386/fpu/libm-test-ulps: Update.
2950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2951
2952 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2953
2954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2955         Moved ...
2956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2958         Moved ...
2959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2961         Moved ...
2962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2964         Moved ...
2965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2967         File removed.
2968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2969         File removed.
2970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2971         File removed.
2972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2973         File removed.
2974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2975         File removed.
2976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2977         File removed.
2978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2979         File removed.
2980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2981         File removed.
2982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2983         File removed.
2984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2985         File removed.
2986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2987         File removed.
2988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2989         File removed.
2990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2991         Moved ...
2992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2994         Moved ...
2995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2996         ... here.
2997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2998         Moved ...
2999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3001         Moved ...
3002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3004         Moved ...
3005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3007         Moved ...
3008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3010         Moved ...
3011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3013         Moved ...
3014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3016         Moved ...
3017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3020         ... here.
3021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3022         Moved ...
3023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3025         Moved ...
3026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3027         ... here.
3028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3029         Moved ...
3030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3031         ... here.
3032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3033         Moved ...
3034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3035         ... here.
3036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3037         Moved ...
3038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3040         Moved ...
3041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3045         Moved ...
3046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3047         ... here.
3048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3049         Moved ...
3050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3051         ... here.
3052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3053         Moved ...
3054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3056         Moved ...
3057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3059         Moved ...
3060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3062         Moved ...
3063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3065         Moved ...
3066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3067         ... here.
3068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3069         Moved ...
3070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3072         Moved ...
3073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3075         Moved ...
3076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3078         Moved ...
3079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3083         Moved ...
3084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3086         Moved ...
3087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3089         Moved ...
3090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3091         ... here.
3092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3093         Moved ...
3094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3095         ... here.
3096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3097         Moved ...
3098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3099         ... here.
3100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3101         Moved ...
3102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3104         Moved ...
3105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3107         Moved ...
3108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3110         Moved ...
3111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3112         ... here.
3113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3114         Moved ...
3115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3116         ... here.
3117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3118         Moved ...
3119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3120         ... here.
3121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3122         Moved ...
3123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3125         Moved ...
3126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3127
3128 2014-06-23  Will Newton  <will.newton@linaro.org>
3129             Wilco  <wdijkstr@arm.com>
3130
3131         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3132         implementation.  Include get-rounding-mode.h.
3133         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3134         [!libc_feholdsetround_noex_ctx]: Define
3135         libc_feholdsetround_noex_ctx.
3136         [!libc_feholdsetround_noexf_ctx]: Define
3137         libc_feholdsetround_noexf_ctx.
3138         [!libc_feholdsetround_noexl_ctx]: Define
3139         libc_feholdsetround_noexl_ctx.
3140         (libc_feholdsetround_ctx): New function.
3141         (libc_feresetround_ctx): New function.
3142         (libc_feholdsetround_noex_ctx): New function.
3143         (libc_feresetround_noex_ctx): New function.
3144
3145 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3146
3147         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3148         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3149         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3150         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3151         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3152         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3153
3154         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3155         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3156         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3157         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3158         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3159         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3160         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3161         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3162         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3163         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3164         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3165         Moved ...
3166         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3167         ... here.
3168         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3169         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3170         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3171         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3172         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3173         Moved ...
3174         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3175         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3176         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3177         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3178         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3179         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3180         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3181         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3182         Moved ...
3183         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3184         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3185         Moved ...
3186         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3187         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3188         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3189         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3190         Moved ...
3191         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3192         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3193         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3194         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3195         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3196         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3197         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3198         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3199         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3200         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3201         Moved ...
3202         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3203         ... here.
3204         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3205         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3206         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3207         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3208         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3209         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3210         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3211         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3212         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3213         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3214         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3215         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3216         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3217         Moved ...
3218         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3219         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3220         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3221         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3222         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3223         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3224         Moved ...
3225         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3226         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3227         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3228         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3229         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3230
3231         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3232         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3233         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3234         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3235         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3236         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3237         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3238         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3239         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3240         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3241         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3242         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3243         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3244         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3245         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3246         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3247         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3248         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3249         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3250         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3251         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3252         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3253         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3254         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3255         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3256         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3257         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3258         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3259
3260 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3261
3262         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3263         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3264         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3265         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3266         (IPV6_PMTUDISC_INTERFACE): Likewise.
3267         (IPV6_PMTUDISC_OMIT): Likewise.
3268
3269 2014-06-23  Andreas Schwab  <schwab@suse.de>
3270
3271         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3272         Remove unused errout label.
3273
3274 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3275
3276         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3277         macro: hardware supports Vector Crypto instructions.
3278
3279 2014-06-23  Will Newton  <will.newton@linaro.org>
3280
3281         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3282         rather than __builtin_expect.
3283
3284         * elf/dl-lookup.c (undefined_msg): Remove variable.
3285         (_dl_lookup_symbol_x): Replace undefined_msg with string
3286         literal.
3287
3288         * elf/dl-lookup.c (do_lookup_unique): New function.
3289         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3290         to a separate function.
3291
3292 2014-06-23  Andreas Schwab  <schwab@suse.de>
3293
3294         [BZ #17079]
3295         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3296         before reading the next line.
3297
3298 2014-06-23  Will Newton  <will.newton@linaro.org>
3299
3300         * test-skeleton.c (signal_handler): Use printf and %m
3301         rather than perror.  Use printf rather than fprintf to
3302         stderr.  Use puts rather than fputs to stderr.
3303         (main): Likewise.
3304
3305 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3306
3307         * nscd/nscd.c (thread_info_t): Remove typedef.
3308         (thread_info): Remove variable.
3309
3310 2014-06-21  Allan McRae  <allan@archlinux.org>
3311
3312         * NEWS: Mention CVE-2014-4043.
3313
3314 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3315
3316         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3317         * nptl/smp.h: ... here.
3318
3319         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3320
3321         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3322         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3323         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3324         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3325
3326         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3327         * nptl/stack-aliasing.h: New file.
3328         * sysdeps/i386/i686/stack-aliasing.h: New file.
3329         * sysdeps/i386/i686/nptl/Makefile: File removed.
3330         * sysdeps/x86_64/stack-aliasing.h: New file.
3331         * sysdeps/x86_64/nptl/Makefile
3332         (CFLAGS-pthread_create.c): Variable removed.
3333
3334         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3335         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3336         old file.
3337         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3338         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3339         old file.
3340
3341 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3342
3343         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3344         (__ASSUME_SIGFRAME_V2): Remove macro.
3345         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3346         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3347         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3348         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3349         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3350         Declare as function.  Remove conditional macro definitions.
3351         (__default_rt_sa_restorer): Likewise.
3352         (__default_sa_restorer_v1): Remove declaration.
3353         (__default_sa_restorer_v2): Likewise.
3354         (__default_rt_sa_restorer_v1): Likewise.
3355         (__default_rt_sa_restorer_v2): Likewise.
3356         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3357         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3358         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3359
3360 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3361
3362         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3363         (libpthread-routines): Add sysdep.
3364         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3365         * sysdeps/unix/sysv/linux/sparc/Versions
3366         (libpthread: GLIBC_2.3.3): New version set.
3367         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3368         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3369         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3370         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3371         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3372         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3373         Moved ...
3374         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3375         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3376         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3377         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3378         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3379         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3380         * sysdeps/sparc/nptl/sem_init.c: ... here.
3381         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3382         * sysdeps/sparc/nptl/sem_post.c: ... here.
3383         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3384         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3385         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3386         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3387         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3388         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3389         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3390         (libpthread-routines): Add cpu_relax.
3391         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3392         File removed.
3393         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3394         (librt: GLIBC_2.3.3): New version set.
3395         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3396         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3397         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3398         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3399         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3400         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3401         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3402         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3403         Moved ...
3404         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3405         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3406         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3407         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3408         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3409         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3410         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3411         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3412         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3413         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3414         Moved ...
3415         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3416         Update #include.
3417         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3418         Moved ...
3419         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3420         Update #include.
3421         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3422         Moved ...
3423         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3424         Update #include.
3425         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3426         Moved ...
3427         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3428         Update #include.
3429         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3430         Moved ...
3431         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3432         Update #include.
3433         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3434         Moved ...
3435         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3436         Update #include.
3437         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3438         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3439         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3440         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3441         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3442         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3443         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3444         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3445         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3446         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3447         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3448         Moved ...
3449         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3450         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3451         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3452         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3453         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3454
3455 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3456
3457         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3458         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3459         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3460         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3461         * nscd/nscd.c: Likewise.
3462         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3463         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3464         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3465         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3466
3467         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3468         <kernel-features.h>.
3469         (init_mq_netlink): Remove conditional have_sock_cloexec
3470         definitions.  Remove code conditional on have_sock_cloexec < 0.
3471         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3472         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3473         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3474         <kernel-features.h>.
3475         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3476         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3477
3478 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3479
3480         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3481         Add tests for memset_chk and memset.
3482
3483         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3484         with AVX2_Usable.
3485
3486 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3487
3488         [BZ #16046]
3489         * elf/tst-dl-iter-static.c: New file.
3490         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3491
3492         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3493         error.
3494
3495 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3496
3497         * sysdeps/unix/sysv/linux/kernel-features.h
3498         (__ASSUME_F_GETOWN_EX): Remove macro.
3499         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3500         <kernel-features.h>.
3501         (miss_F_GETOWN_EX): Remove variable or macro.
3502         (do_fcntl): Do not check miss_F_GETOWN_EX.
3503         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3504
3505         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3506         Remove macro.
3507         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3508         [!__ASSUME_AT_RANDOM]: Remove conditional code.
3509         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3510
3511         * sysdeps/unix/sysv/linux/kernel-features.h
3512         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3513         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3514         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3515         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3516
3517 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3518
3519         [BZ #17075]
3520         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3521         Fix calculation of the symbol's value.
3522         * sysdeps/arm/tst-armtlsdescloc.c: New file.
3523         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3524         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3525         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3526         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3527         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3528         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3529         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3530         (modules-names): Add `tst-armtlsdescmod',
3531         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3532         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3533         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3534         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3535         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3536         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3537         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3538         ($(objpfx)tst-armtlsdescloc): New dependency.
3539         ($(objpfx)tst-armtlsdescextnow): Likewise.
3540         ($(objpfx)tst-armtlsdescextlazy): Likewise.
3541         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3542         TLS scheme support.
3543         * sysdeps/arm/configure: Regenerate.
3544
3545 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3546
3547         * include/fcntl.h (__atfct_seterrno): Remove prototype.
3548         (__atfct_seterrno_2): Likewise.
3549         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3550         <kernel-features.h>.
3551         (__ASSUME_ATFCTS): Do not undefine and redefine.
3552         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3553         (__have_atfcts): Remove conditional definition.
3554         (__fxstatat([__NR_fstatat64]: Make code unconditional.
3555         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3556         unreachable if [__ASSUME_ATFCTS].
3557         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3558         not undefine and redefine.
3559         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3560         <kernel-features.h>.
3561         (faccessat) [__NR_faccessat]: Make code unconditional.
3562         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3563         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3564         <kernel-features.h>.
3565         (fchmodat) [__NR_fchmodat]: Make code unconditional.
3566         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3567         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3568         <kernel-features.h>.
3569         (fchownat) [__NR_fchownat]: Make code unconditional.
3570         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3571         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3572         <kernel-features.h>.
3573         (futimesat) [__NR_futimesat]: Make code unconditional.
3574         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3575         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3576         <kernel-features.h>.
3577         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3578         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3579         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3580         <kernel-features.h>.
3581         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3582         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3583         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3584         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3585         <kernel-features.h>.
3586         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3587         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3588         * sysdeps/unix/sysv/linux/linkat.c: Do not include
3589         <kernel-features.h>.
3590         (linkat) [__NR_linkat]: Make code unconditional.
3591         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3592         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3593         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3594         <kernel-features.h>.
3595         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3596         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3597         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3598         <kernel-features.h>.
3599         (mkdirat) [__NR_mkdirat]: Make code unconditional.
3600         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3601         * sysdeps/unix/sysv/linux/openat.c: Do not include
3602         <kernel-features.h>.
3603         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3604         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3605         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3606         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3607         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3608         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3609         <kernel-features.h>.
3610         (readlinkat) [__NR_readlinkat]: Make code unconditional.
3611         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
3612         result of INLINE_SYSCALL directly, not via int variable.
3613         * sysdeps/unix/sysv/linux/renameat.c: Do not include
3614         <kernel-features.h>.
3615         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3616         (renameat) [__NR_renameat]: Make code unconditional.
3617         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3618         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3619         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3620         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3621         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3622         (__ASSUME_ATFCTS): Do not undefine and redefine.
3623         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3624         <kernel-features.h>.
3625         (symlinkat) [__NR_symlinkat]: Make code unconditional.
3626         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3627         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3628         <kernel-features.h>.
3629         (unlinkat) [__NR_unlinkat]: Make code unconditional.
3630         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3631         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3632         (__ASSUME_ATFCTS): Do not undefine and redefine.
3633         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3634         <kernel-features.h>.
3635         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3636         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3637         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3638         <kernel-features.h>.
3639         (__xmknodat) [__NR_mknodat]: Make code unconditional.
3640         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3641
3642 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3643
3644         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3645
3646 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
3647
3648         [BZ #17069]
3649         * posix/regcomp.c (parse_reg_exp): Deallocate partially
3650         constructed tree before returning error.
3651         * posix/bug-regexp36.c: Expand test case.
3652
3653 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3654
3655         [BZ #6803]
3656         * math/libm-test.inc (scalbln_test_date):
3657         Add errno expectations.
3658         * math/w_scalblnf.c: New File.
3659         Add wrapper which checks for setting errno to ERANGE.
3660         Add weak_alias for corresponding scalbln function.
3661         * math/w_scalbln.c: Likewise.
3662         * math/w_scalblnl.c: Likewise.
3663         * math/Makefile (libm-calls): Add w_scalbln.
3664         * sysdeps/ieee754/flt-32/s_scalblnf.c:
3665         Remove weak_alias for corresponding scalbln function.
3666         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3667         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3668         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3669         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3670         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3671         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3672         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3673         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3674         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3675         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3676         Remove long_double_symbol for scalblnl function in libm, libc.
3677         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3678         Add wrapper which checks for setting errno to ERANGE.
3679         Add long_double_symbol for scalblnl function in libm, libc.
3680         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3681         Remove long_double_symbol for scalblnl in libm.
3682         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3683         Add wrapper which checks for setting errno to ERANGE.
3684         Add long_double_symbol for scalblnl function in libm.
3685         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3686         Do not use wrapper because of own implementation.
3687
3688 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
3689
3690         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3691         3 bytes for __pad1 for x32.
3692         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3693
3694 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
3695             H.J. Lu  <hongjiu.lu@intel.com>
3696
3697         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3698         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3699         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3700         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3701         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3702
3703 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
3704
3705         [BZ #17069]
3706         * posix/regcomp.c (parse_expression): Deallocate partially
3707         constructed tree before returning error.
3708         * posix/Makefile.c (tests): Add bug-regex36.
3709         (generated): Add bug-regex36.mtrace.
3710         (tests-special): Add $(objpfx)bug-regex36-mem.out
3711         (bug-regex36-ENV): New variable.
3712         ($(objpfx)bug-regex36-mem.out): New rule.
3713         * posix/bug-regex36.c: New file.
3714
3715 2014-06-19  Will Newton  <will.newton@linaro.org>
3716
3717         * malloc/malloc.c (systrim): If extra is zero then return
3718         early.
3719
3720 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3721
3722         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3723
3724 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
3725
3726         * sysdeps/aarch64/strchr.S: New file.
3727
3728 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3729
3730         [BZ #17022]
3731         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3732         from arguments -2 or below.
3733         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3734         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3735
3736 2014-06-18  Andreas Schwab  <schwab@suse.de>
3737
3738         [BZ #17062]
3739         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3740         of a bracket expr not to run off the end of the string.
3741         * posix/Makefile (tests): Add tst-fnmatch3.
3742         * posix/tst-fnmatch3.c: New file.
3743
3744 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3745
3746         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3747         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3748         [$(cross-compiling) = no]: Likewise.
3749         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3750         [$(cross-compiling) = no]: Likewise.
3751
3752 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3753
3754         [BZ #17031]
3755         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3756         double, adjusted for any remainder from the high double.
3757         * math/libm-test.inc (nearbyint): Add tests.
3758         (rint): Likewise.
3759
3760 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3761
3762         * nptl/sysdeps/powerpc/Makefile: Moved ...
3763         * sysdeps/powerpc/nptl/Makefile: ... here.
3764         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3765         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3766         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3767         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3768         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3769         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3770         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3771         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3772         * nptl/sysdeps/powerpc/tls.h: Moved ...
3773         * sysdeps/powerpc/nptl/tls.h: ... here.
3774
3775 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
3776
3777         [BZ #16681]
3778         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3779         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3780         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3781         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3782         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3783         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3784         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3785         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3786         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3787
3788 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
3789
3790         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3791
3792 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
3793
3794         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3795         defined operator.
3796
3797         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3798         $TIMEOUTFACTOR.
3799
3800 2014-06-16  Florian Weimer  <fweimer@redhat.com>
3801
3802         [BZ #17058]
3803         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3804         non-executed part of the test.
3805
3806 2014-06-16  Andreas Schwab  <schwab@suse.de>
3807
3808         * string/bits/string2.h (strdup, strndup): Update feature guard.
3809
3810 2014-06-14  David S. Miller  <davem@davemloft.net>
3811
3812         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3813
3814 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
3815
3816         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3817         that was previously under [RESET_PID].
3818         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3819
3820         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3821         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3822         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3823         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3824         (__libc_vfork): New strong alias.
3825         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3826
3827 2014-06-14 Andi Kleen  <ak@linux.intel.com>
3828
3829         * sysdeps/generic/elide.h: New file.
3830
3831 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3832
3833         * Makefile (installed-headers): Adjust path of pthread.h header.
3834
3835 2014-06-13  Roland McGrath  <roland@hack.frob.com>
3836
3837         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3838         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3839         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3840         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3841
3842         * nptl/sysdeps/s390/Makefile: Moved ...
3843         * sysdeps/s390/nptl/Makefile: ... here.
3844         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3845         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3846         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3847         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3848         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3849         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3850         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3851         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3852         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3853         * sysdeps/s390/nptl/pthreaddef.h: ... here.
3854         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3855         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3856         * nptl/sysdeps/s390/tls.h: Moved ...
3857         * sysdeps/s390/nptl/tls.h: ... here.
3858
3859         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3860         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3861
3862 2014-06-13  David S. Miller  <davem@davemloft.net>
3863
3864         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3865         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3866         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3867         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3868         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3869         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3870         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3871         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3872         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3873         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3874         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3875         Remove RESET_PID cpp guards.
3876         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3877         Remove RESET_PID cpp guards.
3878         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3879
3880 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
3881
3882         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3883         __sp to uintptr_t.
3884
3885 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3886
3887         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3888         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3889         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3890         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3891         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3892         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3893         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3894         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3895         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3896         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3897         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3898         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3899         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3900         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3901         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3902         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3903         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3904         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3905         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3906         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3907
3908         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3909         (pthread_rwlock_rdlock): Add elision.
3910         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3911         (pthread_rwlock_wrlock): Add elision.
3912         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3913         (pthread_rwlock_trywrlock): Add elision.
3914         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3915         (pthread_rwlock_tryrdlock): Add elision.
3916         * nptl/pthread_rwlock_unlock.c: Include elide.h.
3917         (pthread_rwlock_tryrdlock): Add elision unlock.
3918         * nptl/sysdeps/pthread/pthread.h:
3919         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3920         (PTHREAD_RWLOCK_INITIALIZER,
3921         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3922         Handle new elision field.
3923         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3924         * sysdeps/arm/nptl/bits/pthreadtypes.h
3925         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3926         * sysdeps/sh/nptl/bits/pthreadtypes.h
3927         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3928         * sysdeps/tile/nptl/bits/pthreadtypes.h
3929         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3930         * sysdeps/a/nptl/bits/pthreadtypes.h
3931         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3932         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3933         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3934         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3935         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3936         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3937         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3938         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3939         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3940         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3941         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3942         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3943         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3944         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3945         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3946         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3947         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3948         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3949         (elision_init): Set try_xbegin to zero when no RTM.
3950         * sysdeps/x86/nptl/bits/pthreadtypes.h
3951         (pthread_rwlock_t): Change __pad1 to __rwelision.
3952         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3953
3954 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3955
3956         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3957         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3958         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3959         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3960
3961 2014-06-13  Meador Inge  <meadori@codesourcery.com>
3962
3963         [BZ #16996]
3964         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3965         that the cached result has been set before returning it.
3966
3967 2014-06-12  Roland McGrath  <roland@hack.frob.com>
3968
3969         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3970         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3971         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3972         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3973         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3974         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3975
3976         * nptl/sysdeps/sparc/Makefile: Moved ...
3977         * sysdeps/sparc/nptl/Makefile: ... here.
3978         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3979         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3980         * nptl/sysdeps/sparc/tls.h: Moved ...
3981         * sysdeps/sparc/nptl/tls.h: ... here.
3982         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3983         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3984         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3985         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3986         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3987         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3988         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3989         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3990         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3991         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3992         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3993         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3994         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3995         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3996         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3997         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3998         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3999         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4000         Update #include.
4001         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4002         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4003         Update #include.
4004         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4005         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4006         Update #include.
4007         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4008         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4009         Update #include.
4010
4011         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4012
4013         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4014         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4015
4016         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4017         (struct list_links): Type removed.
4018         (struct thread_node, struct timer_node): Replace struct list_links
4019         with struct list_head.
4020         (list_unlink_ip): Likewise.
4021         * sysdeps/pthread/timer_routines.c
4022         (timer_free_list, thread_free_list, thread_active_list): Likewise.
4023         (list_append, list_insbefore): Likewise.
4024         (list_init): Function removed.
4025         (thread_init, init_module): Use INIT_LIST_HEAD instead.
4026         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4027         * sysdeps/pthread/Makefile: ... here, new file.
4028
4029         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4030         * sysdeps/nptl/Implies: ... here.
4031         * sysdeps/unix/sysv/linux/Implies: Add nptl.
4032         * nptl/sysdeps/pthread/list.h: Moved ...
4033         * include/list.h: ... here.
4034         * nptl/sysdeps/pthread/createthread.c: Moved ...
4035         * nptl/createthread.c: ... here.
4036         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4037         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4038         * nptl/pt-longjmp.c: ... here.
4039         * nptl/sysdeps/pthread/Makefile: Moved ...
4040         * sysdeps/nptl/Makefile: ... here.
4041         * nptl/sysdeps/pthread/Subdirs: Moved ...
4042         * sysdeps/nptl/Subdirs: ... here.
4043         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4044         * sysdeps/nptl/aio_misc.h: ... here.
4045         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4046         * sysdeps/nptl/bits/libc-lock.h: ... here.
4047         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4048         * sysdeps/nptl/bits/libc-lockP.h: ... here.
4049         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4050         * sysdeps/nptl/bits/stdio-lock.h: ... here.
4051         * nptl/sysdeps/pthread/configure: Moved ...
4052         * sysdeps/nptl/configure: ... here.
4053         * nptl/sysdeps/pthread/configure.ac: Moved ...
4054         * sysdeps/nptl/configure.ac: ... here.
4055         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4056         * sysdeps/nptl/gai_misc.h: ... here.
4057         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4058         * sysdeps/nptl/librt-cancellation.c: ... here.
4059         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4060         * sysdeps/nptl/malloc-machine.h: ... here.
4061         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4062         * sysdeps/nptl/pthread-functions.h: ... here.
4063         * nptl/sysdeps/pthread/pthread.h: Moved ...
4064         * sysdeps/nptl/pthread.h: ... here.
4065         * nptl/sysdeps/pthread/setxid.h: Moved ...
4066         * sysdeps/nptl/setxid.h: ... here.
4067         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4068         * sysdeps/nptl/sigfillset.c: ... here.
4069         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4070         * sysdeps/nptl/tcb-offsets.h: ... here.
4071         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4072         * sysdeps/nptl/tst-mqueue8x.c: ... here.
4073         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4074         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4075         * nptl/sysdeps/pthread/allocalim.h: Moved ...
4076         * sysdeps/pthread/allocalim.h: ... here.
4077         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4078         * sysdeps/pthread/bits/sigthread.h: ... here.
4079         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4080         * sysdeps/pthread/flockfile.c: ... here.
4081         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4082         * sysdeps/pthread/ftrylockfile.c: ... here.
4083         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4084         * sysdeps/pthread/funlockfile.c: ... here.
4085         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4086         * sysdeps/pthread/posix-timer.h: ... here.
4087         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4088         * sysdeps/pthread/timer_create.c: ... here.
4089         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4090         * sysdeps/pthread/timer_delete.c: ... here.
4091         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4092         * sysdeps/pthread/timer_getoverr.c: ... here.
4093         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4094         * sysdeps/pthread/timer_gettime.c: ... here.
4095         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4096         * sysdeps/pthread/timer_routines.c: ... here.
4097         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4098         * sysdeps/pthread/timer_settime.c: ... here.
4099         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4100         * sysdeps/pthread/tst-timer.c: ... here.
4101         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4102         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4103
4104         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4105         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4106
4107         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4108         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4109         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4110         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4111         Update #include target.
4112         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4113         * sysdeps/i386/i686/nptl/Makefile: ... here.
4114         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4115         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4116         Update #include target.
4117         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4118         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4119         * nptl/sysdeps/i386/Makefile: Moved ...
4120         * sysdeps/i386/nptl/Makefile: ... here.
4121         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4122         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4123         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4124         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4125         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4126         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4127         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4128         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4129         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4130         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4131         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4132         * nptl/sysdeps/i386/tls.h: Moved ...
4133         * sysdeps/i386/nptl/tls.h: ... here.
4134
4135         * sysdeps/sh/Makefile [$(subdir) = csu]
4136         (gen-as-const-headers): Add tcb-offsets.sym.
4137         * nptl/sysdeps/sh/Makefile: File removed.
4138         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4139         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4140         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4141         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4142         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4143         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4144         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4145         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4146         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4147         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4148         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4149         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4150         * nptl/sysdeps/sh/tls.h: Moved ...
4151         * sysdeps/sh/nptl/tls.h: ... here.
4152         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4153         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4154         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4155         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4156         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4157         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4158         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4159         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4160         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4161         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4162         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4163         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4164         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4165         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4166         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4167         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4168         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4169         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4170         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4171         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4172         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4173         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4174         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4175         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4176         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4177         Moved ...
4178         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4179         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4180         Moved ...
4181         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4182         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4183         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4184         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4185         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4186         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4187         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4188         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4189         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4190         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4191         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4192         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4193         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4194         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4195         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4196         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4197         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4198         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4199         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4200
4201 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4202
4203         * posix/spawn_faction_addopen.c: Include string.h.
4204
4205 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4206
4207         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4208         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4209         * nptl/sysdeps/x86_64/Makefile: Moved ...
4210         * sysdeps/x86_64/nptl/Makefile: ... here.
4211         * nptl/sysdeps/x86_64/configure: Moved ...
4212         * sysdeps/x86_64/nptl/configure: ... here.
4213         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4214         * sysdeps/x86_64/nptl/configure.ac: ... here.
4215         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4216         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4217         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4218         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4219         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4220         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4221         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4222         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4223         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4224         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4225         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4226         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4227         * nptl/sysdeps/x86_64/tls.h: Moved ...
4228         * sysdeps/x86_64/nptl/tls.h: ... here.
4229         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4230         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4231         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4232         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4233
4234         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4235
4236 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4237
4238         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4239
4240 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4241
4242         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4243         type.
4244         [POSIX] (off_t): Likewise.
4245         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4246         [POSIX] (S_ISBLK): Require macro.
4247         [POSIX] (S_ISCHR): Likewise.
4248         [POSIX] (S_ISDIR): Likewise.
4249         [POSIX] (S_ISFIFO): Likewise.
4250         [POSIX] (S_ISREG): Likewise.
4251         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4252         optional-macro.
4253         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4254         type.
4255         [POSIX] (time_t): Likewise.
4256         [POSIX] (timer_t): Likewise.
4257
4258 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4259
4260         [BZ #17048]
4261         * posix/spawn_int.h (struct __spawn_action): Make the path string
4262         non-const to support deallocation.
4263         * posix/spawn_faction_addopen.c
4264         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4265         * posix/spawn_faction_destroy.c
4266         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4267         path in all spawn_do_open actions.
4268         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4269         posix_spawn_file_actions_addopen.
4270
4271 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4272
4273         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4274         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4275         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4276         conditional code always true.
4277         (__libc_vfork): New alias.
4278
4279 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4280
4281         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4282         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4283
4284         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4285
4286         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4287         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4288
4289         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4290         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4291
4292         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4293         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4294
4295 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4296
4297         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4298         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4299         multiarch strcmp for PPC64.
4300         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4301         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4302         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4303         multiarch optimizations.
4304         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4305         (__libc_ifunc_impl_list): Likewise.
4306
4307 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4308
4309         * benchtests/scripts/validate_benchout.py: New script.
4310         * benchtests/Makefile (bench-func): Call it.
4311         * benchtests/scripts/benchout.schema.json: New file.
4312
4313 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4314
4315         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4316         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4317         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4318         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4319         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4320         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4321         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4322         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4323         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4324         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4325         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4326         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4327         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4328         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4329         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4330         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4332         Moved ...
4333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4334         ... here.
4335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4336         Moved ...
4337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4339         Moved ...
4340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4341         ... here.
4342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4343         Moved ...
4344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4345         ... here.
4346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4347         Moved ...
4348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4350         Moved ...
4351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4352         ... here.
4353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4354         Moved ...
4355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4356         ... here.
4357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4358         Moved ...
4359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4361         Moved ...
4362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4363         ... here.
4364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4365         Moved ...
4366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4367         ... here.
4368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4369         Moved ...
4370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4371         ... here.
4372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4373         Moved ...
4374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4376         Moved ...
4377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4378         ... here.
4379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4380         Moved ...
4381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4382         ... here.
4383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4384         Moved ...
4385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4386         ... here.
4387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4388         Moved ...
4389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4391         Moved ...
4392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4393         ... here.
4394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4395         Moved ...
4396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4397         ... here.
4398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4399         Moved ...
4400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4402         Moved ...
4403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4404         ... here.
4405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4406         Moved ...
4407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4409         Moved ...
4410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4412         Moved ...
4413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4414         ... here.
4415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4416         Moved ...
4417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4418         ... here.
4419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4420         Moved ...
4421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4422         ... here.
4423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4424         Moved ...
4425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4427         Moved ...
4428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4429         ... here.
4430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4431         Moved ...
4432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4433         ... here.
4434         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4435         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4436         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4437         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4438         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4439         Moved ...
4440         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4441         ... here.
4442         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4443         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4444         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4445         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4446         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4447         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4448         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4449         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4450         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4451         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4452         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4453         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4454         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4455         Moved ...
4456         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4457         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4458         Moved ...
4459         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4460         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4461         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4462         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4463         Moved ...
4464         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4465         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4466         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4467         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4468         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4469         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4470         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4471
4472 2014-06-10  Wilco  <wdijkstr@arm.com>
4473
4474         * math/test-fenv-return.c: New file.
4475         * math/Makefile: Add new test test-fenv-return.
4476
4477 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4478
4479         [BZ #17042]
4480         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4481         when x - 1 is zero.
4482         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4483         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4484         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4485         0.0L for an argument of 1.0L.
4486         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4487         Likewise.
4488         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4489         value when x - 1 is zero.
4490         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4491         * sysdeps/i386/fpu/libm-test-ulps: Update.
4492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4493
4494 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
4495
4496         [BZ #15119]
4497         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4498
4499 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4500
4501         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4502         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4503
4504 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4505
4506         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4507         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4508
4509         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4510         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4511
4512         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4513         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4514
4515         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4516         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4517
4518         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4519         if not already defined.
4520         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4521         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4522         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4523         (TLS_INIT_TP): Use it.
4524         (TLS_DEFINE_INIT_TP): New macro.
4525         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4526
4527 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
4528
4529         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4530         constant.
4531         [POSIX] (IXANY): Likewise.
4532         [POSIX] (OLCUC): Likewise.
4533         [POSIX || POSIX2008] (CBAUD): Do not allow.
4534         [POSIX || POSIX2008] (DEFECHO): Likewise.
4535         [POSIX || POSIX2008] (ECHOCTL): Likewise.
4536         [POSIX || POSIX2008] (ECHOKE): Likewise.
4537         [POSIX || POSIX2008] (ECHOPRT): Likewise.
4538         [POSIX || POSIX2008] (EXTA): Likewise.
4539         [POSIX || POSIX2008] (EXTB): Likewise.
4540         [POSIX || POSIX2008] (FLUSHO): Likewise.
4541         [POSIX || POSIX2008] (LOBLK): Likewise.
4542         [POSIX || POSIX2008] (PENDIN): Likewise.
4543         [POSIX || POSIX2008] (SWTCH): Likewise.
4544         [POSIX || POSIX2008] (VDISCARD): Likewise.
4545         [POSIX || POSIX2008] (VDSUSP): Likewise.
4546         [POSIX || POSIX2008] (VLNEXT): Likewise.
4547         [POSIX || POSIX2008] (VREPRINT): Likewise.
4548         [POSIX || POSIX2008] (VSTATUS): Likewise.
4549         [POSIX || POSIX2008] (VWERASE): Likewise.
4550         (B*): Change to B[0123456789]*.
4551         * conform/data/time.h-data [POSIX || UNIX98]
4552         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4553         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4554         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4555         [POSIX] (tm_*): Do not allow.
4556
4557 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
4558
4559         * Makefile (install): Don't set LANGUAGE.
4560         * Makefile.in (install): Likewise.
4561         * assert/Makefile (test-assert-ENV): Remove variable.
4562         (test-assert-perr-ENV): Likewise.
4563         * elf/Makefile (neededtest4-ENV): Likewise.
4564         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4565         [$(cross-compiling) = no]: Don't set LANGUAGE.
4566         * io/ftwtest-sh (LANG): Remove variable.
4567         * libio/Makefile (tst-widetext-ENV): Likewise.
4568         * manual/install.texi (Running make install): Don't refer to
4569         environment settings for make install.
4570         * INSTALL: Regenerated.
4571         * nptl/tst-tls6.sh: Don't set LANG.
4572         * posix/globtest.sh (LANG): Remove variable.
4573         * string/Makefile (tester-ENV): Likewise.
4574         (inl-tester-ENV): Likewise.
4575         (noinl-tester-ENV): Likewise.
4576         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4577         [$(cross-compiling) = no]: Don't set LANGUAGE.
4578         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4579         without explicit environment settings.
4580
4581 2014-06-06  Roland McGrath  <roland@hack.frob.com>
4582
4583         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4584         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4585         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4586         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4587
4588 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
4589
4590         * crypt/crypt-private.h [DOS]: Add some includes taken from the
4591         other files in the crypt directory.
4592         * crypt/crypt.c: Remove duplicate includes.
4593         * crypt/crypt-entry.c: Likewise.
4594         * crypt/crypt_util.c: Likewise.
4595
4596 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
4597
4598         * Makeconfig (run-program-env): New variable.
4599         (run-program-prefix-before-env): Likewise.
4600         (run-program-prefix-after-env): Likewise.
4601         (run-program-prefix): Define in terms of new variables.
4602         (built-program-cmd-before-env): New variable.
4603         (built-program-cmd-after-env): Likewise.
4604         (built-program-cmd): Define in terms of new variables.
4605         (test-program-prefix-before-env): New variable.
4606         (test-program-prefix-after-env): Likewise.
4607         (test-program-prefix): Define in terms of new variables.
4608         (test-program-cmd-before-env): New variable.
4609         (test-program-cmd-after-env): Likewise.
4610         (test-program-cmd): Define in terms of new variables.
4611         * Rules (make-test-out): Use $(run-program-env).
4612         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4613         (help): Do not mention environment variables.  Mention
4614         --timeoutfactor option.
4615         (timeoutfactor): New variable.
4616         (blacklist_exports): Remove function.
4617         (exports): Remove variable.
4618         (command): Do not include ${exports}.
4619         * manual/install.texi (Configuring and compiling): Do not mention
4620         test wrappers preserving environment variables.  Mention that last
4621         assignment to a variable must take precedence.
4622         * INSTALL: Regenerated.
4623         * benchtests/Makefile (run-bench): Use $(run-program-env).
4624         * catgets/Makefile ($(objpfx)test1.cat): Use
4625         $(built-program-cmd-before-env), $(run-program-env) and
4626         $(built-program-cmd-after-env).
4627         ($(objpfx)test2.cat): Do not specify environment variables
4628         explicitly.
4629         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4630         $(run-program-env) and $(built-program-cmd-after-env).
4631         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4632         $(run-program-env) and $(test-program-cmd-after-env).
4633         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4634         explicitly.
4635         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4636         run_program_env and test_program_cmd_after_env arguments.
4637         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4638         * elf/tst-pathopt.sh: Use run_program_env argument.
4639         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4640         $(test-wrapper-env) and $(run-program-env).
4641         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4642         run_program_env arguments.
4643         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4644         * intl/Makefile ($(objpfx)tst-gettext.out): Use
4645         $(test-program-prefix-before-env), $(run-program-env) and
4646         $(test-program-prefix-after-env).
4647         ($(objpfx)tst-gettext2.out): Likewise.
4648         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4649         run_program_env and test_program_prefix_after_env arguments.
4650         * intl/tst-gettext2.sh: Likewise.
4651         * intl/tst-gettext4.sh: Do not set environment variables
4652         explicitly.
4653         * intl/tst-gettext6.sh: Likewise.
4654         * intl/tst-translit.sh: Likewise.
4655         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4656         $(test-program-prefix-before-env), $(run-program-env) and
4657         $(test-program-prefix-after-env).
4658         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4659         run_program_env and test_program_prefix_after_env arguments.
4660         * math/Makefile (run-regen-ulps): Use $(run-program-env).
4661         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4662         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
4663         explicitly with each use of ${test_wrapper_env}.
4664         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4665         $(test-program-prefix-before-env), $(run-program-env) and
4666         $(test-program-prefix-after-env).
4667         * posix/tst-getconf.sh: Do not set environment variables
4668         explicitly.
4669         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4670         run_program_env and test_program_prefix_after_env arguments.
4671         * stdio-common/tst-printf.sh: Do not set environment variables
4672         explicitly.
4673         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4674         $(test-program-prefix-before-env), $(run-program-env) and
4675         $(test-program-prefix-after-env).
4676         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4677         run_program_env and test_program_prefix_after_env arguments.
4678         Split $test calls into $test_pre and $test.
4679         * timezone/Makefile (build-testdata): Use
4680         $(built-program-cmd-before-env), $(run-program-env) and
4681         $(built-program-cmd-after-env).
4682
4683 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4684
4685         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4686         strlen for non SHARED builds.
4687
4688 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4689
4690         * nptl/allocatestack.c (check_list): Inlined function...
4691         (__reclaim_stacks): ... here.
4692
4693 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4694
4695         [BZ #15698]
4696         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4697         memory overrun.
4698
4699 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
4700
4701         * Rules (make-test-out): Include
4702         LOCPATH=$(common-objpfx)localedata in default environment.
4703         * debug/Makefile (tst-chk1-ENV): Remove variable.
4704         (tst-chk2-ENV): Likewise.
4705         (tst-chk3-ENV): Likewise.
4706         (tst-chk4-ENV): Likewise.
4707         (tst-chk5-ENV): Likewise.
4708         (tst-chk6-ENV): Likewise.
4709         (tst-lfschk1-ENV): Likewise.
4710         (tst-lfschk2-ENV): Likewise.
4711         (tst-lfschk3-ENV): Likewise.
4712         (tst-lfschk4-ENV): Likewise.
4713         (tst-lfschk5-ENV): Likewise.
4714         (tst-lfschk6-ENV): Likewise.
4715         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4716         (tst-iconv7-ENV): Likewise.
4717         * intl/Makefile (LOCPATH-ENV): Likewise.
4718         (tst-codeset-ENV): Likewise.
4719         (tst-gettext3-ENV): Likewise.
4720         (tst-gettext5-ENV): Likewise.
4721         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4722         (tst-fopenloc-ENV): Likewise.
4723         (tst-fgetws-ENV): Remove variable.
4724         (tst-ungetwc1-ENV): Likewise.
4725         (tst-ungetwc2-ENV): Likewise.
4726         (bug-ungetwc2-ENV): Likewise.
4727         (tst-swscanf-ENV): Likewise.
4728         (bug-ftell-ENV): Likewise.
4729         (tst-fgetwc-ENV): Likewise.
4730         (tst-fseek-ENV): Likewise.
4731         (tst-ftell-partial-wide-ENV): Likewise.
4732         (tst-ftell-active-handler-ENV): Likewise.
4733         (tst-ftell-append-ENV): Likewise.
4734         * posix/Makefile (tst-fnmatch-ENV): Likewise.
4735         (tst-regexloc-ENV): Likewise.
4736         (bug-regex1-ENV): Likewise.
4737         (tst-regex-ENV): Likewise.
4738         (tst-regex2-ENV): Likewise.
4739         (bug-regex5-ENV): Likewise.
4740         (bug-regex6-ENV): Likewise.
4741         (bug-regex17-ENV): Likewise.
4742         (bug-regex18-ENV): Likewise.
4743         (bug-regex19-ENV): Likewise.
4744         (bug-regex20-ENV): Likewise.
4745         (bug-regex22-ENV): Likewise.
4746         (bug-regex23-ENV): Likewise.
4747         (bug-regex25-ENV): Likewise.
4748         (bug-regex26-ENV): Likewise.
4749         (bug-regex30-ENV): Likewise.
4750         (bug-regex32-ENV): Likewise.
4751         (bug-regex33-ENV): Likewise.
4752         (bug-regex34-ENV): Likewise.
4753         (bug-regex35-ENV): Likewise.
4754         (tst-rxspencer-ENV): Likewise.
4755         (tst-rxspencer-no-utf8-ENV): Likewise.
4756         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4757         (tst-sscanf-ENV): Likewise.
4758         (tst-swprintf-ENV): Likewise.
4759         (tst-swscanf-ENV): Likewise.
4760         (test-vfprintf-ENV): Likewise.
4761         (scanf13-ENV): Likewise.
4762         (bug14-ENV): Likewise.
4763         (tst-grouping-ENV): Likewise.
4764         * stdlib/Makefile (tst-strtod-ENV): Likewise.
4765         (tst-strtod3-ENV): Likewise.
4766         (tst-strtod4-ENV): Likewise.
4767         (tst-strtod5-ENV): Likewise.
4768         (testmb2-ENV): Likewise./
4769         * string/Makefile (tst-strxfrm-ENV): Likewise.
4770         (tst-strxfrm2-ENV): Likewise.
4771         (bug-strcoll1-ENV): Likewise.
4772         (test-strcasecmp-ENV): Likewise.
4773         (test-strncasecmp-ENV): Likewise.
4774         * time/Makefile (tst-strptime-ENV): Likewise.
4775         (tst-ftime_l-ENV): Likewise.
4776         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4777         (tst-mbrtowc-ENV): Likewise.
4778         (tst-wcrtomb-ENV): Likewise.
4779         (tst-mbrtowc2-ENV): Likewise.
4780         (tst-c16c32-1-ENV): Likewise.
4781         (tst-mbsnrtowcs-ENV): Likewise.
4782
4783 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4784
4785         * manual/resource.texi (How to get information about the memory
4786         subsystem?): Fix typo.
4787         Reported by Peon de la Parra Ivan <peon@keba.com>
4788
4789 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
4790
4791         [BZ #16882]
4792         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4793         (pthread_spin_lock): Branch out of spin loop to proper location.
4794         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4795         (pthread_spin_lock): Likewise.
4796
4797         * nptl/tst-spin4.c: New test.
4798         * nptl/Makefile (tests): Add tst-spin4.
4799
4800 2014-06-03  Andreas Schwab  <schwab@suse.de>
4801
4802         [BZ #15946]
4803         * resolv/res_send.c (send_dg): Reload file descriptor after
4804         calling reopen.
4805
4806 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
4807
4808         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4809
4810 2014-06-03  Richard Henderson  <rth@redhat.com>
4811
4812         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4813         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4814         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4815         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
4816         in the SAVE_PID block.
4817         (__libc_vfork): New alias.
4818         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4819
4820         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4821         child in registers, not on the stack.  Remove RESET_PID conditionals.
4822         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4823
4824 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4825
4826         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4827
4828 2014-06-03  Wilco  <wdijkstr@arm.com>
4829
4830         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4831         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4832         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4833         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4834         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4835         Likewise.
4836
4837 2014-06-03  Wilco  <wdijkstr@arm.com>
4838
4839         * sysdeps/aarch64/fpu/math_private.h
4840         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4841         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4842         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4843         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4844         Fix declarations.
4845
4846 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4847
4848         * crypt/crypt-private.h: Include ufc-crypt.h.
4849         (__b64_from_24bit): Declare extern.
4850         * crypt/crypt_util.c(__b64_from_24bit): New function.
4851         (b64t): New static const variable.
4852         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4853         (b64t): Remove variable.
4854         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4855         * crypt/sha256-crypt.c: Include crypt-private.h.
4856         (b64t): Remove variable.
4857         (__sha256_crypt_r): Remove b64_from_24bit and replace
4858         with __b64_from_24bit.
4859         * crypt/sha512-crypt.c: Likewise.
4860
4861 2014-06-02  Roland McGrath  <roland@hack.frob.com>
4862
4863         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4864         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4865         Label the code __libc_vfork rather than __vfork.
4866         [!NOT_IN_libc] (vfork): Define as weak alias.
4867         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4868         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4869         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4870
4871 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4872
4873         * malloc/malloc.c (malloc_info): Fix format specifier for
4874         n_mmaps.
4875
4876 2014-06-02  Wilco  <wdijkstr@arm.com>
4877
4878         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4879         FPCR write.
4880
4881 2014-06-02  Wilco  <wdijkstr@arm.com>
4882
4883         [BZ #17009]
4884         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4885         Rewrite to reduce FPCR/FPSR accesses.
4886
4887 2014-06-01  David S. Miller  <davem@davemloft.net>
4888
4889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4890
4891 2014-05-31  David S. Miller  <davem@davemloft.net>
4892
4893         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4894         to occur in round to nearest mode when |x| >= 2.0
4895
4896 2014-05-30  Richard Henderson  <rth@twiddle.net>
4897
4898         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4899         (PSEUDO_RET_NOERRNO): Remove.
4900         (ret): Don't redefine.
4901         (ret_NOERRNO): Define in terms of ret.
4902         (ret_ERRVAL): Likewise.
4903
4904         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4905         use of PSEUDO_RET; perform the error check directly.
4906
4907 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
4908
4909         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4910         with __int128_t.
4911
4912 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4913
4914         * malloc/malloc (malloc_info): Fix formatting.
4915
4916 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4917             Roland McGrath  <roland@hack.frob.com>
4918
4919         * malloc/malloc (malloc_info): Also print mmapped statistics.
4920
4921 2014-05-30  Roland McGrath  <roland@hack.frob.com>
4922
4923         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4924         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4925
4926 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
4927
4928         * malloc/malloc.c (malloc_info): Inline mi_arena.
4929
4930 2014-05-29  Richard Henderson  <rth@twiddle.net>
4931
4932         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4933         Remove comma before expanding ASM_ARGS_##nr.
4934         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4935         Make _x0 a strict output; make _x8 a strict input; adjust expansion
4936         of ASM_ARGS_##nr.
4937         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4938         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4939         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4940         (ASM_ARGS_1): Add leading comma.
4941
4942         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4943         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4944         to __errno_location.
4945         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4946         Remove the expected plt for __errno_location.
4947
4948         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4949         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4950         call to __read_tp.
4951
4952         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4953         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
4954         it and break it down.
4955         (DOCARGS_0, DOCARGS_1): Do nothing.
4956         (DOCARGS_2): Update to store into the new stack frame.
4957         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4958         (UNDOCARGS_1): Update to restore from the new stack frame.
4959         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4960         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4961
4962         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4963         (SINGLE_THREAD_P): New parameter for result regno.
4964         (PSEUDO): Update to match; use cbz instead of beq.
4965
4966         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4967         Use ENTRY to define the _nocancel entry point.  Share the syscall
4968         and syscall error check paths with the cancel path.
4969         (PSEUDO_END): New.
4970
4971         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4972         whitespace; tabs before and after asm mnemonics.
4973
4974 2014-05-29  Eric Wong  <normalperson@yhbt.net>
4975
4976         [BZ #15132]
4977         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4978         Call fstat64 or stat64 internally, depending on arguments passed.
4979         Replace stat buffer argument with file descriptor argument.
4980         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4981         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4982         Pass fd to __internal_statvfs instead of calling fstat64.
4983         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4984         Pass fd to __internal_statvfs64 instead of calling fstat64.
4985         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4986         Pass -1 to __internal_statvfs instead of calling stat64.
4987         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4988         Pass -1 to __internal_statvfs64 instead of calling stat64.
4989
4990 2014-05-28  Roland McGrath  <roland@hack.frob.com>
4991
4992         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4993         that was previously under [RESET_PID].
4994         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4995
4996         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4997         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4998
4999 2014-05-27  Roland McGrath  <roland@hack.frob.com>
5000
5001         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5002
5003         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5004         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5005
5006 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5007
5008         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5009
5010 2014-05-27  Andreas Schwab  <schwab@suse.de>
5011
5012         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5013         TLS_INIT_TP macro.
5014         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5015         * elf/rtld.c (init_tls, dl_main): Likewise.
5016         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5017         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5018         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5019         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5020         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5021         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5022         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5023         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5024         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5025         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5026         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5027         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5028         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5029         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5030         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5031         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5032         * sysdeps/generic/tls.h: Update description.
5033
5034 2014-05-27  Will Newton  <will.newton@linaro.org>
5035
5036         [BZ #16990]
5037         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5038         and restore r2 rather than just restoring.
5039
5040 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5041
5042         [BZ #16724]
5043         * libio/tst-ftell-append.c: New test case.
5044         * libio/Makefile (tests): Add test case.
5045         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5046         append mode.
5047         * libio/wfileops.c (do_ftell_wide): Likewise.
5048
5049 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5050
5051         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5052
5053         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5054         ...
5055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5057         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5058         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5059         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5060         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5061         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5062         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5063         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5064         Moved ...
5065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5066         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5067         Moved ...
5068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5069         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5070         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5071         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5072         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5073         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5074         ...
5075         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5076         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5077         Moved ...
5078         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5079         here.
5080         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5081         ...
5082         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5083         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5084         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5085
5086         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5087         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5088         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5089         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5090
5091         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5092         merge into ...
5093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5094         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5095         ...
5096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5097         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5098         ...
5099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5100         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5101         Moved ...
5102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5103         here.
5104         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5105         Moved ...
5106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5107         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5108         Moved ...
5109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5110
5111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5112         conditional [RESET_PID].
5113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5114         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5115         removed.
5116         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5117         removed.
5118
5119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5120         <tcb-offsets.h>.
5121         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5122         (__libc_vfork): New strong alias.
5123         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5124         removed.
5125         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5126         Removed.
5127
5128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5129         <tcb-offsets.h>.
5130         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5131         (__libc_vfork): New strong alias.
5132         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5133         removed.
5134         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5135         removed.
5136
5137 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5138
5139         * malloc/malloc.c (mi_arena): New function.
5140         (malloc_info): Remove nested function mi_arena. Call non-nosted
5141         function mi_arena.
5142
5143 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5144
5145         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5146         by insrwi.
5147         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5148         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5149         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5150         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5151         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5152         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5153         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5154
5155 2014-05-26  Andreas Schwab  <schwab@suse.de>
5156
5157         [BZ #16984]
5158         * locale/programs/repertoire.c (repertoire_read): Add slash
5159         between I18NPATH element and file name.
5160         * locale/programs/locfile.c (locfile_read): Likewise.
5161
5162 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5163
5164         * nptl/pthread_mutexattr_settype.c
5165         (__pthread_mutexattr_settype):
5166         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5167
5168 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5169
5170         * nptl/tst-mutex5 (do_test):
5171         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5172
5173 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5174
5175         * benchtests/README: Document 'init' directive.
5176         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5177         BENCH_INIT.
5178         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5179         (parse_file): Recognize 'init' directive.
5180
5181 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5182
5183         [BZ #16796]
5184         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5185         alignment of struct pthread.
5186
5187 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5188
5189         [BZ #16878]
5190         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5191         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5192         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5193         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5194
5195 2014-05-25  Richard Henderson  <rth@twiddle.net>
5196
5197         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5198         (SINGLE_THREAD_P_PIC): Remove.
5199         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5200         (SINGLE_THREAD_P_PIC): Remove.
5201
5202         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5203         branch to syscall error ...
5204         (PSEUDO): ... here.
5205         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5206         from __local_syscall_error to .Lsyscall_error.
5207         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5208         (SYSCALL_ERROR): Update label name.
5209
5210         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5211         Do not use DOARGS/UNDOARGS.
5212         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5213         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5214         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5215         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5216         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5217
5218         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5219         block comment.
5220
5221         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5222         define if !NOT_IN_libc.
5223         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5224         define with non-default symbol versions.
5225
5226 2014-05-23  Richard Henderson  <rth@twiddle.net>
5227
5228         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5229         (vfork, __vfork): Define via compat_symbol.
5230
5231         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5232         [!HAVE_IFUNC] (vfork_compat): Remove.
5233         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5234
5235 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5236
5237         [BZ #16978]
5238         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5239         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5240         variable.
5241
5242 2014-05-23  Richard Henderson  <rth@twiddle.net>
5243
5244         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5245         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5246         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5247         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5248
5249         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5250         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5251         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5252         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5253         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5254         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5255         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5256         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5257         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5258         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5259         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5260         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5261         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5262         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5263         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5264         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5265         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5266         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5267         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5268         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5269         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5270         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5271         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5272         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5273         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5274         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5275         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5276         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5277         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5278         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5279         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5280         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5281         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5282         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5283         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5284         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5285         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5286         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5287         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5288         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5289         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5290         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5291         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5292         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5293         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5294         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5295         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5296         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5297         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5298         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5299         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5300         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5301         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5302         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5303         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5304         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5305
5306         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5307         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5308         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5309         before exiting on error.
5310         (__libc_vfork): New strong alias.
5311         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5312         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5313
5314         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5315         that was previously under [RESET_PID].
5316         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5317
5318         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5319
5320 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5321
5322         [BZ #16977]
5323         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5324         value when x - 1 is zero.
5325         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5326         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5327         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5328         0.0L for an argument of 1.0L.
5329         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5330         Likewise.
5331         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5332         value when x - 1 is zero.
5333         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5334         * sysdeps/i386/fpu/libm-test-ulps: Update.
5335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5336
5337 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5338
5339         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5340         alphasort and versionsort.
5341
5342 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5343
5344         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5345         macro.
5346         [copysignf]: Likewise.
5347
5348 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5349
5350         * crypt/md5-crypt.c: Fix formatting.
5351
5352 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5353
5354         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5355         (b64_from_24bit): New function.
5356
5357 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5358
5359         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5360         libc_hidden_builtin_def to ifunc.
5361         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5362         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5363
5364 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5365
5366         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5367         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5368
5369 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5370
5371         * nscd/Depend (linuxthreads): Remove.
5372         (nptl): Add.
5373         * resolv/Depend (linuxthreads): Remove.
5374         * rt/Depend (linuxthreads): Remove.
5375
5376         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5377         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5378         $(common-objpfx)elf/.
5379         (link-libc-before-gnulib): Likewise.
5380         (elfobjdir): Remove variable.
5381         * Makefile (install): Use $(elf-objpfx) instead of
5382         $(common-objpfx)elf/.
5383         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5384         $(elfobjdir)/.
5385         (link-libc-deps): Likewise.
5386         ($(common-objpfx)libc.so): Likewise.
5387         ($(common-objpfx)linkobj/libc.so): Likewise.
5388         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5389         instead of $(common-objpfx)elf/.
5390         (symbolic-link-list): Likewise.
5391         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5392         [$(cross-compiling) = no]: Likewise.
5393         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5394         $(elfobjdir)/.
5395         (static-gnulib-arch): Likewise.
5396         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5397         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5398         $(common-objpfx)elf/.
5399
5400 2014-05-21  Richard Henderson  <rth@redhat.com>
5401
5402         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5403         (SINGLE_THREAD_P): Use the correct width load.  Fold
5404         into the ldr offset.
5405
5406         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5407         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5408
5409 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5410
5411         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5412         (libgcc_s_resume): Use __attribute_used__.
5413         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5414         Likewise.
5415
5416 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5417
5418         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5419         optimization when used with float constants.
5420
5421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5422
5423 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5424
5425         [BZ #16915]
5426         * locale/nl_langinfo_l.c: Make direct reference to every
5427         _nl_current_CATEGORY symbol.
5428         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5429         (tests-static): Add tst-langinfo-static.
5430         (tests-special): Add tst-langinfo-static.out.
5431         ($(objpfx)tst-langinfo.out): Redirect output.
5432         ($(objpfx)tst-langinfo-static.out): New.
5433         * localedata/tst-langinfo.sh: Send output to stdout.
5434         * localedata/tst-langinfo-static.c: New file.
5435
5436         [BZ #16965]
5437         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5438         when the shift amount is modulo the limb size.
5439
5440 2014-05-20  Richard Henderson  <rth@redhat.com>
5441
5442         [BZ #16967]
5443         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5444         Change type of sa_flags from unsigned int to int.
5445
5446         [BZ #16966]
5447         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5448
5449         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5450
5451 2014-05-20  Will Newton  <will.newton@linaro.org>
5452
5453         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5454         Test the return value of the system call in the nocancel case.
5455
5456 2014-05-20  Will Newton  <will.newton@linaro.org>
5457             Yvan Roux  <yvan.roux@linaro.org>
5458
5459         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5460         #include of asm/ptrace.h.
5461         (PTRACE_GET_THREAD_AREA): Remove #undef.
5462         (PTRACE_GETHBPREGS): Likewise.
5463         (PTRACE_SETHBPREGS): Likewise.
5464         (struct user_regs_struct): New structure.
5465         (struct user_fpsimd_struct): New structure.
5466         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5467         #include of asm/ptrace.h and second #include of sys/user.h.
5468         (PTRACE_GET_THREAD_AREA): Remove #undef.
5469         (PTRACE_GETHBPREGS): Likewise.
5470         (PTRACE_SETHBPREGS): Likewise.
5471         (ELF_NGREG): Use new struct user_regs_struct.
5472         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5473
5474 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5475
5476         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5477         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5478
5479 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5480
5481         [BZ #16958]
5482         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5483         membar to avoid block loads/stores to overlap previous stores.
5484
5485 2014-05-17  Richard Henderson  <rth@redhat.com>
5486
5487         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5488         Create the __##syscall_name##_nocancel entry point.
5489         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5490         Remove; let the sysdep-cancel.h code create it.
5491
5492 2014-05-17  David S. Miller  <davem@davemloft.net>
5493
5494         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5495         Protect with __USE_GNU.
5496         (TIOCSET_TEMPT): Likewise.
5497         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5498         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5499         these are already provided in bits/ioctl-types.h
5500
5501 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5502
5503         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5504         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5505
5506         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5507         Use wait4 regardless of [__NR_waitpid].
5508
5509 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5510
5511         PR libgcc/60166
5512         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5513         (_FP_NANSIGN_Q): Set the quiet bit.
5514
5515 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5516
5517         * benchtests/Makefile
5518         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5519         not $(common-objpfx)math/libm.so.
5520         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5521         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5522         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5523         $(common-objpfx)dlfcn/libdl.so.
5524         ($(objpfx)tst-audit8): Depend on $(libm), not
5525         $(common-objpfx)math/libm.so.
5526         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5527         not $(common-objpfx)dlfcn/libdl.so.
5528         * math/Makefile
5529         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5530         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
5531         [$(build-shared) = yes].
5532         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5533         $(common-objpfx)nptl/libpthread.so.
5534         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5535         $(common-objpfx)math/libm.so$(libm.so-version) or
5536         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5537         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5538         $(common-objpfx)dlfcn/libdl.so.
5539         * setjmp/Makefile (link-libm): Remove variable.
5540         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5541         * stdio-common/Makefile (link-libm): Remove variable.
5542         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5543         * stdlib/Makefile (link-libm): Remove variable.
5544         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5545         ($(objpfx)tst-strtod-round): Likewise.
5546         ($(objpfx)tst-tininess): Likewise.
5547         ($(objpfx)tst-strtod-underflow): Likewise.
5548         ($(objpfx)tst-strtod6): Likewise.
5549         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5550         $(libdl), not $(common-objpfx)nptl/libpthread.so and
5551         $(common-objpfx)dlfcn/libdl.so.
5552
5553 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5554
5555         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5556         BSD terminal modes definitions.
5557
5558 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5559
5560         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5561         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5562
5563         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5564         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5565         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5566         Don't do #include_next.
5567         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5568         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5569         Don't do #include_next.
5570         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5571         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5572         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5573         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5574
5575 2014-05-16  Allan McRae  <allan@archlinux.org>
5576
5577         * po/sv.po: Update Swedish translation from translation project.
5578
5579         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5580         in sed expression.
5581
5582 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
5583
5584         [BZ #16917]
5585         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5586         errno if the TIOCGPTN ioctl fails with an error different than
5587         EINVAL.
5588         * login/tst-ptsname.c: New file.
5589         * login/Makefile (tests): Add tst-ptsname.
5590
5591         [BZ #16943]
5592         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5593         and prlimit64.
5594
5595 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5596
5597         [BZ #16849]
5598         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5599         herrno to return EAI_AGAIN.
5600
5601 2014-05-14  Roland McGrath  <roland@hack.frob.com>
5602
5603         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5604         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5605         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5606         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5607         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5608         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5609         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5610         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5611         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5612         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5613         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5614         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5615         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5616         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5617         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5618         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5619         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5620         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5621         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5622         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5623         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5624         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5625         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5626         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5627         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5628         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5629         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5630         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5631         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5632         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5633         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5634         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5635         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5636         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5637         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5638         Moved ...
5639         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5641         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5642         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5643         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5644         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5645         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5646         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5647         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5648         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5649         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5651         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5652         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5653         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5654         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5655         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5657         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5658         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5659         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5660         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5661         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5662         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5663         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5665         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5666         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5667         Moved ...
5668         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5670         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5672         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5673         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5674         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5675         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5676         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5678         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5680         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5682         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5683         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5684         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5686         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5687         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5688         Moved ...
5689         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5690         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5691         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5692
5693         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5694         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5695         (libpthread-sysdep_routines): Add elision-related stuff here instead.
5696         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5697         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5698         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5699         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5700         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5701         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5702         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5703         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5704         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5705         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5706         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5707         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5708         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5709         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5710         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5711         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5712         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5713         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5714         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5715         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5716         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5717         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5718         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5719         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5720         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5721         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5722         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5723         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5724
5725         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5726         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5727
5728         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5729         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5730         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5731         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5732         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5733         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5734         Moved ...
5735         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5736         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5737         Moved ...
5738         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5739         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5740         Moved ...
5741         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5742         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5743         Moved ...
5744         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5745         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5746         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5747         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5748         Moved ...
5749         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5750         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5751         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5752         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5753         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5754         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5755         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5756         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5757         Moved ...
5758         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5759         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5760         Moved ...
5761         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5762         ... here.
5763         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5764         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5765         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5766         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5767         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5768         Moved ...
5769         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5770         ... here.
5771         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5772         Moved ...
5773         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5774         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5775         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5776         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5777         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5778         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5779         Moved ...
5780         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5781         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5782         Moved ...
5783         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5784         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5785         Moved ...
5786         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5787         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5788         Moved ...
5789         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5790         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5791         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5792         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5793         Moved ...
5794         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5795         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5796         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5797         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5798         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5799         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5800         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5801         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5802         Moved ...
5803         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5804         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5805         Moved ...
5806         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5807         ... here.
5808         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5809         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5810         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5811         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5812         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5813         Moved ...
5814         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5815         ... here.
5816         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5817         Moved ...
5818         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5819         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5820         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5821         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5822         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5823         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5824         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5825         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5826         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5827         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5828         Moved ...
5829         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5830         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5831         Moved ...
5832         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5833         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5834         Moved ...
5835         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5836         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5837         Moved ...
5838         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5839         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5840         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5841         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5842         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5843         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5844         Moved ...
5845         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5846         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5847         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5848         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5849         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5850         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5851         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5852         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5853         Moved ...
5854         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5855         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5856         Moved ...
5857         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5858         ... here.
5859         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5860         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5861         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5862         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5863         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5864         Moved ...
5865         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5866         ... here.
5867         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5868         Moved ...
5869         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5870         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5871         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5872         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5873         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5874         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5875         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5876         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5877         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5878         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5879         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5880
5881         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5882         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5883
5884         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5885         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5886
5887         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5888         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5889         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5890         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5891         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5892         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5893         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5894         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5895         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5896         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5897         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5898         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5899         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5900         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5901         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5902         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5903         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5904         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5905         Moved ...
5906         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5907         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5908         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5909         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5910         Moved ...
5911         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5912         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5913         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5914         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5915         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5916         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5917         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5918         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5919         Moved ...
5920         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5921         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5922         Moved ...
5923         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5924         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5925         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5926         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5927         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5928         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5929         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5930         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5931         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5932         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5933         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5934         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5935         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5936         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5937         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5938         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5939         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5940
5941         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5942         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5943         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5944         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5945         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5946
5947         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5948         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5949         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5950         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5951         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5952         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5953         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5954         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5955         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5956         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5957
5958         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5959         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5960
5961         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5962         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5963         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5964         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5965         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5966         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5967         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5968         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5969         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5970         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5971         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5972         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5973         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5974         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5975         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5976         Update #include.
5977         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5978         Likewise.
5979         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5980         Likewise.
5981         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5982         Likewise.
5983         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5984         Likewise.
5985         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5986         Likewise.
5987         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5988         Likewise.
5989         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5990         Likewise.
5991         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5992         Likewise.
5993         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5994         Likewise.
5995         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5996         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5997         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5998         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5999         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6000         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6001         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6002         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6003         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6004         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6005         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6006         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6007         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6008         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6009         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6010
6011         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6012         that was previously under [RESET_PID].
6013         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6014         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6015         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6016
6017         * sysdeps/i386/nptl/Implies: New file.
6018         * sysdeps/x86_64/nptl/Implies: New file.
6019         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6020         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6021         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6022         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6023
6024         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6025         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6026         (__libc_vfork): New strong alias.
6027         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6028         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6029
6030         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6031         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6032         (__libc_vfork): New strong alias.
6033         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6034         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6035
6036         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6037         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6038         (__libc_vfork): New strong alias.
6039         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6040         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6041         * nptl/pt-vfork.c: New file.
6042         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6043         (libpthread: GLIBC_2.20): New version set (empty).
6044
6045 2014-05-14  Will Newton  <will.newton@linaro.org>
6046
6047         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6048         rather than #if.
6049
6050 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6051
6052         [BZ #16564]
6053         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6054         arguments with exponent 65 or above.
6055         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6056         arguments 0x1p113L or above.
6057         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6058         to arguments 0x1p107L or above.
6059         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6060         positive arguments with exponent 65 or above.
6061         * math/auto-libm-test-in: Add more tests of log1p.
6062         * math/auto-libm-test-out: Regenerated.
6063
6064         [BZ #16928]
6065         * math/s_cacos.c (__cacos): Ensure zero real part of result from
6066         non-finite arguments is +0.
6067         * math/s_cacosf.c (__cacosf): Likewise.
6068         * math/s_cacosl.c (__cacosl): Likewise.
6069         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6070         * sysdeps/i386/fpu/libm-test-ulps: Update.
6071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6072
6073         [BZ #16927]
6074         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6075         value.
6076         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6077         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6078         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6079         for explicit high bit of mantissa when testing for argument equal
6080         to 1.
6081         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6082         * sysdeps/i386/fpu/libm-test-ulps: Update.
6083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6084
6085         [BZ #16516]
6086         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6087         (__erf): Scale by 16 instead of 8 in potentially underflowing
6088         case.  Ensure exception if result actually underflows.
6089         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6090         (__erff): Scale by 16 instead of 8 in potentially underflowing
6091         case.  Ensure exception if result actually underflows.
6092         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6093         (efx8): Remove variable.
6094         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6095         case.  Ensure exception if result actually underflows.
6096         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6097         (efx8): Remove variable.
6098         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6099         case.  Ensure exception if result actually underflows.
6100         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6101         (efx8): Remove variable.
6102         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6103         case.  Ensure exception if result actually underflows.
6104         * math/auto-libm-test-in: Add more tests of erf.
6105         * math/auto-libm-test-out: Regenerated.
6106
6107 2014-05-14  Andreas Schwab  <schwab@suse.de>
6108
6109         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6110         Remove code conditionalized on USE___THREAD.
6111
6112         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6113         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6114         not definedness.
6115
6116 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6117
6118         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6119         Define unconditionally.
6120         (__ASSUME_O_CLOEXEC): Likewise.
6121         (__ASSUME_SOCK_CLOEXEC): Likewise.
6122         (__ASSUME_IN_NONBLOCK): Likewise.
6123         (__ASSUME_PIPE2): Likewise.
6124         (__ASSUME_EVENTFD2): Likewise.
6125         (__ASSUME_SIGNALFD4): Likewise.
6126         (__ASSUME_DUP3): Likewise.
6127         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6128         (__ASSUME_DUP3): Do not define.
6129         (__ASSUME_EVENTFD2): Likewise.
6130         (__ASSUME_IN_NONBLOCK): Likewise.
6131         (__ASSUME_O_CLOEXEC): Likewise.
6132         (__ASSUME_PIPE2): Likewise.
6133         (__ASSUME_SIGNALFD4): Likewise.
6134         (__ASSUME_SOCK_CLOEXEC): Likewise.
6135         (__ASSUME_UTIMES): Undefine.
6136         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6137         (__ASSUME_UTIMES): Do not define.
6138         (__ASSUME_O_CLOEXEC): Likewise.
6139         (__ASSUME_SOCK_CLOEXEC): Likewise.
6140         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6141         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6142         0x020621].
6143         (__ASSUME_PIPE2): Likewise.
6144         (__ASSUME_EVENTFD2): Likewise.
6145         (__ASSUME_SIGNALFD4): Likewise.
6146         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6147         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6148         Do not define.
6149         (__ASSUME_EVENTFD2): Likewise.
6150         (__ASSUME_SIGNALFD4): Likewise.
6151         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6152         (__ASSUME_32BITUIDS): Likewise.
6153         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6154         (__ASSUME_IPC64): Likewise.
6155         (__ASSUME_ST_INO_64_BIT): Likewise.
6156         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6157         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6158         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6159         (__ASSUME_UTIMES): Do not define.
6160         (__ASSUME_PSELECT): Likewise.
6161         (__ASSUME_PPOLL): Likewise.
6162         (__ASSUME_O_CLOEXEC): Likewise.
6163         (__ASSUME_SOCK_CLOEXEC): Likewise.
6164         (__ASSUME_IN_NONBLOCK): Likewise.
6165         (__ASSUME_PIPE2): Likewise.
6166         (__ASSUME_EVENTFD2): Likewise.
6167         (__ASSUME_SIGNALFD4): Likewise.
6168         (__ASSUME_DUP3): Likewise.
6169         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6170         (__ASSUME_UTIMES): Likewise.
6171         (__ASSUME_O_CLOEXEC): Likewise.
6172         (__ASSUME_SOCK_CLOEXEC): Likewise.
6173         (__ASSUME_IN_NONBLOCK): Likewise.
6174         (__ASSUME_PIPE2): Likewise.
6175         (__ASSUME_EVENTFD2): Likewise.
6176         (__ASSUME_SIGNALFD4): Likewise.
6177         (__ASSUME_DUP3): Likewise.
6178         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6179         (__ASSUME_UTIMES): Likewise.
6180         (__ASSUME_O_CLOEXEC): Likewise.
6181         (__ASSUME_SOCK_CLOEXEC): Likewise.
6182         (__ASSUME_IN_NONBLOCK): Likewise.
6183         (__ASSUME_PIPE2): Likewise.
6184         (__ASSUME_EVENTFD2): Likewise.
6185         (__ASSUME_SIGNALFD4): Likewise.
6186         (__ASSUME_DUP3): Likewise.
6187         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6188         Likewise.
6189         (__ASSUME_UTIMES): Likewise.
6190         (__ASSUME_EVENTFD2): Likewise.
6191         (__ASSUME_SIGNALFD4): Likewise.
6192         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6193         (__ASSUME_O_CLOEXEC): Likewise.
6194         (__ASSUME_SOCK_CLOEXEC): Likewise.
6195         (__ASSUME_IN_NONBLOCK): Likewise.
6196         (__ASSUME_PIPE2): Likewise.
6197         (__ASSUME_EVENTFD2): Likewise.
6198         (__ASSUME_SIGNALFD4): Likewise.
6199         (__ASSUME_DUP3): Likewise.
6200         (__ASSUME_UTIMES): Undefine.
6201
6202         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6203         feclearexcept.  Remove symbol versioning code.
6204         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6205         symbol versioning code.
6206         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6207         symbol versioning code.
6208         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6209         feupdateenv.  Remove symbol versioning code.
6210         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6211         fegetexceptflag.  Remove symbol versioning code.
6212         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6213         fesetexceptflag.  Remove symbol versioning code.
6214         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6215         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6216         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6217         (__posix_fadvise64_l32): Remove prototype.
6218         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6219         code.
6220
6221 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6222
6223         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6224         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6225         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6226         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6227
6228 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6229
6230         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6231         current working directory
6232
6233 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6234
6235         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6236         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6237         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6238         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6239         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6240         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6241         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6242         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6243         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6244         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6245         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6246         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6247         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6248         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6249         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6250         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6251         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6252         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6253         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6254         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6255         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6256         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6257         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6258         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6259         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6260         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6261         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6262         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6263         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6264         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6265         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6266         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6267         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6268         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6269         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6270         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6271         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6272         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6273         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6274         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6275         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6276         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6277
6278         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6279         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6280
6281         * sysdeps/unix/sysv/linux/arm/Makefile
6282         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6283         Add rt-aeabi_unwind_cpp_pr1.
6284         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6285         Add nptl-aeabi_unwind_cpp_pr1.
6286         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6287         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6288         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6289         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6290         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6291         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6292
6293         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6294         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6295         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6296         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6297
6298         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6299         Deconditionalize the code that was previously under [RESET_PID].
6300         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6301
6302         * sysdeps/generic/exit-thread.h: New file.
6303         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6304         * include/unistd.h (__exit_thread): Remove declaration.
6305         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6306         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6307         * csu/libc-start.c: Include <exit-thread.h>.
6308         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6309         * nptl/pthread_create.c: Include <exit-thread.h>.
6310         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6311         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6312         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6313         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6314         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6315         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6316         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6317         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6318         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6319         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6320         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6321         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6322         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6323         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6324         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6325         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6326         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6327
6328 2014-05-13  Andreas Schwab  <schwab@suse.de>
6329
6330         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6331
6332 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6333
6334         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6335         (__ASSUME_UTIMES): Do not condition on kernel version.
6336         (__ASSUME_PSELECT): Define unconditionally.
6337         (__ASSUME_PPOLL): Likewise.
6338         (__ASSUME_ATFCTS): Likewise.
6339         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6340         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6341         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6342         (__ASSUME_UTIMENSAT): Define unconditionally.
6343         (__ASSUME_PRIVATE_FUTEX): Likewise.
6344         (__ASSUME_FALLOCATE): Likewise.
6345         (__ASSUME_O_CLOEXEC): Likewise.
6346         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6347         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6348         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6349         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6350         (__ASSUME_IN_NONBLOCK): Likewise.
6351         (__ASSUME_PIPE2): Likewise.
6352         (__ASSUME_EVENTFD2): Likewise.
6353         (__ASSUME_SIGNALFD4): Likewise.
6354         (__ASSUME_DUP3): Likewise.
6355         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6356         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6357         (__ASSUME_AT_RANDOM): Likewise.
6358         (__ASSUME_PREADV): Likewise.
6359         (__ASSUME_PWRITEV): Likewise.
6360         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6361         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6362         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6363         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6364         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6365         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6366         (__ASSUME_O_CLOEXEC): Define unconditionally.
6367         (__ASSUME_PSELECT): Do not undefine conditionally.
6368         (__ASSUME_PPOLL): Likewise.
6369         (__ASSUME_ATFCTS): Likewise.
6370         (__ASSUME_SET_ROBUST_LIST): Likewise.
6371         (__ASSUME_UTIMENSAT): Likewise.
6372         (__ASSUME_FDATASYNC): Define unconditionally.
6373         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6374         (__ASSUME_SIGFRAME_V2): Likewise.
6375         )__ASSUME_EVENTFD2): Likewise.
6376         (__ASSUME_SIGNALFD4): Likewise.
6377         (__ASSUME_PSELECT): Do not undefine conditionally.
6378         (__ASSUME_PPOLL): Likewise.
6379         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6380         (__ASSUME_PSELECT): Define unconditionally.
6381         (__ASSUME_PPOLL): Likewise.
6382         (__ASSUME_O_CLOEXEC): Likewise.
6383         (__ASSUME_SOCK_CLOEXEC): Likewise.
6384         (__ASSUME_IN_NONBLOCK): Likewise.
6385         (__ASSUME_PIPE2): Likewise.
6386         (__ASSUME_EVENTFD2): Likewise.
6387         (__ASSUME_SIGNALFD4): Likewise.
6388         (__ASSUME_DUP3): Likewise.
6389         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6390         (__ASSUME_O_CLOEXEC): Likewise.
6391         (__ASSUME_SOCK_CLOEXEC): Likewise.
6392         (__ASSUME_IN_NONBLOCK): Likewise.
6393         (__ASSUME_PIPE2): Likewise.
6394         (__ASSUME_EVENTFD2): Likewise.
6395         (__ASSUME_SIGNALFD4): Likewise.
6396         (__ASSUME_DUP3): Likewise.
6397         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6398         (__ASSUME_EVENTFD2): Likewise.
6399         (__ASSUME_SIGNALFD4): Likewise.
6400         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6401
6402 2014-05-12  Andreas Schwab  <schwab@suse.de>
6403
6404         [BZ #16932]
6405         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6406         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6407         than maximum RPC packet size.
6408         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6409         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6410         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6411         (_nss_nis_getservbyport_r): Likewise.
6412
6413 2014-05-12  Will Newton  <will.newton@linaro.org>
6414
6415         * malloc/Makefile (tests): Add tst-mallopt.
6416         * malloc/tst-mallopt.c: New file.
6417
6418 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6419
6420         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6421         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6422
6423 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6424
6425         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6426         (tst-tlsmod6.so): Likewise.
6427
6428 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6429
6430         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6431
6432 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6433
6434         [BZ #16064]
6435         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6436         and <dl-procinfo.h>.
6437         (__fegetenv): Save SSE state in envp->__eip if supported.
6438         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6439         envp->__eip if supported.
6440         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6441         and <dl-procinfo.h>.
6442         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6443         __data_offset and __data_selector in environment to 0.  Set SSE
6444         state if supported.
6445         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6446         test-fenv-sse.
6447         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6448         -mfpmath=sse.
6449         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6450
6451 2014-05-09  Will Newton  <will.newton@linaro.org>
6452
6453         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6454         and libc_relro_required for ARM.
6455         * sysdeps/arm/preconfigure: Regenerate.
6456
6457 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6458             Stefan Liebler  <stli@linux.vnet.ibm.com>
6459
6460         * config.make.in (enable-lock-elision): New Makefile variable.
6461         * configure.ac: Likewise.
6462         * configure: Regenerate.
6463         * sysdeps/s390/configure.ac:
6464         Add check for gcc transactions support.
6465         * sysdeps/s390/configure: Regenerate.
6466         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6467         Build elision files if enabled.
6468         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6469         Add lock elision support for s390.
6470         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6471         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6472         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6473         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6474         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6475         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6476         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6477         Likewise.
6478         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6479         Likewise.
6480         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6481         Likewise.
6482         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6483         Likewise.
6484         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6485         (__lll_timedlock_elision, __lll_lock_elision)
6486         (__lll_unlock_elision, __lll_trylock_elision)
6487         (lll_timedlock_elision, lll_lock_elision)
6488         (lll_unlock_elision, lll_trylock_elision): Add.
6489         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6490         (pthread_mutex_t): Add lock elision support for s390.
6491
6492 2014-05-14  Wilco  <wdijkstr@arm.com>
6493
6494         * sysdeps/arm/fclrexcpt.c: Cleanup.
6495         * sysdeps/arm/fedisblxcpt.c: Cleanup.
6496         * sysdeps/arm/feenablxcpt.c: Cleanup.
6497         * sysdeps/arm/fegetenv.c: Cleanup.
6498         * sysdeps/arm/fegetexcept.c: Cleanup.
6499         * sysdeps/arm/fegetround.c: Cleanup.
6500         * sysdeps/arm/feholdexcpt.c: Cleanup.
6501         * sysdeps/arm/fesetenv.c: Cleanup.
6502         * sysdeps/arm/fesetround.c: Cleanup.
6503         * sysdeps/arm/feupdateenv.c: Cleanup.
6504         * sysdeps/arm/fgetexcptflg.c: Cleanup.
6505         * sysdeps/arm/fraiseexcpt.c: Cleanup.
6506         * sysdeps/arm/fsetexcptflg.c: Cleanup.
6507         * sysdeps/arm/ftestexcept.c: Cleanup.
6508         * sysdeps/arm/get-rounding-mode.h: Cleanup.
6509         * sysdeps/arm/setfpucw.c: Cleanup.
6510
6511 2014-05-09  Will Newton  <will.newton@linaro.org>
6512
6513         * sysdeps/arm/armv7/strcmp.S: New file.
6514         * NEWS: Mention addition of ARMv7 optimized strcmp.
6515
6516 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6517
6518         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6519         look for %.ac rather than %.in.
6520
6521         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6522         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6523         * sysdeps/mach/hurd/configure: Regenerated.
6524         * sysdeps/unix/sysv/linux/configure: Regenerated.
6525
6526         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6527
6528 2014-05-07  Steve Ellcey  <sellcey@mips.com>
6529
6530         [BZ# 16922]
6531         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6532         (LONG_SUB): Ditto.
6533         (PTR_SUB): Ditto.
6534
6535 2014-05-07  Andreas Schwab  <schwab@suse.de>
6536
6537         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6538         when skipping over non-matching result from nscd.
6539
6540 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
6541
6542         [BZ #16876]
6543         * nptl/sockperf.c (client): Check socket return value.
6544
6545         [BZ #16877]
6546         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6547         nscd security class.
6548
6549 2014-05-06  Roland McGrath  <roland@hack.frob.com>
6550
6551         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6552         * sysdeps/arm/unwind.h: ... here.
6553
6554 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
6555
6556         [BZ# 16916]
6557         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6558         Define.
6559
6560 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6561
6562         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6563         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6564         multiarch strncpy for PPC64.
6565         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6566         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6568         multiarch optimizations.
6569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6570         (__libc_ifunc_impl_list): Likewise.
6571         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6572         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6573         multiarch stpncpy for PPC64.
6574         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6575         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6576
6577 2014-05-06  Andreas Schwab  <schwab@suse.de>
6578
6579         [BZ #16912]
6580         * gmon/mcount.c (_MCOUNT_DECL): Use
6581         atomic_compare_and_exchange_bool_acq instead of
6582         catomic_compare_and_exchange_bool_acq.
6583
6584 2014-05-05  Roland McGrath  <roland@hack.frob.com>
6585
6586         * elf/Makefile (others, install-bin): Remove pldd.
6587         (pldd-modules): Variable removed.
6588         ($(objpfx)pldd): Target removed.
6589         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6590         (others, install-bin): Append pldd here.
6591         ($(objpfx)pldd): New target.
6592
6593         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6594         to 0, so the first #if test emitted later doesn't see it undefined.
6595         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6596         * sysdeps/gnu/errlist.c: Regenerated.
6597
6598 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6599
6600         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6601         [libc_hidden_builtin_def]: Define to empty value.
6602         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6603         [libc_hidden_builtin_def]: Likewise.
6604         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6605         [libc_hidden_builtin_def]: Likewise.
6606         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6607         [libc_hidden_builtin_def]: Likewise.
6608         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6609         __redirect_memcpy and define ifunc as default hidden symbol.
6610         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6611         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6612
6613 2014-05-04  Adam Conrad  <adconrad@0c3.net>
6614
6615         * locale/iso-4217.def: Reintroduce XDR currency.
6616
6617 2014-05-04  Allan McRae  <allan@archlinux.org>
6618
6619         * po/eo.po: Update Esperanto translation from translation project.
6620
6621 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
6622
6623         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6624         and FEATURE_INDEX_MAX to 1.
6625         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6626
6627 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6628
6629         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6630         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6631         * iconvdata/big5.c (ONE_DIRECTION): Define.
6632         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6633         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6634         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6635         * iconvdata/cp932.c (ONE_DIRECTION): Define.
6636         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6637         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6638         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6639         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6640         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6641         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6642         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6643         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6644         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6645         * iconvdata/gbk.c (ONE_DIRECTION): Define.
6646         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6647         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6648         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6649         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6650         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6651         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6652         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6653         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6654         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6655         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6656         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6657         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6658         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6659         * iconvdata/iso646.c (ONE_DIRECTION): Define.
6660         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6661         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6662         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6663         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6664         * iconvdata/johab.c (ONE_DIRECTION): Define.
6665         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6666         * iconvdata/sjis.c (ONE_DIRECTION): Define.
6667         * iconvdata/t.61.c (ONE_DIRECTION): Define.
6668         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6669         * iconvdata/tscii.c (ONE_DIRECTION): Define.
6670         * iconvdata/uhc.c (ONE_DIRECTION): Define.
6671         * iconvdata/unicode.c (ONE_DIRECTION): Define.
6672         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6673         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6674         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6675
6676 2014-05-01  Roland McGrath  <roland@hack.frob.com>
6677
6678         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6679         (_IO_JUMPS_OFFSET): Define to 0.
6680
6681         * nptl/sysdeps/pthread/bits/libc-lock.h
6682         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6683         (__libc_lock_define_initialized_recursive): Always define using
6684         initializer.  Modern compilers treat uninitialized (implicit zero) and
6685         explicit zero initializers the same (i.e. put the datum in bss).
6686
6687 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6688
6689         * nscd/nscd-client.h: Include <string.h>.
6690
6691 2014-05-01  David S. Miller  <davem@davemloft.net>
6692
6693         [BZ #16885]
6694         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6695         multiple zero bytes exist at the end of a string.
6696         Reported by Aurelien Jarno <aurelien@aurel32.net>
6697
6698         * string/test-strcmp.c (check): Add explicit test for situations where
6699         there are multiple zero bytes after the first.
6700
6701 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6702
6703         [BZ #16890]
6704         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6705         when compiling wprintf.
6706         * stdio-common/tstdiomisc.c (t3): New function.
6707         (main): Call it.
6708
6709 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6710
6711         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6712         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6713         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6714         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6715
6716 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6717
6718         * stdlib/longlong.h: Updated from GCC.
6719
6720 2014-05-01  Will Newton  <will.newton@linaro.org>
6721             Bernard Ogden  <bernie.ogden@linaro.org>
6722
6723         * NEWS: Update fixed bug list.
6724
6725         [BZ #15119]
6726         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6727
6728 2014-04-30  David S. Miller  <davem@davemloft.net>
6729
6730         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6731         (libc_feholdexcept_setround_sparc_ctx): New function.
6732         (libc_fesetenv_sparc_ctx): Likewise.
6733         (libc_feupdateenv_sparc_ctx): Likewise.
6734         (libc_feholdsetround_sparc_ctx): Likewise.
6735         (libc_feholdexcept_setround_ctx): Define.
6736         (libc_feholdexcept_setroundf_ctx): Likewise.
6737         (libc_feholdexcept_setroundl_ctx): Likewise.
6738         (libc_fesetenv_ctx): Likewise.
6739         (libc_fesetenvf_ctx): Likewise.
6740         (libc_fesetenvl_ctx): Likewise.
6741         (libc_feupdateenv_ctx): Likewise.
6742         (libc_feupdateenvf_ctx): Likewise.
6743         (libc_feupdateenvl_ctx): Likewise.
6744         (libc_feresetround_ctx): Likewise.
6745         (libc_feresetroundf_ctx): Likewise.
6746         (libc_feresetroundl_ctx): Likewise.
6747         (libc_feholdsetround_ctx): Likewise.
6748         (libc_feholdsetroundf_ctx): Likewise.
6749         (libc_feholdsetroundl_ctx): Likewise.
6750
6751         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6752         with __USE_GNU instead of XOPEN cpp guards.
6753
6754         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6755         0.
6756
6757         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6758         with XOPEN cpp guards.
6759
6760 2014-04-30  Julian Brown  <julian@codesourcery.com>
6761
6762         [BZ #16888]
6763         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6764         handling.
6765
6766 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
6767
6768         [BZ #9894]
6769         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6770         Change to 2.6.32.
6771         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6772         * sysdeps/unix/sysv/linux/configure: Regenerated.
6773         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6774         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6775         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6776         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6777         * README: Update reference to required Linux kernel version.
6778         * manual/install.texi (Linux): Update reference to required Linux
6779         kernel headers version.
6780         * INSTALL: Regenerated.
6781
6782         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6783         header inclusion.
6784         [POSIX] (limits.h): Likewise.
6785         [POSIX] (math.h): Likewise.
6786         [POSIX] (sys/wait.h): Likewise.
6787         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6788         function.
6789         [POSIX] (stddef.h): Do not allow header inclusion.
6790
6791 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6792
6793         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6794
6795 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
6796
6797         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6798         Return immediately after lll_futex_wake.
6799
6800 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6801
6802         [BZ #16791]
6803         * nscd/nscd-client.h (datahead_init_common): Initialize entire
6804         structure.
6805         (datahead_init_pos): Call datahead_init_common early.
6806         (datahead_init_neg): Likewise.
6807
6808         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6809         datahead_init_neg): New functions.
6810         * nscd/aicache.c (addhstaiX): Use them.
6811         * nscd/grpcache.c (cache_addgr): Likewise.
6812         * nscd/hstcache.c (cache_addhst): Likewise.
6813         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6814         * nscd/netgroupcache.c (do_notfound): Likewise.
6815         (addgetnetgrentX): Likewise.
6816         (addinnetgrX): Likewise.
6817         * nscd/pwdcache.c (cache_addpw): Likewise.
6818         * nscd/servicescache.c (cache_addserv): Likewise.
6819
6820 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6821             Atsushi Onoe  <atsushi@onoe.org>
6822
6823         [BZ #14308]
6824         [BZ #12994]
6825         [BZ #13651]
6826         * resolv/res_query.c (__libc_res_nsearch): Return if at least
6827         one response is valid.
6828         * resolv/res_send.c (send_dg): Check for validity of other
6829         response if the current response is a referral.
6830
6831 2014-04-29  Steve Ellcey  <sellcey@mips.com>
6832
6833         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6834
6835 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
6836
6837         [BZ #16823]
6838         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6839         Always divide by positive zero when computing -Inf result.
6840         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6841         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6842
6843 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6844
6845         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6846         FPSCR if value do not change.
6847         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6848         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6849         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6850         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6851         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6852         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6853         function.
6854
6855 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
6856
6857         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6858         * sysdeps/unix/sysv/linux/hppa: Move directory from
6859         ports/systeps/unix/sysv/linux/hppa.
6860         * README: Update listing for hppa-*-linux-gnu.
6861
6862 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
6863
6864         [BZ #16754]
6865         * manual/stdio.texi (Hook functions): Fix types of stream hook
6866         functions.
6867         [BZ #16854]
6868         * socket/sys/socket.h: Fix typo in comment.
6869
6870 2014-04-28  Wilco  <wdijkstr@arm.com>
6871
6872         * sysdeps/arm/fenv_private.h: New file.
6873         * sysdeps/arm/math_private.h: New file.
6874         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6875
6876 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
6877
6878         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6879         with __int128_t.
6880         (La_x86_64_retval): Likewise.
6881
6882 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
6883
6884         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6885         fpsr if value didn't change.
6886         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6887         to fpcr if value didn't change.
6888         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6889         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6890         fpsr or fpcr if value didn't change.
6891         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6892         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6893         fpcr if value didn't change.
6894         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6895         to fpsr if value didn't change.
6896
6897 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6898
6899         * nptl/tst-sem3.c: Use test-skeleton.c
6900         (main): Rename to do_test.  Use return instead of
6901         exit.
6902         * nptl/tst-sem4.c: Use test-skeleton.c
6903         (main): Rename to do_test.
6904
6905 2014-04-22  David S. Miller  <davem@davemloft.net>
6906
6907         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6908         (struct sigaction): New struct member __glibc_reserved0, change
6909         type of sa_flags to int.
6910
6911 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
6912
6913         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6914         (COUNT_LEADING_ZEROS_0): Define for AArch64.
6915
6916 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6917
6918         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6919         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6920
6921 2014-04-22  Will Newton  <will.newton@linaro.org>
6922             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
6923
6924         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6925         (__longjmp): Add longjmp and longjmp_target SystemTap
6926         probes.
6927         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6928         (__sigsetjmp): Add setjmp SystemTap probe.
6929
6930 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
6931
6932         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6933         match manual order.
6934
6935 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6936
6937         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6938
6939         * sysdeps/powerpc/fpu/fenv_private.h
6940         (libc_feholdexcept_setroundl_ctx): Define to
6941         libc_feholdexcept_setround_ppc_ctx.
6942         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6943         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6944         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6945         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6946
6947 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6948
6949         * sysdeps/aarch64/math-tests.h: New file.
6950
6951 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
6952
6953         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6954         New.
6955         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6956         Check and set bit_AVX2_Usable.
6957         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6958         macro.
6959         (bit_AVX2): Likewise.
6960         (index_AVX2_Usable): Likewise.
6961         (CPUID_AVX2): Likewise.
6962         (HAS_AVX2): Likewise.
6963
6964 2014-04-17  Will Newton  <will.newton@linaro.org>
6965
6966         * manual/setjmp.texi (System V contexts): Add note that
6967         calling setcontext on a context created by a call to a
6968         signal handler is undefined.  Update text to note that
6969         setcontext from a signal handler is possible but not
6970         recommended.
6971
6972         [BZ #16629]
6973         * stdlib/tst-setcontext.c: Include signal.h.
6974         (main): Check that the signal stack before and
6975         after swapcontext is the same.
6976
6977         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6978         Re-implement to restore registers in user code and avoid
6979         rt_sigreturn system call.
6980
6981 2014-04-17  Wilco  <wdijkstr@arm.com>
6982
6983         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6984         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6985         * math/test-fenv.c: Skip exception trap tests on targets which only
6986         support non-stop mode.
6987
6988 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6989             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6990
6991         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6992         (libc_feholdsetround_aarch64_ctx)
6993         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6994         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6995         (libc_feresetround_ctx, libc_feresetroundf_ctx)
6996         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6997         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6998         (libc_feresetround_noexl_ctx): Define.
6999
7000 2014-04-16  Richard Henderson  <rth@redhat.com>
7001
7002         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7003
7004         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7005         unwind tables.
7006
7007         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7008         const from the non-libc, non-ldso copy.
7009
7010         * sysdeps/alpha/libm-test-ulps: Regenerate.
7011
7012 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7013             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7014
7015         * sysdeps/aarch64/fpu/math_private.h: New file.
7016
7017 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7018
7019         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7020
7021 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
7022
7023         [BZ #16275]
7024         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7025         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7026         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7027         Intel MPX bound registers before _dl_profile_fixup.
7028         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7029         registers after _dl_profile_fixup.  Save and restore bound
7030         registers bnd0/bnd1 when calling _dl_call_pltexit.
7031         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7032         (LR_BND_OFFSET): Likewise.
7033         (LRV_BND0_OFFSET): Likewise.
7034         (LRV_BND1_OFFSET): Likewise.
7035
7036 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7037
7038         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7039         to...
7040         * sysdeps/mach/hurd/i386/tls.h: ... here.
7041         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7042         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7043         fields.
7044
7045 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7046
7047         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7048
7049 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7050
7051         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7052
7053 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7054
7055         [BZ #14770]
7056         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7057         * sysdeps/s390/configure: Regenerate.
7058
7059         [BZ #16824]
7060         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7061         Set round-to-nearest internally to reduce error accumulation.
7062
7063 2014-04-16  Alan Modra  <amodra@gmail.com>
7064
7065         [BZ #16740]
7066         [BZ #16619]
7067         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7068         * math/libm-test.inc (frexp_test_data): Add tests.
7069         * NEWS: Update fixed bug list.
7070
7071 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7072
7073         * benchtests/Makefile: Depend on libraries in build directory.
7074         (bench-math): Separate out math tests.
7075         (bench-pthread): Separate out pthread tests.
7076         (bench): Include math and pthread tests.
7077
7078 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7079
7080         [BZ #16831]
7081         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7082         _dl_debug_initialize.
7083
7084         * configure.ac: Remove SELinux header check.
7085         * configure: Regenerate.
7086         * nscd/selinux.c (perms): Array of const char* to permission names.
7087         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7088         default policy. Call string_to_security_class and string_to_av_perm to
7089         translate strings. Enforce default policy and call avs_has_perm with
7090         results of translated strings.
7091
7092 2014-04-13  David S. Miller  <davem@davemloft.net>
7093
7094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7095
7096 2014-04-12  Allan McRae  <allan@archlinux.org>
7097
7098         [BZ #16838]
7099         * manual/string.texi (Collation Functions): Fix qsort argument
7100         order in example.
7101         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7102
7103 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7104
7105         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7106         Make the test a no-op if there are no exceptions defined.
7107
7108 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7109
7110         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7111         enable-hardcoded-path-in-tests
7112
7113 2014-04-11  Will Newton  <will.newton@linaro.org>
7114
7115         * benchtests/Makefile (extra-objs): Add json-lib.o.
7116         (bench-func): Tidy up JSON output.
7117         * benchtests/bench-skeleton.c: Include json-lib.h.
7118         (main): Use JSON library functions to do output of
7119         benchmark results.
7120         * benchtests/bench-timing-type.c (main): Output the
7121         timing type simply, leaving formatting to the user.
7122         * benchtests/json-lib.c: New file.
7123         * benchtests/json-lib.h: Likewise.
7124
7125 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7126
7127         [BZ #15215]
7128         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7129         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7130         memory barriers.  Add comments.
7131         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7132         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7133         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7134         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7135         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7136         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7137
7138 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7139
7140         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7141         * sysdeps/s390/s390-64/configure.ac: ... this ...
7142         * sysdeps/s390/configure.ac: ... to here.
7143         * sysdeps/s390/s390-32/configure: Delete file.
7144         * sysdeps/s390/s390-64/configure: Delete file.
7145         * sysdeps/s390/configure: Regenerate.
7146
7147 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7148
7149         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7150
7151 2014-04-11  Will Newton  <will.newton@linaro.org>
7152
7153         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7154         to zero if it is not defined elsewhere.  (mtrim): Test
7155         the value of MALLOC_DEBUG with #if rather than #ifdef.
7156
7157 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7158
7159         * benchtests/pthread_once-inputs: New file.
7160         * benchtests/pthread_once-source.c: New file.
7161         * benchtests/README: Update documentation.
7162
7163 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7164             H.J. Lu  <hongjiu.lu@intel.com>
7165
7166         [BZ #16275]
7167         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7168         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7169         * sysdeps/x86_64/configure: Regenerated.
7170         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7171         macro.
7172         (REGISTER_SAVE_RAX): Likewise.
7173         (REGISTER_SAVE_RCX): Likewise.
7174         (REGISTER_SAVE_RDX): Likewise.
7175         (REGISTER_SAVE_RSI): Likewise.
7176         (REGISTER_SAVE_RDI): Likewise.
7177         (REGISTER_SAVE_R8): Likewise.
7178         (REGISTER_SAVE_R9): Likewise.
7179         (REGISTER_SAVE_BND0): Likewise.
7180         (REGISTER_SAVE_BND1): Likewise.
7181         (REGISTER_SAVE_BND2): Likewise.
7182         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7183         bound registers when calling _dl_fixup.
7184
7185 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7186
7187         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7188         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7189         of its definition.
7190         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7191         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7192         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7193         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7194         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7195         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7196         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7197
7198 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7199
7200         [BZ #15514]
7201         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7202         pathconf(_PC_NAME_MAX).
7203
7204 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7205
7206         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7207         Remove macro usage.
7208         (__PTHREAD_SPINS): Move definition to ...
7209         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7210         (__PTHREAD_SPINS): ... here.
7211         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7212         (__PTHREAD_SPIN): Likewise.
7213         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7214         (__PTHREAD_SPIN): Likewise.
7215         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7216         (__PTHREAD_SPIN): Likewise.
7217         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7218         (__PTHREAD_SPIN): Likewise.
7219         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7220         (__PTHREAD_SPIN): Likewise.
7221         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7222         (__PTHREAD_SPIN): Likewise.
7223         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7224         (__PTHREAD_SPIN): Likewise.
7225         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7226         (__PTHREAD_SPIN): Likewise.
7227         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7228         (__PTHREAD_SPIN): Likewise.
7229         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7230         (__PTHREAD_SPIN): Likewise.
7231         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7232         (__PTHREAD_SPIN): Likewise.
7233         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7234         (__PTHREAD_SPIN): Likewise.
7235
7236         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7237         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7238         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7239         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7240         imply folder.
7241         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7242         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7243         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7244         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7245         correct imply path.
7246         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7247         strlen symbol for non multi-arch builds.
7248         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7249         missing hidden_def and weak_alias.
7250
7251 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7252
7253         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7254
7255 2014-04-07  Will Newton  <will.newton@linaro.org>
7256
7257         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7258         and contents.  [!_LIBC] Remove #ifndef and contents.
7259         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7260         * string/memccpy.c (__memccpy): Use ANSI prototype.
7261         * string/memfrob.c (memfrob): Likewise.
7262         * string/strcoll.c (STRCOLL): Likewise.
7263         * string/strlen.c (strlen): Likewise.
7264         * string/strtok.c (STRTOK): Likewise.
7265         * string/strcat.c: Remove unused #include of memcopy.h.
7266         (strcat): Use ANSI prototype.
7267         * string/strchr.c: Remove unused #include of memcopy.h.
7268         (strchr): Use ANSI prototype.
7269         * string/strcmp.c: Remove unused #include of memcopy.h.
7270         (strcmp): Use ANSI prototype.
7271         * string/strcpy.c: Remove unused #include of memcopy.h.
7272         (strcpy): Use ANSI prototype.
7273
7274 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7275
7276         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7277         * config.make.in (config-extra-cppflags): Set it from
7278         libc_extra_cppflags.
7279         * configure.ac (libc_extra_cflags): Make it accumulate over
7280         configure fragments.
7281         (libc_extra_cppflags): New flag.
7282         * configure. Regenerate.
7283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7284         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7285         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7287
7288         [BZ #16815]
7289         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7290         result for FE_DOWNWARD rounding mode.
7291         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7292         Likewise.
7293         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7294
7295 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7296
7297         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7298         in function argument name.
7299
7300 2014-04-03  David Svoboda  <svoboda@cert.org>
7301
7302         [BZ #5666]
7303         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7304         explicitly.
7305
7306 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7307
7308         * elf/dl-unmap-segments.h: New file.
7309         * sysdeps/generic/ldsodefs.h
7310         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7311         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7312         * elf/dl-fptr.c: Likewise.
7313         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7314         * sysdeps/aarch64/tlsdesc.c: Likewise.
7315         * sysdeps/arm/tlsdesc.c: Likewise.
7316         * sysdeps/i386/tlsdesc.c: Likewise.
7317         * sysdeps/tile/dl-runtime.c: Likewise.
7318         * sysdeps/x86_64/tlsdesc.c: Likewise.
7319         * elf/dl-load.h: New file.
7320         * elf/dl-load.c: Include it.
7321         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7322         Macros moved to dl-load.h.
7323         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7324         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7325         Use _dl_unmap_segments in place of __munmap.
7326         Break out segment-mapping loop into ...
7327         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7328
7329 2014-04-03  Will Newton  <will.newton@linaro.org>
7330
7331         * elf/dl-lookup.c (do_lookup_x): Remove comment
7332         referring to nested function and move variable
7333         declarations down to before first use.
7334
7335 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7336
7337         [BZ #16799]
7338         [BZ #16800]
7339         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7340         with 0 numerator.
7341         * math/s_catanf.c (__catanf): Likewise.
7342         * math/s_catanh.c (__catanh): Likewise.
7343         * math/s_catanhf.c (__catanhf): Likewise.
7344         * math/s_catanhl.c (__catanhl): Likewise.
7345         * math/s_catanl.c (__catanl): Likewise.
7346         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7347         by positive zero when computing -Inf result.
7348         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7349         (catanh_test): Likewise.
7350         * sysdeps/i386/fpu/libm-test-ulps: Update.
7351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7352
7353         [BZ #16789]
7354         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7355         instead of using underflowing value in computing result.
7356         * math/s_clog10.c (__clog10): Likewise.
7357         * math/s_clog10f.c (__clog10f): Likewise.
7358         * math/s_clog10l.c (__clog10l): Likewise.
7359         * math/s_clogf.c (__clogf): Likewise.
7360         * math/s_clogl.c (__clogl): Likewise.
7361         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7362         (clog10_test): Likewise.
7363         * sysdeps/i386/fpu/libm-test-ulps: Update.
7364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7365
7366 2014-04-02  Alan Modra  <amodra@gmail.com>
7367
7368         [BZ #16739]
7369         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7370         output when value is near a power of two.  Use int64_t for lx and
7371         remove casts.  Use decimal rather than hex exponent constants.
7372         Don't use long double multiplication when double will suffice.
7373         * math/libm-test.inc (nextafter_test_data): Add tests.
7374         * NEWS: Add 16739 and 16786 to bug list.
7375
7376         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7377
7378         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7379
7380 2014-04-01  Will Newton  <will.newton@linaro.org>
7381
7382         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7383         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7384
7385 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7386
7387         [BZ #13347]
7388         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7389         * nptl/tst-setuid2.c: New file.
7390         * nptl/Makefile (xtests): Add tst-setuid2.
7391
7392 2014-04-01  Alan Modra  <amodra@gmail.com>
7393
7394         [BZ #16786]
7395         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7396
7397 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7398
7399         [BZ #6803]
7400         [BZ #6804]
7401         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7402         set errno as appropriate.
7403         * math/w_scalbf.c (__scalbf): Likewise.
7404         * math/w_scalbl.c (__scalbl): Likewise.
7405         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7406         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7407         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7408         Add more NaN tests.
7409
7410         [BZ #16349]
7411         * math/w_atan2.c: Include <errno.h>.
7412         (__atan2): Set errno for result underflowing to zero.
7413         * math/w_atan2f.c: Include <errno.h>.
7414         (__atan2f): Set errno for result underflowing to zero.
7415         * math/w_atan2l.c: Include <errno.h>.
7416         (__atan2l): Set errno for result underflowing to zero.
7417         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7418         tests.
7419         * math/auto-libm-test-out: Regenerated.
7420
7421 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7422
7423         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7424         Encode instruction correctly in little endian.
7425         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7426         Likewise.
7427         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7428         Likewise.
7429         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7430         Likewise.
7431         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7432         Likewise.
7433
7434 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7435
7436         [BZ #9894]
7437         * sysdeps/unix/sysv/linux/kernel-features.h
7438         [__sparc__ && !__arch64__ && !__sparc_v9__]
7439         (__ASSUME_SET_ROBUST_LIST): Do not define.
7440         [__sparc__ && !__arch64__ && !__sparc_v9__]
7441         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7442         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7443         Likewise.
7444         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7445         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7446         (__ASSUME_REQUEUE_PI): Likewise.
7447         (__ASSUME_SET_ROBUST_LIST): Likewise.
7448         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7449         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7450         Undefine.
7451         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7452         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7453         Likewise.
7454         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7455         Likewise.
7456         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7457         Likewise.
7458         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7459         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7460         Undefine.
7461         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7462         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7463         Likewise.
7464
7465         [BZ #16648]
7466         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7467         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7468         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7469
7470 2014-03-31  Will Newton  <will.newton@linaro.org>
7471
7472         * benchtests/Makefile (bench): Add ffs and ffsll to list
7473         of tests.
7474         * benchtests/ffs-inputs: New file.
7475         * benchtests/ffsll-inputs: Likewise.
7476
7477 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7478
7479         [BZ #16770]
7480         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7481         too large before casting to int.
7482         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7483         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7484         * math/libm-test.inc (scalb_test_data): Add more tests.
7485
7486 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7487
7488         * benchtests/Makefile (DETAILED_OPT): New make option.
7489         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7490         set.
7491         * benchtests/bench-skeleton.c: Include stdbool.h.
7492         (main): Store and print timings per input.
7493         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7494         member to each argument value.
7495         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7496         (_print_arg_data): Initialize per-input timing to 0.
7497
7498         * benchtests/Makefile (timing-type): New binary.
7499         (bench-clean): Also remove bench-timing-type.
7500         (bench): New target for timing-type.
7501         (bench-func): Print output in JSON format.
7502         * benchtests/bench-skeleton.c (main): Print output in JSON
7503         format.
7504         * benchtests/bench-timing-type.c: New file.
7505         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7506         (TIMING_PRINT_STATS): Remove.
7507         * benchtests/scripts/bench.py (_print_arg_data): Store variant
7508         name separately.
7509
7510         * benchtests/bench-modf.c: Remove.
7511         * benchtests/modf-inputs: New inputs file.
7512
7513 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
7514
7515         [BZ #16362]
7516         * math/s_clog10.c (M_PI_LOG10E): New macro.
7517         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7518         imaginary parts are 0.
7519         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7520         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7521         imaginary parts are 0.
7522         * math/s_clog10l.c (M_PI_LOG10El): New macro.
7523         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7524         imaginary parts are 0.
7525         * math/libm-test.inc (clog10_test_data): Update expected results
7526         for when real and imaginary parts are 0.
7527
7528 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
7529
7530         * elf/dl-load.c: Finish conversion of __builtin_expect into
7531         __glibc_{un}likely.
7532
7533 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
7534
7535         [BZ #16348]
7536         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7537         1+x for argument with exponent below -67.
7538         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7539         Likewise.
7540         * math/auto-libm-test-in: Add more tests of exp.
7541         * math/auto-libm-test-out: Regenerated.
7542
7543 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7544
7545         [BZ #16759]
7546         * inet/getnetgrent_r.c (get_nonempty_val): New function.
7547         (nscd_getnetgrent): Use it.
7548
7549         [BZ #16760]
7550         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7551         of stpcpy.
7552
7553 2014-03-27  Andi Kleen  <ak@linux.intel.com>
7554
7555         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7556         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7557         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7558         (lll_robust_unlock): Remove out of line section. Use cfi
7559         intrinsics.
7560         (LLL_STUB_UNWIND_INFO*): Remove.
7561         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7562         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7563         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7564         (lll_robust_unlock): Remove out of line section. Use cfi
7565         intrinsics.
7566         (LLL_STUB_UNWIND_INFO*): Remove.
7567
7568 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7569
7570         [BZ #16758]
7571         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7572         blank values.
7573
7574 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7575
7576         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7577
7578 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
7579
7580         [BZ #16198]
7581         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7582         fnstenv.
7583         * math/test-fenv-preserve.c: New file.
7584         * math/Makefile (tests): Add test-fenv-preserve.
7585
7586 2014-03-26  Will Newton <will.newton@linaro.org>
7587
7588         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7589
7590 2014-03-25  Roland McGrath  <roland@hack.frob.com>
7591
7592         * scripts/versionlist.awk: Partition the version sets and emit all
7593         GLIBC_* (sorted) before all others (sorted).
7594
7595 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7596
7597         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7598         GLIBC_2.2.5 version.
7599
7600 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7601
7602         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7603         calls.
7604
7605         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7606         previous change.
7607
7608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7609
7610 2014-03-25  Andreas Schwab  <schwab@suse.de>
7611
7612         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7613         label to be used after in6ailist is initialized.
7614
7615 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7616
7617         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7618         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7619
7620 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7621
7622         [BZ #16357]
7623         [BZ #16599]
7624         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7625         min_plus_half.
7626         (fp_formats): Update initializers.
7627         (init_fp_formats): Initialize new field.
7628         (output_for_one_input_case): Allow underflow for results up to
7629         min_plus_half.
7630         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7631         * math/auto-libm-test-in: Don't mark some underflows from asin and
7632         atanh as spurious.
7633         * math/auto-libm-test-out: Regenerated.
7634         * sysdeps/i386/fpu/libm-test-ulps: Update.
7635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7636
7637 2014-03-25  Andreas Schwab  <schwab@suse.de>
7638
7639         * libio/Makefile (tst-ftell-partial-wide-ENV)
7640         (tst-ftell-active-handler-ENV): Define.
7641
7642 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
7643
7644         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7645
7646 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7647
7648         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7649
7650 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7651
7652         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7653         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7654         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7655
7656 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7657
7658         [BZ #16634]
7659         * elf/dl-load.c (open_verify): Add mode parameter.
7660         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7661         (open_path): Change from boolean 'secure' to complete flag 'mode'
7662         (_dl_map_object): Adjust.
7663         * elf/Makefile (tests): Add tst-dlopen-aout.
7664         * elf/tst-dlopen-aout.c: New test.
7665
7666 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
7667
7668         [BZ #16714]
7669         * sysdeps/unix/sysv/linux/s390/bits/stat.h
7670         (struct stat): Rename member pad0 to __glibc_reserved0.
7671
7672         [BZ #16712]
7673         * sysdeps/s390/s390-32/bits/wordsize.h
7674         (__WORDSIZE32_SIZE_ULONG): New define.
7675         * sysdeps/s390/s390-64/bits/wordsize.h
7676         (__WORDSIZE32_SIZE_ULONG): Likewise.
7677         * sysdeps/generic/stdint.h (SIZE_MAX):
7678         Define as UL if __WORDSIZE32_SIZE_ULONG.
7679
7680         [BZ #16713]
7681         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7682         (__glibc_reserved0): New variable.
7683         (sa_flags): Change type to int.
7684
7685         * posix/Makefile (before-compile): Use += before-compile instead
7686         of a :=.
7687
7688         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7689         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7690
7691 2014-03-20  Andreas Schwab  <schwab@suse.de>
7692
7693         [BZ #16743]
7694         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7695         non-matching result from nscd.
7696
7697 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7698
7699         * scripts/bench.py: Moved to ...
7700         * benchtests/scripts/bench.py: ... here.
7701         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7702
7703 2014-03-24  Andreas Schwab  <schwab@suse.de>
7704
7705         [BZ #16002]
7706         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7707         alloca_account and account alloca use for struct in6ailist.
7708
7709 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7710
7711         [BZ #16284]
7712         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7713         rounding mode to recompute results that overflow to infinity or
7714         underflow to zero.
7715         * math/auto-libm-test-in: Don't mark tests as expected to fail for
7716         bug 16284.
7717         * math/auto-libm-test-out: Regenerated.
7718         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7719         (ccosh_test): Likewise.
7720         (csin_test_data): Use plus_oflow.
7721         (csin_test): Use ALL_RM_TEST.
7722         (csinh_test_data): Use plus_oflow.
7723         (csinh_test): Use ALL_RM_TEST.
7724         * sysdeps/i386/fpu/libm-test-ulps: Update.
7725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7726
7727 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
7728
7729         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7730         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7731         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7732
7733         [BZ #16731]
7734         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7735         when x - 1 is zero.
7736         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7737         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7738         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7739         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7740         argument is 1.
7741         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7742         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7743         zero.
7744         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7745         * sysdeps/i386/fpu/libm-test-ulps: Update.
7746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7747
7748 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7749
7750         * scripts/bench.pl: Remove file.
7751         * scripts/bench.py: New benchmark script.
7752         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7753         * benchtests/README: Mention python dependency.
7754         * scripts/pylintrc: New file.
7755         * scripts/pylint: New file.
7756
7757         * bits/mathdef.h: Use #ifdef instead of #if.
7758         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7759         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7760         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7761         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7762         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7763         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7764
7765 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7766             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7767
7768         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7769         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7770         and strpbrk-ppc64 objects.
7771         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7772         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7773         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7774         multiarch strpbrk for POWER7.
7775         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7776         multiarch strpbrk for PPC64.
7777         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7778         ifunc selector.
7779         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7780         strpbrk for POWER7.
7781
7782 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7783
7784         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7785         (atan_test): Likewise.
7786         (atanh_test_data): Use NO_TEST_INLINE for two tests.
7787         (atanh_test): Use ALL_RM_TEST.
7788         (atan2_test_data): Likewise.
7789         (cabs_test): Likewise.
7790         (cacosh_test): Likewise.
7791         (carg_test): Likewise.
7792         (casin_test): Likewise.
7793         (casinh_test): Likewise.
7794         (cbrt_test): Likewise.
7795         (csqrt_test): Likewise.
7796         (erf_test): Likewise.
7797         (erfc_test): Likewise.
7798         (pow10_test): Likewise.
7799         (exp2_test): Likewise.
7800         (hypot_test): Likewise.
7801         (j0_test): Likewise.
7802         (j1_test): Likewise.
7803         (lgamma_test): Likewise.
7804         (gamma_test): Likewise.
7805         (sincos_test): Likewise.
7806         (tanh_test): Likewise.
7807         (y0_test): Likewise.
7808         (y1_test): Likewise.
7809         * sysdeps/i386/fpu/libm-test-ulps: Update.
7810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7811
7812 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7813
7814         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7815         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7816         and strcspn-ppc64 objects.
7817         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7818         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7819         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7820         multiarch strcspn for POWER7.
7821         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7822         multiarch strcspn for PPC64.
7823         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7824         ifunc selector.
7825         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7826         strcspn for POWER7.
7827
7828 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7829
7830         * math/gen-libm-test.pl (generate_testfile): Expect only function
7831         name as argument to AUTO_TESTS_* and pass results for all rounding
7832         modes to parse_args.
7833         (parse_auto_input): Separate inputs of automatic tests from
7834         outputs before storing in %auto_tests.
7835         * math/libm-test.inc (acos_test_data): Update call to
7836         AUTO_TESTS_f_f.
7837         (acos_test): Use ALL_RM_TEST.
7838         (acos_tonearest_test_data): Remove.
7839         (acos_test_tonearest): Likewise.
7840         (acos_towardzero_test_data): Likewise.
7841         (acos_test_towardzero): Likewise.
7842         (acos_downward_test_data): Likewise.
7843         (acos_test_downward): Likewise.
7844         (acos_upward_test_data): Likewise.
7845         (acos_test_upward): Likewise.
7846         (acosh_test_data): Update call to AUTO_TESTS_f_f.
7847         (asin_test_data): Likewise.
7848         (asin_test): Use ALL_RM_TEST.
7849         (asin_tonearest_test_data): Remove.
7850         (asin_test_tonearest): Likewise.
7851         (asin_towardzero_test_data): Likewise.
7852         (asin_test_towardzero): Likewise.
7853         (asin_downward_test_data): Likewise.
7854         (asin_test_downward): Likewise.
7855         (asin_upward_test_data): Likewise.
7856         (asin_test_upward): Likewise.
7857         (asinh_test_data): Update call to AUTO_TESTS_f_f.
7858         (atan_test_data): Likewise.
7859         (atanh_test_data): Likewise.
7860         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7861         (cabs_test_data): Update call to AUTO_TESTS_c_f.
7862         (carg_test_data): Likewise.
7863         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7864         (ccos_test_data): Update call to AUTO_TESTS_c_c.
7865         (ccosh_test_data): Likewise.
7866         (cexp_test_data): Likewise.
7867         (clog_test_data): Likewise.
7868         (clog10_test_data): Likewise.
7869         (cos_test_data): Update call to AUTO_TESTS_f_f.
7870         (cos_test): Use ALL_RM_TEST.
7871         (cos_tonearest_test_data): Remove.
7872         (cos_test_tonearest): Likewise.
7873         (cos_towardzero_test_data): Likewise.
7874         (cos_test_towardzero): Likewise.
7875         (cos_downward_test_data): Likewise.
7876         (cos_test_downward): Likewise.
7877         (cos_upward_test_data): Likewise.
7878         (cos_test_upward): Likewise.
7879         (cosh_test_data): Update call to AUTO_TESTS_f_f.
7880         (cosh_test): Use ALL_RM_TEST.
7881         (cosh_tonearest_test_data): Remove.
7882         (cosh_test_tonearest): Likewise.
7883         (cosh_towardzero_test_data): Likewise.
7884         (cosh_test_towardzero): Likewise.
7885         (cosh_downward_test_data): Likewise.
7886         (cosh_test_downward): Likewise.
7887         (cosh_upward_test_data): Likewise.
7888         (cosh_test_upward): Likewise.
7889         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7890         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7891         (ctan_test_data): Likewise.
7892         (ctan_test): Use ALL_RM_TEST.
7893         (ctan_tonearest_test_data): Remove.
7894         (ctan_test_tonearest): Likewise.
7895         (ctan_towardzero_test_data): Likewise.
7896         (ctan_test_towardzero): Likewise.
7897         (ctan_downward_test_data): Likewise.
7898         (ctan_test_downward): Likewise.
7899         (ctan_upward_test_data): Likewise.
7900         (ctan_test_upward): Likewise.
7901         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7902         (ctanh_test): Use ALL_RM_TEST.
7903         (ctanh_tonearest_test_data): Remove.
7904         (ctanh_test_tonearest): Likewise.
7905         (ctanh_towardzero_test_data): Likewise.
7906         (ctanh_test_towardzero): Likewise.
7907         (ctanh_downward_test_data): Likewise.
7908         (ctanh_test_downward): Likewise.
7909         (ctanh_upward_test_data): Likewise.
7910         (ctanh_test_upward): Likewise.
7911         (erf_test_data): Update call to AUTO_TESTS_f_f.
7912         (erfc_test_data): Likewise.
7913         (exp_test_data): Likewise.
7914         (exp_test): Use ALL_RM_TEST.
7915         (exp_tonearest_test_data): Remove.
7916         (exp_test_tonearest): Likewise.
7917         (exp_towardzero_test_data): Likewise.
7918         (exp_test_towardzero): Likewise.
7919         (exp_downward_test_data): Likewise.
7920         (exp_test_downward): Likewise.
7921         (exp_upward_test_data): Likewise.
7922         (exp_test_upward): Likewise.
7923         (exp10_test_data): Update call to AUTO_TESTS_f_f.
7924         (exp10_test): Use ALL_RM_TEST.
7925         (exp10_tonearest_test_data): Remove.
7926         (exp10_test_tonearest): Likewise.
7927         (exp10_towardzero_test_data): Likewise.
7928         (exp10_test_towardzero): Likewise.
7929         (exp10_downward_test_data): Likewise.
7930         (exp10_test_downward): Likewise.
7931         (exp10_upward_test_data): Likewise.
7932         (exp10_test_upward): Likewise.
7933         (exp2_test_data): Update call to AUTO_TESTS_f_f.
7934         (expm1_test_data): Likewise.
7935         (expm1_test): Use ALL_RM_TEST.
7936         (expm1_tonearest_test_data): Remove.
7937         (expm1_test_tonearest): Likewise.
7938         (expm1_towardzero_test_data): Likewise.
7939         (expm1_test_towardzero): Likewise.
7940         (expm1_downward_test_data): Likewise.
7941         (expm1_test_downward): Likewise.
7942         (expm1_upward_test_data): Likewise.
7943         (expm1_test_upward): Likewise.
7944         (fma_test_data): Update call to AUTO_TESTS_fff_f.
7945         (fma_test): Use ALL_RM_TEST.
7946         (fma_towardzero_test_data): Remove.
7947         (fma_test_towardzero): Likewise.
7948         (fma_downward_test_data): Likewise.
7949         (fma_test_downward): Likewise.
7950         (fma_upward_test_data): Likewise.
7951         (fma_test_upward): Likewise.
7952         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7953         (j0_test_data): Update call to AUTO_TESTS_f_f.
7954         (j1_test_data): Likewise.
7955         (jn_test_data): Update call to AUTO_TESTS_if_f.
7956         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7957         (log_test_data): Update call to AUTO_TESTS_f_f.
7958         (log10_test_data): Likewise.
7959         (log1p_test_data): Likewise.
7960         (log2_test_data): Likewise.
7961         (pow_test_data): Update call to AUTO_TESTS_ff_f.
7962         (pow_tonearest_test_data): Likewise.
7963         (sin_test_data): Update call to AUTO_TESTS_f_f.
7964         (sin_test): Use ALL_RM_TEST.
7965         (sin_tonearest_test_data): Remove.
7966         (sin_test_tonearest): Likewise.
7967         (sin_towardzero_test_data): Likewise.
7968         (sin_test_towardzero): Likewise.
7969         (sin_downward_test_data): Likewise.
7970         (sin_test_downward): Likewise.
7971         (sin_upward_test_data): Likewise.
7972         (sin_test_upward): Likewise.
7973         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7974         (sinh_test_data): Update call to AUTO_TESTS_f_f.
7975         (sinh_test): Use ALL_RM_TEST.
7976         (sinh_tonearest_test_data): Remove.
7977         (sinh_test_tonearest): Likewise.
7978         (sinh_towardzero_test_data): Likewise.
7979         (sinh_test_towardzero): Likewise.
7980         (sinh_downward_test_data): Likewise.
7981         (sinh_test_downward): Likewise.
7982         (sinh_upward_test_data): Likewise.
7983         (sinh_test_upward): Likewise.
7984         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7985         (sqrt_test): Use ALL_RM_TEST.
7986         (sqrt_tonearest_test_data): Remove.
7987         (sqrt_test_tonearest): Likewise.
7988         (sqrt_towardzero_test_data): Likewise.
7989         (sqrt_test_towardzero): Likewise.
7990         (sqrt_downward_test_data): Likewise.
7991         (sqrt_test_downward): Likewise.
7992         (sqrt_upward_test_data): Likewise.
7993         (sqrt_test_upward): Likewise.
7994         (tan_test_data): Update call to AUTO_TESTS_f_f.
7995         (tan_test): Use ALL_RM_TEST.
7996         (tan_tonearest_test_data): Remove.
7997         (tan_test_tonearest): Likewise.
7998         (tan_towardzero_test_data): Likewise.
7999         (tan_test_towardzero): Likewise.
8000         (tan_downward_test_data): Likewise.
8001         (tan_test_downward): Likewise.
8002         (tan_upward_test_data): Likewise.
8003         (tan_test_upward): Likewise.
8004         (tanh_test_data): Update call to AUTO_TESTS_f_f.
8005         (tgamma_test_data): Likewise.
8006         (y0_test_data): Likewise.
8007         (y1_test_data): Likewise.
8008         (yn_test_data): Update call to AUTO_TESTS_if_f.
8009         (main): Do not call removed functions.
8010
8011 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8012
8013         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8014         (ldexp_test_data): Remove.
8015         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8016         scalbn_test_data.
8017         (scalb_test): Use ALL_RM_TEST.
8018
8019 2014-03-19  Andreas Schwab  <schwab@suse.de>
8020
8021         * nscd/nscd.service: Also invalidate netgroup cache on reload.
8022
8023 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8024
8025         [BZ #16649]
8026         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8027         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8028         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8029         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8030         (__ASSUME_PREADV): Undefine.
8031         (__ASSUME_PWRITEV): Likewise.
8032
8033 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8034
8035         * bits/mman-linux.h: Add comment about non-Linux use.
8036         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8037         bits/mman-linux.h resting place.
8038
8039         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8040         * bits/mman-linux.h: ... here.
8041
8042 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8043
8044         * conform/conformtest.pl: Add standard definition when calling C
8045         preprocessor on data files.
8046         (checknamespace): Remove unused variable.
8047
8048 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8049
8050         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8051         minus_oflow, plus_uflow and minus_uflow in expected results.
8052         * math/libm-test.inc (scalbn_test_data): Add more tests of
8053         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
8054         minus_uflow.
8055         (scalbn_test): Use ALL_RM_TEST.
8056         (scalbln_test_data): Add more tests of negative arguments.  Use
8057         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8058         (scalbln_test): Use ALL_RM_TEST.
8059
8060 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8061
8062         * scripts/abilist.awk: Ignore symbols marked with .hidden.
8063
8064 2014-03-18  Will Newton  <will.newton@linaro.org>
8065
8066         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8067         inaccurate comment.
8068
8069 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8070
8071         * Makerules [!subdir] (check-abi): Exit with error status if a
8072         test failed.
8073
8074 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8075
8076         * math/libm-test.inc (nearbyint_test_data): Include all tests used
8077         for rint.  Include results for all rounding modes.
8078         (nearbyint_test): Use ALL_RM_TEST.
8079         (rint_test_data): Include all tests used for nearbyint.
8080
8081 2014-03-17  Will Newton  <will.newton@linaro.org>
8082
8083         * nptl/sysdeps/pthread/pthread.h: Revert previous
8084         change.
8085
8086         * sysdeps/generic/ldsodefs.h: Revert previous
8087         change.
8088
8089         * libio/genops.c: Revert previous change.
8090         * libio/libioP.h: Likewise.
8091         * stdio-common/vfprintf.c: Likewise.
8092
8093         * sysdeps/generic/math_private.h: Revert previous
8094         change.
8095
8096         * sysdeps/generic/math_private.h: Check whether
8097         HAVE_RM_CTX is defined with #ifdef rather
8098         than #if.
8099
8100         * argp/argp-fmtstream.h: Check whether
8101         __STRICT_ANSI__ is defined with #ifdef rather
8102         than #if.
8103         * argp/argp.h: Likewise.
8104
8105         * libio/genops.c: Check whether
8106         _IO_JUMPS_OFFSET is defined with #ifdef rather
8107         than #if.
8108         * libio/libioP.h: Likewise.
8109         * stdio-common/vfprintf.c: Likewise.
8110
8111         * sysdeps/generic/ldsodefs.h: Check whether
8112         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8113         than #if.
8114
8115         * nptl/sysdeps/pthread/pthread.h: Check
8116         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8117         its value.
8118
8119 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8120
8121         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8122         setting O_APPEND.
8123         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8124         test case.
8125
8126         [BZ #16680]
8127         * libio/fileops.c (_IO_file_open): Seek to end of file but
8128         don't cache the offset.
8129         (get_file_offset): Remove function.
8130         (do_ftell): Use cached offset when available.
8131         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8132         don't cache the offset.
8133         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8134         case.
8135         (do_one_test): Call it.
8136         (do_ftell_test): Fix up expected old offset for a+ mode.
8137         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8138         available.
8139
8140         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8141         up test status with function return status.
8142         (do_write_test): Likewise.
8143         (do_append_test): Likewise.
8144
8145         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8146         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8147         Remove.
8148
8149 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8150
8151         * math/gen-libm-test.pl (parse_args): Handle results specified for
8152         each rounding mode separately.
8153         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8154         tests and results from lrint_tonearest_test_data,
8155         lrint_towardzero_test_data, lrint_downward_test_data and
8156         lrint_upward_test_data.
8157         (lrint_test): Use ALL_RM_TEST.
8158         (lrint_tonearest_test_data): Remove.
8159         (lrint_test_tonearest): Likewise.
8160         (lrint_towardzero_test_data): Likewise.
8161         (lrint_test_towardzero): Likewise.
8162         (lrint_downward_test_data): Likewise.
8163         (lrint_test_downward): Likewise.
8164         (lrint_upward_test_data): Likewise.
8165         (lrint_test_upward): Likewise.
8166         (llrint_test_data): Merge in per-rounding-mode tests and results
8167         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8168         llrint_downward_test_data and llrint_upward_test_data.
8169         (llrint_test): Use ALL_RM_TEST.
8170         (llrint_tonearest_test_data): Remove.
8171         (llrint_test_tonearest): Likewise.
8172         (llrint_towardzero_test_data): Likewise.
8173         (llrint_test_towardzero): Likewise.
8174         (llrint_downward_test_data): Likewise.
8175         (llrint_test_downward): Likewise.
8176         (llrint_upward_test_data): Likewise.
8177         (llrint_test_upward): Likewise.
8178         (rint_test_data): Merge in per-rounding-mode tests and results
8179         from rint_tonearest_test_data, rint_towardzero_test_data,
8180         rint_downward_test_data and rint_upward_test_data.  Add
8181         per-rounding-mode results for tests not in those arrays.
8182         (rint_test): Use ALL_RM_TEST.
8183         (rint_tonearest_test_data): Remove.
8184         (rint_test_tonearest): Likewise.
8185         (rint_towardzero_test_data): Likewise.
8186         (rint_test_towardzero): Likewise.
8187         (rint_downward_test_data): Likewise.
8188         (rint_test_downward): Likewise.
8189         (rint_upward_test_data): Likewise.
8190         (rint_test_upward): Likewise.
8191         (main): Don't call removed functions.
8192
8193 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8194
8195         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8196         "Compiled on ..." crapola.  It is anti-useful.
8197
8198 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8199
8200         * scripts/evaluate-test.sh: Handle fourth argument to determine
8201         whether test run should stop on failure.
8202         * Makeconfig (stop-on-test-failure): New variable.
8203         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8204         $(stop-on-test-failure).
8205         * Makefile (tests): Give a summary of results from testing and
8206         exit with failure status if they include an ERROR or FAIL.
8207         (xtests): Likewise.
8208         * manual/install.texi (Configuring and compiling): Mention
8209         stop-on-test-failure=y.
8210         * INSTALL: Regenerated.
8211
8212 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8213
8214         * scripts/versionlist.awk: New file.
8215         * Makerules [$(build-shared) = yes]
8216         (postclean-generated): Add Versions.def, not Versions.def.v and
8217         Versions.def.v.i.
8218         ($(common-objpfx)Versions.def.v.i): Target removed.
8219         ($(common-objpfx)Versions.def): New target.
8220         ($(common-objpfx)Versions.all): Depend on that rather that
8221         $(common-objpfx)Versions.def.v.
8222         * Versions.def: File removed.
8223
8224         * Makeconfig (+gccwarn): Add -Wundef.
8225         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8226         a dl-sysdep.h breaking its contract.
8227         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8228         * include/stackinfo.h: New file.
8229         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8230         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8231         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8232         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8233         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8234         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8235         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8236         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8237         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8238         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8239         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8240         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8241         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8242         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8243         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8244
8245 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8246
8247         [BZ #16707]
8248         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8249         implementation.
8250         * math/libm-test.inc (round_test_data): Add more tests.
8251
8252         [BZ #16706]
8253         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8254         implementation.
8255         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8256
8257         [BZ #16701]
8258         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8259         implementation.
8260         * math/libm-test.inc (ceil_test_data): Add more tests.
8261
8262         * math/libm-test.inc (trunc_test_data): Add more tests related to
8263         BZ#16414.
8264
8265 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8266
8267         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8268         with #if rather than #ifdef.
8269         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8270
8271 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8272
8273         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8274         first.  Disable AVX-512 GCC support if assembler doesn't support
8275         it.
8276         * sysdeps/x86_64/configure: Regenerated.
8277
8278 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8279
8280         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8281         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8282         (__old_pthread_attr_setstack): Likewise.
8283         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8284         [!_STACK_GROWS_DOWN]: Likewise.
8285
8286 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8287
8288         * config.make.in (have-bash2): Delete.
8289         * configure.ac (libc_cv_have_bash2): Delete.
8290         * configure: Regenerate.
8291         * elf/Makefile (common-ldd-rewrite): Rename to ...
8292         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8293         (sh-ldd-rewrite): Delete.
8294         (bash-ldd-rewrite): Delete.
8295         (have-bash2): Delete checks.
8296         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8297         ldd-rewrite.
8298
8299         * config.make.in (have-ksh): Delete.
8300         (KSH): Delete.
8301         * configure.ac (libc_cv_have_ksh): Delete.
8302         * configure: Regenerate.
8303
8304         * elf/Makefile: Delete $(have-ksh) check.
8305         ($(objpfx)sotruss): Change KSH to BASH.
8306         * elf/sotruss.ksh: Rename to ...
8307         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8308         function style to match POSIX.  Drop ksh vim mode setting.
8309
8310         * manual/time.texi (Specifying the Time Zone with TZ): Change
8311         Tuesday to Thursday.
8312
8313         * debug/tst-longjmp_chk2.c: Update header comment.
8314         (stackoverflow_handler): Add comment.  Call assert on pass value.
8315
8316 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8317
8318         [BZ #16194]
8319         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8320         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8321         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8322         (La_x86_64_vector): Add zmm.
8323         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8324         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8325         ($(objpfx)tst-audit10): New target.
8326         ($(objpfx)tst-audit10.out): Likewise.
8327         (tst-audit10-ENV): New.
8328         (AVX512-CFLAGS): Likewise.
8329         (CFLAGS-tst-audit10.c): Likewise.
8330         (CFLAGS-tst-auditmod10a.c): Likewise.
8331         (CFLAGS-tst-auditmod10b.c): Likewise.
8332         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8333         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8334         * sysdeps/x86_64/configure: Regenerated.
8335         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8336         AVX-512 zmm register support.
8337         (_dl_x86_64_save_sse): Likewise.
8338         (_dl_x86_64_restore_sse): Likewise.
8339         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8340         size vector registers.
8341         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8342         (ZMM_SIZE): Likewise.
8343         * sysdeps/x86_64/tst-audit10.c: New file.
8344         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8345         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8346
8347 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8348
8349         * configure.ac (HAVE_EHDR_START): New check.
8350         * configure: Regenerated.
8351         * config.h.in (HAVE_EHDR_START): New #undef.
8352         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8353         assuming the lowest-addressed segment maps the start of the file.
8354
8355 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8356
8357         * INSTALL: Regenerated.
8358
8359 2014-03-13  Will Newton  <will.newton@linaro.org>
8360
8361         * manual/setjmp.texi (System V contexts): Improve
8362         clarity and grammar of documentation.
8363
8364 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8365
8366         [BZ #16381]
8367         * elf/Makefile (tests): Add tst-pie2.
8368         (tests-pie): Add tst-pie2.
8369         * elf/tst-pie2.c: New file.
8370         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8371         for ET_EXEC.
8372         * elf/rtld.c (map_doit): Load executable as lt_executable.
8373         (dl_main): Likewise.
8374
8375 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8376
8377         [BZ #16642]
8378         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8379         (__ASSUME_PSELECT): Undefine.
8380
8381 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8382
8383         [BZ #16689]
8384         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8385         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8386         static build.
8387         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8388         selector for static builds.
8389
8390 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8391
8392         [BZ #16695]
8393         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8394         key in the buffer.
8395
8396 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8397
8398         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8399         IFUNC selector for static builds.
8400
8401 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8402
8403         * sysdeps/mips/math_private.h [__mips_hard_float]
8404         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8405         libc_feresetround_mips_ctx.
8406         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8407         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8408         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8409
8410         [BZ #16677]
8411         * math/s_nextafter.c (__nextafter): Do not return value from
8412         overflowing computation.
8413         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8414         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8415         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8416         Likewise.
8417         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8418         Likewise.
8419         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8420         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8421
8422 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8423
8424         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8425         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8426         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8427         the new mov targetting sp.
8428
8429 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8430
8431         [BZ #16683]
8432         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8433         Define it for static builds as well.
8434         (NO_BZERO_IMPL): Likewise.
8435
8436 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8437
8438         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8439         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8440         multiarch strspn for PPC64.
8441         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8442         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8444         (__libc_ifunc_impl_list): Likewise.
8445         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8446         multiarch optimizations
8447         * string/strspn.c (strspn): Using macro to redefine symbol name.
8448
8449 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8450             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8451
8452         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8453         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8454         multiarch strncat for PPC64.
8455         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8456         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8457         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8458         (__libc_ifunc_impl_list): Likewise.
8459         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8460         multiarch optimizations
8461
8462 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8463
8464         [BZ #16639]
8465         * nscd/nscd.service: Make service type forking.
8466
8467 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8468
8469         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8470         sign in non default rounding modes.
8471         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8472
8473 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8474
8475         * math/libm-test.inc (ALL_RM_TEST): New macro.
8476         (ceil_test): Use ALL_RM_TEST.
8477         (cimag_test): Likewise.
8478         (conj_test): Likewise.
8479         (copysign_test): Likewise.
8480         (cproj_test): Likewise.
8481         (creal_test): Likewise.
8482         (fabs_test): Likewise.
8483         (floor_test): Likewise.
8484         (fmax_test): Likewise.
8485         (fmin_test): Likewise.
8486         (fmod_test): Likewise.
8487         (fpclassify_test): Likewise.
8488         (frexp_test): Likewise.
8489         (ilogb_test): Likewise.
8490         (isfinite_test): Likewise.
8491         (finite_test): Likewise.
8492         (isgreater_test): Likewise.
8493         (isgreaterequal_test): Likewise.
8494         (isinf_test): Likewise.
8495         (isless_test): Likewise.
8496         (islessequal_test): Likewise.
8497         (islessgreater_test): Likewise.
8498         (isnan_test): Likewise.
8499         (isnormal_test): Likewise.
8500         (issignaling_test): Likewise.
8501         (isunordered_test): Likewise.
8502         (logb_test): Likewise.
8503         (logb_downward_test_data): Remove.
8504         (logb_test_downward): Likewise.
8505         (lround_test): Use ALL_RM_TEST.
8506         (llround_test): Likewise.
8507         (modf_test): Likewise.
8508         (nexttoward_test): Likewise.
8509         (remainder_test): Likewise.
8510         (drem_test): Likewise.
8511         (remainder_tonearest_test_data): Likewise.
8512         (remainder_test_tonearest): Likewise.
8513         (drem_test_tonearest): Likewise.
8514         (remainder_towardzero_test_data): Likewise.
8515         (remainder_test_towardzero): Likewise.
8516         (drem_test_towardzero): Likewise.
8517         (remainder_downward_test_data): Likewise.
8518         (remainder_test_downward): Likewise.
8519         (drem_test_downward): Likewise.
8520         (remainder_upward_test_data): Likewise.
8521         (remainder_test_upward): Likewise.
8522         (drem_test_upward): Likewise.
8523         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
8524         (round_test): Use ALL_RM_TEST.
8525         (signbit_test): Likewise.
8526         (trunc_test): Likewise.
8527         (significand_test): Likewise.
8528         (main): Don't call removed functions.
8529
8530 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8531
8532         [BZ #16674]
8533         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8534         || __USE_XOPEN2K8].
8535         (ILL_ILLOPN): Likewise.
8536         (ILL_ILLADR): Likewise.
8537         (ILL_ILLTRP): Likewise.
8538         (ILL_PRVOPC): Likewise.
8539         (ILL_PRVREG): Likewise.
8540         (ILL_COPROC): Likewise.
8541         (ILL_BADSTK): Likewise.
8542         (FPE_INTDIV): Likewise.
8543         (FPE_INTOVF): Likewise.
8544         (FPE_FLTDIV): Likewise.
8545         (FPE_FLTOVF): Likewise.
8546         (FPE_FLTUND): Likewise.
8547         (FPE_FLTRES): Likewise.
8548         (FPE_FLTINV): Likewise.
8549         (FPE_FLTSUB): Likewise.
8550         (SEGV_MAPERR): Likewise.
8551         (SEGV_ACCERR): Likewise.
8552         (BUS_ADRALN): Likewise.
8553         (BUS_ADRERR): Likewise.
8554         (BUS_OBJERR): Likewise.
8555         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8556         (TRAP_TRACE): Likewise.
8557         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8558         __USE_XOPEN2K8].
8559         (CLD_KILLED): Likewise.
8560         (CLD_DUMPED): Likewise.
8561         (CLD_TRAPPED): Likewise.
8562         (CLD_STOPPED): Likewise.
8563         (CLD_CONTINUED): Likewise.
8564         (POLL_IN): Likewise.
8565         (POLL_OUT): Likewise.
8566         (POLL_MSG): Likewise.
8567         (POLL_ERR): Likewise.
8568         (POLL_PRI): Likewise.
8569         (POLL_HUP): Likewise.
8570         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8571         Likewise.
8572         (ILL_ILLOPN): Likewise.
8573         (ILL_ILLADR): Likewise.
8574         (ILL_ILLTRP): Likewise.
8575         (ILL_PRVOPC): Likewise.
8576         (ILL_PRVREG): Likewise.
8577         (ILL_COPROC): Likewise.
8578         (ILL_BADSTK): Likewise.
8579         (FPE_INTDIV): Likewise.
8580         (FPE_INTOVF): Likewise.
8581         (FPE_FLTDIV): Likewise.
8582         (FPE_FLTOVF): Likewise.
8583         (FPE_FLTUND): Likewise.
8584         (FPE_FLTRES): Likewise.
8585         (FPE_FLTINV): Likewise.
8586         (FPE_FLTSUB): Likewise.
8587         (SEGV_MAPERR): Likewise.
8588         (SEGV_ACCERR): Likewise.
8589         (BUS_ADRALN): Likewise.
8590         (BUS_ADRERR): Likewise.
8591         (BUS_OBJERR): Likewise.
8592         (BUS_MCEERR_AR): Likewise.
8593         (BUS_MCEERR_AO): Likewise.
8594         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8595         (TRAP_TRACE): Likewise.
8596         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8597         __USE_XOPEN2K8].
8598         (CLD_KILLED): Likewise.
8599         (CLD_DUMPED): Likewise.
8600         (CLD_TRAPPED): Likewise.
8601         (CLD_STOPPED): Likewise.
8602         (CLD_CONTINUED): Likewise.
8603         (POLL_IN): Likewise.
8604         (POLL_OUT): Likewise.
8605         (POLL_MSG): Likewise.
8606         (POLL_ERR): Likewise.
8607         (POLL_PRI): Likewise.
8608         (POLL_HUP): Likewise.
8609         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8610         (ILL_ILLOPN): Likewise.
8611         (ILL_ILLADR): Likewise.
8612         (ILL_ILLTRP): Likewise.
8613         (ILL_PRVOPC): Likewise.
8614         (ILL_PRVREG): Likewise.
8615         (ILL_COPROC): Likewise.
8616         (ILL_BADSTK): Likewise.
8617         (FPE_INTDIV): Likewise.
8618         (FPE_INTOVF): Likewise.
8619         (FPE_FLTDIV): Likewise.
8620         (FPE_FLTOVF): Likewise.
8621         (FPE_FLTUND): Likewise.
8622         (FPE_FLTRES): Likewise.
8623         (FPE_FLTINV): Likewise.
8624         (FPE_FLTSUB): Likewise.
8625         (SEGV_MAPERR): Likewise.
8626         (SEGV_ACCERR): Likewise.
8627         (BUS_ADRALN): Likewise.
8628         (BUS_ADRERR): Likewise.
8629         (BUS_OBJERR): Likewise.
8630         (BUS_MCEERR_AR): Likewise.
8631         (BUS_MCEERR_AO): Likewise.
8632         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8633         (TRAP_TRACE): Likewise.
8634         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8635         __USE_XOPEN2K8].
8636         (CLD_KILLED): Likewise.
8637         (CLD_DUMPED): Likewise.
8638         (CLD_TRAPPED): Likewise.
8639         (CLD_STOPPED): Likewise.
8640         (CLD_CONTINUED): Likewise.
8641         (POLL_IN): Likewise.
8642         (POLL_OUT): Likewise.
8643         (POLL_MSG): Likewise.
8644         (POLL_ERR): Likewise.
8645         (POLL_PRI): Likewise.
8646         (POLL_HUP): Likewise.
8647         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8648         Likewise.
8649         (ILL_ILLOPN): Likewise.
8650         (ILL_ILLADR): Likewise.
8651         (ILL_ILLTRP): Likewise.
8652         (ILL_PRVOPC): Likewise.
8653         (ILL_PRVREG): Likewise.
8654         (ILL_COPROC): Likewise.
8655         (ILL_BADSTK): Likewise.
8656         (ILL_BADIADDR): Likewise.
8657         (ILL_BREAK): Likewise.
8658         (FPE_INTDIV): Likewise.
8659         (FPE_INTOVF): Likewise.
8660         (FPE_FLTDIV): Likewise.
8661         (FPE_FLTOVF): Likewise.
8662         (FPE_FLTUND): Likewise.
8663         (FPE_FLTRES): Likewise.
8664         (FPE_FLTINV): Likewise.
8665         (FPE_FLTSUB): Likewise.
8666         (FPE_DECOVF): Likewise.
8667         (FPE_DECDIV): Likewise.
8668         (FPE_DECERR): Likewise.
8669         (FPE_INVASC): Likewise.
8670         (FPE_INVDEC): Likewise.
8671         (SEGV_MAPERR): Likewise.
8672         (SEGV_ACCERR): Likewise.
8673         (SEGV_PSTKOVF): Likewise.
8674         (BUS_ADRALN): Likewise.
8675         (BUS_ADRERR): Likewise.
8676         (BUS_OBJERR): Likewise.
8677         (BUS_MCEERR_AR): Likewise.
8678         (BUS_MCEERR_AO): Likewise.
8679         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8680         (TRAP_TRACE): Likewise.
8681         (TRAP_BRANCH): Likewise.
8682         (TRAP_HWBKPT): Likewise.
8683         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8684         __USE_XOPEN2K8].
8685         (CLD_KILLED): Likewise.
8686         (CLD_DUMPED): Likewise.
8687         (CLD_TRAPPED): Likewise.
8688         (CLD_STOPPED): Likewise.
8689         (CLD_CONTINUED): Likewise.
8690         (POLL_IN): Likewise.
8691         (POLL_OUT): Likewise.
8692         (POLL_MSG): Likewise.
8693         (POLL_ERR): Likewise.
8694         (POLL_PRI): Likewise.
8695         (POLL_HUP): Likewise.
8696         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8697         (ILL_ILLOPN): Likewise.
8698         (ILL_ILLADR): Likewise.
8699         (ILL_ILLTRP): Likewise.
8700         (ILL_PRVOPC): Likewise.
8701         (ILL_PRVREG): Likewise.
8702         (ILL_COPROC): Likewise.
8703         (ILL_BADSTK): Likewise.
8704         (FPE_INTDIV): Likewise.
8705         (FPE_INTOVF): Likewise.
8706         (FPE_FLTDIV): Likewise.
8707         (FPE_FLTOVF): Likewise.
8708         (FPE_FLTUND): Likewise.
8709         (FPE_FLTRES): Likewise.
8710         (FPE_FLTINV): Likewise.
8711         (FPE_FLTSUB): Likewise.
8712         (SEGV_MAPERR): Likewise.
8713         (SEGV_ACCERR): Likewise.
8714         (BUS_ADRALN): Likewise.
8715         (BUS_ADRERR): Likewise.
8716         (BUS_OBJERR): Likewise.
8717         (BUS_MCEERR_AR): Likewise.
8718         (BUS_MCEERR_AO): Likewise.
8719         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8720         (TRAP_TRACE): Likewise.
8721         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8722         __USE_XOPEN2K8].
8723         (CLD_KILLED): Likewise.
8724         (CLD_DUMPED): Likewise.
8725         (CLD_TRAPPED): Likewise.
8726         (CLD_STOPPED): Likewise.
8727         (CLD_CONTINUED): Likewise.
8728         (POLL_IN): Likewise.
8729         (POLL_OUT): Likewise.
8730         (POLL_MSG): Likewise.
8731         (POLL_ERR): Likewise.
8732         (POLL_PRI): Likewise.
8733         (POLL_HUP): Likewise.
8734         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8735         (ILL_ILLOPN): Likewise.
8736         (ILL_ILLADR): Likewise.
8737         (ILL_ILLTRP): Likewise.
8738         (ILL_PRVOPC): Likewise.
8739         (ILL_PRVREG): Likewise.
8740         (ILL_COPROC): Likewise.
8741         (ILL_BADSTK): Likewise.
8742         (FPE_INTDIV): Likewise.
8743         (FPE_INTOVF): Likewise.
8744         (FPE_FLTDIV): Likewise.
8745         (FPE_FLTOVF): Likewise.
8746         (FPE_FLTUND): Likewise.
8747         (FPE_FLTRES): Likewise.
8748         (FPE_FLTINV): Likewise.
8749         (FPE_FLTSUB): Likewise.
8750         (SEGV_MAPERR): Likewise.
8751         (SEGV_ACCERR): Likewise.
8752         (BUS_ADRALN): Likewise.
8753         (BUS_ADRERR): Likewise.
8754         (BUS_OBJERR): Likewise.
8755         (BUS_MCEERR_AR): Likewise.
8756         (BUS_MCEERR_AO): Likewise.
8757         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8758         (TRAP_TRACE): Likewise.
8759         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8760         __USE_XOPEN2K8].
8761         (CLD_KILLED): Likewise.
8762         (CLD_DUMPED): Likewise.
8763         (CLD_TRAPPED): Likewise.
8764         (CLD_STOPPED): Likewise.
8765         (CLD_CONTINUED): Likewise.
8766         (POLL_IN): Likewise.
8767         (POLL_OUT): Likewise.
8768         (POLL_MSG): Likewise.
8769         (POLL_ERR): Likewise.
8770         (POLL_PRI): Likewise.
8771         (POLL_HUP): Likewise.
8772         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8773         (ILL_ILLOPN): Likewise.
8774         (ILL_ILLADR): Likewise.
8775         (ILL_ILLTRP): Likewise.
8776         (ILL_PRVOPC): Likewise.
8777         (ILL_PRVREG): Likewise.
8778         (ILL_COPROC): Likewise.
8779         (ILL_BADSTK): Likewise.
8780         (FPE_INTDIV): Likewise.
8781         (FPE_INTOVF): Likewise.
8782         (FPE_FLTDIV): Likewise.
8783         (FPE_FLTOVF): Likewise.
8784         (FPE_FLTUND): Likewise.
8785         (FPE_FLTRES): Likewise.
8786         (FPE_FLTINV): Likewise.
8787         (FPE_FLTSUB): Likewise.
8788         (SEGV_MAPERR): Likewise.
8789         (SEGV_ACCERR): Likewise.
8790         (BUS_ADRALN): Likewise.
8791         (BUS_ADRERR): Likewise.
8792         (BUS_OBJERR): Likewise.
8793         (BUS_MCEERR_AR): Likewise.
8794         (BUS_MCEERR_AO): Likewise.
8795         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8796         (TRAP_TRACE): Likewise.
8797         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8798         __USE_XOPEN2K8].
8799         (CLD_KILLED): Likewise.
8800         (CLD_DUMPED): Likewise.
8801         (CLD_TRAPPED): Likewise.
8802         (CLD_STOPPED): Likewise.
8803         (CLD_CONTINUED): Likewise.
8804         (POLL_IN): Likewise.
8805         (POLL_OUT): Likewise.
8806         (POLL_MSG): Likewise.
8807         (POLL_ERR): Likewise.
8808         (POLL_PRI): Likewise.
8809         (POLL_HUP): Likewise.
8810         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8811         (ILL_ILLOPN): Likewise.
8812         (ILL_ILLADR): Likewise.
8813         (ILL_ILLTRP): Likewise.
8814         (ILL_PRVOPC): Likewise.
8815         (ILL_PRVREG): Likewise.
8816         (ILL_COPROC): Likewise.
8817         (ILL_BADSTK): Likewise.
8818         (ILL_DBLFLT): Likewise.
8819         (ILL_HARDWALL): Likewise.
8820         (FPE_INTDIV): Likewise.
8821         (FPE_INTOVF): Likewise.
8822         (FPE_FLTDIV): Likewise.
8823         (FPE_FLTOVF): Likewise.
8824         (FPE_FLTUND): Likewise.
8825         (FPE_FLTRES): Likewise.
8826         (FPE_FLTINV): Likewise.
8827         (FPE_FLTSUB): Likewise.
8828         (SEGV_MAPERR): Likewise.
8829         (SEGV_ACCERR): Likewise.
8830         (BUS_ADRALN): Likewise.
8831         (BUS_ADRERR): Likewise.
8832         (BUS_OBJERR): Likewise.
8833         (BUS_MCEERR_AR): Likewise.
8834         (BUS_MCEERR_AO): Likewise.
8835         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8836         (TRAP_TRACE): Likewise.
8837         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8838         __USE_XOPEN2K8].
8839         (CLD_KILLED): Likewise.
8840         (CLD_DUMPED): Likewise.
8841         (CLD_TRAPPED): Likewise.
8842         (CLD_STOPPED): Likewise.
8843         (CLD_CONTINUED): Likewise.
8844         (POLL_IN): Likewise.
8845         (POLL_OUT): Likewise.
8846         (POLL_MSG): Likewise.
8847         (POLL_ERR): Likewise.
8848         (POLL_PRI): Likewise.
8849         (POLL_HUP): Likewise.
8850         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8851         (ILL_ILLOPN): Likewise.
8852         (ILL_ILLADR): Likewise.
8853         (ILL_ILLTRP): Likewise.
8854         (ILL_PRVOPC): Likewise.
8855         (ILL_PRVREG): Likewise.
8856         (ILL_COPROC): Likewise.
8857         (ILL_BADSTK): Likewise.
8858         (FPE_INTDIV): Likewise.
8859         (FPE_INTOVF): Likewise.
8860         (FPE_FLTDIV): Likewise.
8861         (FPE_FLTOVF): Likewise.
8862         (FPE_FLTUND): Likewise.
8863         (FPE_FLTRES): Likewise.
8864         (FPE_FLTINV): Likewise.
8865         (FPE_FLTSUB): Likewise.
8866         (SEGV_MAPERR): Likewise.
8867         (SEGV_ACCERR): Likewise.
8868         (BUS_ADRALN): Likewise.
8869         (BUS_ADRERR): Likewise.
8870         (BUS_OBJERR): Likewise.
8871         (BUS_MCEERR_AR): Likewise.
8872         (BUS_MCEERR_AO): Likewise.
8873         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8874         (TRAP_TRACE): Likewise.
8875         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8876         __USE_XOPEN2K8].
8877         (CLD_KILLED): Likewise.
8878         (CLD_DUMPED): Likewise.
8879         (CLD_TRAPPED): Likewise.
8880         (CLD_STOPPED): Likewise.
8881         (CLD_CONTINUED): Likewise.
8882         (POLL_IN): Likewise.
8883         (POLL_OUT): Likewise.
8884         (POLL_MSG): Likewise.
8885         (POLL_ERR): Likewise.
8886         (POLL_PRI): Likewise.
8887         (POLL_HUP): Likewise.
8888         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8889         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8890
8891         [BZ #16670]
8892         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8893         before #include of <time.h>.
8894         [!__USE_XOPEN2K] (__need_timespec): Likewise.
8895         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8896         (test-xfail-UNIX98/sched.h/conform): Likewise.
8897
8898 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8899
8900         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8901         error absence of trapping exception support.
8902         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8903
8904 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8905
8906         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8907         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8908         * timezone/Makefile (testdata): Move definition above include of
8909         Rules.
8910         (test-zones): New variable.
8911         (tests-special): Add zone files.
8912         (build-testdata): Use $(evaluate-test).
8913
8914         * elf/Makefile (tests-special): Rename tests to end with .out.
8915         ($(objpfx)noload-mem): Likewise.
8916         ($(objpfx)tst-leaks1-mem): Likewise.
8917         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8918         * iconv/Makefile (xtests-special): Change test-iconvconfig to
8919         $(objpfx)test-iconvconfig.out.
8920         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
8921         set -e inside subshell and redirect output to file.
8922         * iconvdata/Makefile (generated): Rename tests to end with .out.
8923         Correct type.
8924         (tests-special): Rename tests to end with .out.
8925         ($(objpfx)mtrace-tst-loading): Likewise.
8926         * intl/Makefile (generated): Likewise.
8927         (tests-special): Likewise.
8928         ($(objpfx)mtrace-tst-gettext): Likewise.
8929         * misc/Makefile (generated): Likewise.
8930         (tests-special): Likewise.
8931         ($(objpfx)tst-error1-mem): Likewise.
8932         * nptl/Makefile (tests-special): Likewise.
8933         ($(objpfx)tst-stack3-mem): Likewise.
8934         (generated): Likewise.
8935         * posix/Makefile (generated): Likewise.
8936         (tests-special): Likewise.
8937         (xtests-special): Likewise.
8938         ($(objpfx)tst-fnmatch-mem): Likewise.
8939         ($(objpfx)bug-regex2-mem): Likewise.
8940         ($(objpfx)bug-regex14-mem): Likewise.
8941         ($(objpfx)bug-regex21-mem): Likewise.
8942         ($(objpfx)bug-regex31-mem): Likewise.
8943         ($(objpfx)tst-vfork3-mem): Likewise.
8944         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8945         ($(objpfx)tst-pcre-mem): Likewise.
8946         ($(objpfx)tst-boost-mem): Likewise.
8947         ($(objpfx)bug-ga2-mem): Likewise.
8948         ($(objpfx)bug-glob2-mem): Likewise.
8949         * resolv/Makefile (generate): Likewise.
8950         (tests-special): Likewise.
8951         (xtests-special): Likewise.
8952         (generated): Likewise.
8953         ($(objpfx)mtrace-tst-leaks): Likewise.
8954         ($(objpfx)mtrace-tst-leaks2): Likewise.
8955
8956         * scripts/merge-test-results.sh: New file.
8957         * Makefile (tests-special-notdir): New variable.
8958         (tests): Run merge-test-results.sh.
8959         (xtests): Likewise.
8960         * Rules (tests-special-notdir): New variable.
8961         (xtests-special-notdir): Likewise.
8962         (tests): Run merge-test-results.sh
8963         (xtests): Likewise.
8964
8965         * Makeconfig (test-xfail-name): New variable.
8966         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8967         compute variable name for expected failures.
8968         * conform/Makefile (conformtest-headers-data): New variable.
8969         (conformtest-standards): Likewise.
8970         (conformtest-headers-ISO): Likewise.
8971         (conformtest-headers-ISO99): Likewise.
8972         (conformtest-headers-ISO11): Likewise.
8973         (conformtest-headers-POSIX): Likewise.
8974         (conformtest-headers-XPG3): Likewise.
8975         (conformtest-headers-XPG4): Likewise.
8976         (conformtest-headers-UNIX98): Likewise.
8977         (conformtest-headers-XOPEN2K): Likewise.
8978         (conformtest-headers-POSIX2008): Likewise.
8979         (conformtest-headers-XOPEN2K8): Likewise.
8980         (conformtest-header-list-base): Likewise.
8981         (conformtest-header-list-tests): Likewise.
8982         (conformtest-header-base): Likewise.
8983         (conformtest-header-tests): Likewise.
8984         (tests-special): Add $(conformtest-header-list-tests).  If
8985         [$(fast-check) && !$(cross-compiling)], add
8986         $(conformtest-header-tests) instead of
8987         $(objpfx)run-conformtest.out.
8988         (generated): Add $(conformtest-header-list-base).  If
8989         [$(fast-check) && !$(cross-compiling)], add
8990         $(conformtest-header-base).  Remove previous setting.
8991         ($(conformtest-header-list-tests)): New target.
8992         (test-xfail-run-conformtest): Remove variable.
8993         ($(objpfx)run-conformtest.out): Remove target.
8994         (test-xfail-ISO11/complex.h/conform): New variable.
8995         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8996         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8997         (test-xfail-XPG3/varargs.h/conform): Likewise.
8998         (test-xfail-XPG4/varargs.h/conform): Likewise.
8999         (test-xfail-UNIX98/varargs.h/conform): Likewise.
9000         (test-xfail-XPG4/ndbm.h/conform): Likewise.
9001         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9002         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9003         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9004         (test-xfail-XPG3/fcntl.h/conform): Likewise.
9005         (test-xfail-XPG3/ftw.h/conform): Likewise.
9006         (test-xfail-XPG3/grp.h/conform): Likewise.
9007         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9008         (test-xfail-XPG3/limits.h/conform): Likewise.
9009         (test-xfail-XPG3/pwd.h/conform): Likewise.
9010         (test-xfail-XPG3/search.h/conform): Likewise.
9011         (test-xfail-XPG3/signal.h/conform): Likewise.
9012         (test-xfail-XPG3/stdio.h/conform): Likewise.
9013         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9014         (test-xfail-XPG3/string.h/conform): Likewise.
9015         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9016         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9017         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9018         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9019         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9020         (test-xfail-XPG3/sys/types.h/conform): Likewise.
9021         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9022         (test-xfail-XPG3/termios.h/conform): Likewise.
9023         (test-xfail-XPG3/time.h/conform): Likewise.
9024         (test-xfail-XPG3/unistd.h/conform): Likewise.
9025         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9026         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9027         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9028         (test-xfail-XPG4/netdb.h/conform): Likewise.
9029         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9030         (test-xfail-XPG4/signal.h/conform): Likewise.
9031         (test-xfail-XPG4/stdio.h/conform): Likewise.
9032         (test-xfail-XPG4/stdlib.h/conform): Likewise.
9033         (test-xfail-XPG4/stropts.h/conform): Likewise.
9034         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9035         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9036         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9037         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9038         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9039         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9040         (test-xfail-XPG4/sys/time.h/conform): Likewise.
9041         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9042         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9043         (test-xfail-XPG4/termios.h/conform): Likewise.
9044         (test-xfail-XPG4/ucontext.h/conform): Likewise.
9045         (test-xfail-XPG4/unistd.h/conform): Likewise.
9046         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9047         (test-xfail-POSIX/sched.h/conform): Likewise.
9048         (test-xfail-POSIX/signal.h/conform): Likewise.
9049         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9050         (test-xfail-POSIX/tar.h/conform): Likewise.
9051         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9052         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9053         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9054         (test-xfail-UNIX98/netdb.h/conform): Likewise.
9055         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9056         (test-xfail-UNIX98/sched.h/conform): Likewise.
9057         (test-xfail-UNIX98/signal.h/conform): Likewise.
9058         (test-xfail-UNIX98/stdio.h/conform): Likewise.
9059         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9060         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9061         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9062         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9063         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9064         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9065         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9066         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9067         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9068         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9069         (test-xfail-UNIX98/unistd.h/conform): Likewise.
9070         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9071         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9072         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9073         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9074         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9075         (test-xfail-XOPEN2K/math.h/conform): Likewise.
9076         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9077         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9078         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9079         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9080         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9081         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9082         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9083         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9084         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9085         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9086         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9087         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9088         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9089         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9090         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9091         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9092         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9093         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9094         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9095         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9096         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9097         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9098         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9099         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9100         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9101         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9102         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9103         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9104         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9105         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9106         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9107         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9108         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9109         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9110         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9111         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9112         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9113         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9114         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9115         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9116         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9117         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9118         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9119         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9120         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9121         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9122         (conformtest-cc-flags): Likewise.
9123         ($(conformtest-header-tests): New target.
9124         * conform/check-header-lists.sh: New file.
9125         * conform/run-conformtest.sh: Remove.
9126
9127         * conform/conformtest.pl: Allow ' and \ in values given for
9128         constants.
9129         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9130         inclusion.
9131         [POSIX] (sys/types.h): Likewise.
9132         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9133         inclusion.
9134         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9135         inclusion.
9136         * conform/data/signal.h-data (SIGIO): Remove expectation.
9137         [XPG3] (SIGBUS): Do not expect.
9138         [POSIX || XPG3] (SIGPOLL): Likewise.
9139         [POSIX || XPG3] (SIGPROF): Likewise.
9140         [POSIX || XPG3] (SIGSYS): Likewise.
9141         [XPG3] (SIGTRAP): Likewise.
9142         [POSIX || XPG3] (SIGURG): Likewise.
9143         [POSIX || XPG3] (SIGVTALRM): Likewise.
9144         [POSIX || XPG3] (SIGXCPU): Likewise.
9145         [POSIX || XPG3] (SIGXFSZ): Likewise.
9146         [POSIX] (SA_SIGINFO): Expect.
9147         [XPG3] (siginfo_t): Do not expect type or contents.
9148         [POSIX] (si_pid): Do not expect element.
9149         [POSIX] (si_uid): Likewise.
9150         [POSIX] (si_addr): Likewise.
9151         [POSIX] (si_status): Likewise.
9152         [POSIX] (si_band): Likewise.
9153         [XPG4] (si_value): Likewise.
9154         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9155         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9156         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9157         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9158         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9159         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9160         [POSIX || XPG3] (ILL_COPROC): Likewise.
9161         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9162         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9163         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9164         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9165         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9166         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9167         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9168         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9169         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9170         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9171         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9172         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9173         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9174         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9175         [POSIX || XPG3] (CLD_EXITED): Likewise.
9176         [POSIX || XPG3] (CLD_KILLED): Likewise.
9177         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9178         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9179         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9180         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9181         [POSIX || XPG3] (POLL_IN): Likewise.
9182         [POSIX || XPG3] (POLL_OUT): Likewise.
9183         [POSIX || XPG3] (POLL_MSG): Likewise.
9184         [POSIX || XPG3] (POLL_ERR): Likewise.
9185         [POSIX || XPG3] (POLL_PRI): Likewise.
9186         [POSIX || XPG3] (POLL_HUP): Likewise.
9187         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9188         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9189         (SIG*): Do not allow.
9190         [XPG3] (si_*): Likewise.
9191         [XPG3] (SI_*): Likewise.
9192         [XPG3 || XPG4] (sigev_*): Likewise.
9193         [XPG3 || XPG4] (SIGEV_*): Likewise.
9194         [XPG3 || XPG4] (sival_*): Likewise.
9195         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9196         [POSIX || XPG3] (BUS_*): Likewise.
9197         [POSIX || XPG3] (CLD_*): Likewise.
9198         [POSIX || XPG3] (FPE_*): Likewise.
9199         [POSIX || XPG3] (ILL_*): Likewise.
9200         [POSIX || XPG3] (POLL_*): Likewise.
9201         [POSIX || XPG3] (SEGV_*): Likewise.
9202         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9203         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9204         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9205         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9206         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9207         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9208         Specify type and value.
9209         (TVERSLEN): Likewise.
9210         (REGTYPE): Likewise.
9211         (AREGTYPE): Likewise.
9212         (LNKTYPE): Likewise.
9213         (SYMTYPE): Likewise.
9214         (CHRTYPE): Likewise.
9215         (BLKTYPE): Likewise.
9216         (DIRTYPE): Likewise.
9217         (FIFOTYPE): Likewise.
9218         (CONTTYPE): Likewise.
9219         (TSUID): Likewise.
9220         (TSGID): Likewise.
9221         (TSVTX): Likewise.
9222         (TUREAD): Likewise.
9223         (TUWRITE): Likewise.
9224         (TUEXEC): Likewise.
9225         (TGREAD): Likewise.
9226         (TGWRITE): Likewise.
9227         (TGEXEC): Likewise.
9228         (TOREAD): Likewise.
9229         (TOWRITE): Likewise.
9230         (TOEXEC): Likewise.
9231         [POSIX] (TSVTX): Expect constant.
9232
9233 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9234
9235         * Makefile (tests): Change dependencies to ....
9236         (tests-special): ... additions to this variable.
9237         (tests): Depend on $(tests-special).
9238         * Makerules (check-abi-list): New variable.
9239         (check-abi): Depend on $(check-abi-list).
9240         [$(subdir) = elf] (tests-special): Add
9241         $(objpfx)check-abi-libc.out.
9242         [$(build-shared) = yes && subdir] (tests-special): Add
9243         $(check-abi-list).
9244         [$(build-shared) = yes && subdir] (tests): Do not depend on
9245         check-abi.
9246         * Rules (tests): Depend on $(tests-special).
9247         (xtests): Depend on $(xtests-special).
9248         * catgets/Makefile (tests): Change dependencies to ....
9249         (tests-special): ... additions to this variable.
9250         * conform/Makefile (tests): Change dependencies to ....
9251         (tests-special): ... additions to this variable.
9252         * elf/Makefile (tests): Change dependencies to ....
9253         (tests-special): ... additions to this variable.
9254         * grp/Makefile (tests): Change dependencies to ....
9255         (tests-special): ... additions to this variable.
9256         * iconv/Makefile (xtests): Change dependencies to ....
9257         (xtests-special): ... additions to this variable.
9258         * iconvdata/Makefile (tests): Change dependencies to ....
9259         (tests-special): ... additions to this variable.
9260         * intl/Makefile (tests): Change dependencies to ....
9261         (tests-special): ... additions to this variable.  Also add
9262         $(objpfx)tst-gettext.out.
9263         * io/Makefile (tests): Change dependencies to ....
9264         (tests-special): ... additions to this variable.
9265         * libio/Makefile (tests): Change dependencies to ....
9266         (tests-special): ... additions to this variable.
9267         * malloc/Makefile (tests): Change dependencies to ....
9268         (tests-special): ... additions to this variable.
9269         * misc/Makefile (tests): Change dependencies to ....
9270         (tests-special): ... additions to this variable.
9271         * nptl/Makefile (tests): Change dependencies to ....
9272         (tests-special): ... additions to this variable.
9273         * nptl_db/Makefile (tests): Change dependencies to ....
9274         (tests-special): ... additions to this variable.
9275         * posix/Makefile (tests): Change dependencies to ....
9276         (tests-special): ... additions to this variable.
9277         (xtests): Change dependencies to ....
9278         (xtests-special): ... additions to this variable.
9279         * resolv/Makefile (tests): Change dependencies to ....
9280         (tests-special): ... additions to this variable.
9281         (xtests): Change dependencies to ....
9282         (xtests-special): ... additions to this variable.
9283         * stdio-common/Makefile (tests): Change dependencies to ....
9284         (tests-special): ... additions to this variable.
9285         (do-tst-unbputc): Remove target.
9286         (do-tst-printf): Likewise.
9287         * stdlib/Makefile (tests): Change dependencies to ....
9288         (tests-special): ... additions to this variable.
9289         * string/Makefile (tests): Change dependencies to ....
9290         (tests-special): ... additions to this variable.
9291         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9292         (tests-special): ... additions to this variable.
9293
9294         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9295         whole file.
9296         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9297         whole file.
9298         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9299         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9300
9301         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9302         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9303         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9304         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9305         * conform/data/libgen.h-data [XPG3]: Likewise.
9306         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9307         * conform/data/ndbm.h-data [XPG3]: Likewise.
9308         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9309         * conform/data/netdb.h-data [XPG3]: Likewise.
9310         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9311         * conform/data/poll.h-data [XPG3]: Likewise.
9312         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9313         * conform/data/strings.h-data [XPG3]: Likewise.
9314         * conform/data/stropts.h-data [XPG3]: Likewise.
9315         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9316         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9317         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9318         Likewise.
9319         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9320         * conform/data/sys/time.h-data [XPG3]: Likewise.
9321         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9322         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9323         * conform/data/sys/un.h-data [XPG3]: Likewise.
9324         * conform/data/syslog.h-data [XPG3]: Likewise.
9325         * conform/data/ucontext.h-data [XPG3]: Likewise.
9326         * conform/data/utmpx.h-data [XPG3]: Likewise.
9327         * conform/data/varargs.h-data [UNIX98]: Enable file.
9328
9329         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9330
9331         * math/libm-test.inc (struct test_f_f_data): Move expected results
9332         into structure for each rounding mode.
9333         (struct test_ff_f_data): Likewise.
9334         (struct test_ff_f_data_nexttoward): Likewise.
9335         (struct test_fi_f_data): Likewise.
9336         (struct test_fl_f_data): Likewise.
9337         (struct test_if_f_data): Likewise.
9338         (struct test_fff_f_data): Likewise.
9339         (struct test_c_f_data): Likewise.
9340         (struct test_f_f1_data): Likewise.
9341         (struct test_fF_f1_data): Likewise.
9342         (struct test_ffI_f1_data): Likewise.
9343         (struct test_c_c_data): Likewise.
9344         (struct test_cc_c_data): Likewise.
9345         (struct test_f_i_data): Likewise.
9346         (struct test_ff_i_data): Likewise.
9347         (struct test_f_l_data): Likewise.
9348         (struct test_f_L_data): Likewise.
9349         (struct test_fFF_11_data): Likewise.
9350         (RM_): New macro.
9351         (RM_FE_DOWNWARD): Likewise.
9352         (RM_FE_TONEAREST): Likewise.
9353         (RM_FE_TOWARDZERO): Likewise.
9354         (RM_FE_UPWARD): Likewise.
9355         (RUN_TEST_LOOP_f_f): Update references to expected results.
9356         (RUN_TEST_LOOP_2_f): Likewise.
9357         (RUN_TEST_LOOP_fff_f): Likewise.
9358         (RUN_TEST_LOOP_c_f): Likewise.
9359         (RUN_TEST_LOOP_f_f1): Likewise.
9360         (RUN_TEST_LOOP_fF_f1): Likewise.
9361         (RUN_TEST_LOOP_fI_f1): Likewise.
9362         (RUN_TEST_LOOP_ffI_f1): Likewise.
9363         (RUN_TEST_LOOP_c_c): Likewise.
9364         (RUN_TEST_LOOP_cc_c): Likewise.
9365         (RUN_TEST_LOOP_f_i): Likewise.
9366         (RUN_TEST_LOOP_f_i_tg): Likewise.
9367         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9368         (RUN_TEST_LOOP_f_b): Likewise.
9369         (RUN_TEST_LOOP_f_b_tg): Likewise.
9370         (RUN_TEST_LOOP_f_l): Likewise.
9371         (RUN_TEST_LOOP_f_L): Likewise.
9372         (RUN_TEST_LOOP_fFF_11): Likewise.
9373         * math/gen-libm-test.pl (parse_args): Output four copies of
9374         expected results for each test.
9375
9376         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9377         (__ASSUME_UTIMES): Remove.
9378         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9379         (__ASSUME_UTIMES): Likewise.
9380
9381         * math/gen-auto-libm-tests.c: Update comment on output format.
9382         (output_for_one_input_case): Generate before-rounding and
9383         after-rounding information as conditions on output flags not
9384         floating-point format.
9385         * math/auto-libm-test-out: Regenerated.
9386         * math/gen-libm-test.pl (cond_value): New function.
9387         (or_cond_value): Use cond_value.
9388         (generate_testfile): Handle conditional exceptions.
9389
9390 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9391
9392         * math/libm-test.inc (max_valid_error): New variable.
9393         (init_max_error): Take new argument specifying whether function
9394         results are exactly determined.  Set max_valid_error and bound
9395         other variables for errors based on this argument.
9396         (set_max_error): Do not record results above max_valid_error.
9397         (check_float_internal): Only accept errors of up to 0.5ulps if
9398         also at most max_valid_error.
9399         (START): Take new argument EXACT and pass it to init_max_error.
9400         (acos_test): Update call to START.
9401         (acos_test_tonearest): Likewise.
9402         (acos_test_towardzero): Likewise.
9403         (acos_test_downward): Likewise.
9404         (acos_test_upward): Likewise.
9405         (acosh_test): Likewise.
9406         (asin_test): Likewise.
9407         (asin_test_tonearest): Likewise.
9408         (asin_test_towardzero): Likewise.
9409         (asin_test_downward): Likewise.
9410         (asin_test_upward): Likewise.
9411         (asinh_test): Likewise.
9412         (atan_test): Likewise.
9413         (atanh_test): Likewise.
9414         (atan2_test): Likewise.
9415         (cabs_test): Likewise.
9416         (cacos_test): Likewise.
9417         (cacosh_test): Likewise.
9418         (carg_test): Likewise.
9419         (casin_test): Likewise.
9420         (casinh_test): Likewise.
9421         (catan_test): Likewise.
9422         (catanh_test): Likewise.
9423         (cbrt_test): Likewise.
9424         (ccos_test): Likewise.
9425         (ccosh_test): Likewise.
9426         (ceil_test): Likewise.
9427         (cexp_test): Likewise.
9428         (cimag_test): Likewise.
9429         (clog_test): Likewise.
9430         (clog10_test): Likewise.
9431         (conj_test): Likewise.
9432         (copysign_test): Likewise.
9433         (cos_test): Likewise.
9434         (cos_test_tonearest): Likewise.
9435         (cos_test_towardzero): Likewise.
9436         (cos_test_downward): Likewise.
9437         (cos_test_upward): Likewise.
9438         (cosh_test): Likewise.
9439         (cosh_test_tonearest): Likewise.
9440         (cosh_test_towardzero): Likewise.
9441         (cosh_test_downward): Likewise.
9442         (cosh_test_upward): Likewise.
9443         (cpow_test): Likewise.
9444         (cproj_test): Likewise.
9445         (creal_test): Likewise.
9446         (csin_test): Likewise.
9447         (csinh_test): Likewise.
9448         (csqrt_test): Likewise.
9449         (ctan_test): Likewise.
9450         (ctan_test_tonearest): Likewise.
9451         (ctan_test_towardzero): Likewise.
9452         (ctan_test_downward): Likewise.
9453         (ctan_test_upward): Likewise.
9454         (ctanh_test): Likewise.
9455         (ctanh_test_tonearest): Likewise.
9456         (ctanh_test_towardzero): Likewise.
9457         (ctanh_test_downward): Likewise.
9458         (ctanh_test_upward): Likewise.
9459         (erf_test): Likewise.
9460         (erfc_test): Likewise.
9461         (exp_test): Likewise.
9462         (exp_test_tonearest): Likewise.
9463         (exp_test_towardzero): Likewise.
9464         (exp_test_downward): Likewise.
9465         (exp_test_upward): Likewise.
9466         (exp10_test): Likewise.
9467         (exp10_test_tonearest): Likewise.
9468         (exp10_test_towardzero): Likewise.
9469         (exp10_test_downward): Likewise.
9470         (exp10_test_upward): Likewise.
9471         (pow10_test): Likewise.
9472         (exp2_test): Likewise.
9473         (expm1_test): Likewise.
9474         (expm1_test_tonearest): Likewise.
9475         (expm1_test_towardzero): Likewise.
9476         (expm1_test_downward): Likewise.
9477         (expm1_test_upward): Likewise.
9478         (fabs_test): Likewise.
9479         (fdim_test): Likewise.
9480         (floor_test): Likewise.
9481         (fma_test): Likewise.
9482         (fma_test_towardzero): Likewise.
9483         (fma_test_downward): Likewise.
9484         (fma_test_upward): Likewise.
9485         (fmax_test): Likewise.
9486         (fmin_test): Likewise.
9487         (fmod_test): Likewise.
9488         (fpclassify_test): Likewise.
9489         (frexp_test): Likewise.
9490         (hypot_test): Likewise.
9491         (ilogb_test): Likewise.
9492         (isfinite_test): Likewise.
9493         (finite_test): Likewise.
9494         (isgreater_test): Likewise.
9495         (isgreaterequal_test): Likewise.
9496         (isinf_test): Likewise.
9497         (isless_test): Likewise.
9498         (islessequal_test): Likewise.
9499         (islessgreater_test): Likewise.
9500         (isnan_test): Likewise.
9501         (isnormal_test): Likewise.
9502         (issignaling_test): Likewise.
9503         (isunordered_test): Likewise.
9504         (j0_test): Likewise.
9505         (j1_test): Likewise.
9506         (jn_test): Likewise.
9507         (ldexp_test): Likewise.
9508         (lgamma_test): Likewise.
9509         (gamma_test): Likewise.
9510         (lrint_test): Likewise.
9511         (lrint_test_tonearest): Likewise.
9512         (lrint_test_towardzero): Likewise.
9513         (lrint_test_downward): Likewise.
9514         (lrint_test_upward): Likewise.
9515         (llrint_test): Likewise.
9516         (llrint_test_tonearest): Likewise.
9517         (llrint_test_towardzero): Likewise.
9518         (llrint_test_downward): Likewise.
9519         (llrint_test_upward): Likewise.
9520         (log_test): Likewise.
9521         (log10_test): Likewise.
9522         (log1p_test): Likewise.
9523         (log2_test): Likewise.
9524         (logb_test): Likewise.
9525         (logb_test_downward): Likewise.
9526         (lround_test): Likewise.
9527         (llround_test): Likewise.
9528         (modf_test): Likewise.
9529         (nearbyint_test): Likewise.
9530         (nextafter_test): Likewise.
9531         (nexttoward_test): Likewise.
9532         (pow_test): Likewise.
9533         (pow_test_tonearest): Likewise.
9534         (pow_test_towardzero): Likewise.
9535         (pow_test_downward): Likewise.
9536         (pow_test_upward): Likewise.
9537         (remainder_test): Likewise.
9538         (drem_test): Likewise.
9539         (remainder_test_tonearest): Likewise.
9540         (drem_test_tonearest): Likewise.
9541         (remainder_test_towardzero): Likewise.
9542         (drem_test_towardzero): Likewise.
9543         (remainder_test_downward): Likewise.
9544         (drem_test_downward): Likewise.
9545         (remainder_test_upward): Likewise.
9546         (drem_test_upward): Likewise.
9547         (remquo_test): Likewise.
9548         (rint_test): Likewise.
9549         (rint_test_tonearest): Likewise.
9550         (rint_test_towardzero): Likewise.
9551         (rint_test_downward): Likewise.
9552         (rint_test_upward): Likewise.
9553         (round_test): Likewise.
9554         (scalb_test): Likewise.
9555         (scalbn_test): Likewise.
9556         (scalbln_test): Likewise.
9557         (signbit_test): Likewise.
9558         (sin_test): Likewise.
9559         (sin_test_tonearest): Likewise.
9560         (sin_test_towardzero): Likewise.
9561         (sin_test_downward): Likewise.
9562         (sin_test_upward): Likewise.
9563         (sincos_test): Likewise.
9564         (sinh_test): Likewise.
9565         (sinh_test_tonearest): Likewise.
9566         (sinh_test_towardzero): Likewise.
9567         (sinh_test_downward): Likewise.
9568         (sinh_test_upward): Likewise.
9569         (sqrt_test): Likewise.
9570         (sqrt_test_tonearest): Likewise.
9571         (sqrt_test_towardzero): Likewise.
9572         (sqrt_test_downward): Likewise.
9573         (sqrt_test_upward): Likewise.
9574         (tan_test): Likewise.
9575         (tan_test_tonearest): Likewise.
9576         (tan_test_towardzero): Likewise.
9577         (tan_test_downward): Likewise.
9578         (tan_test_upward): Likewise.
9579         (tanh_test): Likewise.
9580         (tgamma_test): Likewise.
9581         (trunc_test): Likewise.
9582         (y0_test): Likewise.
9583         (y1_test): Likewise.
9584         (yn_test): Likewise.
9585         (significand_test): Likewise.
9586
9587         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9588         individual tests in comment.
9589         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9590         (prev_max_error): New variable.
9591         (prev_real_max_error): Likewise.
9592         (prev_imag_max_error): Likewise.
9593         (compare_ulp_data): Don't refer to test names in comment.
9594         (find_test_ulps): Remove function.
9595         (find_function_ulps): Likewise.
9596         (find_complex_function_ulps): Likewise.
9597         (init_max_error): Take function name as argument.  Look up ulps
9598         for that function.
9599         (print_ulps): Remove function.
9600         (print_max_error): Use prev_max_error instead of calling
9601         find_function_ulps.
9602         (print_complex_max_error): Use prev_real_max_error and
9603         prev_imag_max_error instead of calling find_complex_function_ulps.
9604         (check_float_internal): Take max_ulp parameter instead of calling
9605         find_test_ulps.  Don't call print_ulps.
9606         (check_float): Update call to check_float_internal.
9607         (check_complex): Update calls to check_float_internal.
9608         (START): Pass argument to init_max_error.
9609         * math/gen-libm-test.pl (%results): Don't include "kind"
9610         information.
9611         (parse_ulps): Don't handle ulps of individual tests.
9612         (print_ulps_file): Likewise.
9613         (output_ulps): Likewise.
9614         * math/README.libm-test: Update.
9615         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9616         individual tests.
9617         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9618         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9619         * sysdeps/arm/libm-test-ulps: Likewise.
9620         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9621         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9622         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9623         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9624         * sysdeps/microblaze/libm-test-ulps: Likewise.
9625         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9626         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9627         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9628         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9629         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9630         * sysdeps/sh/libm-test-ulps: Likewise.
9631         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9632         * sysdeps/tile/libm-test-ulps: Likewise.
9633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9634
9635 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
9636
9637         * math/libm-test.inc (print_complex_max_error): Check separately
9638         whether real and imaginary errors are within allowed range and
9639         pass 0 to print_complex_function_ulps instead of value within
9640         allowed range.
9641
9642 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9643
9644         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9645         formatting.
9646         (get_handles_fopen): Likewise.
9647         (do_write_test): Likewise.
9648
9649         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9650
9651         * libio/fileops.c (do_ftell): Use cached offset when
9652         available.
9653         * libio/iofwide.c (do_ftell_wide): Likewise.
9654         * libio/iofdopen.c (_IO_new_fdopen): Don't use
9655         _IO_file_attach.
9656         * libio/wfileops.c (_IO_fwide): Don't cache offset.
9657
9658         [BZ #16532]
9659         * libio/libioP.h (get_file_offset): New function.
9660         * libio/fileops.c (get_file_offset): Likewise.
9661         (do_ftell): Likewise.
9662         (_IO_new_file_seekoff): Split out ftell logic.
9663         * libio/wfileops.c (do_ftell_wide): Likewise.
9664         (_IO_wfile_seekoff): Split out ftell logic.
9665         * libio/tst-ftell-active-handler.c: New test case.
9666         * libio/Makefile (tests): Add it.
9667
9668 2014-03-03  Roland McGrath  <roland@hack.frob.com>
9669
9670         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9671         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9672
9673 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9674
9675         [BZ #16639]
9676         * nscd/connections.c (nscd_init): Call do_exit.
9677         (start_threads): Call do_exit and notify_parent.
9678         (begin_drop_privileges): Call do_exit.
9679         (finish_drop_privileges): Likewise.
9680         * nscd/selinux.c (preserve_capabilities): Likewise.
9681         (install_real_capabilities): Likewise.
9682         (nscd_selinux_enabled): Likewise.
9683         (avc_create_thread): Likewise.
9684         (avc_alloc_lock): Likewise.
9685         (nscd_avc_init): Likewise.
9686         * nscd/nscd.c (parent_fd): New static variable.
9687         (main): Create a pipe between parent and child processes.
9688         Skip closing parent_fd.
9689         (monitor_child): New function.
9690         (do_exit): Likewise.
9691         (notify_parent): Likewise.
9692         * nscd/nscd.h (notify_parent): Likewise.
9693         (do_exit): Likewise.
9694
9695 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
9696
9697         * malloc/malloc.c (__libc_calloc): Revert last change.
9698
9699 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9700
9701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9702
9703 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9704
9705         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9706         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9707         implementation.
9708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9709         (__libc_ifunc_impl_list): Likewise.
9710         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9711         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9712         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9713         * string/strrchr.c: Define STRRCHR.
9714
9715 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
9716
9717         * benchtest/bench-strtok.c (simple_strtok): Delete.
9718         (strtok_string): Use as benchmark.
9719         * string/strtok (STRTOK): New macro.
9720
9721 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
9722
9723         * manual/threads.texi: Add header and standard comments to all
9724         functions.
9725
9726         * elf/dl-lookup.c (check_match): New function.
9727         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9728         (do_lookup_x): Remove nested function check_match. Use non-nested
9729         function check_match.
9730
9731 2014-02-28  Roland McGrath  <roland@hack.frob.com>
9732
9733         * csu/Makefile (generated, before-compile): Use += rather than =.
9734         * catgets/Makefile (generated, generated-dirs): Likewise.
9735         * debug/Makefile (generated): Likewise.
9736         * dlfcn/Makefile (generated): Likewise.
9737         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9738         * iconvdata/Makefile (before-compile, generated): Likewise.
9739         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9740         * libio/Makefile (generated): Likewise.
9741         * malloc/Makefile (generated): Likewise.
9742         * manual/Makefile (generated, generated-dirs): Likewise.
9743         * misc/Makefile (generated): Likewise.
9744         * posix/Makefile (generated): Likewise.
9745         * resolv/Makefile (generated): Likewise.
9746         * sunrpc/Makefile (generated, generated-dirs): Likewise.
9747         * timezone/Makefile (generated, generated-dirs): Likewise.
9748
9749         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9750
9751 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9752
9753         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9754         power8 implementation.
9755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9756         file: POWER8 llround ifunc implementation.
9757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9758         (__lllround): Add POWER8 implementation.
9759         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9760         POWER8 llround implementation.
9761
9762         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9763         power8 implementation.
9764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9765         file: POWER8 llrint ifunc implementation.
9766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9767         Add POWER8 implementation.
9768         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9769         POWER8 llrint implementation.
9770
9771         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9772         power8 implementation.
9773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9774         file: POWER8 finite ifunc implementation.
9775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9776         Add POWER8 implementation.
9777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9778         Likewise.
9779         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9780         POWER8 finite implementation.
9781         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9782
9783         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9784         power8 implementation.
9785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9786         file: POWER8 isinf ifunc implementation.
9787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9788         POWER8 implementation.
9789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9790         Likewise.
9791         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9792         isinf implementation.
9793         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9794
9795         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9796         (INIT_ARCH): Add hwcap2 initialization.
9797         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9798         power8 implementation.
9799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9800         file: POWER8 isnan ifunc implementation.
9801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9802         POWER8 implementation.
9803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9804         Likewise.
9805         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9806         isnan implementation.
9807         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9808
9809 2014-02-27  Joey Ye  <joey.ye@arm.com>
9810
9811         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9812         (_FP_NANFRAC_Q): Set to zero.
9813
9814 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9815
9816         [BZ #16623]
9817         * math/auto-libm-test-in: New test inputs.
9818         * math/auto-libm-test-out: Regenerate.
9819         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9820         and DA.
9821         (__cos): Likewise.
9822         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9823
9824 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
9825
9826         * scripts/evaluate-test.sh: Take new argument indicating whether
9827         failure is expected.
9828         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9829         indicating whether failure is expected.
9830         * conform/Makefile (test-xfail-run-conformtest): New variable.
9831         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9832         level.
9833         * posix/Makefile (test-xfail-annexc): New variable.
9834         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9835
9836 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
9837
9838         * argp/Makefile: Include Makeconfig immediately after defining
9839         subdir.
9840         * assert/Makefile: Likewise.
9841         * benchtests/Makefile: Likewise.
9842         * catgets/Makefile: Likewise.
9843         * conform/Makefile: Likewise.
9844         * crypt/Makefile: Likewise.
9845         * csu/Makefile: Likewise.
9846         (all): Remove target.
9847         * ctype/Makefile: Include Makeconfig immediately after defining
9848         subdir.
9849         * debug/Makefile: Likewise.
9850         * dirent/Makefile: Likewise.
9851         * dlfcn/Makefile: Likewise.
9852         * gmon/Makefile: Likewise.
9853         * gnulib/Makefile: Likewise.
9854         * grp/Makefile: Likewise.
9855         * gshadow/Makefile: Likewise.
9856         * hesiod/Makefile: Likewise.
9857         * hurd/Makefile: Likewise.
9858         (all): Remove target.
9859         * iconvdata/Makefile: Include Makeconfig immediately after
9860         defining subdir.
9861         * inet/Makefile: Likewise.
9862         * intl/Makefile: Likewise.
9863         * io/Makefile: Likewise.
9864         * libio/Makefile: Likewise.
9865         (all): Remove target.
9866         * locale/Makefile: Include Makeconfig immediately after defining
9867         subdir.
9868         * login/Makefile: Likewise.
9869         * mach/Makefile: Likewise.
9870         (all): Remove target.
9871         * malloc/Makefile: Include Makeconfig immediately after defining
9872         subdir.
9873         (all): Remove target.
9874         * manual/Makefile: Include Makeconfig immediately after defining
9875         subdir.
9876         * math/Makefile: Likewise.
9877         * misc/Makefile: Likewise.
9878         * nis/Makefile: Likewise.
9879         * nss/Makefile: Likewise.
9880         * po/Makefile: Likewise.
9881         (all): Remove target.
9882         * posix/Makefile: Include Makeconfig immediately after defining
9883         subdir.
9884         * pwd/Makefile: Likewise.
9885         * resolv/Makefile: Likewise.
9886         * resource/Makefile: Likewise.
9887         * rt/Makefile: Likewise.
9888         * setjmp/Makefile: Likewise.
9889         * shadow/Makefile: Likewise.
9890         * signal/Makefile: Likewise.
9891         * socket/Makefile: Likewise.
9892         * soft-fp/Makefile: Likewise.
9893         * stdio-common/Makefile: Likewise.
9894         * stdlib/Makefile: Likewise.
9895         * streams/Makefile: Likewise.
9896         * string/Makefile: Likewise.
9897         * sunrpc/Makefile: Likewise.
9898         (all): Remove target.
9899         * sysvipc/Makefile: Include Makeconfig immediately after defining
9900         subdir.
9901         * termios/Makefile: Likewise.
9902         * time/Makefile: Likewise.
9903         * timezone/Makefile: Likewise.
9904         (all): Remove target.
9905         * wcsmbs/Makefile: Include Makeconfig immediately after defining
9906         subdir.
9907         * wctype/Makefile: Likewise.
9908
9909 2014-02-26  Steve Ellcey  <sellcey@mips.com>
9910
9911         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9912         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9913         (libc_feholdexcept_setround_mips): Ditto.
9914         (libc_feholdsetround): New.
9915         (libc_feholdsetroundf): New.
9916         (libc_feholdsetroundl): New.
9917         (libc_feupdateenv_test_mips): New.
9918         (libc_feupdateenv_test): New.
9919         (libc_feupdateenv_testf): New.
9920         (libc_feupdateenv_testl): New.
9921         (libc_feresetround): New.
9922         (libc_feresetroundf): New.
9923         (libc_feresetroundl): New.
9924         (libc_fetestexcept_mips): New.
9925         (libc_fetestexcept): New.
9926         (libc_fetestexceptf): New.
9927         (libc_fetestexceptl): New.
9928         (HAVE_RM_CTX): New.
9929         (libc_feholdexcept_setround_mips_ctx): New.
9930         (libc_feholdexcept_setround_ctx): New.
9931         (libc_feholdexcept_setroundf_ctx): New.
9932         (libc_feholdexcept_setroundl_ctx): New.
9933         (libc_fesetenv_mips_ctx): New.
9934         (libc_fesetenv_ctx): New.
9935         (libc_fesetenv_ctxf): New.
9936         (libc_fesetenv_ctxl): New.
9937         (libc_feupdateenv_mips_ctx): New.
9938         (libc_feupdateenv_ctx): New.
9939         (libc_feupdateenvf_ctx): New.
9940         (libc_feupdateenvl_ctx): New.
9941         (libc_feholdsetround_mips_ctx): New.
9942         (libc_feholdsetround_ctx): New.
9943         (libc_feholdsetroundf_ctx): New.
9944         (libc_feholdsetroundl_ctx): New.
9945         (libc_feresetround_mips_ctx): New.
9946         (libc_feresetround_ctx): New.
9947         (libc_feresetroundf_ctx): New.
9948         (libc_feresetroundl_ctx): New.
9949
9950 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
9951
9952         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9953
9954         * manual/ipc.texi: New file.
9955         * manual/Makefile (chapters): Add ipc.
9956         * manual/job.texi: Add "Inter-Process Communication" to next.
9957         * manual/process.texi: Add "Inter-Process Communication" to prev.
9958
9959 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9960
9961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9962
9963 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
9964
9965         * malloc/malloc.c (__libc_calloc): Simplify implementation.
9966
9967         * manual/arith.texi: Fix spaces after sentences.
9968         * manual/charset.texi: Likewise.
9969         * manual/errno.texi: Likewise.
9970         * manual/install.texi: Likewise.
9971         * manual/llio.texi: Likewise.
9972         * manual/locale.texi: Likewise.
9973         * manual/maint.texi: Likewise.
9974         * manual/math.texi: Likewise.
9975         * manual/memory.texi: Likewise.
9976         * manual/message.texi: Likewise.
9977         * manual/probes.texi: Likewise.
9978         * manual/resource.texi: Likewise.
9979         * manual/signal.texi: Likewise.
9980         * manual/socket.texi: Likewise.
9981         * manual/stdio.texi: Likewise.
9982         * manual/string.texi: Likewise.
9983         * manual/time.texi: Likewise.
9984         * manual/users.texi: Likewise.
9985
9986 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
9987
9988         [BZ #16632]
9989         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9990         _DEFAULT_SOURCE is defined.
9991
9992 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
9993             Carlos O'Donell  <carlos@redhat.com>
9994
9995         [BZ #16613]
9996         * elf/dl-tls.c (_dl_count_modids): New function.
9997         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9998         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9999         audit library and increment generation counter.
10000         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10001         * elf/tst-audit9.c: New file.
10002         * elf/tst-auditmod9a.c: New file.
10003         * elf/tst-auditmod9b.c: New file.
10004         * elf/Makefile: Add rules to build and run tst-audit9.
10005
10006 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10007
10008         [BZ #15347]
10009         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10010
10011 2014-02-25  Will Newton  <will.newton@linaro.org>
10012
10013         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10014         (__longjmp): Restore sp and lr before restoring callee
10015         saved registers.  Add longjmp and longjmp_target
10016         SystemTap probe point.
10017         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10018         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10019         Define to zero to match jmpbuf layout.
10020         * sysdeps/arm/setjmp.S: Include stap-probe.h.
10021         (__sigsetjmp): Save sp and lr before saving callee
10022         saved registers.  Add setjmp SystemTap probe point.
10023
10024 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10025
10026         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10027
10028 2014-02-24  Andreas Schwab  <schwab@suse.de>
10029
10030         [BZ #15804]
10031         * elf/pldd.c (wait_for_ptrace_stop): New function.
10032         (main): Call it after attaching.
10033
10034 2014-02-22  Roland McGrath  <roland@hack.frob.com>
10035
10036         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10037         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10038         Versions files is now verboten.
10039         * hurd/Versions (libc: GLIBC_2.0):
10040         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10041         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10042         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10043         * mach/Versions: Likewise.
10044
10045         * csu/Versions: Remove unused %include.
10046         * resolv/Versions: Likewise.
10047
10048 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
10049
10050         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10051         ($(objpfx)check-local-headers.out): Likewise.
10052         ($(objpfx)begin-end-check.out): Likewise.
10053         * Makerules (check-abi-%.out): Likewise.
10054         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10055         ($(objpfx)test2.cat): Likewise.
10056         ($(objpfx)de/libc.cat): Likewise.
10057         ($(objpfx)test-gencat.out): Likewise.
10058         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10059         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10060         ($(objpfx)noload-mem): Likewise.
10061         ($(objpfx)tst-pathopt.out): Likewise.
10062         ($(objpfx)tst-rtld-load-self.out): Likewise.
10063         ($(objpfx)tst-array1-cmp.out): Likewise.
10064         ($(objpfx)tst-array1-static-cmp.out): Likewise.
10065         ($(objpfx)tst-array2-cmp.out): Likewise.
10066         ($(objpfx)tst-array3-cmp.out): Likewise.
10067         ($(objpfx)tst-array4-cmp.out): Likewise.
10068         ($(objpfx)tst-array5-cmp.out): Likewise.
10069         ($(objpfx)tst-array5-static-cmp.out): Likewise.
10070         ($(objpfx)check-textrel.out): Likewise.
10071         ($(objpfx)check-execstack.out): Likewise.
10072         ($(objpfx)check-localplt.out): Likewise.
10073         ($(objpfx)order2-cmp.out): Likewise.
10074         ($(objpfx)tst-leaks1-mem): Likewise.
10075         ($(objpfx)tst-leaks1-static-mem): Likewise.
10076         ($(objpfx)tst-initorder-cmp.out): Likewise.
10077         ($(objpfx)tst-initorder2-cmp.out): Likewise.
10078         ($(objpfx)tst-unused-dep.out): Likewise.
10079         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10080         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10081         * iconv/Makefile (test-iconvconfig): Likewise.
10082         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10083         ($(objpfx)iconv-test.out): Likewise.
10084         ($(objpfx)tst-tables.out): Likewise.
10085         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10086         ($(objpfx)tst-gettext.out): Likewise.
10087         ($(objpfx)tst-translit.out): Likewise.
10088         ($(objpfx)tst-gettext2.out): Likewise.
10089         ($(objpfx)tst-gettext4.out): Likewise.
10090         ($(objpfx)tst-gettext6.out): Likewise.
10091         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10092         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10093         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10094         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10095         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10096         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10097         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10098         ($(objpfx)wordexp-tst.out): Likewise.
10099         ($(objpfx)annexc.out): Likewise.
10100         ($(objpfx)tst-fnmatch-mem): Likewise.
10101         ($(objpfx)bug-regex2-mem): Likewise.
10102         ($(objpfx)bug-regex14-mem): Likewise.
10103         ($(objpfx)bug-regex21-mem): Likewise.
10104         ($(objpfx)bug-regex31-mem): Likewise.
10105         ($(objpfx)tst-vfork3-mem): Likewise.
10106         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10107         ($(objpfx)tst-pcre-mem): Likewise.
10108         ($(objpfx)tst-boost-mem): Likewise.
10109         ($(objpfx)tst-getconf.out): Likewise.
10110         ($(objpfx)bug-ga2-mem): Likewise.
10111         ($(objpfx)bug-glob2-mem): Likewise.
10112         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10113         ($(objpfx)mtrace-tst-leaks2): Likewise.
10114         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10115         ($(objpfx)tst-printf.out): Likewise.
10116         ($(objpfx)tst-setvbuf1.out): Likewise.
10117         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10118         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10119         ($(objpfx)tst-fmtmsg.out): Likewise.
10120         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10121         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10122
10123         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10124         * bits/sigaction.h [__USE_MISC]: Likewise.
10125         * bits/waitstatus.h: Update #endif comments.
10126         * ctype/ctype.h: Likewise.
10127         * dirent/dirent.h: Likewise.
10128         [__USE_MISC]: Remove redundant conditionals.
10129         * grp/grp.h: Update #endif comments.
10130         [__USE_GNU]: Remove redundant conditionals.
10131         [__USE_MISC]: Likewise.
10132         * inet/netinet/in.h [__USE_GNU]: Likewise.
10133         * io/sys/stat.h [__USE_MISC]: Likewise.
10134         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10135         * libio/bits/stdio.h: Update #endif comments.
10136         [__USE_MISC]: Remove redundant conditionals.
10137         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10138         * libio/stdio.h: Update #endif comments.
10139         [__USE_MISC]: Remove redundant conditionals.
10140         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10141         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10142         * math/math.h: Update #else and #endif comments.
10143         [__USE_MISC]: Remove redundant conditionals.
10144         * misc/sys/uio.h: Update #endif comments.
10145         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10146         * posix/glob.h [__USE_MISC]: Likewise.
10147         * posix/sys/types.h: Update #endif comments.
10148         [__USE_MISC]: Remove redundant conditionals.
10149         * posix/sys/wait.h: Update #endif comments.
10150         [__USE_MISC]: Remove redundant conditionals.
10151         * posix/unistd.h: Update #endif comments.
10152         [__USE_MISC]: Remove redundant conditionals.
10153         * pwd/pwd.h [__USE_GNU]: Likewise.
10154         [__USE_MISC]: Likewise.
10155         * resolv/netdb.h [__USE_GNU]: Likewise.
10156         * signal/signal.h: Update #endif comments.
10157         [__USE_MISC]: Remove redundant conditionals.
10158         * stdlib/stdlib.h: Update #else and #endif comments.
10159         [__USE_MISC]: Remove redundant conditionals.
10160         [__USE_GNU]: Likewise.
10161         * string/bits/string2.h [__USE_MISC]: Likewise.
10162         * string/string.h: Update #endif comments.
10163         [__USE_MISC]: Remove redundant conditionals.
10164         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10165         Likewise.
10166         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10167         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10168         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10169         Likewise.
10170         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10171         Likewise.
10172         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10173         comments.
10174         [__USE_MISC]: Remove redundant conditionals.
10175         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10176         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10177         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10178         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10179         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10180         Likewise.
10181         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10182         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10183         Likewise.
10184         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10185         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10186         Likewise.
10187         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10188         Likewise.
10189         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10190         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10191         Likewise.
10192         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10193         Likewise.
10194         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10195         * sysdeps/x86/bits/string.h: Update #endif comments.
10196         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10197         conditionals.
10198         * time/sys/time.h: Update #endif comments.
10199         * time/time.h: Likewise.
10200         [__USE_MISC]: Remove redundant conditionals.
10201
10202 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10203
10204         [BZ #16600]
10205         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10206
10207 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10208
10209         * Versions.def (librt): Add GLIBC_2.17.
10210
10211 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10212
10213         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10214         synonym for _SYS_AUXV_H to allow direct inclusion.
10215         * sysdeps/sparc/bits/hwcap.h: Likewise.
10216         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10217         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10218         * sysdeps/sparc/sysdep.h: Likewise.
10219
10220 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10221
10222         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10223
10224 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10225
10226         * benchtests/bench-strrchr.c: Print length instead of position.
10227
10228 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10229
10230         [BZ #16611]
10231         * sysdeps/unix/sysv/linux/kernel-features.h
10232         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10233         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10234         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10235         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10236         Likewise.
10237         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10238         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10239         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10240         (__ASSUME_SENDMMSG): Define instead of using previous
10241         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10242         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10243         (__ASSUME_SENDMMSG_SYSCALL): Define.
10244         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10245         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10246         Likewise.
10247         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10248         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10249         Likewise.
10250         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10251         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10252         Likewise.
10253         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10254         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10255         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10256         [__ASSUME_SENDMMSG]: Change conditionals to
10257         [__ASSUME_SENDMMSG_SOCKETCALL].
10258         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10259         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10260         Define.
10261         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10262         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10263         Likewise.
10264         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10265         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10266         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10267         [!__ASSUME_SENDMMSG]: Change conditional to
10268         [!__ASSUME_SENDMMSG_SOCKETCALL].
10269         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10270         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10271         Define.
10272
10273         [BZ #16610]
10274         * sysdeps/unix/sysv/linux/kernel-features.h
10275         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10276         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10277         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10278         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10279         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10280         [__i386__ || __sparc__]
10281         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10282         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10283         (__ASSUME_RECVMMSG): Define instead of using previous
10284         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10285         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10286         (__ASSUME_RECVMMSG_SYSCALL): Define.
10287         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10288         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10289         Likewise.
10290         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10291         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10292         Likewise.
10293         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10294         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10295         Likewise.
10296         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10297         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10298         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10299         [__ASSUME_RECVMMSG]: Change condition to
10300         [__ASSUME_RECVMMSG_SOCKETCALL].
10301         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10302         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10303         Define.
10304         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10305         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10306         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10307         Likewise.
10308         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10309         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10310         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10311         [!__ASSUME_RECVMMSG]: Change condition to
10312         [!__ASSUME_RECVMMSG_SOCKETCALL].
10313         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10314         (__ASSUME_RECVMMSG_SYSCALL): Define.
10315
10316         [BZ #16609]
10317         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10318         __powerpc__ || __s390__ || __sh__ || __sparc__]
10319         (__ASSUME_SOCKETCALL): Define.
10320         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10321         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10322         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10323         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10324         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10325         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10326         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10327         (__ASSUME_ACCEPT4): Define instead of using previous
10328         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10329         __powerpc__ || __sparc__ || __s390__)] condition.
10330         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10331         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10332         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10333         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10334         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10335         [!__ASSUME_ACCEPT4]: Change condition to
10336         [!__ASSUME_ACCEPT4_SOCKETCALL].
10337         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10338         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10339         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10340         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10341         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10342         __ASSUME_ACCEPT4_SYSCALL.
10343         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10344         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10345         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10346         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10347         __ASSUME_ACCEPT4_SYSCALL.
10348         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10349         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10350         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10351         [__ASSUME_ACCEPT4]: Change condition to
10352         [__ASSUME_ACCEPT4_SOCKETCALL].
10353         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10354         (__ASSUME_SOCKETCALL): Define.
10355         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10356         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10357         (__ASSUME_SOCKETCALL): Define.
10358         (__ASSUME_ACCEPT4): Remove.
10359         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10360         Define.
10361         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10362         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10363         Likewise.
10364         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10365         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10366
10367         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10368         macro.
10369         (HWCAP_ARM_LPAE): Likewise.
10370         (HWCAP_ARM_EVTSTRM): Likewise.
10371         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10372         Add vpfd32, lpae and evtstrm.
10373         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10374         Increase to 22.
10375
10376 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10377
10378         * math/auto-libm-test-in: Add tests of clog10.
10379         * math/auto-libm-test-out: Regenerated.
10380         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10381         * sysdeps/i386/fpu/libm-test-ulps: Update.
10382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10383
10384 2014-02-18  Andreas Schwab  <schwab@suse.de>
10385
10386         [BZ #16574]
10387         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10388         Store non-zero if the second buffer was newly allocated.
10389         (send_dg): Likewise.
10390         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10391         to send_vc and send_dg.
10392         (res_nsend): Pass NULL for ansp2_malloced.
10393         * resolv/res_query.c (__libc_res_nquery): Add parameter
10394         answerp2_malloced and pass it down to __libc_res_nsend.
10395         (res_nquery): Pass additional NULL to __libc_res_nquery.
10396         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10397         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10398         second answer buffer if answerp2_malloced was set.
10399         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10400         (__libc_res_nquerydomain): Add parameter
10401         answerp2_malloced and pass it down to __libc_res_nquery.
10402         (res_nquerydomain): Pass additional NULL to
10403         __libc_res_nquerydomain.
10404         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10405         additional NULL to __libc_res_nsend and __libc_res_nquery.
10406         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10407         additional NULL to __libc_res_nsearch.
10408         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10409         parameter of __libc_res_nsearch to check for separately allocated
10410         second buffer.
10411         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10412         __libc_res_nquery.
10413         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10414         additional NULL to __libc_res_nquery.
10415         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10416         __libc_res_nsearch.
10417         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10418         * include/resolv.h: Update prototypes of __libc_res_nquery,
10419         __libc_res_nsearch, __libc_res_nsend.
10420
10421 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10422
10423         * math/auto-libm-test-in: Add tests of fma.
10424         * math/auto-libm-test-out: Regenerated.
10425         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10426         (fma_towardzero_test_data): Likewise.
10427         (fma_downward_test_data): Likewise.
10428         (fma_upward_test_data): Likewise.
10429         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10430         mpc_mode.
10431         (rounding_modes): Add values for new field.
10432         (func_calc_method): Add value mpfr_fff_f.
10433         (func_calc_desc): Add mpfr_fff_f union field.
10434         (test_function): Add field exact_args.
10435         (FUNC): Add macro argument EXACT_ARGS.
10436         (FUNC_mpfr_f_f): Update call to FUNC.
10437         (FUNC_mpfr_f_f): Likewise.
10438         (FUNC_mpfr_ff_f): Likewise.
10439         (FUNC_mpfr_if_f): Likewise.
10440         (FUNC_mpc_c_f): Likewise.
10441         (FUNC_mpc_c_c): Likewise.
10442         (test_functions): Add fma.  Update calls to FUNC.
10443         (handle_input_arg): Add argument exact_args.
10444         (add_test): Update call to handle_input_arg.
10445         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10446         (output_for_one_input_case): Update call to calc_generic_results.
10447         Recalculate exact zero results in each rounding mode.
10448
10449         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10450         non-negative before setting low bit.
10451         * math/auto-libm-test-in: Mark one asin test possibly having
10452         spurious underflow.
10453         * math/auto-libm-test-out: Regenerated.
10454         * sysdeps/i386/fpu/libm-test-ulps: Update.
10455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10456
10457 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10458
10459         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10460         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10461         ports/sysdeps/unix/sysv/linux/microblaze.
10462         * README: Add missing listing for microblaze*-*-linux-gnu.
10463
10464 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10465
10466         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10467         duplicate code
10468
10469 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10470
10471         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10472         * sysdeps/unix/sysv/linux/ia64: Move directory from
10473         ports/sysdeps/unix/sysv/linux/ia64.
10474         * README: Update listing for ia64-*-linux-gnu.
10475
10476 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10477             Joseph Myers  <joseph@codesourcery.com>
10478
10479         * Makeconfig (test-name): New variable.
10480         (evaluate-test): Likewise.
10481         * Makerules (do-test-clean): Remove .test-result files.
10482         (common-mostlyclean): Likewise.
10483         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10484         * scripts/evaluate-test.sh: New file.
10485
10486 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10487
10488         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10489         separate $(objpfx)tst-fopenloc-cmp.out and
10490         $(objpfx)tst-fopenloc-mem.out targets.
10491         (tests): Update dependencies.
10492         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10493         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10494         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10495         (tst-rxspencer-no-utf8-ARGS): New variable.
10496         (tst-rxspencer-no-utf8-ENV): Likewise.
10497         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10498         instead of $(objpfx)tst-rxspencer-mem.
10499         ($(objpfx)tst-rxspencer-mem): Change target to
10500         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
10501         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10502         * posix/tst-rxspencer-no-utf8.c: New file.
10503
10504         * elf/Makefile ($(objpfx)order.out): Remove rule.
10505         [$(run-built-tests) = yes] (tests): Depend on
10506         $(objpfx)order-cmp.out.
10507         ($(objpfx)order-cmp.out): New rule.
10508         [$(run-built-tests) = yes] (tests): Depend on
10509         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10510         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10511         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10512         $(objpfx)tst-array5-static-cmp.out.
10513         ($(objpfx)tst-array1.out): Remove rule.
10514         ($(objpfx)tst-array1-cmp.out): New rule.
10515         ($(objpfx)tst-array1-static.out): Remove rule.
10516         ($(objpfx)tst-array1-static-cmp.out): New rule.
10517         ($(objpfx)tst-array2.out): Remove rule.
10518         ($(objpfx)tst-array2-cmp.out): New rule.
10519         ($(objpfx)tst-array3.out): Remove rule.
10520         ($(objpfx)tst-array3-cmp.out): New rule.
10521         ($(objpfx)tst-array4.out): Remove rule.
10522         ($(objpfx)tst-array4-cmp.out): New rule.
10523         ($(objpfx)tst-array5.out): Remove rule.
10524         ($(objpfx)tst-array5-cmp.out): New rule.
10525         ($(objpfx)tst-array5-static.out): Remove rule.
10526         ($(objpfx)tst-array5-static-cmp.out): New rule.
10527         [$(run-built-tests) = yes] (tests): Depend on
10528         $(objpfx)order2-cmp.out.
10529         ($(objpfx)order2.out): Remove rule.
10530         ($(objpfx)order2-cmp.out): New rule.
10531         ($(objpfx)tst-initorder.out): Remove rule.
10532         [$(run-built-tests) = yes] (tests): Depend on
10533         $(objpfx)tst-initorder-cmp.out.
10534         ($(objpfx)tst-initorder-cmp.out): New rule.
10535         ($(objpfx)tst-initorder2.out): Remove rule.
10536         [$(run-built-tests) = yes] (tests): Depend on
10537         $(objpfx)tst-initorder2-cmp.out.
10538         ($(objpfx)tst-initorder2-cmp.out): New rule.
10539         [$(run-built-tests) = yes] (tests): Depend on
10540         $(objpfx)tst-unused-dep-cmp.out.
10541         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10542         ($(objpfx)tst-unused-dep-cmp.out): New rule.
10543         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10544         on $(objpfx)tst-setvbuf1-cmp.out.
10545         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10546         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10547         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10548         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10549         ($(objpfx)tst-svc.out): Remove rule.
10550         ($(objpfx)tst-svc-cmp.out): New rule.
10551
10552 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
10553
10554         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10555         * ctype/ctype.h [__USE_MISC]: Likewise.
10556         * dirent/dirent.h [__USE_MISC]: Likewise.
10557         * grp/grp.h [__USE_MISC]: Likewise.
10558         * io/fcntl.h [__USE_MISC]: Likewise.
10559         * io/sys/stat.h [__USE_MISC]: Likewise.
10560         * libio/stdio.h [__USE_MISC]: Likewise.
10561         * posix/unistd.h [__USE_MISC]: Likewise.
10562         * pwd/pwd.h [__USE_MISC]: Likewise.
10563         * stdlib.h [__USE_MISC]: Likewise.
10564         * string/bits/string2.h [__USE_MISC]: Likewise.
10565         * string/string.h [__USE_MISC]: Likewise.
10566         * time/time.h [__USE_MISC]: Likewise.
10567
10568 2014-02-13  Andreas Schwab  <schwab@suse.de>
10569
10570         [BZ #16574]
10571         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10572         second answer buffer if it was separately allocated.
10573
10574 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
10575
10576         * sysdeps/mips/math-tests.h: Include <features.h>.
10577         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10578         (ROUNDING_TESTS_long_double): Do not define.
10579         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10580         (EXCEPTION_TESTS_long_double): Likewise.
10581         * sysdeps/mips/mips64/libm-test-ulps: Update.
10582
10583         * include/features.h (__USE_BSD): Remove macro definitions.
10584         (__USE_SVID): Likewise.
10585         (_BSD_SOURCE): Likewise.
10586         (_SVID_SOURCE): Likewise.
10587         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10588         from definition of _DEFAULT_SOURCE.
10589         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10590         [_DEFAULT_SOURCE].
10591         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10592         * bits/mman.h [__USE_BSD]: Likewise.
10593         * bits/termios.h [__USE_BSD]: Likewise.
10594         * bits/waitstatus.h [__USE_BSD]: Likewise.
10595         * ctype/ctype.h [__USE_SVID]: Likewise.
10596         * dirent/dirent.h [__USE_BSD]: Likewise.
10597         * grp/grp.h [__USE_SVID]: Likewise.
10598         [__USE_BSD]: Likewise.
10599         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10600         * io/fcntl.h [__USE_BSD]: Likewise.
10601         * io/ftw.h [__USE_BSD]: Likewise.
10602         * io/sys/stat.h [__USE_BSD]: Likewise.
10603         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10604         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10605         * libio/stdio.h [__USE_SVID]: Likewise.
10606         [__USE_BSD]: Likewise.
10607         * math/math.h [__USE_SVID]: Likewise.
10608         [__USE_BSD]: Likewise.
10609         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10610         * misc/bits/syslog.h [__USE_BSD]: Likewise.
10611         * misc/search.h [__USE_SVID]: Likewise.
10612         * misc/sys/mman.h [__USE_BSD]: Likewise.
10613         * misc/sys/syslog.h [__USE_BSD]: Likewise.
10614         * misc/sys/uio.h [__USE_BSD]: Likewise.
10615         * posix/bits/unistd.h [__USE_BSD]: Likewise.
10616         * posix/glob.h [__USE_BSD]: Likewise.
10617         * posix/regex.h [__USE_BSD]: Likewise.
10618         * posix/sys/types.h [__USE_BSD]: Likewise.
10619         [__USE_SVID]: Likewise.
10620         * posix/sys/utsname.h [__USE_SVID]: Likewise.
10621         * posix/sys/wait.h [__USE_BSD]: Likewise.
10622         [__USE_SVID]: Likewise.
10623         * posix/unistd.h [__USE_BSD]: Likewise.
10624         [__USE_SVID]: Likewise.
10625         * pwd/pwd.h [__USE_SVID]: Likewise.
10626         * resolv/netdb.h [__USE_BSD]: Likewise.
10627         * setjmp/setjmp.h [__USE_BSD]: Likewise.
10628         * signal/signal.h [__USE_BSD]: Likewise.
10629         [__USE_SVID]: Likewise.
10630         * socket/sys/socket.h [__USE_BSD]: Likewise.
10631         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10632         * stdlib/stdlib.h [__USE_BSD]: Likewise.
10633         [__USE_SVID]: Likewise.
10634         * string/bits/string2.h [__USE_BSD]: Likewise.
10635         [__USE_SVID]: Likewise.
10636         * string/bits/string3.h [__USE_BSD]: Likewise.
10637         * string/endian.h [__USE_BSD]: Likewise.
10638         * string/string.h [__USE_SVID]: Likewise.
10639         [__USE_BSD]: Likewise.
10640         * string/strings.h [__USE_BSD]: Likewise.
10641         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10642         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10643         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10644         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10645         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10646         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10647         Likewise.
10648         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10649         Likewise.
10650         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10651         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10652         Likewise.
10653         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10654         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10655         Likewise.
10656         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10657         Likewise.
10658         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10659         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10660         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10661         Likewise.
10662         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10663         Likewise.
10664         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10665         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10666         * termios/termios.h [__USE_BSD]: Likewise.
10667         * time/sys/time.h [__USE_BSD]: Likewise.
10668         * time/time.h [__USE_BSD]: Likewise.
10669         [__USE_SVID]: Likewise.
10670
10671         * Makefile (subdir_targets): Remove subdir_lint.out.
10672
10673         * stdio-common/Makefile (do-tst-unbputc): Remove target.
10674         (do-tst-printf): Likewise.
10675         (tests): Depend directly on $(objpfx)tst-unbputc.out and
10676         $(objpfx)tst-printf.out.
10677
10678         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10679
10680         * Makerules (check-abi-%): Change target to
10681         $(objpfx)check-abi-%.out.
10682         (check-abi target): Update dependencies.
10683         (check-abi-pattern variable): Redirect output of diff to $@.
10684         (check-abi variable): Likewise.
10685         * elf/Makefile (check-abi): Update dependencies.
10686
10687         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10688         unused.
10689         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10690         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10691         subnormal range.
10692         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10693         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10694         value has largest subnormal exponent.
10695         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10696         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10697         * sysdeps/aarch64/soft-fp/sfp-machine.h
10698         (_FP_TININESS_AFTER_ROUNDING): New macro.
10699         * sysdeps/alpha/soft-fp/sfp-machine.h
10700         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10701         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10702         Likewise.
10703         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10704         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10705         * sysdeps/mips/soft-fp/sfp-machine.h
10706         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10707         * sysdeps/powerpc/soft-fp/sfp-machine.h
10708         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10709         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10710         Likewise.
10711         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10712         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10713         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10714         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10715         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10716         Likewise.
10717
10718 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
10719
10720         [BZ #16545]
10721         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10722         model 1.
10723
10724 2014-02-12  Richard Henderson  <rth@redhat.com>
10725
10726         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10727         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10728         * sysdeps/unix/sysv/linux/alpha: Move directory from
10729         ports/sysdeps/unix/sysv/linux/alpha.
10730         * README: Update listing for alpha-*-linux-gnu.
10731
10732 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
10733
10734         * include/features.h: Update comment documenting feature test
10735         macros.
10736         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
10737         _DEFAULT_SOURCE.
10738         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10739         (_SVID_SOURCE): Likewise.
10740         (_DEFAULT_SOURCE): Update description of default features.
10741         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10742         with _GNU_SOURCE.
10743         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10744         (S_ISVTX): Likewise.
10745         * manual/math.texi (Mathematical Constants): Likewise.
10746         * manual/signal.texi (Interrupted Primitives): Likewise.
10747         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10748         * math/test-matherr.c (_SVID_SOURCE): Do not define.
10749         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10750         Don't refer to _SVID_SOURCE in warning text.
10751
10752         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10753
10754         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10755         already defined.
10756         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10757         * sysdeps/mips/dl-lookup.c: Remove.
10758         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10759
10760 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10761
10762         [BZ #16447]
10763         * math/auto-libm-test-in: Add testcase for expl.
10764         * math/auto-libm-test-out: Regenerate.
10765         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10766         calculation of unsafe.
10767         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10768
10769 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10770
10771         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10772         * sysdeps/unix/sysv/linux/aarch64: Move directory from
10773         ports/sysdeps/unix/sysv/linux/aarch64.
10774         * README: Update listing for aarch64*-*-linux-gnu.
10775
10776 2014-02-11  Will Newton  <will.newton@linaro.org>
10777
10778         * manual/probes.texi (Mathematical Function Probes): Use
10779         "triggered" instead of "hit".
10780
10781         * manual/probes.texi (Internal Probes): Add documentation
10782         of setjmp, longjmp and longjmp_target probes.
10783
10784         * include/stap-probe.h: Add comment about probe argument
10785         format.
10786
10787         * malloc/mtrace.c (attribute_hidden): Remove unused macro
10788         definition.  (tr_where, tr_freehook, tr_mallochook,
10789         tr_reallochook, tr_memalignhook): Use ANSI protoype.
10790
10791 2014-02-11  David S. Miller  <davem@davemloft.net>
10792
10793         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10794         processing int_tests.
10795
10796 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
10797
10798         * sysdeps/mips: Move directory from ports/sysdeps/mips.
10799         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10800         * sysdeps/unix/sysv/linux/mips: Move directory from
10801         ports/sysdeps/unix/sysv/linux/mips.
10802         * README: Update listing for mips-*-linux-gnu and
10803         mips64-*-linux-gnu.
10804
10805 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
10806
10807         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10808         * sysdeps/unix/sysv/linux/m68k: Move directory from
10809         ports/sysdeps/unix/sysv/linux/m68k.
10810         * README: Update listing for m68k-*-linux-gnu.
10811
10812 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
10813
10814         * sysdeps/tile: Move directory from ports/sysdeps/tile.
10815         * sysdeps/unix/sysv/linux/generic: Move directory from
10816         ports/sysdeps/unix/sysv/linux/generic.
10817         * sysdeps/unix/sysv/linux/tile: Move directory from
10818         ports/sysdeps/unix/sysv/linux/tile.
10819         * README: Update listing for tile*-*-linux-gnu.
10820
10821 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
10822
10823         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10824         __builtin_expect.
10825         * benchtests/bench-memmem.c (simple_memmem): Likewise.
10826         * catgets/open_catalog.c (__open_catalog): Likewise.
10827         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10828         * debug/confstr_chk.c: Likewise.
10829         * debug/fread_chk.c (__fread_chk): Likewise.
10830         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10831         * debug/getgroups_chk.c: Likewise.
10832         * debug/mbsnrtowcs_chk.c: Likewise.
10833         * debug/mbsrtowcs_chk.c: Likewise.
10834         * debug/mbstowcs_chk.c: Likewise.
10835         * debug/memcpy_chk.c: Likewise.
10836         * debug/memmove_chk.c: Likewise.
10837         * debug/mempcpy_chk.c: Likewise.
10838         * debug/memset_chk.c: Likewise.
10839         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10840         * debug/strcat_chk.c (__strcat_chk): Likewise.
10841         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10842         * debug/strncat_chk.c (__strncat_chk): Likewise.
10843         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10844         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10845         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10846         * debug/wcpncpy_chk.c: Likewise.
10847         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10848         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10849         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10850         * debug/wcsncpy_chk.c: Likewise.
10851         * debug/wcsnrtombs_chk.c: Likewise.
10852         * debug/wcsrtombs_chk.c: Likewise.
10853         * debug/wcstombs_chk.c: Likewise.
10854         * debug/wmemcpy_chk.c: Likewise.
10855         * debug/wmemmove_chk.c: Likewise.
10856         * debug/wmempcpy_chk.c: Likewise.
10857         * debug/wmemset_chk.c: Likewise.
10858         * dirent/scandirat.c (SCANDIRAT): Likewise.
10859         * dlfcn/dladdr1.c (dladdr1): Likewise.
10860         * dlfcn/dladdr.c (dladdr): Likewise.
10861         * dlfcn/dlclose.c (dlclose_doit): Likewise.
10862         * dlfcn/dlerror.c (__dlerror): Likewise.
10863         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10864         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10865         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10866         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10867         * dlfcn/dlsym.c (dlsym_doit): Likewise.
10868         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10869         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10870         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10871         Likewise.
10872         * elf/dl-conflict.c: Likewise.
10873         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10874         * elf/dl-dst.h: Likewise.
10875         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10876         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10877         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10878         * elf/dl-init.c (call_init, _dl_init): Likewise.
10879         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10880         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10881         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10882         Likewise.
10883         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10884         Likewise.
10885         * elf/dl-minimal.c (__libc_memalign): Likewise.
10886         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10887         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10888         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10889         * elf/dl-sym.c (do_sym): Likewise.
10890         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10891         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10892         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10893         * elf/dl-writev.h (_dl_writev): Likewise.
10894         * elf/ldconfig.c (search_dir): Likewise.
10895         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10896         (dl_main): Likewise.
10897         * elf/setup-vdso.h (setup_vdso): Likewise.
10898         * grp/compat-initgroups.c (compat_call): Likewise.
10899         * grp/fgetgrent.c (fgetgrent): Likewise.
10900         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10901         * grp/putgrent.c (putgrent): Likewise.
10902         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10903         Likewise.
10904         * hurd/hurdinit.c: Likewise.
10905         * iconvdata/8bit-gap.c (struct): Likewise.
10906         * iconvdata/ansi_x3.110.c : Likewise.
10907         * iconvdata/big5.c : Likewise.
10908         * iconvdata/big5hkscs.c : Likewise.
10909         * iconvdata/cp1255.c: Likewise.
10910         * iconvdata/cp1258.c : Likewise.
10911         * iconvdata/cp932.c : Likewise.
10912         * iconvdata/euc-cn.c: Likewise.
10913         * iconvdata/euc-jisx0213.c : Likewise.
10914         * iconvdata/euc-jp.c: Likewise.
10915         * iconvdata/euc-jp-ms.c : Likewise.
10916         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10917         * iconvdata/gb18030.c : Likewise.
10918         * iconvdata/gbbig5.c (const): Likewise.
10919         * iconvdata/gbgbk.c: Likewise.
10920         * iconvdata/gbk.c : Likewise.
10921         * iconvdata/ibm1364.c : Likewise.
10922         * iconvdata/ibm930.c : Likewise.
10923         * iconvdata/ibm932.c: Likewise.
10924         * iconvdata/ibm933.c : Likewise.
10925         * iconvdata/ibm935.c : Likewise.
10926         * iconvdata/ibm937.c : Likewise.
10927         * iconvdata/ibm939.c : Likewise.
10928         * iconvdata/ibm943.c: Likewise.
10929         * iconvdata/iso_11548-1.c: Likewise.
10930         * iconvdata/iso-2022-cn.c : Likewise.
10931         * iconvdata/iso-2022-cn-ext.c : Likewise.
10932         * iconvdata/iso-2022-jp-3.c: Likewise.
10933         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10934         * iconvdata/iso-2022-kr.c : Likewise.
10935         * iconvdata/iso646.c (gconv_end): Likewise.
10936         * iconvdata/iso_6937-2.c : Likewise.
10937         * iconvdata/iso_6937.c : Likewise.
10938         * iconvdata/iso8859-1.c: Likewise.
10939         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10940         * iconvdata/shift_jisx0213.c : Likewise.
10941         * iconvdata/sjis.c : Likewise.
10942         * iconvdata/t.61.c : Likewise.
10943         * iconvdata/tcvn5712-1.c : Likewise.
10944         * iconvdata/tscii.c: Likewise.
10945         * iconvdata/uhc.c : Likewise.
10946         * iconvdata/unicode.c (gconv_end): Likewise.
10947         * iconvdata/utf-16.c (gconv_end): Likewise.
10948         * iconvdata/utf-32.c (gconv_end): Likewise.
10949         * iconvdata/utf-7.c (base64): Likewise.
10950         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10951         * iconv/gconv_close.c (__gconv_close): Likewise.
10952         * iconv/gconv_open.c (__gconv_open): Likewise.
10953         * iconv/gconv_simple.c (internal_ucs4_loop_single)
10954         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10955         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10956         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10957         (ucs4le_internal_loop_single): Likewise.
10958         * iconv/iconv.c (iconv): Likewise.
10959         * iconv/iconv_close.c: Likewise.
10960         * iconv/loop.c (SINGLE): Likewise.
10961         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10962         * include/atomic.h: Likewise.
10963         * inet/inet6_option.c (option_alloc): Likewise.
10964         * intl/bindtextdom.c (set_binding_values): Likewise.
10965         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10966         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10967         * intl/localealias.c (read_alias_file): Likewise.
10968         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10969         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10970         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10971         * libio/fmemopen.c (fmemopen): Likewise.
10972         * libio/iofgets.c (_IO_fgets): Likewise.
10973         * libio/iofgets_u.c (fgets_unlocked): Likewise.
10974         * libio/iofgetws.c (fgetws): Likewise.
10975         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10976         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10977         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10978         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10979         * locale/findlocale.c (_nl_find_locale): Likewise.
10980         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10981         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10982         Likewise.
10983         * locale/setlocale.c (setlocale): Likewise.
10984         * login/programs/pt_chown.c (main): Likewise.
10985         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10986         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10987         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10988         (mmap, mmap64, mremap, munmap): Likewise.
10989         * math/e_exp2l.c: Likewise.
10990         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10991         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10992         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10993         * math/s_catan.c (__catan): Likewise.
10994         * math/s_catanf.c (__catanf): Likewise.
10995         * math/s_catanh.c (__catanh): Likewise.
10996         * math/s_catanhf.c (__catanhf): Likewise.
10997         * math/s_catanhl.c (__catanhl): Likewise.
10998         * math/s_catanl.c (__catanl): Likewise.
10999         * math/s_ccosh.c (__ccosh): Likewise.
11000         * math/s_ccoshf.c (__ccoshf): Likewise.
11001         * math/s_ccoshl.c (__ccoshl): Likewise.
11002         * math/s_cexp.c (__cexp): Likewise.
11003         * math/s_cexpf.c (__cexpf): Likewise.
11004         * math/s_cexpl.c (__cexpl): Likewise.
11005         * math/s_clog10.c (__clog10): Likewise.
11006         * math/s_clog10f.c (__clog10f): Likewise.
11007         * math/s_clog10l.c (__clog10l): Likewise.
11008         * math/s_clog.c (__clog): Likewise.
11009         * math/s_clogf.c (__clogf): Likewise.
11010         * math/s_clogl.c (__clogl): Likewise.
11011         * math/s_csin.c (__csin): Likewise.
11012         * math/s_csinf.c (__csinf): Likewise.
11013         * math/s_csinh.c (__csinh): Likewise.
11014         * math/s_csinhf.c (__csinhf): Likewise.
11015         * math/s_csinhl.c (__csinhl): Likewise.
11016         * math/s_csinl.c (__csinl): Likewise.
11017         * math/s_csqrt.c (__csqrt): Likewise.
11018         * math/s_csqrtf.c (__csqrtf): Likewise.
11019         * math/s_csqrtl.c (__csqrtl): Likewise.
11020         * math/s_ctan.c (__ctan): Likewise.
11021         * math/s_ctanf.c (__ctanf): Likewise.
11022         * math/s_ctanh.c (__ctanh): Likewise.
11023         * math/s_ctanhf.c (__ctanhf): Likewise.
11024         * math/s_ctanhl.c (__ctanhl): Likewise.
11025         * math/s_ctanl.c (__ctanl): Likewise.
11026         * math/w_pow.c: Likewise.
11027         * math/w_powf.c: Likewise.
11028         * math/w_powl.c: Likewise.
11029         * math/w_scalb.c (sysv_scalb): Likewise.
11030         * math/w_scalbf.c (sysv_scalbf): Likewise.
11031         * math/w_scalbl.c (sysv_scalbl): Likewise.
11032         * misc/error.c (error_tail): Likewise.
11033         * misc/pselect.c (__pselect): Likewise.
11034         * nis/nis_callback.c (__nis_create_callback): Likewise.
11035         * nis/nis_call.c (__nisfind_server): Likewise.
11036         * nis/nis_creategroup.c (nis_creategroup): Likewise.
11037         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11038         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11039         * nis/nis_getservlist.c (nis_getservlist): Likewise.
11040         * nis/nis_lookup.c (nis_lookup): Likewise.
11041         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11042         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11043         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11044         * nis/nis_xdr.c (xdr_endpoint): Likewise.
11045         * nis/nss_compat/compat-grp.c (getgrent_next_file)
11046         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11047         * nis/nss_compat/compat-initgroups.c (add_group)
11048         (internal_getgrent_r): Likewise.
11049         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11050         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11051         * nis/nss_compat/compat-spwd.c (getspent_next_file)
11052         (internal_getspnam_r): Likewise.
11053         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11054         (_nss_nis_getaliasbyname_r): Likewise.
11055         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11056         (_nss_nis_getntohost_r): Likewise.
11057         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11058         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11059         (_nss_nis_getgrgid_r): Likewise.
11060         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11061         (internal_nis_gethostent_r, internal_gethostbyname2_r)
11062         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11063         (_nss_nis_gethostbyname4_r): Likewise.
11064         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11065         (initgroups_netid): Likewise.
11066         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11067         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11068         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11069         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11070         (_nss_nis_getprotobynumber_r): Likewise.
11071         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11072         (_nss_nis_getsecretkey): Likewise.
11073         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11074         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11075         (_nss_nis_getpwuid_r): Likewise.
11076         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11077         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11078         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11079         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11080         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11081         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11082         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11083         Likewise.
11084         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11085         (_nss_nisplus_getntohost_r): Likewise.
11086         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11087         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11088         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11089         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11090         Likewise.
11091         * nis/nss_nisplus/nisplus-initgroups.c
11092         (_nss_nisplus_initgroups_dyn): Likewise.
11093         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11094         (_nss_nisplus_getnetbyaddr_r): Likewise.
11095         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11096         (_nss_nisplus_getprotobynumber_r): Likewise.
11097         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11098         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11099         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11100         Likewise.
11101         * nis/nss_nisplus/nisplus-service.c
11102         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11103         (_nss_nisplus_getservbyport_r): Likewise.
11104         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11105         (_nss_nisplus_getspnam_r): Likewise.
11106         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11107         Likewise.
11108         * nscd/aicache.c (addhstaiX): Likewise.
11109         * nscd/cache.c (cache_search, prune_cache): Likewise.
11110         * nscd/connections.c (register_traced_file, send_ro_fd)
11111         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11112         (main_loop_epoll): Likewise.
11113         * nscd/grpcache.c (addgrbyX): Likewise.
11114         * nscd/hstcache.c (addhstbyX): Likewise.
11115         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11116         * nscd/mem.c (gc, mempool_alloc): Likewise.
11117         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11118         (addinnetgrX): Likewise.
11119         * nscd/nscd-client.h (__nscd_acquire_maplock)
11120         (__nscd_drop_map_ref): Likewise.
11121         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11122         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11123         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11124         Likewise.
11125         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11126         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11127         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11128         (__nscd_get_map_ref): Likewise.
11129         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11130         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11131         Likewise.
11132         * nscd/pwdcache.c (addpwbyX): Likewise.
11133         * nscd/selinux.c (preserve_capabilities): Likewise.
11134         * nscd/servicescache.c (addservbyX): Likewise.
11135         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11136         * posix/fnmatch.c (fnmatch): Likewise.
11137         * posix/getopt.c (_getopt_internal_r): Likewise.
11138         * posix/glob.c (glob, glob_in_dir): Likewise.
11139         * posix/wordexp.c (exec_comm_child): Likewise.
11140         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11141         (getanswer_r, gaih_getanswer_slice): Likewise.
11142         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11143         * resolv/res_init.c: Likewise.
11144         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11145         * resolv/res_query.c (__libc_res_nquery): Likewise.
11146         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11147         Likewise.
11148         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11149         * stdio-common/perror.c (perror): Likewise.
11150         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11151         * stdio-common/tmpnam.c (tmpnam): Likewise.
11152         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11153         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11154         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11155         Likewise.
11156         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11157         * stdlib/putenv.c (putenv): Likewise.
11158         * stdlib/setenv.c (__add_to_environ): Likewise.
11159         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11160         * stdlib/strtol_l.c (INTERNAL): Likewise.
11161         * string/memmem.c (memmem): Likewise.
11162         * string/strerror.c (strerror): Likewise.
11163         * string/strnlen.c (__strnlen): Likewise.
11164         * string/test-memmem.c (simple_memmem): Likewise.
11165         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11166         * sunrpc/pm_getport.c (__get_socket): Likewise.
11167         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11168         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11169         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11170         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11171         Likewise.
11172         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11173         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11174         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11175         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11176         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11177         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11178         Likewise.
11179         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11180         Likewise.
11181         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11182         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11183         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11184         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11185         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11186         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11187         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11188         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11189         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11190         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11191         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11192         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11193         Likewise.
11194         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11195         Likewise.
11196         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11197         Likewise.
11198         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11199         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11200         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11201         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11202         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11203         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11204         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11205         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11206         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11207         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11208         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11209         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11210         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11211         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11212         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11213         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11214         Likewise.
11215         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11216         Likewise.
11217         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11218         Likewise.
11219         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11220         Likewise.
11221         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11222         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11223         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11224         Likewise.
11225         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11226         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11227         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11228         * sysdeps/posix/sleep.c: Likewise.
11229         * sysdeps/posix/tempname.c: Likewise.
11230         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11231         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11232         Likewise.
11233         * sysdeps/powerpc/powerpc32/dl-machine.h
11234         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11235         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11236         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11237         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11238         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11239         Likewise.
11240         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11241         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11242         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11243         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11244         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11245         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11246         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11247         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11248         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11249         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11250         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11251         (elf_machine_lazy_rel): Likewise.
11252         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11253         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11254         (elf_machine_lazy_rel): Likewise.
11255         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11256         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11257         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11258         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11259         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11260         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11261         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11262         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11263         Likewise.
11264         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11265         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11266         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11267         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11268         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11269         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11270         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11271         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11272         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11273         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11274         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11275         Likewise.
11276         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11277         (__posix_fallocate64_l64): Likewise.
11278         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11279         (posix_fallocate): Likewise.
11280         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11281         Likewise.
11282         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11283         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11284         (getifaddrs_internal): Likewise.
11285         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11286         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11287         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11288         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11289         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11290         (__posix_fallocate64_l64): Likewise.
11291         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11292         Likewise.
11293         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11294         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11295         (__get_clockfreq): Likewise.
11296         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11297         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11298         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11299         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11300         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11301         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11302         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11303         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11304         Likewise.
11305         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11306         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11307         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11308         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11309         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11310         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11311         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11312         Likewise.
11313         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11314         (posix_fallocate): Likewise.
11315         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11316         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11317         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11318         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11319         (elf_machine_rela, elf_machine_rela_relative)
11320         (elf_machine_lazy_rel): Likewise.
11321         * time/asctime.c (asctime_internal): Likewise.
11322         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11323         * time/tzset.c (__tzset_parse_tz): Likewise.
11324         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11325         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11326         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11327         * wcsmbs/wcsmbsload.h: Likewise.
11328
11329         [BZ #15894]
11330         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11331
11332         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11333         (arena_get2): Remove THREAD_STATS conditionals.
11334         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11335         (__malloc_stats, int): Likewise.
11336
11337 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11338
11339         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11340         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11341
11342         * manual/setjmp.texi: Fix typos/grammar errors.
11343
11344         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11345         Only return early when n is <= 0.  Delete unused return statement.
11346
11347         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11348         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11349         * debug/tst-longjmp_chk3.c: New file.
11350
11351         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11352         (test_main): Replace code with set_fortify_handler call.
11353         * debug/test-strcpy_chk.c: Likewise.
11354         * debug/tst-chk1.c: Likewise.
11355         * debug/tst-longjmp_chk.c: Likewise.
11356         * test-skeleton.c: Include fcntl.h & paths.h
11357         (set_fortify_handler): Define.
11358
11359         * debug/tst-longjmp_chk.c: Add header comment and include
11360         ../test-skeleton.c.
11361         (do_test): Mark static.
11362         (TEST_FUNCTION): Define.
11363
11364         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11365         (IP_PMTUDISC_INTERFACE): Likewise.
11366         (IP_MULTICAST_IF): Likewise.
11367         (IP_MULTICAST_TTL): Likewise.
11368         (IP_MULTICAST_LOOP): Likewise.
11369         (IP_ADD_MEMBERSHIP): Likewise.
11370         (IP_DROP_MEMBERSHIP): Likewise.
11371         (IP_UNBLOCK_SOURCE): Likewise.
11372         (IP_BLOCK_SOURCE): Likewise.
11373         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11374         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11375         (IP_MSFILTER): Likewise.
11376         (MCAST_JOIN_GROUP): Likewise.
11377         (MCAST_BLOCK_SOURCE): Likewise.
11378         (MCAST_UNBLOCK_SOURCE): Likewise.
11379         (MCAST_LEAVE_GROUP): Likewise.
11380         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11381         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11382         (MCAST_MSFILTER): Likewise.
11383         (IP_MULTICAST_ALL): Likewise.
11384         (IP_UNICAST_IF): Likewise.
11385
11386         * timezone/Makefile: Delete $(have-ksh) check.
11387         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11388         * timezone/tzselect.ksh: Add +x mode bits.
11389
11390         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11391         (ANON_INODE_FS_MAGIC): Likewise.
11392         (BDEVFS_MAGIC): Likewise.
11393         (BINFMTFS_MAGIC): Likewise.
11394         (BTRFS_TEST_MAGIC): Likewise.
11395         (CRAMFS_MAGIC_WEND): Likewise.
11396         (DEBUGFS_MAGIC): Likewise.
11397         (ECRYPTFS_SUPER_MAGIC): Likewise.
11398         (EXT3_SUPER_MAGIC): Likewise.
11399         (EXT4_SUPER_MAGIC): Likewise.
11400         (FUTEXFS_SUPER_MAGIC): Likewise.
11401         (HOSTFS_SUPER_MAGIC): Likewise.
11402         (HUGETLBFS_MAGIC): Likewise.
11403         (MINIX3_SUPER_MAGIC): Likewise.
11404         (MTD_INODE_FS_MAGIC): Likewise.
11405         (NILFS_SUPER_MAGIC): Likewise.
11406         (OPENPROM_SUPER_MAGIC): Likewise.
11407         (PIPEFS_MAGIC): Likewise.
11408         (PSTOREFS_MAGIC): Likewise.
11409         (QNX6_SUPER_MAGIC): Likewise.
11410         (RAMFS_MAGIC): Likewise.
11411         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11412         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11413         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11414         (SECURITYFS_MAGIC): Likewise.
11415         (SELINUX_MAGIC): Likewise.
11416         (SMACK_MAGIC): Likewise.
11417         (SOCKFS_MAGIC): Likewise.
11418         (SQUASHFS_MAGIC): Likewise.
11419         (STACK_END_MAGIC): Likewise.
11420         (TMPFS_MAGIC): Likewise.
11421         (USBDEVICE_SUPER_MAGIC): Likewise.
11422         (V9FS_MAGIC): Likewise.
11423         (XENFS_SUPER_MAGIC): Likewise.
11424         (CRAMFS_MAGIC): Fix typo in comment.
11425         (EXT2_SUPER_MAGIC): Update comment.
11426         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11427
11428 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11429
11430         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11431         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11432         * sysdeps/unix/sysv/linux/arm: Move directory from
11433         ports/sysdeps/unix/sysv/linux/arm.
11434         * README: Update listing for arm-*-linux-gnueabi.
11435
11436         * README: Remove mention of am33.
11437
11438 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11439
11440         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11441         than the comma operator, to avoid "rhs of comma has no effect"
11442         compiler warnings.
11443         (__sigfillset, __sigandset, __sigorset): Likewise.
11444         * include/signal.h (__sigemptyset): Likewise.
11445         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11446
11447 2014-02-07  Allan McRae  <allan@archlinux.org>
11448
11449         * version.h (RELEASE): Set to "development".
11450         (VERSION): Set to "2.19.90"
11451         * NEWS: Add 2.20 section.
11452
11453 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11454
11455         [BZ #16529]
11456         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11457
11458 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11459
11460         * manual/contrib.texi: Update entry for Carlos O'Donell,
11461         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11462
11463 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11464
11465         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11466
11467         * sysdeps/unix/sysv/linux/kernel-features.h
11468         [__LINUX_KERNEL_VERSION >= 0x020621]
11469         (__ASSUME_PROC_PID_TASK_COMM): Define.
11470
11471 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11472
11473         [BZ #16398]
11474         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11475         conversion when destination buffer does not have enough space.
11476         * libio/tst-ftell-partial-wide.c: New test case.
11477         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11478
11479         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11480         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11481         Leonard and Allan McRae.
11482
11483 2014-02-04  David S. Miller  <davem@davemloft.net>
11484
11485         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11486         32-bit.
11487
11488 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11489
11490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11491         New file
11492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11493         New file
11494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11495         New file.
11496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11497         New file.
11498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11499         New file.
11500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11501         New file.
11502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11503         New file.
11504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11505         New file.
11506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11507         New file.
11508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11509         New file.
11510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11511         New file.
11512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11513         New file.
11514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11515         New file.
11516
11517 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11518
11519         * nptl/shlib-versions: Change powerpc*le start to 2.17.
11520         * shlib-versions: Likewise.
11521
11522 2014-02-04  Roland McGrath  <roland@hack.frob.com>
11523             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11524
11525         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11526         (abilist-pattern): New variable, set to %-le.abilist.
11527
11528         * Makerules (abilist-pattern): New variable.
11529         (vpath): Use $(abilist-pattern) in place of %.abilist.
11530         (check-abi-% pattern rule): Likewise.
11531         (check-abi, update-abi): Likewise.
11532
11533 2014-02-04  Eric Wong  <normalperson@yhbt.net>
11534
11535         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11536
11537 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
11538
11539         * manual/startup.texi: Add next, previous, and top entries for
11540         the `Program Arguments' and `Environment Variables' nodes.
11541
11542 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
11543
11544         * manual/macros.texi: Add comments before MTASC-safety macros.
11545
11546         * manual/users.texi: Document MTASC-safety properties.
11547
11548         * manual/threads.texi (pthread_key_create, pthread_key_delete)
11549         (pthread_getspecific, pthread_setspecific): Format with
11550         @deftypefun, and add @safety note.
11551         * manual/signal.texi: Move comments that analyze the above
11552         functions to their home place.
11553
11554 2014-02-03  Allan McRae  <allan@archlinux.org>
11555
11556         * po/sl.po: Update Slovenian translation from translation project.
11557
11558 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
11559
11560         * manual/time.texi (timegm): Add missing blank after @c.
11561         Reported by Joseph Myers <joseph@codesourcery.com>.
11562
11563 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
11564
11565         * manual/check-safety.sh: New.
11566         * manual/Makefile ($(objpfx)stamp-summary): Run it.
11567
11568         * manual/terminal.texi: Document MTASC-safety properties.
11569
11570         * manual/filesys.texi: Document MTASC-safety properties.
11571
11572         * manual/errno.texi: Document MTASC-safety properties.
11573
11574         * manual/intro.texi: Document safety identifiers and
11575         conditionals.
11576
11577         * manual/string.texi (wcstok): Fix prototype.
11578         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11579
11580         * manual/time.texi: Document MTASC-safety properties.
11581
11582         * manual/string.texi: Document MTASC-safety properties.
11583
11584         * manual/threads.texi: Document MTASC-safety properties.
11585
11586         * manual/stdio.texi: Document MTASC-safety properties.
11587
11588         * manual/syslog.texi: Document MTASC-safety properties.
11589
11590         * manual/sysinfo.texi: Document MTASC-safety properties.
11591
11592         * manual/startup.texi: Document MTASC-safety properties.
11593
11594         * manual/socket.texi: Document MTASC-safety properties.
11595
11596         * manual/signal.texi: Document MTASC-safety properties.
11597
11598 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
11599
11600         * manual/setjmp.texi: Document MTASC-safety properties.
11601
11602         * manual/search.texi: Document MTASC-safety properties.
11603
11604         * manual/resource.texi: Document MTASC-safety properties.
11605
11606         * manual/process.texi: Document MTASC-safety properties.
11607
11608         * manual/platform.texi: Document MTASC-safety properties.
11609
11610         * manual/pipe.texi: Document MTASC-safety properties.
11611
11612         * manual/pattern.texi: Document MTASC-safety properties.
11613
11614         * manual/message.texi: Document MTASC-safety properties.
11615
11616         [BZ #12751]
11617         * manual/memory.texi: Document MTASC-safety properties.
11618
11619         * manual/math.texi: Document MTASC-safety properties.
11620
11621         * manual/locale.texi: Document MTASC-safety properties.
11622
11623         * manual/llio.texi: Document MTASC-safety properties.
11624
11625         * manual/libdl.texi: New.
11626
11627         * manual/lang.texi: Document MTASC-safety properties.
11628
11629         * manual/job.texi: Document MTASC-safety properties.
11630
11631         * manual/getopt.texi: Document MTASC-safety properties.
11632
11633         * manual/ctype.texi: Document MTASC-safety properties.
11634
11635 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
11636
11637         [BZ #16046]
11638         * csu/libc-tls.c (static_map): Remove variable.
11639         (__libc_setup_tls): Use main executable's link map for TLS data.
11640         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11641         casing for LM_ID_BASE and GL(dl_nns).
11642         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11643         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
11644         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11645         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11646         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11647         member.
11648         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11649         l_phnum members.
11650
11651 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
11652
11653         * manual/debug.texi: Document MTASC-safety properties.
11654
11655 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
11656
11657         [BZ #16510]
11658         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11659         of __x86_64__ when disabling x87 inline functions.
11660
11661 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
11662
11663         * manual/charset.texi: Document MTASC-safety properties.
11664
11665         * manual/crypt.texi: Document MTASC-safety properties.
11666
11667         * manual/conf.texi: Document MTASC-safety properties.
11668
11669         * manual/arith.texi: Document MTASC-safety properties.
11670
11671         * manual/argp.texi: Document MTASC-safety properties.
11672
11673         * manual/macros.texi: Introduce macros to document multi
11674         thread, asynchronous signal and asynchronous cancellation
11675         safety properties.
11676         * manual/intro.texi: Introduce the properties themselves.
11677
11678 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11679
11680         * sysdeps/sh/sh4/Makefile: New file.
11681
11682 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
11683
11684         * math/gen-libm-test.pl ($srcdir): New variable.
11685         ($auto_input): Use it.
11686
11687 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11688
11689         [BZ #16506]
11690         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11691         access beyond array bounds when parsing netgroups file.
11692
11693         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11694         the old buffer before realloc.
11695
11696 2014-01-27  Allan McRae  <allan@archlinux.org>
11697
11698         * po/fr.po: Update French translation from translation project.
11699
11700 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11701
11702         * sysdeps/sh/libm-test-ulps: Regenerate.
11703
11704 2014-01-24  David S. Miller  <davem@davemloft.net>
11705
11706         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11707
11708 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11709
11710         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11711         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11712
11713 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11714
11715         [BZ #16474]
11716         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11717         string pointers after reallocation.
11718
11719 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11720
11721         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11722         __SH4A__ instead of __SH_FPU_ANY__.
11723
11724 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11725
11726         * sysdeps/sh/fpu_control.h: New file.
11727         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11728         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11729         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11730         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11731         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11732         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11733         * sysdeps/sh/sys/ucontext.h: Remove.
11734         * sysdeps/sh/sys: Remove directory.
11735
11736 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11737
11738         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11739         s390/sys/ucontext.h.
11740         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11741         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11742
11743 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
11744
11745         [BZ #15605]
11746         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11747
11748 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11749
11750         [BZ#16431]
11751         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11752         Adjust the vDSO correctly for internal calls.
11753         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11754
11755 2014-01-20  Allan McRae  <allan@archlinux.org>
11756
11757         * po/ca.po: Update Catalan translation from translation project.
11758
11759 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
11760
11761         * sysdeps/s390/sotruss-lib.c: New file.
11762
11763 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11764
11765         [BZ#16430]
11766         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11767         (__GI___gettimeofday): Alias for a different internal symbol to avoid
11768         local calls issues by not having a PLT stub required for IFUNC calls.
11769         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11770
11771 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
11772
11773         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11774         * math/test-fpucw-static.c: Likewise.
11775
11776 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11777
11778         [BZ #16453]
11779         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11780
11781 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11782
11783         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11784         implementation for powerpc.
11785
11786 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
11787
11788         [BZ #14782]
11789         * sysdeps/posix/system.c (__libc_system): Do not enable
11790         asynchronous cancellation.
11791
11792 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11793
11794         [BZ #16427]
11795         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11796         handling only for numbers special also in the IEEE case.
11797
11798 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11799
11800         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11801
11802 2014-01-11  Allan McRae  <allan@archlinux.org>
11803
11804         * po/bg.po: Update Bulgarian translation from translation project.
11805
11806         * po/de.po: Update German translation from translation project.
11807
11808 2014-01-10  Roland McGrath  <roland@hack.frob.com>
11809
11810         * sysdeps/generic/gcc-compat.h: New file.
11811
11812 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11813
11814         * benchtests/asin-inputs: Correct slow inputs.
11815         * benchtests/acos-inputs: Likewise.
11816
11817 2014-01-10  Allan McRae  <allan@archlinux.org>
11818
11819         * po:sv.po: Update Swedish translation from translation project.
11820
11821         * po/vi.po: Update Vietnamese translation from translation project.
11822
11823         * po/eo.po: Update Esperanto translation from translation project.
11824
11825         * po/cs.po: Update Czech translation from translation project.
11826
11827         * po/nl.po: Update Dutch translation from translation project.
11828
11829         * po/pl.po: Update Polish translation from translation project.
11830
11831         * po/ru.po: Update Russian translation from translation project.
11832
11833         * po/uk.po: Update Ukrainian translation from translation project.
11834
11835 2014-01-08  Brooks Moses  <bmoses@google.com>
11836
11837         * elf/dl-load.c: Fix comment typo.
11838
11839 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
11840
11841         * po/header.pot: Rename to...
11842         * po/pot.header: ... this.
11843         * po/Makefile: Use pot.header.
11844
11845 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
11846             Maxim Kuvyrkov  <maxim@kugelworks.com>
11847
11848         [BZ #16394]
11849         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11850         SRC and DEST against LEN.
11851
11852 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11853
11854         [BZ #16414]
11855         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11856         implementation.
11857         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11858
11859 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11860
11861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11862
11863 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
11864
11865         [BZ #16408]
11866         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11867         for large positive arguments.
11868
11869 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
11870
11871         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11872
11873         * math/auto-libm-test-in: Mark various tests with
11874         xfail-rounding:ldbl-128ibm.
11875         * math/auto-libm-test-out: Regenerated.
11876
11877         [BZ #16407]
11878         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11879         Increase overflow threshold.
11880
11881 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
11882
11883         [BZ #14286]
11884         * stdio-common/vfprintf.c: Check for integer overflow.
11885
11886 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11887
11888         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11889         the first argument and return value of __tls_get_addr_internal.
11890
11891 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11892
11893         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11894         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11895
11896 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11897
11898         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11899         * sysdeps/s390/rtld-global-offsets.sym: New file.
11900         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11901         GLIBC_2.19 symbol.
11902         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11903         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11904         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11905         ... this.
11906         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11907         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11908         ... this.
11909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11910         Regenerate.
11911         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11912         Regenerate.
11913         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11914         halfs of GPRs for high_gprs contexts.
11915         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11916         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
11917         field.
11918         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11919         uc_flags field.
11920         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11921         64 bit versions:
11922         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11923         for high GPRs (uc_high_gprs) and for future extensions
11924         (__reserved).
11925         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11926         for future extensions (__reserved).
11927         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11928         64 bit versions:
11929         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11930         SC_HIGHGPRS offset definition.
11931         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11932         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11933
11934         * Versions.def: Add GLIBC_2.19 for libpthread.
11935         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11936         siglongjmp for libpthread with GLIBC_2.19 symver.
11937         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11938         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11939         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11940         * sysdeps/s390/__longjmp.c: New file.
11941         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11942         * sysdeps/s390/longjmp.c: New file.
11943         * sysdeps/s390/setjmp.S: New file.
11944         * sysdeps/s390/sigjmp.S: New file.
11945         * sysdeps/s390/v1-longjmp.c: New file.
11946         * sysdeps/s390/v1-setjmp.h: New file.
11947         * sysdeps/s390/v1-sigjmp.c: New file.
11948         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11949         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11950         GLIBC_2.19 version.
11951         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11952         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11953         versioned symbols for ____longjmp_chk.
11954         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11955         Likewise.
11956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11957         Regenerate.
11958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11959         Regenerate.
11960         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11961         Regenerate.
11962         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11963         Regenerate.
11964         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11965         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11966         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11967         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11968         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11969         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11970         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11971         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11972         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11973         * sysdeps/s390/rtld-__longjmp.c: New file.
11974         * sysdeps/s390/rtld-setjmp.S: New file.
11975
11976 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
11977
11978         [BZ #16400]
11979         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11980         Return -__logl (x) for small positive arguments without evaluating
11981         a polynomial.
11982
11983 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
11984
11985         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11986         Rename to ...
11987         (__ptrace_peeksiginfo_args): ... this.
11988         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11989         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11990         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11991
11992 2014-01-06  Allan McRae  <allan@archlinux.org>
11993
11994         * inet/netinet/in.h: Fix typo in comment.
11995
11996 2014-01-05  Andreas Jaeger  <aj@suse.de>
11997
11998         * sysdeps/i386/fpu/libm-test-ulps: Update.
11999
12000 2014-01-05  Allan McRae  <allan@archlinux.org>
12001
12002         * po/libc.pot: Regenerated.
12003
12004         * malloc/memusagestat.c: Fix gettext call formatting.
12005
12006 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12007
12008         * nscd/nscd.c: Improve usage() output.
12009
12010 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12011
12012         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12013         * sysdeps/unix/sysv/linux/configure: Regenerated.
12014         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12015         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12016
12017 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12018
12019         [BZ #16390]
12020         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12021         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12022
12023 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12024
12025         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12026         extra tokens at end of #undef directive.
12027         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12028         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12029         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12030
12031 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12032
12033         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12034
12035         * math/auto-libm-test-in: Mark various tests with
12036         xfail-rounding:ldbl-128ibm.
12037         * math/auto-libm-test-out: Regenerated.
12038
12039 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
12040
12041         [BZ #16386]
12042         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12043         numbers with subnormal high part when calculating exponent.
12044
12045         [BZ #16385]
12046         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12047         fabs.
12048
12049         [BZ #16384]
12050         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12051         M_LN2l.
12052         (__ieee754_acoshl): Use __log1pl not __log1p.
12053
12054 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
12055
12056         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12057         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12058         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12059         (grow_heap, heap_trim, _int_new_arena, get_free_list)
12060         (reused_arena, arena_get2): Convert to GNU style.
12061         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12062         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12063         (memalign_check, __malloc_set_state): Likewise.
12064         * malloc/mallocbug.c (main): Likewise.
12065         * malloc/malloc.c (__malloc_assert, malloc_init_state)
12066         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12067         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12068         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12069         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12070         (__posix_memalign, malloc_info): Likewise.
12071         * malloc/malloc.h: Likewise.
12072         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12073         (mallochook, memalignhook, reallochook, mabort): Likewise.
12074         * malloc/mcheck.h: Likewise.
12075         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12076         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12077         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12078         * malloc/morecore.c (__default_morecore): Likewise.
12079         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12080         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12081         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12082         (print_and_abort): Likewise.
12083         * malloc/obstack.h: Likewise.
12084         * malloc/set-freeres.c (__libc_freeres): Likewise.
12085         * malloc/tst-mallocstate.c (main): Likewise.
12086         * malloc/tst-mtrace.c (main): Likewise.
12087         * malloc/tst-realloc.c (do_test): Likewise.
12088
12089 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12090
12091         [BZ #16366]
12092         * nscd/netgroupcache.c (do_notfound): New function.
12093         (addgetnetgrentX): Use it.
12094
12095         [BZ # 16365]
12096         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12097         NSS_STATUS_NOTFOUND.
12098
12099 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12100
12101         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12103
12104 2014-01-01  Allan McRae  <allan@archlinux.org>
12105
12106         * scripts/update-copyrights: Update configure input file suffix.
12107
12108         * NEWS: Update copyright year.
12109         * catgets/gencat.c: Likewise.
12110         * csu/version.c: Likewise.
12111         * debug/catchsegv.sh: Likewise.
12112         * debug/pcprofiledump.c: Likewise.
12113         * debug/xtrace.sh: Likewise.
12114         * elf/ldconfig.c: Likewise.
12115         * elf/ldd.bash.in: Likewise.
12116         * elf/pldd.c: Likewise.
12117         * elf/sotruss.ksh: Likewise.
12118         * elf/sprof.c: Likewise.
12119         * iconv/iconv_prog.c: Likewise.
12120         * iconv/iconvconfig.c: Likewise.
12121         * locale/programs/locale.c: Likewise.
12122         * locale/programs/localedef.c: Likewise.
12123         * login/programs/pt_chown.c: Likewise.
12124         * malloc/memusage.sh: Likewise.
12125         * malloc/memusagestat.c: Likewise.
12126         * malloc/mtrace.pl: Likewise.
12127         * manual/libc.texinfo: Likewise.
12128         * nscd/nscd.c: Likewise.
12129         * nss/getent.c: Likewise.
12130         * nss/makedb.c: Likewise.
12131         * posix/getconf.c: Likewise.
12132         * scripts/test-installation.pl: Likewise.
12133
12134         * All files with FSF copyright notices: Update copyright dates
12135         using scripts/update-copyrights.
12136         * intl/plural.c: Regenerated.
12137         * locale/programs/charmap-kw.h: Likewise.
12138         * locale/programs/locfile-kw.h: Likewise.
12139
12140 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12141
12142         * sysdeps/unix/sysv/linux/configure: Regenerated.
12143         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12144         the linux/fanotify.h header.
12145         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12146         HAVE_LINUX_FANOTIFY_H is defined.
12147
12148 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12149
12150         * benchtests/cos-inputs: New inputs.
12151         * benchtests/sin-inputs: Likewise.
12152
12153         * benchtests/atan-inputs: New inputs. Fix name of multiple
12154         precision fallback inputs.
12155
12156         * benchtests/atanh-inputs: New inputs.
12157         * benchtests/tanh-inputs: Likewise.
12158
12159         * benchtests/acosh-inputs: New inputs.
12160         * benchtests/asinh-inputs: Likewise.
12161
12162         * benchtests/cosh-inputs: New inputs.
12163         * benchtests/sinh-inputs: Likewise.
12164
12165         * benchtests/acos-inputs: Add more inputs.
12166         * benchtests/asin-inputs: Likewise.
12167
12168 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12169
12170         [BZ #16375]
12171         * manual/arith.texi: Fix spelling.
12172         * manual/charset.texi: Likewise.
12173         * manual/errno.texi: Likewise.
12174         * manual/filesys.texi: Likewise.
12175         * manual/lang.texi: Likewise.
12176         * manual/llio.texi: Likewise.
12177         * manual/locale.texi: Likewise.
12178         * manual/message.texi: Likewise.
12179         * manual/resource.texi: Likewise.
12180         * manual/search.texi: Likewise.
12181         * manual/setjmp.texi: Likewise.
12182         * manual/stdio.texi: Likewise.
12183         * manual/string.texi: Likewise.
12184         * manual/sysinfo.texi: Likewise.
12185         * manual/time.texi: Likewise.
12186
12187 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12188
12189         * po/sl.po: New file.
12190
12191 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12192
12193         * .gitignore: Add core/.gdbinit/.gdb_history.
12194
12195 2013-12-27  Allan McRae  <allan@archlinux.org>
12196
12197         [BZ #16369]
12198         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12199         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12200
12201 2013-12-24  Brooks Moses  <bmoses@google.com>
12202
12203         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12204         all compilers that claim C++98 compliance, not just GCC.
12205         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12206         Likewise.
12207
12208 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12209
12210         * NEWS: Restore accidentally deleted bug-fix entries.
12211
12212 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12213             Ondřej Bílka  <neleai@seznam.cz>
12214
12215         [BZ #15073]
12216         * malloc/malloc.c (_int_free): Perform sanity check only if we
12217         have_lock.
12218
12219 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12220
12221         [BZ #12986]
12222         * manual/stdio.texi (String Input Conversions): Clarify that character
12223         classes are not supported.
12224
12225 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12226
12227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12228
12229 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12230
12231         [BZ #16337]
12232         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12233         Calculate results for small negative arguments directly rather
12234         than using reflection formula with special underflow handling.
12235
12236         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12237         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12238         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12239         (fchflags): Likewise.
12240         (revoke): Likewise.
12241         (setlogin): Likewise.
12242         (sigaltstack): Likewise.
12243         (wait4): Likewise.
12244         (sigblock): Remove.
12245         (sigsetmask): Likewise.
12246         (wait3): Likewise.
12247         (waitpid): Likewise.
12248         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12249         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12250         file.
12251         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12252         * sysdeps/unix/bsd/Makefile: ... here.
12253         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12254         * sysdeps/unix/bsd/Versions: ... here.
12255         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12256         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12257         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12258         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12259         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12260         * sysdeps/unix/bsd/sigblock.c: ... here.
12261         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12262         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12263         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12264         * sysdeps/unix/bsd/sigvec.c: ... here.
12265         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12266         * sysdeps/unix/bsd/tcdrain.c: ... here.
12267         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12268         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12269         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12270         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12271         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12272         * sysdeps/unix/bsd/wait.c: ... here.
12273         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12274         * sysdeps/unix/bsd/wait3.c: ... here.
12275         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12276         * sysdeps/unix/bsd/waitpid.c: ... here.
12277
12278 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12279
12280         [BZ #16356]
12281         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12282         round-to-nearest for [!USE_AS_EXPM1L].
12283         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12284         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12285         more tests of exp and exp10.  Expect some exp10 tests to miss
12286         exceptions or fail in directed rounding modes.
12287         * math/auto-libm-test-out: Regenerated.
12288         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12289         (exp10_test_tonearest): New function.
12290         (exp10_towardzero_test_data): New array.
12291         (exp10_test_towardzero): New function.
12292         (exp10_downward_test_data): New array.
12293         (exp10_test_downward): New function.
12294         (exp10_upward_test_data): New array.
12295         (exp10_test_upward): New function.
12296         (main): Call the new functions.
12297         * sysdeps/i386/fpu/libm-test-ulps: Update.
12298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12299
12300 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12301
12302         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12303         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12304         * math/auto-libm-test-out: Regenerated.
12305         * math/libm-test.inc (acosh_test_data): Add more tests.
12306         (atanh_test_data): Likewise.
12307         (ceil_test_data): Likewise.
12308         (copysign_test_data): Likewise.
12309         * sysdeps/i386/fpu/libm-test-ulps: Update.
12310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12311
12312         * timezone/checktab.awk: Update from tzcode 2013i.
12313         * timezone/private.h: Likewise.
12314         * timezone/scheck.c: Likewise.
12315         * timezone/tzfile.h: Likewise.
12316         * timezone/tzselect.ksh: Likewise.
12317         * timezone/zdump.c: Likewise.
12318         * timezone/zic.c: Likewise.
12319
12320         * math/auto-libm-test-in: Add tests of cpow.
12321         * math/auto-libm-test-out: Regenerated.
12322         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12323         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12324         mpc_cc_c.
12325         (func_calc_desc): Add mpc_cc_c union field.
12326         (test_functions): Add cpow.
12327         (special_fill_2pi): New function.
12328         (special_real_inputs): Add 2pi.
12329         (calc_generic_results): Handle mpc_cc_c.
12330         * sysdeps/i386/fpu/libm-test-ulps: Update.
12331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12332
12333         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12334         csqrt, ctan and ctanh.
12335         * math/auto-libm-test-out: Regenerated.
12336         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12337         (TEST_COND_x86): Likewise.
12338         (ccos_test_data): Use AUTO_TESTS_c_c.
12339         (ccosh_test_data): Likewise.
12340         (cexp_test_data): Likewise.
12341         (clog_test_data): Likewise.
12342         (csqrt_test_data): Likewise.
12343         (ctan_test_data): Likewise.
12344         (ctan_tonearest_test_data): Likewise.
12345         (ctan_towardzero_test_data): Likewise.
12346         (ctan_downward_test_data): Likewise.
12347         (ctan_upward_test_data): Likewise.
12348         (ctanh_test_data): Likewise.
12349         (ctanh_tonearest_test_data): Likewise.
12350         (ctanh_towardzero_test_data): Likewise.
12351         (ctanh_downward_test_data): Likewise.
12352         (ctanh_upward_test_data): Likewise.
12353         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12354         mpc_c_c.
12355         (func_calc_desc): Add mpc_c_c union field.
12356         (FUNC_mpc_c_c): New macro.
12357         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12358         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12359         ctanh.
12360         (special_fill_min_subnorm_p120): New function.
12361         (special_real_inputs): Add min_subnorm_p120.
12362         (calc_generic_results): Handle mpc_c_c.
12363         * sysdeps/i386/fpu/libm-test-ulps: Update.
12364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12365
12366 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12367
12368         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12369         (do_sin_slow): New functions.
12370         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12371         (cslow2, csloww1, csloww2): Use the new functions.
12372
12373         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12374         Use M to change sign of result instead of X.  Assume X is
12375         positive.
12376         (csloww1): Likewise.
12377         (__sin): Adjust.
12378         (__cos): Adjust.
12379
12380         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12381         arguments A and DA.
12382         (__sin): Adjust.
12383         (__cos): Likewise.
12384
12385         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12386         (__cos): Likewise.
12387         (sloww1): Don't adjust sign of DX.
12388         (csloww1): Likewise.
12389         (sloww2): Use X directly and don't adjust sign of DX.
12390         (csloww2): Likewise.
12391
12392 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12393
12394         * math/auto-libm-test-in: Add tests of cabs and carg.
12395         * math/auto-libm-test-out: Regenerated.
12396         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12397         (carg_test_data): Likewise.
12398         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12399         mpc_c_f.
12400         (func_calc_desc): Add mpc_c_f union field.
12401         (test_functions): Add cabs and carg.
12402         (calc_generic_results): Handle mpc_c_f.
12403
12404         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12405         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12406         as a macro and a compat symbol.
12407         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12408         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12409         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12410         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12411         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12412         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12413         not use .hidden.
12414         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12415         Likewise.
12416         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12417         Likewise.
12418         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12419         Likewise.
12420         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12421         Likewise.
12422         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12423         Likewise.
12424         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12425         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12426         from GLIBC_2.3.2.
12427
12428 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12429
12430         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12431
12432 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12433
12434         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12435         trailing whitespace removed.
12436         * scripts/config.guess: Update to version 2013-11-29.
12437         * scripts/config.sub: Update to version 2013-10-01.
12438
12439         * math/auto-libm-test-in: Add tests of sincos.
12440         * math/auto-libm-test-out: Regenerated.
12441         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12442         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12443         mpfr_f_11.
12444         (func_calc_desc): Add mpfr_f_11 union field.
12445         (test_functions): Add sincos.
12446         (calc_generic_results): Handle mpfr_f_11.
12447         * sysdeps/i386/fpu/libm-test-ulps: Update.
12448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12449
12450 2013-12-19  Andreas Schwab  <schwab@suse.de>
12451
12452         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12453         CALL_MCOUNT.
12454         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12455         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12456         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12457
12458 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12459
12460         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12461         * sysdeps/i386/fpu/libm-test-ulps: Update.
12462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12463
12464         [BZ #16293]
12465         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12466         round-to-nearest mode when using frndint.
12467         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12468         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12469         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12470         Likewise.
12471         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12472         sinh test to fail.
12473         * math/auto-libm-test-out: Regenerated.
12474         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12475         (TEST_COND_x86): Likewise.
12476         (expm1_tonearest_test_data): New array.
12477         (expm1_test_tonearest): New function.
12478         (expm1_towardzero_test_data): New array.
12479         (expm1_test_towardzero): New function.
12480         (expm1_downward_test_data): New array.
12481         (expm1_test_downward): New function.
12482         (expm1_upward_test_data): New array.
12483         (expm1_test_upward): New function.
12484         (main): Run the new test functions.
12485         * sysdeps/i386/fpu/libm-test-ulps: Update.
12486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12487
12488         * include/features.h: Update comment documenting feature test
12489         macros.  Mention _DEFAULT_SOURCE in comment.
12490         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12491         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12492         _BSD_SOURCE and _SVID_SOURCE.
12493         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12494         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12495         !_SVID_SOURCE]: Likewise.
12496         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12497         (__USE_POSIX_IMPLICITLY): Define.
12498         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12499         (_POSIX_SOURCE): Undefine and redefine.
12500         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12501         (_POSIX_C_SOURCE): Likewise.
12502         * manual/creature.texi (_DEFAULT_SOURCE): Document.
12503         (Feature Test Macros): Update documentation of default features.
12504
12505 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12506
12507         * benchtests/Makefile: Add bench-strtok.
12508         * benchtests/bench-strtok.c: New file: strtok benchtest.
12509
12510 2013-12-19  Allan McRae  <allan@archlinux.org>
12511
12512         * manual/install.texi: Suppress menu for plain text output.
12513         * INSTALL: Regenerated.
12514
12515 2013-12-18  Brooks Moses  <bmoses@google.com>
12516
12517         [BZ #15846]
12518         * misc/getauxval.c: Include errno.h.
12519         (__getauxval): Set errno to ENOENT if the requested type is not
12520         found.
12521         * misc/sys/auxv.h (getauxval): Document that it may set errno;
12522         don't declare with __attribute_const__.
12523         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12524         * manual/startup.texi: Document that getauxval sets errno.
12525
12526 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12527
12528         * math/auto-libm-test-in: Add tests of jn and yn.
12529         * math/auto-libm-test-out: Regenerated.
12530         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12531         (yn_test_data): Likewise.
12532         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12533         mpfr_if_f.
12534         (func_calc_desc): Add mpfr_if_f union field.
12535         (FUNC_mpfr_if_f): New macro.
12536         (test_functions): Add jn and yn.
12537         (calc_generic_results): Assert type of second input for
12538         mpfr_ff_f.  Handle mpfr_if_f.
12539         (output_for_one_input_case): Disable all checking for arguments
12540         fitting floating-point types in case of an integer argument.
12541         * sysdeps/i386/fpu/libm-test-ulps: Update.
12542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12543
12544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12545         Don't expect fegetround reference in libm.so.
12546
12547 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12548
12549         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12550         $(config-cflags-nofma).
12551
12552 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12553
12554         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12555         * math/auto-libm-test-out: Regenerated.
12556
12557         [BZ #16338]
12558         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12559         to determine exponent and adjust argument to have exponent of -1.
12560         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12561         log2.
12562         * math/auto-libm-test-out: Regenerated.
12563         * sysdeps/i386/fpu/libm-test-ulps: Update.
12564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12565
12566 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
12567
12568         * manual/probes.texi: Remove cases when per-thread arenas are
12569         disabled.
12570
12571 2013-12-18  Andreas Schwab  <schwab@suse.de>
12572
12573         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12574         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12575         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12576         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12577         * sysdeps/i386/i686/multiarch/Makefile: Update.
12578         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12579
12580 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12581
12582         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12583         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12584
12585 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
12586
12587         [BZ #15968]
12588         Support TZ transition times < 00:00:00.
12589         This is needed for version-3 tz-format files; it supports time
12590         stamps past 2037 for America/Godthab (the only entry in the tz
12591         database for which this change is relevant).
12592         * manual/time.texi (TZ Variable): Document transition times
12593         from -167:59:59 through -00:00:01.
12594         * time/tzset.c (tz_rule): Time of day is now signed.
12595         (__tzset_parse_tz): Parse negative time of day.
12596
12597         Document TZ transition times >= 25:00:00.
12598         * manual/time.texi (TZ Variable): Document transition times from
12599         25:00:00 through 167:59:59.  These are already supported, and this
12600         support will help with version-3 tz-format files.
12601
12602         * manual/time.texi (TZ Variable): Modernize North America example
12603         to reflect current (i.e., 2007-and-later) daylight saving rules.
12604
12605         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12606
12607 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12608
12609         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12610         * sysdeps/unix/bsd/bits/stat.h: Likewise.
12611         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12612         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12613         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12614         * sysdeps/unix/bsd/bsdstat.h: Likewise.
12615         * sysdeps/unix/bsd/clock.c: Likewise.
12616         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12617         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12618         * sysdeps/unix/bsd/init-posix.c: Likewise.
12619         * sysdeps/unix/bsd/poll.c: Likewise.
12620         * sysdeps/unix/bsd/ptsname.c: Likewise.
12621         * sysdeps/unix/bsd/seekdir.c: Likewise.
12622         * sysdeps/unix/bsd/setegid.c: Likewise.
12623         * sysdeps/unix/bsd/seteuid.c: Likewise.
12624         * sysdeps/unix/bsd/setgid.c: Likewise.
12625         * sysdeps/unix/bsd/setrgid.c: Likewise.
12626         * sysdeps/unix/bsd/setruid.c: Likewise.
12627         * sysdeps/unix/bsd/setsid.c: Likewise.
12628         * sysdeps/unix/bsd/setuid.c: Likewise.
12629         * sysdeps/unix/bsd/sigaction.c: Likewise.
12630         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12631         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12632         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12633         * sysdeps/unix/bsd/telldir.c: Likewise.
12634         * sysdeps/unix/bsd/times.c: Likewise.
12635         * sysdeps/unix/bsd/usleep.c: Likewise.
12636
12637         * misc/Makefile (install-lib): Remove libbsd-compat.a.
12638         ($(objpfx)libbsd-compat.a): Remove rule.
12639
12640         * include/features.h (__FAVOR_BSD): Do not define.
12641         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12642         features conflicting with POSIX.
12643         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12644         (_BSD_SOURCE): Remove description of not being a subset of other
12645         feature test macros.
12646         * manual/job.texi (getpgrp): Do not document BSD version.
12647         (getpgid): Do not document by reference to BSD getpgrp.
12648         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12649         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12650         * signal/signal.h [__FAVOR_BSD]: Likewise.
12651         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12652         instead of making contents conditional on [__FAVOR_BSD].
12653         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12654
12655 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12656
12657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12658
12659 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12660
12661         [BZ #16314]
12662         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12663         values below 2**-450, not 2**-500.
12664         * math/auto-libm-test-in: Don't allow spurious underflow from
12665         hypot.
12666         * math/auto-libm-test-out: Regenerated.
12667
12668         [BZ #16316]
12669         [BZ #16330]
12670         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12671         values of ha and hb and sort them after adjusting subnormal
12672         arguments.
12673         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12674         Likewise.
12675         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12676         values of ea and eb and sort them after adjusting subnormal
12677         arguments.
12678         * math/auto-libm-test-in: Do not expect some hypot tests of
12679         subnormals to fail.  Add more hypot tests.
12680         * math/auto-libm-test-out: Regenerated.
12681
12682 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12683
12684         [BZ #13304]
12685         * sysdeps/sh/s_fma.c: New file.
12686         * sysdeps/sh/s_fmaf.c: New file.
12687         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
12688         version.
12689         * sysdeps/sh/Implies: Add sh/soft-fp.
12690
12691 2013-12-16  Roland McGrath  <roland@hack.frob.com>
12692
12693         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
12694         level of indirection to members `objname', `errstring', `malloced'.
12695         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12696         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
12697         it as the __longjmp argument (just pass 1 instead).
12698         (_dl_catch_error): Initialize C with argument pointers and address of
12699         volatile local ERRCODE rather than copying values out of C at return.
12700
12701 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
12702
12703         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12704         * math/auto-libm-test-out: Regenerated.
12705         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12706         (hypot_test_data): Likewise.
12707         (pow_test_data): Likewise.
12708         (pow_tonearest_test_data): Likewise.
12709         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12710         mpfr_ff_f.
12711         (func_calc_desc): Add mpfr_ff_f union field.
12712         (FUNC_mpfr_ff_f): New macro.
12713         (test_functions): Add atan2, hypot and pow.
12714         (special_fill_min): New function.
12715         (special_fill_minus_min): Likewise.
12716         (special_fill_min_subnorm): Likewise.
12717         (special_fill_minus_min_subnorm): Likewise.
12718         (special_real_inputs): Add min, -min, min_subnorm and
12719         -min_subnorm.
12720         (calc_generic_results): Handle mpfr_ff_f.
12721         * sysdeps/i386/fpu/libm-test-ulps: Update.
12722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12723
12724 2013-12-16  Will Newton  <will.newton@linaro.org>
12725
12726         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12727         (Aligned Memory Blocks): Add documentation for aligned_alloc
12728         and suggest it as an alternative to posix_memalign.
12729         (Hooks for Malloc): Document __memalign_hook is also called
12730         for aligned_alloc.  (Summary of Malloc): Add summary for
12731         aligned alloc.  Document __memalign_hook is also called
12732         for aligned_alloc.
12733
12734 2013-12-16  Will Newton  <will.newton@linaro.org>
12735
12736         * manual/memory.texi (Malloc Examples): Clarify default
12737         alignment documentation.  Suggest posix_memalign rather
12738         than memalign or valloc.
12739         (Aligned Memory Blocks): Remove suggestion to use memalign
12740         or valloc.  Remove obsolete comment about BSD.
12741         Document memalign errno values and mark the function obsolete.
12742         Document posix_memalign returned error codes.  Mark valloc
12743         as obsolete.  (Hooks for Malloc): __memalign_hook is also
12744         called for posix_memalign and valloc.
12745         (Summary of Malloc): Add posix_memalign to function summary.
12746         __memalign_hook is also called for posix_memalign and valloc.
12747
12748 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12749
12750         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12751         TAYLOR_SIN.
12752         (__sin): Adjust.
12753         (__cos): Likewise.
12754         (sloww): Use mynumber union.  Expand ternary operator into
12755         if-else statements.
12756         (cslow): use mynumber union.
12757
12758 2013-12-16  Allan McRae  <allan@archlinux.org>
12759
12760         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12761         * configure: Regenerated.
12762
12763         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12764
12765         [BZ #14120]
12766         * configure.ac: Added --enable-maintainer-mode. Check for
12767         autoconf when enabled.
12768         * configure: Regenerated.
12769
12770         * nscd/nscd.service: New file.
12771         * nscd/nscd.tmpfiles: New file.
12772
12773 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
12774
12775         [BZ #12100]
12776         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12777         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12778         * sysdeps/x86_64/multiarch/strstr.c: ... here.
12779         (strstr): Add __strstr_sse2_unaligned ifunc.
12780         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12781         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12782         (strcasestr): Remove __strcasestr_sse42 ifunc.
12783         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12784         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12785         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12786
12787 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12788
12789         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12790         * sysdeps/sh/bits/fenv.h: ... here.
12791         * sysdeps/sh/sh4/fpu/bits: Remove directory.
12792
12793 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12794
12795         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12796
12797         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12798         hypotf multiarch implementations.
12799         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12800         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12801         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12802         multiarch hypot for PPC64.
12803         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12804         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12805         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12806         multiarch hypotf for PPC64.
12807
12808         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12809         modff multiarch implementations.
12810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12813         multiarch modf for PPC64.
12814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12817         multiarch modff for PPC64.
12818
12819         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12820         and logl multiarch implementations.
12821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12824         multiarch logb for PPC64.
12825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12828         multiarch logb for PPC64.
12829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12832         multiarch logb for PPC64.
12833
12834         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12835         isinff multiarch implementation.
12836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12837         file.
12838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12840         multiarch isinf for PPC64.
12841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12842         file.
12843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12844         multiarch isinff for PPC64.
12845
12846         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12847         finitef multiarch implementation.
12848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12849         file.
12850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12852         multiarch finite for PPC64.
12853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12854         file.
12855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12856         multiarch finitef for PPC64.
12857
12858         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12859         lrint multiarch implementation.
12860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12861         file.
12862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12864         multiarch llrint for PPC64.
12865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12866         multiarch lrint for PPC64.
12867
12868         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12869         copysignf multiarch implementation.
12870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12871         file.
12872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12873         file.
12874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12875         multiarch copysign for PPC64.
12876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12877         multiarch copysignf for PPC64.
12878
12879         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12880         multiarch implementation.
12881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12882         file.
12883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12884         file.
12885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12886         file.
12887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12888         file.
12889         multiarch llround for PPC64.
12890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12891         multiarch trunc for PPC64.
12892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12893         multiarch truncf for PPC64.
12894
12895         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12896         multiarch implementation.
12897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12898         file.
12899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12900         file.
12901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12902         file.
12903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12904         file.
12905         multiarch llround for PPC64.
12906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12907         multiarch round for PPC64.
12908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12909         multiarch roundf for PPC64.
12910
12911         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12912         multiarch implementation.
12913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12914         file.
12915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12916         file.
12917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12918         file.
12919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12920         file.
12921         multiarch llround for PPC64.
12922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12923         multiarch floor for PPC64.
12924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12925         multiarch floorf for PPC64.
12926
12927         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12928         multiarch implementation.
12929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12930         file.
12931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12932         file.
12933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12934         file.
12935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12936         file.
12937         multiarch llround for PPC64.
12938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12939         multiarch ceil for PPC64.
12940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12941         multiarch ceilf for PPC64.
12942
12943         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12944         multiarch implementation.
12945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12946         file.
12947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12948         file.
12949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12950         file.
12951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12952         multiarch llround for PPC64.
12953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12954         multiarch lround for PPC64.
12955
12956         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12957         multiarch implementation.
12958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12961         file.
12962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12965         multiarch isnan for PPC64.
12966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12967         multiarch isnanf for PPC64.
12968
12969         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12970         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12971         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12972         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12973         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12975
12976         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12977         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12978         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12979         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12980
12981         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12982         multiarch implementations.
12983         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12984         (__libc_ifunc_impl_list): Likewise.
12985         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12986         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12987         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12988         multiarch stpcpy for PPC64.
12989
12990         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12991         multiarch implementations.
12992         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12993         (__libc_ifunc_impl_list): Likewise.
12994         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12995         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12996         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12997         multiarch strcpy for PPC64.
12998
12999         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13000         redefine function name.
13001         (_wordcopy_fwd_dest_aligned): Likewise.
13002         (_wordcopy_bwd_aligned): Likewise.
13003         (_wordcopy_bwd_dest_aligned): Likewise.
13004         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13005         multiarch implementations.
13006         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13007         (__libc_ifunc_impl_list): Likewise.
13008         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13009         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13010         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13011         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13012         multiarch wcscpy for PPC64.
13013
13014         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13015         multiarch implementations.
13016         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13017         (__libc_ifunc_impl_list): Likewise.
13018         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13019         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13020         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13021         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13022         multiarch wcscpy for PPC64.
13023
13024         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13025         multiarch implementations.
13026         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13027         (__libc_ifunc_impl_list): Likewise.
13028         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13029         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13030         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13031         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13032         multiarch wcsrchr for PPC64.
13033
13034         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13035         multiarch implementations.
13036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13037         (__libc_ifunc_impl_list): Likewise.
13038         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13039         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13040         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13041         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13042         multiarch wcschr for PPC64.
13043
13044         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13045         multiarch implementations.
13046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13047         (__libc_ifunc_impl_list): Likewise.
13048         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13049         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13050         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13051         multiarch strchrnul for PPC64.
13052
13053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13054         implementations.
13055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13056         (__libc_ifunc_impl_list): Likewise.
13057         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13058         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13059         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13060         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13061         strchr for PPC64.
13062
13063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13064         implementations.
13065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13066         (__libc_ifunc_impl_list): Likewise.
13067         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13068         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13069         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13070         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13071         strncmp for PPC64.
13072
13073         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13074         multiarch implementations.
13075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13076         (__libc_ifunc_impl_list): Likewise.
13077         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13078         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13079         strncasecmp for PPC64.
13080         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13081         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13082         multiarch strncasecmp_l for PPC64.
13083
13084         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13085         multiarch implementations.
13086         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13087         (__libc_ifunc_impl_list): Likewise.
13088         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13089         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13090         multiarch strcasecmp for PPC64.
13091         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13092         file.
13093         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13094         multiarch strcasecmp_l for PPC64.
13095
13096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13097         implementations.
13098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13099         (__libc_ifunc_impl_list): Likewise.
13100         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13101         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13102         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13103         strnlen for PPC64.
13104
13105         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13106         implementations.
13107         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13108         (__libc_ifunc_impl_list): Likewise.
13109         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13110         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13111         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13112         strlen for PPC64.
13113
13114         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13115         implementations.
13116         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13117         (__libc_ifunc_impl_list): Likewise.
13118         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13119         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13120         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13121         rawmemrchr for PPC64.
13122
13123         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13124         implementation.
13125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13126         (__libc_ifunc_impl_list): Likewise.
13127         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13128         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13129         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13130         memrchr for PPC64.
13131
13132         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13133         implementation.
13134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13135         (__libc_ifunc_impl_list): Likewise.
13136         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13137         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13138         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13139         memchr for PPC64.
13140
13141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13142         implementation.
13143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13144         (__libc_ifunc_impl_list): Likewise.
13145         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13146         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13147         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13148         mempcpy for PPC64.
13149
13150         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13151         avoid cretion of __bzero symbol.
13152         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13153         Likewise.
13154         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13155         Likewise.
13156         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13157         Likewise.
13158         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13159         multiarch implementations.
13160         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13161         (__libc_ifunc_impl_list): Likewise.
13162         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13163         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13164         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13165         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13166         bzero for PPC32.
13167         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13168         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13169         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13170         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13171         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13172         memset for PPC64.
13173         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13174
13175         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13176         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13177         implementations.
13178         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13179         (__libc_ifunc_impl_list): Likewise.
13180         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13181         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13182         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13183         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13184         memcmp for PPC64.
13185
13186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13187         multiarch for POWER/PPC64.
13188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13189         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13190         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13191         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13192         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13193         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13194         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13195         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13196         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13197         memcpy for PPC64.
13198
13199         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13200         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13201         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13202         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13203         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13204         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13205         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13206         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13207         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13208         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13209         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13210         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13211         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13212         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13213         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13221
13222 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13223
13224         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13225
13226 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13227
13228         * benchtests/Makefile (bench): Add exp2 and log2.
13229         (LDLIBS-bench-exp2): Add -lm.
13230         (LDLIBS-bench-log2): Likewise.
13231         * benchtests/exp2-inputs: New inputs file.
13232         * benchtests/log2-inputs: New inputs file.
13233         * benchtests/log-inputs: Add new inputs.
13234         * benchtests/tan-inputs: Likewise.
13235
13236 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13237
13238         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13239         definition...
13240         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13241         (csloww2): ... from here.
13242
13243         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13244         instead of structures.
13245         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13246         (POLYNOMIAL): Likewise.
13247         (TAYLOR_SLOW): Likewise.
13248         (__sin): Likewise.
13249         (__cos): Likewise.
13250         (slow1): Likewise.
13251         (slow2): Likewise.
13252         (sloww): Likewise.
13253         (sloww1); Likewise.
13254         (sloww2): Likewise.
13255         (bsloww1): Likewise.
13256         (bsloww2): Likewise.
13257         (cslow2): Likewise.
13258         (csloww): Likewise.
13259         (csloww1): Likewise.
13260         (csloww2): Likewise.
13261
13262 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13263
13264         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13265         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13266         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13267         * malloc/hooks.c (realloc_check): Likewise.
13268
13269         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13270         * malloc/arena.c: Remove PER_THREAD conditional.
13271         [!PER_THREAD]: Remove code.
13272         (ptmalloc_unlock_all2): Likewise.
13273         (ptmalloc_init): Likewise.
13274         (_int_new_arena): Likewise.
13275         (arena_get2): Likewise.
13276         * malloc/hooks.c (__malloc_get_state): Likewise.
13277         (__malloc_set_state): Likewise.
13278         * malloc/malloc.c: Likewise.
13279         (struct malloc_state): Likewise.
13280         (struct malloc_par): Likewise.
13281         (__libc_realloc): Likewise.
13282         (__libc_mallopt): Likewise.
13283
13284 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13285
13286         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13287
13288 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13289
13290         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13291         macro to a function.  Check for zero perturb_byte.
13292         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13293
13294         * malloc/malloc.c: (force_reg): Remove.
13295         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13296         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13297         force_reg by atomic_forced_read.
13298         * malloc/arena.c (ptmalloc_init): Likewise.
13299         * malloc/hooks.c (top_check): Likewise.
13300
13301 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13302
13303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13304
13305 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13306
13307         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13308
13309 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13310
13311         * math/auto-libm-test-in: Add tests of lgamma.
13312         * math/auto-libm-test-out: Regenerated.
13313         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13314         (M_LOG_2_SQRT_PIl): Likewise.
13315         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13316         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13317         mpfr_f_f1.
13318         (func_calc_desc): Add mpfr_f_f1 union field.
13319         (ARGS1): New macro.
13320         (ARGS2): Likewise.
13321         (ARGS3): Likewise.
13322         (ARGS4): Likewise.
13323         (RET1): Likewise.
13324         (RET2): Likewise.
13325         (CALC): Likewise.
13326         (FUNC): Likewise.
13327         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13328         (test_functions): Add lgamma.
13329         (calc_generic_results): Handle mpfr_f_f1.
13330         * sysdeps/i386/fpu/libm-test-ulps: Update.
13331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13332
13333 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13334
13335         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13336         __mpn_add_n for PowerPC64/POWER7.
13337         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13338         __mpn_sub_n for PowerPC64/POWER7.
13339
13340         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13341         __mpn_addmul_1 for PowerPC64.
13342         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13343         __mpn_submul_1 for PowerPC64.
13344         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13345         for PowerPC64.
13346         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13347         for PowerPC64.
13348
13349 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13350
13351         [BZ #15089]
13352         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13353
13354 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13355
13356         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13357
13358         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13359         add multiarch folders.
13360         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13361         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13362         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13363         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13364         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13365         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13366         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13367         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13368         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13369         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13370         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13377
13378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13379         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13381         New file.
13382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13383         New file.
13384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13385         multiarch __ieee754_hypot for PowerPC32.
13386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13387         New file.
13388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13389         New file.
13390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13391         multiarch __ieee754_hypotf for PowerPC32.
13392
13393         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13394         long_double_symbol only if __logbl is defined.
13395         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13396         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13397         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13398         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13399         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13400         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13401         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13402         path for implementation.
13403         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13404         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13406         logb, and logbl multiarch implementations for PowerPC32.
13407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13408         file.
13409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13410         file.
13411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13412         multiarch logb for PowerPC32.
13413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13414         file.
13415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13416         file.
13417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13418         multiarch logbf for PowerPC32.
13419         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13421         file.
13422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13423         multiarch logbl implementation for PowerPC32.
13424
13425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13426         and modff multiarch implementations.
13427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13428         New file.
13429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13430         New file.
13431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13432         multiarch modf for PowerPC32.
13433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13434         New file.
13435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13436         New file.
13437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13438         multiarch modff for PowerPC32.
13439
13440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13441         and lrintf multiarch implementations.
13442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13443         New file.
13444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13445         New file.
13446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13447         multiarch lrint for PowerPC32.
13448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13449         file: multiarch lrintf for PowerPC32.
13450
13451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13452         and lroundf multiarch implementations.
13453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13454         New file.
13455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13456         New file.
13457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13458         New file.
13459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13460         multiarch lround for PowerPC32.
13461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13462         file: multiarch lroundf for PowerPC32.
13463
13464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13465         copysign and copysignf multiarch implementations.
13466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13467         New file.
13468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13469         New file.
13470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13471         file: multiarch copysign for PowerPC32.
13472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13473         file: multiarch copysignf for PowerPC32.
13474
13475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13476         and truncf multiarch implementations.
13477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13478         New file.
13479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13480         file.
13481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13482         multiarch trunc for PowerPC32.
13483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13484         New file.
13485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13486         New file.
13487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13488         multiarch truncf for PowerPC32.
13489
13490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13491         and roundf multiarch implementations.
13492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13493         New file.
13494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13495         file.
13496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13497         multiarch round for PowerPC32.
13498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13499         New file.
13500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13501         New file.
13502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13503         multiarch roundf for PowerPC32.
13504
13505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13506         and floorf multiarch implementations.
13507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13508         New file.
13509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13510         file.
13511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13512         multiarch floor for PowerPC32.
13513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13514         New file.
13515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13516         New file.
13517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13518         multiarch floorf for PowerPC32.
13519
13520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13521         and ceilf multiarch implementations.
13522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13523         New file.
13524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13525         file.
13526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13527         multiarch ceil for PowerPC32.
13528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13529         New file.
13530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13531         file.
13532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13533         multiarch ceilf for PowerPC32.
13534
13535         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13536         is defined.
13537         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13538         FINITEF is defined.
13539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13540         and finitef multiarch implementations.
13541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13542         New file.
13543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13544         file.
13545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13546         multiarch finite for PowerPC32.
13547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13548         New file.
13549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13550         file: multiarch finitef for PowerPC32.
13551
13552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13553         and isinff multiarch implementations.
13554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13555         file.
13556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13557         file.
13558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13559         multiarch isinf for PowerPC32.
13560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13561         New file.
13562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13563         multiarch isinff for PowerPC32.
13564
13565         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13566         alias when __isnan is defined.
13567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13568         and isnanf multiarch implementations.
13569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13570         file.
13571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13572         file.
13573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13574         file.
13575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13576         file.
13577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13578         multiarch isnan for PowerPC32.
13579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13580         New file.
13581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13582         New file.
13583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13584         multiarch isnanf for PowerPC32.
13585
13586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13587         and sqrtf multiarch implementations.
13588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13589         file.
13590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13591         file.
13592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13593         multiarch sqrt for PowerPC32.
13594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13595         file.
13596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13597         file.
13598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13599         multiarch sqrtf for PowerPC32.
13600
13601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13602         and llroundf multiarch implementations.
13603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13604         New file.
13605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13606         New file.
13607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13608         New file.
13609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13610         file: multiarch llround for PowerPC32.
13611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13612         file: multiarch llroundf for PowerPC32.
13613
13614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13615         multiarch PowerPC32 fpu implementations.
13616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13617         New file.
13618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13619         New file.
13620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13621         multiarch llrint for PowerPC32.
13622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13623         New file.
13624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13625         New file.
13626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13627         file.
13628
13629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13630
13631         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13632         file.
13633         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13634         file.
13635         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13636         file.
13637         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13638         multiarch wordcopy for PPC32.
13639         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13640         wordcopy objects.
13641         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13642         (__libc_ifunc_impl_list): Likewise.
13643         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13644         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13645         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13646         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13647         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13648         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13649
13650         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13651         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13652         file.
13653         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13654         file.
13655         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13656         file.
13657         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13658         multiarch wcscpy for PPC32.
13659         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13660         multiarch objects.
13661         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13662         (__libc_ifunc_impl_list): Likewise.
13663         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13664         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13665         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13666         sysdeps/powerpc/power6/wcscpy.c.
13667
13668         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13669         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13670         file.
13671         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13672         file.
13673         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13674         file.
13675         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13676         multiarch wcsrchr for PPC32.
13677         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13678         multiarch objects.
13679         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13680         (__libc_ifunc_impl_list): Likewise.
13681         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13682         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13683         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13684         sysdeps/powerpc/power6/wcsrchr.c.
13685
13686         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13687         file.
13688         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13689         file.
13690         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13691         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13692         multiarch wcschr for PPc32.
13693         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13694         multiarch objects.
13695         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13696         (__libc_ifunc_impl_list): Likewise.
13697         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13698         * sysdeps/powerpc/power6/wcschr.c: ... to here.
13699         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13700         sysdeps/powerpc/power6/wcschr.c.
13701
13702         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13703         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13704         file.
13705         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13706         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13707         file: multiarch strchr for PPC32.
13708         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13709         multiarch objects.
13710         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13711         (__libc_ifunc_impl_list): Likewise.
13712
13713         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13714         name.
13715         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13716         file.
13717         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13718         file.
13719         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13720         multiarch strchrnul for PPC32.
13721         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13722         multiarch objects.
13723         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13724         (__libc_ifunc_impl_list): Likewise.
13725
13726         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13727         file.
13728         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13729         multiarch strncasecmp for PPC32.
13730         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13731         file.
13732         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13733         multiarch strncasecmp_l for PPC32.
13734         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13735         strncasecmp multiarch objects.
13736         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13737         (__libc_ifunc_impl_list): Likewise.
13738
13739         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13740         file.
13741         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13742         multiarch strncasecmp for PPC32.
13743         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13744         New file.
13745         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13746         multiarch strcasecmp_l for PPC32.
13747         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13748         multiarch objects.
13749         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13750         (__libc_ifunc_impl_list): Likewise.
13751
13752         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13753         file.
13754         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13755         file.
13756         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13757         multiarch strncmp for PPC32.
13758         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13759         multiarch objects.
13760         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13761         (__libc_ifunc_impl_list): Likewise.
13762
13763         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13764         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13765         file.
13766         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13767         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13768         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13769         multiarch objects.
13770         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13771         (__libc_ifunc_impl_list): Likewise.
13772
13773         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13774         file.
13775         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13776         file.
13777         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13778         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13779         multiarch objects.
13780         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13781         (__libc_ifunc_impl_list): Likewise.
13782
13783         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13784         file.
13785         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13786         file.
13787         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13788         multiarch rawmemchr for PPC32.
13789         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13790         multiarch objects.
13791         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13792         (__libc_ifunc_impl_list): Likewise.
13793
13794         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13795         file.
13796         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13797         file.
13798         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13799         file: memrchr multiarch for PPC32.
13800         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13801         multiarch objects.
13802         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13803         (__libc_ifunc_impl_list): Likewise.
13804
13805         * string/memchr.c (__memchr): Using macro to redefine symbol name.
13806         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13807         file.
13808         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13809         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13810         multiarch memchr for PPC32.
13811         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13812         multiarch objects.
13813         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13814         (__libc_ifunc_impl_list): Likewise.
13815
13816         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13817         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13818         file.
13819         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13820         file.
13821         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13822         file: multiarch mempcpy for PPC32.
13823         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13824         multiarch objects.
13825         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13826         (__libc_ifunc_impl_list): Likewise.
13827
13828         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13829         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13830         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13831         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13832         multiarch bzero for PPC32.
13833         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13834         file.
13835         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13836         file.
13837         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13838         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13839         file: multiarch memset for PPC32.
13840         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13841         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13842         memset multiarch objects.
13843         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13844         (__libc_ifunc_impl_list): Likewise.
13845
13846         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13847         file.
13848         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13849         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13850         memcmp for PPC32.
13851         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13852         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13853         multiarch objects.
13854         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13855         (__libc_ifunc_impl_list): Likewise.
13856
13857         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13858         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13859         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13860         file.
13861         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13862         file.
13863         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13864         file.
13865         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13866         multiarch memcpy for PPC32.
13867         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13868         multiarch objects.
13869         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13870         (__libc_ifunc_impl_list): Likewise.
13871
13872         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13873         support multiarch for POWER/PPC32.
13874         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13875         Likewise.
13876         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13878         Implies file to make multiarch folder appers before the fpu and
13879         default folder for power4 configuration.
13880
13881 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13882
13883         * scripts/bench.pl: Append volatile keyword to type.
13884
13885 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13886
13887         * sysdeps/sh/sotruss-lib.c: New file.
13888         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13889
13890 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13891
13892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13893
13894 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
13895
13896         [BZ #6810]
13897         * math/w_tgamma.c: Include <errno.h>.
13898         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
13899         * math/w_tgammaf.c: Include <errno.h>.
13900         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
13901         * math/w_tgammal.c: Include <errno.h>.
13902         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
13903         * math/auto-libm-test-in: Do not allow missing errno on tgamma
13904         underflow.  Add more tgamma tests.
13905         * math/auto-libm-test-out: Regenerated.
13906         * sysdeps/i386/fpu/libm-test-ulps: Update.
13907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13908
13909         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13910         sin, sinh, tan, tanh, tgamma, y0 and y1.
13911         * math/auto-libm-test-out: Regenerated.
13912         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13913         (TEST_COND_x86): Likewise.
13914         (M_E2l): Remove macro.
13915         (M_E3l): Likewise.
13916         (M_2_SQRT_PIl): Likewise.
13917         (M_SQRT_PIl): Likewise.
13918         (M_1_DIV_El): Likewise.
13919         (log_test_data): Use AUTO_TESTS_f_f.
13920         (log10_test_data): Likewise.
13921         (log1p_test_data): Likewise.
13922         (log2_test_data): Likewise.
13923         (sin_test_data): Likewise.
13924         (sin_tonearest_test_data): Likewise.
13925         (sin_towardzero_test_data): Likewise.
13926         (sin_downward_test_data): Likewise.
13927         (sin_upward_test_data): Likewise.
13928         (sinh_test_data): Likewise.
13929         (sinh_tonearest_test_data): Likewise.
13930         (sinh_towardzero_test_data): Likewise.
13931         (sinh_downward_test_data): Likewise.
13932         (sinh_upward_test_data): Likewise.
13933         (tan_test_data): Likewise.
13934         (tan_tonearest_test_data): Likewise.
13935         (tan_towardzero_test_data): Likewise.
13936         (tan_downward_test_data): Likewise.
13937         (tan_upward_test_data): Likewise.
13938         (tanh_test_data): Likewise.
13939         (tgamma_test_data): Likewise.
13940         (y0_test_data): Likewise.
13941         (y1_test_data): Likewise.
13942         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13943         (special_real_inputs): Add pi/4.
13944         * sysdeps/i386/fpu/libm-test-ulps: Update.
13945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13946
13947 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13948
13949         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13950         "longjmp_target" static probes.
13951         (__longjmp): Rename to __longjmp_symbol.
13952         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13953         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13954         on which longjmp to generate.
13955         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13956         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13957         probe.
13958         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13959         (__sigjmp_save): Rename to __sigjmp_save_symbol.
13960         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13961         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13962         and __sigjmp_save_symbol based on which sigsetjmp to generated.
13963         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13965         __longjmp_symbol based on which __longjmp to generate.
13966         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13967         probe.
13968         (setjmp): Rename to setjmp_symbol.
13969         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13970         (_setjmp): Rename to _setjmp_symbol.
13971         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13972         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13973         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13974         which setjmp to generate.
13975         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13976         "longjmp_target" static probes.
13977
13978 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13979
13980         * benchtests/README: Add note about output arguments.
13981         * benchtests/bench-sincos.c: Remove file.
13982         * benchtests/sincos-inputs: New file.
13983         * scripts/bench.pl: Identify output arguments and define
13984         static variables for them.
13985
13986         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13987
13988         [BZ #15941]
13989         * Makefile (INSTALL): Add install-plain.texi as the primary
13990         dependency.
13991         * manual/install-plain.texi: New file.
13992         * manual/install.texi: Include node directive only for
13993         non-plaintext output.
13994
13995 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
13996
13997         * stdlib/longlong.h: Update from GCC.
13998
13999         [BZ #6807]
14000         [BZ #15901]
14001         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14002         * math/w_j0f.c (y0f): Likewise.
14003         * math/w_j0l.c (__y0l): Likewise.
14004         * math/w_j1.c (y1): Likewise.
14005         * math/w_j1f.c (y1f): Likewise.
14006         * math/w_j1l.c (__y1l): Likewise
14007         * math/w_jn.c (yn): Likewise.
14008         * math/w_jnf.c (ynf): Likewise.
14009         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14010         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14011         value for Bessel function domain errors outside _SVID_ mode.
14012         Adjust sign of return value for yn (negative integer, 0).
14013         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14014         by zero in return for negative x and set sign appropriately for
14015         negative n.
14016         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14017         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14018         * math/libm-test.inc (y0_test_data): Add more tests and adjust
14019         expectations in error cases.
14020         (y1_test_data): Likewise.
14021         (yn_test_data): Likewise.
14022         * sysdeps/i386/fpu/libm-test-ulps: Update.
14023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14024
14025 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14026
14027         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14028         "64" to "64-v1".  Add "64-v2".
14029         (abi-64-options): Rename to ...
14030         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
14031         (abi-64-condition): Rename to ...
14032         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
14033         (abi-64-ld-soname): Rename to ...
14034         (abi-64-v1-ld-soname): ... this.
14035         (abi-64-v2-options): Define.
14036         (abi-64-v2-condition): Likewise.
14037         (abi-64-v2-ld-soname): Likewise.
14038         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14039         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14043
14044 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14045             Alan Modra  <amodra@gmail.com>
14046
14047         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14048         New versions for use with the ELFv2 ABI.
14049         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14050         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14051         declaration.
14052         (struct La_ppc64v2_retval): Likewise.
14053         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14054         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14055         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14056         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14057         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14058         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14059         Do not save or restore CR.
14060         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14061         (_dl_profile_resolve): Do no save or restore CR.  Support extended
14062         return values for ELFv2 ABI.  Fix location of FPR return registers.
14063         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14064         updated values for _CALL_ELF == 2.
14065         (La_regs, La_retval, int_retval): Likewise.
14066
14067 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14068
14069         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14070         (FRAME_MIN_SIZE_PARM): Likewise.
14071         (FRAME_BACKCHAIN): Likewise.
14072         (FRAME_CR_SAVE): Likewise.
14073         (FRAME_LR_SAVE): Likewise.
14074         (FRAME_TOC_SAVE): Likewise.
14075         (FRAME_PARM_SAVE): Likewise.
14076         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14077         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14078         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14079         (call_mcount_parm_offset): New macro.
14080         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14081         (PROF): Use symbolic stack frame offsets.
14082         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14083         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14084         Redefine in terms of FRAME_MIN_SIZE.
14085         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14086         (_dl_profile_resolve): Likewise.  Update comment.
14087         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14088         symbols stack frame offsets.
14089         (__sigsetjmp): Likewise.
14090         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14091         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14092         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14093         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14094
14095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14096         (FRAME_BACKCHAIN): Remove.
14097         (FRAME_CR_SAVE): Likewise.
14098         (FRAME_LR_SAVE): Likewise.
14099         (FRAME_COMPILER_DW): Likewise.
14100         (FRAME_LINKER_DW): Likewise.
14101         (FRAME_TOC_SAVE): Likewise.
14102         (FRAME_PARM_SAVE): Likewise.
14103         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14104         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14105         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14107         (CHECK_SP): Use symbolic stack frame offsets.
14108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14109         zone" instead of caller's parameter save area for temp storage.
14110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14111         Likewise.  Also, use symbolic stack frame offsets.
14112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14113         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14114         our own stack frame instead of the caller's.
14115         (__socket): Use symbolic stack frame offsets.
14116
14117 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14118             Alan Modra  <amodra@gmail.com>
14119
14120         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14121         Define.
14122         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14123         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14124         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14125         New function.
14126         (elf_machine_fixup_plt): Call it.
14127         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14128         reloc arguments.
14129         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14130         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14131         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14132         r2 before calling target.
14133
14134 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14135             Alan Modra  <amodra@gmail.com>
14136
14137         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14138         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14139         versions of macros to support ELFv2 ABI.
14140         (LOCALENTRY): New macro.
14141         (ENTRY, EALIGN): Use it.
14142         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14143         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14144         fall through into ENTRY entry point.
14145         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14146         Only define if _CALL_ELF != 2.
14147
14148         (elf_machine_matches_host): Verify ABI version matches.
14149         (RTLD_START): Use LOCALENTRY.
14150         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14151         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14152         (PLT_ENTRY_WORDS): New macro.
14153         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14154         (elf_machine_runtime_setup): Support ELFv2 ABI.
14155         (elf_machine_fixup_plt): Likewise.
14156         (elf_machine_plt_conflict): Likewise.
14157         (resolve_ifunc): Likewise.
14158         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14159         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14160         Likewise.
14161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14162         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14164         (makecontext): Support ELFv2 ABI.
14165         * elf/elf.h (EF_PPC64_ABI): Define.
14166
14167 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14168
14169         * sysdeps/powerpc/powerpc64/sysdep.h
14170         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14171         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14172         (ENTRY) [ASSEMBLER]: ... but instead here ...
14173         (EALIGN) [ASSEMBLER]: ... and here.
14174         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14175         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14176         (ENTRY_2) [!ASSEMBLER]: Use it.
14177         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14178         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14179         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14180         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14181         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14183         Use PPC64_LOAD_FUNCPTR.
14184
14185         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14186
14187 2013-12-04  Alan Modra  <amodra@gmail.com>
14188
14189         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14190         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14191         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14192         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14193
14194         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14195         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14196         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14197         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14198         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14199         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14200
14201 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14202
14203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14204         (__makecontext): Fix incorrect CFI when backtracing out of
14205         context created via makecontext.
14206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14207         (__setcontext): Fix incorrect CFI during switch to new context.
14208         (__novec_setcontext): Likewise.
14209
14210 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14211
14212         [BZ #4772]
14213         * time/strptime_l.c (__strptime_internal): Allow modifiers
14214         in strptime.
14215         * time/tst-strptime.c (day_tests): Add testcase.
14216
14217 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14218
14219         * scripts/bench.pl: Skip over blank lines.
14220
14221 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14222
14223         [BZ #926]
14224         * manual/time.texi (Calendar Time): Clarify what timezone functions
14225         use.
14226
14227 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14228
14229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14230
14231 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14232
14233         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14234         implementation.
14235         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14236         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14237         * debug/memset_chk.c (__memset_chk): Likewise.
14238         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14239         * debug/strncpy_chk.c: Likewise.
14240
14241 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14242
14243         [BZ #15268]
14244         [BZ #15425]
14245         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14246         (__ieee754_exp): For possibly underflowing results, check size of
14247         result and force underflow exception if required.
14248         * math/auto-libm-test-in: Add more tests of exp.
14249         * math/auto-libm-test-out: Regenerated.
14250         * sysdeps/i386/fpu/libm-test-ulps: Update.
14251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14252
14253         [BZ #16283]
14254         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14255         * math/w_exp2f.c (__exp2f): Likewise.
14256         * math/w_exp2l.c (__exp2l): Likewise.
14257         * math/auto-libm-test-in: Do not allow missing errno on exp2
14258         underflow.
14259         * math/auto-libm-test-out: Regenerated.
14260
14261 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14262
14263         [BZ #16274]
14264         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14265         handle filename validation.
14266         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14267         (do_open): Delete.
14268
14269 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14270
14271         [BZ #6786]
14272         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14273         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14274         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14275         <float.h>.
14276         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14277         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14278         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14279         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14280         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14281         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14282         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14283         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14284         Add more erfc tests.
14285         * math/auto-libm-test-out: Regenerated.
14286         * sysdeps/i386/fpu/libm-test-ulps: Update.
14287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14288
14289         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14290         exp2, expm1, j0 and j1.
14291         * math/auto-libm-test-out: Regenerated.
14292         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14293         (erfc_test_data): Likewise.
14294         (exp_test_data): Likewise.
14295         (exp_tonearest_test_data): Likewise.
14296         (exp_towardzero_test_data): Likewise.
14297         (exp_downward_test_data): Likewise.
14298         (exp_upward_test_data): Likewise.
14299         (exp10_test_data): Likewise.
14300         (exp2_test_data): Likewise.
14301         (expm1_test_data): Likewise.
14302         (j0_test_data): Likewise.
14303         (j1_test_data): Likewise.
14304         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14305         (input_flag_type): Add flag_xfail_rounding.
14306         (input_flags): Add xfail-rounding.
14307         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14308         (output_for_one_input_case): Handle flag_xfail_rounding.
14309         * sysdeps/i386/fpu/libm-test-ulps: Update.
14310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14311
14312 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14313
14314         [BZ #16289]
14315         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14316         division by 0.
14317
14318 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14319
14320         [BZ #16195]
14321         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14322         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14323         (STAP_PROBE0): New macro.
14324         (STAP_PROBE1): Likewise.
14325         (STAP_PROBE2): Likewise.
14326         (STAP_PROBE3): Likewise.
14327         (STAP_PROBE4): Likewise.
14328
14329 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14330
14331         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14332
14333 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14334
14335         * benchtests/Makefile (bench): Add sqrt.
14336         (LDLIBS-bench-sqrt): New.
14337         * benchtests/sqrt-input: New.
14338
14339 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14340
14341         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14342         (GAIH_EAI): Likewise.
14343         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14344         (gaih_inet): Likewise.
14345         (getaddrinfo): Don't use GAIH_EAI.
14346
14347         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14348         (struct gaih): Remove definition.
14349
14350 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14351
14352         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14353         Use HERRNOP directly.
14354
14355 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14356
14357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14358
14359 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14360
14361         * math/gen-auto-libm-tests.c (test_functions): Add more
14362         single-argument functions.
14363         (special_fill_pi_2): New function.
14364         (special_fill_minus_pi_2): Likewise.
14365         (special_fill_pi_6): Likewise.
14366         (special_fill_minus_pi_6): Likewise.
14367         (special_fill_pi_3): Likewise.
14368         (special_fill_2pi_3): Likewise.
14369         (special_fill_e): Likewise.
14370         (special_fill_1_e): Likewise.
14371         (special_fill_e_minus_1): Likewise.
14372         (special_real_inputs): Add more special inputs.
14373         (output_for_one_input_case): Do not require ERANGE on underflow to
14374         zero if round-to-nearest result does not underflow to zero, unless
14375         exact results required.
14376         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14377         atan, atanh, cbrt, cos and cosh.
14378         * math/auto-libm-test-out: Regenerated.
14379         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14380         (acos_tonearest_test_data): Likewise.
14381         (acos_towardzero_test_data): Likewise.
14382         (acos_downward_test_data): Likewise.
14383         (acos_upward_test_data): Likewise.
14384         (acosh_test_data): Likewise.
14385         (asin_test_data): Likewise.
14386         (asin_tonearest_test_data): Likewise.
14387         (asin_towardzero_test_data): Likewise.
14388         (asin_upward_test_data): Likewise.
14389         (asinh_test_data): Likewise.
14390         (atan_test_data): Likewise.
14391         (atanh_test_data): Likewise.
14392         (cbrt_test_data): Likewise.
14393         (cos_test_data): Likewise.
14394         (cos_tonearest_test_data): Likewise.
14395         (cos_towardzero_test_data): Likewise.
14396         (cos_downward_test_data): Likewise.
14397         (cos_upward_test_data): Likewise.
14398         (cosh_test_data): Likewise.
14399         (cosh_tonearest_test_data): Likewise.
14400         (cosh_towardzero_test_data): Likewise.
14401         (cosh_downward_test_data): Likewise.
14402         (cosh_upward_test_data): Likewise.
14403         * sysdeps/i386/fpu/libm-test-ulps: Update.
14404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14405
14406 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14407
14408         [BZ #6787]
14409         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14410         * math/w_exp10f.c (__exp10f): Likewise.
14411         * math/w_exp10l.c (__exp10l): Likewise.
14412         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14413         errno settings in existing tests.
14414
14415         [BZ #14032]
14416         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14417         precision control set to double precision.
14418         * sysdeps/i386/fpu/w_sqrt.c: New file.
14419         * math/auto-libm-test-in: Add more tests.
14420         * math/auto-libm-test-out: Update.
14421
14422         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14423         (sqrt_test_tonearest): New function.
14424         (sqrt_towardzero_test_data): New variable.
14425         (sqrt_test_towardzero): New function.
14426         (sqrt_downward_test_data): New variable.
14427         (sqrt_test_downward): New function.
14428         (sqrt_upward_test_data): New variable.
14429         (sqrt_test_upward): New function.
14430         (main): Call the new functions.
14431
14432         * math/gen-auto-libm-tests.c: New file.
14433         * math/auto-libm-test-in: Likewise.
14434         * math/auto-libm-test-out: New generated file.
14435         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14436         variables.
14437         (%beautify): Add generated representations of zero.
14438         (top level): Set $auto_input and call parse_auto_input.
14439         (beautify): Remove trailing "f" from hex float constants.
14440         (parse_args): Handle XFAIL_TEST.
14441         (convert_condition): New function.
14442         (or_value): Likewise.
14443         (or_cond_value): Likewise.
14444         (generate_testfile): Handle AUTO_TESTS_* lines.
14445         (parse_auto_input): New function.
14446         * math/libm-test.inc (XFAIL_TEST): New macro.
14447         (ERRNO_UNCHANGED): Update value.
14448         (ERRNO_EDOM): Likewise.
14449         (ERRNO_ERANGE): Likewise.
14450         (IGNORE_RESULT): Likewise.
14451         (TEST_COND_flt_32): New macro.
14452         (TEST_COND_dbl_64): Likewise.
14453         (TEST_COND_ldbl_96_intel): Likewise.
14454         (TEST_COND_ldbl_96_m68k): Likewise.
14455         (TEST_COND_ldbl_128): Likewise.
14456         (TEST_COND_ldbl_128ibm): Likewise.
14457         (TEST_COND_long32): Likewise.
14458         (TEST_COND_long64): Likewise.
14459         (TEST_COND_before_rounding): Likewise.
14460         (TEST_COND_after_rounding): Likewise.
14461         (enable_test): Handle XFAIL_TEST flag.
14462         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14463         with finite results.
14464         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14465         auto-libm-test-out.
14466
14467 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14468             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14469
14470         [BZ #16214]
14471         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14472         __tls_get_addr_internal instead of __tls_get_offset in order to
14473         avoid GOT pointer dependency.  Make rtld export
14474         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14475         __tls_get_addr since we are a __tls_get_offset platform.
14476         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14477         GOT pointer being set up before.
14478         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14479
14480 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14481
14482         * manual/math.texi (Errors in Math Functions): Document accuracy
14483         goals.
14484
14485         [BZ #15004]
14486         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14487         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14488         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14489         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14490         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14491         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14492         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14493         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14494         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14495         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14496         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14497         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14498         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14499         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14500         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14501         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14502
14503         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14504         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14505         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14506         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14507         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14508         Likewise.
14509         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14510         Likewise.
14511         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14512         Likewise.
14513         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14514         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14515         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14516         atomic-feupdateenv and flt-rounds.
14517         * sysdeps/powerpc/nofpu/Versions (libc): Add
14518         __atomic_feholdexcept, __atomic_feclearexcept,
14519         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14520         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14521         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14522         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14523         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14524         here.
14525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14526         Update.
14527
14528         * manual/arith.texi (FP Exceptions): Document that exceptions may
14529         not be raised when matherr is used.
14530         (Math Error Reporting): Document overflow in directed rounding
14531         modes.  Document that errno may not be set when finite values are
14532         returned on overflow.  Document intent to set errno on underflow
14533         only for underflow to zero.
14534
14535         [BZ #16271]
14536         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14537         round-to-nearest then adjust result for other rounding modes.
14538         * include/fenv.h (fegetround): Use libm_hidden_proto.
14539         * math/fegetround.c (fegetround): Use libm_hidden_def.
14540         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14541         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14542         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14543         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14544         Likewise.
14545         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14546         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14547         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14548         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14549
14550 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14551
14552         [BZ #16077]
14553         * nss/Versions (libnss_files): Add
14554         _nss_files_gethostbyname3_r.
14555         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14556         New function.
14557         (HOST_DB_LOOKUP): Remove macro.
14558         (_nss_files_gethostbyname_r): Implement function without the
14559         HOST_DB_LOOKUP macro.
14560         (_nss_files_gethostbyname2_r): Likewise.
14561
14562 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
14563
14564         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14565
14566 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
14567
14568         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14569         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14570         warning.
14571
14572 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14573
14574         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14575         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14576         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14577         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14578         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14579         __fe_nomask_env_priv and attribute_hidden.
14580         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14581         (libc_feupdateenv_test_ppc): Likewise.
14582         (libc_feresetround_ppc): Likewise.
14583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14584         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14585         compat_symbol macro.
14586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14587         (__fe_nomask_env): Likewise.
14588         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14589
14590 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14591
14592         * string/Makefile: Remove ifunc tests.
14593         * string/test-string.h: Define TEST_IFUNC.
14594         * string/test-bcopy-ifunc.c: Remove.
14595         * string/test-bzero-ifunc.c: Likewise.
14596         * string/test-memccpy-ifunc.c: Likewise.
14597         * string/test-memchr-ifunc.c: Likewise.
14598         * string/test-memcmp-ifunc.c: Likewise.
14599         * string/test-memcpy-ifunc.c: Likewise.
14600         * string/test-memmem-ifunc.c: Likewise.
14601         * string/test-memmove-ifunc.c: Likewise.
14602         * string/test-mempcpy-ifunc.c: Likewise.
14603         * string/test-memrchr-ifunc.c: Likewise.
14604         * string/test-memset-ifunc.c: Likewise.
14605         * string/test-rawmemchr-ifunc.c: Likewise.
14606         * string/test-stpcpy-ifunc.c: Likewise.
14607         * string/test-stpncpy-ifunc.c: Likewise.
14608         * string/test-strcasecmp-ifunc.c: Likewise.
14609         * string/test-strcasestr-ifunc.c: Likewise.
14610         * string/test-strcat-ifunc.c: Likewise.
14611         * string/test-strchr-ifunc.c: Likewise.
14612         * string/test-strchrnul-ifunc.c: Likewise.
14613         * string/test-strcmp-ifunc.c: Likewise.
14614         * string/test-strcpy-ifunc.c: Likewise.
14615         * string/test-strcspn-ifunc.c: Likewise.
14616         * string/test-strlen-ifunc.c: Likewise.
14617         * string/test-strncasecmp-ifunc.c: Likewise.
14618         * string/test-strncat-ifunc.c: Likewise.
14619         * string/test-strncmp-ifunc.c: Likewise.
14620         * string/test-strncpy-ifunc.c: Likewise.
14621         * string/test-strnlen-ifunc.c: Likewise.
14622         * string/test-strpbrk-ifunc.c: Likewise.
14623         * string/test-strrchr-ifunc.c: Likewise.
14624         * string/test-strspn-ifunc.c: Likewise.
14625         * string/test-strstr-ifunc.c: Likewise.
14626
14627 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14628
14629         * benchtests/Makefile: Remove ifunc tests.
14630         * benchtests/bench-string.h: Define TEST_IFUNC.
14631         * benchtests/bench-bcopy-ifunc.c: Remove.
14632         * benchtests/bench-bzero-ifunc.c: Likewise.
14633         * benchtests/bench-memccpy-ifunc.c: Likewise.
14634         * benchtests/bench-memchr-ifunc.c: Likewise.
14635         * benchtests/bench-memcmp-ifunc.c: Likewise.
14636         * benchtests/bench-memcpy-ifunc.c: Likewise.
14637         * benchtests/bench-memmem-ifunc.c: Likewise.
14638         * benchtests/bench-memmove-ifunc.c: Likewise.
14639         * benchtests/bench-mempcpy-ifunc.c: Likewise.
14640         * benchtests/bench-memrchr-ifunc.c: Likewise.
14641         * benchtests/bench-memset-ifunc.c: Likewise.
14642         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14643         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14644         * benchtests/bench-stpcpy-ifunc.c: Likewise.
14645         * benchtests/bench-stpncpy-ifunc.c: Likewise.
14646         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14647         * benchtests/bench-strcasestr-ifunc.c: Likewise.
14648         * benchtests/bench-strcat-ifunc.c: Likewise.
14649         * benchtests/bench-strchr-ifunc.c: Likewise.
14650         * benchtests/bench-strchrnul-ifunc.c: Likewise.
14651         * benchtests/bench-strcmp-ifunc.c: Likewise.
14652         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14653         * benchtests/bench-strcpy-ifunc.c: Likewise.
14654         * benchtests/bench-strcspn-ifunc.c: Likewise.
14655         * benchtests/bench-strlen-ifunc.c: Likewise.
14656         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14657         * benchtests/bench-strncat-ifunc.c: Likewise.
14658         * benchtests/bench-strncmp-ifunc.c: Likewise.
14659         * benchtests/bench-strncpy-ifunc.c: Likewise.
14660         * benchtests/bench-strnlen-ifunc.c: Likewise.
14661         * benchtests/bench-strpbrk-ifunc.c: Likewise.
14662         * benchtests/bench-strrchr-ifunc.c: Likewise.
14663         * benchtests/bench-strsep-ifunc.c: Likewise.
14664         * benchtests/bench-strspn-ifunc.c: Likewise.
14665         * benchtests/bench-strstr-ifunc.c: Likewise.
14666
14667 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14668
14669         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14670
14671 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14672
14673         * resolv/netdb.h: Use __glibc_reserved instead __unused.
14674         * rt/aio.h: Likewise.
14675         * sysdeps/gnu/bits/utmp.h: Likewise.
14676         * sysdeps/gnu/bits/utmpx.h: Likewise.
14677         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14678         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14679         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14680         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14681         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14682         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14683         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14684         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14685         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14686         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14687         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14688         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14689         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14691         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14692         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14693         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14694         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14695         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14696         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14697         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14698         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14699         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14700         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14701         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14702         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14703         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14704         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14705         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14706         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14707         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14708         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14709         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14710         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14711         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14712         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14713         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14714         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14715         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14716         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14717         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14718         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14719
14720 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
14721
14722         [BZ #16245]
14723         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14724         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14725
14726 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
14727
14728         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14729         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14730         Likewise.
14731
14732 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14733
14734         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14735         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14736         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14737         (__fesetround): Remove define.
14738         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14739         rounding and exceptions handling.
14740         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14741         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14742         (__fe_nomask_env): Likewise.
14743         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14744         __fegetround instead of fegetround.
14745         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14746         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14747
14748 2013-11-21  Roland McGrath  <roland@hack.frob.com>
14749
14750         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14751         it's there.
14752
14753         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14754
14755 2013-11-21  Meador Inge  <meadori@codesourcery.com>
14756
14757         [BZ #11157]
14758         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14759         (encrypt_r): Likewise.
14760         * malloc/obstack.h (obstack_free): Likewise.
14761         * posix/unistd.h (encrypt): Likewise.
14762
14763 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
14764
14765         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14766         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14767         DL_CALL_DT_FINI() that call the functions directly.
14768         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14769         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14770         * elf/dl-fini.c: Likewise.
14771
14772 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
14773
14774         * malloc/hooks.c (memalign_check): Add alignment rounding.
14775         * malloc/malloc.c (_mid_memalign): New function.
14776         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14777         Implement by calling _mid_memalign.
14778         * manual/probes.texi (Memory Allocation Probes): Remove
14779         memory_valloc_retry and memory_pvalloc_retry.
14780
14781 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14782
14783         * locale/programs/locarchive.c (open_archive): Add const
14784         qualifier to ARCHIVEFNAME and copy default fname to
14785         DEFAULT_FNAME.
14786
14787         [BZ #15601]
14788         * libio/tst-widetext.input: Rename Oriya to Odia.
14789         * locale/iso-639.def: Likewise.
14790
14791         * manual/probes.texi (Mathematical Function Probes): Add
14792         documentation for sin, cos, asin and acos probes.
14793         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14794         (__sin32): Add slowasin probe.
14795         (__cos32): Add slowacos probe.
14796         (__mpsin): Add slowsin probe.
14797         (__mpcos): Add slowcos probe.
14798
14799 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
14800
14801         [BZ #15483]
14802         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14803         thread-local __sim_exceptions_thread and global
14804         __sim_exceptions_global.
14805         (__sim_disabled_exceptions): Change to thread-local
14806         __sim_disabled_exceptions_thread and global
14807         __sim_disabled_exceptions_global.
14808         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14809         and global __sim_round_mode_global.
14810         (__simulate_exceptions): Use thread-local floating-point state and
14811         set global state from it as needed.
14812         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14813         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14814         __sim_round_mode_thread.
14815         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14816         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14817         and global __sim_exceptions_global.
14818         (__sim_disabled_exceptions): Change to thread-local
14819         __sim_disabled_exceptions_thread and global
14820         __sim_disabled_exceptions_global.
14821         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14822         and global __sim_round_mode_global.
14823         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14824         (SIM_SET_GLOBAL): Likewise.
14825         * sysdeps/powerpc/soft-fp/sfp-machine.h
14826         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14827         __sim_round_mode_thread.
14828         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14829         __sim_disabled_exceptions_thread.
14830         (__sim_exceptions): Change to __sim_exceptions_thread.
14831         (__sim_disabled_exceptions): Change to
14832         __sim_disabled_exceptions_thread.
14833         (__sim_round_mode): Change to __sim_round_mode_thread.
14834         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14835         thread-local floating-point state and set global state from it as
14836         needed.
14837         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14838         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14839         (__sim_disabled_exceptions): Remove extern declaration.
14840         (feenableexcept): Use thread-local floating-point state and set
14841         global state from it as needed.
14842         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14843         extern declaration.
14844         (__sim_disabled_exceptions): Likewise.
14845         (__sim_round_mode): Likewise.
14846         (__fegetenv): Use thread-local floating-point state.
14847         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14848         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14849         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14850         floating-point state and set global state from it as needed.
14851         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14852         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14853         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14854         Likewise.
14855         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14856         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14857         Likewise.
14858         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14859         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14860         Use __sim_round_mode_thread.
14861         * math/test-fenv-tls.c: New file.
14862         * math/Makefile (tests): Add test-fenv-tls.
14863         ($(objpfx)test-fenv-tls): Depend on
14864         $(common-objpfx)nptl/libpthread.so.
14865
14866 2013-11-19  Andreas Schwab  <schwab@suse.de>
14867
14868         * locale/programs/locale.c (show_info): Decode wordarray elements.
14869         * locale/categories.def (LC_MONETARY): Add element for
14870         _NL_MONETARY_CRNCYSTR.
14871         * locale/C-monetary.c (conversion_rate): New variable.
14872         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14873         element.
14874
14875 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
14876
14877         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14878         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14879
14880 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14881
14882         * elf/Makefile (tst-auxv): New test.
14883         * elf/tst-auxv.c: New
14884         * elf/rtld.c (dl_main): Adjust AT_EXECFN
14885
14886 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
14887
14888         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14889         (hidden_proto): Caller changed.
14890         (hidden_tls_proto): New macro.
14891         (libc_hidden_tls_proto): Likewise.
14892         (rtld_hidden_tls_proto): Likewise.
14893         (libm_hidden_tls_proto): Likewise.
14894         (libresolv_hidden_tls_proto): Likewise.
14895         (librt_hidden_tls_proto): Likewise.
14896         (libdl_hidden_tls_proto): Likewise.
14897         (libnss_files_hidden_tls_proto): Likewise.
14898         (libnsl_hidden_tls_proto): Likewise.
14899         (libnss_nisplus_hidden_tls_proto): Likewise.
14900         (libutil_hidden_tls_proto): Likewise.
14901
14902 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
14903
14904         [BZ #10253]
14905         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14906         (decompose_rpath): Defer expansion to fillin_rpath.
14907         (_dl_init_paths): Pass linkmap to fillin_rpath.
14908
14909 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14910
14911         * benchtests/Makefile: Add strsep.
14912         * benchtests/bench-strsep.c: New file: strsep benchtest.
14913         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14914
14915 2013-11-18  Andreas Schwab  <schwab@suse.de>
14916
14917         * locale/programs/locale.c (show_info) [case byte]: Check for
14918         '\377' instead of '\177'.
14919         * locale/C-monetary.c (not_available): Always use "\377".
14920         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14921         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
14922         detect unavailable sign_posn locale elements.
14923         * locale/localeconv.c (__localeconv): For grouping and
14924         mon_grouping handle "\177" and "\377" like no grouping.
14925         (INT_ELEM): New macro.  Use it to set all numeric members.
14926         * locale/programs/ld-monetary.c (monetary_read)
14927         <tok_mon_grouping>: Normalize single -1 to the empty string.
14928         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14929         Likewise.
14930
14931 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14932
14933         [BZ #16055]
14934         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14935         when we match (nil).
14936         * stdio-common/tst-sscanf.c (struct test): Add testcase.
14937
14938 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
14939
14940         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14941         (NO_TEST_INLINE): Update value.
14942         (ERRNO_UNCHANGED): Likewise.
14943         (ERRNO_EDOM): Likewise.
14944         (ERRNO_ERANGE): Likewise.
14945         (IGNORE_RESULT): Likewise.
14946         (check_float_internal): Check signs of NaN results if
14947         TEST_NAN_SIGN used.
14948         (check_complex): Pass TEST_NAN_SIGN flag through to second
14949         check_float_internal call.
14950         (copysign_test_data): Add tests with quiet NaNs as second
14951         argument.  Use TEST_NAN_SIGN.
14952         (fabs_test_data): Add test of negative quiet NaN argument.  Use
14953         TEST_NAN_SIGN.
14954         (signbit_test_data): Add tests of quiet NaN argument.
14955         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14956
14957         * math/gen-libm-test.pl (show_exceptions): Take extra argument
14958         $ignore_result.
14959         (parse_args): Handle function results specified as IGNORE.
14960         * math/libm-test.inc (IGNORE_RESULT): New macro.
14961         (check_float_internal): Do not check numerical result if flag
14962         IGNORE_RESULT set.
14963         (check_complex): Pass through IGNORE_RESULT to second
14964         check_float_internal call.
14965         (check_int): Do not check numerical result if flag IGNORE_RESULT
14966         set.
14967         (check_long): Likewise.
14968         (check_bool): Likewise.
14969         (check_longlong): Likewise.
14970         (lrint_test_data): Add tests of infinite and NaN arguments.
14971         (lrint_tonearest_test_data): Likewise.
14972         (lrint_towardzero_test_data): Likewise.
14973         (lrint_downward_test_data): Likewise.
14974         (lrint_upward_test_data): Likewise.
14975         (llrint_test_data): Likewise.
14976         (llrint_tonearest_test_data): Likewise.
14977         (llrint_towardzero_test_data): Likewise.
14978         (llrint_downward_test_data): Likewise.
14979         (llrint_upward_test_data): Likewise.
14980         (lround_test_data): Likewise.
14981         (llround_test_data): Likewise.
14982
14983         * math/libm-test.inc (NO_TEST_INLINE): New macro.
14984         (ERRNO_UNCHANGED): Update value.
14985         (ERRNO_EDOM): Likewise.
14986         (ERRNO_ERANGE): Likewise.
14987         (NO_TEST_INLINE_FLOAT): New macro.
14988         (NO_TEST_INLINE_DOUBLE): Likewise.
14989         (enable_test): New function.
14990         (RUN_TEST_f_f): Check enable_test before running test.
14991         (RUN_TEST_2_f): Likewise.
14992         (RUN_TEST_fff_f): Likewise.
14993         (RUN_TEST_c_f): Likewise.
14994         (RUN_TEST_f_f1): Likewise.
14995         (RUN_TEST_fF_f1): Likewise.
14996         (RUN_TEST_fI_f1): Likewise.
14997         (RUN_TEST_ffI_f1): Likewise.
14998         (RUN_TEST_c_c): Likewise.
14999         (RUN_TEST_cc_c): Likewise.
15000         (RUN_TEST_f_i): Likewise.
15001         (RUN_TEST_f_i_tg): Likewise.
15002         (RUN_TEST_ff_i_tg): Likewise.
15003         (RUN_TEST_f_b): Likewise.
15004         (RUN_TEST_f_b_tg): Likewise.
15005         (RUN_TEST_f_l): Likewise.
15006         (RUN_TEST_f_L): Likewise.
15007         (RUN_TEST_fFF_11): Likewise.
15008         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15009         conditionals.
15010         (cosh_test_data): Likewise.
15011         (exp_test_data): Likewise.
15012         (expm1_test_data): Likewise.
15013         (hypot_test_data): Likewise.
15014         (pow_test_data): Likewise.
15015         (sinh_test_data): Likewise.
15016         (tanh_test_data): Likewise.
15017         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15018         flags argument.
15019
15020         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15021         tests with quiet NaN input and output.
15022         (acosh_test_data): Likewise.
15023         (asin_test_data): Likewise.
15024         (asinh_test_data): Likewise.
15025         (atan_test_data): Likewise.
15026         (atanh_test_data): Likewise.
15027         (atan2_test_data): Likewise.
15028         (cbrt_test_data): Likewise.
15029         (cos_test_data): Likewise.
15030         (cosh_test_data): Likewise.
15031         (erf_test_data): Likewise.
15032         (erfc_test_data): Likewise.
15033         (exp_test_data): Likewise.
15034         (exp10_test_data): Likewise.
15035         (exp2_test_data): Likewise.
15036         (expm1_test_data): Likewise.
15037         (hypot_test_data): Likewise.
15038         (j0_test_data): Likewise.
15039         (j1_test_data): Likewise.
15040         (jn_test_data): Likewise.
15041         (lgamma_test_data): Likewise.
15042         (log_test_data): Likewise.
15043         (log10_test_data): Likewise.
15044         (log1p_test_data): Likewise.
15045         (log2_test_data): Likewise.
15046         (pow_test_data): Likewise.
15047         (scalb_test_data): Likewise.
15048         (sin_test_data): Likewise.
15049         (sincos_test_data): Likewise.
15050         (sinh_test_data): Likewise.
15051         (tan_test_data): Likewise.
15052         (tanh_test_data): Likewise.
15053         (tgamma_test_data): Likewise.
15054         (y0_test_data): Likewise.
15055         (y1_test_data): Likewise.
15056         (yn_test_data): Likewise.
15057
15058         [BZ #16167]
15059         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15060         argument being NaN and avoid computations with second argument in
15061         that case.
15062         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15063         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15064         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15065
15066 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
15067
15068         * locale/iso-639.def: Add Chitwani Tharu (the).
15069
15070 2013-11-14  Andreas Schwab  <schwab@suse.de>
15071
15072         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15073         word instead of empty string.
15074
15075 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15076
15077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15078         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15080         (__fe_nomask_env): Likewise.
15081
15082 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15083
15084         * benchtests/bench-timing.h: Include time.h.
15085
15086 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15087
15088         [BZ #15997]
15089         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15090         to 3.4.0 for x32.
15091         * sysdeps/unix/sysv/linux/configure: Regenerated.
15092
15093 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15094
15095         [BZ #16151]
15096         * stdlib/strtod_l.c (round_and_return): Do not consider
15097         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15098         exponent one less than half the least subnormal exponent.
15099         * stdlib/test-strtod-round-data: Add more tests.
15100         * stdlib/tst-strtod-round.c (tests): Regenerated.
15101
15102 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15103
15104         [BZ #14143]
15105         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15106         (__fe_mask_env): Likewise.
15107         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15108         libm_hidden_proto and add function prototype.
15109         (__fe_mask_env): Add function prototype.
15110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15111         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15113         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15115         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15116
15117 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15118
15119         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15120         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15121
15122 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15123
15124         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15125         of htab_find_slot().
15126
15127 2013-11-11  David S. Miller  <davem@davemloft.net>
15128
15129         [BZ #16150]
15130         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15131         symbol in the non-vis3 case in static builds.
15132         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15133         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15134         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15135         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15136
15137 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15138
15139         [BZ #387]
15140         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15141         it is empty.
15142
15143 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15144
15145         * benchtests/Makefile: Add bench-strtod.
15146         * benchtests/bench-strtod.c: New file: strtod benchtest
15147
15148 2013-11-11  Andreas Schwab  <schwab@suse.de>
15149
15150         [BZ #16153]
15151         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15152         terminating NUL in key length.
15153
15154 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15155
15156         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15157         Add artificial ODP entry for vDSO symbol for PPC64.
15158         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15159         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15160
15161 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15162
15163         [BZ #15374]
15164         * nss/getent.c (services_keys): Recognize services starting with digit.
15165
15166 2013-11-06  David S. Miller  <davem@davemloft.net>
15167
15168         [BZ #15985]
15169         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15170         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15171
15172 2013-11-06  Will Newton  <will.newton@linaro.org>
15173
15174         * manual/memory.texi (Malloc Examples): Remove register
15175         keyword from examples.
15176
15177 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15178
15179         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15180
15181 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15182
15183         [BZ #6981]
15184         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15185         depending on [__GCC_IEC_559 > 0].
15186         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15187         depending on [__GCC_IEC_559_COMPLEX > 0].
15188
15189 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15190
15191         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15192         to iso-639.def.
15193
15194 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15195
15196         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15197
15198 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15199
15200         [BZ #16112]
15201         * malloc/malloc (malloc_info): Do not handle first bin as
15202         special case.
15203
15204 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15205
15206         * locale/iso-639.def: Add Central Nahuatl (nhn).
15207
15208 2013-11-01  Bruno Haible  <bruno@clisp.org>
15209
15210         [BZ #7003]
15211         * manual/math.texi (BSD Random): Specify range upper bound as
15212         in POSIX.
15213
15214 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15215
15216         * locale/iso-639.def: Add Meadow Mari (mhr).
15217
15218 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15219
15220         [BZ #14752], [BZ #15763]
15221         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15222         Validate name.
15223         * rt/tst_shm.c: Add test for escaping directory.
15224
15225 2013-10-31  Andreas Schwab  <schwab@suse.de>
15226
15227         [BZ #15917]
15228         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15229         followed by 'x' as part of digit sequence.
15230         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15231
15232 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15233
15234         [BZ #16037]
15235         * configure.ac: allow GNU Make 4.0 and greater.
15236         * configure: Regenerated.
15237
15238 2013-10-30  Will Newton  <will.newton@linaro.org>
15239
15240         [BZ #16038]
15241         * malloc/hooks.c (memalign_check): Limit alignment to the
15242         maximum representable power of two.
15243         * malloc/malloc.c (__libc_memalign): Likewise.
15244         * malloc/tst-memalign.c (do_test): Add test for very
15245         large alignment values.
15246         * malloc/tst-posix_memalign.c (do_test): Likewise.
15247
15248 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15249
15250         [BZ #11087]
15251         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15252         (munmap_chunk): Likewise.
15253         (mremap_chunk): Likewise.
15254
15255 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15256
15257         [BZ #15799]
15258         * stdlib/div.c (div): Remove obsolete code.
15259         * stdlib/ldiv.c (ldiv): Likewise.
15260         * stdlib/lldiv.c (lldiv): Likewise.
15261
15262 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15263
15264         [BZ #16071]
15265         * nss/nss_files/files-XXX.c (get_contents_ret): New
15266         enumerator.
15267         (get_contents): New function.
15268         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15269
15270 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15271
15272         * configure.in: Moved to ...
15273         * configure.ac: ... here. Change reference to configure.in
15274         to configure.ac.
15275         * sysdeps/arm/preconfigure.ac: ... here.
15276         configure.in to configure.ac.
15277         * sysdeps/gnu/configure.in: Moved to ...
15278         * sysdeps/gnu/configure.ac: ... here.
15279         * sysdeps/i386/configure.in: Moved to ...
15280         * sysdeps/i386/configure.ac: ... here.
15281         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15282         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15283         * sysdeps/mach/configure.in: Moved to ...
15284         * sysdeps/mach/configure.ac: ... here.
15285         * sysdeps/mach/hurd/configure.in: Moved to ...
15286         * sysdeps/mach/hurd/configure.ac: ... here.
15287         * sysdeps/powerpc/configure.in: Moved to ...
15288         * sysdeps/powerpc/configure.ac: ... here.
15289         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15290         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15291         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15292         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15293         * sysdeps/s390/s390-32/configure.in: Moved to ...
15294         * sysdeps/s390/s390-32/configure.ac: ... here.
15295         * sysdeps/s390/s390-64/configure.in: Moved to ...
15296         * sysdeps/s390/s390-64/configure.ac: ... here.
15297         * sysdeps/sh/configure.in: Moved to ...
15298         * sysdeps/sh/configure.ac: ... here.
15299         * sysdeps/sparc/configure.in: Moved to ...
15300         * sysdeps/sparc/configure.ac: ... here.
15301         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15302         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15303         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15304         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15305         * sysdeps/x86_64/configure.in: Moved to ...
15306         * sysdeps/x86_64/configure.ac: ... here.
15307         * sysdeps/x86_64/preconfigure.in: Moved to ...
15308         * sysdeps/x86_64/preconfigure.ac: ... here.
15309         * aclocal.m4: Change reference to configure.in to configure.ac.
15310         * config.h.in: Likewise.
15311         * manual/install.texi: Likewise.
15312         * manual/maint.texi: Likewise.
15313         * Makefile: Likewise.
15314         * malloc/Makefile: Likewise.
15315         * nscd/Makefile: Likewise.
15316         * Makeconfig: Change reference to configure.in and
15317         preconfigure.in to configure.ac and preconfigure.ac
15318         respectively.
15319         * INSTALL: Regenerated.
15320         * configure: Likewise.
15321         * sysdeps/gnu/configure: Likewise.
15322         * sysdeps/i386/configure: Likewise.
15323         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15324         * sysdeps/mach/configure: Likewise.
15325         * sysdeps/mach/hurd/configure: Likewise.
15326         * sysdeps/powerpc/configure: Likewise.
15327         * sysdeps/powerpc/powerpc32/configure: Likewise.
15328         * sysdeps/powerpc/powerpc64/configure: Likewise.
15329         * sysdeps/s390/s390-32/configure: Likewise.
15330         * sysdeps/s390/s390-64/configure: Likewise.
15331         * sysdeps/sh/configure: Likewise.
15332         * sysdeps/sparc/configure: Likewise.
15333         * sysdeps/unix/sysv/linux/configure: Likewise.
15334         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15335         * sysdeps/x86_64/configure: Likewise.
15336         * sysdeps/x86_64/preconfigure: Likewise.
15337
15338 2013-10-29  Andreas Schwab  <schwab@suse.de>
15339
15340         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15341
15342 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15343
15344         * benchtests/pow-inputs: Add new inputs.
15345
15346         * benchtests/exp-inputs: Add new inputs.
15347
15348         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15349         conditional check for return value.
15350         (__cos32): Likewise.
15351
15352 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15353
15354         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15355         to provide a boost for large inputs with word alignment.
15356         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15357         implementation based on optimized PPC64 strcpy.
15358         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15359         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15360         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15361         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15362
15363 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15364
15365         [BZ #2801]
15366         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15367
15368 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15369
15370         [BZ #14876]
15371         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15372         * time/tst-strptime.c (day_tests): Add testcase.
15373
15374 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15375
15376         [BZ #14029]
15377         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15378
15379 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15380
15381         [BZ #16074]
15382         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15383         MAP_FAILED on error.
15384
15385 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15386
15387         [BZ #16072]
15388         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15389         heap for large requests.
15390
15391 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15392
15393         [BZ #9954]
15394         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15395         result if the result has no associated interface.
15396         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15397         interface for all 127.X.Y.Z addresses.
15398
15399 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15400
15401         * locale/iso-639.def: Add Ligurian (lij)
15402
15403 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15404
15405         [BZ #15825]
15406         * sunrpc/rpc_main.c: Document rpcgen -5.
15407
15408 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15409
15410         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15411
15412 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15413
15414         [BZ #10278]
15415         * posix/glob.c: Match only directories when trailing slash is present.
15416         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15417         (main): Add testcase.
15418
15419 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15420
15421         [BZ #15670]
15422         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15423
15424 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15425
15426         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15427         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15428         AUTH_DES and cindex for FIPS 140-2.
15429         (DES Encryption): Add cindex FIPS 46-3.
15430
15431         * locale/locarchive.h (struct locarhandle): Add fname.
15432         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15433         if an optional argument was specified to --list-archive,
15434         otherwise NULL.
15435         * locale/programs/locarchive.c (show_archive_content): Take new
15436         argument fname and pass it via ah.fname to open_archive.
15437         * locale/programs/localedef.h: Update decl.
15438         (open_archive): If AH->fname is non-null, open that file
15439         rather than the default file name, and don't ignore ENOENT.
15440         (create_archive): Set AH.fname to NULL.
15441         (delete_locales_from_archive): Likewise.
15442         (add_locales_to_archive): Likewise.
15443         * locale/programs/locfile.c (write_all_categories): Likewise.
15444
15445 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15446             Aldy Hernandez  <aldyh@redhat.com>
15447
15448         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15449         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15450         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15451         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15452         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15453         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15454         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15455         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15456         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15457         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15458         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15459         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15460         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15461         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15462         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15463         Likewise.
15464         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15465         Likewise.
15466         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15467         Likewise.
15468         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15469         Likewise.
15470         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15471         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15472         Likewise.
15473         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15474         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15475         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15476         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15477         Likewise.
15478         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15479         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15480         * sysdeps/powerpc/preconfigure: Likewise.
15481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15482         Likewise.
15483         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15484         Replace contents of file by #include of <fenv_libc.h>.
15485         * sysdeps/powerpc/soft-fp/sfp-machine.h
15486         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15487         and <sys/prctl.h>.
15488         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15489         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15490         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15491         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15492         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15493         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15494         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15495         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15496         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15497         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15498         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15499         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15501         Allow copysignl PLT reference to be missing.
15502
15503 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
15504             Joseph Myers  <joseph@codesourcery.com
15505
15506         [BZ #15948]
15507         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15508         single character.
15509         (add_to_tablewc): Assert sequence of wide characters is nonempty.
15510
15511 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15512
15513         * elf/tst-tls-dlinfo.c: Don't include tls.h.
15514         * elf/tst-tls1.c: Likewise.
15515         * elf/tst-tls10.h: Likewise.
15516         * elf/tst-tls14.c: Likewise.
15517         * elf/tst-tls2.c: Likewise.
15518         * elf/tst-tls3.c: Likewise.
15519         * elf/tst-tls4.c: Likewise.
15520         * elf/tst-tls5.c: Likewise.
15521         * elf/tst-tls6.c: Likewise.
15522         * elf/tst-tls7.c: Likewise.
15523         * elf/tst-tls8.c: Likewise.
15524         * elf/tst-tls9.c: Likewise.
15525         * elf/tst-tlsmod1.c: Likewise.
15526         * elf/tst-tlsmod13.c: Likewise.
15527         * elf/tst-tlsmod13a.c: Likewise.
15528         * elf/tst-tlsmod14a.c: Likewise.
15529         * elf/tst-tlsmod16a.c: Likewise.
15530         * elf/tst-tlsmod16b.c: Likewise.
15531         * elf/tst-tlsmod2.c: Likewise.
15532         * elf/tst-tlsmod3.c: Likewise.
15533         * elf/tst-tlsmod4.c: Likewise.
15534         * elf/tst-tlsmod5.c: Likewise.
15535         * elf/tst-tlsmod6.c: Likewise.
15536
15537 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
15538
15539         [BZ #12486]
15540         * malloc/malloc.c: remove checks for statistics.
15541
15542 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15543
15544         [BZ #15277]
15545         * inet/inet_net.c (inet_network): Detect additional invalid strings.
15546         * inet/tst-network.c: Add testcase.
15547
15548 2013-10-17  Andreas Schwab  <schwab@suse.de>
15549
15550         [BZ #15218]
15551         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15552         to determine canonical name.
15553
15554 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15555
15556         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15557         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15558         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15559         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15560         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15561         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15562         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15563         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15564         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15565         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15566         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15567         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15568         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15569         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15570         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15571         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15572         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15573         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15574         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15575         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15576         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15577         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15578         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15579         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15580         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15581         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15582         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15583         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15584         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15585         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15586         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15587         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15588         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15589         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15590         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15591         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15592         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15593         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15594         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15595         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15596         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15597         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15598         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15599         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15600         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15601         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15602         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15603         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15604         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15605         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15606         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15607         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15608         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15609         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15610         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15611         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15612         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15613         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15614
15615 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
15616
15617         [BZ #16041]
15618         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15619         make result into a quiet NaN.
15620
15621 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
15622
15623         * soft-fp/adddf3.c: Fix horizontal whitespace.
15624         * soft-fp/addsf3.c: Likewise.
15625         * soft-fp/addtf3.c: Likewise.
15626         * soft-fp/divdf3.c: Likewise.
15627         * soft-fp/divsf3.c: Likewise.
15628         * soft-fp/divtf3.c: Likewise.
15629         * soft-fp/double.h: Likewise.
15630         * soft-fp/eqdf2.c: Likewise.
15631         * soft-fp/eqsf2.c: Likewise.
15632         * soft-fp/eqtf2.c: Likewise.
15633         * soft-fp/extenddftf2.c: Likewise.
15634         * soft-fp/extended.h: Likewise.
15635         * soft-fp/extendsfdf2.c: Likewise.
15636         * soft-fp/extendsftf2.c: Likewise.
15637         * soft-fp/extendxftf2.c: Likewise.
15638         * soft-fp/fixdfdi.c: Likewise.
15639         * soft-fp/fixdfsi.c: Likewise.
15640         * soft-fp/fixdfti.c: Likewise.
15641         * soft-fp/fixsfdi.c: Likewise.
15642         * soft-fp/fixsfsi.c: Likewise.
15643         * soft-fp/fixsfti.c: Likewise.
15644         * soft-fp/fixtfdi.c: Likewise.
15645         * soft-fp/fixtfsi.c: Likewise.
15646         * soft-fp/fixtfti.c: Likewise.
15647         * soft-fp/fixunsdfdi.c: Likewise.
15648         * soft-fp/fixunsdfsi.c: Likewise.
15649         * soft-fp/fixunsdfti.c: Likewise.
15650         * soft-fp/fixunssfdi.c: Likewise.
15651         * soft-fp/fixunssfsi.c: Likewise.
15652         * soft-fp/fixunssfti.c: Likewise.
15653         * soft-fp/fixunstfdi.c: Likewise.
15654         * soft-fp/fixunstfsi.c: Likewise.
15655         * soft-fp/fixunstfti.c: Likewise.
15656         * soft-fp/floatdidf.c: Likewise.
15657         * soft-fp/floatdisf.c: Likewise.
15658         * soft-fp/floatditf.c: Likewise.
15659         * soft-fp/floatsidf.c: Likewise.
15660         * soft-fp/floatsisf.c: Likewise.
15661         * soft-fp/floatsitf.c: Likewise.
15662         * soft-fp/floattidf.c: Likewise.
15663         * soft-fp/floattisf.c: Likewise.
15664         * soft-fp/floattitf.c: Likewise.
15665         * soft-fp/floatundidf.c: Likewise.
15666         * soft-fp/floatundisf.c: Likewise.
15667         * soft-fp/floatunditf.c: Likewise.
15668         * soft-fp/floatunsidf.c: Likewise.
15669         * soft-fp/floatunsisf.c: Likewise.
15670         * soft-fp/floatunsitf.c: Likewise.
15671         * soft-fp/floatuntidf.c: Likewise.
15672         * soft-fp/floatuntisf.c: Likewise.
15673         * soft-fp/floatuntitf.c: Likewise.
15674         * soft-fp/fmadf4.c: Likewise.
15675         * soft-fp/fmasf4.c: Likewise.
15676         * soft-fp/fmatf4.c: Likewise.
15677         * soft-fp/gedf2.c: Likewise.
15678         * soft-fp/gesf2.c: Likewise.
15679         * soft-fp/getf2.c: Likewise.
15680         * soft-fp/ledf2.c: Likewise.
15681         * soft-fp/lesf2.c: Likewise.
15682         * soft-fp/letf2.c: Likewise.
15683         * soft-fp/muldf3.c: Likewise.
15684         * soft-fp/mulsf3.c: Likewise.
15685         * soft-fp/multf3.c: Likewise.
15686         * soft-fp/negdf2.c: Likewise.
15687         * soft-fp/negsf2.c: Likewise.
15688         * soft-fp/negtf2.c: Likewise.
15689         * soft-fp/op-1.h: Likewise.
15690         * soft-fp/op-2.h: Likewise.
15691         * soft-fp/op-4.h: Likewise.
15692         * soft-fp/op-8.h: Likewise.
15693         * soft-fp/op-common.h: Likewise.
15694         * soft-fp/quad.h: Likewise.
15695         * soft-fp/single.h: Likewise.
15696         * soft-fp/soft-fp.h: Likewise.
15697         * soft-fp/sqrtdf2.c: Likewise.
15698         * soft-fp/sqrtsf2.c: Likewise.
15699         * soft-fp/sqrttf2.c: Likewise.
15700         * soft-fp/subdf3.c: Likewise.
15701         * soft-fp/subsf3.c: Likewise.
15702         * soft-fp/subtf3.c: Likewise.
15703         * soft-fp/truncdfsf2.c: Likewise.
15704         * soft-fp/trunctfdf2.c: Likewise.
15705         * soft-fp/trunctfsf2.c: Likewise.
15706         * soft-fp/trunctfxf2.c: Likewise.
15707         * soft-fp/unorddf2.c: Likewise.
15708         * soft-fp/unordsf2.c: Likewise.
15709         * soft-fp/unordtf2.c: Likewise.
15710
15711 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
15712
15713         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15714         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15715
15716 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
15717
15718         * elf/dl-libc.c: Clear initfini list after freeing.
15719
15720 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
15721
15722         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15723         * soft-fp/addsf3.c: Likewise.
15724         * soft-fp/addtf3.c: Likewise.
15725         * soft-fp/divdf3.c: Likewise.
15726         * soft-fp/divsf3.c: Likewise.
15727         * soft-fp/divtf3.c: Likewise.
15728         * soft-fp/double.h: Likewise.
15729         * soft-fp/eqdf2.c: Likewise.
15730         * soft-fp/eqsf2.c: Likewise.
15731         * soft-fp/eqtf2.c: Likewise.
15732         * soft-fp/extenddftf2.c: Likewise.
15733         * soft-fp/extended.h: Likewise.
15734         * soft-fp/extendsfdf2.c: Likewise.
15735         * soft-fp/extendsftf2.c: Likewise.
15736         * soft-fp/extendxftf2.c: Likewise.
15737         * soft-fp/fixdfdi.c: Likewise.
15738         * soft-fp/fixdfsi.c: Likewise.
15739         * soft-fp/fixdfti.c: Likewise.
15740         * soft-fp/fixsfdi.c: Likewise.
15741         * soft-fp/fixsfsi.c: Likewise.
15742         * soft-fp/fixsfti.c: Likewise.
15743         * soft-fp/fixtfdi.c: Likewise.
15744         * soft-fp/fixtfsi.c: Likewise.
15745         * soft-fp/fixtfti.c: Likewise.
15746         * soft-fp/fixunsdfdi.c: Likewise.
15747         * soft-fp/fixunsdfsi.c: Likewise.
15748         * soft-fp/fixunsdfti.c: Likewise.
15749         * soft-fp/fixunssfdi.c: Likewise.
15750         * soft-fp/fixunssfsi.c: Likewise.
15751         * soft-fp/fixunssfti.c: Likewise.
15752         * soft-fp/fixunstfdi.c: Likewise.
15753         * soft-fp/fixunstfsi.c: Likewise.
15754         * soft-fp/fixunstfti.c: Likewise.
15755         * soft-fp/floatdidf.c: Likewise.
15756         * soft-fp/floatdisf.c: Likewise.
15757         * soft-fp/floatditf.c: Likewise.
15758         * soft-fp/floatsidf.c: Likewise.
15759         * soft-fp/floatsisf.c: Likewise.
15760         * soft-fp/floatsitf.c: Likewise.
15761         * soft-fp/floattidf.c: Likewise.
15762         * soft-fp/floattisf.c: Likewise.
15763         * soft-fp/floattitf.c: Likewise.
15764         * soft-fp/floatundidf.c: Likewise.
15765         * soft-fp/floatundisf.c: Likewise.
15766         * soft-fp/floatunsidf.c: Likewise.
15767         * soft-fp/floatunsisf.c: Likewise.
15768         * soft-fp/floatuntidf.c: Likewise.
15769         * soft-fp/floatuntisf.c: Likewise.
15770         * soft-fp/floatuntitf.c: Likewise.
15771         * soft-fp/fmadf4.c: Likewise.
15772         * soft-fp/fmasf4.c: Likewise.
15773         * soft-fp/fmatf4.c: Likewise.
15774         * soft-fp/gedf2.c: Likewise.
15775         * soft-fp/gesf2.c: Likewise.
15776         * soft-fp/getf2.c: Likewise.
15777         * soft-fp/ledf2.c: Likewise.
15778         * soft-fp/lesf2.c: Likewise.
15779         * soft-fp/letf2.c: Likewise.
15780         * soft-fp/muldf3.c: Likewise.
15781         * soft-fp/mulsf3.c: Likewise.
15782         * soft-fp/multf3.c: Likewise.
15783         * soft-fp/negdf2.c: Likewise.
15784         * soft-fp/negsf2.c: Likewise.
15785         * soft-fp/negtf2.c: Likewise.
15786         * soft-fp/op-1.h: Likewise.
15787         * soft-fp/op-2.h: Likewise.
15788         * soft-fp/op-4.h: Likewise.
15789         * soft-fp/op-8.h: Likewise.
15790         * soft-fp/op-common.h: Likewise.
15791         * soft-fp/quad.h: Likewise.
15792         * soft-fp/single.h: Likewise.
15793         * soft-fp/soft-fp.h: Likewise.
15794         * soft-fp/sqrtdf2.c: Likewise.
15795         * soft-fp/sqrtsf2.c: Likewise.
15796         * soft-fp/sqrttf2.c: Likewise.
15797         * soft-fp/subdf3.c: Likewise.
15798         * soft-fp/subsf3.c: Likewise.
15799         * soft-fp/subtf3.c: Likewise.
15800         * soft-fp/truncdfsf2.c: Likewise.
15801         * soft-fp/trunctfdf2.c: Likewise.
15802         * soft-fp/trunctfsf2.c: Likewise.
15803         * soft-fp/trunctfxf2.c: Likewise.
15804         * soft-fp/unorddf2.c: Likewise.
15805         * soft-fp/unordsf2.c: Likewise.
15806         * soft-fp/unordtf2.c: Likewise.
15807
15808 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
15809
15810         [BZ #15672]
15811         * misc/error.c (error_tail): Fix possible buffer overflow.
15812
15813 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
15814
15815         [BZ #13028]
15816         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15817         address.
15818
15819 2013-10-14  P. J. McDermott  <pj@pehjota.net>
15820
15821         [BZ #832]
15822         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
15823         testing pipefail option.
15824
15825 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15826
15827         * soft-fp/double.h: Indent preprocessor directives inside #if.
15828         * soft-fp/extended.h: Likewise.
15829         * soft-fp/op-2.h: Likewise.
15830         * soft-fp/op-4.h: Likewise.
15831         * soft-fp/op-common.h: Likewise.
15832         * soft-fp/quad.h: Likewise.
15833         * soft-fp/single.h: Likewise.
15834         * soft-fp/soft-fp.h: Likewise.
15835
15836 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
15837
15838         * iconv/iconv_prog.c: Fix typos.
15839         * stdio-common/psiginfo-data.h: Likewise.
15840
15841 2013-10-12   Reuben Thomas <rrt@sc3d.org>
15842
15843         [BZ #15764]
15844         * locale/setlocale.c: Fix typo.
15845
15846 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15847
15848         [BZ #16036]
15849         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15850         signaling NaN arguments.
15851         * soft-fp/unordsf2.c (__unordsf2): Likewise.
15852         * soft-fp/unordtf2.c (__unordtf2): Likewise.
15853
15854         [BZ #14910]
15855         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15856         unordered operands.
15857         * soft-fp/gesf2.c (__gesf2): Likewise.
15858         * soft-fp/getf2.c (__getf2): Likewise.
15859         * soft-fp/ledf2.c (__ledf2): Likewise.
15860         * soft-fp/lesf2.c (__lesf2): Likewise.
15861         * soft-fp/letf2.c (__letf2): Likewise.
15862
15863         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15864         * soft-fp/eqsf2.c (__eqsf2): Likewise.
15865         * soft-fp/eqtf2.c (__eqtf2): Likewise.
15866         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15867         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15868         * soft-fp/fixdfti.c (__fixdfti): Likewise.
15869         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15870         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15871         * soft-fp/fixsfti.c (__fixsfti): Likewise.
15872         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15873         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15874         * soft-fp/fixtfti.c (__fixtfti): Likewise.
15875         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15876         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15877         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15878         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15879         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15880         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15881         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15882         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15883         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15884         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15885         * soft-fp/floatdisf.c (__floatdisf): Likewise.
15886         * soft-fp/floatsisf.c (__floatsisf): Likewise.
15887         * soft-fp/floattidf.c (__floattidf): Likewise.
15888         * soft-fp/floattisf.c (__floattisf): Likewise.
15889         * soft-fp/floattitf.c (__floattitf): Likewise.
15890         * soft-fp/floatundidf.c (__floatundidf): Likewise.
15891         * soft-fp/floatundisf.c (__floatundisf): Likewise.
15892         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15893         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15894         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15895         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15896         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15897         * soft-fp/gesf2.c (__gesf2): Likewise.
15898         * soft-fp/getf2.c (__getf2): Likewise.
15899         * soft-fp/ledf2.c (__ledf2): Likewise.
15900         * soft-fp/lesf2.c (__lesf2): Likewise.
15901         * soft-fp/letf2.c (__letf2): Likewise.
15902
15903         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15904         Undefine and redefine.
15905         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15906         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15907         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15908         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15909         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15910         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15911         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15912         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15913         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15914         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15915         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15916         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15917         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15918         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15919         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15920
15921         [BZ #16032]
15922         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15923         without decrementing exponent if mantissa >= that for the
15924         denominator, not >.
15925         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15926         denominator, not >.  Decrement exponent in < case instead of
15927         incrementing in >= case.
15928         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15929         without decrementing exponent if mantissa >= that for the
15930         denominator, not >.
15931
15932         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15933         computing saturated result for unsigned overflow.
15934
15935 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15936             Jeff Law  <law@redhat.com>
15937
15938         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15939         (atan2Mp): Add systemtap probe marker.
15940         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15941         (__ieee754_log): Add systemtap probe marker.
15942         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15943         (atanMp): Add systemtap probe marker.
15944         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15945         (tanMp): Add systemtap probe marker.
15946         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15947         (__slowexp): Add systemtap probe marker.
15948         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15949         (__slowpow): Add systemtap probe marker.
15950         * manual/probes.texi: Document probes.
15951
15952 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
15953
15954         [BZ #15362]
15955         * libio/fileops.c (_IO_new_file_write): Return count of bytes
15956         written.
15957         (_IO_new_file_xsputn): Don't return EOF if nothing has been
15958         written.
15959         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15960         written to buffer but not flushed.
15961         * libio/iofwrite_u.c:  Likewise.
15962         * libio/iopadn.c:  Return bytes returned even if EOF was
15963         encountered.
15964         * libio/iowpadn.c:  Likewise.
15965         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15966         if _IO_padn does not write the whole buffer.
15967         [!COMPILE_WPRINTF] (PAD): Likewise.
15968
15969 2013-10-10  David S. Miller  <davem@davemloft.net>
15970
15971         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15972         directory block.
15973
15974 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15975
15976         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
15977         instead of FSF address.
15978         * soft-fp/fixdfti.c: Likewise.
15979         * soft-fp/fixsfti.c: Likewise.
15980         * soft-fp/fixtfti.c: Likewise.
15981         * soft-fp/fixunsdfti.c: Likewise.
15982         * soft-fp/fixunssfti.c: Likewise.
15983         * soft-fp/fixunstfti.c: Likewise.
15984         * soft-fp/floattidf.c: Likewise.
15985         * soft-fp/floattisf.c: Likewise.
15986         * soft-fp/floattitf.c: Likewise.
15987         * soft-fp/floatuntidf.c: Likewise.
15988         * soft-fp/floatuntisf.c: Likewise.
15989         * soft-fp/floatuntitf.c: Likewise.
15990         * soft-fp/trunctfxf2.c: Likewise.
15991
15992         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
15993         * soft-fp/fixdfti.c: Likewise.
15994         * soft-fp/fixsfti.c: Likewise.
15995         * soft-fp/fixtfti.c: Likewise.
15996         * soft-fp/fixunsdfti.c: Likewise.
15997         * soft-fp/fixunssfti.c: Likewise.
15998         * soft-fp/fixunstfti.c: Likewise.
15999         * soft-fp/floattidf.c: Likewise.
16000         * soft-fp/floattisf.c: Likewise.
16001         * soft-fp/floattitf.c: Likewise.
16002         * soft-fp/floatuntidf.c: Likewise.
16003         * soft-fp/floatuntisf.c: Likewise.
16004         * soft-fp/floatuntitf.c: Likewise.
16005         * soft-fp/trunctfxf2.c: Likewise.
16006
16007 2013-10-10  David S. Miller  <davem@davemloft.net>
16008
16009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16010
16011 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16012
16013         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16014         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16015         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16016         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16017         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16018         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16019         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16020
16021         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16022         for NaNs before doing comparisons on argument.
16023         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16024         Likewise.
16025
16026 2013-10-10  Will Newton  <will.newton@linaro.org>
16027
16028         * malloc/hooks.c (memalign_check): Ensure the value of bytes
16029         passed to _int_memalign does not overflow.
16030
16031 2013-10-10  Torvald Riegel  <triegel@redhat.com>
16032
16033         * scripts/bench.pl: Add include-sources directive.
16034         * benchtests/README: Update documentation.
16035
16036 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16037
16038         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16039         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16040         instead of FP_INIT_ROUNDMODE.
16041         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16042         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16043
16044         [BZ #16034]
16045         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
16046         copy class of input value.
16047         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
16048         not handle exceptions.
16049         * soft-fp/negsf2.c (__negsf2): Likewise.
16050         * soft-fp/negtf2.c (__negtf2): Likewise.
16051         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16052
16053 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
16054
16055         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16056         semicolon.  From Linux kernel.
16057
16058 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
16059
16060         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16061
16062 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
16063
16064         [BZ #156]
16065         * manual/socket.texi: Added statement about buffer
16066         for gethostbyname2_r.
16067
16068 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
16069
16070         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16071         Use .p2align directive instead, throughout.
16072         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16073         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16074         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16075         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16076         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16077         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16078         * sysdeps/x86_64/strchr.S: Likewise.
16079         * sysdeps/x86_64/strrchr.S: Likewise.
16080
16081 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16082
16083         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16084
16085         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16086
16087         * sysdeps/generic/math_private.h (__mpsin1): Remove
16088         declaration.
16089         (__mpcos1): Likewise.
16090         (__mpsin): New argument __range_reduce.
16091         (__mpcos): Likewise.
16092         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16093         (slow): Use __mpsin and __mpcos.
16094         (slow1): Likewise.
16095         (slow2): Likewise.
16096         (sloww): Likewise.
16097         (sloww1): Likewise.
16098         (sloww2): Likewise.
16099         (bsloww): Likewise.
16100         (bsloww1): Likewise.
16101         (bsloww2): Likewise.
16102         (cslow2): Likewise.
16103         (csloww): Likewise.
16104         (csloww1): Likewise.
16105         (csloww2): Likewise.
16106         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16107         range_reduce.  Merge in __mpsin1.
16108         (__mpcos): Likewise.
16109         (__mpsin1): Remove.
16110         (__mpcos1): Likewise.
16111
16112 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16113
16114         * locale/loadlocale.c (_nl_intern_locale_data): Use
16115         LOCFILE_ALIGNED_P.
16116         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16117         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16118         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16119         obstack data is appropriately aligned.
16120         (obstack_int32_grow_fast): Likewise.
16121         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16122         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16123         (add_locale_uint32_array): Likewise.
16124
16125 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16126
16127         * benchtests/Makefile: Remove ARGLIST and RET variables.
16128         ($(objpfx)bench-%.c): Pass only function name to the script.
16129         * benchtests/README: Update documentation.
16130         * benchtests/acos-inputs: Add new directives.
16131         * benchtests/acosh-inputs: Likewise.
16132         * benchtests/asin-inputs: Likewise.
16133         * benchtests/asinh-inputs: Likewise.
16134         * benchtests/atan-inputs: Likewise.
16135         * benchtests/atanh-inputs: Likewise.
16136         * benchtests/cos-inputs: Likewise.
16137         * benchtests/cosh-inputs: Likewise.
16138         * benchtests/exp-inputs: Likewise.
16139         * benchtests/log-inputs: Likewise.
16140         * benchtests/pow-inputs: Likewise.
16141         * benchtests/rint-inputs: Likewise.
16142         * benchtests/sin-inputs: Likewise.
16143         * benchtests/sinh-inputs: Likewise.
16144         * benchtests/tan-inputs: Likewise.
16145         * benchtests/tanh-inputs: Likewise.
16146         * scripts/bench.pl: Add support for new directives.
16147
16148 2013-10-07  Alan Modra  <amodra@gmail.com>
16149
16150         * README: Fix careless merge.
16151
16152 2013-10-05  Alan Modra  <amodra@gmail.com>
16153
16154         * NEWS: Mention powerpc64le support and bugs fixed.
16155         * README: Both big-endian and little-endian powerpc64 supported.
16156
16157 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16158
16159         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16160         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16161         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16162         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16163
16164 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16165
16166         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16167         match prototype.
16168
16169 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16170
16171         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16172         Move -mhard-float appending from
16173         ports/sysdeps/powerpc/powerpc32/Makefile.
16174         [$(with-fp) = yes] (ASFLAGS): Likewise.
16175         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16176         * sysdeps/powerpc/nofpu: Move directory from
16177         ports/sysdeps/powerpc/nofpu.
16178         * sysdeps/powerpc/soft-fp: Move directory from
16179         ports/sysdeps/powerpc/soft-fp.
16180         * sysdeps/powerpc/powerpc32/405: Move directory from
16181         ports/sysdeps/powerpc/powerpc32/405.
16182         * sysdeps/powerpc/powerpc32/440: Move directory from
16183         ports/sysdeps/powerpc/powerpc32/440.
16184         * sysdeps/powerpc/powerpc32/464: Move directory from
16185         ports/sysdeps/powerpc/powerpc32/464.
16186         * sysdeps/powerpc/powerpc32/476: Move directory from
16187         ports/sysdeps/powerpc/powerpc32/476.
16188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16189         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16191         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16193         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16195         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16197         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16198         * README: Update for powerpc-*-linux-gnu software floating point
16199         support in libc.
16200
16201         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16202         case to powerpc/powerpc32*.
16203         * sysdeps/unix/sysv/linux/configure: Regenerated.
16204
16205         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16206         (_FPU_MASK_OM): Define as 0x04.
16207         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16208         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16209         0x00c10080.
16210         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16211         0x0000003c.
16212         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16213
16214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16215         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16216         getcontext_e500.
16217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16218         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16219         setcontext_e500.
16220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16221         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16222         and setcontext_e500.
16223
16224 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16225
16226         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16227
16228 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16229
16230         * manual/threads.texi (Default Thread Attributes): Fix typo.
16231
16232 2013-10-04  Will Newton  <will.newton@linaro.org>
16233
16234         * malloc/Makefile: Add tst-memalign.
16235         * malloc/tst-memalign.c: New file.
16236
16237         * malloc/tst-posix_memalign.c: Add comments.
16238         (do_test): Add comments and call free on all potentially
16239         allocated pointers. Add space after cast.
16240
16241         * malloc/tst-pvalloc.c: Add comments.
16242         (do_test): Add comments and call free on all potentially
16243         allocated pointers. Remove duplicate check for NULL pointer.
16244         Add space after cast.
16245
16246         * malloc/tst-valloc.c: Add comments.
16247         (do_test): Add comments and call free on all potentially
16248         allocated pointers. Remove duplicate check for NULL pointer.
16249         Add space after cast.
16250
16251 2013-10-04  Alan Modra  <amodra@gmail.com>
16252
16253         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16254         Use stdint types in rather than __attribute__((mode())).
16255         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16256
16257 2013-10-04  Alan Modra  <amodra@gmail.com>
16258
16259         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16260         Correct handling of unaligned relocs for little-endian.
16261         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16262
16263 2013-10-04  Alan Modra  <amodra@gmail.com>
16264
16265         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16266         * configure: Regenerate.
16267         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16268         * shlib-versions: Likewise.
16269
16270 2013-10-04  Alan Modra  <amodra@gmail.com>
16271
16272         * string/tester.c (test_memrchr): Increment reported test cycle.
16273
16274 2013-10-04  Alan Modra  <amodra@gmail.com>
16275
16276         * string/test-memcpy.c (do_one_test): When reporting errors, print
16277         string address and don't overrun end of string.
16278
16279 2013-10-04  Alan Modra  <amodra@gmail.com>
16280
16281         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16282         insrdi.  Make better use of reg selection to speed exit slightly.
16283         Schedule entry path a little better.  Remove useless "are we done"
16284         checks on entry to main loop.  Handle wrapping around zero address.
16285         Correct main loop count.  Handle single left-over word from main
16286         loop inline rather than by using loop_small.  Remove extra word
16287         case in loop_small caused by wrong loop count.  Add little-endian
16288         support.
16289         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16290         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16291         cache hint.
16292         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16293         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16294         support.  Avoid rlwimi.
16295         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16296
16297 2013-10-04  Alan Modra  <amodra@gmail.com>
16298
16299         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16300         insrdi.  Formatting.
16301         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16302         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16303         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16304         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16305         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16306         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16307
16308 2013-10-04  Alan Modra  <amodra@gmail.com>
16309
16310         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16311         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16312         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16313         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16314         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16315         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16316         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16317         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16318         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16319         use of regs.  Use power7 mtocrf.  Tidy function tails.
16320
16321 2013-10-04  Alan Modra  <amodra@gmail.com>
16322
16323         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16324         Formatting.  Consistently use rXXX register defines or rN defines.
16325         Use early exit labels that avoid restoring unused non-volatile regs.
16326         Make cr field use more consistent with rWORDn compares.  Rename
16327         regs used as shift registers for unaligned loop, using rN defines
16328         for short lifetime/multiple use regs.
16329         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16330         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16331         addi 1,1,64 to pop stack frame.  Simplify return value code.
16332         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16333
16334 2013-10-04  Alan Modra  <amodra@gmail.com>
16335
16336         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16337         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16338         rather than rlwimi.
16339         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16340         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16341         little-endian support.  Correct typos.
16342         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16343         rather than rlwimi.
16344         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16345         in loop and entry code to keep "and." results.
16346         (strchr): Add little-endian support.  Comment.  Move cntlzd
16347         earlier in tail.
16348         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16349
16350 2013-10-04  Alan Modra  <amodra@gmail.com>
16351
16352         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16353         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16354         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16355         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16356
16357 2013-10-04  Alan Modra  <amodra@gmail.com>
16358
16359         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16360         (rTMP): Define as r11.
16361         (strcmp): Add little-endian support.  Optimise tail.
16362         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16363         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16364         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16365         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16366         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16367         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16368         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16369
16370 2013-10-04  Alan Modra  <amodra@gmail.com>
16371
16372         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16373         little-endian support.  Remove unnecessary "are we done" tests.
16374         Handle "s" wrapping around zero and extremely large "size".
16375         Correct main loop count.  Handle single left-over word from main
16376         loop inline rather than by using small_loop.  Correct comments.
16377         Delete "zero" tail, use "end_max" instead.
16378         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16379
16380 2013-10-04  Alan Modra  <amodra@gmail.com>
16381
16382         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16383         support.  Don't branch over align.
16384         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16385         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16386         support.  Rearrange tmp reg use to suit.  Comment.
16387         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16388
16389 2013-10-04  Alan Modra  <amodra@gmail.com>
16390
16391         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16392
16393 2013-10-04  Alan Modra  <amodra@gmail.com>
16394
16395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16396         conditional form of branch and link when obtaining pc.
16397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16398
16399 2013-10-04  Alan Modra  <amodra@gmail.com>
16400
16401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16402         HIWORD/LOWORD.
16403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16405
16406 2013-10-04  Alan Modra  <amodra@gmail.com>
16407
16408         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16409         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16410         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16411         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16412         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16413         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16414         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16415         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16416         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16417         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16418
16419 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16420             Alistair Popple <alistair@ozlabs.au.ibm.com>
16421             Alan Modra <amodra@gmail.com>
16422
16423         [BZ #15723]
16424         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16425         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16426         _dl_hwcap access for little-endian.
16427         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16428         destroy vmx regs when saving unaligned.
16429         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16430         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16431         destroy vmx regs when saving unaligned.
16432
16433 2013-10-04  Alan Modra  <amodra@gmail.com>
16434
16435         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16436         Don't use a union to pack hi/low value.
16437
16438 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16439
16440         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16441         for little-endian.
16442         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16443         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16444         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16445         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16446         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16447
16448 2013-10-04  Alan Modra  <amodra@gmail.com>
16449
16450         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16451         constants to usual value for .cst8 section, and remove redundant
16452         high address load.
16453         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16454         constant for 0x1p52.  Load little-endian words of double from
16455         correct stack offsets.
16456
16457 2013-10-04  Alan Modra  <amodra@gmail.com>
16458
16459         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16460         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16461         words of double from correct stack offsets.
16462         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16463         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16464         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16465         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16466         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16467         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16468         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16469         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16470         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16471         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16472         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16473         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16474         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16475         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16476         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16477         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16478         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16479
16480 2013-10-04  Alan Modra  <amodra@gmail.com>
16481
16482         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16483         64-bit int/double union.
16484         (_FPU_SETCW): Likewise.
16485         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16486         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16487
16488 2013-10-04  Alan Modra  <amodra@gmail.com>
16489
16490         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16491         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16492
16493 2013-10-04  Alan Modra  <amodra@gmail.com>
16494
16495         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16496         use vector int constants.
16497         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16498
16499 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16500
16501         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16502         array with long long.
16503         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16504         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16505         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16506         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16507         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16508         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16509         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16510         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16511         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16512         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16513         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16514         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16515         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16516
16517 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16518
16519         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16520         (__signbit): Likewise.  Correct for little-endian.
16521         (__signbitl): Call __signbit.
16522         (lrint): Correct for little-endian.
16523         (lrintf): Call lrint.
16524
16525 2013-10-04  Alan Modra  <amodra@gmail.com>
16526
16527         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16528         union 32-bit int array member with 64-bit int array.
16529         (t515, tm256): Double rather than long double.
16530         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16531
16532 2013-10-04  Alan Modra  <amodra@gmail.com>
16533
16534         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16535         Delete.
16536         (IEEE854_LONG_DOUBLE_BIAS): Delete.
16537         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16538         version of math_ldbl.h.
16539
16540 2013-10-04  Alan Modra  <amodra@gmail.com>
16541
16542         [BZ #15734], [BZ #15735]
16543         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16544         all uses of ieee875 long double macros and unions.  Simplify test
16545         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
16546         ldbl_extract_mantissa value for ix,iy exponents.  Properly
16547         normalize after ldbl_extract_mantissa, and don't add hidden bit
16548         already handled.  Don't treat low word of ieee854 mantissa like
16549         low word of IBM long double and mask off bit when testing for
16550         zero.
16551         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16552         all uses of ieee875 long double macros and unions.  Simplify tests
16553         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
16554         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
16555         two1022, instead use their values.  Recognise that tests for large
16556         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
16557         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16558         Rewrite all uses of ieee875 long double macros and unions.  Simplify
16559         test for 0.0L and nan.  Correct negation.
16560         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16561         ieee875 long double macros and unions.  Correct output for large
16562         magnitude x.  Correct absolute value calculation.
16563         (__erfcl): Likewise.
16564         * math/libm-test.inc: Add tests for errors discovered in IBM long
16565         double versions of fmodl, remainderl, erfl and erfcl.
16566
16567 2013-10-04  Alan Modra  <amodra@gmail.com>
16568
16569         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16570         all uses of ieee854 long double macros and unions.  Simplify tests
16571         for long doubles that are fully specified by the high double.
16572         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16573         Likewise.
16574         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16575         Remove dead code too.
16576         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16577         (__ieee754_ynl): Likewise.
16578         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16579         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16580         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16581         Remove dead code too.
16582         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16583         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16584         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16585         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16586         Simplify.
16587         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16588         Simplify.
16589         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16590         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16591         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16592         Comment on variable precision.
16593         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16594         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16595         Likewise.
16596         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16597         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16598         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16599         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16600         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16601
16602 2013-10-04  Alan Modra  <amodra@gmail.com>
16603
16604         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16605         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16606         all uses of ieee854 long double macros and unions.
16607         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16608         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16609         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16610         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16611         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16612         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16613         Likewise.
16614         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16615         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16616         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16617         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16618         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16619         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16620         Simplify sign and nan test too.
16621         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16622         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16623         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16624         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16625         Likewise.
16626         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16627         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16628         Likewise.
16629         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16630         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16631         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16632         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16633         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16634         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16635
16636 2013-10-04  Alan Modra  <amodra@gmail.com>
16637
16638         * stdio-common/printf_size.c (__printf_size): Don't use
16639         union ieee854_long_double in fpnum union.
16640         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
16641         signbit macro to retrieve sign from long double.
16642         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16643         retrieve sign from long double.
16644         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16645         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16646         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16647         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16648         * math/test-misc.c (main): Don't use union ieee854_long_double.
16649
16650 2013-10-04  Alan Modra  <amodra@gmail.com>
16651
16652         [BZ #15680]
16653         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16654         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16655         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16656         calculation.  Remove unnecessary test for denormal exponent.
16657         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16658         Correct handling of denormals.  Avoid undefined shift behaviour.
16659         Correct normalisation of low mantissa when low double is denormal.
16660         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16661         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
16662         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16663         Correct normalisation of low mantissa.  Test for overflow of high
16664         mantissa and normalise.
16665         (ldbl_nearbyint): Use more readable constant for two52.
16666         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16667         (__mpn_construct_long_double): Fix test for overflow of high
16668         mantissa and correct normalisation.  Avoid undefined shift.
16669
16670 2013-10-04  Alan Modra  <amodra@gmail.com>
16671
16672         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16673         (union ibm_extended_long_double): Define as an array of ieee754_double.
16674         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16675         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16676         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16677         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16678         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16679         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16680         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16681         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16682         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16683         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16684         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16685
16686 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
16687
16688         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16689         page size instead of calling getpagesize.
16690
16691         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16692         (LOCFILE_ALIGN_MASK): Likewise.
16693         (LOCFILE_ALIGN_UP): Likewise.
16694         (LOCFILE_ALIGNED_P): Likewise.
16695         * locale/programs/ld-collate.c (collate_output): Use the new
16696         macros instead of __alignof__ (int32_t).
16697         * locale/weight.h (findidx): Likewise.
16698
16699 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
16700
16701         [BZ #431]
16702         * manual/string.texi: Fix strncat and wcsncat.
16703
16704 2013-10-03  Brooks Moses  <bmoses@google.com>
16705
16706         [BZ #15915]
16707         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16708         * Makerules: ...here, and adjust associated comments.
16709
16710 2013-10-02  Will Newton  <will.newton@linaro.org>
16711
16712         * malloc/Makefile: Add tst-pvalloc.
16713         * malloc/tst-pvalloc.c: New file.
16714
16715 2013-10-02  Will Newton  <will.newton@linaro.org>
16716
16717         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16718         improve test coverage.
16719
16720 2013-10-02  Will Newton  <will.newton@linaro.org>
16721
16722         * malloc/Makefile: Add tst-posix_memalign.
16723         * malloc/tst-posix_memalign.c: New file.
16724
16725 2013-10-01  Eric Blake  <eblake@redhat.com>
16726
16727         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16728         Use __THROWNL rather than __THROW on static functions.
16729
16730 2013-09-30  Petr Machata  <pmachata@redhat.com>
16731
16732         * elf/elf.h (R_AARCH64_ABS16): New macro.
16733         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16734         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16735         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16736         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16737         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16738         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16739         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16740         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16741         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16742         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16743         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16744         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16745         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16746         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16747         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16748         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16749         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16750         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16751         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16752         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16753         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16754         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16755         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16756         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16757         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16758         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16759         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16760         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16761         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16762         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16763         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16764         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16765         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16766         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16767         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16768         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16769         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16770         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16771         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16772         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16773         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16774         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16775         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16776         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16777         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16778         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16779         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16780         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16781         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16782         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16783         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16784         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16785         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16786         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16787         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16788         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16789         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16790         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16791         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16792         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16793         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16794         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16795         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16796         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16797         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16798         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16799         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16800         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16801         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16802         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16803         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16804         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16805         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16806         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16807         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16808         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16809         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16810         (R_AARCH64_TLSDESC_LDR): Likewise.
16811         (R_AARCH64_TLSDESC_ADD): Likewise.
16812         (R_AARCH64_TLSDESC_CALL): Likewise.
16813
16814 2013-09-30  Andreas Schwab  <schwab@suse.de>
16815
16816         [BZ #15048]
16817         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16818         the nss database lookup.
16819         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16820         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16821
16822 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
16823
16824         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16825
16826 2013-09-28  P. J. McDermott  <pj@pehjota.net>
16827
16828         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16829         ${Bash-specific parameter/pattern/string} parameter expansion.
16830         * sysdeps/unix/make-syscalls.sh: Likewise.
16831
16832 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16833
16834         * sysdeps/sh/stackguard-macros.h: New file.
16835
16836 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
16837
16838         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16839         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16840         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16841         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16842         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16843         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16844
16845 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16846
16847         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16848         Fix thread ID register.
16849
16850 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
16851
16852         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16853         [POSIX || UNIX98]: Require rather than permitting all symbols from
16854         <time.h>.
16855         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16856         element of struct sched_param.
16857         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16858         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16859         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16860         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16861         constant.
16862
16863 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
16864
16865         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16866         argument calculation.
16867
16868 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16869
16870         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16871         Expect macro.
16872         [POSIX] (pthread_attr_t): Do not require type.
16873         [POSIX] (pthread_cond_t): Likewise.
16874         [POSIX] (pthread_condattr_t): Likewise.
16875         [POSIX] (pthread_key_t): Likewise.
16876         [POSIX] (pthread_mutex_t): Likewise.
16877         [POSIX] (pthread_mutexattr_t): Likewise.
16878         [POSIX] (pthread_once_t): Likewise.
16879         [POSIX] (pthread_t): Likewise.
16880         [POSIX-based standards] (pthread_atfork): Expect function.
16881
16882 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16883             Richard Sandiford  <richard@codesourcery.com>
16884
16885         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16886         (swap_endianness_p): New extern variable.
16887         (set_big_endian): New inline function.
16888         (maybe_swap_uint32): Likewise.
16889         (maybe_swap_uint32_array): Likewise.
16890         (maybe_swap_uint32_obstack): Likewise.
16891         * locale/programs/locfile.c: Include <stdbool.h>.
16892         (swap_endianness_p): New variable.
16893         (add_locale_uint32): Call maybe_swap_uint32.
16894         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16895         (write_locale_data): Call maybe_swap_uint32_array.
16896         * locale/programs/ld-collate.c (obstack_int32_grow): Call
16897         maybe_swap_uint32.
16898         (obstack_int32_grow_fast): Likewise.
16899         (output_weightwc): Call maybe_swap_uint32_obstack.
16900         (collate_output): Likewise.
16901         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16902         (OPT_LITTLE_ENDIAN): Likewise.
16903         (options): Add --little-endian and --big-endian options.
16904         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16905         * locale/programs/locarchive.c: Include "locfile.h".
16906         (GET): New macro.
16907         (SET): Likewise.
16908         (INC): Likewise.
16909         (create_archive): Use the new macros to access fields of
16910         structures directly mapped from or written to locale archives.
16911         (oldlocrecentcmp): Likewise.
16912         (enlarge_archive): Likewise.
16913         (insert_name): Likewise.
16914         (add_alias): Likewise.
16915         (add_locale): Likewise.
16916         (delete_locales_from_archive): Likewise.
16917         (show_archive_content): Likewise.
16918         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
16919         locale data.
16920
16921 2013-09-24  Roland McGrath  <roland@hack.frob.com>
16922
16923         * manual/freemanuals.texi: Updated from (newly) canonical copy at
16924         http://www.gnu.org/doc/freemanuals.texi.
16925         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16926
16927 2013-09-24  Will Newton  <will.newton@linaro.org>
16928
16929         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16930         macro.
16931
16932 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
16933
16934         * locale/hashval.h (compute_hashval): Interpret bytes of key as
16935         unsigned char.
16936
16937 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
16938
16939         * manual/threads.texi (POSIX Threads): Fix a typo.
16940
16941 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16942
16943         [BZ #14547]
16944         * string/tst-strcoll-overflow.c: New test case.
16945         * string/Makefile (xtests): Add tst-strcoll-overflow.
16946         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16947         cache if string sizes may cause integer overflow.
16948
16949         [BZ #14547]
16950         * string/strcoll_l.c (coll_seq): New members rule, idx,
16951         save_idx and back_us.
16952         (get_next_seq_nocache): New function.
16953         (do_compare_nocache): New function.
16954         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16955         when malloc fails.
16956
16957 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
16958
16959         [BZ #15754]
16960         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16961         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16962         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16963
16964         [BZ #15754]
16965         * elf/Makefile (tests): Add tst-ptrguard1.
16966         (tests-static): Add tst-ptrguard1-static.
16967         (tst-ptrguard1-ARGS): Define.
16968         (tst-ptrguard1-static-ARGS): Define.
16969         * elf/tst-ptrguard1.c: New file.
16970         * elf/tst-ptrguard1-static.c: New file.
16971         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16972         * sysdeps/i386/stackguard-macros.h: Likewise.
16973         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16974         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16975         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16976         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16977         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16978         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16979
16980 2013-09-23  Hector Marco  <hecmargi@upv.es>
16981             Ismael Ripoll  <iripoll@disca.upv.es>
16982             Carlos O'Donell  <carlos@redhat.com>
16983
16984         [BZ #15754]
16985         * sysdeps/generic/stackguard-macros.h: Define
16986         __pointer_chk_guard_local and POINTER_CHK_GUARD.
16987         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16988         Define __pointer_chk_guard_local.
16989         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16990         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16991
16992 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
16993
16994         [BZ #15859]
16995         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16996
16997 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
16998
16999         * include/string.h (__ffs): Declare as hidden.
17000         * string/ffs.c (__ffs): Define as hidden.
17001         * sysdeps/i386/ffs.c (__ffs): Likewise.
17002         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17003         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17004         * sysdeps/s390/ffs.c (__ffs): Likewise.
17005         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17006
17007 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17008
17009         * NEWS: Mention malloc probes.
17010
17011         * malloc/arena.c (new_heap): New memory_heap_new probe.
17012         (grow_heap): New memory_heap_more probe.
17013         (shrink_heap): New memory_heap_less probe.
17014         (heap_trim): New memory_heap_free probe.
17015         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17016         (systrim): New memory_sbrk_less probe.
17017         * manual/probes.texi: Document them.
17018
17019         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17020         * manual/probes.texi: Document it.
17021
17022         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17023         (__libc_realloc): Add memory_realloc_retry probe.
17024         (__libc_memalign): Add memory_memalign_retry probe.
17025         (__libc_valloc): Add memory_valloc_retry probe.
17026         (__libc_pvalloc): Add memory_pvalloc_retry probe.
17027         (__libc_calloc): Add memory_calloc_retry probe.
17028         * manual/probes.texi: Document them.
17029
17030         * malloc/arena.c (get_free_list): Add probe
17031         memory_arena_reuse_free_list.
17032         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17033         and memory_arena_reuse.
17034         (arena_get2) [!PER_THREAD]: Likewise.
17035         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17036         memory_arena_reuse_realloc.
17037         * manual/probes.texi: Document them.
17038
17039         * malloc/malloc.c (__libc_free): Add
17040         memory_mallopt_free_dyn_thresholds probe.
17041         (__libc_mallopt): Add multiple memory_mallopt probes.
17042         * manual/probes.texi: Document them.
17043
17044         * malloc/malloc.c: Include stap-probe.h.
17045         (__libc_mallopt): Add memory_mallopt probe.
17046         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17047         * manual/probes.texi: New.
17048         * manual/Makefile (chapters): Add probes.
17049         * manual/threads.texi: Set next node.
17050
17051 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
17052
17053         [BZ #15963, #13985]
17054         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17055         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17056         Add `Chinese' to `nan' entry name.
17057
17058 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17059
17060         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17061         (POLYNOMIAL): Likewise.
17062         (TAYLOR_SINCOS): Likewise.
17063         (TAYLOR_SLOW): Likewise.
17064         (__sin): Use TAYLOR_SINCOS.
17065         (__cos): Likewise.
17066         (slow): Use TAYLOR_SLOW.
17067         (sloww): Likewise.
17068         (bsloww): Likewise.
17069         (csloww): Likewise.
17070
17071 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17072
17073         * stdlib/strtod_l.c: Fix buffer overrun.
17074
17075 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17076
17077         * benchtests/Makefile (bench): Add sincos.
17078         * benchtests/bench-sincos.c: New file.
17079
17080         * math/libm-test.inc (cos_test_data): New test inputs.
17081         (sin_test_data): Likewise.
17082
17083         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17084         macro.
17085         (__sin): Use it.
17086         (__cos): Likewise.
17087         (slow1): Likewise.
17088         (slow2): Likewise.
17089         (sloww1): Likewise.
17090         (sloww2): Likewise.
17091         (bsloww1): Likewise.
17092         (bsloww2): Likewise.
17093         (cslow2): Likewise.
17094         (csloww1): Likewise.
17095         (csloww2): Likewise.
17096
17097         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17098         function.
17099         (__sin): Use it.
17100         (__cos): Likewise.
17101
17102         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17103         gotos.
17104         (__cos): Likewise.
17105
17106 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17107
17108         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17109         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17110         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17111         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17112         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17113         * elf/cache.c (print_entry): Handle the new cache flags.
17114
17115 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17116             Aldy Hernandez  <aldyh@redhat.com>
17117
17118         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17119         Change condition to [_SOFT_FLOAT].
17120         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17121         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17122         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17123         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17124         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17125         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17126         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17127         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17128         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17129         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17130         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17131         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17132         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17133         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17134         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17135         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17136         declaration.
17137
17138 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17139
17140         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17141         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17142         (__longjmp): Use LOAD_GP to load saved GPRs.
17143         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17144         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17145         (__sigsetjmp): Use SAVE_GP to save GPRs.
17146
17147         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17148         Do not append -msoft-float.
17149         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17150
17151 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17152
17153         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17154
17155 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17156
17157         [BZ #15966]
17158         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17159         (_FPU_GETCW): Use initial "__" on variable and field names but not
17160         on macro parameter name.
17161         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17162         parentheses around reference to macro parameter.
17163
17164 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17165
17166         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17167         prototype.
17168         (ctype_startup): Use uint32_t in cast and sizeof for
17169         ctype->charnames.
17170
17171 2013-09-11  Jia Liu  <proljc@gmail.com>
17172
17173         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17174         __daddr_t_defined.
17175         [__FreeBSD__]: Likewise.
17176
17177 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17178
17179         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17180         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17181         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17182         (strchr): Remove __strchr_sse42 ifunc selection.
17183         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17184         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17185
17186 2013-09-11  Will Newton  <will.newton@linaro.org>
17187
17188         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17189         parameter to RES. Remove hardcoded 1000 value.
17190         * benchtests/bench-skeleton.c (main): Pass RES parameter
17191         to TIMING_INIT and multiply result by 1000.
17192
17193 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17194
17195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17196
17197 2013-09-11  Andreas Schwab  <schwab@suse.de>
17198
17199         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17200         if not defined.
17201         (O_TMPFILE) [__USE_GNU]: Define.
17202         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17203         Define.
17204
17205 2013-09-11  Will Newton  <will.newton@linaro.org>
17206
17207         [BZ #15857]
17208         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17209         does not overflow.
17210
17211 2013-09-11  Will Newton  <will.newton@linaro.org>
17212
17213         [BZ #15856]
17214         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17215         does not overflow.
17216
17217 2013-09-11  Will Newton  <will.newton@linaro.org>
17218
17219         [BZ #15855]
17220         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17221         does not overflow.
17222
17223 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17224
17225         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17226         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17227         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17228         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17229         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17230
17231 2013-09-10  Allan McRae  <allan@archlinux.org>
17232
17233         [BZ #15748]
17234         * manual/arith.texi (Parsing of Floats): Clarify
17235         cross-reference.
17236
17237         [BZ #15849]
17238         * manual/install.texi (Running make install): Mention
17239         --enable-pt-chown.
17240         * INSTALL: Regenerated.
17241
17242 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17243
17244         * csu/init-first.c (_init): Remove the !SHARED condition around
17245         FPU control word initialization.
17246         * elf/dl-support.c (_dl_fpu_control): New variable.
17247         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17248         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17249         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17250         * math/test-fpucw-static.c: New file.
17251         * math/test-fpucw-ieee.c: New file.
17252         * math/test-fpucw-ieee-static.c: New file.
17253         * math/Makefile (tests): Add `test-fpucw-ieee' and
17254         `$(tests-static)'.
17255         (tests-static): New variable.
17256         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17257         dependency to...
17258         [($(build-shared),yes)]
17259         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17260         ... this.
17261         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17262         New dependency.
17263
17264 2013-09-09  Allan McRae  <allan@archlinux.org>
17265
17266         [BZ #15939]
17267         * manual/string.texi (Collation Functions): Fix typo in
17268         strcoll example.
17269         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17270
17271         [BZ #15893]
17272         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17273
17274         [BZ #15892]
17275         * libio/memstream.c (open_memstream): Fix memory leak.
17276         * libio/wmemstream.c (open_wmemstream): Likewise.
17277
17278         [BZ #15895]
17279         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17280
17281 2013-09-09  Will Newton  <will.newton@linaro.org>
17282
17283         * malloc/Makefile: Add tst-realloc to tests.
17284         * malloc/tst-realloc.c: New file.
17285
17286 2013-09-09  Allan McRae  <allan@archlinux.org>
17287
17288         [BZ #15844]
17289         * COPYING: Update from GNU website to fix FSF address.
17290         * COPYING.LIB: Likewise.
17291
17292 2013-09-06  David S. Miller  <davem@davemloft.net>
17293
17294         * po/zh_TW.po: Update Chinese (traditional) translation from
17295         translation project.
17296
17297 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17298             Joseph Myers  <joseph@codesourcery.com>
17299
17300         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17301         "localeinfo.h".
17302         (obstack_chunk_alloc): New macro.
17303         (obstack_chunk_free): Likewise.
17304         (record_offset): New function.
17305         (init_locale_data): Likewise.
17306         (align_locale_data): Likewise.
17307         (add_locale_empty): Likewise.
17308         (add_locale_raw_data): Likewise.
17309         (add_locale_raw_obstack): Likewise.
17310         (add_locale_string): Likewise.
17311         (add_locale_wstring): Likewise.
17312         (add_locale_uint32): Likewise.
17313         (add_locale_uint32_array): Likewise.
17314         (add_locale_char): Likewise.
17315         (start_locale_structure): Likewise.
17316         (end_locale_structure): Likewise.
17317         (start_locale_prelude): Likewise.
17318         (end_locale_prelude): Likewise.
17319         (write_locale_data): Take locale_file structure rather than an
17320         iovec.
17321         * locale/programs/locfile.h: Include "obstack.h".
17322         (struct locale_file): Change to store locale file contents instead
17323         of header.
17324         (init_locale_data): New prototype.
17325         (align_locale_data): Likewise.
17326         (add_locale_empty): Likewise.
17327         (add_locale_raw_data): Likewise.
17328         (add_locale_raw_obstack): Likewise.
17329         (add_locale_string): Likewise.
17330         (add_locale_wstring): Likewise.
17331         (add_locale_uint32): Likewise.
17332         (add_locale_uint32_array): Likewise.
17333         (add_locale_char): Likewise.
17334         (start_locale_structure): Likewise.
17335         (end_locale_structure): Likewise.
17336         (start_locale_prelude): Likewise.
17337         (end_locale_prelude): Likewise.
17338         (write_locale_data): Update prototype.
17339         * locale/programs/3level.h (struct TABLE): Remove result field.
17340         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17341         Use new locale_file interface.
17342         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17343         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17344         * locale/programs/ld-address.c (address_output): Use new
17345         locale_file interface.
17346         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17347         NO_ADD_LOCALE.
17348         (collate_finish): Don't call collseq_table_finalize.
17349         (collate_output): Use new locale_file interface.
17350         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17351         in file.
17352         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17353         (TABLE): Move defines earlier in file.
17354         (ELEMENT): Likewise.
17355         (DEFAULT): Likewise.
17356         (wctrans_table_add): Move macro and inline function earlier in
17357         file.
17358         (struct wctype_table): Move type earlier in file.
17359         (add_locale_wctype_table): New static prototype.
17360         (struct locale_ctype_t): Use logical types instead of struct iovec
17361         pointers for members.
17362         (ctype_output): Use new locale_file interface.
17363         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17364         new locale_file interface.
17365         (allocate_arrays): Update for use of new locale_file interface.
17366         * locale/programs/ld-identification.c (identification_output): Use
17367         new locale_file interface.
17368         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17369         * locale/programs/ld-messages.c (messages_output): Likewise.
17370         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17371         * locale/programs/ld-name.c (name_output): Likewise.
17372         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17373         * locale/programs/ld-paper.c (paper_output): Likewise.
17374         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17375         * locale/programs/ld-time.c (time_output): Likewise.
17376
17377 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17378
17379         * benchtests/Makefile: Add memrchr benchmark.
17380         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17381         benchmark as memrchr.
17382         * benchtests/bench-memrchr-ifunc.c: New file.
17383         * benchtests/bench-memrchr.c: New file.
17384
17385 2013-09-06   Will Newton  <will.newton@linaro.org>
17386
17387         * benchtests/Makefile (string-bench): Add memcpy.
17388
17389 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17390             Cong Wang  <amwang@redhat.com>
17391
17392         [BZ #15850]
17393         * sysdeps/unix/sysv/linux/bits/in.h
17394         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17395         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17396         before __USE_KERNEL_IPV6_DEFS uses.
17397         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17398         IPPROTO_BEETPH.
17399         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17400         sockaddr_in6, or ipv6_mreq.
17401
17402 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17403
17404         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17405         memory access for final bytes in some large inputs.
17406         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17407
17408 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17409
17410         * string/test-memrchr.c: New file.
17411         * string/test-memrchr-ifunc.c: New file.
17412         * string/Makefile: Add new memrchr testcase.
17413
17414 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17415
17416         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17417         fanotify_init returns EPERM.
17418
17419 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17420
17421         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17422         errors.
17423         (top level): Treat second token from macro or constant entries for
17424         allowed headers as allowed.
17425         * include/complex.h: Condition internal declarations on
17426         [!_ISOMAC].
17427         * include/fenv.h: Condition include of <stdbool.h> and internal
17428         declarations on [!_ISOMAC].
17429
17430 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17431
17432         [BZ #15923]
17433         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17434
17435 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17436
17437         * configure.in (--enable-versioning): Remove configure option.
17438         (libc_cv_asm_symver_directive): Remove configure test.
17439         (libc_cv_ld_version_script_option): Likewise.
17440         (VERSIONING): Remove variable and AC_SUBST.
17441         (DO_VERSIONING): Remove AC_DEFINE.
17442         * configure: Regenerated.
17443         * config.h.in (DO_VERSIONING): Remove macro.
17444         * Makerules [$(versioning) = yes]: Change conditionals to
17445         [$(build-shared) = yes].
17446         * config.make.in (versioning): Remove variable.
17447         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17448         [$(build-shared) = yes].
17449         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17450         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17451         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17452         [$(build-shared) = yes].
17453         * extra-lib.mk [$(versioning) = yes]: Likewise.
17454         * hurd/Makefile [$(versioning) = yes]: Likewise.
17455         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17456         [SHARED].
17457         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17458         [SHARED].
17459         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17460         [SHARED && !NO_HIDDEN].
17461         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17462         [SHARED].
17463         [SHARED && DO_VERSIONING]: Likewise..
17464         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17465         [$(build-shared) = yes].
17466         * manual/install.texi (--disable-versioning): Remove
17467         documentation.
17468         * INSTALL: Regenerated.
17469         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17470         to [SHARED].
17471         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17472         [$(build-shared) = yes].
17473         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17474         * sysdeps/i386/i686/multiarch/strstr-c.c
17475         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17476         [SHARED && !NO_HIDDEN].
17477         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17478         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17479         * sysdeps/powerpc/powerpc32/dl-machine.c
17480         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17481         * sysdeps/powerpc/powerpc32/sysdep.h
17482         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17483         to [SHARED && PIC && !NO_HIDDEN].
17484         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17485         conditional to [SHARED].
17486
17487 2013-09-04   Will Newton  <will.newton@linaro.org>
17488
17489         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17490         * benchtests/bench-string.h: Include bench-timing.h instead
17491         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17492         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17493         call to HP_TIMING_DIFF_INIT.
17494         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17495         instead of hp-timing.h macros.
17496         * benchtests/bench-memchr.c: Likewise.
17497         * benchtests/bench-memcmp.c: Likewise.
17498         * benchtests/bench-memcpy.c: Likewise.
17499         * benchtests/bench-memmem.c: Likewise.
17500         * benchtests/bench-memmove.c: Likewise.
17501         * benchtests/bench-memset.c: Likewise.
17502         * benchtests/bench-rawmemchr.c: Likewise.
17503         * benchtests/bench-strcasecmp.c: Likewise.
17504         * benchtests/bench-strcasestr.c: Likewise.
17505         * benchtests/bench-strcat.c: Likewise.
17506         * benchtests/bench-strchr.c: Likewise.
17507         * benchtests/bench-strcmp.c: Likewise.
17508         * benchtests/bench-strcpy.c: Likewise.
17509         * benchtests/bench-strcpy_chk.c: Likewise.
17510         * benchtests/bench-strlen.c: Likewise.
17511         * benchtests/bench-strncasecmp.c: Likewise.
17512         * benchtests/bench-strncat.c: Likewise.
17513         * benchtests/bench-strncmp.c: Likewise.
17514         * benchtests/bench-strncpy.c: Likewise.
17515         * benchtests/bench-strnlen.c: Likewise.
17516         * benchtests/bench-strpbrk.c: Likewise.
17517         * benchtests/bench-strrchr.c: Likewise.
17518         * benchtests/bench-strspn.c: Likewise.
17519         * benchtests/bench-strstr.c: Likewise.
17520
17521 2013-09-04  Will Newton  <will.newton@linaro.org>
17522
17523         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17524
17525 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
17526
17527         [BZ #15427]
17528         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17529         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17530         * math/libm-test.inc (lgamma_test_data): Add more tests.
17531         * sysdeps/i386/fpu/libm-test-ulps: Update.
17532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17533
17534 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
17535
17536         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17537         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17538         Add ifunc.
17539         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17540         Add strcmp-sse2-unaligned
17541         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17542
17543 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17544
17545         * Versions.def (libc): Add GLIBC_2.19.
17546
17547 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17548
17549         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17550         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17551
17552 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
17553
17554         [BZ #14155]
17555         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17556         intermediate calculations in recurrence.
17557         (__ieee754_ynf): Likewise.
17558         * math/libm-test.inc (jn_test_data): Do not allow spurious
17559         underflow exception.  Add more tests.
17560         (yn_test_data): Add more tests.
17561         * sysdeps/i386/fpu/libm-test-ulps: Update.
17562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17563
17564 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
17565
17566         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17567
17568 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17569
17570         * csu/init-first.c: Fix then/than typos.
17571         * locale/programs/ld-collate.c: Likewise.
17572         * locale/programs/linereader.h: Likewise.
17573         * manual/charset.texi: Likewise.
17574         * manual/filesys.texi: Likewise.
17575         * manual/stdio.texi: Likewise.
17576         * manual/string.texi: Likewise.
17577         * stdlib/fmtmsg.c: Likewise.
17578         * sysdeps/i386/stpncpy.S: Likewise.
17579         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17580         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17581         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17582         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17583
17584 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17585
17586         * elf/dl-open.c: Fix typos.
17587         * iconvdata/gbbig5.c: Likewise.
17588         * iconvdata/iso-2022-jp.c: Likewise.
17589         * iconv/gconv_int.h: Likewise.
17590         * iconv/loop.c: Likewise.
17591         * nis/rpcsvc/nis.h: Likewise.
17592         * resolv/ns_name.c: Likewise.
17593         * stdio-common/vfscanf.c: Likewise.
17594         * streams/stropts.h: Likewise.
17595         * sunrpc/rpc_thread.c: Likewise.
17596         * sysdeps/i386/strpbrk.S: Likewise.
17597         * sysdeps/ieee754/k_standard.c: Likewise.
17598         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17599         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17600         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17601         * sysdeps/mach/hurd/profil.c: Likewise.
17602         * sysdeps/s390/dl-procinfo.h: Likewise.
17603         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17604         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17605         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17606         * sysdeps/x86_64/dl-trampoline.S: Likewise.
17607         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17608
17609 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
17610
17611         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17612         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17613
17614 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
17615
17616         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17617         aix specific files.
17618         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17619         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17620         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17621         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17622         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17623         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17624         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17625         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17626
17627 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17628             Roland McGrath  <roland@hack.frob.com>
17629
17630         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17631         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17632
17633 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17634
17635         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17636         __executable_start symbol instead of _start.
17637
17638 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17639
17640         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17641         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17642         Move macros to...
17643         * sysdeps/gnu/ldsodefs.h: ... this new file.
17644
17645         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17646         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17647         instead of ELFOSABI_LINUX.
17648
17649         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17650         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17651         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17652         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17653         Likewise.
17654         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17655         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17656         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17657         Likewise.
17658         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17659         (ibm_extended_long_double): Add ieee_nan member.
17660         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17661         (do_test): New function.
17662
17663         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17664         TEST_TRUNC.
17665         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17666         functions, renamed from truncdfsf_test, trunctfsf_test,
17667         trunctfdf_test.
17668         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17669         functions.
17670         (do_test): Run all these.
17671
17672 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
17673
17674         * argp/argp-help.c: Fix typos.
17675         * argp/argp-parse.c: Likewise.
17676         * debug/backtracesyms.c: Likewise.
17677         * elf/elf.h: Likewise.
17678         * malloc/malloc.c: Likewise.
17679         * nis/nis_print.c: Likewise.
17680         * resolv/res_comp.c: Likewise.
17681         * stdlib/stdlib.h: Likewise.
17682         * sunrpc/clnt_tcp.c: Likewise.
17683         * sunrpc/clnt_udp.c: Likewise.
17684         * sunrpc/clnt_unix.c: Likewise.
17685         * sysdeps/unix/bsd/ptsname.c: Likewise.
17686         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17687         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17689         Likewise.
17690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17691         Likewise.
17692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17693         Likewise.
17694         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17695
17696 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17697
17698         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17699         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17700
17701 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
17702
17703         [BZ #15897]
17704         * dlfcn/Makefile (tests): Add bug-dl-leaf.
17705         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17706         ($(objpfx)bug-dl-leaf): New rule.
17707         ($(objpfx)bug-dl-leaf.so): Likewise.
17708         ($(objpfx)bug-dl-leaf.out): Likewise.
17709         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17710         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17711         * dlfcn/bug-dl-leaf.c: New test.
17712         * dlfcn/bug-dl-leaf-lib.c: Likewise.
17713         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17714         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17715         (dlclose): Likewise.
17716         (dlmopen): Likewise.
17717
17718 2013-08-27  Roland McGrath  <roland@hack.frob.com>
17719
17720         * include/netdb.h [!_ISOMAC]:
17721         Don't include <tls.h>.
17722         (h_errno, __libc_h_errno): Move declaration and macros out of
17723         [_LIBC_REENTRANT].
17724
17725         * include/resolv.h [_RESOLV_H_]:
17726         Don't include <tls.h>.
17727         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17728         * resolv/res_libc.c: Don't include <tls.h>.
17729         (_res): Use __attribute__ ((nocommon)) in place of
17730         __attribute__ ((section (".bss"))).
17731
17732         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17733         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17734
17735         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17736
17737         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17738         only under [SIOCGIFCONF && SIOCGIFNETMASK].
17739
17740         * resolv/res_mkquery.c: Include <sys/time.h>.
17741
17742         * inet/ifreq.c: Moved to ...
17743         * sysdeps/unix/ifreq.c: ... here.
17744         * inet/ifreq.c: New file, true stub version.
17745
17746         * socket/sa_len.c: New file.
17747         * socket/Makefile (aux): Add it.
17748         * sysdeps/unix/sysv/linux/Makefile
17749         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17750         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17751         and #include <socket/sa_len.c>.
17752         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17753         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17754
17755         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17756         * bits/socket.h: ... here.
17757
17758         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17759         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17760         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17761
17762 2013-08-27  Andreas Schwab  <schwab@suse.de>
17763
17764         [BZ #15736]
17765         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17766         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17767         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17768         * string/test-strcasecmp.c (test_main): Run tests in several
17769         locales.
17770         * string/test-strncasecmp.c (test_main): Likewise.
17771
17772         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17773         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17774         to __strcasecmp_nonascii and __strncasecmp_nonascii.
17775         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17776         (__strncasecmp_ssse3) [PIC]: Likewise.
17777
17778 2013-08-26  Roland McGrath  <roland@hack.frob.com>
17779
17780         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17781
17782         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17783         instead of explicitly declaring xdecrypt.
17784         * nis/nss_nis/nis-publickey.c: Likewise.
17785
17786 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17787
17788         [BZ #15890]
17789         * nscd/aicache.c: Include res_hconf.h.
17790         (addhstaiX): Initialize res_hconf.
17791
17792 2013-08-26  Andreas Schwab  <schwab@suse.de>
17793
17794         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17795         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17796
17797 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17798
17799         * nscd/aicache.c (addhstaiX): Fix indentation.
17800
17801 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
17802
17803         * configure.ac: Quote $build_pt_chown test.
17804         * configure: Regenerated.
17805
17806 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
17807
17808         [BZ #15532]
17809         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17810         * math/s_cexpf.c (__cexpf): Likewise.
17811         * math/s_cexpl.c (__cexpl): Likewise.
17812         * math/libm-test.inc (cexp_test_data): Correct expected return
17813         value for NaN + i0.  Add another test.
17814
17815 2013-08-22  David S. Miller  <davem@davemloft.net>
17816
17817         * po/ca.po: Update Catalan translation from translation project.
17818         * po/uk.po: Add Ukrainian translations from translation project.
17819
17820 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
17821
17822         [BZ #15797]
17823         * math/s_fdim.c (__fdim): Check for infinite arguments if result
17824         is infinite, not alongside NaN test.
17825         * math/s_fdimf.c (__fdimf): Likewise.
17826         * math/s_fdiml.c (__fdiml): Likewise.
17827         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
17828         errno is unchanged.
17829
17830 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
17831
17832         * argp/argp-help.c: Fix typos.
17833         * crypt/speeds.c: Likewise.
17834         * csu/check_fds.c: Likewise.
17835         * elf/dl-load.c: Likewise.
17836         * elf/dl-open.c: Likewise.
17837         * elf/reldep3.c: Likewise.
17838         * elf/reldep.c: Likewise.
17839         * elf/sprof.c: Likewise.
17840         * iconv/iconv_charmap.c: Likewise.
17841         * iconv/skeleton.c: Likewise.
17842         * iconv/strtab.c: Likewise.
17843         * io/lockf64.c: Likewise.
17844         * libio/libioP.h: Likewise.
17845         * resolv/gai_notify.c: Likewise.
17846         * resolv/ns_name.c: Likewise.
17847         * resolv/ns_samedomain.c: Likewise.
17848         * resolv/res_send.c: Likewise.
17849         * stdlib/random.c: Likewise.
17850         * sunrpc/rpc/xdr.h: Likewise.
17851         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17852         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17853         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17854         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17855         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17856         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17857         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17858         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17859         * sysdeps/mach/hurd/check_fds.c: Likewise.
17860         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17861         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17862         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17863         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17864         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17865         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17866         * sysdeps/pthread/aio_notify.c: Likewise.
17867         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17868         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17869         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17870         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17871         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17872
17873 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17874
17875         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17876         version if bit_Slow_SSE4_2 is set.
17877         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17878         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17879
17880 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17881
17882         [BZ #15867]
17883         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17884         trampoline stack frame information.
17885         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17886         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17887         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17888         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17889         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17890         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17891         (_libc_vdso_platform_setup): Initialize the signal trampolines.
17892         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17893         sa_flags value.
17894         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17895         interrupting a syscall and set with option SA_SIGINFO.
17896
17897 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17898
17899         [BZ #15531]
17900         * math/s_cproj.c (__cproj): Only return an infinity if one part of
17901         argument is infinite.
17902         * math/s_cprojf.c (__cprojf): Likewise.
17903         * math/s_cprojl.c (__cprojl): Likewise.
17904         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17905         * math/libm-test.inc (cproj_test_data): Add more tests.
17906
17907         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17908
17909         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17910         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17911         size.  Use __ffs to determine corresponding shift.
17912
17913 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17914             Roland McGrath  <roland@hack.frob.com>
17915
17916         * Makefile (INSTALL): Remove trailing blank lines from output of
17917         makeinfo.
17918
17919 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17920
17921         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17922         Align 32 bit compat elf_greg to 8 bytes.
17923
17924 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
17925
17926         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17927
17928 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17929
17930         * string/strcoll_l.c (coll_seq): New structure.
17931         (get_next_seq_cached): New function.
17932         (get_next_seq): New function.
17933         (do_compare): New function.
17934         (STRCOLL): Use GNU style definition.  Simplify implementation
17935         by using get_next_seq, get_next_seq_cached and do_compare.
17936
17937 2013-08-16  Florian Weimer  <fweimer@redhat.com>
17938
17939         [BZ #14699]
17940         CVE-2013-4237
17941         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17942         member.
17943         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17944         member.
17945         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17946         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17947         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
17948         conditional.
17949         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17950         GETDENTS_64BIT_ALIGNED.
17951         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17952         * manual/filesys.texi (Reading/Closing Directory): Document
17953         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
17954         strongly.
17955         * manual/conf.texi (Limits for Files): Add portability note to
17956         NAME_MAX, PATH_MAX.
17957         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17958
17959 2013-08-13  Andreas Schwab  <schwab@suse.de>
17960
17961         [BZ #15749]
17962         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17963         of fabs.
17964         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17965         LDBL_MAX_EXP >= 16384]: Add tests for it.
17966
17967 2013-08-12  David S. Miller  <davem@davemloft.net>
17968
17969         * version.h (RELEASE): Set to "development".
17970         (VERSION): Set to "2.18.90".
17971         * NEWS: Add 2.19 section.
17972
17973 2013-08-03  David S. Miller  <davem@davemloft.net>
17974
17975         * po/ko.po: Update Korean translation from translation project.
17976
17977 2013-08-01  David S. Miller  <davem@davemloft.net>
17978
17979         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
17980         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17981         Bilka.
17982
17983 2013-07-30  David S. Miller  <davem@davemloft.net>
17984
17985         * po/fr.po: Update French translation from translation project.
17986
17987 2013-07-28  David S. Miller  <davem@davemloft.net>
17988
17989         * po/cs.po: Update Czech translation from translation project.
17990
17991         * po/sv.po: Update Swedish translation from translation project.
17992
17993 2013-07-27  David S. Miller  <davem@davemloft.net>
17994
17995         * po/eo.po: Update Esperanto translation from translation project.
17996
17997         * po/vi.po: Update Vietnamese translation from translation project.
17998
17999         * po/de.po: Update German translation from translation project.
18000
18001 2013-07-26  David S. Miller  <davem@davemloft.net>
18002
18003         * po/bg.po: Update Bulgarian translation from translation project.
18004
18005         * po/nl.po: Update Dutch translation from translation project.
18006         * po/pl.po: Update Polish translation from translation project.
18007         * po/ru.po: Update Russian translation from translation project.
18008
18009 2013-07-24  David S. Miller  <davem@davemloft.net>
18010
18011         * po/libc.pot: Update.
18012
18013 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18014
18015         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18016         variable page size.
18017         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18018         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18019         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18020
18021 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18022
18023         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18024
18025 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18026             Andreas Schwab  <schwab@suse.de>
18027             Roland McGrath  <roland@hack.frob.com>
18028             Joseph Myers  <joseph@codesourcery.com>
18029             Carlos O'Donell  <carlos@redhat.com>
18030
18031         [BZ #15755]
18032         * config.h.in: Define HAVE_PT_CHOWN.
18033         * config.make.in (build-pt-chown): New variable.
18034         * configure.in (--enable-pt_chown): New configure option.
18035         * configure: Regenerate.
18036         * login/Makefile: Include Makeconfig.  Build pt_chown only if
18037         build-pt-chown is enabled.
18038         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18039         pt_chown to fix pty ownership.
18040         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18041         CLOSE_ALL_FDS.
18042         * manual/install.texi (Configuring and compiling): Mention
18043         --enable-pt_chown. Add @findex for grantpt.
18044         * INSTALL: Regenerate.
18045
18046 2013-07-20  David S. Miller  <davem@davemloft.net>
18047
18048         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18049         difference between 32-bit and 64-bit.
18050
18051 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
18052
18053         [BZ #15711]
18054         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18055         Avoid system header dependency with -ffreestanding.
18056         ($(objpfx)bits/syscall%d): Likewise.
18057
18058 2013-07-13  David S. Miller  <davem@davemloft.net>
18059
18060         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18061         underflows from atanl/atan2l due to bug 15319.
18062         (casinh_test_data): Likewise.
18063
18064 2013-07-07  David S. Miller  <davem@davemloft.net>
18065
18066         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18067
18068 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
18069
18070         * sysdeps/i386/fpu/libm-test-ulps: Update.
18071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18072
18073 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18074
18075         * configure.in (--enable-lock-elision): Fix message text.
18076         * INSTALL: Regenerate.
18077         * configure: Regenerate.
18078
18079 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18080
18081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18082
18083 2013-07-03  Andreas Jaeger  <aj@suse.de>
18084
18085         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18086         define.
18087         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18088         (ptrace_peeksiginfo_args): Add.
18089         (__ptrace_peeksiginfo_flags): Add.
18090         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18091         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18092         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18093
18094 2013-07-03  Allan McRae  <allan@archlinux.org>
18095
18096         * sysdeps/i386/fpu/libm-test-ulps: Update.
18097
18098 2013-07-02  David S. Miller  <davem@davemloft.net>
18099
18100         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18101
18102 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18103
18104         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18105
18106 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18107
18108         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18110
18111 2013-07-02  Andi Kleen <ak@linux.intel.com>
18112
18113         * config.h.in (ENABLE_LOCK_ELISION): Add.
18114         * configure.in (--enable-lock-elision): Add option.
18115         * manual/install.texi: Document --enable lock elision.
18116         * configure: Regenerate
18117         * INSTALL: Regenerate.
18118
18119 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18120
18121         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18122         SSE4.2 strcasecmp for libc.a.
18123         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18124
18125 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18126
18127         [BZ #13304]
18128         * soft-fp/op-common.h (_FP_FMA): New macro.
18129         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18130         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18131         (_FP_MUL_MEAT_1_imm): ... here.
18132         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18133         (_FP_MUL_MEAT_1_wide): ... here.
18134         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18135         (_FP_MUL_MEAT_1_hard): ... here.
18136         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18137         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18138         (_FP_MUL_MEAT_2_wide): ... here.
18139         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18140         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18141         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18142         (_FP_MUL_MEAT_2_gmp): ... here.
18143         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18144         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18145         (_FP_MUL_MEAT_4_wide): ... here.
18146         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18147         (_FP_MUL_MEAT_4_gmp): ... here.
18148         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18149         (_FP_WFRACBITS_DW_S): Likewise.
18150         (_FP_WFRACXBITS_DW_S): Likewise.
18151         (_FP_HIGHBIT_DW_S): Likewise.
18152         (FP_FMA_S): Likewise.
18153         (_FP_FRAC_HIGH_DW_S): Likewise.
18154         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18155         (_FP_WFRACBITS_DW_D): Likewise.
18156         (_FP_WFRACXBITS_DW_D): Likewise.
18157         (_FP_HIGHBIT_DW_D): Likewise.
18158         (FP_FMA_D): Likewise.
18159         (_FP_FRAC_HIGH_DW_D): Likewise.
18160         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18161         (_FP_WFRACBITS_DW_E): Likewise.
18162         (_FP_WFRACXBITS_DW_E): Likewise.
18163         (_FP_HIGHBIT_DW_E): Likewise.
18164         (FP_FMA_E): Likewise.
18165         (_FP_FRAC_HIGH_DW_E): Likewise.
18166         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18167         (_FP_WFRACBITS_DW_Q): Likewise.
18168         (_FP_WFRACXBITS_DW_Q): Likewise.
18169         (_FP_HIGHBIT_DW_Q): Likewise.
18170         (FP_FMA_Q): Likewise.
18171         (_FP_FRAC_HIGH_DW_Q): Likewise.
18172         * soft-fp/fmasf4.c: New file.
18173         * soft-fp/fmadf4.c: Likewise.
18174         * soft-fp/fmatf4.c: Likewise.
18175
18176 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18177
18178         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18179         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18180         Silvermont.
18181         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18182         macro.
18183         (index_Slow_SSE4_2): Likewise.
18184         (index_Prefer_PMINUB_for_stringop): Likewise.
18185         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18186         bit_Slow_SSE4_2 is set.
18187         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18188         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18189
18190 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18191
18192         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18193         rtld_global._dl_hwcap2.
18194         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18195         POWER8.
18196         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18197         POWER8 feature descriptions defined in _dl_hwcap2.
18198         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18199         string handling for POWER8 feature bits.
18200         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18201         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18202         _dl_powerpc_cap_flags.
18203         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18204         * sysdeps/powerpc/rtld-global-offsets.sym
18205         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18206         _dl_hwcap2 in the rtld_global_ro structure.
18207
18208 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18209
18210         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18211         hardware capabilities in support of AT_HWCAP2.
18212         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18213         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18214         GLRO(dl_hwcap2).
18215         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18216         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18217         explicitly the unknown a_type display mechanism is used.
18218         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18219         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18220         struct member.
18221         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18222         to macro prototype for AT_HWCAP2 support.
18223         * sysdeps/i386/dl-procinfo.h: Likewise.
18224         * sysdeps/s390/dl-procinfo.h: Likewise.
18225         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18226         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18227         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18228         return -1 for unknown a_type display fallback.
18229         * sysdeps/sparc/dl-procinfo.h: Likewise.
18230         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18231         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18232
18233 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18234
18235         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18236         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18237
18238 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18239
18240         [BZ #12492]
18241         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18242         mprotect making __stack_prot writable.
18243
18244 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18245             Joseph Myers  <joseph@codesourcery.com>
18246
18247         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18248         as being properly aligned.
18249
18250 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18251
18252         * dlfcn/modstatic5.c: New file.
18253         * dlfcn/tststatic5.c: New file.
18254         * dlfcn/Makefile (tests): Add tststatic5.
18255         (tests-static): Likewise.
18256         (modules-names): Add modstatic5.
18257         (tststatic5-ENV): New variable.
18258         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18259
18260         [BZ #15022]
18261         * elf/dl-support.c (_dl_main_map): New variable.
18262         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18263         (_dl_nns, _dl_load_adds): Set to 1.
18264         (_dl_initial_searchlist): Refer to _dl_main_map.
18265         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18266         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18267         call to _dl_get_origin.
18268         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18269         around call_map.
18270         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18271         * dlfcn/modstatic3.c: New file.
18272         * dlfcn/tststatic3.c: New file.
18273         * dlfcn/tststatic4.c: New file.
18274         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18275         (tests-static): Likewise.
18276         (modules-names): Add modstatic3.
18277         (tststatic3-ENV, tststatic4-ENV): New variables.
18278         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18279         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18280
18281 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18282
18283         * configure.in (CC): Require GCC version 4.4 or later.
18284         * configure: Regenerated.
18285         * manual/install.texi (Tools for Compilation): Update GCC version
18286         requirement.
18287         * INSTALL: Regenerated.
18288
18289 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18290
18291         [BZ #15674]
18292         * string/test-memcmp.c (check2): New.
18293         (main): Call check2.
18294
18295         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18296
18297 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18298
18299         [BZ #15022]
18300         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18301         over to...
18302         (dl_open_worker) [!SHARED]: ... here.
18303
18304 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18305
18306         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18307
18308 2013-06-25  Richard Henderson  <rth@redhat.com>
18309
18310         * locale/programs/locarchive.c: Include <libc-internal.h>
18311
18312 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18313
18314         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18315         trailing whitespace removed.
18316
18317 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18318
18319         [BZ #10283]
18320         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18321         * locale/programs/locarchive.c: Include libc-mmap.h.
18322         (prepare_address_space): Take two new outputs (the mmap base and len).
18323         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18324         values.
18325         (create_archive): Declare new mmap base and len values for
18326         prepare_address_space, and store the result in ah.
18327         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18328         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18329         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18330         Declare new mmap base and len values for
18331         prepare_address_space, and store the result in new_ah.
18332         (open_archive): Declare new mmap base and len values for
18333         prepare_address_space, and store the result in ah.
18334         (close_archive): If ah->mmap_base is not NULL, use that and
18335         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18336         * sysdeps/generic/libc-mmap.h: New file.
18337
18338 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18339
18340         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18341         (ALIGN_UP): Likewise.
18342         (PTR_ALIGN_DOWN): Likewise.
18343         (PTR_ALIGN_UP): Likewise.
18344
18345 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18346
18347         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18348         entry mapped to PPC_PLATFORM_POWER8.
18349         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18350         POWER8.
18351         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18352         (_dl_string_platform): Add case for exporting platform position for
18353         POWER8.
18354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18355         search path to sysdeps/powerpc/powerpc32/power8 directory.
18356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18357         search path to sysdeps/powerpc/powerpc64/power8 directory.
18358         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18359         power7 directories.
18360         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18361         power7 directories.
18362
18363 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18364
18365         * INSTALL: Regenerate.
18366
18367         * nscd/connections.c (nscd_init): Fix comment.
18368
18369 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18370
18371         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18372
18373         [BZ #15667]
18374         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18375         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18376
18377 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18378
18379         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18380         DL_DST_REQ_STATIC.
18381         (DL_DST_REQ_STATIC): Remove macro.
18382
18383 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18384
18385         [BZ #7006]
18386         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18387         with a shift of 0 bits.
18388
18389 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18390
18391         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18392         $(tststatic-ENV).
18393
18394 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18395
18396         [BZ #15655]
18397         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18398
18399 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18400
18401         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18402         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18403         accepts -fno-tree-loop-distribute-patterns.
18404         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18405         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18406         recursive call.
18407         * string/memset.c (memset): Likewise.
18408         * string/test-memmove.c (simple_memmove): Disable loop transformation
18409         to library calls.
18410         * string/test-memset.c (simple_memset): Likewise.
18411         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18412         * benchtests/bench-memset.c (simple_memset): Likewise.
18413         * configure: Regenerated.
18414
18415 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18416
18417         * math/test-misc.c (main): Ignore fesetround failure when failures
18418         of subsequent rounding tests would be ignored.
18419
18420         [BZ #15654]
18421         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18422         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18423         * math/fegetenv.c (__fegetenv): Return 0.
18424         * math/fegetexcept.c (fegetexcept): Return 0.
18425         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18426         FE_TONEAREST.
18427         * math/feholdexcpt.c (feholdexcept): Return 0.
18428         * math/fesetenv.c (__fesetenv): Return 0.
18429         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18430         argument FE_TONEAREST.
18431         * math/feupdateenv.c (__feupdateenv): Return 0.
18432         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18433
18434 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18435
18436         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18437         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18438         ($(objpfx)rtld-%.os rules): Use them.
18439
18440 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18441
18442         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18443         fields.
18444
18445 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18446
18447         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18448         length of target pattern, then descending length of dependency pattern.
18449         * configure.in (AWK): Require gawk 3.1.2 or newer.
18450         * manual/install.texi (Tools for Compilation): Say that we do.
18451         * configure: Regenerated.
18452
18453         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18454         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18455         * scripts/sysd-rules.awk: ... this new script.
18456         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18457         than a glob-style pattern.
18458
18459 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18460
18461         * math/test-misc.c (main): Do not treat incorrectly rounded
18462         conversions as failure unless ROUNDING_TESTS passes.
18463
18464 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18465
18466         [BZ #15631]
18467         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18468         restore exception state around main square root computation, then
18469         check for inexactness explicitly.
18470
18471         * math/libm-test.inc (fma_test_data): Add another test.
18472
18473 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18474
18475         * manual/threads.texi (Non-POSIX Extensions): New document
18476         node.  Document pthread_getattr_default_np and
18477         pthread_setattr_default_np.
18478
18479         * Versions.def (libpthread): Add GLIBC_2.18.
18480         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18482         Likewise.
18483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18484         Likewise.
18485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18486         Likewise.
18487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18488         Likewise.
18489         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18490         Likewise.
18491         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18492         Likewise.
18493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18494         Likewise.
18495         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18496         Likewise.
18497         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18498         Likewise.
18499
18500 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18501
18502         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18503         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18504
18505 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18506             H.J. Lu  <hjl.tools@gmail.com>
18507
18508         [BZ #15627]
18509         * sysdeps/x86_64/rtld-memset.c: Remove file.
18510         * sysdeps/x86_64/rtld-memset.S: New file.
18511
18512 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
18513
18514         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18515         (test_in_one_mode): Take arguments for whether the rounding mode
18516         is supported for each floating-point type.
18517         (do_test): Pass new arguments to test_in_one_mode using
18518         ROUNDING_TESTS.
18519
18520 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18521
18522         * posix/tst-waitid.c (do_test): Distinguish different instances of
18523         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
18524         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18525         before entering the kernel for waitpid.
18526
18527 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18528
18529         * NEWS: Fix note on clock function precision.  Text by Roland
18530         McGrath.
18531
18532 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18533
18534         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18535         it into place only when and if the sanity check passes.
18536
18537 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
18538
18539         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18540         output for whether conversion result is exact.  Take argument
18541         indicating whether type is IBM long double.
18542         (round_for_all): Change need_exact field to ibm_ld.
18543         * stdlib/tst-strtod-round.c (struct exactness): New type.
18544         (struct test): Change bool ld_ok field to struct exactness exact.
18545         (TEST): Update all definitions for change to field.
18546         (tests): Regenerate array contents.
18547         (test_in_one_mode): Take pointer to new field instead of old ld_ok
18548         field value.  Check for IBM long double here.
18549         (do_test): Update calls to test_in_one_mode.
18550
18551 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18552
18553         [BZ #12515]
18554         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18555         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18556
18557 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18558
18559         [BZ #15605]
18560         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18561         generated by the compiler on loop optimizations.
18562         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18563         general definitions.
18564
18565 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
18566
18567         * math/bug-nextafter.c: Include <math-tests.h>.
18568         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18569         the relevant type.
18570         * math/bug-nexttoward.c: Include <math-tests.h>.
18571         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18572         the relevant type.
18573         * math/test-misc.c: Include <math-tests.h>.
18574         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18575         the relevant type.
18576
18577 2013-06-12  Andreas Jaeger  <aj@suse.de>
18578
18579         * po/ia.po: Update Interlingua translation from translation
18580         project.
18581
18582 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18583
18584         * include/fenv.h: Include stdbool.h.
18585         (struct rm_ctx): New structure.
18586         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18587         Define macro.
18588         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18589         (SET_RESTORE_ROUNDF): Likewise.
18590         (SET_RESTORE_ROUNDL): Likewise.
18591         (SET_RESTORE_ROUND_NOEX): Likewise.
18592         (SET_RESTORE_ROUND_NOEXF): Likewise.
18593         (SET_RESTORE_ROUND_NOEXL): Likewise.
18594         (SET_RESTORE_ROUND_53BIT): Likewise.
18595         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18596         (libc_feresetround_noexf_ctx): Likewise.
18597         (libc_feresetround_noexl_ctx): Likewise.
18598         (libc_feholdsetround_53bit_ctx): Likewise.
18599         (libc_feresetround_53bit_ctx): Likewise.
18600         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18601         (libc_feholdexcept_setround_sse_ctx): New function.
18602         (libc_fesetenv_sse_ctx): Likewise.
18603         (libc_feupdateenv_sse_ctx): Likewise.
18604         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18605         (libc_feholdexcept_setround_387_ctx): Likewise.
18606         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18607         (libc_feholdsetround_387_prec_ctx): Likewise.
18608         (libc_feholdsetround_387_ctx): Likewise.
18609         (libc_feholdsetround_387_53bit_ctx): Likewise.
18610         (libc_feholdsetround_sse_ctx): Likewise.
18611         (libc_feresetround_sse_ctx): Likewise.
18612         (libc_feresetround_387_ctx): Likewise.
18613         (libc_feupdateenv_387_ctx): Likewise.
18614         (libc_feholdexcept_setroundf_ctx): Define macro.
18615         (libc_fesetenvf_ctx): Likewise.
18616         (libc_feupdateenvf_ctx): Likewise.
18617         (libc_feholdsetroundf_ctx): Likewise.
18618         (libc_feresetroundf_ctx): Likewise.
18619         (libc_feholdexcept_setround_ctx): Likewise.
18620         (libc_fesetenv_ctx): Likewise.
18621         (libc_feupdateenv_ctx): Likewise.
18622         (libc_feholdsetround_ctx): Likewise.
18623         (libc_feresetround_ctx): Likewise.
18624         (libc_feholdexcept_setroundl_ctx): Likewise.
18625         (libc_feupdateenvl_ctx): Likewise.
18626         (libc_feholdsetroundl_ctx): Likewise.
18627         (libc_feresetroundl_ctx): Likewise.
18628         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18629         (libc_feresetround_53bit_ctx): Likewise.
18630
18631 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18632
18633         * locale/iso-639.def: Convert to UTF-8.
18634
18635 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
18636
18637         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18638         (EXCEPTION_TESTS_double): Likewise.
18639         (EXCEPTION_TESTS_long_double): Likewise.
18640         (EXCEPTION_TESTS): Likewise.
18641         * math/libm-test.inc (test_exceptions): Only test exceptions if
18642         EXCEPTION_TESTS (FLOAT).
18643
18644 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18645
18646         * benchtests/Makefile (string-bench): Add strcpy_chk and
18647         stpcpy_chk.
18648         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18649         * benchtests/bench-stpcpy_chk.c: New file.
18650         * benchtests/bench-strcpy_chk-ifunc.c: New file.
18651         * benchtests/bench-strcpy_chk.c: New file.
18652         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18653         code.
18654         (do_test): Likewise.
18655
18656 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18657
18658         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18659         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18660         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18661         with tabs where appropriate.
18662         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18663         dl-procinfo.h.
18664         [PPC_PLATFORM_PPC440]: Likewise.
18665         [PPC_PLATFORM_PPC464]: Likewise.
18666         [PPC_PLATFORM_PPC476]: Likewise.
18667         (_dl_string_platform): Add support for detecting ppc405, ppc440,
18668         ppc464, and ppc476 platform strings merging from ports/
18669         dl-procinfo.h.
18670
18671 2013-06-11  Andreas Schwab  <schwab@suse.de>
18672
18673         [BZ #14991]
18674         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18675         (from_ucs4_idx): Regenerate.
18676         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18677         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18678         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18679         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18680         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18681         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18682         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18683         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18684         from FROM_LOOP and TO_LOOP specific macros.
18685         (BODY): Handle combining characters.
18686         * iconvdata/BIG5HKSCS.irreversible: Update.
18687         * iconvdata/BIG5HKSCS.precomposed: New file.
18688         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18689         characters.
18690         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18691
18692 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18693
18694         * include/sys/time.h: Fix indentation and add copyright header.
18695
18696         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18697         (do_test): Likewise.
18698         * string/test-memchr.c (do_one_test): Likewise.
18699         (do_test): Likewise.
18700         * string/test-memcmp.c (do_one_test): Likewise.
18701         (do_test): Likewise.
18702         * string/test-memcpy.c (do_one_test): Likewise.
18703         (do_test): Likewise.
18704         * string/test-memmem.c (do_one_test): Likewise.
18705         (do_test): Likewise.
18706         (do_random_tests): Likewise.
18707         * string/test-memmove.c (do_one_test): Likewise.
18708         (do_test): Likewise.
18709         * string/test-memset.c (do_one_test): Likewise.
18710         (do_test): Likewise.
18711         * string/test-rawmemchr.c (do_one_test): Likewise.
18712         (do_test): Likewise.
18713         * string/test-strcasecmp.c (do_one_test): Likewise.
18714         (do_test): Likewise.
18715         * string/test-strcasestr.c (do_one_test): Likewise.
18716         (do_test): Likewise.
18717         * string/test-strcat.c (do_one_test): Likewise.
18718         (do_test): Likewise.
18719         * string/test-strchr.c (do_one_test): Likewise.
18720         (do_test): Likewise.
18721         * string/test-strcmp.c (do_one_test): Likewise.
18722         (do_test): Likewise.
18723         * string/test-strcpy.c (do_one_test): Likewise.
18724         (do_test): Likewise.
18725         * string/test-string.h: Likewise.
18726         (test_init): Likewise.
18727         * string/test-strlen.c (do_one_test): Likewise.
18728         (do_test): Likewise.
18729         * string/test-strncasecmp.c (do_one_test): Likewise.
18730         (do_test): Likewise.
18731         * string/test-strncat.c (do_one_test): Likewise.
18732         (do_test): Likewise.
18733         * string/test-strncmp.c (do_one_test): Likewise.
18734         (do_test_limit): Likewise.
18735         (do_test): Likewise.
18736         * string/test-strncpy.c (do_one_test): Likewise.
18737         (do_test): Likewise.
18738         * string/test-strnlen.c (do_one_test): Likewise.
18739         (do_test): Likewise.
18740         * string/test-strpbrk.c (do_one_test): Likewise.
18741         (do_test): Likewise.
18742         * string/test-strrchr.c (do_one_test): Likewise.
18743         (do_test): Likewise.
18744         * string/test-strspn.c (do_one_test): Likewise.
18745         (do_test): Likewise.
18746         * string/test-strstr.c (do_one_test): Likewise.
18747         (do_test): Likewise.
18748
18749         * benchtests/Makefile (string-bench): Add string benchmarks.
18750         * benchtests/bench-bcopy-ifunc.c: New file.
18751         * benchtests/bench-bcopy.c: New file.
18752         * benchtests/bench-bzero-ifunc.c: New file.
18753         * benchtests/bench-bzero.c: New file.
18754         * benchtests/bench-memccpy-ifunc.c: New file.
18755         * benchtests/bench-memccpy.c: New file.
18756         * benchtests/bench-memchr-ifunc.c: New file.
18757         * benchtests/bench-memchr.c: New file.
18758         * benchtests/bench-memcmp-ifunc.c: New file.
18759         * benchtests/bench-memcmp.c: New file.
18760         * benchtests/bench-memmem-ifunc.c: New file.
18761         * benchtests/bench-memmem.c: New file.
18762         * benchtests/bench-memmove-ifunc.c: New file.
18763         * benchtests/bench-memmove.c: New file.
18764         * benchtests/bench-mempcpy-ifunc.c: New file.
18765         * benchtests/bench-mempcpy.c: New file.
18766         * benchtests/bench-memset-ifunc.c: New file.
18767         * benchtests/bench-memset.c: New file.
18768         * benchtests/bench-rawmemchr-ifunc.c: New file.
18769         * benchtests/bench-rawmemchr.c: New file.
18770         * benchtests/bench-stpcpy-ifunc.c: New file.
18771         * benchtests/bench-stpcpy.c: New file.
18772         * benchtests/bench-stpncpy-ifunc.c: New file.
18773         * benchtests/bench-stpncpy.c: New file.
18774         * benchtests/bench-strcasecmp-ifunc.c: New file.
18775         * benchtests/bench-strcasecmp.c: New file.
18776         * benchtests/bench-strcasestr-ifunc.c: New file.
18777         * benchtests/bench-strcasestr.c: New file.
18778         * benchtests/bench-strcat-ifunc.c: New file.
18779         * benchtests/bench-strcat.c: New file.
18780         * benchtests/bench-strchr-ifunc.c: New file.
18781         * benchtests/bench-strchr.c: New file.
18782         * benchtests/bench-strchrnul-ifunc.c: New file.
18783         * benchtests/bench-strchrnul.c: New file.
18784         * benchtests/bench-strcmp-ifunc.c: New file.
18785         * benchtests/bench-strcmp.c: New file.
18786         * benchtests/bench-strcpy-ifunc.c: New file.
18787         * benchtests/bench-strcpy.c: New file.
18788         * benchtests/bench-strcspn-ifunc.c: New file.
18789         * benchtests/bench-strcspn.c: New file.
18790         * benchtests/bench-strlen-ifunc.c: New file.
18791         * benchtests/bench-strlen.c: New file.
18792         * benchtests/bench-strncasecmp-ifunc.c: New file.
18793         * benchtests/bench-strncasecmp.c: New file.
18794         * benchtests/bench-strncat-ifunc.c: New file.
18795         * benchtests/bench-strncat.c: New file.
18796         * benchtests/bench-strncmp-ifunc.c: New file.
18797         * benchtests/bench-strncmp.c: New file.
18798         * benchtests/bench-strncpy-ifunc.c: New file.
18799         * benchtests/bench-strncpy.c: New file.
18800         * benchtests/bench-strnlen-ifunc.c: New file.
18801         * benchtests/bench-strnlen.c: New file.
18802         * benchtests/bench-strpbrk-ifunc.c: New file.
18803         * benchtests/bench-strpbrk.c: New file.
18804         * benchtests/bench-strrchr-ifunc.c: New file.
18805         * benchtests/bench-strrchr.c: New file.
18806         * benchtests/bench-strspn-ifunc.c: New file.
18807         * benchtests/bench-strspn.c: New file.
18808         * benchtests/bench-strstr-ifunc.c: New file.
18809         * benchtests/bench-strstr.c: New file.
18810
18811         * benchtests/Makefile: Disable parallel execution of targets.
18812         (string-bench): Add memcpy.
18813         (benchset): New variable to store a list of benchmark sets.
18814         (bench-func): Renamed from bench.
18815         (bench-set): New target.
18816         (bench): Depend on bench-func and bench-set.
18817         * benchtests/README: Add section on benchmark sets.
18818         * benchtests/bench-memcpy-ifunc.c: New file.
18819         * benchtests/bench-memcpy.c: New file.
18820         * benchtests/bench-string.h: New file.
18821
18822 2013-06-11  Andreas Schwab  <schwab@suse.de>
18823
18824         [BZ #15577]
18825         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18826         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18827         values in the triple.
18828         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18829         terminator in the group key.
18830
18831 2013-06-11  Andreas Jaeger  <aj@suse.de>
18832
18833         * po/zh_TW.po: Update Chinese (traditional) translation from
18834         translation project.
18835
18836 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18837
18838         * include/time.h (__clock_gettime): Add libc_hidden_proto.
18839         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18840         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
18841         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18842         (clock_getcpuclockid): Likewise.
18843         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18844         Add weak_alias and libc_hidden_def.
18845         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18846         * rt/clock_gettime.c (clock_gettime): Rename to
18847         __clock_gettime.  Add weak_alias and libc_hidden_def.
18848         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18849         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18850         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
18851         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18852         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18853         Likewise.
18854         * rt/clock_settime.c (clock_settime): Rename to
18855         __clock_settime.  Add weak_alias and libc_hidden_def.
18856         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18857
18858 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
18859
18860         * mach/err_boot.sub: Remove trailing whitespace.
18861         * mach/err_ipc.sub: Likewise.
18862         * mach/err_mach.sub: Likewise.
18863
18864         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18865         (ROUNDING_TESTS_double): Likewise.
18866         (ROUNDING_TESTS_long_double): Likewise.
18867         (ROUNDING_TESTS): Likewise.
18868         * math/libm-test.inc: Include <math-tests.h>.
18869         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18870         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18871         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18872         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18873
18874 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18875
18876         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18877         of assigning.
18878
18879 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
18880
18881         * sysdeps/gnu/errlist.awk: Do not generate space at end of
18882         otherwise empty TRANS lines.
18883         * sysdeps/gnu/errlist.c: Regenerated.
18884
18885         * catgets/gencat.c (error_print): Use (void) in function
18886         definition.
18887         * crypt/crypt_util.c (__init_des): Likewise.
18888         * crypt/speeds.c (Stop): Likewise.
18889         (main): Likewise.
18890         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18891         * inet/ruserpass.c (token): Likewise.
18892         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18893         * intl/localealias.c (extend_alias_table): Likewise.
18894         * intl/plural-exp.c (init_germanic_plural): Likewise.
18895         * libio/fcloseall.c (__fcloseall): Likewise.
18896         * libio/genops.c (_IO_flush_all): Likewise.
18897         (_IO_flush_all_linebuffered): Likewise.
18898         (_IO_cleanup): Likewise.
18899         (_IO_iter_begin): Likewise.
18900         (_IO_iter_end): Likewise.
18901         (_IO_list_lock): Likewise.
18902         (_IO_list_unlock): Likewise.
18903         (_IO_list_resetlock): Likewise.
18904         * libio/getchar.c (getchar): Likewise.
18905         * libio/getchar_u.c (getchar_unlocked): Likewise.
18906         * libio/getwchar.c (getwchar): Likewise.
18907         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18908         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18909         * login/getpt.c (__getpt): Likewise.
18910         * login/tst-utmp.c (main): Likewise.
18911         * malloc/hooks.c (__malloc_check_init): Likewise.
18912         * malloc/malloc.c (__malloc_stats): Likewise.
18913         * malloc/mtrace.c (tr_break): Likewise.
18914         (mtrace): Likewise.
18915         (muntrace): Likewise.
18916         * misc/fstab.c (endfsent): Likewise.
18917         * misc/getclktck.c (__getclktck): Likewise.
18918         * misc/getdtsz.c (__getdtablesize): Likewise.
18919         * misc/gethostid.c (gethostid): Likewise.
18920         * misc/getpagesize.c (__getpagesize): Likewise.
18921         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18922         (__get_nprocs): Likewise.
18923         (__get_phys_pages): Likewise.
18924         (__get_avphys_pages): Likewise.
18925         * misc/getttyent.c (getttyent): Likewise.
18926         (setttyent): Likewise.
18927         (endttyent): Likewise.
18928         * misc/getusershell.c (getusershell): Likewise.
18929         (endusershell): Likewise.
18930         (setusershell): Likewise.
18931         (initshells): Likewise.
18932         * misc/hsearch.c (__hdestroy): Likewise.
18933         * misc/sync.c (sync): Likewise.
18934         * misc/syslog.c (closelog_internal): Likewise.
18935         (closelog): Likewise.
18936         * misc/ttyslot.c (ttyslot): Likewise.
18937         * misc/vhangup.c (vhangup): Likewise.
18938         * posix/fork.c (__fork): Likewise.
18939         * posix/getegid.c (__getegid): Likewise.
18940         * posix/geteuid.c (__geteuid): Likewise.
18941         * posix/getgid.c (__getgid): Likewise.
18942         * posix/getpid.c (__getpid): Likewise.
18943         * posix/getppid.c (__getppid): Likewise.
18944         * posix/getuid.c (__getuid): Likewise.
18945         * posix/pause.c (pause): Likewise.
18946         * posix/setpgrp.c (setpgrp): Likewise.
18947         * posix/setsid.c (__setsid): Likewise.
18948         * posix/test-vfork.c (noop): Likewise.
18949         * resolv/gethnamaddr.c (_endhtent): Likewise.
18950         (_gethtent): Likewise.
18951         (ht_endhostent): Likewise.
18952         (gethostent): Likewise.
18953         (dns_service): Likewise.
18954         * stdlib/drand48.c (drand48): Likewise.
18955         * stdlib/lrand48.c (lrand48): Likewise.
18956         * stdlib/mrand48.c (mrand48): Likewise.
18957         * stdlib/rand.c (rand): Likewise.
18958         * stdlib/random.c (__random): Likewise.
18959         * stdlib/setenv.c (clearenv): Likewise.
18960         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18961         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18962         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18963         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18964         (__get_nprocs): Likewise.
18965         (__get_phys_pages): Likewise.
18966         (__get_avphys_pages): Likewise.
18967         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18968         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18969         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18970         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18971         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18972         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18973         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18974         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18975         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18976         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18977         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18978         * sysdeps/mach/hurd/sync.c (sync): Likewise.
18979         * sysdeps/posix/clock.c (clock): Likewise.
18980         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18981         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18982         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18983         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18984         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18985         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18986         (__get_nprocs_conf): Likewise.
18987         (__get_phys_pages): Likewise.
18988         (__get_avphys_pages): Likewise.
18989         * time/clock.c (clock): Likewise.
18990         * time/tzset.c (__tzname_max): Likewise.
18991
18992 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
18993
18994         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18995         (__bswap_32): Do not use "register".
18996         * crypt/crypt.c (_ufc_doit_r): Likewise.
18997         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18998         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18999         * gmon/gmon.c (__monstartup): Likewise.
19000         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19001         * hurd/hurdmalloc.c (more_memory): Likewise.
19002         (malloc): Likewise.
19003         (free): Likewise.
19004         (realloc): Likewise.
19005         (malloc_fork_prepare): Likewise.
19006         (malloc_fork_parent): Likewise.
19007         (malloc_fork_child): Likewise.
19008         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19009         (_svcauth_des): Likewise.
19010         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19011         * inet/inet_net.c (inet_network): Likewise.
19012         * inet/inet_netof.c (inet_netof): Likewise.
19013         * inet/rcmd.c (__validuser2_sa): Likewise.
19014         * io/fts.c (fts_open): Likewise.
19015         (fts_load): Likewise.
19016         (fts_close): Likewise.
19017         (fts_read): Likewise.
19018         (fts_children): Likewise.
19019         (fts_build): Likewise.
19020         (fts_stat): Likewise.
19021         (fts_sort): Likewise.
19022         (fts_alloc): Likewise.
19023         (fts_lfree): Likewise.
19024         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19025         (_IO_file_xsgetn): Likewise.
19026         (_IO_file_xsgetn_mmap): Likewise.
19027         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19028         (_IO_cookie_write): Likewise.
19029         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19030         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19031         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19032         * malloc/obstack.c (_obstack_begin): Likewise.
19033         (_obstack_begin_1): Likewise.
19034         (_obstack_newchunk): Likewise.
19035         (_obstack_allocated_p): Likewise.
19036         (obstack_free): Likewise.
19037         (_obstack_memory_used): Likewise.
19038         * misc/getttyent.c (getttynam): Likewise.
19039         (getttyent): Likewise.
19040         (skip): Likewise.
19041         (value): Likewise.
19042         * misc/getusershell.c (initshells): Likewise.
19043         * misc/syslog.c (__vsyslog_chk): Likewise.
19044         * misc/ttyslot.c (ttyslot): Likewise.
19045         * nis/nis_hash.c (__nis_hash): Likewise.
19046         * posix/fnmatch_loop.c (FCT): Likewise.
19047         * posix/getconf.c (print_all): Likewise.
19048         (main): Likewise.
19049         * posix/getopt.c (exchange): Likewise.
19050         * posix/glob.c (globfree): Likewise.
19051         (prefix_array): Likewise.
19052         (__glob_pattern_type): Likewise.
19053         * resolv/arpa/nameser.h (NS_GET16): Likewise.
19054         (NS_GET32): Likewise.
19055         (NS_PUT16): Likewise.
19056         (NS_PUT32): Likewise.
19057         * resolv/gethnamaddr.c (getanswer): Likewise.
19058         (gethostbyname2): Likewise.
19059         (gethostbyaddr): Likewise.
19060         (_gethtent): Likewise.
19061         (_gethtbyname2): Likewise.
19062         (_gethtbyaddr): Likewise.
19063         * resolv/ns_print.c (dst_s_get_int16): Likewise.
19064         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19065         * resolv/res_init.c (__res_vinit): Likewise.
19066         (net_mask): Likewise.
19067         * resolv/res_mkquery.c (outchar): Likewise.
19068         (PRINT): Likewise.
19069         * stdio-common/printf_fp.c (outchar): Likewise.
19070         (PRINT): Likewise.
19071         * stdio-common/printf_fphex.c (outchar): Likewise.
19072         (PRINT): Likewise.
19073         * stdio-common/printf_size.c (outchar): Likewise.
19074         (PRINT): Likewise.
19075         * stdio-common/test_rdwr.c (main): Likewise.
19076         * stdio-common/tfformat.c (matches): Likewise.
19077         * stdio-common/vfprintf.c (outchar): Likewise.
19078         (printf_unknown): Likewise.
19079         (buffered_vfprintf): Likewise.
19080         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19081         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19082         (ReadFile): Likewise.
19083         * stdlib/qsort.c (SWAP): Likewise.
19084         (_quicksort): Likewise.
19085         * stdlib/setenv.c (__add_to_environ): Likewise.
19086         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19087         * stdlib/strtol_l.c (__strtol_l): Likewise.
19088         * stdlib/tst-strtod.c (main): Likewise.
19089         * stdlib/tst-strtol.c (main): Likewise.
19090         * stdlib/tst-strtoll.c (main): Likewise.
19091         * string/bits/string2.h (__strcmp_cc): Likewise.
19092         (__strcmp_cg): Likewise.
19093         (__strcspn_c1): Likewise.
19094         (__strcspn_c2): Likewise.
19095         (__strcspn_c3): Likewise.
19096         (__strspn_c1): Likewise.
19097         (__strspn_c2): Likewise.
19098         (__strspn_c3): Likewise.
19099         (__strsep_1c): Likewise.
19100         (__strsep_2c): Likewise.
19101         (__strsep_3c): Likewise.
19102         * string/memccpy.c (__memccpy): Likewise.
19103         * string/stpcpy.c (__stpcpy): Likewise.
19104         * string/strcmp.c (strcmp): Likewise.
19105         * string/strrchr.c (strrchr): Likewise.
19106         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19107         Likewise.
19108         * sysdeps/mach/hurd/getcwd.c
19109         (_hurd_canonicalize_directory_name_internal): Likewise.
19110         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19111         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19112         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19113         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19114         Likewise, in both definitions.
19115         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19116         definitions.
19117         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19118         64] (__bswap_64): Likewise.
19119         * time/test_time.c (main): Likewise.
19120         * time/tzfile.c (__tzfile_read): Likewise.
19121         (__tzfile_compute): Likewise.
19122         * time/tzset.c (__tzset_parse_tz): Likewise.
19123         (tzset_internal): Likewise.
19124         (compute_change): Likewise.
19125         * wcsmbs/wcscat.c (__wcscat): Likewise.
19126         * wcsmbs/wcschr.c (wcschr): Likewise.
19127         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19128         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19129         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19130         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19131         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19132         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19133         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19134         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19135         * wcsmbs/wmemset.c (wmemset): Likewise.
19136
19137 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19138
19139         * scripts/config.guess: Update to version 2013-05-16.
19140         * scripts/config.sub: Update to version 2013-04-24.
19141         * scripts/install-sh: Update to version 2011-11-20.07.
19142         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19143         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19144
19145 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19146
19147         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19148         * elf/sln.c: Likewise.
19149         * hurd/hurd/ioctl.h: Likewise.
19150         * hurd/hurdmalloc.c: Likewise.
19151         * hurd/xattr.c: Likewise.
19152         * include/shlib-compat.h: Likewise.
19153         * inet/ruserpass.c: Likewise.
19154         * libio/iofgets_u.c: Likewise.
19155         * libio/iofgetws_u.c: Likewise.
19156         * locale/programs/ld-identification.c: Likewise.
19157         * locale/programs/ld-time.c: Likewise.
19158         * mach/msg-destroy.c: Likewise.
19159         * nss/nss_files/files-netgrp.c: Likewise.
19160         * resolv/res_data.c: Likewise.
19161         * soft-fp/op-1.h: Likewise.
19162         * soft-fp/op-2.h: Likewise.
19163         * soft-fp/op-4.h: Likewise.
19164         * soft-fp/op-common.h: Likewise.
19165         * stdio-common/printf_fphex.c: Likewise.
19166         * stdlib/strtod_l.c: Likewise.
19167         * sunrpc/rpc/clnt.h: Likewise.
19168         * sysdeps/generic/framestate.c: Likewise.
19169         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19170         * sysdeps/i386/bsd-setjmp.S: Likewise.
19171         * sysdeps/i386/__longjmp.S: Likewise.
19172         * sysdeps/i386/setjmp.S: Likewise.
19173         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19174         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19175         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19176         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19177         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19178         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19179         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19180         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19181         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19182         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19183         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19184         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19185         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19186         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19187         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19188         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19189         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19190         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19191         * sysdeps/ieee754/support.c: Likewise.
19192         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19193         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19194         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19195         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19196         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19197         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19198         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19199         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19200         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19201         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19202         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19203         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19204         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19205         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19206         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19207         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19208         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19210
19211 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19212
19213         * posix/transbug.c: Remove executable mode.
19214
19215 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19216
19217         * crypt/speeds.c: Remove trailing whitespace.
19218         * dlfcn/default.c: Likewise.
19219         * elf/ifuncdep2.c: Likewise.
19220         * elf/ifuncmain1.c: Likewise.
19221         * elf/ifuncmain1vis.c: Likewise.
19222         * elf/testobj.h: Likewise.
19223         * elf/tst-stackguard1.c: Likewise.
19224         * gmon/sys/gmon.h: Likewise.
19225         * hurd/hurdmsg.c: Likewise.
19226         * hurd/new-fd.c: Likewise.
19227         * hurd/ports-get.c: Likewise.
19228         * iconvdata/ibm1008_420.c: Likewise.
19229         * inet/tst-getni1.c: Likewise.
19230         * inet/tst-getni2.c: Likewise.
19231         * libio/ioungetc.c: Likewise.
19232         * libio/wfiledoalloc.c: Likewise.
19233         * manual/libm-err-tab.pl: Likewise.
19234         * math/w_dremf.c: Likewise.
19235         * misc/ftruncate.c: Likewise.
19236         * posix/bug-glob2.c: Likewise.
19237         * posix/tst-pcre.c: Likewise.
19238         * posix/wait4.c: Likewise.
19239         * resolv/README: Likewise.
19240         * resolv/res_debug.h: Likewise.
19241         * resolv/tst-inet_ntop.c: Likewise.
19242         * setjmp/bug269-setjmp.c: Likewise.
19243         * soft-fp/extended.h: Likewise.
19244         * soft-fp/op-1.h: Likewise.
19245         * soft-fp/op-2.h: Likewise.
19246         * soft-fp/op-4.h: Likewise.
19247         * soft-fp/op-8.h: Likewise.
19248         * soft-fp/testit.c: Likewise.
19249         * stdio-common/bug16.c: Likewise.
19250         * stdlib/random.c: Likewise.
19251         * sunrpc/rpcsvc/rquota.x: Likewise.
19252         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19253         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19254         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19255         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19256         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19257         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19258         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19259         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19260         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19261         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19262         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19263         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19264         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19265         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19266         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19267         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19268         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19269         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19270         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19271         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19272         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19273         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19274         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19275         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19276         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19277         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19278         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19279         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19280         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19281         * sysdeps/ieee754/s_lib_version.c: Likewise.
19282         * sysdeps/mach/hurd/check_fds.c: Likewise.
19283         * sysdeps/mach/hurd/getsockname.c: Likewise.
19284         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19285         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19286         * sysdeps/powerpc/bits/link.h: Likewise.
19287         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19288         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19289         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19290         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19291         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19292         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19293         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19294         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19295         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19296         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19297         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19298         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19299         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19300         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19301         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19302         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19303         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19304         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19305         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19306         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19307         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19308         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19309         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19310         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19311         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19312         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19313         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19314         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19315         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19316         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19317         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19318         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19319         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19320         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19321         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19322         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19323         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19324         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19325         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19326         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19327         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19328         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19329         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19330         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19331         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19332         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19333         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19334         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19335         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19336         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19337         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19338         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19339         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19340         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19341         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19342         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19343         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19344         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19345         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19346         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19347         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19348         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19349         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19350         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19351         * sysdeps/powerpc/sysdep.h: Likewise.
19352         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19353         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19354         * sysdeps/sh/dl-trampoline.S: Likewise.
19355         * sysdeps/sh/memset.S: Likewise.
19356         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19357         * sysdeps/sh/strlen.S: Likewise.
19358         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19359         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19360         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19361         * sysdeps/sparc/sparc32/rem.S: Likewise.
19362         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19363         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19364         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19365         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19366         * sysdeps/sparc/sparc32/urem.S: Likewise.
19367         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19368         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19369         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19370         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19371         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19372         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19373         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19374         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19375         * sysdeps/unix/bsd/times.c: Likewise.
19376         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19377         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19381         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19382         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19383         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19384         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19385         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19386         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19387         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19388         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19389         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19390         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19391         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19392         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19393         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19394         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19395         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19396         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19397         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19398         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19399         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19400         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19401         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19402         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19403         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19404         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19405         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19406         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19407         * sysdeps/x86_64/strcspn.S: Likewise.
19408
19409 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19410
19411         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19412         generated file.  Regenerate properly from gen-translit.pl.
19413         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19414         locale/C-translit.h.
19415
19416 2013-06-05  Andreas Schwab  <schwab@suse.de>
19417
19418         [BZ #15100]
19419         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19420         week as 6 instead of -1.
19421         * time/tst-strptime.c (day_tests): Add test case.
19422
19423 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19424
19425         * sysdeps/generic/math_private.h
19426         (libc_feholdexcept_setround_53bit): Replace with
19427         libc_feholdsetround_53bit.
19428         (libc_feupdateenv_53bit): Replace with
19429         libc_feresetround_53bit.
19430         (SET_RESTORE_ROUND_53BIT): Adjust.
19431
19432 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19433
19434         * string/test-strchrnul.c: Add copyright header.
19435
19436         * posix/tst-getaddrinfo4.c: Increase test timeout.
19437
19438 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19439
19440         [BZ #15536]
19441         * math/libm-test.inc (MAX_EXP): Remove
19442         (MIN_EXP): Define.
19443         (ulp): Use MIN_EXP - MANT_DIG.
19444         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19445
19446 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19447
19448         * po/be.po: Revert last change.
19449         * po/zh_CN.po: Likewise.
19450         * po/header.pot: Likewise.
19451
19452 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19453
19454         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19455         link-libc-deps to empty as target-specific variable.
19456         * Makerules (link-libc-args): New variable.
19457         (libc-for-link): Likewise.
19458         (link-libc-deps): Likewise.
19459         (lib%.so): Depend on $(link-libc-deps).  Link with
19460         $(link-libc-args).
19461         (build-module): Link with $(link-libc-args).
19462         (build-module-asneeded): Likewise.
19463         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19464         list of objects.
19465         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19466         target-specific variable.
19467         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19468         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19469         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19470         libc.
19471         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19472         libc and ld.so.
19473         ($(objpfx)libpcprofile.so): Likewise.
19474         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19475         libc_nonshared.a.
19476         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19477         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19478         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19479         $(link-libc-deps).
19480         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19481         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19482         * login/Makefile ($(objpfx)libutil.so): Likewise.
19483         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19484         * math/Makefile ($(objpfx)libm.so): Likewise.
19485         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19486         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19487         variable instead of depending directly on libc.
19488         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19489         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19490         $(link-libc-deps).
19491         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19492         libc.
19493         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19494         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19495         ($(objpfx)libanl.so): Likewise.
19496         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19497         ld.so.
19498         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19499         $(link-libc-deps).
19500         * sysdeps/i386/fpu/Makefile: Remove file.
19501         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19502         ($(objpfx)libm.so): Remove dependency on ld.so.
19503
19504 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
19505
19506         [BZ # 15553]
19507         * nis/yp_xdr.c (XDRMAXNAME): Define.
19508         (XDRMAXRECORD): Define.
19509         (xdr_domainname): Use XDRMAXNAME.
19510         (xdr_mapname): Likewise.
19511         (xdr_peername): Likewise.
19512         (xdr_keydat): Use XDRMAXRECORD.
19513         (xdr_valdat): Likewise.
19514
19515 2013-05-30  Jeff Law  <law@redhat.com>
19516
19517         [BZ #14256]
19518         * manual/errno.texi (ESTALE): Update to account for more than
19519         just NFS file systems.
19520         * sysdeps/gnu/errlist.c: Regenerated.
19521
19522 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19523
19524         [BZ #15465]
19525         * elf/Makefile (tests): Add tst-null-argv.
19526         (modules-names):  Add tst-null-argv-lib.
19527         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19528         (tst-null-argv-ENV): Set environment for tst-null-argv.
19529         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19530         (RTLD_PROGNAME): New macro.
19531         * elf/tst-null-argv.c: New test case.
19532         * elf/tst-null-argv-lib.c: Library for test case.
19533         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19534         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19535         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19536         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19537         * elf/dl-init.c (call_init): Likewise.
19538         (_dl_init): Likewise.
19539         * elf/dl-load.c (print_search_path): Likewise.
19540         (_dl_map_object): Likewise.
19541         * elf/dl-lookup.c (do_lookup_x): Likewise.
19542         (add_dependency): Likewise.
19543         (_dl_lookup_symbol_x): Likewise.
19544         (_dl_debug_bindings): Likewise.
19545         * elf/dl-open.c (_dl_show_scope): Likewise.
19546         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19547         * elf/dl-version.c (match_symbol): Likewise.
19548         (_dl_check_map_versions): Likewise.
19549         * elf/rtld.c (dl_main): Likewise.
19550         (print_unresolved): Use RTLD_PROGNAME.
19551         (print_missing_version): Likewise.
19552         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19553         (elf_machine_rela): Likewise.
19554         * sysdeps/powerpc/powerpc32/dl-machine.c
19555         (__process_machine_rela): Likewise.
19556         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19557         Likewise.
19558         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19559         Likewise.
19560         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19561         Likewise.
19562         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19563         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19564         Likewise.
19565         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19566         Likewise.
19567         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19568
19569 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
19570
19571         * po/be.po: Add descriptive title.
19572         * po/zh_CN.po: Likewise.
19573         * po/header.pot: Likewise.
19574
19575 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
19576
19577         * locale/programs/locarchive.c (create_archive): Inlucde fname in
19578         error message.
19579         (enlarge_archive): Likewise.
19580
19581 2013-05-28  Ben North  <ben@redfrontdoor.org>
19582
19583         * manual/arith.texi (frexp): It is the magnitude of the return
19584         value which lies in [0.5, 1), not the return value itself.
19585
19586 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19587
19588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19589
19590 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
19591
19592         * stdio-common/bug26.c (main): Correct fscanf template.
19593
19594         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19595         declare _dl_skip_args.
19596
19597         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19598         Don't declare.
19599
19600         * manual/platform.texi: Add missing @end deftypefun.
19601
19602 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19603
19604         [BZ #15529]
19605         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19606         bit of mantissa of 2^16382.
19607         * math/libm-test.inc (hypot_test_data): Add more tests.
19608
19609         * math/libm-test.inc: Add drem and pow10 to list of tested
19610         functions.
19611         (pow10_test): New function.
19612         (drem_test): Likewise.
19613         (drem_test_tonearest): Likewise.
19614         (drem_test_towardzero): Likewise.
19615         (drem_test_downward): Likewise.
19616         (drem_test_upward): Likewise.
19617         (main): Call the new functions.
19618
19619         * math/libm-test.inc (finite_test_data): Remove.
19620         (finite_test): Run tests from isfinite_test_data.
19621         (gamma_test_data): Remove.
19622         (gamma_test): Run tests from lgamma_test_data.
19623         * sysdeps/i386/fpu/libm-test-ulps: Update.
19624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19625
19626 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19627
19628         * manual/platform.texi: Add PowerPC PPR function set documentation.
19629         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19630         implementation.
19631
19632 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
19633
19634         * math/libm-test.inc (MAX_EXP): Define.
19635         (ULPDIFF): Define.
19636         (ulp): New function.
19637         (check_float_internal): Use ULPDIFF.
19638         (cpow_test): Disable failing test.
19639         (check_ulp): Test ulp() implemetnation.
19640         (main): Call check_ulp before starting tests.
19641
19642 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19643
19644         * math/gen-libm-test.pl (generate_testfile): Do not handle
19645         START_DATA and END_DATA.
19646         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19647         END_DATA.
19648         (acos_tonearest_test_data): Likewise.
19649         (acos_towardzero_test_data): Likewise.
19650         (acos_downward_test_data): Likewise.
19651         (acos_upward_test_data): Likewise.
19652         (acosh_test_data): Likewise.
19653         (asin_test_data): Likewise.
19654         (asin_tonearest_test_data): Likewise.
19655         (asin_towardzero_test_data): Likewise.
19656         (asin_downward_test_data): Likewise.
19657         (asin_upward_test_data): Likewise.
19658         (asinh_test_data): Likewise.
19659         (atan_test_data): Likewise.
19660         (atanh_test_data): Likewise.
19661         (atan2_test_data): Likewise.
19662         (cabs_test_data): Likewise.
19663         (cacos_test_data): Likewise.
19664         (cacosh_test_data): Likewise.
19665         (carg_test_data): Likewise.
19666         (casin_test_data): Likewise.
19667         (casinh_test_data): Likewise.
19668         (catan_test_data): Likewise.
19669         (catanh_test_data): Likewise.
19670         (cbrt_test_data): Likewise.
19671         (ccos_test_data): Likewise.
19672         (ccosh_test_data): Likewise.
19673         (ceil_test_data): Likewise.
19674         (cexp_test_data): Likewise.
19675         (cimag_test_data): Likewise.
19676         (clog_test_data): Likewise.
19677         (clog10_test_data): Likewise.
19678         (conj_test_data): Likewise.
19679         (copysign_test_data): Likewise.
19680         (cos_test_data): Likewise.
19681         (cos_tonearest_test_data): Likewise.
19682         (cos_towardzero_test_data): Likewise.
19683         (cos_downward_test_data): Likewise.
19684         (cos_upward_test_data): Likewise.
19685         (cosh_test_data): Likewise.
19686         (cosh_tonearest_test_data): Likewise.
19687         (cosh_towardzero_test_data): Likewise.
19688         (cosh_downward_test_data): Likewise.
19689         (cosh_upward_test_data): Likewise.
19690         (cpow_test_data): Likewise.
19691         (cproj_test_data): Likewise.
19692         (creal_test_data): Likewise.
19693         (csin_test_data): Likewise.
19694         (csinh_test_data): Likewise.
19695         (csqrt_test_data): Likewise.
19696         (ctan_test_data): Likewise.
19697         (ctan_tonearest_test_data): Likewise.
19698         (ctan_towardzero_test_data): Likewise.
19699         (ctan_downward_test_data): Likewise.
19700         (ctan_upward_test_data): Likewise.
19701         (ctanh_test_data): Likewise.
19702         (ctanh_tonearest_test_data): Likewise.
19703         (ctanh_towardzero_test_data): Likewise.
19704         (ctanh_downward_test_data): Likewise.
19705         (ctanh_upward_test_data): Likewise.
19706         (erf_test_data): Likewise.
19707         (erfc_test_data): Likewise.
19708         (exp_test_data): Likewise.
19709         (exp_tonearest_test_data): Likewise.
19710         (exp_towardzero_test_data): Likewise.
19711         (exp_downward_test_data): Likewise.
19712         (exp_upward_test_data): Likewise.
19713         (exp10_test_data): Likewise.
19714         (exp2_test_data): Likewise.
19715         (expm1_test_data): Likewise.
19716         (fabs_test_data): Likewise.
19717         (fdim_test_data): Likewise.
19718         (finite_test_data): Likewise.
19719         (floor_test_data): Likewise.
19720         (fma_test_data): Likewise.
19721         (fma_towardzero_test_data): Likewise.
19722         (fma_downward_test_data): Likewise.
19723         (fma_upward_test_data): Likewise.
19724         (fmax_test_data): Likewise.
19725         (fmin_test_data): Likewise.
19726         (fmod_test_data): Likewise.
19727         (fpclassify_test_data): Likewise.
19728         (frexp_test_data): Likewise.
19729         (gamma_test_data): Likewise.
19730         (hypot_test_data): Likewise.
19731         (ilogb_test_data): Likewise.
19732         (isfinite_test_data): Likewise.
19733         (isgreater_test_data): Likewise.
19734         (isgreaterequal_test_data): Likewise.
19735         (isinf_test_data): Likewise.
19736         (isless_test_data): Likewise.
19737         (islessequal_test_data): Likewise.
19738         (islessgreater_test_data): Likewise.
19739         (isnan_test_data): Likewise.
19740         (isnormal_test_data): Likewise.
19741         (issignaling_test_data): Likewise.
19742         (isunordered_test_data): Likewise.
19743         (j0_test_data): Likewise.
19744         (j1_test_data): Likewise.
19745         (jn_test_data): Likewise.
19746         (ldexp_test_data): Likewise.
19747         (lgamma_test_data): Likewise.
19748         (lrint_test_data): Likewise.
19749         (lrint_tonearest_test_data): Likewise.
19750         (lrint_towardzero_test_data): Likewise.
19751         (lrint_downward_test_data): Likewise.
19752         (lrint_upward_test_data): Likewise.
19753         (llrint_test_data): Likewise.
19754         (llrint_tonearest_test_data): Likewise.
19755         (llrint_towardzero_test_data): Likewise.
19756         (llrint_downward_test_data): Likewise.
19757         (llrint_upward_test_data): Likewise.
19758         (log_test_data): Likewise.
19759         (log10_test_data): Likewise.
19760         (log1p_test_data): Likewise.
19761         (log2_test_data): Likewise.
19762         (logb_test_data): Likewise.
19763         (logb_downward_test_data): Likewise.
19764         (lround_test_data): Likewise.
19765         (llround_test_data): Likewise.
19766         (modf_test_data): Likewise.
19767         (nearbyint_test_data): Likewise.
19768         (nextafter_test_data): Likewise.
19769         (nexttoward_test_data): Likewise.
19770         (pow_test_data): Likewise.
19771         (pow_tonearest_test_data): Likewise.
19772         (pow_towardzero_test_data): Likewise.
19773         (pow_downward_test_data): Likewise.
19774         (pow_upward_test_data): Likewise.
19775         (remainder_test_data): Likewise.
19776         (remainder_tonearest_test_data): Likewise.
19777         (remainder_towardzero_test_data): Likewise.
19778         (remainder_downward_test_data): Likewise.
19779         (remainder_upward_test_data): Likewise.
19780         (remquo_test_data): Likewise.
19781         (rint_test_data): Likewise.
19782         (rint_tonearest_test_data): Likewise.
19783         (rint_towardzero_test_data): Likewise.
19784         (rint_downward_test_data): Likewise.
19785         (rint_upward_test_data): Likewise.
19786         (round_test_data): Likewise.
19787         (scalb_test_data): Likewise.
19788         (scalbn_test_data): Likewise.
19789         (scalbln_test_data): Likewise.
19790         (signbit_test_data): Likewise.
19791         (sin_test_data): Likewise.
19792         (sin_tonearest_test_data): Likewise.
19793         (sin_towardzero_test_data): Likewise.
19794         (sin_downward_test_data): Likewise.
19795         (sin_upward_test_data): Likewise.
19796         (sincos_test_data): Likewise.
19797         (sinh_test_data): Likewise.
19798         (sinh_tonearest_test_data): Likewise.
19799         (sinh_towardzero_test_data): Likewise.
19800         (sinh_downward_test_data): Likewise.
19801         (sinh_upward_test_data): Likewise.
19802         (sqrt_test_data): Likewise.
19803         (tan_test_data): Likewise.
19804         (tan_tonearest_test_data): Likewise.
19805         (tan_towardzero_test_data): Likewise.
19806         (tan_downward_test_data): Likewise.
19807         (tan_upward_test_data): Likewise.
19808         (tanh_test_data): Likewise.
19809         (tgamma_test_data): Likewise.
19810         (trunc_test_data): Likewise.
19811         (y0_test_data): Likewise.
19812         (y1_test_data): Likewise.
19813         (yn_test_data): Likewise.
19814         (significand_test_data): Likewise.
19815
19816         * math/gen-libm-test.pl (@functions): Remove variable.
19817         (generate_testfile): Don't handle START and END lines.
19818         * math/libm-test.inc (START): New macro.
19819         (END): Likewise.
19820         (END_COMPLEX): Likewise.
19821         (acos_test): Use END macro without arguments.
19822         (acos_test_tonearest): Likewise.
19823         (acos_test_towardzero): Likewise.
19824         (acos_test_downward): Likewise.
19825         (acos_test_upward): Likewise.
19826         (acosh_test): Likewise.
19827         (asin_test): Likewise.
19828         (asin_test_tonearest): Likewise.
19829         (asin_test_towardzero): Likewise.
19830         (asin_test_downward): Likewise.
19831         (asin_test_upward): Likewise.
19832         (asinh_test): Likewise.
19833         (atan_test): Likewise.
19834         (atanh_test): Likewise.
19835         (atan2_test): Likewise.
19836         (cabs_test): Likewise.
19837         (cacos_test): Use END_COMPLEX macro without arguments.
19838         (cacosh_test): Likewise.
19839         (carg_test): Use END macro without arguments.
19840         (casin_test): Use END_COMPLEX macro without arguments.
19841         (casinh_test): Likewise.
19842         (catan_test): Likewise.
19843         (catanh_test): Likewise.
19844         (cbrt_test): Use END macro without arguments.
19845         (ccos_test): Use END_COMPLEX macro without arguments.
19846         (ccosh_test): Likewise.
19847         (ceil_test): Use END macro without arguments.
19848         (cexp_test): Use END_COMPLEX macro without arguments.
19849         (cimag_test): Use END macro without arguments.
19850         (clog_test): Use END_COMPLEX macro without arguments.
19851         (clog10_test): Likewise.
19852         (conj_test): Likewise.
19853         (copysign_test): Use END macro without arguments.
19854         (cos_test): Likewise.
19855         (cos_test_tonearest): Likewise.
19856         (cos_test_towardzero): Likewise.
19857         (cos_test_downward): Likewise.
19858         (cos_test_upward): Likewise.
19859         (cosh_test): Likewise.
19860         (cosh_test_tonearest): Likewise.
19861         (cosh_test_towardzero): Likewise.
19862         (cosh_test_downward): Likewise.
19863         (cosh_test_upward): Likewise.
19864         (cpow_test): Use END_COMPLEX macro without arguments.
19865         (cproj_test): Likewise.
19866         (creal_test): Use END macro without arguments.
19867         (csin_test): Use END_COMPLEX macro without arguments.
19868         (csinh_test): Likewise.
19869         (csqrt_test): Likewise.
19870         (ctan_test): Likewise.
19871         (ctan_test_tonearest): Likewise.
19872         (ctan_test_towardzero): Likewise.
19873         (ctan_test_downward): Likewise.
19874         (ctan_test_upward): Likewise.
19875         (ctanh_test): Likewise.
19876         (ctanh_test_tonearest): Likewise.
19877         (ctanh_test_towardzero): Likewise.
19878         (ctanh_test_downward): Likewise.
19879         (ctanh_test_upward): Likewise.
19880         (erf_test): Use END macro without arguments.
19881         (erfc_test): Likewise.
19882         (exp_test): Likewise.
19883         (exp_test_tonearest): Likewise.
19884         (exp_test_towardzero): Likewise.
19885         (exp_test_downward): Likewise.
19886         (exp_test_upward): Likewise.
19887         (exp10_test): Likewise.
19888         (exp2_test): Likewise.
19889         (expm1_test): Likewise.
19890         (fabs_test): Likewise.
19891         (fdim_test): Likewise.
19892         (finite_test): Likewise.
19893         (floor_test): Likewise.
19894         (fma_test): Likewise.
19895         (fma_test_towardzero): Likewise.
19896         (fma_test_downward): Likewise.
19897         (fma_test_upward): Likewise.
19898         (fmax_test): Likewise.
19899         (fmin_test): Likewise.
19900         (fmod_test): Likewise.
19901         (fpclassify_test): Likewise.
19902         (frexp_test): Likewise.
19903         (gamma_test): Likewise.
19904         (hypot_test): Likewise.
19905         (ilogb_test): Likewise.
19906         (isfinite_test): Likewise.
19907         (isgreater_test): Likewise.
19908         (isgreaterequal_test): Likewise.
19909         (isinf_test): Likewise.
19910         (isless_test): Likewise.
19911         (islessequal_test): Likewise.
19912         (islessgreater_test): Likewise.
19913         (isnan_test): Likewise.
19914         (isnormal_test): Likewise.
19915         (issignaling_test): Likewise.
19916         (isunordered_test): Likewise.
19917         (j0_test): Likewise.
19918         (j1_test): Likewise.
19919         (jn_test): Likewise.
19920         (ldexp_test): Likewise.
19921         (lgamma_test): Likewise.
19922         (lrint_test): Likewise.
19923         (lrint_test_tonearest): Likewise.
19924         (lrint_test_towardzero): Likewise.
19925         (lrint_test_downward): Likewise.
19926         (lrint_test_upward): Likewise.
19927         (llrint_test): Likewise.
19928         (llrint_test_tonearest): Likewise.
19929         (llrint_test_towardzero): Likewise.
19930         (llrint_test_downward): Likewise.
19931         (llrint_test_upward): Likewise.
19932         (log_test): Likewise.
19933         (log10_test): Likewise.
19934         (log1p_test): Likewise.
19935         (log2_test): Likewise.
19936         (logb_test): Likewise.
19937         (logb_test_downward): Likewise.
19938         (lround_test): Likewise.
19939         (llround_test): Likewise.
19940         (modf_test): Likewise.
19941         (nearbyint_test): Likewise.
19942         (nextafter_test): Likewise.
19943         (nexttoward_test): Likewise.
19944         (pow_test): Likewise.
19945         (pow_test_tonearest): Likewise.
19946         (pow_test_towardzero): Likewise.
19947         (pow_test_downward): Likewise.
19948         (pow_test_upward): Likewise.
19949         (remainder_test): Likewise.
19950         (remainder_test_tonearest): Likewise.
19951         (remainder_test_towardzero): Likewise.
19952         (remainder_test_downward): Likewise.
19953         (remainder_test_upward): Likewise.
19954         (remquo_test): Likewise.
19955         (rint_test): Likewise.
19956         (rint_test_tonearest): Likewise.
19957         (rint_test_towardzero): Likewise.
19958         (rint_test_downward): Likewise.
19959         (rint_test_upward): Likewise.
19960         (round_test): Likewise.
19961         (scalb_test): Likewise.
19962         (scalbn_test): Likewise.
19963         (scalbln_test): Likewise.
19964         (signbit_test): Likewise.
19965         (sin_test): Likewise.
19966         (sin_test_tonearest): Likewise.
19967         (sin_test_towardzero): Likewise.
19968         (sin_test_downward): Likewise.
19969         (sin_test_upward): Likewise.
19970         (sincos_test): Likewise.
19971         (sinh_test): Likewise.
19972         (sinh_test_tonearest): Likewise.
19973         (sinh_test_towardzero): Likewise.
19974         (sinh_test_downward): Likewise.
19975         (sinh_test_upward): Likewise.
19976         (sqrt_test): Likewise.
19977         (tan_test): Likewise.
19978         (tan_test_tonearest): Likewise.
19979         (tan_test_towardzero): Likewise.
19980         (tan_test_downward): Likewise.
19981         (tan_test_upward): Likewise.
19982         (tanh_test): Likewise.
19983         (tgamma_test): Likewise.
19984         (trunc_test): Likewise.
19985         (y0_test): Likewise.
19986         (y1_test): Likewise.
19987         (yn_test): Likewise.
19988         (significand_test): Likewise.
19989
19990 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
19991
19992         [BZ #15381]
19993         * libio/genops.c (_IO_no_init): Initialize wide struct info.
19994
19995 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19996
19997         [BZ #14894]
19998         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19999         __ppc_mdoio and __ppc_mdoom.
20000         * manual/platform.texi: Document new functions __ppc_yield,
20001         __ppc_mdoio and __ppc_mdoom.
20002
20003 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
20004
20005         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20006         (main): Mention "tls" pseudo-hwcap is legacy.
20007         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20008
20009 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20010
20011         * math/gen-libm-test.pl (parse_args): Output only string of
20012         arguments as text for test name, not full call or descriptions of
20013         tests for extra outputs.
20014         (generate_testfile): Do not pass function name to parse_args.
20015         Generate this_func variable from START.
20016         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20017         field to arg_str.
20018         (struct test_ff_f_data): Likewise.
20019         (test_ff_f_data_nexttoward): Likewise.
20020         (struct test_fi_f_data): Likewise.
20021         (struct test_fl_f_data): Likewise.
20022         (struct test_if_f_data): Likewise.
20023         (struct test_fff_f_data): Likewise.
20024         (struct test_c_f_data): Likewise.
20025         (struct test_f_f1_data): Likewise.  Remove field extra_name.
20026         (struct test_fF_f1_data): Likewise.
20027         (struct test_ffI_f1_data): Likewise.
20028         (struct test_c_c_data): Rename test_name field to arg_str.
20029         (struct test_cc_c_data): Likewise.
20030         (struct test_f_i_data): Likewise.
20031         (struct test_ff_i_data): Likewise.
20032         (struct test_f_l_data): Likewise.
20033         (struct test_f_L_data): Likewise.
20034         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
20035         and extra2_name.
20036         (COMMON_TEST_SETUP): New macro.
20037         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20038         (COMMON_TEST_CLEANUP): Likewise.
20039         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20040         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
20041         macros.
20042         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20043         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
20044         macros.
20045         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20046         (RUN_TEST_fff_f): Take argument string.  Call new setup and
20047         cleanup macros.
20048         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20049         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
20050         macros.
20051         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20052         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
20053         macros.
20054         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20055         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
20056         cleanup macros.
20057         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20058         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
20059         cleanup macros.
20060         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20061         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
20062         cleanup macros.
20063         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20064         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
20065         macros.
20066         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20067         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
20068         macros.
20069         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20070         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
20071         macros.
20072         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20073         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
20074         cleanup macros.
20075         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20076         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
20077         cleanup macros.
20078         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20079         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20080         macros.
20081         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20082         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20083         cleanup macros.
20084         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20085         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20086         macros.
20087         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20088         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20089         macros.
20090         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20091         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20092         cleanup macros.
20093         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20094
20095 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20096
20097         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20098         to _sifields.sigfault.
20099         (si_addr_lsb): Define new macro.
20100         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20101         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20102         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20103
20104 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20105
20106         [BZ #15441]
20107         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20108         returns -1.
20109         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20110         null return -1.
20111         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20112         loading the domain.
20113
20114 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20115
20116         * math/gen-libm-test.pl (parse_args): Do not include expected
20117         result in test name.
20118         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20119         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20120         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20121         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20122         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20124
20125 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20126
20127         * benchtests/Makefile: Sort function entries.
20128
20129         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20130         tanh, asinh, acosh, atanh.
20131         * benchtests/acos-inputs: New file.
20132         * benchtests/acosh-inputs: New file.
20133         * benchtests/asin-inputs: New file.
20134         * benchtests/asinh-inputs: New file.
20135         * benchtests/atanh-inputs: New file.
20136         * benchtests/cosh-inputs: New file.
20137         * benchtests/log-inputs: New file.
20138         * benchtests/sinh-inputs: New file.
20139         * benchtests/tanh-inputs: New file.
20140
20141 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20142
20143         [BZ #15339]
20144         * posix/tst-getaddrinfo4.c: New test.
20145         * posix/Makefile (tests): Add it.
20146
20147 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20148
20149         [BZ #15339]
20150         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20151         when no services were used.
20152         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20153         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20154
20155 2013-05-21  Andreas Schwab  <schwab@suse.de>
20156
20157         [BZ #15014]
20158         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20159         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20160         successful.
20161         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20162         redundant variable declarations and reallocation of buffer when
20163         parsing as IPv6 address.  Always set NSS status when called from
20164         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20165         buffer too small.  Correct computation of needed size.
20166         * nss/Makefile (tests): Add test-digits-dots.
20167         * nss/test-digits-dots.c: New test.
20168
20169 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20170
20171         * benchtests/Makefile: Remove instructions for adding
20172         benchmark tests.
20173         * benchtests/README: New file to explain how to execute and
20174         enhance the benchmark tests.
20175
20176 2013-05-21  Andreas Schwab  <schwab@suse.de>
20177
20178         [BZ #15493]
20179         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20180         * setjmp/tst-sigsetjmp.c: New test.
20181
20182 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20183
20184         * sysdeps/x86_64/memset.S (memset): New implementation.
20185         (__bzero): Likewise.
20186         (__memset_tail): New function.
20187
20188 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20189
20190         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20191         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20192         __memcpy_sse2_unaligned ifunc selection.
20193         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20194         Add memcpy-sse2-unaligned.S.
20195         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20196         Add: __memcpy_sse2_unaligned.
20197
20198 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20199
20200         [BZ #15490]
20201         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20202         math_force_eval before restoring floating-point envrionment.
20203         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20204         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20205         Likewise.
20206         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20207         <math_private.h>.
20208         (__nearbyintl): Use math_force_eval before restoring
20209         floating-point environment.
20210         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20211
20212         * math/gen-libm-test.pl (special_functions): Remove.
20213         (parse_args): Don't handle TEST_extra.  Handle functions with no
20214         return value.
20215         * math/libm-test.inc (struct test_sincos_data): Replace with
20216         struct test_fFF_11_data.
20217         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20218         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20219         (sincos_test_data): Change element type to struct
20220         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20221         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20222         RUN_TEST_LOOP_sincos.
20223         * math/README.libm-test: Don't mention special handling of
20224         individual functions.
20225         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20226         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20227         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20228         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20229         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20231
20232         * math/gen-libm-test.pl (get_variable): Remove function.
20233         (parse_args): Don't show pointer parameters to call in test
20234         names.  Use "extra output N" in test names for extra outputs
20235         rather than naming variables.
20236
20237 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20238
20239         [BZ #15488]
20240         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20241         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20242         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20243         double tests.
20244         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20245         disable.
20246         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20247         check_long_double.
20248
20249         * math/gen-libm-test.pl (@tests): Remove variable.
20250         ($count): Likewise.
20251         (new_test): Remove function.
20252         (show_exceptions): New function.
20253         (special_functions): Use show_exceptions instead of new_test.
20254         (parse_args): Likewise.
20255         (generate_testfile): Pass only function name in generated call to
20256         print_max_error or print_complex_max_error.
20257         (get_ulps): Do not handle complex tests specially.
20258         (output_test): Rename to ...
20259         (get_all_ulps_for_test): ... this.  Return a string rather than
20260         printing to a file.  Require ulps to be present.
20261         (output_ulps): Generate arrays rather than #defines.
20262         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20263         (struct ulp_data): New type.
20264         (BUILD_COMPLEX_ULP): Remove macro.
20265         (compare_ulp_data): New function.
20266         (find_ulps): Likewise.
20267         (find_test_ulps): Likewise.
20268         (find_function_ulps): Likewise.
20269         (find_complex_function_ulps): Likewise.
20270         (print_max_error): Determine allowed ulps using
20271         find_function_ulps.
20272         (print_complex_max_error): Determine allowed ulps using
20273         find_complex_function_ulps.
20274         (check_float_internal): Determine max ulps using find_test_ulps.
20275         (check_float): Do not take max_ulp parameter.  Update call to
20276         check_float_internal.
20277         (check_complex): Likewise.
20278         (check_int): Do not take max_ulp parameter.
20279         (check_long): Likewise.
20280         (check_bool): Likewise.
20281         (check_longlong): Likewise.
20282         (struct test_f_f_data): Remove max_ulp field.
20283         (struct test_ff_f_data): Likewise.
20284         (struct test_ff_f_data_nexttoward): Likewise.
20285         (struct test_fi_f_data): Likewise.
20286         (struct test_fl_f_data): Likewise.
20287         (struct test_if_f_data): Likewise.
20288         (struct test_fff_f_data): Likewise.
20289         (struct test_c_f_data): Likewise.
20290         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20291         (struct test_fF_f1_data): Likewise.
20292         (struct test_ffI_f1_data): Likewise.
20293         (struct test_c_c_data): Remove max_ulp field.
20294         (struct test_cc_c_data): Likewise.
20295         (struct test_f_i_data): Likewise.
20296         (struct test_ff_i_data): Likewise.
20297         (struct test_f_l_data): Likewise.
20298         (struct test_f_L_data): Likewise.
20299         (struct test_sincos_data): Likewise.
20300         (RUN_TEST_f_f): Do not handle ulps.
20301         (RUN_TEST_LOOP_f_f): Likewise.
20302         (RUN_TEST_2_f): Likewise.
20303         (RUN_TEST_LOOP_2_f): Likewise.
20304         (RUN_TEST_fff_f): Likewise.
20305         (RUN_TEST_LOOP_fff_f): Likewise.
20306         (RUN_TEST_c_f): Likewise.
20307         (RUN_TEST_LOOP_c_f): Likewise.
20308         (RUN_TEST_f_f1): Likewise.
20309         (RUN_TEST_LOOP_f_f1): Likewise.
20310         (RUN_TEST_fF_f1): Likewise.
20311         (RUN_TEST_LOOP_fF_f1): Likewise.
20312         (RUN_TEST_fI_f1): Likewise.
20313         (RUN_TEST_LOOP_fI_f1): Likewise.
20314         (RUN_TEST_ffI_f1): Likewise.
20315         (RUN_TEST_LOOP_ffI_f1): Likewise.
20316         (RUN_TEST_c_c): Likewise.
20317         (RUN_TEST_LOOP_c_c): Likewise.
20318         (RUN_TEST_cc_c): Likewise.
20319         (RUN_TEST_LOOP_cc_c): Likewise.
20320         (RUN_TEST_f_i): Likewise.
20321         (RUN_TEST_LOOP_f_i): Likewise.
20322         (RUN_TEST_f_i_tg): Likewise.
20323         (RUN_TEST_LOOP_f_i_tg): Likewise.
20324         (RUN_TEST_ff_i_tg): Likewise.
20325         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20326         (RUN_TEST_f_b): Likewise.
20327         (RUN_TEST_LOOP_f_b): Likewise.
20328         (RUN_TEST_f_b_tg): Likewise.
20329         (RUN_TEST_LOOP_f_b_tg): Likewise.
20330         (RUN_TEST_f_l): Likewise.
20331         (RUN_TEST_LOOP_f_l): Likewise.
20332         (RUN_TEST_f_L): Likewise.
20333         (RUN_TEST_LOOP_f_L): Likewise.
20334         (RUN_TEST_sincos): Likewise.
20335         (RUN_TEST_LOOP_sincos): Likewise.
20336
20337 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20338
20339         [BZ #15480]
20340         [BZ #15485]
20341         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20342         main case of finite arguments, set rounding mode to FE_TONEAREST
20343         and discard exceptions.
20344         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20345         exceptions.
20346         (remainder_tonearest_test_data): New variable.
20347         (remainder_test_tonearest): New function.
20348         (remainder_towardzero_test_data): New variable.
20349         (remainder_test_towardzero): New function.
20350         (remainder_downward_test_data): New variable.
20351         (remainder_test_downward): New function.
20352         (remainder_upward_test_data): New variable.
20353         (remainder_test_upward): New function.
20354         (main): Call the new test functions.
20355
20356         * math/libm-test.inc (struct test_f_f1_data): Remove field
20357         extra_init.
20358         (struct test_fF_f1_data): Likewise.
20359         (struct test_ffI_f1_data): Likewise.
20360         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20361         based on value of EXTRA_EXPECTED.
20362         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20363         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20364         EXTRA_VAR based on value of EXTRA_EXPECTED.
20365         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20366         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20367         EXTRA_VAR based on value of EXTRA_EXPECTED.
20368         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20369         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20370         EXTRA_VAR based on value of EXTRA_EXPECTED.
20371         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20372         * math/gen-libm-test.pl (parse_args): Don't output initializers
20373         for extra output values.
20374
20375         * math/libm-test.inc (check_int): Expect result to be exactly
20376         equal to expected value and do not handle ulps.
20377         (check_long): Likewise.
20378         (check_longlong): Likewise.
20379
20380         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20381         exceptions.
20382         (cimag_test_data): Likewise.
20383         (conj_test_data): Likewise.
20384         (copysign_test_data): Likewise.
20385         (cproj_test_data): Likewise.
20386         (creal_test_data): Likewise.
20387         (fabs_test_data): Likewise.
20388         (fdim_test_data): Likewise.
20389         (finite_test_data): Likewise.
20390         (floor_test_data): Likewise.
20391         (fmax_test_data): Likewise.
20392         (fmin_test_data): Likewise.
20393         (fmod_test_data): Likewise.
20394         (fpclassify_test_data): Likewise.
20395         (frexp_test_data): Likewise.
20396         (ilogb_test_data): Likewise.
20397         (isfinite_test_data): Likewise.
20398         (isgreater_test_data): Likewise.
20399         (isgreaterequal_test_data): Likewise.
20400         (isinf_test_data): Likewise.
20401         (isless_test_data): Likewise.
20402         (islessequal_test_data): Likewise.
20403         (islessgreater_test_data): Likewise.
20404         (isnan_test_data): Likewise.
20405         (isnormal_test_data): Likewise.
20406         (issignaling_test_data): Likewise.
20407         (isunordered_test_data): Likewise.
20408         (ldexp_test_data): Likewise.
20409         (lrint_test_data): Likewise.
20410         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20411         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20412         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20413         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20414         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20415         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20416         test input.
20417         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20418         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20419         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20420         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20421         that test input.
20422         (lrint_downward_test_data): Test for "inexact" exceptions.
20423         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20424         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20425         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20426         test input.
20427         (lrint_upward_test_data): Test for "inexact" exceptions.
20428         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20429         test input.
20430         (llrint_test_data): Test for "inexact" exceptions.
20431         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20432         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20433         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20434         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20435         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20436         (llrint_downward_test_data): Test for "inexact" exceptions.
20437         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20438         (llrint_upward_test_data): Test for "inexact" exceptions.
20439         (logb_test_data): Likewise.
20440         (logb_downward_test_data): Likewise.
20441         (nextafter_test_data): Likewise.
20442         (nexttoward_test_data): Likewise.
20443         (remainder_test_data): Likewise.
20444         (remquo_test_data): Likewise.
20445         (scalbn_test_data): Likewise.
20446         (scalbln_test_data): Likewise.
20447         (signbit_test_data): Likewise.
20448         (sqrt_test_data): Likewise.
20449         (significand_test_data): Likewise.
20450
20451 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20452
20453         [BZ #15424]
20454         * benchtests/bench-modf.c (struct args): Mark arg0 as
20455         volatile.
20456         * scripts/bench.pl: Mark members of struct args as volatile.
20457
20458 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20459
20460         [BZ # 15497]
20461         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20462         negative infinity on POWER6 or lower.
20463         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20464
20465 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20466
20467         [BZ #15442]
20468         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20469         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20470         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20471         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20472         (_FP_SETQNAN): New macro.
20473         (_FP_SETQNAN_SEMIRAW): Likewise.
20474         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20475         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20476         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20477         (FP_EXTEND): Use _FP_FRAC_SNANP.
20478         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20479         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20480         into account.
20481         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20482         New macro.
20483         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20484         Likewise.
20485
20486 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20487
20488         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20489         with DIVIDE_BY_ZERO_EXCEPTION.
20490         (gamma_test_data): Likewise.
20491         (lgamma_test_data): Likewise.
20492         (log_test_data): Likewise.
20493         (log10_test_data): Likewise.
20494         (log2_test_data): Likewise.
20495         (tgamma_test_data): Likewise.
20496
20497         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20498         (acos_test_tonearest): Likewise.
20499         (acos_test_towardzero): Likewise.
20500         (acos_test_downward): Likewise.
20501         (acos_test_upward): Likewise.
20502         (acosh_test): Likewise.
20503         (asin_test): Likewise.
20504         (asin_test_tonearest): Likewise.
20505         (asin_test_towardzero): Likewise.
20506         (asin_test_downward): Likewise.
20507         (asin_test_upward): Likewise.
20508         (asinh_test): Likewise.
20509         (atan_test): Likewise.
20510         (atanh_test): Likewise.
20511         (atan2_test): Likewise.
20512         (cabs_test): Likewise.
20513         (cacos_test): Likewise.
20514         (cacosh_test): Likewise.
20515         (casin_test): Likewise.
20516         (casinh_test): Likewise.
20517         (catan_test): Likewise.
20518         (catanh_test): Likewise.
20519         (cbrt_test): Likewise.
20520         (ccos_test): Likewise.
20521         (ccosh_test): Likewise.
20522         (cexp_test): Likewise.
20523         (clog_test): Likewise.
20524         (clog10_test): Likewise.
20525         (cos_test): Likewise.
20526         (cos_test_tonearest): Likewise.
20527         (cos_test_towardzero): Likewise.
20528         (cos_test_downward): Likewise.
20529         (cos_test_upward): Likewise.
20530         (cosh_test): Likewise.
20531         (cosh_test_tonearest): Likewise.
20532         (cosh_test_towardzero): Likewise.
20533         (cosh_test_downward): Likewise.
20534         (cosh_test_upward): Likewise.
20535         (cpow_test): Likewise.
20536         (csin_test): Likewise.
20537         (csinh_test): Likewise.
20538         (csqrt_test): Likewise.
20539         (ctan_test): Likewise.
20540         (ctan_test_tonearest): Likewise.
20541         (ctan_test_towardzero): Likewise.
20542         (ctan_test_downward): Likewise.
20543         (ctan_test_upward): Likewise.
20544         (ctanh_test): Likewise.
20545         (ctanh_test_tonearest): Likewise.
20546         (ctanh_test_towardzero): Likewise.
20547         (ctanh_test_downward): Likewise.
20548         (ctanh_test_upward): Likewise.
20549         (erf_test): Likewise.
20550         (erfc_test): Likewise.
20551         (exp_test): Likewise.
20552         (exp_test_tonearest): Likewise.
20553         (exp_test_towardzero): Likewise.
20554         (exp_test_downward): Likewise.
20555         (exp_test_upward): Likewise.
20556         (exp10_test): Likewise.
20557         (exp2_test): Likewise.
20558         (expm1_test): Likewise.
20559         (fmod_test): Likewise.
20560         (gamma_test): Likewise.
20561         (hypot_test): Likewise.
20562         (j0_test): Likewise.
20563         (j1_test): Likewise.
20564         (jn_test): Likewise.
20565         (lgamma_test): Likewise.
20566         (log_test): Likewise.
20567         (log10_test): Likewise.
20568         (log1p_test): Likewise.
20569         (log2_test): Likewise.
20570         (logb_test_downward): Likewise.
20571         (pow_test): Likewise.
20572         (pow_test_tonearest): Likewise.
20573         (pow_test_towardzero): Likewise.
20574         (pow_test_downward): Likewise.
20575         (pow_test_upward): Likewise.
20576         (remainder_test): Likewise.
20577         (remquo_test): Likewise.
20578         (sin_test): Likewise.
20579         (sin_test_tonearest): Likewise.
20580         (sin_test_towardzero): Likewise.
20581         (sin_test_downward): Likewise.
20582         (sin_test_upward): Likewise.
20583         (sincos_test): Likewise.
20584         (sinh_test): Likewise.
20585         (sinh_test_tonearest): Likewise.
20586         (sinh_test_towardzero): Likewise.
20587         (sinh_test_downward): Likewise.
20588         (sinh_test_upward): Likewise.
20589         (sqrt_test): Likewise.
20590         (tan_test): Likewise.
20591         (tan_test_tonearest): Likewise.
20592         (tan_test_towardzero): Likewise.
20593         (tan_test_downward): Likewise.
20594         (tan_test_upward): Likewise.
20595         (tanh_test): Likewise.
20596         (tgamma_test): Likewise.
20597         (y0_test): Likewise.
20598         (y1_test): Likewise.
20599         (yn_test): Likewise.
20600
20601         * math/gen-libm-test.pl (adjust_arg): Remove function.
20602         (special_function): Remove argument $in_func.  Only handle
20603         generating output for tables of tests, not inside functions.
20604         (parse_args): Likewise.
20605         (generate_testfile): Remove variable $in_func.  Update call to
20606         parse_args.
20607         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20608         (MINUS_ZERO_INIT): Rename macro to minus_zero.
20609         (PLUS_INFTY_INIT): Rename macro to plus_infty.
20610         (MINUS_INFTY_INIT): Rename macro to minus_infty.
20611         (QNAN_VALUE_INIT): Rename macro to qnan_value.
20612         (MAX_VALUE_INIT): Rename macro to max_value.
20613         (MIN_VALUE_INIT): Rename macro to min_value.
20614         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20615         (plus_zero): Remove variable.
20616         (minus_zero): Likewise.
20617         (plus_infty): Likewise.
20618         (minus_infty): Likewise.
20619         (qnan_value): Likewise.
20620         (max_value): Likewise.
20621         (min_value): Likewise.
20622         (min_subnorm_value): Likewise.
20623
20624 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20625
20626         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20627         uint64_t or uint32_t usage.
20628         * crypt/sha256-block.c: Likewise.
20629         * crypt/sha256-crypt.c: Likewise.
20630         * crypt/sha256.c: Likewise.
20631         * crypt/sha512-block.c: Likewise.
20632         * crypt/sha512-crypt.c: Likewise.
20633         * crypt/sha512.c: Likewise.
20634         * debug/backtrace-tst.c: Likewise.
20635         * debug/pcprofiledump.c: Likewise.
20636         * elf/cache.c: Likewise.
20637         * elf/dl-cache.c: Likewise.
20638         * elf/dl-misc.c: Likewise.
20639         * elf/dl-profile.c: Likewise.
20640         * elf/dl-support.c: Likewise.
20641         * elf/ldconfig.c: Likewise.
20642         * elf/sprof.c: Likewise.
20643         * iconv/dummy-repertoire.c: Likewise.
20644         * iconv/iconv_charmap.c: Likewise.
20645         * iconv/skeleton.c: Likewise.
20646         * iconvdata/8bit-generic.c: Likewise.
20647         * iconvdata/cp737.h: Likewise.
20648         * iconvdata/cp775.h: Likewise.
20649         * iconvdata/ibm1008.h: Likewise.
20650         * iconvdata/ibm1025.h: Likewise.
20651         * iconvdata/ibm1046.h: Likewise.
20652         * iconvdata/ibm1097.h: Likewise.
20653         * iconvdata/ibm1112.h: Likewise.
20654         * iconvdata/ibm1122.h: Likewise.
20655         * iconvdata/ibm1123.h: Likewise.
20656         * iconvdata/ibm1124.h: Likewise.
20657         * iconvdata/ibm1129.h: Likewise.
20658         * iconvdata/ibm1130.h: Likewise.
20659         * iconvdata/ibm1132.h: Likewise.
20660         * iconvdata/ibm1133.h: Likewise.
20661         * iconvdata/ibm1137.h: Likewise.
20662         * iconvdata/ibm1140.h: Likewise.
20663         * iconvdata/ibm1141.h: Likewise.
20664         * iconvdata/ibm1142.h: Likewise.
20665         * iconvdata/ibm1143.h: Likewise.
20666         * iconvdata/ibm1144.h: Likewise.
20667         * iconvdata/ibm1145.h: Likewise.
20668         * iconvdata/ibm1146.h: Likewise.
20669         * iconvdata/ibm1147.h: Likewise.
20670         * iconvdata/ibm1148.h: Likewise.
20671         * iconvdata/ibm1149.h: Likewise.
20672         * iconvdata/ibm1153.h: Likewise.
20673         * iconvdata/ibm1154.h: Likewise.
20674         * iconvdata/ibm1155.h: Likewise.
20675         * iconvdata/ibm1156.h: Likewise.
20676         * iconvdata/ibm1157.h: Likewise.
20677         * iconvdata/ibm1158.h: Likewise.
20678         * iconvdata/ibm1160.h: Likewise.
20679         * iconvdata/ibm1161.h: Likewise.
20680         * iconvdata/ibm1162.h: Likewise.
20681         * iconvdata/ibm1163.h: Likewise.
20682         * iconvdata/ibm1164.h: Likewise.
20683         * iconvdata/ibm1166.h: Likewise.
20684         * iconvdata/ibm1167.h: Likewise.
20685         * iconvdata/ibm12712.h: Likewise.
20686         * iconvdata/ibm1390.h: Likewise.
20687         * iconvdata/ibm1399.h: Likewise.
20688         * iconvdata/ibm16804.h: Likewise.
20689         * iconvdata/ibm4517.h: Likewise.
20690         * iconvdata/ibm4899.h: Likewise.
20691         * iconvdata/ibm4909.h: Likewise.
20692         * iconvdata/ibm4971.h: Likewise.
20693         * iconvdata/ibm5347.h: Likewise.
20694         * iconvdata/ibm803.h: Likewise.
20695         * iconvdata/ibm856.h: Likewise.
20696         * iconvdata/ibm901.h: Likewise.
20697         * iconvdata/ibm902.h: Likewise.
20698         * iconvdata/ibm9030.h: Likewise.
20699         * iconvdata/ibm9066.h: Likewise.
20700         * iconvdata/ibm921.h: Likewise.
20701         * iconvdata/ibm922.h: Likewise.
20702         * iconvdata/ibm9448.h: Likewise.
20703         * iconvdata/isiri-3342.h: Likewise.
20704         * iconvdata/jis0201.h: Likewise.
20705         * include/link.h: Likewise.
20706         * include/netdb.h: Likewise.
20707         * inet/check_native.c: Likewise.
20708         * inet/check_pf.c: Likewise.
20709         * inet/getipv4sourcefilter.c: Likewise.
20710         * inet/getnameinfo.c: Likewise.
20711         * inet/getsourcefilter.c: Likewise.
20712         * inet/htonl.c: Likewise.
20713         * inet/setipv4sourcefilter.c: Likewise.
20714         * inet/setsourcefilter.c: Likewise.
20715         * inet/test-inet6_opt.c: Likewise.
20716         * inet/tst-network.c: Likewise.
20717         * locale/C-collate.c: Likewise.
20718         * locale/C-ctype.c: Likewise.
20719         * locale/C-time.c: Likewise.
20720         * locale/C-translit.h: Likewise.
20721         * locale/loadarchive.c: Likewise.
20722         * locale/programs/3level.h: Likewise.
20723         * locale/programs/charmap.c: Likewise.
20724         * locale/programs/charmap.h: Likewise.
20725         * locale/programs/ld-address.c: Likewise.
20726         * locale/programs/ld-collate.c: Likewise.
20727         * locale/programs/ld-ctype.c: Likewise.
20728         * locale/programs/ld-identification.c: Likewise.
20729         * locale/programs/ld-measurement.c: Likewise.
20730         * locale/programs/ld-messages.c: Likewise.
20731         * locale/programs/ld-monetary.c: Likewise.
20732         * locale/programs/ld-name.c: Likewise.
20733         * locale/programs/ld-numeric.c: Likewise.
20734         * locale/programs/ld-paper.c: Likewise.
20735         * locale/programs/ld-telephone.c: Likewise.
20736         * locale/programs/ld-time.c: Likewise.
20737         * locale/programs/linereader.c: Likewise.
20738         * locale/programs/locale.c: Likewise.
20739         * locale/programs/locarchive.c: Likewise.
20740         * locale/programs/locfile.h: Likewise.
20741         * locale/programs/repertoire.c: Likewise.
20742         * locale/programs/simple-hash.c: Likewise.
20743         * locale/programs/simple-hash.h: Likewise.
20744         * malloc/memusage.c: Likewise.
20745         * malloc/memusagestat.c: Likewise.
20746         * nis/nis_defaults.c: Likewise.
20747         * nis/nis_hash.c: Likewise.
20748         * nis/nis_print.c: Likewise.
20749         * nis/nis_xdr.c: Likewise.
20750         * nscd/connections.c: Likewise.
20751         * nscd/hstcache.c: Likewise.
20752         * nscd/nscd_gethst_r.c: Likewise.
20753         * nscd/nscd_getserv_r.c: Likewise.
20754         * nscd/nscd_helper.c: Likewise.
20755         * nscd/servicescache.c: Likewise.
20756         * nss/makedb.c: Likewise.
20757         * nss/nss_db/db-XXX.c: Likewise.
20758         * nss/nss_db/db-initgroups.c: Likewise.
20759         * nss/nss_db/db-netgrp.c: Likewise.
20760         * nss/nss_files/files-network.c: Likewise.
20761         * nss/nss_files/files-parse.c: Likewise.
20762         * posix/bug-regex5.c: Likewise.
20763         * posix/fnmatch_loop.c: Likewise.
20764         * posix/regcomp.c: Likewise.
20765         * posix/regexec.c: Likewise.
20766         * posix/tst-rfc3484-2.c: Likewise.
20767         * posix/tst-rfc3484-3.c: Likewise.
20768         * posix/tst-rfc3484.c: Likewise.
20769         * resolv/nss_dns/dns-canon.c: Likewise.
20770         * resolv/nss_dns/dns-network.c: Likewise.
20771         * resolv/res_init.c: Likewise.
20772         * resolv/res_mkquery.c: Likewise.
20773         * resolv/tst-aton.c: Likewise.
20774         * stdlib/cxa_atexit.c: Likewise.
20775         * stdlib/cxa_finalize.c: Likewise.
20776         * stdlib/gen-fpioconst.c: Likewise.
20777         * stdlib/strtol_l.c: Likewise.
20778         * string/tst-endian.c: Likewise.
20779         * sunrpc/auth_des.c: Likewise.
20780         * sunrpc/clnt_udp.c: Likewise.
20781         * sunrpc/rtime.c: Likewise.
20782         * sunrpc/svcauth_des.c: Likewise.
20783         * sunrpc/xdr.c: Likewise.
20784         * sunrpc/xdr_intXX_t.c: Likewise.
20785         * sunrpc/xdr_rec.c: Likewise.
20786         * sysdeps/generic/ldconfig.h: Likewise.
20787         * sysdeps/generic/ldsodefs.h: Likewise.
20788         * sysdeps/generic/memusage.h: Likewise.
20789         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20790         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20791         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20792         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20793         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20794         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20795         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20796         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20797         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20798         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20799         * sysdeps/posix/getaddrinfo.c: Likewise.
20800         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20801         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20802         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20803         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20804         * sysdeps/powerpc/test-gettimebase.c: Likewise.
20805         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20806         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20807         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20808         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20809         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20810         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20811         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20812         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20813         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20814         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20815         * sysdeps/x86_64/dl-tls.h: Likewise.
20816         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20817         * time/alt_digit.c: Likewise.
20818         * time/era.c: Likewise.
20819         * wcsmbs/tst-c16c32-1.c: Likewise.
20820
20821 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20822
20823         * math/libm-test.inc (struct test_sincos_data): New type.
20824         (RUN_TEST_LOOP_sincos): New macro.
20825         (sincos_test_data): New variable.
20826         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20827
20828 2013-05-16  Richard Henderson  <rth@redhat.com>
20829
20830         * math/atest-exp2.c (LIMB64): New macro.
20831         (CONSTSZ): New macro.
20832         (mp_exp1, mp_exp_m1, mp_log2): New variables.
20833         (hexdig): Move ...
20834         (print_mpn_fp): ... to function scope.
20835         (read_mpn_hex): Remove.
20836         (get_log2): Remove.
20837         (exp2_mpn): Use mp_log2.
20838         (main): Use mp_exp1.
20839
20840 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20841
20842         * math/libm-test.inc: Remove comment about not testing "inexact"
20843         exceptions.
20844         (INEXACT_EXCEPTION): New macro.
20845         (NO_INEXACT_EXCEPTION): Likewise.
20846         (INVALID_EXCEPTION_OK): Update value.
20847         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20848         (OVERFLOW_EXCEPTION_OK): Likewise.
20849         (UNDERFLOW_EXCEPTION_OK): Likewise.
20850         (IGNORE_ZERO_INF_SIGN): Likewise.
20851         (ERRNO_UNCHANGED): Likewise.
20852         (ERRNO_EDOM): Likewise.
20853         (ERRNO_ERANGE): Likewise.
20854         (test_exceptions): Handle testing "inexact" exceptions.
20855         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20856         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20857         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20858         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20859         INEXACT_EXCEPTION.
20860         (rint_towardzero_test_data): Likewise.
20861         (rint_downward_test_data): Likewise.
20862         (rint_upward_test_data): Likewise.
20863
20864         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20865         with OVERFLOW_EXCEPTION.
20866         (exp10_test_data): Likewise.
20867         (exp2_test_data): Likewise.
20868         (expm1_test_data): Likewise.
20869         (lgamma_test_data): Likewise.
20870         (pow_test_data): Likewise.
20871         (tgamma_test_data): Likewise.
20872         (yn_test_data): Remove duplicate test of overflow.
20873
20874         * math/libm-test.inc (struct test_cc_c_data): New type.
20875         (RUN_TEST_LOOP_cc_c): New macro.
20876         (cpow_test_data): New variable.
20877         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20878
20879         * math/libm-test.inc (struct test_f_L_data): New type.
20880         (RUN_TEST_LOOP_f_L): New macro.
20881         (llrint_test_data): New variable.
20882         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20883         (llrint_tonearest_test_data): New variable.
20884         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20885         (llrint_towardzero_test_data): New variable.
20886         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20887         (llrint_downward_test_data): New variable.
20888         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20889         (llrint_upward_test_data): New variable.
20890         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20891         (llround_test_data): New variable.
20892         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20893
20894 2013-05-13  Peter Collingbourne  <pcc@google.com>
20895
20896         * math/atest-exp2.c (get_log2): Remove const attribute.
20897
20898 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20899
20900         * math/libm-test.inc (struct test_f_l_data): New type.
20901         (RUN_TEST_LOOP_f_l): New macro.
20902         (lrint_test_data): New variable.
20903         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20904         (lrint_tonearest_test_data): New variable.
20905         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20906         (lrint_towardzero_test_data): New variable.
20907         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20908         (lrint_downward_test_data): New variable.
20909         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20910         (lrint_upward_test_data): New variable.
20911         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20912         (lround_test_data): New variable.
20913         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20914
20915 2013-05-15  Peter Collingbourne  <pcc@google.com>
20916
20917         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20918         (EXTRACT_WORDS64) Use where appropriate.
20919         (INSERT_WORDS64) Likewise.
20920
20921         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20922         constraints with x constraints.
20923         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20924
20925         * malloc/obstack.c (_obstack_compat): Add initializer.
20926
20927 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20928
20929         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20930         si_trapno and add si_addr_lsb to _sifields.sigfault.
20931         (si_trapno): Remove macro.
20932         (si_addr_lsb): Define new macro.
20933         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20934
20935 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20936
20937         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20938         instead of TEST_f_l.
20939         (llrint_test_tonearest): Likewise.
20940         (llrint_test_towardzero): Likewise.
20941         (llrint_test_downward): Likewise.
20942         (llrint_test_upward): Likewise.
20943         (llround_test): Likewise.
20944
20945         * math/libm-test.inc (struct test_f_i_data): Add comment.
20946         (RUN_TEST_LOOP_f_b): New macro.
20947         (RUN_TEST_LOOP_f_b_tg): Likewise.
20948         (finite_test_data): New variable.
20949         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20950         (isfinite_test_data): New variable.
20951         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20952         (isinf_test_data): New variable.
20953         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20954         (isnan_test_data): New variable.
20955         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20956         (isnormal_test_data): New variable.
20957         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20958         (issignaling_test_data): New variable.
20959         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20960         (signbit_test_data): New variable.
20961         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20962
20963         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20964         with INVALID_EXCEPTION.
20965         (acosh_test_data): Likewise.
20966         (asin_test_data): Likewise.
20967         (atanh_test_data): Likewise.
20968         (fmod_test_data): Likewise.
20969         (log_test_data): Likewise.
20970         (log10_test_data): Likewise.
20971         (log2_test_data): Likewise.
20972         (pow_test_data): Likewise.
20973         (sqrt_test_data): Likewise.
20974         (y0_test_data): Likewise.
20975         (y1_test_data): Likewise.
20976         (yn_test_data): Likewise.
20977
20978         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20979         function contents.
20980
20981         * math/libm-test.inc (struct test_ff_i_data): New type.
20982         (RUN_TEST_LOOP_ff_i_tg): New macro.
20983         (isgreater_test_data): New variable.
20984         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20985         (isgreaterequal_test_data): New variable.
20986         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20987         (isless_test_data): New variable.
20988         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20989         (islessequal_test_data): New variable.
20990         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20991         (islessgreater_test_data): New variable.
20992         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20993         (isunordered_test_data): New variable.
20994         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20995
20996 2013-05-14  David S. Miller  <davem@davemloft.net>
20997
20998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20999
21000 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
21001
21002         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21003
21004         * math/libm-test.inc (struct test_fF_f1_data): Change type of
21005         extra_test to int.
21006         (struct test_f_i_data): Change type of max_ulp to int.
21007
21008         * math/libm-test.inc (test_ffI_f1_data): New type.
21009         (RUN_TEST_LOOP_ffI_f1): New macro.
21010         (remquo_test_data): New variable.
21011         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21012
21013         * setjmp/tst-setjmp-fp.c: New file.
21014         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21015         (link-libm): New variable.
21016         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21017
21018         * math/libm-test.inc (struct test_f_i_data): New type.
21019         (RUN_TEST_LOOP_f_i): New macro.
21020         (RUN_TEST_LOOP_f_i_tg): Likewise.
21021         (fpclassify_test_data): New variable.
21022         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21023         (ilogb_test_data): New variable.
21024         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21025
21026         * math/libm-test.inc (scalbln_test): Correct function name in END
21027         call.
21028
21029         * math/libm-test.inc (struct test_f_f1_data): Add comment.
21030         (RUN_TEST_LOOP_fI_f1): New macro.
21031         (frexp_test_data): New variable.
21032         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21033
21034         * math/libm-test.inc (struct test_fF_f1_data): New type.
21035         (RUN_TEST_LOOP_fF_f1): New macro.
21036         (modf_test_data): New variable.
21037         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21038
21039         * math/libm-test.inc (struct test_f_f1_data): New type.
21040         (RUN_TEST_LOOP_f_f1): New macro.
21041         (gamma_test_data): New variable.
21042         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21043         (lgamma_test_data): New variable.
21044         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21045
21046 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21047
21048         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21049         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21050         (main): Comment "tls" pseudo-hwcap.
21051
21052 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
21053
21054         * math/libm-test.inc (struct test_fl_f_data): New type.
21055         (RUN_TEST_LOOP_fl_f): New variable.
21056         (scalbln_test_data): New variable.
21057         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21058
21059         * math/libm-test.inc (struct test_fi_f_data): New type.
21060         (RUN_TEST_LOOP_fi_f): New macro.
21061         (ldexp_test_data): New variable.
21062         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21063         (scalbn_test_data): New variable.
21064         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21065
21066         * math/libm-test.inc (struct test_c_f_data): New type.
21067         (RUN_TEST_LOOP_c_f): New macro.
21068         (cabs_test_data): New variable.
21069         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21070         (carg_test_data): New variable.
21071         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21072         (cimag_test_data): New variable.
21073         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21074         (creal_test_data): New variable.
21075         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21076
21077         * math/libm-test.inc (struct test_if_f_data): New type.
21078         (RUN_TEST_LOOP_if_f): New macro.
21079         (jn_test_data): New variable.
21080         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21081         (yn_test_data): New variable.
21082         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21083
21084         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21085
21086 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21087
21088         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21089         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21090
21091 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21092
21093         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21094         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21095         (bench-deps): Add bench-timing.h.
21096         * benchtests-bench-skeleton.c: Include bench-timing.h.
21097         (main): Use TIMING_* macros instead of clock_gettime.
21098         * benchtests/bench-timing.h: New file.
21099
21100         [BZ #14582]
21101         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21102         Renamed from _LIB_VERSION.
21103         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21104
21105 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21106
21107         * math/libm-test.inc (struct test_fff_f_data): New type.
21108         (RUN_TEST_LOOP_fff_f): New macro.
21109         (fma_test_data): New variable.
21110         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21111         (fma_towardzero_test_data): New variable.
21112         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21113         (fma_downward_test_data): New variable.
21114         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21115         (fma_upward_test_data): New variable.
21116         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21117
21118         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21119         (struct test_c_c_data): New type.
21120         (RUN_TEST_LOOP_c_c): New macro.
21121         (cacos_test_data): New variable.
21122         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21123         (cacosh_test_data): New variable.
21124         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21125         (casin_test_data): New variable.
21126         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21127         (casinh_test_data): New variable.
21128         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21129         (catan_test_data): New variable.
21130         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21131         (catanh_test_data): New variable.
21132         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21133         (ccos_test_data): New variable.
21134         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21135         (ccosh_test_data): New variable.
21136         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21137         (cexp_test_data): New variable.
21138         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21139         (clog_test_data): New variable.
21140         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21141         (clog10_test_data): New variable.
21142         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21143         (conj_test_data): New variable.
21144         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21145         (cproj_test_data): New variable.
21146         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21147         (csin_test_data): New variable.
21148         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21149         (csinh_test_data): New variable.
21150         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21151         (csqrt_test_data): New variable.
21152         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21153         (ctan_test_data): New variable.
21154         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21155         (ctan_tonearest_test_data): New variable.
21156         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21157         (ctan_towardzero_test_data): New variable.
21158         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21159         (ctan_downward_test_data): New variable.
21160         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21161         (ctan_upward_test_data): New variable.
21162         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21163         (ctanh_test_data): New variable.
21164         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21165         (ctanh_tonearest_test_data): New variable.
21166         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21167         (ctanh_towardzero_test_data): New variable.
21168         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21169         (ctanh_downward_test_data): New variable.
21170         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21171         (ctanh_upward_test_data): New variable.
21172         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21173         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21174         of BUILD_COMPLEX.
21175
21176         * math/libm-test.inc (struct test_ff_f_data): New type.
21177         (struct test_ff_f_data_nexttoward): Likewise.
21178         (RUN_TEST_LOOP_2_f): New macro.
21179         (RUN_TEST_LOOP_ff_f): Likewise.
21180         (atan2_test_data): New variable.
21181         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21182         (copysign_test_data): New variable.
21183         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21184         (fdim_test_data): New variable.
21185         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21186         (fmax_test_data): New variable.
21187         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21188         (fmin_test_data): New variable.
21189         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21190         (fmod_test_data): New variable.
21191         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21192         (hypot_test_data): New variable.
21193         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21194         (nextafter_test_data): New variable.
21195         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21196         (nexttoward_test_data): New variable.
21197         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21198         (pow_test_data): New variable.
21199         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21200         (pow_tonearest_test_data): New variable.
21201         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21202         (pow_towardzero_test_data): New variable.
21203         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21204         (pow_downward_test_data): New variable.
21205         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21206         (pow_upward_test_data): New variable.
21207         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21208         (remainder_test_data): New variable.
21209         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21210         (scalb_test_data): New variable.
21211         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21212         * sysdeps/i386/fpu/libm-test-ulps: Update.
21213
21214 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21215
21216         * math/libm-test.inc (fma_test): Use max_value instead of local
21217         variable fltmax.
21218         (nextafter_test): Likewise.
21219
21220         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21221         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21222         (acos_downward_test_data): New variable.
21223         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21224         (acos_upward_test_data): New variable.
21225         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21226         (acosh_test_data): New variable.
21227         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21228         (asin_test_data): New variable.
21229         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21230         (asin_tonearest_test_data): New variable.
21231         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21232         (asin_towardzero_test_data): New variable.
21233         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21234         (asin_downward_test_data): New variable.
21235         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21236         (asin_upward_test_data): New variable.
21237         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21238         (asinh_test_data): New variable.
21239         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21240         (atan_test_data): New variable.
21241         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21242         (atanh_test_data): New variable.
21243         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21244         (cbrt_test_data): New variable.
21245         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21246         (ceil_test_data): New variable.
21247         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21248         (cos_test_data): New variable.
21249         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21250         (cos_tonearest_test_data): New variable.
21251         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21252         (cos_towardzero_test_data): New variable.
21253         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21254         (cos_downward_test_data): New variable.
21255         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21256         (cos_upward_test_data): New variable.
21257         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21258         (cosh_test_data): New variable.
21259         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21260         (cosh_tonearest_test_data): New variable.
21261         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21262         (cosh_towardzero_test_data): New variable.
21263         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21264         (cosh_downward_test_data): New variable.
21265         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21266         (cosh_upward_test_data): New variable.
21267         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21268         (erf_test_data): New variable.
21269         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21270         (erfc_test_data): New variable.
21271         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21272         (exp_test_data): New variable.
21273         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21274         (exp_tonearest_test_data): New variable.
21275         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21276         (exp_towardzero_test_data): New variable.
21277         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21278         (exp_downward_test_data): New variable.
21279         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21280         (exp_upward_test_data): New variable.
21281         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21282         (exp10_test_data): New variable.
21283         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21284         (exp2_test_data): New variable.
21285         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21286         (expm1_test_data): New variable.
21287         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21288         (fabs_test_data): New variable.
21289         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21290         (floor_test_data): New variable.
21291         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21292         (j0_test_data): New variable.
21293         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21294         (j1_test_data): New variable.
21295         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21296         (log_test_data): New variable.
21297         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21298         (log10_test_data): New variable.
21299         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21300         (log1p_test_data): New variable.
21301         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21302         (log2_test_data): New variable.
21303         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21304         (logb_test_data): New variable.
21305         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21306         (logb_downward_test_data): New variable.
21307         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21308         (nearbyint_test_data): New variable.
21309         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21310         (rint_test_data): New variable.
21311         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21312         (rint_tonearest_test_data): New variable.
21313         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21314         (rint_towardzero_test_data): New variable.
21315         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21316         (rint_downward_test_data): New variable.
21317         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21318         (rint_upward_test_data): New variable.
21319         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21320         (round_test_data): New variable.
21321         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21322         (sin_test_data): New variable.
21323         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21324         (sin_tonearest_test_data): New variable.
21325         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21326         (sin_towardzero_test_data): New variable.
21327         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21328         (sin_downward_test_data): New variable.
21329         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21330         (sin_upward_test_data): New variable.
21331         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21332         (sinh_test_data): New variable.
21333         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21334         (sinh_tonearest_test_data): New variable.
21335         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21336         (sinh_towardzero_test_data): New variable.
21337         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21338         (sinh_downward_test_data): New variable.
21339         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21340         (sinh_upward_test_data): New variable.
21341         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21342         (sqrt_test_data): New variable.
21343         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21344         (tan_test_data): New variable.
21345         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21346         (tan_tonearest_test_data): New variable.
21347         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21348         (tan_towardzero_test_data): New variable.
21349         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21350         (tan_downward_test_data): New variable.
21351         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21352         (tan_upward_test_data): New variable.
21353         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21354         (tanh_test_data): New variable.
21355         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21356         (tgamma_test_data): New variable.
21357         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21358         (trunc_test_data): New variable.
21359         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21360         (y0_test_data): New variable.
21361         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21362         (y1_test_data): New variable.
21363         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21364         (significand_test_data): New variable.
21365         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21366
21367 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21368
21369         [BZ #12387]
21370         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21371
21372 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21373
21374         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21375
21376 2013-05-10  Andreas Jaeger  <aj@suse.de>
21377
21378         [BZ #15448]
21379         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21380         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21381
21382 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21383
21384         * math/gen-libm-test.pl (adjust_arg): New function.
21385         (special_functions): Handle generating output in both functions
21386         and arrays.
21387         (parse_args): Likewise.
21388         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21389         $in_func argument to parse_args.
21390         * math/libm-test.inc (struct test_f_f_data): New type.
21391         (IF_ROUND_INIT_): New macro.
21392         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21393         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21394         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21395         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21396         (ROUND_RESTORE_): Likewise.
21397         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21398         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21399         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21400         (ROUND_RESTORE_FE_UPWARD): Likewise.
21401         (RUN_TEST_LOOP_f_f): New macro.
21402         (acos_test_data): New variable.
21403         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21404         (acos_tonearest_test_data): New variable.
21405         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21406
21407 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21408
21409         * benchtests/bench-skeleton.c (startup): Fix coding style.
21410
21411 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21412
21413         [BZ #6809]
21414         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21415         negative infinity argument.
21416         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21417         negative infinity argument.
21418         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21419         negative infinity argument.
21420         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21421         domain errors.
21422
21423 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21424
21425         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21426         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21427         * iconv/iconv_prog.c (main): Likewise.
21428         * locale/programs/charmap-dir.c (charmap_readdir)
21429         (fopen_uncompressed): Likewise.
21430         * locale/programs/locfile.c (siblings_uncached)
21431         (write_locale_data): Use lstat64 instead of lstat.
21432         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21433         stat.
21434
21435 2013-05-10  Andreas Jaeger  <aj@suse.de>
21436
21437         [BZ #15395]
21438         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21439         localization.
21440         Include <locale.h>.
21441
21442 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21443
21444         * elf/dl-close.c (_dl_close_worker): Add comments.
21445
21446 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21447
21448         [BZ #15359]
21449         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21450         high part of pi/2.
21451         (__ieee754_rem_pio2l): Update comments.
21452
21453         [BZ #15429]
21454         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21455         high part of pi/2.
21456         (__ieee754_rem_pio2l): Update comments.
21457
21458         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21459         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21460
21461         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21462         M_PI_4l.
21463
21464         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21465         (M_PI_34_LOG10El): Likewise.
21466         (M_PI2_LOG10El): Likewise.
21467         (M_PI4_LOG10El): Likewise.
21468         (M_PI_LOG10El): Likewise.
21469
21470 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21471
21472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21473
21474 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21475
21476         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21477         (MINUS_ZERO_INIT): Likewise.
21478         (PLUS_INFTY_INIT): Likewise.
21479         (MINUS_INFTY_INIT): Likewise.
21480         (QNAN_VALUE_INIT): Likewise.
21481         (MAX_VALUE_INIT): Likewise.
21482         (MIN_VALUE_INIT): Likewise.
21483         (MIN_SUBNORM_VALUE_INIT): Likewise.
21484         (plus_zero): Initialize with PLUS_ZERO_INIT.
21485         (minus_zero): Initialize with MINUS_ZERO_INIT.
21486         (plus_infty): Initialize with PLUS_INFTY_INIT.
21487         (minus_infty): Initialize with MINUS_INFTY_INIT.
21488         (qnan_value): Initialize with QNAN_VALUE_INIT.
21489         (max_value): Initialize with MAX_VALUE_INIT.
21490         (min_value): Initialize with MIN_VALUE_INIT.
21491         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21492
21493         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21494         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21495         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21496         (yn_test): Use TEST_if_f instead of TEST_ff_f.
21497
21498         * math/libm-test.inc (RUN_TEST_f_f): New macro.
21499         (RUN_TEST_2_f): Likewise.
21500         (RUN_TEST_ff_f): Likewise.
21501         (RUN_TEST_fi_f): Likewise.
21502         (RUN_TEST_fl_f): Likewise.
21503         (RUN_TEST_fff_f): Likewise.
21504         (RUN_TEST_c_f): Likewise.
21505         (RUN_TEST_f_f1): Likewise.
21506         (RUN_TEST_fF_f1): Likewise.
21507         (RUN_TEST_fI_f1): Likewise.
21508         (RUN_TEST_ffI_f1): Likewise.
21509         (RUN_TEST_c_c): Likewise.
21510         (RUN_TEST_cc_c): Likewise.
21511         (RUN_TEST_f_i): Likewise.
21512         (RUN_TEST_f_i_tg): Likewise.
21513         (RUN_TEST_ff_i_tg): Likewise.
21514         (RUN_TEST_f_b): Likewise.
21515         (RUN_TEST_f_b_tg): Likewise.
21516         (RUN_TEST_f_l): Likewise.
21517         (RUN_TEST_f_L): Likewise.
21518         (RUN_TEST_sincos): Likewise.
21519         * math/gen-libm-test.pl (new_test): Take new argument to indicate
21520         whether to show exceptions.  Do not include ");\n" in return
21521         value.
21522         (special_functions): Output call to RUN_TEST_sincos instead of
21523         check_float calls.  Update calls to new_test.
21524         (parse_args): Output call to single RUN_TEST_* macro instead of
21525         check_* calls and other assignments.  Update calls to new_test.
21526
21527         [BZ #2546]
21528         [BZ #2560]
21529         [BZ #5159]
21530         [BZ #15426]
21531         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21532         input to result for tgamma overflow.
21533         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21534         (gamma_coeff): New variable.
21535         (NCOEFF): New macro.
21536         (gamma_positive): New function.
21537         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21538         underflow here.  Use gamma_positive instead of exp (lgamma) for
21539         other arguments.
21540         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21541         (gamma_coeff): New variable.
21542         (NCOEFF): New macro.
21543         (gammaf_positive): New function.
21544         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21545         underflow here.  Use gamma_positive instead of exp (lgamma) for
21546         other arguments.
21547         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21548         (gamma_coeff): New variable.
21549         (NCOEFF): New macro.
21550         (gammal_positive): New function.
21551         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21552         underflow here.  Use gamma_positive instead of exp (lgamma) for
21553         other arguments.
21554         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21555         (gamma_coeff): New variable.
21556         (NCOEFF): New macro.
21557         (gammal_positive): New function.
21558         (__ieee754_gammal_r): Handle positive infinity, overflow and
21559         underflow here.  Handle NaN the same as positive infinity.  Remove
21560         check x < 0xffffffff for negative integers.  Use gamma_positive
21561         instead of exp (lgamma) for other arguments.
21562         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21563         (gamma_coeff): New variable.
21564         (NCOEFF): New macro.
21565         (gammal_positive): New function.
21566         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21567         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21568         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21569         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21570         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21571         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21572         * sysdeps/generic/math_private.h (__gamma_productf): New
21573         prototype.
21574         (__gamma_product): Likewise.
21575         (__gamma_productl): Likewise.
21576         * math/Makefile (libm-calls): Add gamma_product.
21577         * math/libm-test.inc (tgamma_test): Add more tests.
21578         * sysdeps/i386/fpu/libm-test-ulps: Update.
21579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21580
21581 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
21582
21583         * benchtests/bench-skeleton.c (main): Preheat CPU.
21584
21585 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
21586
21587         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21588
21589 2013-05-07  Roland McGrath  <roland@hack.frob.com>
21590
21591         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21592         and _dl_skip_args_internal.
21593
21594 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
21595
21596         * manual/message.texi (Message Translation): Talk about users.
21597         Message to key mapping impacts design.
21598
21599 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21600
21601         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21602
21603         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21604
21605         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21606         * sysdeps/wordsize-64/glob64.c: ... here.
21607
21608         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21609         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21610         New macros.
21611
21612         * debug/getlogin_r_chk.c: Moved to ...
21613         * login/getlogin_r_chk.c: ... here.
21614         * debug/Makefile (routines): Move getlogin_r_chk to ...
21615         * login/Makefile (routines): ... here.
21616         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21617         * login/Versions (libc: GLIBC_2.4): ... here.
21618
21619         * io/poll.c (__poll): Renamed from poll.
21620         Add libc_hidden_def.
21621         (poll): Define as weak alias.
21622
21623         * debug/ptsname_r_chk.c: Moved to ...
21624         * login/ptsname_r_chk.c: ... here.
21625         * debug/Makefile (routines): Move ptsname_r_chk to ...
21626         * login/Makefile (routines): ... here.
21627         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21628         * login/Versions (libc: GLIBC_2.4): ... here.
21629
21630         * posix/getlogin.c: Moved to ...
21631         * login/getlogin.c: ... here.
21632         * posix/getlogin_r.c: Moved to ...
21633         * login/getlogin_r.c: ... here.
21634         * posix/getlogin_r.c: Moved to ...
21635         * login/getlogin_r.c: ... here.
21636         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21637         * login/Makefile (routines): ... here.
21638         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21639         * login/Versions (libc: GLIBC_2.0): ... here.
21640
21641         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21642         (setrlimit): Define as weak alias.
21643
21644         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21645         Call __ names for open, ftruncate, and close.
21646         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21647         (truncate): Define as weak alias.
21648
21649 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
21650
21651         * math/gen-libm-test.pl (parse_args): Initialize x before each
21652         test of frexp, modf and remquo.
21653
21654         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21655         test signgam value.
21656
21657 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21658
21659         [BZ #15418]
21660         [BZ #15419]
21661         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21662         internal tests.
21663         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21664
21665 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21666
21667         * elf/dl-writev.h: New file.
21668         * elf/dl-misc.c: Include it.
21669         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21670         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21671
21672 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
21673
21674         * math/libm-test.inc (noXFails): Remove variable.
21675         (noXPasses): Likewise.
21676         (BUILD_COMPLEX_INT): Remove macro.
21677         (print_screen): Remove xfail argument.
21678         (print_screen_max_error): Likewise.
21679         (update_stats): Likewise.
21680         (print_max_error): Likewise.  Update calls to other affected
21681         functions.
21682         (print_complex_max_error): Likewise.
21683         (test_single_exception): Update calls to print_screen.
21684         (test_single_errno): Likewise.
21685         (check_float_internal): Remove xfail argument.  Update calls to
21686         other affected functions.
21687         (check_float): Likewise.
21688         (check_complex): Likewise.
21689         (check_int): Likewise.
21690         (check_long): Likewise.
21691         (check_bool): Likewise.
21692         (check_longlong): Likewise.
21693         (main): Don't print noXFails and noXPasses.
21694         * math/gen-libm-test.pl (top level): Don't mention expected
21695         failure handling in comment.
21696         (new_test): Don't handle expected failures.
21697         (parse_args): Don't mention expected failure handling in comment.
21698         (generate_testfile): Don't handle expected failures.
21699         (parse_ulps): Likewise.
21700         (print_ulps_file): Likewise.
21701         (get_failure): Remove function.
21702         (output_test): Don't handle expected failures.
21703         * make/README.libm-test: Don't mention expected failure handling.
21704
21705         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
21706         (minus_zero): Likewise.
21707         (plus_infty): Likewise.
21708         (minus_infty): Likewise.
21709         (qnan_value): Likewise.
21710         (max_value): Likewise.
21711         (min_value): Likewise.
21712         (min_subnorm_value): Likewise.
21713         (initialize): Do not initialize those variables dynamically.
21714
21715 2013-05-03  Roland McGrath  <roland@hack.frob.com>
21716
21717         * io/open.c (__open_2): Moved to ...
21718         * io/open_2.c: ... this new file.
21719         * io/open64.c (__open64_2): Moved to ...
21720         * io/open64_2.c: ... this new file.
21721         * io/openat.c (__openat_2): Moved to ...
21722         * io/openat_2.c: ... this new file.
21723         * io/openat64.c (__openat64_2): Moved to ...
21724         * io/openat64_2.c: ... this new file.
21725         * io/Makefile (routines): Add them.
21726         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21727         * sysdeps/unix/sysv/linux/open_2.c: File removed.
21728         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21729         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21730         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21731         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21732         (__openat64): Add hidden_ver.
21733         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21734         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21735
21736         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21737         Separately conditionalize setting of GLRO(dl_sysinfo) so
21738         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21739         as well, but the actual setting is only under [NEED_DL_SYSINFO].
21740
21741 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21742
21743         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21744         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21745         definition.
21746         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21747         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21748         (_libc_vdso_platform_setup): Add __vdso_time initialization.
21749         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21750         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21751
21752 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
21753
21754         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21755         test signgam value.
21756
21757         * math/libm-test.inc (hypot_test): Do not use
21758         IGNORE_ZERO_INF_SIGN.
21759
21760 2013-05-03  Andreas Jaeger  <aj@suse.de>
21761
21762         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21763         Linux 3.9.
21764         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21765         (PF_MAX): Adjust for VSOCK change.
21766
21767 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21768
21769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21770
21771 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
21772
21773         [BZ #15264]
21774         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21775         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21776         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21777
21778 2013-05-02  David S. Miller  <davem@davemloft.net>
21779
21780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21781
21782 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
21783
21784         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21785
21786 2013-05-01  Roland McGrath  <roland@hack.frob.com>
21787
21788         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21789
21790 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
21791
21792         [BZ #14952]
21793         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21794         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21795         Use __attribute__ ((__gnu_inline__)).
21796         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21797         Don't use __attribute__ ((__gnu_inline__)).
21798
21799 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
21800
21801         [BZ #15423]
21802         * math/s_catan.c (__catan): Handle small real or imaginary part of
21803         input specially to avoid spurious underflow.
21804         * math/s_catanf.c (__catanf): Likewise.
21805         * math/s_catanh.c (__catanh): Likewise.
21806         * math/s_catanhf.c (__catanhf): Likewise.
21807         * math/s_catanhl.c (__catanhl): Likewise.
21808         * math/s_catanl.c (__catanl): Likewise.
21809         * math/libm-test.inc (catan_test): Add more tests.
21810         (catanh_test): Likewise.
21811         * sysdeps/i386/fpu/libm-test-ulps: Update.
21812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21813
21814 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21815
21816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21817
21818 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
21819
21820         [BZ #15416]
21821         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21822         accurately for denominator in atan2.
21823         * math/s_catanf.c (__catanf): Likewise.
21824         * math/s_catanh.c (__catanh): Likewise.
21825         * math/s_catanhf.c (__catanhf): Likewise.
21826         * math/s_catanhl.c (__catanhl): Likewise.
21827         * math/s_catanl.c (__catanl): Likewise.
21828         * math/libm-test.inc (catan_test): Add more tests.
21829         (catanh_test): Likewise.
21830         * sysdeps/i386/fpu/libm-test-ulps: Update.
21831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21832
21833 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21834
21835         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21836
21837         * benchtests/Makefile (bench): Remove slow benchmarks.
21838         * benchtests/atan-inputs: Add slow benchmark inputs.
21839         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21840         (BENCH_FUNC): Accept variant offset.
21841         (VARIANT): Define.
21842         * benchtests/bench-skeleton.c (main): Run benchmark for each
21843         variant.
21844         * benchtests/cos-inputs: Add slow benchmark inputs.
21845         * benchtests/exp-inputs: Likewise.
21846         * benchtests/pow-inputs: Likewise.
21847         * benchtests/sin-inputs: Likewise.
21848         * benchtests/slowatan-inputs: Remove.
21849         * benchtests/slowatan.c: Remove.
21850         * benchtests/slowcos-inputs: Remove.
21851         * benchtests/slowcos.c: Remove.
21852         * benchtests/slowexp-inputs: Remove.
21853         * benchtests/slowexp.c: Remove.
21854         * benchtests/slowpow-inputs: Remove.
21855         * benchtests/slowpow.c: Remove.
21856         * benchtests/slowsin-inputs: Remove.
21857         * benchtests/slowsin.c: Remove.
21858         * benchtests/slowtan-inputs: Remove.
21859         * benchtests/slowtan.c: Remove.
21860         * benchtests/tan-inputs: Add slow benchmark inputs.
21861         * scripts/bench.pl: Parse comments and directives.
21862
21863         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
21864         in CPPFLAGS.
21865         ($(objpfx)bench-%.c): Remove *-ITER.
21866         * benchtests/bench-modf.c: Remove definition of ITER.
21867         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21868         (main): Loop for DURATION seconds instead of fixed number of
21869         iterations.
21870         * scripts/bench.pl: Don't expect iterations in parameters.
21871
21872 2013-04-29  Roland McGrath  <roland@hack.frob.com>
21873
21874         * io/fchdir.c (__fchdir): Renamed from fchdir.
21875         (fchdir): Define as weak alias.
21876
21877 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21878
21879         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21880         (ERRNO_EDOM): Likewise.
21881         (ERRNO_ERANGE): Likewise.
21882         (noErrnoTests): New variable.
21883         (init_max_error): Set errno to 0.
21884         (test_single_errno): New function.
21885         (test_errno): Likewise.
21886         (check_float_internal): Call test_errno.  Set errno to 0.
21887         (check_complex): Refer to errno tests in comment.
21888         (check_int): Call test_errno.  Set errno to 0.
21889         (check_long): Likewise.
21890         (check_bool): Likewise.
21891         (check_longlong): Likewise.
21892         (cos_test): Use ERRNO_* flags for errno tests instead of
21893         check_int.
21894         (expm1_test): Likewise.
21895         (fmod_test): Likewise.
21896         (ilogb_test): Likewise.
21897         (lgamma_test): Likewise.
21898         (pow_test): Likewise.
21899         (remainder_test): Likewise.
21900         (sin_test): Likewise.
21901         (tan_test): Likewise.
21902         (yn_test): Likewise.
21903         (initialize): Set errno to 0.
21904         (main): Print number of errno tests.
21905         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21906
21907 2013-04-29  Andreas Jaeger  <aj@suse.de>
21908
21909         [BZ #15084]
21910         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21911         and RES_USEVC.
21912
21913         [BZ #15085]
21914         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21915         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21916         unimplemented.
21917
21918         [BZ #15380]
21919         * stdlib/random.c (__initstate): Return NULL if
21920         __initstate fails.
21921
21922         [BZ #15086]
21923         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21924         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21925         RES_SNGLKUPREOP.
21926
21927 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21928
21929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21930
21931 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21932
21933         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21934         of individual tests.
21935         (casin_test): Likewise.
21936         (casinh_test): Likewise.
21937
21938 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
21939
21940         [BZ #15409]
21941         * math/s_catan.c (__catan): Handle arguments with large real or
21942         imaginary part separately without squaring.
21943         * math/s_catanf.c (__catanf): Likewise.
21944         * math/s_catanh.c (__catanh): Likewise.
21945         * math/s_catanhf.c (__catanhf): Likewise.
21946         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21947         and redefine.
21948         (__catanhl): Handle arguments with large real or imaginary part
21949         separately without squaring.
21950         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21951         and redefine.
21952         (__catanl): Handle arguments with large real or imaginary part
21953         separately without squaring.
21954         * math/libm-test.inc (catan_test): Add more tests.
21955         (catanh_test): Likewise.
21956         * sysdeps/i386/fpu/libm-test-ulps: Update.
21957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21958
21959 2013-04-27  Andreas Jaeger  <aj@suse.de>
21960
21961         [BZ #15007]
21962         * stdlib/stdlib.h: Update guards for qecvt.
21963         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21964         <stdlib.h>.
21965
21966 2013-04-27  Allan McRae  <allan@archlinux.org>
21967
21968         * sysdeps/i386/fpu/libm-test-ulps: Update.
21969
21970 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
21971
21972         [BZ #15406]
21973         * math/s_catan.c: Include <float.h>.
21974         (__catan): Ensure underflow exception occurs for underflowed
21975         result.
21976         * math/s_catanf.c: Include <float.h>.
21977         (__catanf): Ensure underflow exception occurs for underflowed
21978         result.
21979         * math/s_catanh.c: Include <float.h>.
21980         (__catanh): Ensure underflow exception occurs for underflowed
21981         result.
21982         * math/s_catanhf.c: Include <float.h>.
21983         (__catanhf): Ensure underflow exception occurs for underflowed
21984         result.
21985         * math/s_catanhl.c: Include <float.h>.
21986         (__catanhl): Ensure underflow exception occurs for underflowed
21987         result.
21988         * math/s_catanl.c: Include <float.h>.
21989         (__catanl): Ensure underflow exception occurs for underflowed
21990         result.
21991         * math/libm-test.inc (catan_test): Add more tests.
21992         (catanh_test): Likewise.
21993
21994         [BZ #15405]
21995         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21996         underflowed result.
21997         * math/s_ccoshf.c (__ccoshf): Likewise.
21998         * math/s_ccoshl.c (__ccoshl): Likewise.
21999         * math/s_csin.c (__csin): Likewise.
22000         * math/s_csinf.c (__csinf): Likewise.
22001         * math/s_csinh.c (__csinh): Likewise.
22002         * math/s_csinhf.c (__csinhf): Likewise.
22003         * math/s_csinhl.c (__csinhl): Likewise.
22004         * math/s_csinl.c (__csinl): Likewise.
22005         * math/libm-test.inc (ccos_test): Add more tests.
22006         (ccosh_test): Likewise.
22007         (csin_test): Likewise.
22008         (csinh_test): Likewise.
22009
22010 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22011
22012         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22013         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22014         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22015         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22016         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22017         powerpc/power5+/fpu folders.
22018         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22019
22020
22021 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22022
22023         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22024
22025 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
22026
22027         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22028         additions to variable.
22029         [$(config-machine) = x86_64] (modules-names): Likewise.
22030         ($(objpfx)tst-audit3): Remove dependency.
22031         ($(objpfx)tst-audit3.out): Likewise.
22032         ($(objpfx)tst-audit4): Likewise.
22033         ($(objpfx)tst-audit4.out): Likewise.
22034         ($(objpfx)tst-audit5): Likewise.
22035         ($(objpfx)tst-audit5.out): Likewise.
22036         ($(objpfx)tst-audit6): Likewise.
22037         ($(objpfx)tst-audit6.out): Likewise.
22038         ($(objpfx)tst-audit7): Likewise.
22039         ($(objpfx)tst-audit7.out): Likewise.
22040         (tst-audit3-ENV): Remove variable.
22041         (tst-audit4-ENV): Likewise.
22042         (tst-audit5-ENV): Likewise.
22043         (tst-audit6-ENV): Likewise.
22044         (tst-audit7-ENV): Likewise.
22045         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22046         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22047         addition to variable.
22048         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22049         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22050         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22051         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22052         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22053         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22054         tst-audit3, tst-audit4 and tst-audit5.
22055         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22056         tst-audit6 and tst-audit7.
22057         [$(subdir) = elf] (modules-names): Add audit modules for those
22058         tests.
22059         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22060         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22061         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22062         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22063         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22064         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22065         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22066         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22067         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22068         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22069         [$(subdir) = elf] (tst-audit3-ENV): New variable.
22070         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22071         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22072         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22073         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22074         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22075         Likewise.
22076         [$(subdir) = elf && $(config-cflags-avx) = yes]
22077         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22078         [$(subdir) = elf && $(config-cflags-avx) = yes]
22079         (CFLAGS-tst-auditmod4a.c): Likewise.
22080         [$(subdir) = elf && $(config-cflags-avx) = yes]
22081         (CFLAGS-tst-auditmod4b.c): Likewise.
22082         [$(subdir) = elf && $(config-cflags-avx) = yes]
22083         (CFLAGS-tst-auditmod6b.c): Likewise.
22084         [$(subdir) = elf && $(config-cflags-avx) = yes]
22085         (CFLAGS-tst-auditmod6c.c): Likewise.
22086         [$(subdir) = elf && $(config-cflags-avx) = yes]
22087         (CFLAGS-tst-auditmod7b.c): Likewise.
22088         * elf/tst-audit3.c: Move to ...
22089         * sysdeps/x86_64/tst-audit3.c: ... here.
22090         * elf/tst-audit4.c: Move to ...
22091         * sysdeps/x86_64/tst-audit4.c: ... here.
22092         * elf/tst-audit5.c: Move to ...
22093         * sysdeps/x86_64/tst-audit5.c: ... here.
22094         * elf/tst-audit6.c: Move to ...
22095         * sysdeps/x86_64/tst-audit6.c: ... here.
22096         * elf/tst-audit7.c: Move to ...
22097         * sysdeps/x86_64/tst-audit7.c: ... here.
22098         * elf/tst-auditmod3a.c: Move to ...
22099         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22100         * elf/tst-auditmod3b.c: Move to ...
22101         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22102         * elf/tst-auditmod4a.c: Move to ...
22103         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22104         * elf/tst-auditmod4b.c: Move to ...
22105         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22106         * elf/tst-auditmod5a.c: Move to ...
22107         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22108         * elf/tst-auditmod5b.c: Move to ...
22109         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22110         * elf/tst-auditmod6a.c: Move to ...
22111         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22112         * elf/tst-auditmod6b.c: Move to ...
22113         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22114         * elf/tst-auditmod6c.c: Move to ...
22115         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22116         * elf/tst-auditmod7a.c: Move to ...
22117         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22118         * elf/tst-auditmod7b.c: Move to ...
22119         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22120
22121 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22122
22123         [BZ #15366]
22124         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22125         define unconditionally.
22126         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22127         define unconditionally.
22128         (INT8_C, INT16_C, etc.): Likewise.
22129
22130 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22131
22132         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22133         __ehdr_start with hidden visibility.
22134
22135         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22136
22137 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22138
22139         * math/libm-test.inc (cos_test): Use accurate hex constants.
22140         (sincost_test): Likewise.
22141
22142 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22143
22144         * math/libm-test.inc (catan_test): Add more tests.
22145         (catanh_test): Likewise.
22146
22147         * math/s_catanf.c (__catanf): Use suffixed floating-point
22148         constants.
22149         * math/s_catanhf.c (__catanhf): Likewise.
22150         * math/s_catanhl.c (__catanhl): Likewise.
22151         * math/s_catanl.c (__catanl): Likewise.
22152
22153         [BZ #15394]
22154         * math/s_catan.c (__catan): Calculate imaginary part of result
22155         with log1p not log unless computing log of number close to 0.
22156         * math/s_catanf.c (__catanf): Likewise.
22157         * math/s_catanl.c (__catanl): Likewise.
22158         * math/s_catanh.c (__catanh): Calculate real part of result with
22159         log1p not log unless computing log of number close to 0.
22160         * math/s_catanhf.c (__catanhf): Likewise.
22161         * math/s_catanhl.c (__catanhl): Likewise.
22162         * math/libm-test.inc (catan_test): Add more tests.
22163         (catanh_test): Likewise.
22164         * sysdeps/i386/fpu/libm-test-ulps: Update.
22165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22166
22167 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22168
22169         * benchtests/Makefile: Mention files in which fast and slow
22170         paths of math functions are implemented.
22171
22172 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22173
22174         * sysdeps/posix/timespec_get.c: New file.
22175
22176 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22177
22178         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22179         POWER.
22180         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22181         for POWER.
22182         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22183         powerpc/power5/fpu folders.
22184         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22185         * benchtests/Makefile: Add modf testcase.
22186         * benchtests/bench-modf.c: New file: Benchmark test for mo
22187
22188 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22189
22190         [BZ #14888]
22191         * time/Makefile (tests): Add tst-strptime-whitespace.
22192         * time/strptime_l.c (get_number): Use ISSPACE.
22193         (__strptime_internal): Likewise.
22194         * time/tst-strptime-whitespace.c: New test case.
22195
22196 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22197
22198         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22199         member.
22200         (_nss_files_init): Set it here.
22201
22202 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22203
22204         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22205         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22206         unsigned.
22207
22208 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22209
22210         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22211
22212 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22213
22214         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22215         size just once.
22216
22217 2013-04-21  David S. Miller  <davem@davemloft.net>
22218
22219         * po/ru.po: Update Russion translation from translation project.
22220
22221 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22222
22223         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22224         and setfsgid.
22225
22226 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22227
22228         * configure.in: Remove i386 configure warning. Remove i386 case.
22229         * configure: Regenerate.
22230         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22231         Add example to error message.
22232         * sysdeps/i386/configure: Regenerate.
22233
22234 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22235
22236         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22237         slowtan.
22238         * benchtests/cos-inputs: New file.
22239         * benchtests/slowcos-inputs: New file.
22240         * benchtests/slowcos.c: New file.
22241         * benchtests/slowtan-inputs: New file.
22242         * benchtests/slowtan.c: New file.
22243         * benchtests/tan-inputs: New file.
22244
22245 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22246
22247         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22248         considered kosher.
22249
22250 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22251
22252         * benchtests/Makefile: Include cppflags-iterator.mk to add
22253         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22254
22255         * Makefile.in (bench-clean): New target.
22256         * benchtests/Makefile (bench-clean): Likewise.
22257
22258 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22259
22260         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22261
22262 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22263
22264         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22265
22266 2013-04-15  Andreas Schwab  <schwab@suse.de>
22267
22268         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22269         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22270         * nscd/pwdcache.c (cache_addpw): Likewise.
22271         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22272         more than recsize.
22273
22274 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22275
22276         * benchtests/Makefile (bench): Write all output to
22277         bench-out.tmp together.
22278
22279 2013-04-15  Andreas Schwab  <schwab@suse.de>
22280
22281         * nscd/nscd.c (main): Don't fork again after closing files.
22282
22283 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22284
22285         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22286
22287         * benchtests/Rules (bench-deps): Collect dependencies into a
22288         single variable.  Add Makefile to dependencies.
22289         ($(objpfx)bench-%.c): Depend on bench-deps.
22290
22291 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22292             Xavier Roche  <roche+kml2@exalead.com>
22293
22294         [BZ #15361]
22295         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22296         just that it's a file descriptor.
22297         * manual/llio.texi (Synchronizing AIO Operations): Update description
22298         for EBADF error from aio_fsync.
22299
22300 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22301
22302         * Rules (bench): Move target definition...
22303         * benchtests/Makefile: ... here.
22304
22305 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22306
22307         * math/libm-test.inc (cos_test): Fix PI/2 test.
22308         (sincos_test): Likewise.
22309         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22310         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22311
22312 2013-04-11  Andreas Schwab  <schwab@suse.de>
22313
22314         [BZ #13988]
22315         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22316         accept exponent character only when digits were seen.
22317         * stdio-common/Makefile (tests): Add bug26.
22318         * stdio-common/bug26.c: New file.
22319
22320         [BZ #14293]
22321         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22322         non-freeable.
22323
22324 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22325
22326         * Makeconfig (rtld-prefix): Define built linker prefix.
22327         * Rules (run-bench): Use it.
22328         * math/Makefile (run-regen-ulps): Likewise.
22329
22330         * Rules (bench): Remove eval.
22331
22332 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22333             Roland McGrath  <roland@hack.frob.com>
22334             Ondrej Bilka  <neleai@seznam.cz>
22335
22336         [BZ #15346]
22337         * time/getdate.c: Include ctype.h and alloca.h.
22338         (__getdate_r): Trim leading and trailing spaces of input.
22339         * time/tst-getdate.c (tests): Add tests with leading and
22340         trailing spaces.
22341
22342 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22343
22344         [BZ #14280]
22345         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22346         when computing value.
22347
22348 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22349
22350         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22351         Use testrun.sh to run libm tests.
22352
22353         [BZ #15309]
22354         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22355
22356 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22357
22358         [BZ #15264]
22359         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22360
22361 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22362
22363         * Makefile.in (regen-ulps): New target.
22364         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22365         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22366         [ifneq (no,$(PERL)] (regen-ulps): New target.
22367         [ifeq (no,$(PERL)] (regen-ulps): New target.
22368         * math/libm-test.inc (ulps_file_name): Define.
22369         (output_dir): New variable.
22370         (options): Add "output-dir" option.
22371         (parse_opt): Handle 'o' case.
22372         (main): If output_dir is non-NULL use it as a prefix
22373         otherwise use "".
22374         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22375
22376 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22377
22378         [BZ #10060, #10062]
22379         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22380         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22381         fail configure if __sync_val_compare_and_swap is not inlined.
22382         * sysdeps/i386/configure: Regenerate.
22383         * configure.in: Build for i686 when configured for i386.
22384         * configure: Regenerate.
22385         * README: Remove i386 reference.
22386
22387 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22388
22389         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22390         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22391
22392 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22393
22394         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22395         (lmsnanval): New variables.
22396         (F): Add conversion tests.
22397         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22398         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22399
22400         * stdio-common/tstdiomisc.c (F): Properly collect individual
22401         tests' results.
22402
22403         [BZ #14686, #15336]
22404         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22405         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22406         Instead, use input NaN values or generate a qNaN by arithmetic
22407         operation.  Also fix bugs to comply with the standard.
22408         * math/libm-test.inc (remainder_test): Add more tests.
22409
22410         [BZ #15335, #15342]
22411         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22412         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22413         input NaN values or generate a qNaN by arithmetic operation.
22414
22415         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22416         unreachable code.
22417
22418         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22419         definitions.
22420
22421 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22422
22423         [BZ #14478]
22424         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22425         underflowed result.
22426         * math/s_cexpf.c (__cexpf): Likewise.
22427         * math/s_cexpl.c (__cexpl): Likewise.
22428         * math/libm-test.inc (cexp_test): Add more tests.
22429
22430 2013-04-03  Andreas Schwab  <schwab@suse.de>
22431
22432         [BZ #15330]
22433         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22434         order arrays from heap if bigger than alloca cutoff.
22435
22436 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22437
22438         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22439         (SNAN_TESTS_double): Refer to GCC PR56831.
22440         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22441         GCC PR56828.
22442
22443 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22444
22445         * Rules (bench): Move bench.out after the run is complete.
22446
22447         * Rules (bench): Echo currently running benchmark.
22448
22449         * benchtests/Makefile (bench): Add atan and slowatan.
22450         * benchtests/atan-inputs: New file.
22451         * benchtests/slowatan-inputs: New file.
22452         * benchtests/slowatan.c: New file.
22453
22454         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22455         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22456         its value.
22457
22458         [BZ #15305]
22459         * sysdeps/unix/sysv/linux/kernel-features.h
22460         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22461         __ASSUME_XFS_RESTRICTED_CHOWN.
22462         * sysdeps/unix/sysv/linux/pathconf.c
22463         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22464         Save and restore errno.
22465
22466 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22467
22468         [BZ #15327]
22469         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22470         arguments using __kernel_casinh.
22471         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22472         arguments using __kernel_casinhf.
22473         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22474         arguments using __kernel_casinhl.
22475         * math/libm-test.inc (cacosh_test): Add more tests.
22476         * sysdeps/i386/fpu/libm-test-ulps: Update.
22477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22478
22479 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22480
22481         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22482         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22483
22484         * bench/Makefile (bench): Add sin and slowsin.
22485         * benchtests/sin-inputs: New file.
22486         * benchtests/slowsin-inputs: New file.
22487         * benchtests/slowsin.c: New file.
22488
22489         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22490         (bench): Add slowexp and slowpow.
22491         (exp-ITER): Increase iterations.
22492         (pow-ITER): Likewise.
22493         * benchtests/exp-inputs: Change input.
22494         * benchtests/pow-inputs: Likewise.
22495         * benchtests/slowexp-inputs: New file.
22496         * benchtests/slowexp.c: New file.
22497         * benchtests/slowpow-inputs: New file.
22498         * benchtests/slowpow.c: New file.
22499
22500 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22501
22502         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22503         instructions.
22504         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22505         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22506         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22507         * benchtests/Makefile: Add rint benchtest.
22508         * benchtests/rint-inputs: Input for rint benchtest.
22509
22510 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22511
22512         * Versions.def (libm): Add GLIBC_2.18.
22513         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22514         hidden libm prototypes.
22515         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22516         * math/Makefile (libm-calls): Add s_issignaling.
22517         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22518         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
22519         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22520         declaration.
22521         * math/math.h [__USE_GNU] (issignaling): New macro.
22522         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22523         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22524         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22525         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22526         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22527         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22528         * manual/arith.texi (issignaling): New section.
22529         * manual/libm-err-tab.pl (@all_functions): Update comment.
22530         * math/gen-libm-test.pl (parse_args): Apply special handling for
22531         issignaling.
22532         * math/libm-test.inc (print_float, issignaling_test): New
22533         functions.
22534         (check_float_internal): Add issignaling checks.
22535         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22536         default definition.
22537         * sysdeps/powerpc/math-tests.h: New file.
22538         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22539         tests.
22540         * math/test-snan.c (TEST_FUNC): Likewise.
22541
22542 2013-03-30  David S. Miller  <davem@davemloft.net>
22543
22544         * po/de.po: Update from translation team.
22545
22546 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
22547
22548         [BZ #10357]
22549         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22550         imaginary part less than 1.0 and real part less than 0.5
22551         specially.
22552         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22553         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22554         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22555         (cacos_test): Add more tests.
22556         (casin_test): Likewise.
22557         (casinh_test): Likewise.
22558         * sysdeps/i386/fpu/libm-test-ulps: Update.
22559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22560
22561 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22562
22563         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22564         ONE with its value.
22565
22566         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22567         (__pow_mp): Replace ONE and MONE with their values.
22568         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22569         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22570         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22571         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22572         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22573         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22574
22575         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22576
22577         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22578         (__pow_mp): Replace ZERO and MZERO with their values.
22579         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22580         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22581         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22582         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22583         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22584         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22585         (__sqr): Likewise.
22586
22587         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22588
22589         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22590
22591 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22592
22593         * include/stdlib.h [!SHARED] (__call_tls_dtors):
22594         Declare with __attribute__ ((weak)).
22595         * stdlib/exit.c (__libc_atexit) [!SHARED]:
22596         Call __call_tls_dtors only if it's not NULL.
22597
22598 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22599
22600         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22601         didn't do it already, then set _dl_phdr and _dl_phnum based on the
22602         magic __ehdr_start linker symbol if it's defined.
22603         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22604         them up here if it was already done.
22605
22606         * elf/dl-support.c (_dl_phdr): Make pointer to const.
22607         (_dl_aux_init): Use const in cast when setting it.
22608         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22609         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22610         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22611
22612         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22613         Declare them here.
22614         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22615         * csu/libc-tls.c: Nor here.
22616         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22617
22618         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22619         (__libc_message): Never call vsyslog.
22620
22621 2013-03-28  Alan Modra  <amodra@gmail.com>
22622
22623         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22624         Define as empty.
22625         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22626         Likewise.
22627
22628 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22629
22630         [BZ #15214]
22631         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22632         underflow.
22633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22634
22635 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22636
22637         [BZ #15304]
22638         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22639         Don't add gid passed as argument.
22640
22641         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22642
22643 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
22644
22645         [BZ #15307]
22646         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22647         imaginary part between 1.0 and 1.5 and real part less than 0.5
22648         specially.
22649         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22650         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22651         * math/libm-test.inc (cacos_test): Add more tests.
22652         (casin_test): Likewise.
22653         (casinh_test): Likewise.
22654         * sysdeps/i386/fpu/libm-test-ulps: Update.
22655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22656
22657 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22658
22659         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22660         constants.
22661         (norm): Likewise.
22662         (denorm): Likewise.
22663         (__dbl_mp): Likewise.
22664         (add_magnitudes): Likewise.
22665         (sub_magnitudes): Likewise.
22666         (__add): Likewise.
22667         (__sub): Likewise.
22668         (__mul): Likewise.
22669         (__sqr): Likewise.
22670         (__inv): Likewise.
22671         (__dvd): Likewise.
22672
22673         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22674         commented code.
22675         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22676         (__dubcos): Likewise.
22677         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22678         (__ieee754_acos): Likewise.
22679         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22680         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22681         (__exp1): Likewise.
22682         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22683         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22684         (log1): Likewise.
22685         (my_log2): Likewise.
22686         (checkint): Likewise.
22687         * sysdeps/ieee754/dbl-64/e_remainder.c
22688         (__ieee754_remainder): Likewise.
22689         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22690         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22691         (bsloww): Likewise.
22692         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22693
22694         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22695         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22696         MANTISSA_STORE_T to store computations on mantissa.  Use
22697         macros for rounding and division.
22698         (denorm): Likewise.
22699         (__dbl_mp): Likewise.
22700         (add_magnitudes): Likewise.
22701         (sub_magnitudes): Likewise.
22702         (__mul): Likewise.
22703         (__sqr): Likewise.
22704         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22705         powers of two in terms of TWOPOW macro.
22706         (mp_no): Make type of mantissa as MANTISSA_T.
22707         [!RADIXI]: Define RADIXI.
22708         [!TWO52]: Define TWO52.
22709         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22710
22711 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22712
22713         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22714         llroundl symbol when building for PPC32.
22715
22716 2013-03-24  Mark H Weaver  <mhw@netris.org>
22717
22718         * manual/arith.texi (Normalization Functions): Fix prototypes for
22719         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22720
22721 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22722
22723         [BZ #13889]
22724         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22725         high value to check if expl overflow.
22726         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22727         to check for underflow and overflow.
22728         * math/libm-test.inc: Add exp test.
22729
22730 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
22731
22732         [BZ #11120]
22733         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22734         with NOT_IN_libc.
22735
22736 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22737
22738         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22739         symbol.
22740
22741 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22742
22743         * math/gen-libm-test.pl (parse_args, special_functions): Properly
22744         wrap blocks consisting of several statements.
22745
22746         * sysdeps/generic/math-tests.h: New file.
22747         * sysdeps/i386/fpu/math-tests.h: Likewise.
22748         * math/test-snan.c: Include it.
22749         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22750
22751 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22752
22753         [BZ #15285]
22754         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22755         (__ieee754_j0l): Do not improve calculations using cos of twice
22756         input for inputs above LDBL_MAX / 2.0L.
22757         (__ieee754_y0l): Likewise.
22758         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22759         (__ieee754_j1l): Do not improve calculations using cos of twice
22760         input for inputs above LDBL_MAX / 2.0L.
22761         (__ieee754_y1l): Likewise.
22762         * math/libm-test.inc (j0_test): Add another test.
22763         (j1_test): Likewise.
22764         (y0_test): Likewise.
22765         (y1_test): Likewise.
22766         * sysdeps/i386/fpu/libm-test-ulps: Update.
22767
22768 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22769
22770         * Rules ($(objpfx)bench-%.c): Include code from a C source
22771         file.
22772
22773 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22774
22775         [BZ #15287]
22776         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22777         imaginary part 1.0 and real part less than 0.5 specially.
22778         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22779         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22780         * math/libm-test.inc (cacos_test): Add more tests.
22781         (casin_test): Likewise.
22782         (casinh_test): Likewise.
22783         * sysdeps/i386/fpu/libm-test-ulps: Update.
22784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22785
22786 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22787
22788         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22789         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22790
22791 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
22792
22793         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22794         * config.make.in (config-cflags-sse4): Remove variable.
22795         (config-cflags-avx): Likewise.
22796         (config-cflags-sse2avx): Likewise.
22797         (config-cflags-novzeroupper): Likewise.
22798         (config-asflags-i686): Likewise.
22799         (have-mfma4): Likewise.
22800         (have-as-vis3): Likewise.
22801         (MIG): Likewise.
22802         * configure.in (MIG): Do not AC_SUBST.
22803         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22804         (libc_cv_cc_sse4): Do not AC_SUBST.
22805         (libc_cv_cc_avx): Likewise.
22806         (libc_cv_cc_sse2avx): Likewise.
22807         (libc_cv_cc_novzeroupper): Likewise.
22808         (libc_cv_cc_fma4): Likewise.
22809         (libc_cv_as_i686): Likewise.
22810         (libc_cv_sparc_as_vis3): Likewise.
22811         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22812         LIBC_CONFIG_VAR.
22813         (config-asflags-i686): Likewise.
22814         (config-cflags-avx): Likewise.
22815         (config-cflags-sse2avx): Likewise.
22816         (have-mfma4): Likewise.
22817         (config-cflags-novzeroupper): Likewise.
22818         * sysdeps/mach/configure.in (MIG): Likewise.
22819         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22820         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22821         LIBC_CONFIG_VAR.
22822         (config-cflags-avx): Likewise.
22823         (config-cflags-sse2avx): Likewise.
22824         (have-mfma4): Likewise.
22825         (config-cflags-novzeroupper): Likewise.
22826         * configure: Regenerated.
22827         * sysdeps/i386/configure: Likewise.
22828         * sysdeps/mach/configure: Likewise.
22829         * sysdeps/sparc/configure: Likewise.
22830         * sysdeps/x86_64/configure: Likewise.
22831
22832 2013-03-20  Roland McGrath  <roland@hack.frob.com>
22833
22834         [BZ #14812]
22835         * locale/programs/localedef.c (options): Put N_ translation marker
22836         on argument names, not just descriptions.
22837
22838 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22839
22840         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22841
22842 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
22843
22844         [BZ #14176]
22845         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22846
22847 2013-03-19  Roland McGrath  <roland@hack.frob.com>
22848
22849         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22850         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22851         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22852         [!BEFORE_ABORT] (before_abort): New function.
22853         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22854         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22855         (writev_for_fatal): New function.
22856         (WRITEV_FOR_FATAL): New macro; call that.
22857         (backtrace_and_maps): New function.
22858         (BEFORE_ABORT): New macro; call that.
22859         (struct str_list): Type removed.
22860         (__libc_message, __libc_fatal): Functions removed.
22861         Include <sysdeps/posix/libc_fatal.c> instead.
22862
22863 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
22864
22865         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22866         constants.
22867         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22868         double constants.
22869
22870 2013-03-19  Andreas Schwab  <schwab@suse.de>
22871
22872         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22873         * sysdeps/gnu/configure: Regenerate.
22874
22875         * configure.in: Substitute libc_cv_rtlddir.
22876         * configure: Regenerate.
22877         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22878         * Makeconfig (rtlddir, inst_rtlddir): New variables.
22879         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22880         * elf/Makefile (install-others, CFLAGS-interp.c)
22881         (ldso_install, common-ldd-rewrite): Likewise.
22882         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22883         $(inst_slibdir)/$(rtld-installed-name).
22884         * scripts/rellns-sh: Add -p option.
22885         * Makerules (make-shlib-link): Use rellns-sh to get relative name
22886         for source.
22887
22888 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22889
22890         * manual/nptl.texi: Renamed to ...
22891         * manual/threads.texi: ... this.
22892         * manual/Makefile (chapters): Update.
22893
22894 2013-03-18  Roland McGrath  <roland@hack.frob.com>
22895
22896         [BZ #14812]
22897         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22898         on argument names, not just descriptions.
22899         * malloc/memusagestat.c (options): Likewise.
22900         * nss/getent.c (options): Likewise.
22901
22902 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
22903
22904         [BZ #14812]
22905         * iconv/iconv_prog.c (options): Put N_ translation marker
22906         on argument names, not just descriptions.
22907         * iconv/iconvconfig.c (options): Likewise.
22908
22909 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
22910
22911         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22912         implementation which is faster on all x86_64 architectures.
22913         Tested on AMD, Intel Nehalem, SNB, IVB.
22914         * sysdeps/x86_64/strnlen.S: Likewise.
22915
22916         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22917         Remove all multiarch strlen and strnlen versions.
22918         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22919         Remove strlen and strnlen related parts.
22920
22921         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22922         Inline strlen part.
22923         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22924
22925         * sysdeps/x86_64/multiarch/strlen.S: Remove.
22926         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22927         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22928         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22929         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22930         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22931
22932 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
22933
22934         * manual/memory.texi (Malloc Tunable Parameters):
22935         Sort parameters alphabetically. Add comments for missing entries.
22936
22937 2013-03-17  David S. Miller  <davem@davemloft.net>
22938
22939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22940
22941 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
22942
22943         [BZ #15283]
22944         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22945         for arguments at most half maximum finite value.
22946         * math/libm-test.inc (j0_test): Add more tests.
22947         (j1_test): Likewise.
22948         (y0_test): Likewise.
22949         (y1_test): Likewise.
22950         * sysdeps/i386/fpu/libm-test-ulps: Update.
22951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22952
22953         [BZ #14155]
22954         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22955         1 / x and functions P and Q for arguments above 0x1p256L.
22956         (__ieee754_y0l): Likewise.
22957         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22958         (__ieee754_y1l): Likewise.
22959         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22960         (j1_test): Likewise.
22961         (y0_test): Likewise.
22962         (y1_test): Likewise.
22963
22964 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
22965
22966         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22967         variable.
22968
22969 2013-03-15  Roland McGrath  <roland@hack.frob.com>
22970
22971         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22972         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22973         zero since it's initialized to EXEC_PAGESIZE.
22974
22975         * sysdeps/unix/sysv/linux/ldsodefs.h
22976         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22977         * sysdeps/generic/ldsodefs.h: ... here.
22978
22979 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
22980
22981         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22982
22983         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22984         math/test-snan.c.
22985         * math/test-snan.c: Renamed from
22986         sysdeps/powerpc/fpu/test-powerpc-snan.c.
22987         * math/Makefile (tests): Add test-snan.
22988         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22989         test-powerpc-snan.
22990
22991         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22992         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
22993         functions.
22994         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
22995         __builtin_nan family of functions.
22996         * math/libm-test.inc (initialize): Initialize qnan_value with
22997         __builtin_nan family of functions.
22998         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22999         Remove variables.
23000         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23001         Remove functions.
23002         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
23003         storage class.  Initialize qNaN_var and sNaN_var with
23004         __builtin_nan and __builtin_nans families of functions,
23005         respectively.
23006
23007         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23008         (sqrt_test): Remove duplicate test with qNaN input.
23009         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23010         (round_test, signbit_test, significand_test): Note missing +/-Inf
23011         as well as qNaN tests.
23012
23013         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23014         qNaN_var.  Fix a few strings, too.
23015         * math/libm-test.inc (nan_value): Rename to qnan_value.
23016         * math/gen-libm-test.pl (%beautify): Adjust to that.
23017         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23018         * math/test-misc.c (main): Likewise.
23019         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23020         to __qnan_bytes, and __qnan_union, respectively.
23021         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23022         Likewise.
23023         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23024         and lqnanval, respectively.
23025         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23026         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23027         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23028         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23029
23030         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23031         * math/test-misc.c (main) [__x86_64__]: Enable test for long
23032         doubles.
23033
23034         * math/test-misc.c (main): Fix copy'n'pastos.
23035         * misc/tst-efgcvt.c (special): Likewise.
23036
23037         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23038         Remove declarations.
23039
23040 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23041
23042         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23043         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23044         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23045         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23046
23047 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23048
23049         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23050         macro to return vdso values correctly in IFUNC implementations.
23051         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23052         Optimization by using IFUNC.
23053
23054 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23055             Richard Henderson  <rth@redhat.com>
23056             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23057
23058         * Makefile.in (bench): New target.
23059         * NEWS: Mention the benchmark framework.
23060         * Rules (bench): Likewise.
23061         (binaries-bench): Generate binaries for functions to
23062         benchmark.
23063         * benchtests/Makefile: New makefile for benchmark tests.
23064         * benchtests/bench-skeleton.c: New skeleton file for benchmark
23065         programs.
23066         * benchtests/exp-inputs: New input file for EXP function.
23067         * benchtests/pow-inputs: New input file for POW function.
23068         * scripts/bench.pl: New script to generate source files for
23069         benchmark programs.
23070
23071 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23072
23073         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23074         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23075         computations on mantissa.  Use macros for rounding and
23076         division.
23077         (denorm): Likewise.
23078         (__dbl_mp): Likewise.
23079         (add_magnitudes): Likewise.
23080         (sub_magnitudes): Likewise.
23081         (__mul): Likewise.
23082         (__sqr): Likewise.
23083         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23084         powers of two in terms of TWOPOW macro.
23085         (mp_no): Make type of mantissa as MANTISSA_T.
23086         [!RADIXI]: Define RADIXI.
23087         [!TWO52]: Define TWO52.
23088         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23089
23090         * manual/nptl.texi (cindex): Modify threads to pthreads.
23091
23092 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23093
23094         * sysdeps/x86_64/preconfigure: Regenerated.
23095
23096 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23097
23098         [BZ #14155]
23099         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23100         0x1p28 and above.
23101         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23102         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23103         0x1p28 and above.
23104         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23105         * math/libm-test.inc (j0_test): Do not allow one spurious
23106         underflow exception.
23107         (y1_test): Likewise.
23108
23109 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23110
23111         * manual/Makefile (chapters): Add nptl.
23112         * manual/debug.texi (Debugging Support): Add link to Threads
23113         chapter.
23114         * manual/nptl.texi: New file.
23115
23116         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23117
23118 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23119
23120         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23121         for non-NULL pointer before the memory validity test. Pointed
23122         out by Holger Brunck <holger.brunck@keymile.com>.
23123
23124 2013-03-13  Andreas Schwab  <schwab@suse.de>
23125
23126         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23127         instead of .os.
23128
23129 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23130
23131         * timezone/zic.c: Update from tzcode 2013b.
23132
23133 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23134
23135         * manual/install.texi (Configuring and compiling):
23136         Mention i686 and i586.
23137         * INSTALL: Regenerate.
23138
23139 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23140
23141         * sysdeps/init_array/elf-init.c: New file.
23142         * csu/elf-init.c
23143         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23144         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23145
23146         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23147         __gmon_start__ as global, but as static with a .preinit_array pointer.
23148         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23149         * sysdeps/init_array/crti.S: New file, empty except for comments.
23150         * sysdeps/init_array/crtn.S: Likewise.
23151
23152 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23153
23154         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23155         definining bcopy.
23156         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23157         Remove Prefer_SSE_for_memop.
23158         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23159         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23160         HAS_PREFER_SSE_FOR_MEMOP.
23161         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23162         memset-x86-64.
23163         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23164         Remove bzero, memset ifunc support.
23165         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23166         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23167         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23168         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23169
23170 2013-03-11  Andreas Schwab  <schwab@suse.de>
23171
23172         [BZ #15234]
23173         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23174         by SHLIB_COMPAT.
23175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23176         (GLIBC_2.16): Remove pthread_atfork.
23177
23178 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23179
23180         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23181         (ptestcases.h): Likewise.
23182
23183 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23184
23185         * Makeconfig ($(common-objpfx)config.status): Depend on
23186         sysdeps/*/preconfigure{,.in} too.
23187
23188 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23189
23190         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23191         (__free_hook): Use void * instead of __malloc_ptr_t.
23192         (__malloc_hook): Likewise.
23193         (__realloc_hook): Likewise.
23194         (__memalign_hook): Likewise.
23195         (__after_morecore_hook): Likewise.
23196         * malloc/arena.c (save_malloc_hook): Likewise.
23197         (save_free_hook): Likewise.
23198         * malloc/hooks.c (malloc_hook_ini): Likewise.
23199         (realloc_hook_ini): Likewise.
23200         (memalign_hook_ini): Likewise.
23201         * malloc/malloc.c (malloc_hook_ini): Likewise.
23202         (realloc_hook_ini): Likewise.
23203         (memalign_hook_ini): Likewise.
23204         (__free_hook): Likewise.
23205         (__malloc_hook): Likewise.
23206         (__realloc_hook): Likewise.
23207         (__memalign_hook): Likewise.
23208         (__libc_malloc): Likewise.
23209         (__libc_free): Likewise.
23210         (__libc_realloc): Likewise.
23211         (__libc_memalign): Likewise.
23212         (__libc_valloc): Likewise.
23213         (__libc_pvalloc): Likewise.
23214         (__libc_calloc): Likewise.
23215         (__posix_memalign): Likewise.
23216         * malloc/morecore.c (__sbrk): Likewise.
23217         (__default_morecore): Likewise.
23218
23219         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23220
23221         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23222         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23223         __malloc_ptrdiff_t.
23224
23225         * malloc/malloc.h (__malloc_size_t): Remove macro.
23226         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23227         __malloc_size_t.
23228         (old_memalign_hook): Likewise.
23229         (old_realloc_hook): Likewise.
23230         (struct hdr): Likewise.
23231         (flood): Likewise.
23232         (mallochook): Likewise.
23233         (memalignhook): Likewise.
23234         (reallochook): Likewise.
23235         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23236         (tr_old_realloc_hook): Likewise.
23237         (tr_old_memalign_hook): Likewise.
23238         (tr_mallochook): Likewise.
23239         (tr_reallochook): Likewise.
23240         (tr_memalignhook): Likewise.
23241
23242 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23243
23244         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23245         default_ldbl_pack and using as default implementation.
23246         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23247         implementation.
23248         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23249         redundant definition.
23250         (ldbl_insert_mantissa): Likewise.
23251         (ldbl_canonicalize): Likewise.
23252         (ldbl_nearbyint): Likewise.
23253         (ldbl_pack): Rename to ldbl_pack_ppc.
23254         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23255         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23256         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23257
23258 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23259
23260         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23261         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23262         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23263         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23264         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23265         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23266         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23267         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23268
23269 2013-03-07  Andreas Jaeger  <aj@suse.de>
23270
23271         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23272         bits/mman-linux.h.
23273
23274 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23275
23276         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23277         Include mpa.h and declare __MPEXP.
23278         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23279         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23280         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23281         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23282         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23283         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23284         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23285
23286         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23287         (__slowpow): Use long double EXPL and LOGL functions to
23288         compute POW.
23289         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23290         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23291         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23292         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23293         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23294         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23295
23296         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23297         intermediate variable to calculate exponent.
23298         (__sqr): Likewise.
23299         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23300         Likewise.
23301         (__sqr): Likewise.
23302
23303         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23304         [!NO__SQR]: Define __sqr.
23305         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23306         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23307         sysdeps/ieee754/dbl-64/mpa.c.
23308         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23309
23310         [BZ #12723]
23311         * posix/Makefile (tests): Add tst-pathconf.
23312         * posix/tst-pathconf.c: New test case.
23313         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23314         _PC_PIPE_BUF.
23315         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23316
23317 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23318
23319         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23320
23321 2013-03-06  Andreas Jaeger  <aj@suse.de>
23322
23323         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23324         definition via __MAP_ANONYMOUS.
23325
23326         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23327         it's not part of Linux headers.
23328
23329         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23330         (MAP_HUGE_MASK): Define.
23331
23332         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23333         Define.
23334         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23335         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23336         Define.
23337         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23338         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23339         Define.
23340         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23341         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23342         Define.
23343         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23344
23345         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23346         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23347         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23348         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23349         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23350         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23351
23352         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23353         Handle f2fs.
23354
23355         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23356         Handle f2fs and efivarfs.
23357
23358         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23359         f2fs.
23360
23361         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23362         (EFIVARFS_MAGIC): Add.
23363         (F2FS_LINK_MAX): Add.
23364
23365 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23366
23367         * stdio-common/vfprintf.c: Replace __builtin_expect with
23368         __glibc_unlikely.
23369
23370 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23371
23372         [BZ #13550]
23373         * sysdeps/generic/bp-sym.h: Remove file.
23374         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23375         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23376         <bp-sym.h> and <bp-asm.h>.
23377         (__longjmp): Don't use BP_SYM.
23378         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23379         and <bp-asm.h>.
23380         (memcpy): Don't use BP_SYM.
23381         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23382         <bp-sym.h> and <bp-asm.h>.
23383         (memcpy): Don't use BP_SYM.
23384         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23385         <bp-asm.h>.
23386         (memcpy): Don't use BP_SYM.
23387         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23388         <bp-asm.h>.
23389         (memset): Don't use BP_SYM.
23390         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23391         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23392         (__bzero): Don't use BP_SYM.
23393         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23394         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23395         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23396         <bp-sym.h> and <bp-asm.h>.
23397         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23398         pointers.
23399         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23400         <bp-sym.h> and <bp-asm.h>.
23401         (memcpy): Don't use BP_SYM.
23402         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23403         <bp-sym.h> and <bp-asm.h>.
23404         (memset): Don't use BP_SYM.
23405         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23406         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23407         (__bzero): Don't use BP_SYM.
23408         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23409         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23410         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23411         <bp-sym.h> and <bp-asm.h>.
23412         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23413         pointers.
23414         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23415         <bp-sym.h> and <bp-asm.h>.
23416         (memcpy): Don't use BP_SYM.
23417         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23418         <bp-sym.h> and <bp-asm.h>.
23419         (memset): Don't use BP_SYM.
23420         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23421         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23422         (__bzero): Don't use BP_SYM.
23423         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23424         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23425         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23426         <bp-sym.h> and <bp-asm.h>.
23427         (__memchr): Don't use BP_SYM.
23428         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23429         <bp-sym.h> and <bp-asm.h>.
23430         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23431         pointers.
23432         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23433         <bp-sym.h> and <bp-asm.h>.
23434         (memcpy): Don't use BP_SYM.
23435         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23436         <bp-sym.h> and <bp-asm.h>.
23437         (__mempcpy): Don't use BP_SYM.
23438         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23439         <bp-sym.h> and <bp-asm.h>.
23440         (__memrchr): Don't use BP_SYM.
23441         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23442         <bp-sym.h> and <bp-asm.h>.
23443         (memset): Don't use BP_SYM.
23444         (__bzero): Likewise.
23445         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23446         <bp-sym.h> and <bp-asm.h>.
23447         (__rawmemchr): Don't use BP_SYM.
23448         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23449         <bp-sym.h> and <bp-asm.h>.
23450         (__STRCMP): Don't use BP_SYM.
23451         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23452         <bp-sym.h> and <bp-asm.h>.
23453         (strchr): Don't use BP_SYM.
23454         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23455         <bp-sym.h> and <bp-asm.h>.
23456         (__strchrnul): Don't use BP_SYM.
23457         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23458         <bp-sym.h> and <bp-asm.h>.
23459         (strlen): Don't use BP_SYM.
23460         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23461         <bp-sym.h> and <bp-asm.h>.
23462         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23463         pointers.
23464         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23465         <bp-sym.h> and <bp-asm.h>.
23466         (__strnlen): Don't use BP_SYM.
23467         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23468         <bp-sym.h> and <bp-asm.h>.
23469         (__GI__setjmp): Don't use BP_SYM.
23470         (_setjmp): Likewise.
23471         (__sigsetjmp): Likewise.
23472         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23473         (L(start_addresses)): Don't use BP_SYM.
23474         (_start): Likewise.
23475         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23476         <bp-asm.h>.
23477         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23478         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23479         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23480         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23481         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23482         <bp-asm.h>.
23483         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23484         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23485         about bounded pointers.
23486         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23487         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23488         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23489         <bp-asm.h>.
23490         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23491         about bounded pointers.  Remove GKM FIXME comments.
23492         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23493         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23494         <bp-asm.h>.
23495         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23496         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
23497         Remove GKM FIXME comments.
23498         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23499         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23500         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23501         <bp-asm.h>.
23502         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23503         about bounded pointers.  Remove GKM FIXME comment.
23504         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23505         and <bp-asm.h>.
23506         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23507         pointers.
23508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23509         <bp-sym.h> and <bp-asm.h>.
23510         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23512         <bp-sym.h> and <bp-asm.h>.
23513         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23514         comment.
23515
23516 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23517
23518         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23519         call free(NULL).
23520
23521 2013-03-05  David S. Miller  <davem@davemloft.net>
23522
23523         * po/es.po: Update from translation team.
23524
23525 2013-03-05  Andreas Jaeger  <aj@suse.de>
23526
23527         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23528         <bits/mman-linux.h>.
23529         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23530         is fine.
23531         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23532         <bits/mman-linux.h> to end of file.
23533         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23534         is fine.
23535         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23536         <bits/mman-linux.h> to end of file.
23537         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23538         is fine.
23539         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23540         <bits/mman-linux.h> to end of file.
23541
23542         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23543         (MCL_CURRENT, MCL_FUTURE): Define here.
23544
23545 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23546
23547         [BZ #15232]
23548         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23549         attribute_hidden.
23550         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23551
23552 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23553
23554         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23555         fourth parameter needed for rt_sigprocmask syscall.
23556         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23557         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23558         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23559         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23560         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23561         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23562
23563 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
23564
23565         [BZ #13550]
23566         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23567         comment about bounded pointers.
23568         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23569         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23570
23571 2013-03-04  Andreas Jaeger  <aj@suse.de>
23572
23573         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23574         common definitions.
23575
23576         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23577         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23578         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23579         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23580         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23581         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23582
23583 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23584
23585         [BZ #15055]
23586         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23587         __ieee754_sqrl instead of __sqrl.
23588
23589 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
23590
23591         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23592         * sysdeps/powerpc/fpu_control.h: ... here.
23593         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23594         * sysdeps/powerpc/bits/fenvinline.h: ... here.
23595         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23596         * sysdeps/powerpc/bits/mathinline.h: ... here.
23597
23598 2013-03-01  Roland McGrath  <roland@hack.frob.com>
23599
23600         * elf/dl-hwcaps.c (_dl_important_hwcaps):
23601         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23602         to just [NEED_DL_SYSINFO_DSO].
23603         * elf/dl-support.c: Likewise.
23604         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23605         * elf/rtld.c (dl_main): Likewise.
23606         * elf/setup-vdso.h (setup_vdso): Likewise.
23607         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23608         * sysdeps/unix/sysv/linux/dl-sysdep.c
23609         (_dl_discover_osversion): Likewise.
23610
23611 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
23612
23613         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23614         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23615
23616 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23617
23618         * NEWS: Mention libm performance improvements and non-x86 PI
23619         futex support.
23620
23621         * csu/libc-start.c (__pthread_initialize_minimal): Change
23622         function arguments.
23623         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23624
23625 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
23626
23627         [BZ #13550]
23628         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23629         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23630         <bp-sym.h> and <bp-asm.h>.
23631         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23632         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23633         and <bp-asm.h>.
23634         (memcpy): Don't use BP_SYM.
23635         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23636         <bp-asm.h>.
23637         (__mpn_add_n): Don't use BP_SYM.
23638         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23639         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23640         and <bp-asm.h>.
23641         (__mpn_addmul_1): Don't use BP_SYM.
23642         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23643         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23644         <bp-sym.h>.
23645         (_setjmp): Don't use BP_SYM.
23646         (__novmx_setjmp): Likewise.
23647         (__GI__setjmp): Likewise.
23648         (__vmx_setjmp): Likewise.
23649         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23650         <bp-sym.h>.
23651         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23652         (__bzero): Don't use BP_SYM.
23653         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23654         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23655         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23656         <bp-sym.h> and <bp-asm.h>.
23657         (memcpy): Don't use BP_SYM.
23658         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23659         <bp-sym.h> and <bp-asm.h>.
23660         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23661         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23662         <bp-sym.h> and <bp-asm.h>.
23663         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23664         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23665         <bp-asm.h>.
23666         (__mpn_lshift): Don't use BP_SYM.
23667         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23668         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23669         <bp-asm.h>.
23670         (memset): Don't use BP_SYM.
23671         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23672         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23673         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23674         <bp-asm.h>.
23675         (__mpn_mul_1): Don't use BP_SYM.
23676         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23677         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23678         <bp-sym.h> and <bp-asm.h>.
23679         (memcmp): Don't use BP_SYM.
23680         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23681         <bp-sym.h> and <bp-asm.h>.
23682         (memcpy): Don't use BP_SYM.
23683         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23684         <bp-sym.h> and <bp-asm.h>.
23685         (memset): Don't use BP_SYM.
23686         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23687         <bp-sym.h> and <bp-asm.h>.
23688         (strncmp): Don't use BP_SYM.
23689         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23690         <bp-sym.h> and <bp-asm.h>.
23691         (memcpy): Don't use BP_SYM.
23692         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23693         <bp-sym.h> and <bp-asm.h>.
23694         (memset): Don't use BP_SYM.
23695         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23696         <bp-sym.h> and <bp-asm.h>.
23697         (__memchr): Don't use BP_SYM.
23698         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23699         <bp-sym.h> and <bp-asm.h>.
23700         (memcmp): Don't use BP_SYM.
23701         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23702         <bp-sym.h> and <bp-asm.h>.
23703         (memcpy): Don't use BP_SYM.
23704         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23705         <bp-sym.h> and <bp-asm.h>.
23706         (__mempcpy): Don't use BP_SYM.
23707         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23708         <bp-sym.h> and <bp-asm.h>.
23709         (__memrchr): Don't use BP_SYM.
23710         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23711         <bp-sym.h> and <bp-asm.h>.
23712         (memset): Don't use BP_SYM.
23713         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23714         <bp-sym.h> and <bp-asm.h>.
23715         (__rawmemchr): Don't use BP_SYM.
23716         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23717         <bp-sym.h> and <bp-asm.h>.
23718         (__STRCMP): Don't use BP_SYM.
23719         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23720         <bp-sym.h> and <bp-asm.h>.
23721         (strchr): Don't use BP_SYM.
23722         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23723         <bp-sym.h> and <bp-asm.h>.
23724         (__strchrnul): Don't use BP_SYM.
23725         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23726         <bp-sym.h> and <bp-asm.h>.
23727         (strlen): Don't use BP_SYM.
23728         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23729         <bp-sym.h> and <bp-asm.h>.
23730         (strncmp): Don't use BP_SYM.
23731         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23732         <bp-sym.h> and <bp-asm.h>.
23733         (__strnlen): Don't use BP_SYM.
23734         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23735         <bp-asm.h>.
23736         (__mpn_rshift): Don't use BP_SYM.
23737         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23738         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23739         <bp-sym.h> and <bp-asm.h>.
23740         (__sigsetjmp): Don't use BP_SYM.
23741         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23742         (L(start_addresses)): Don't use BP_SYM.
23743         (_start): Likewise.
23744         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23745         <bp-asm.h>.
23746         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23747         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23748         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23749         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23750         <bp-asm.h>.
23751         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23752         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23753         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23754         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23755         <bp-asm.h>.
23756         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23757         comments.
23758         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23759         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23760         <bp-asm.h>.
23761         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
23762         FIXME comments.
23763         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23764         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23765         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23766         <bp-asm.h>.
23767         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23768         comment.
23769         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23770         and <bp-asm.h>.
23771         (strncmp): Don't use BP_SYM,
23772         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23773         <bp-asm.h>.
23774         (__mpn_sub_n): Don't use BP_SYM.
23775         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23776         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23777         and <bp-asm.h>.
23778         (__mpn_submul_1): Don't use BP_SYM.
23779         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23781         <bp-sym.h> and <bp-asm.h>.
23782         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23784         <bp-sym.h> and <bp-asm.h>.
23785         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23786         comment.
23787
23788 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23789
23790         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23791         Use ZK to minimize writes to Z.
23792         (sub_magnitudes): Simplify code a bit.
23793         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23794         Use ZK to minimize writes to Z.
23795         (sub_magnitudes): Simplify code a bit.
23796
23797 2013-02-27  Roland McGrath  <roland@hack.frob.com>
23798
23799         * csu/gmon-start.c: Add special exception to license text.
23800
23801 2013-02-27  Richard Henderson  <rth@redhat.com>
23802
23803         * scripts/config.guess: Update from config.git.
23804         * scripts/config.sub: Likewise.
23805
23806 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23807
23808         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23809
23810         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23811
23812         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23813
23814         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23815
23816         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23817
23818 2013-02-26  Roland McGrath  <roland@hack.frob.com>
23819
23820         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23821         [$(build-shared = yes].
23822
23823 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23824
23825         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23826         (__mul): Reduce iterations for calculating mantissa.
23827
23828         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23829         MPTWO.
23830         (__mpranred): Likewise.
23831
23832         [BZ #15160]
23833         * malloc/memusagestat.c (main): Draw graphs for heap and stack
23834         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23835
23836 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
23837
23838         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23839         Define __attribute__.
23840
23841 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23842
23843         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23844         unused.
23845         * posix/regex_internal.h (__attribute): Remove.
23846         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23847         (re_string_context_at): Likewise.
23848         (bitset_not): Use __attribute__ and mark function as possibly
23849         unused.
23850         (bitset_merge): Likewise.
23851         (bitset_mask): Likewise.
23852         (re_string_char_size_at): Likewise.
23853         (re_string_wchar_at): Likewise.
23854         (re_string_elem_size_at): Likewise.
23855
23856 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23857
23858         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23859         code.
23860         (cc32): Likewise.
23861
23862         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23863         (__acr): Likewise.
23864         (__cpy): Likewise.
23865         (norm): Likewise.
23866         (denorm): Likewise.
23867         (__dbl_mp): Likewise.
23868         (add_magnitudes): Likewise.
23869         (sub_magnitudes): Likewise.
23870         (__mul): Likewise.
23871         (__inv): Likewise.
23872
23873         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23874         style.
23875
23876         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23877         style.
23878
23879         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23880         code.
23881
23882         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23883         up changes with default code.
23884         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23885         Likewise.
23886
23887 2013-02-24  Allan McRae  <allan@archlinux.org>
23888
23889         * manual/socket.texi (The Internet Namespace): Order menu items
23890         to match that in the file.
23891
23892         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23893         node listing of the info page menu.
23894
23895 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
23896
23897         [BZ #13550]
23898         * sysdeps/i386/bp-asm.h: Remove file.
23899         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23900         (PARMS): Do not use macros from bp-asm.h.
23901         (S1): Likewise.
23902         (S2): Likewise.
23903         (SIZE): Likewise.
23904         (__mpn_add_n): Do not use BP_SYM
23905         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23906         "bp-asm.h".
23907         (PARMS): Do not use macros from bp-asm.h.
23908         (S1): Likewise.
23909         (SIZE): Likewise.
23910         (__mpn_addmul_1): Do not use BP_SYM
23911         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23912         "bp-asm.h".
23913         (PARMS): Do not use macros from bp-asm.h.
23914         (SIGMSK): Likewise.
23915         (_setjmp): Likewise.  Do not use BP_SYM.
23916         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23917         "bp-asm.h".
23918         (PARMS): Do not use macros from bp-asm.h.
23919         (SIGMSK): Likewise.
23920         (setjmp): Likewise.  Do not use BP_SYM.
23921         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23922         "bp-asm.h".
23923         (PARMS): Do not use macros from bp-asm.h.
23924         (__frexp): Do not use BP_SYM.
23925         (frexp): Likewise.
23926         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23927         "bp-asm.h".
23928         (PARMS): Do not use macros from bp-asm.h.
23929         (__frexpf): Do not use BP_SYM.
23930         (frexpf): Likewise.
23931         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23932         "bp-asm.h".
23933         (PARMS): Do not use macros from bp-asm.h.
23934         (__frexpl): Do not use BP_SYM.
23935         (frexpl): Likewise.
23936         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23937         "bp-asm.h".
23938         (PARMS): Do not use macros from bp-asm.h.
23939         (__remquo): Do not use BP_SYM.
23940         (remquo): Likewise.
23941         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23942         "bp-asm.h".
23943         (PARMS): Do not use macros from bp-asm.h.
23944         (__remquof): Do not use BP_SYM.
23945         (remquof): Likewise.
23946         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23947         "bp-asm.h".
23948         (PARMS): Do not use macros from bp-asm.h.
23949         (__remquol): Do not use BP_SYM.
23950         (remquol): Likewise.
23951         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23952         "bp-asm.h".
23953         (PARMS): Do not use macros from bp-asm.h.
23954         (DEST): Likewise.
23955         (SRC): Likewise.
23956         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
23957         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23958         "bp-asm.h".
23959         (PARMS): Do not use macros from bp-asm.h.
23960         (strlen): Do not use BP_SYM.
23961         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23962         "bp-asm.h".
23963         (PARMS): Do not use macros from bp-asm.h.
23964         (S1): Likewise.
23965         (S2): Likewise.
23966         (SIZE): Likewise.
23967         (__mpn_add_n): Do not use BP_SYM.
23968         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23969         "bp-asm.h".
23970         (PARMS): Do not use macros from bp-asm.h.
23971         (S1): Likewise.
23972         (SIZE): Likewise.
23973         (__mpn_addmul_1): Do not use BP_SYM.
23974         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23975         weak_alias.
23976         (bzero): Likewise.
23977         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23978         "bp-asm.h".
23979         (PARMS): Do not use macros from bp-asm.h.
23980         (S): Likewise.
23981         (SIZE): Likewise.
23982         (__mpn_lshift): Do not use BP_SYM.
23983         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23984         "bp-asm.h".
23985         (PARMS): Do not use macros from bp-asm.h.
23986         (DEST): Likewise.
23987         (SRC): Likewise.
23988         (LEN): Likewise.
23989         (memcpy): Likewise.  Do not use BP_SYM.
23990         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23991         libc_hidden_def and weak_alias.
23992         (mempcpy): Do not use BP_SYM in weak_alias.
23993         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23994         "bp-asm.h".
23995         (PARMS): Do not use macros from bp-asm.h.
23996         (DEST): Likewise.
23997         (LEN): Likewise.
23998         [!BZERO_P] (CHR): Likewise.
23999         (memset): Likewise.  Do not use BP_SYM.
24000         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24001         "bp-asm.h".
24002         (PARMS): Do not use macros from bp-asm.h.
24003         (S1): Likewise.
24004         (SIZE): Likewise.
24005         (__mpn_mul_1): Do not use BP_SYM.
24006         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24007         "bp-asm.h".
24008         (PARMS): Do not use macros from bp-asm.h.
24009         (S): Likewise.
24010         (SIZE): Likewise.
24011         (__mpn_rshift): Do not use BP_SYM.
24012         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24013         "bp-asm.h".
24014         (PARMS): Do not use macros from bp-asm.h.
24015         (STR): Likewise.
24016         (CHR): Likewise.
24017         (strchr): Likewise.  Do not use BP_SYM.
24018         (index): Do not use BP_SYM in weak_alias.
24019         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24020         "bp-asm.h".
24021         (PARMS): Do not use macros from bp-asm.h.
24022         (DEST): Likewise.
24023         (SRC): Likewise.
24024         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
24025         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24026         "bp-asm.h".
24027         (PARMS): Do not use macros from bp-asm.h.
24028         (strlen): Do not use BP_SYM.
24029         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24030         "bp-asm.h".
24031         (PARMS): Do not use macros from bp-asm.h.
24032         (S1): Likewise.
24033         (S2): Likewise.
24034         (SIZE): Likewise.
24035         (__mpn_sub_n): Do not use BP_SYM.
24036         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24037         "bp-asm.h".
24038         (PARMS): Do not use macros from bp-asm.h.
24039         (S1): Likewise.
24040         (SIZE): Likewise.
24041         (__mpn_submul_1): Do not use BP_SYM.
24042         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24043         "bp-asm.h".
24044         (PARMS): Do not use macros from bp-asm.h.
24045         (S1): Likewise.
24046         (S2): Likewise.
24047         (SIZE): Likewise.
24048         (__mpn_add_n): Do not use BP_SYM.
24049         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24050         weak_alias.
24051         (bzero): Likewise.
24052         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24053         "bp-asm.h".
24054         (PARMS): Do not use macros from bp-asm.h.
24055         (BLK2): Likewise.
24056         (LEN): Likewise.
24057         (memcmp): Do not use BP_SYM.
24058         (bcmp): Do not use BP_SYM in weak_alias.
24059         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24060         "bp-asm.h".
24061         (PARMS): Do not use macros from bp-asm.h.
24062         (DEST): Likewise.
24063         (SRC): Likewise.
24064         (LEN): Likewise.
24065         (memcpy): Likewise.  Do not use BP_SYM.
24066         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24067         "bp-asm.h".
24068         (PARMS): Do not use macros from bp-asm.h.
24069         (DEST): Likewise.
24070         (SRC): Likewise.
24071         (LEN): Likewise.
24072         (memmove): Likewise.  Do not use BP_SYM.
24073         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24074         "bp-asm.h".
24075         (PARMS): Do not use macros from bp-asm.h.
24076         (DEST): Likewise.
24077         (SRC): Likewise.
24078         (LEN): Likewise.
24079         (__mempcpy): Likewise.  Do not use BP_SYM.
24080         (mempcpy): Do not use BP_SYM in weak_alias.
24081         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24082         "bp-asm.h".
24083         (PARMS): Do not use macros from bp-asm.h.
24084         (DEST): Likewise.
24085         (LEN): Likewise.
24086         [!BZERO_P] (CHR): Likewise.
24087         (memset): Likewise.  Do not use BP_SYM.
24088         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24089         "bp-asm.h".
24090         (PARMS): Do not use macros from bp-asm.h.
24091         (STR2): Likewise.
24092         (strcmp): Do not use BP_SYM.
24093         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24094         "bp-asm.h".
24095         (PARMS): Do not use macros from bp-asm.h.
24096         (STR): Likewise.
24097         (DELIM): Likewise.
24098         [USE_AS_STRTOK_R] (SAVE): Likewise.
24099         (FUNCTION): Likewise.  Do not use BP_SYM.
24100         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24101         aliases.
24102         (strtok_r): Likewise.
24103         (__GI___strtok_r): Likewise.
24104         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24105         (PARMS): Do not use macros from bp-asm.h.
24106         (S): Likewise.
24107         (SIZE): Likewise.
24108         (__mpn_lshift): Do not use BP_SYM.
24109         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24110         (PARMS): Do not use macros from bp-asm.h.
24111         (STR): Likewise.
24112         (CHR): Likewise.
24113         (__memchr): Do not use BP_SYM.
24114         (memchr): Do not use BP_SYM in weak_alias.
24115         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24116         (PARMS): Do not use macros from bp-asm.h.
24117         (BLK2): Likewise.
24118         (LEN): Likewise.
24119         (memcmp): Do not use BP_SYM.
24120         (bcmp): Do not use BP_SYM in weak_alias.
24121         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24122         (PARMS): Do not use macros from bp-asm.h.
24123         (S1): Likewise.
24124         (SIZE): Likewise.
24125         (__mpn_mul_1): Do not use BP_SYM.
24126         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24127         "bp-asm.h".
24128         (PARMS): Do not use macros from bp-asm.h.
24129         (STR): Likewise.
24130         (CHR): Likewise.
24131         (__rawmemchr): Do not use BP_SYM.
24132         (rawmemchr): Do not use BP_SYM in weak_alias.
24133         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24134         (PARMS): Do not use macros from bp-asm.h.
24135         (S): Likewise.
24136         (SIZE): Likewise.
24137         (__mpn_rshift): Do not use BP_SYM.
24138         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24139         (PARMS): Do not use macros from bp-asm.h.
24140         (SIGMSK): Likewise.
24141         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24142         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24143         (_start): Do not use BP_SYM.
24144         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24145         (PARMS): Do not use macros from bp-asm.h.
24146         (DEST): Likewise.
24147         (SRC): Likewise.
24148         (__stpcpy): Likewise.  Do not use BP_SYM.
24149         (stpcpy): Do not use BP_SYM in weak_alias.
24150         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24151         "bp-asm.h".
24152         (PARMS): Do not use macros from bp-asm.h.
24153         (DEST): Likewise.
24154         (SRC): Likewise.
24155         (LEN): Likewise.
24156         (__stpncpy): Likewise.  Do not use BP_SYM.
24157         (stpncpy): Do not use BP_SYM in weak_alias.
24158         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24159         (PARMS): Do not use macros from bp-asm.h.
24160         (STR): Likewise.
24161         (CHR): Likewise.
24162         (strchr): Likewise.  Do not use BP_SYM.
24163         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24164         "bp-asm.h".
24165         (PARMS): Do not use macros from bp-asm.h.
24166         (STR): Likewise.
24167         (CHR): Likewise.
24168         (__strchrnul): Likewise.  Do not use BP_SYM.
24169         (strchrnul): Do not use BP_SYM in weak_alias.
24170         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24171         "bp-asm.h".
24172         (PARMS): Do not use macros from bp-asm.h.
24173         (STOP): Likewise.
24174         (strcspn): Do not use BP_SYM.
24175         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24176         "bp-asm.h".
24177         (PARMS): Do not use macros from bp-asm.h.
24178         (STR): Likewise.
24179         (STOP): Likewise.
24180         (strpbrk): Likewise.  Do not use BP_SYM.
24181         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24182         "bp-asm.h".
24183         (PARMS): Do not use macros from bp-asm.h.
24184         (STR): Likewise.
24185         (CHR): Likewise.
24186         (strrchr): Likewise.  Do not use BP_SYM.
24187         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24188         (PARMS): Do not use macros from bp-asm.h.
24189         (SKIP): Likewise.
24190         (strspn): Do not use BP_SYM.
24191         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24192         (PARMS): Do not use macros from bp-asm.h.
24193         (STR): Likewise.
24194         (DELIM): Likewise.
24195         (SAVE): Likewise.
24196         (FUNCTION): Likewise.  Do not use BP_SYM.
24197         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24198         aliases.
24199         (strtok_r): Likewise.
24200         (__GI___strtok_r): Likewise.
24201         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24202         (PARMS): Do not use macros from bp-asm.h.
24203         (S1): Likewise.
24204         (S2): Likewise.
24205         (SIZE): Likewise.
24206         (__mpn_sub_n): Do not use BP_SYM.
24207         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24208         "bp-asm.h".
24209         (PARMS): Do not use macros from bp-asm.h.
24210         (S1): Likewise.
24211         (SIZE): Likewise.
24212         (__mpn_submul_1): Do not use BP_SYM.
24213         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24214         <bp-sym.h>.
24215         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24216         and <bp-asm.h>.
24217         (PARMS): Do not use macros from bp-asm.h.
24218         (FLAGS): Likewise.
24219         (PTID): Likewise.
24220         (TLS): Likewise.
24221         (CTID): Likewise.
24222         (__clone): Do not use BP_SYM.
24223         (clone): Do not use BP_SYM in weak_alias.
24224         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24225         and <bp-asm.h>.
24226         (PARMS): Do not use macros from bp-asm.h.
24227         (LEN): Likewise.
24228         (__mmap64): Do not use BP_SYM.
24229         (mmap64): Do not use BP_SYM in weak_alias.
24230         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24231         <bp-sym.h> and <bp-asm.h>.
24232         (PARMS): Do not use macros from bp-asm.h.
24233         (__posix_fadvise64_l64): Do not use BP_SYM.
24234         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24235         (PARMS): Do not use macros from bp-asm.h.
24236         (NSOPS): Likewise.
24237         (semtimedop): Do not use BP_SYM.
24238         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24239         and <bp-asm.h>.
24240
24241 2013-02-21  Allan McRae  <allan@archlinux.org>
24242
24243         * manual/message.texi (Charset conversion in gettext):
24244         Move @end statement to beginning of line.
24245
24246 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24247
24248         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24249         static.
24250         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24251         Likewise.
24252
24253         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24254         (denorm): Likewise.
24255         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24256         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24257
24258 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24259
24260         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24261         tail-call to the resolved function if pltexit isn't needed.
24262
24263 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24264
24265         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24266         or Y being zero as being unlikely.
24267         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24268         Likewise.
24269
24270 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24271
24272         * manual/nss.texi (System Databases and Name Service Switch):
24273         Remove frobnicate @pxref.
24274
24275 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24276
24277         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24278         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24279
24280 2013-02-20  Petr Machata  <pmachata@redhat.com>
24281
24282         * elf/elf.h (R_ARM_TARGET1): New macro.
24283         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24284         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24285         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24286         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24287         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24288         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24289         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24290         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24291         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24292         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24293         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24294         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24295         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24296         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24297         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24298         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24299         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24300         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24301         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24302         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24303         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24304         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24305         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24306         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24307         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24308         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24309         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24310         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24311         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24312         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24313         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24314         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24315         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24316         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24317         (R_ARM_THM_GOT_BREL12): Likewise.
24318         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24319         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24320         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24321         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24322         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24323         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24324         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24325         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24326         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24327
24328 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24329
24330         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24331         __attribute_used__ to __attribute__ ((unused)).
24332
24333 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24334
24335         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24336         powerpc mpa.c.
24337         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24338         comment formatting.
24339         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24340
24341 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24342
24343         [BZ #13550]
24344         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24345         Remove macro.
24346         (ENTER): Remove both macro definitions.
24347         (LEAVE): Likewise.
24348         (CHECK_BOUNDS_LOW): Likewise.
24349         (CHECK_BOUNDS_HIGH): Likewise.
24350         (CHECK_BOUNDS_BOTH): Likewise.
24351         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24352         (RETURN_BOUNDED_POINTER): Likewise.
24353         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24354         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24355         (POP_ERRNO_LOCATION_RETURN): Likewise.
24356         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24357         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24358         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24359         macros.
24360         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24361         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24362         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24363         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24364         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24365         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24366         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24367         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24368         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24369         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24370         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24371         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24372         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24373         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24374         removed macros.
24375         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24376         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24377         macros.
24378         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24379         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24380         * sysdeps/i386/i586/memset.S (memset): Likewise.
24381         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24382         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24383         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24384         macros.
24385         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24386         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24387         Change uses of L(2) to L(out).
24388         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24389         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24390         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24391         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24392         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24393         removed macros.
24394         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24395         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24396         macros.
24397         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24398         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24399         (RETURN): Do not use macro LEAVE.
24400         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24401         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24402         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24403         * sysdeps/i386/i686/memset.S (memset): Likewise.
24404         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24405         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24406         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24407         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24408         Likewise.
24409         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24410         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24411         L(1_2) and L(1_3) into L(1).
24412         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24413         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24414         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24415         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24416         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24417         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24418         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24419         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24420         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24421         macros.
24422         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24423         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24424         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24425         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24426         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24427         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24428         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24429         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24430         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24431         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24432         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24433         * sysdeps/i386/strspn.S (strspn): Likewise.
24434         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24435         conditional code.
24436         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24437         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24438         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24439         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24440         L(1_3) into L(1_1).
24441         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24442         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24443         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24444         macros.
24445         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24446
24447 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24448
24449         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24450         macro.
24451
24452 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24453
24454         * math/atest-exp.c (exp_mpn): Remove ROUND.
24455         * math/atest-exp2.c (exp_mpn): Likewise.
24456         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24457
24458         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24459         * stdlib/tst-tls-atexit-lib.c: Likewise.
24460         * stdlib/tst-tls-atexit.c: Likewise.
24461
24462 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24463
24464         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24465         and __attribute_alloc_size__.
24466
24467 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24468
24469         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24470         __attribute_alloc_size__.
24471         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24472         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24473
24474 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24475
24476         * include/programs/xmalloc.h: New file.
24477         * catgets/gencat.c: Include it.
24478         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24479         * elf/pldd.c: Likewise.
24480         * iconv/iconv_charmap.c: Likewise.
24481         * iconv/iconvconfig.c: Likewise.
24482         * iconv/strtab.c: Likewise.
24483         * locale/programs/locale.c: Likewise.
24484         * locale/programs/localedef.h: Likewise.
24485         * locale/programs/simple-hash.c: Likewise.
24486         * nscd/nscd.h: Likewise.
24487         * nss/makedb.c: Likewise.
24488         * sysdeps/generic/ldconfig.h: Likewise.
24489
24490 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24491
24492         * Versions.def: Add GLIBC_2.18.
24493         * include/link.h (struct link_map): New member l_tls_dtor_count.
24494         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24495         (__call_tls_dtors): Likewise.
24496         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24497         __cxa_thread_atexit_impl.
24498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24499         Likewise.
24500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24501         Likewise.
24502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24503         Likewise.
24504         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24505         Likewise.
24506         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24507         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24508         Likewise.
24509         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24510         Likewise.
24511         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24512         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24513         Likewise.
24514         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24515         (tests): Add test case tst-tls-atexit.
24516         (modules-names): Add shared library for tst-tls-atexit.
24517         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24518         (GLIBC_PRIVATE): Add __call_tls_dtors.
24519         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24520         for libstdc++.
24521         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24522         * stdlib/tst-tls-atexit.c: New test case.
24523         * stdlib/tst-tls-atexit-lib.c: New test case.
24524
24525         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24526
24527         * elf/Versions (ld): Add _dl_find_dso_for_object.
24528         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24529         * elf/dl-open.c (_dl_find_dso_for_object): New function.
24530         (dl_open_worker): Use _dl_find_dso_for_object.
24531         * elf/dl-sym.c (do_sym): Likewise.
24532         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24533
24534 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24535
24536         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24537         Syntactic changes only.
24538         (_dl_runtime_profile): Do a tail-call to the resolved function.
24539
24540 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
24541
24542         [BZ #13550]
24543         * sysdeps/x86_64/bp-asm.h: Remove file.
24544         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24545         <bp-sym.h> and <bp-asm.h>.
24546         (__clone): Do not use BP_SYM.
24547         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24548         <bp-sym.h> and <bp-asm.h>.
24549         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24550         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24551         "bp-asm.h".
24552         (_setjmp): Do not use BP_SYM.
24553         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24554         "bp-asm.h".
24555         (setjmp): Do not use BP_SYM.
24556         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24557         libc_hidden_def.
24558         (mempcpy): Do not use BP_SYM in weak_alias.
24559         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24560         "bp-asm.h".
24561         (strchr): Do not use BP_SYM.
24562         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24563         "bp-asm.h".
24564         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24565         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24566         (_start): Do not use BP_SYM.
24567         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24568         "bp-asm.h".
24569         (strcat): Do not use BP_SYM.
24570         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24571         "bp-asm.h".
24572         (STRCMP): Do not use BP_SYM.
24573         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24574         "bp-asm.h".
24575         (STRCPY): Do not use BP_SYM.
24576         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24577         "bp-asm.h".
24578         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24579         "bp-asm.h".
24580         (FUNCTION): Do not use BP_SYM.
24581         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24582         weak_alias.
24583         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24584
24585 2013-02-17  Andreas Jaeger  <aj@suse.de>
24586
24587         * time/Versions: Sort entries.
24588         * string/Versions: Likewise.
24589         * resolv/Versions: Likewise.
24590         * posix/Versions: Likewise.
24591         * iconv/Versions: Likewise.
24592         * elf/Versions: Likewise.
24593         * wcsmbs/Versions: Likewise.
24594
24595 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24596
24597         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24598         loop termination condition.
24599
24600         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24601         variable to calculate EZ.
24602         (__sqr): Likewise.
24603
24604         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24605         the lower precision input.
24606
24607 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
24608
24609         [BZ #13550]
24610         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24611         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24612         (run-via-rtld-prefix): Do not handle %-bp tests.
24613         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24614         (all-object-suffixes): Remove .ob.
24615         (bppfx): Remove variable.
24616         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24617         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24618         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24619         [$(build-bounded) = yes] (libtype.ob): Likewise.
24620         * Makerules (elide-routines.ob): Remove variable.
24621         (do-tests-clean): Do not handle *-bp.out.
24622         (common-mostlyclean): Do not handle *-bp and *-bp.out.
24623         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24624         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24625         (tests): Do not include $(tests-bp.out).
24626         (xtests): Do not include $(xtests-bp.out).
24627         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24628         [$(build-bounded) = yes] ($(addprefix
24629         $(objpfx),$(binaries-bounded))): Remove rule.
24630         ($(objpfx)%-bp.out): Remove rule.
24631         * config.make.in (build-bounded): Remove variable.
24632         * crypt/Makefile [$(build-bounded) = yes]
24633         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24634         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24635         append to variable.
24636         [$(build-bounded) = yes] (install-lib): Likewise.
24637         [$(build-bounded) = yes] (generated): Likewise.
24638         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24639         Remove rule.
24640         * intl/Makefile [$(build-bounded) = yes]
24641         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24642         * math/Makefile [$(build-bounded) = yes]
24643         ($(tests:%=$(objpfx)%-bp): Likewise.
24644         * misc/Makefile [$(build-bounded) = yes]
24645         ($(objpfx)tst-tsearch-bp): Likewise.
24646         * nptl/Makeconfig (bounded-thread-library): Remove variable.
24647         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24648         Remove dependency.
24649         * string/Makefile (o-objects.ob): Remove variable.
24650         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24651         (CFLAGS-.ob): Remove variable.
24652         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24653         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24654         both definitions of variable.
24655         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24656         (ASFLAGS-.ob): Remove variable.
24657
24658 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
24659
24660         [BZ #13550]
24661         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24662         Remove __BOUNDED_POINTERS__ from condition.
24663         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24664         * string/bits/string2.h [!__NO_STRING_INLINES &&
24665         !__BOUNDED_POINTERS__]: Likewise.
24666         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24667         Likewise.
24668         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24669         Remove conditional code.
24670         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24671         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24672         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24673         condition.
24674
24675         [BZ #13550]
24676         * csu/libc-start.c: Do not include <bp-sym.h>.
24677         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24678         * elf/dl-open.c: Do not include <bp-sym.h>.
24679         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24680         * math/fegetenv.c: Do not include <bp-sym.h>.
24681         (fegetenv): Do not use BP_SYM in versioned symbols.
24682         * nptl/sysdeps/pthread/bits/libc-lockP.h
24683         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24684         <bp-sym.h>.
24685         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24686         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24687         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24688         (__pthread_mutex_destroy): Likewise.
24689         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24690         (__pthread_mutex_lock): Likewise.
24691         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24692         (__pthread_mutex_trylock): Likewise.
24693         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24694         (__pthread_mutex_unlock): Likewise.
24695         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24696         (__pthread_mutexattr_init): Likewise.
24697         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24698         (__pthread_mutexattr_destroy): Likewise.
24699         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24700         (__pthread_mutexattr_settype): Likewise.
24701         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24702         (__pthread_rwlock_init): Likewise.
24703         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24704         (__pthread_rwlock_destroy): Likewise.
24705         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24706         (__pthread_rwlock_rdlock): Likewise.
24707         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24708         (__pthread_rwlock_tryrdlock): Likewise.
24709         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24710         (__pthread_rwlock_wrlock): Likewise.
24711         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24712         (__pthread_rwlock_trywrlock): Likewise.
24713         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24714         (__pthread_rwlock_unlock): Likewise.
24715         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24716         (__pthread_key_create): Likewise.
24717         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24718         (__pthread_setspecific): Likewise.
24719         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24720         (__pthread_getspecific): Likewise.
24721         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24722         Likewise.
24723         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24724         (_pthread_cleanup_push_defer): Likewise.
24725         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24726         (_pthread_cleanup_pop_restore): Likewise.
24727         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24728         (pthread_setcancelstate): Likewise.
24729         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24730         <bp-sym.h>.
24731         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24732         (memchr): Do not use BP_SYM in weak_alias.
24733         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24734         (fegetenv): Do not use BP_SYM in versioned symbols.
24735         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24736         (fesetenv): Do not use BP_SYM in versioned symbols.
24737         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24738         (feupdateenv): Do not use BP_SYM in versioned symbols.
24739         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24740         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24741         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24742         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24743         (open64): Do not use BP_SYM in weak_alias.
24744         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24745         (fegetenv): Do not use BP_SYM in versioned symbols.
24746         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24747         (fesetenv): Do not use BP_SYM in versioned symbols.
24748         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24749         (feupdateenv): Do not use BP_SYM in versioned symbols.
24750         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24751         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24752         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24753         (feraiseexcept): Do not use BP_SYM in versioned symbols.
24754         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24755         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24756         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24757         <bp-sym.h>.
24758         (__libc_start_main): Do not use BP_SYM.
24759
24760 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24761
24762         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24763         redundant return line.
24764         (norm): Likewise.
24765         (denorm): Likewise.
24766         (dbl_mp): Likewise.
24767         (sub_magnitudes): Likewise.
24768         (__add): Likewise.
24769         (__sub): Likewise.
24770         (__mul): Likewise.
24771         (__inv): Likewise.
24772         (__dvd): Likewise.
24773         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24774         (norm): Likewise.
24775         (denorm): Likewise.
24776         (dbl_mp): Likewise.
24777         (sub_magnitudes): Likewise.
24778         (__add): Likewise.
24779         (__sub): Likewise.
24780         (__mul): Likewise.
24781         (__inv): Likewise.
24782         (__dvd): Likewise.
24783
24784         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24785         instead of __mul.
24786         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24787         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24788         (cc32): Likewise.
24789
24790         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24791         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24792         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24793         of __mul for squares.
24794         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24795         function
24796         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24797         Likewise.
24798         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24799         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24800
24801 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
24802
24803         [BZ #13550]
24804         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24805         code.
24806         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24807         prototype or function definition.  Rename ubp_* variables and
24808         parameters.  Remove argv definitions conditional on
24809         [__BOUNDED_POINTERS__].
24810         * debug/backtrace.c (__backtrace): Do not use __unbounded.
24811         * elf/dl-runtime.c (_dl_fixup): Likewise.
24812         * include/set-hooks.h (RUN_HOOK): Likewise.
24813         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24814         definition.
24815         * string/strcpy.c (strcpy): Do not use __unbounded.
24816         * sysdeps/generic/frame.h (struct layout): Likewise.
24817         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24818         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24819         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24820         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24821         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24822         (__backtrace): Likewise.
24823         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24824         use __ptrvalue.
24825         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24826         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24827         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24828         Likewise.
24829         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24830         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24831         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24832         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24833         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24834         Do not use __unbounded.
24835         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24836         Rename __unboundedrlimits parameter to rlimits in prototype.
24837         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24838         Do not use __unbounded.
24839         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24840         not use __ptrvalue.
24841         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24842         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24843         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24844         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24845         __ptrvalue or __unbounded.
24846         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24847         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24848         use __unbounded.
24849         (__new_msgctl): Do not use __ptrvalue.
24850         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24851         __unbounded.
24852         (__libc_msgrcv): Do not use __ptrvalue.
24853         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24854         startup_info): Do not use __unbounded.
24855         (__libc_start_main): Likewise.  Rename ubp_* variables and
24856         parameters.  Remove argv definitions conditional on
24857         [__BOUNDED_POINTERS__].
24858         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24859         __ptrvalue.
24860         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24861         use __unbounded.
24862         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24863         or __ptrvalue.
24864         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24865         use __unbounded.
24866         (__new_shmctl): Do not use __ptrvalue.
24867         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24868         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24869         Likewise.
24870         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24871         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24872         (__libc_sigaction): Likewise.
24873         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24874         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24875         Likewise.
24876         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24877
24878 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
24879
24880         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24881
24882         * string/mempcpy.c: Implement by calling memcpy.
24883
24884 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24885
24886         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24887
24888         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24889         evaluation.
24890
24891         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24892         values in the mantissa.
24893
24894         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24895         minimize writes to Z.
24896         (sub_magnitudes): Simplify code a bit.
24897
24898 2013-02-12  Roland McGrath  <roland@hack.frob.com>
24899
24900         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24901         from the message.  The linker prefixes all warnings with that already.
24902
24903 2013-02-12  Andreas Schwab  <schwab@suse.de>
24904
24905         [BZ #15078]
24906         * posix/regexec.c (extend_buffers): Add parameter min_len.
24907         (check_matching): Pass minimum needed length.
24908         (clean_state_log_if_needed): Likewise.
24909         (get_subexp): Likewise.
24910         * posix/Makefile (tests): Add bug-regex34.
24911         (bug-regex34-ENV): Define.
24912         * posix/bug-regex34.c: New file.
24913
24914         [BZ #11561]
24915         * posix/regcomp.c (parse_bracket_exp): When looking up collating
24916         elements compare against the byte sequence of it, not its name.
24917         * posix/Makefile (tests): Add bug-regex35.
24918         (bug-regex35-ENV): Define.
24919         * posix/bug-regex35.c: New file.
24920
24921 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24922
24923         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
24924         comment.
24925         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24926         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24927         (CHECK_EOL): Add undef.
24928
24929 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
24930
24931         * bits/stdlib-bsearch.h: New file.
24932         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24933         * stdlib/stdlib.h: Likewise.
24934
24935 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24936
24937         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24938         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24939         declaration.
24940         * manual/search.texi (Array Search Function): Add missing const in
24941         lfind prototype.
24942         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24943         declaration to use rlim_t.
24944         (Basic Scheduling Functions): Remove erroneous const from
24945         sched_getparam prototype.  Remove erroneous * from
24946         sched_get_priority_max and sched_get_priority_min prototypes.
24947         (Resource Usage): Fix summary @comment on vtimes to refer to
24948         sys/vtimes.h rather than vtimes.h.
24949         Add missing *s in vtimes prototype.
24950         (Limits on Resources): Fix ulimit prototype to return long int.
24951         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24952         prototypes to use long int rather than double.
24953         (BSD Random): Fix initstate and setstate to use char *, not void *.
24954         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24955         prototype to make second argument 'struct aiocb64 *const[]'.
24956         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24957         (Status of AIO Operations): Remove erroneous const in aio_return and
24958         aio_return64 prototypes.
24959         (Synchronizing I/O): Fix sync prototype to return void.
24960         * manual/startup.texi (Suboptions): Remove an erroneous const in
24961         getsubopt prototype.
24962         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24963         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24964         use size_t rather than int.
24965         (Scanning All Users): Likewise for getpwent_r.
24966         (Setting Groups): Add missing const to setgroups prototype.
24967         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24968         * manual/socket.texi (Host Names): Fix gethostbyaddr and
24969         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24970         'const void *' rather than 'const char *'.
24971         (Host Address Functions): Likewise for inet_ntop.
24972         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24973         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24974         ssize_t for return value.
24975         (Sending Data): Likewise for send, sendto, sendmsg.
24976         (Socket Option Functions): Add a missing const in setsockopt prototype.
24977         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24978         use wchar_t for the argument.
24979         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24980         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24981         take no arguments.
24982         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24983         double/float/long double for second argument.
24984         Fix return types of significand, significandf, significandl.
24985         * manual/filesys.texi (Setting Permissions): Use mode_t for second
24986         argument in fchmod prototype.
24987         (File Owner): Use uid_t and gid_t in fchown prototype.
24988         (File Times): Add const to utimes, futimes, and lutimes prototypes.
24989         (Making Special Files): Use mode_t and dev_t in mknod prototype.
24990         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24991         use 'const struct dirent **' as argument types to CMP function pointer
24992         argument.
24993         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24994         (File Times): Fix summary magic @comment for struct utimbuf and utime
24995         to refer to utime.h, not time.h.
24996         * manual/string.texi (Argz Functions): Add missing const in
24997         argz_extract and argz_next prototypes.
24998         (Finding Tokens in a String): Likewise for basename.
24999         (String/Array Comparison): Fix typo in wcscasecmp prototype.
25000         (Copying and Concatenation): Fix typo in wmemmove prototype.
25001         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25002         (Signal Stack): Remove erroneous const in sigstack prototype.
25003         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25004         prototype.
25005         (Simple Calendar Time): Likewise for stime.
25006         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25007         prototype.
25008         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25009         say sys/sysctl.h instead.
25010         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25011         and vsyslog prototypes.
25012
25013 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25014
25015         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25016         Remove.
25017
25018 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25019
25020         * misc/sys/mman.h: Fix typo in mremap comment.
25021
25022 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25023
25024         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25025         the '\0' terminator.
25026
25027 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25028
25029         [BZ #13550]
25030         * debug/segfault.c: Don't include <bp-checks.h>.
25031         * sysdeps/generic/bp-checks.h: Remove file.
25032         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25033         (__GETDENTS): Don't use CHECK_N.
25034         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25035         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25036         (__getgroups): Don't use CHECK_N.
25037         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25038         (setgroups): Don't use CHECK_N.
25039         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25040         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25041         (__libc_msgrcv): Don't use CHECK_N.
25042         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25043         (__libc_msgsnd): Don't use CHECK_N.
25044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25045         <bp-checks.h>.
25046         (__libc_pread): Don't use CHECK_N.
25047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25048         include <bp-checks.h>.
25049         (__libc_pread64): Don't use CHECK_N.
25050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25051         include <bp-checks.h>.
25052         (__libc_pwrite): Don't use CHECK_N.
25053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25054         include <bp-checks.h>.
25055         (__libc_pwrite64): Don't use CHECK_N.
25056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25057         <bp-checks.h>.
25058         (__libc_pread): Don't use CHECK_N.
25059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25060         include <bp-checks.h>.
25061         (__libc_pread64): Don't use CHECK_N.
25062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25063         include <bp-checks.h>.
25064         (__libc_pwrite): Don't use CHECK_N.
25065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25066         include <bp-checks.h>.
25067         (__libc_pwrite64): Don't use CHECK_N.
25068         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25069         (do_pread): Don't use CHECK_N.
25070         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25071         (do_pread64): Don't use CHECK_N.
25072         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25073         (do_pwrite): Don't use CHECK_N.
25074         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25075         (do_pwrite64): Don't use CHECK_N.
25076         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25077         (__libc_readv): Don't use CHECK_N.
25078         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25079         (semop): Don't use CHECK_N.
25080         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25081         <bp-checks.h>.
25082         (semtimedop): Don't use CHECK_N.
25083         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25084         (__libc_pread): Don't use CHECK_N.
25085         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25086         <bp-checks.h>.
25087         (__libc_pread64): Don't use CHECK_N.
25088         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25089         <bp-checks.h>.
25090         (__libc_pwrite): Don't use CHECK_N.
25091         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25092         <bp-checks.h>.
25093         (__libc_pwrite64): Don't use CHECK_N.
25094         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25095         <bp-checks.h>.
25096         (__libc_msgrcv): Don't use CHECK_N.
25097         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25098         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25099         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25100         (__libc_writev): Don't use CHECK_N.
25101
25102 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25103
25104         * string/strcpy.c: Removed unused variable.
25105
25106         * Makeconfig (+sysdep-includes): Define with := rather than =.
25107         Use an existing include/ subdir of each sysdeps dir before it.
25108
25109 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25110
25111         * nscd/connection.c (register_traced_file): Comment function.
25112         [HAVE_INOTIFY] (union __inev): Define.
25113         [HAVE_INOTIFY] (inotify_check_files): New function.
25114         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25115         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25116         clear_db_cache.
25117         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25118
25119 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25120
25121         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25122         loaded if not already and that a failure is permanent.
25123
25124 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25125
25126         [BZ #15006]
25127         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25128         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25129
25130 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25131
25132         [BZ #13550]
25133         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25134         (CHECK_1_NULL_OK): Likewise.
25135         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25136         (__fxstat): Do not use CHECK_1.
25137         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25138         <bp-checks.h>.
25139         (___fxstat64): Do not use CHECK_1.
25140         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25141         <bp-checks.h>.
25142         (__fxstatat): Do not use CHECK_1.
25143         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25144         <bp-checks.h>.
25145         (__fxstatat64): Do not use CHECK_1.
25146         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25147         <bp-checks.h>.
25148         (__fxstat): Do not use CHECK_1.
25149         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25150         <bp-checks.h>.
25151         (__fxstatat): Do not use CHECK_1.
25152         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25153         <bp-checks.h>.
25154         (__getresgid): Do not use CHECK_1.
25155         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25156         <bp-checks.h>.
25157         (__getresuid): Do not use CHECK_1.
25158         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25159         <bp-checks.h>.
25160         (__lxstat): Do not use CHECK_1.
25161         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25162         <bp-checks.h>.
25163         (__old_msgctl): Do not use CHECK_1.
25164         (__new_msgctl): Likewise.
25165         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25166         <bp-checks.h>.
25167         (__new_setrlimit): Do not use CHECK_1.
25168         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25169         <bp-checks.h>.
25170         (__old_shmctl): Do not use CHECK_1.
25171         (__new_shmctl): Likewise.
25172         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25173         <bp-checks.h>.
25174         (__xstat): Do not use CHECK_1.
25175         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25176         (__lxstat): Do not use CHECK_1.
25177         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25178         <bp-checks.h>.
25179         (___lxstat64): Do not use CHECK_1.
25180         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25181         (__old_msgctl): Do not use CHECK_1.
25182         (__new_msgctl): Likewise.
25183         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25184         <bp-checks.h>.
25185         (__gettimeofday): Do not use CHECK_1.
25186         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25187         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25188         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25189         <bp-checks.h>.
25190         (__gettimeofday): Do not use CHECK_1.
25191         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25192         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25193         (__new_shmctl): Do not use CHECK_1.
25194         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25195         <bp-checks.h>.
25196         (do_sigtimedwait): Do not use CHECK_1.
25197         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25198         <bp-checks.h>.
25199         (do_sigwaitinfo): Do not use CHECK_1.
25200         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25201         <bp-checks.h>.
25202         (msgctl): Do not use CHECK_1.
25203         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25204         <bp-checks.h>.
25205         (shmctl): Do not use CHECK_1.
25206         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25207         (ustat): Do not use CHECK_1.
25208         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25209         <bp-checks.h>.
25210         (__fxstat): Do not use CHECK_1.
25211         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25212         <bp-checks.h>.
25213         (__fxstatat): Do not use CHECK_1.
25214         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25215         <bp-checks.h>.
25216         (__lxstat): Do not use CHECK_1.
25217         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25218         <bp-checks.h>.
25219         (__xstat): Do not use CHECK_1.
25220         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25221         (__xstat): Do not use CHECK_1.
25222         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25223         (___xstat64): Do not use CHECK_1.
25224
25225         [BZ #13550]
25226         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25227         definitions.
25228         (CHECK_BOUNDS_HIGH): Likewise.
25229         * string/strcpy.c: Do not include <bp-checks.h>.
25230         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25231
25232 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25233
25234         * nscd/nscd-client.h (__nscd_drop_map_ref):
25235         Add __attribute__ ((unused)).
25236         * nis/nss-nisplus.h (niserr2nss): Likewise.
25237
25238         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25239         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25240
25241         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25242         Remove inline keyword.
25243         * include/rounding-mode.h (round_away): Likewise.
25244         * libio/wfileops.c (adjust_wide_data): Likewise.
25245         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25246         (__m128i_strloadu_tolower): Likewise.
25247         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25248         (__m128i_strloadu_tolower): Likewise.
25249         * time/mktime.c (ydhms_diff): Likewise.
25250         * locale/elem-hash.h (elem_hash): Likewise.
25251         * locale/setlocale.c (setdata): Likewise.
25252         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25253         (re_string_wchar_at): Likewise.
25254         (bitset_not, bitset_merge, bitset_mask): Likewise.
25255         [!(__GNUC__ > 3)] (inline): Remove macro.
25256         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25257         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25258         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25259         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25260         * string/memcmp.c (memcmp_bytes): Likewise.
25261         * locale/programs/locarchive.c (compute_hashval): Likewise.
25262         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25263         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25264         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25265         * nss/getent.c (print_rpc, print_protocols): Likewise.
25266         (print_passwd, print_group, print_aliases): Likewise.
25267         * nis/nss-nisplus.h (niserr2nss): Likewise.
25268         * nscd/connections.c (restart_p): Likewise.
25269         Change return type to bool.
25270
25271 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25272
25273         * Makeconfig (all-Depend-files): Add existing
25274         $(sorted-subdirs:=/Depend) files.
25275         (all-subdirs): Remove nss.
25276         * sysdeps/unix/inet/Subdirs: Add it here instead.
25277         * hesiod/Depend: New file.
25278
25279         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25280         instead of calling alloca.
25281
25282         * io/lseek.c (__lseek): Rename to __libc_lseek.
25283         Define __lseek as an alias.
25284
25285         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25286
25287 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25288
25289         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25290         else clause and remove check for non-standard endianness.
25291
25292 2013-02-04  David S. Miller  <davem@davemloft.net>
25293
25294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25295
25296 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25297
25298         [BZ #13550]
25299         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25300         (__ubp_memchr): Remove prototype.
25301         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25302         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25303         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25304         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25305         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25306         Remove alias.
25307         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25308         (__ubp_memchr): Likewise.
25309         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25310         (__ubp_memchr): Likewise.
25311         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25312         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25313         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25314         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25315         CHECK_STRING.
25316         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25317         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25318         (__getcwd): Do not use CHECK_STRING.
25319         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25320         <bp-checks.h>.
25321         (__real_chown): Do not use CHECK_STRING.
25322         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25323         <bp-checks.h>.
25324         (fchownat): Do not use CHECK_STRING.
25325         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25326         CHECK_STRING.
25327         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25328         <bp-checks.h>.
25329         (__lchown): Do not use CHECK_STRING.
25330         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25331         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25332         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25333         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25335         include <bp-checks.h>.
25336         (truncate64): Do not use CHECK_STRING.
25337         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25338         <bp-checks.h>.
25339         (__real_chown): Do not use CHECK_STRING.
25340         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25341         <bp-checks.h>.
25342         (__lchown): Do not use CHECK_STRING.
25343         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25344         <bp-checks.h>.
25345         (__chown): Do not use CHECK_STRING.
25346         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25347         <bp-checks.h>.
25348         (truncate64): Do not use CHECK_STRING.
25349         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25350         Likewise.
25351         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25352         (__xmknod): Do not use CHECK_STRING.
25353         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25354         <bp-checks.h>.
25355         (__xmknodat): Do not use CHECK_STRING.
25356         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25357         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25358
25359 2013-02-04  Andreas Schwab  <schwab@suse.de>
25360
25361         [BZ #14142]
25362         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25363         * include/netdb.h: Likewise for h_errno.
25364         * elf/tst-stackguard1.c: Include <tls.h>.
25365
25366 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25367
25368         * elf/link.h (struct link_map): Extend the l_addr comment.
25369         * include/link.h (struct link_map): Likewise.
25370
25371 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25372
25373         [BZ #13550]
25374         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25375         (BOUNDED_1): Remove macro.
25376         * debug/backtrace.c: Don't include <bp-checks.h>.
25377         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25378         (__backtrace): Likewise.
25379         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25380         <bp-checks.h>.
25381         (__backtrace): Don't use BOUNDED_1.
25382         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25383         <bp-checks.h>.
25384         (__backtrace): Don't use BOUNDED_1.
25385         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25386         (__backtrace): Don't use BOUNDED_1.
25387         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25388         (shmat): Don't use BOUNDED_N.
25389
25390 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25391
25392         [BZ #13550]
25393         * sysdeps/generic/bp-start.h: Remove file.
25394         * csu/libc-start.c: Don't include <bp-start.h>.
25395         (LIBC_START_MAIN): Set up __environ directly instead of using
25396         INIT_ARGV_and_ENVIRON.
25397         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25398         <bp-start.h>.
25399
25400         [BZ #13550]
25401         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25402         definitions.
25403         (CHECK_FCNTL): Likewise.
25404         (CHECK_N_PAGES): Likewise.
25405
25406         [BZ #13550]
25407         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25408         definitions.
25409         (CHECK_SIGSET_NULL_OK): Likewise.
25410         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25411         <bp-checks.h>.
25412         (sigpending): Don't use CHECK_SIGSET.
25413         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25414         <bp-checks.h>.
25415         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25416         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25417         <bp-checks.h>.
25418         (do_sigsuspend): Don't use CHECK_SIGSET.
25419         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25420         use CHECK_SIGSET.
25421         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25422         (do_sigwait): Don't use CHECK_SIGSET.
25423         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25424         use CHECK_SIGSET.
25425         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25426         include <bp-checks.h>.
25427         (sigpending): Don't use CHECK_SIGSET.
25428         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25429         include <bp-checks.h>.
25430         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25431         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25432         <bp-checks.h>.
25433         (sigpending): Don't use CHECK_SIGSET.
25434         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25435         <bp-checks.h>.
25436         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25437
25438         [BZ #13550]
25439         * sysdeps/generic/bp-semctl.h: Remove file.
25440         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25441         <bp-checks.h> and <bp-semctl.h>.
25442         (__old_semctl): Don't use CHECK_SEMCTL.
25443         (__new_semctl): Likewise.
25444         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25445         and <bp-semctl.h>.
25446         (__old_semctl): Don't use CHECK_SEMCTL.
25447         (__new_semctl): Likewise.
25448         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25449         <bp-checks.h> and <bp-semctl.h>.
25450         (__old_semctl): Don't use CHECK_SEMCTL.
25451         (__new_semctl): Likewise.
25452         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25453         <bp-checks.h> and <bp-semctl.h>.
25454         (semctl): Don't use CHECK_SEMCTL.
25455
25456         [BZ #13550]
25457         * Makerules (elide-bp-thunks): Remove variable.
25458         (elide-routines.oS): Don't use $(elide-bp-thunks).
25459         (elide-routines.os): Likewise.
25460         (elide-routines.o): Likewise.
25461         (elide-routines.op): Likewise.
25462         (elide-routines.og): Likewise.
25463         (objects): Don't use $(bp-thunks).
25464         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25465         include.
25466         (common-generated): Do not add s-proto-bp.d.
25467         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25468         (int): Likewise.
25469         (typ): Likewise.
25470         Do not generate makefile rules for bounded-pointer thunks.
25471         * sysdeps/generic/bp-thunks.h: Remove file.
25472         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25473         * sysdeps/unix/s-proto-bp.S: Likewise.
25474
25475         [BZ #15062]
25476         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25477         parts of result separately when argument is not close to line from
25478         -i to i and one part of argument is small.
25479         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25480         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25481         * math/libm-test.inc (cacos_test): Add more tests.
25482         (casin_test): Likewise.
25483         (casinh_test): Likewise.
25484         * sysdeps/i386/fpu/libm-test-ulps: Update.
25485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25486
25487 2013-01-31  David S. Miller  <davem@davemloft.net>
25488
25489         * po/de.po: Update from translation team.
25490
25491 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25492
25493         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25494
25495 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
25496
25497         * configure.in (_AC_PROG_CC_C89): New definition.
25498         * configure: Regenerate.
25499
25500         * configure.in (AC_PROG_CPP): New definition.
25501         * configure: Regenerate.
25502
25503 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25504
25505         * debug/tst-backtrace.h: New file.
25506         * debug/tst-backtrace2.c: Include tst-backtrace.h.
25507         (ret): Remove variable.
25508         (x): Likewise.
25509         (FAIL): Remove macro.
25510         (NO_INLINE): Likewise.
25511         (fn1): Use match function instead of strstr.
25512         * debug/tst-backtrace3.c: Include tst-backtrace.h.
25513         (ret): Remove variable.
25514         (x): Likewise.
25515         (FAIL): Remove macro.
25516         (NO_INLINE): Likewise.
25517         (fn): Use match function instead of strstr.
25518         * debug/tst-backtrace4.c: Include tst-backtrace.h.
25519         (ret): Remove variable.
25520         (x): Likewise.
25521         (FAIL): Remove macro.
25522         (NO_INLINE): Likewise.
25523         (handle_signal): Use match function instead of strstr.
25524         * debug/tst-backtrace5.c: Include tst-backtrace.h.
25525         (ret): Remove variable.
25526         (x): Likewise.
25527         (FAIL): Remove macro.
25528         (NO_INLINE): Likewise.
25529         (handle_signal): Use match function instead of strstr.
25530
25531 2013-01-23  Roland McGrath  <roland@hack.frob.com>
25532
25533         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25534
25535 2013-01-23  David S. Miller  <davem@davemloft.net>
25536
25537         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25538         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25539         argument of CAS if possible.
25540         * sysdeps/sparc/sparc64/bits/atomic.h
25541         (__arch_compare_and_exchange_val_32_acq): Likewise.
25542         (__arch_compare_and_exchange_val_64_acq): Likewise.
25543
25544 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
25545
25546         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25547         * sysdeps/posix/ulimit.c: ... this.
25548         Include <limits.h>.
25549         * sysdeps/unix/bsd/ulimit.c: Remove file.
25550
25551 2013-01-23  Adam Conrad  <adconrad@0c3.net>
25552
25553         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25554         (LDFLAGS-tst-array5): Likewise.
25555
25556 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25557
25558         [BZ #15036]
25559         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25560         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25561         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25562         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25563
25564 2013-01-21  David S. Miller  <davem@davemloft.net>
25565
25566         * sysdeps/sparc/backtrace.c: New file.
25567         * sysdeps/sparc/sparc32/backtrace.h: New file.
25568         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25569         * sysdeps/sparc/sparc64/backtrace.h: New file.
25570         * sysdeps/sparc/sparc64/backtrace.c: Delete.
25571         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25572         -funwind-tables.
25573
25574 2013-01-21  Andreas Schwab  <schwab@suse.de>
25575
25576         [BZ #15020]
25577         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25578         closed its stdout.
25579
25580 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
25581
25582         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25583         "mpa2.h".
25584         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25585
25586 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
25587             Mark Mitchell  <mark@codesourcery.com>
25588             Tom de Vries  <tom@codesourcery.com>
25589             Paul Pluzhnikov  <ppluzhnikov@google.com>
25590
25591         * debug/tst-backtrace2.c: New file.
25592         * debug/tst-backtrace3.c: Likewise.
25593         * debug/tst-backtrace4.c: Likewise.
25594         * debug/tst-backtrace5.c: Likewise.
25595         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25596         (CFLAGS-tst-backtrace3.c): Likewise.
25597         (CFLAGS-tst-backtrace4.c): Likewise.
25598         (CFLAGS-tst-backtrace5.c): Likewise.
25599         (LDFLAGS-tst-backtrace2): Likewise.
25600         (LDFLAGS-tst-backtrace3): Likewise.
25601         (LDFLAGS-tst-backtrace4): Likewise.
25602         (LDFLAGS-tst-backtrace5): Likewise.
25603         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25604         tst-backtrace4 and tst-backtrace5.
25605
25606 2013-01-18  Anton Blanchard  <anton@samba.org>
25607             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25608
25609         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25610         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25611         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25612         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25614         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25615         "+r" and remove output regs list as redundant.  Add explicit inline
25616         asm to specify register of return val to work around compiler codegen
25617         bug.  Remove (int) cast on return value.  Add return type parameter to
25618         use in macro so that this macro does not truncate return value for
25619         64-bit values.
25620         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25621         pass to INTERNAL_VSYSCALL_NCS.
25622         (INLINE_VSYSCALL): Add 'long int' as return type to
25623         INTERNAL_VSYSCALL_NCS macro invocation.
25624         (INTERNAL_VSYSCALL): Add 'long int' as return type to
25625         INTERNAL_VSYSCALL_NCS macro invocation.
25626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25627
25628 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25629
25630         [BZ #14496]
25631         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25632         Fix application of SIMD FP exception mask.
25633
25634         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25635         mp_no from a power of two.
25636         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25637         __mpexp_twomm1.  Use __pow_mp.
25638
25639         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25640         multiplication.
25641
25642 2013-01-17  David S. Miller  <davem@davemloft.net>
25643
25644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25645
25646 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25647
25648         [BZ #15023]
25649         * include/complex.h: Condition contents on [!_COMPLEX_H].
25650         (__kernel_casinhf): New prototype.
25651         (__kernel_casinh): Likewise.
25652         (__kernel_casinhl): Likewise.
25653         * math/Makefile (libm_calls): Add k_casinh.
25654         * math/k_casinh.c: New file.
25655         * math/k_casinhf.c: Likewise.
25656         * math/k_casinhl.c: Likewise.
25657         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25658         finite nonzero arguments.
25659         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25660         finite nonzero arguments.
25661         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25662         finite nonzero arguments.
25663         * math/s_casinh.c: Do not include <float.h>.
25664         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25665         * math/s_casinhf.c: Do not include <float.h>.
25666         (__casinhf): Move code for finite nonzero arguments to
25667         k_casinhf.c.
25668         * math/s_casinhl.c: Do not include <float.h>.
25669         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25670         redefine.
25671         (__casinhl): Move code for finite nonzero arguments to
25672         k_casinhl.c.
25673         * math/libm-test.inc (cacos_test): Add more tests.
25674         * sysdeps/i386/fpu/libm-test-ulps: Update.
25675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25676
25677 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
25678
25679         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25680         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25681         [!HAVE_MREMAP]: Remove [defined linux] case.
25682         * malloc/arena.c: Do not include <malloc-sysdep.h>.
25683
25684 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25685
25686         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25687
25688 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
25689
25690         * elf/elf.h (R_386_SIZE32): New relocation.
25691         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25692         R_386_SIZE32.
25693         (elf_machine_rela): Likewise.
25694         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25695         R_X86_64_SIZE64 and R_X86_64_SIZE32.
25696
25697 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25698
25699         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25700         (FP_FAST_FMA): Do not define.
25701         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25702         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25703         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25704         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25705         !_SOFT_FLOAT]: Likewise.
25706         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25707         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25708         value.
25709         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25710         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25711         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25712         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25713         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25714         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25715         file.
25716
25717 2013-01-16  Andreas Schwab  <schwab@suse.de>
25718
25719         [BZ #14327]
25720         * include/stdlib.h (__mktemp): Add declaration.
25721         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25722         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25723
25724 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25725
25726         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25727         definitions.
25728         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25729         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25730         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25731         definitions here.
25732         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25733         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25734         definitions.
25735         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25736         and ONE.
25737         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25738         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25739         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25740         definitions.
25741         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25742         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25743         definitions.
25744         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25745
25746         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25747
25748 2013-01-15  David S. Miller  <davem@davemloft.net>
25749
25750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25751         trunc{,f} to libm-sysdep_routes.
25752         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25754         file.
25755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25757         file.
25758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25759         file.
25760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25762         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25763         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25764         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25765         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25766         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25767         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25768
25769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25770         nearbyint{,f} to libm-sysdep_routes.
25771         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25773         New file.
25774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25775         file.
25776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25777         New file.
25778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25779         file.
25780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25782         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25783         file.
25784         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25785         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25786         file.
25787         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25788         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25789         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25790
25791         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25792         libc_feholdexcept and libc_fesetenv.
25793
25794 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
25795
25796         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25797
25798 2013-01-14  David S. Miller  <davem@davemloft.net>
25799
25800         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25801         (SPARC_ASM_VIS2_IFUNC): Likewise.
25802         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25804         use of 'siam' instruction.
25805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25806         Likewise.
25807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25808         Likewise.
25809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25810         Likewise.
25811         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25812         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25813         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25814         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25816         file.
25817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25818         file.
25819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25820         file.
25821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25822         file.
25823         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25824         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25825         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25826         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25828         new VIS2 routines.
25829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25832         Likewise.
25833         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25834         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25835         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25836         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25838         routines to libm-sysdep_routines.
25839         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25840
25841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25842         fdim/fdimf to libm-sysdep_routines.
25843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25844         file.
25845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25847         file.
25848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25851         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25852         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25853         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25854         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25855
25856 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25857
25858         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25859         to optimize copies.
25860
25861         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25862         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25863         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25864
25865         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25866         local variable MPTWO.
25867         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25868         Likewise.
25869
25870 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25871
25872         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25873         GLOB_NOESCAPE.
25874
25875 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25876
25877         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25878
25879 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25880
25881         * manual/pattern.texi (glob_t): Document gl_flags.
25882         (glob64_t): Likewise.
25883
25884 2013-01-11  David S. Miller  <davem@davemloft.net>
25885
25886         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25887         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25888         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
25889         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25890         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25891         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25892         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25893         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25894         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25895         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25896         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25897         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25898         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25899
25900         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25901         sparc V9 rather than using V8 code.
25902         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25903         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25904
25905         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25906         Move to...
25907         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25908         Here.
25909
25910 2013-01-11  Roland McGrath  <roland@hack.frob.com>
25911
25912         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25913         not in the main loop.
25914         * configure: Regenerated.
25915
25916 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
25917
25918         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25919         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25920         to just #else.
25921         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
25922         [!__GLIBC_HAVE_LONG_LONG] case.
25923         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25924         condition to just #else.
25925         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25926         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25927         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25928         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25929         unconditional.
25930         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25931         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25932         #elif condition to just #else.
25933         * sysdeps/unix/sysv/linux/sys/sysmacros.h
25934         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25935         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25936         #elif condition to just #else.
25937
25938 2013-01-11  Steve Ellcey  <sellcey@mips.com>
25939
25940         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25941         (EF_MIPS_ARCH_64): Fix value.
25942         (EF_MIPS_ARCH_32R2): New.
25943         (EF_MIPS_ARCH_64R2): New.
25944
25945 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
25946
25947         * Makeconfig (+link-pie-before-libc): New.
25948         (+link-pie-after-libc): Likewise.
25949         (+link-pie-tests): Likewise.
25950         (+link-pie): Rewritten.
25951         (link-before-libc): Remove $(config-LDFLAGS).
25952         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25953         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25954         (config-LDFLAGS): Renamed to ...
25955         (rtld-LDFLAGS): This.
25956         (rtld-tests-LDFLAGS): New macro.
25957         (link-libc-rpath-link): Likewise.
25958         (link-libc-tests-rpath-link): Likewise.
25959         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25960         (link-libc): Prepand $(link-libc-rpath-link).
25961         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25962         (test-program-prefix): New macro.
25963         (test-via-rtld-prefix): Likewise.
25964         (test-program-cmd): Likewise.
25965         (host-test-program-cmd): Likewise.
25966         * Makefile ($(common-objpfx)testrun.sh): Replace
25967         $(run-program-prefix) with $(test-program-prefix).
25968         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25969         $(rtld-LDFLAGS).
25970         ($(common-objpfx)shlib.lds): Likewise.
25971         (build-module-helper): Likewise.
25972         ($(common-objpfx)format.lds): Likewise.
25973         * Rules (binaries-pie-tests): New.
25974         (binaries-pie-notests): Likewise.
25975         (binaries-pie): Rewritten.
25976         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25977         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25978         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25979         (make-test-out): Replace $(host-built-program-cmd) with
25980         $(host-test-program-cmd).
25981         * config.make.in (build-hardcoded-path-in-tests): New variable.
25982         * configure.in (--enable-hardcoded-path-in-tests): New configure
25983         option.
25984         (hardcoded_path_in_tests): New AC_SUBST.
25985         * configure: Regenerated.
25986         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25987         $(built-program-cmd) with $(test-program-cmd).
25988         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25989         (test_program_cmd): This.
25990         * elf/Makefile ($(objpfx)order.out): Run test with
25991         $(test-program-prefix).
25992         ($(objpfx)order2.out): Likewise.
25993         ($(objpfx)tst-initorder.out): Likewise.
25994         ($(objpfx)tst-initorder2.out): Likewise.
25995         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25996         $(test-program-cmd).
25997         ($(objpfx)tst-array1-static.out): Likewise.
25998         ($(objpfx)tst-array2.out): Likewise.
25999         ($(objpfx)tst-array3.out): Likewise.
26000         ($(objpfx)tst-array4.out): Likewise.
26001         ($(objpfx)tst-array5.out): Likewise.
26002         ($(objpfx)tst-array5-static.out): Likewise.
26003         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26004         $(test-program-cmd).
26005         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26006         $(run-program-prefix) with $(test-program-prefix).
26007         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26008         (test_program_prefix): This.
26009         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26010         $(run-program-prefix) with $(test-program-prefix).
26011         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26012         (test_program_prefix): This.
26013         * iconvdata/tst-tables.sh: Likewise.
26014         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26015         $(run-program-prefix) with $(test-program-prefix).
26016         ($(objpfx)tst-translit.out): Likewise.
26017         ($(objpfx)tst-gettext2.out): Likewise.
26018         ($(objpfx)tst-gettext4.out): Likewise.
26019         ($(objpfx)tst-gettext6.out): Likewise.
26020         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26021         (test_program_prefix): This.
26022         * intl/tst-gettext2.sh: Likewise.
26023         * intl/tst-gettext4.sh  Likewise.
26024         * intl/tst-gettext6.sh: Likewise.
26025         * intl/tst-translit.sh: Likewise.
26026         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26027         with $(test-program-cmd).
26028         * libio/Makefile ($(objpfx)test-freopen.out): Replace
26029         $(run-program-prefix) with $(test-program-prefix).
26030         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26031         (test_program_prefix): This.
26032         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26033         $(run-program-prefix) with $(test-program-prefix).
26034         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26035         (test_program_prefix): This.
26036         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26037         * posix/Makefile ($(objpfx)globtest.out): Replace
26038         $(run-via-rtld-prefix) and $(test-wrapper) with
26039         $(test-program-prefix) and $(test-via-rtld-prefix).
26040         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26041         $(test-program-prefix).
26042         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26043         $(host-test-program-cmd).
26044         (tst-spawn-ARGS): Likewise.
26045         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26046         $(test-program-prefix).
26047         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26048         (test_via_rtld_prefix): This.
26049         (test_wrapper): Renamed to ...
26050         (test_program_prefix): This.
26051         (run_program_prefix): Replaced by test_program_prefix.
26052         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26053         (test_program_prefix): This.
26054         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26055         with $(host-test-program-cmd).
26056         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26057         $(run-program-prefix) with $(test-program-prefix).
26058         ($(objpfx)tst-printf.out): Likewise.
26059         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26060         $(test-program-cmd).
26061         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26062         (test_program_prefix): This.
26063         * stdio-common/tst-unbputc.sh: Likewise.
26064         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26065         $(run-program-prefix) with $(test-program-prefix).
26066         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26067         (test_program_prefix): This.
26068         * string/Makefile ($(objpfx)tst-svc.out):  Replace
26069         $(built-program-cmd) with $(test-program-cmd).
26070
26071 2013-01-11  Andreas Jaeger  <aj@suse.de>
26072
26073         [BZ #15003]
26074         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26075         value. Sync with Linux 3.7.
26076
26077 2013-01-10  David S. Miller  <davem@davemloft.net>
26078
26079         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26080         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26081         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26082
26083 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26084
26085         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26086         never set.
26087         * configure: Regenerated.
26088
26089 2013-01-10  David S. Miller  <davem@davemloft.net>
26090
26091         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26092         sparc V9 rather than using V8 code.
26093         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26094         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26095
26096 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26097
26098         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26099         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26100         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26101         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26102         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26103         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26104         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26105         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26106         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26107         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26108         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26109         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26110         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26111         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26112         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26113         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26114         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26115         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26116         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26117         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26118         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26119         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26120         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26121         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26122         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26123         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26124         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26125
26126 2013-01-10  David S. Miller  <davem@davemloft.net>
26127
26128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26129
26130 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26131
26132         * posix/Makefile (tests-static): New variable.
26133         (tests): Add $(tests-static).
26134         (tst-exec-static-ARGS): New variable.
26135         (tst-spawn-static-ARGS): Likewise.
26136         * posix/tst-exec-static.c: New file.
26137         * posix/tst-spawn-static.c: Likewise.
26138         * posix/tst-exec.c: Support run directly.
26139         * posix/tst-spawn.c: Likewise.
26140
26141 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26142
26143         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26144         long.
26145         * math/bits/mathcalls.h (llrint): Likewise.
26146         (llround): Likewise.
26147         * stdlib/stdlib.h (struct drand48_data): Likewise.
26148         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26149         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26150         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26151         Likewise.
26152         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26153         Likewise.
26154         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26155         (elf_greg_t): Likewise.
26156         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26157         (__jmp_buf): Likewise.
26158         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26159         definitions.
26160         (llrint): Likewise, for all definitions.
26161         (llrintl): Likewise.
26162
26163         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26164         Remove [__GNUC__] condition.
26165         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26166         condition to just [__USE_ISOC99].
26167         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26168
26169 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26170
26171         [BZ #14200]
26172         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26173         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26174         defined.
26175         (_POSIX_V6_ILP32_OFF32): Likewise.
26176         (_XBS5_ILP32_OFF32): Likewise.
26177         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26178         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26179
26180 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26181
26182         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26183
26184         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26185         doubles __mpexp_twomm1.  Adjust usage.
26186         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26187         Remove.
26188
26189 2013-01-10  Andreas Schwab  <schwab@suse.de>
26190
26191         [BZ #14964]
26192         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26193         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26194
26195 2013-01-09  David S. Miller  <davem@davemloft.net>
26196
26197         [BZ #15003]
26198         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26199         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26200         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26201         (TCP_FASTOPEN): Define.
26202         (tcp_repair_opt): New structure.
26203         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26204         enum values.
26205         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26206         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26207         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26208         (tcp_cookie_transactions): New structure.
26209
26210 2013-01-09  Anton Blanchard  <anton@samba.org>
26211
26212         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26213         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26214         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26215         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26216
26217 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26218
26219         * include/features.h (__USE_ANSI): Remove.
26220
26221 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26222
26223         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26224
26225         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26226
26227 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26228
26229         * sysdeps/s390/fpu/libm-test-ulps: Update.
26230
26231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26232
26233         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26234         (__acr): Likewise.
26235         (__cpy): Likewise.
26236         (norm): Likewise.
26237         (denorm): Likewise.
26238         (__mp_dbl): Likewise.
26239         (__dbl_mp): Likewise.
26240         (add_magnitudes): Likewise.
26241         (sub_magnitudes): Likewise.
26242         (__add): Likewise.
26243         (__sub): Likewise.
26244         (__mul): Likewise.
26245         (__inv): Likewise.
26246         (__dvd): Likewise.
26247         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26248         (__acr): Likewise.
26249         (__cpy): Likewise.
26250         (norm): Likewise.
26251         (denorm): Likewise.
26252         (__mp_dbl): Likewise.
26253         (__dbl_mp): Likewise.
26254         (add_magnitudes): Likewise.
26255         (sub_magnitudes): Likewise.
26256         (__add): Likewise.
26257         (__sub): Likewise.
26258         (__mul): Likewise.
26259         (__inv): Likewise.
26260         (__dvd): Likewise.
26261         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26262         (__acr): Likewise.
26263         (__cpy): Likewise.
26264         (norm): Likewise.
26265         (denorm): Likewise.
26266         (__mp_dbl): Likewise.
26267         (__dbl_mp): Likewise.
26268         (add_magnitudes): Likewise.
26269         (sub_magnitudes): Likewise.
26270         (__add): Likewise.
26271         (__sub): Likewise.
26272         (__mul): Likewise.
26273         (__inv): Likewise.
26274         (__dvd): Likewise.
26275
26276 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26277
26278         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26279         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26280         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26281         2 && __USE_EXTERN_INLINES]: Likewise.
26282
26283 2013-01-08  Andreas Jaeger  <aj@suse.de>
26284
26285         [BZ# 14985]
26286         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26287         Remove.
26288         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26289         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26290
26291 2013-01-07  Anton Blanchard  <anton@samba.org>
26292
26293         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26294         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26295         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26296         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26297         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26298         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26299         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26300         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26301         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26302         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26303         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26304         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26305         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26306         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26307         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26308         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26309         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26310         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26311         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26312         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26313         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26314         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26315         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26316         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26317         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26318         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26319         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26320         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26321         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26322         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26323         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26324         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26325         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26326         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26327         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26328         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26329         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26330         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26331         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26332         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26333         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26334         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26335         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26336
26337 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26338
26339         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26340         (__MALLOC_PMT): Likewise.
26341         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26342         [__GNUC__], only on [_LIBC].
26343         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26344         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26345         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26346         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26347         forward declaration.
26348         (realloc_hook_ini): Likewise.
26349         (memalign_hook_ini): Likewise.
26350         (__libc_memalign): Do not use __MALLOC_PMT in variable
26351         declaration.
26352         (__libc_valloc): Likewise.
26353         (__libc_pvalloc): Likewise.
26354         (__libc_calloc): Likewise.
26355         (__posix_memalign): Likewise.
26356
26357         [BZ #14996]
26358         * math/s_casinh.c: Include <float.h>.
26359         (__casinh): Do not do computation with squaring and square root
26360         for large arguments.
26361         * math/s_casinhf.c: Include <float.h>.
26362         (__casinhf): Do not do computation with squaring and square root
26363         for large arguments.
26364         * math/s_casinhl.c: Include <float.h>.
26365         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26366         (__casinhl): Do not do computation with squaring and square root
26367         for large arguments.
26368         * math/libm-test.inc (casin_test): Add more tests.
26369         (casinh_test): Likewise.
26370         * sysdeps/i386/fpu/libm-test-ulps: Update.
26371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26372
26373 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26374
26375         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26376         (__x86_64_raw_data_cache_size): Likewise.
26377         (__x86_64_data_cache_size_half): Likewise.
26378         (__x86_64_raw_data_cache_size_half): Likewise.
26379         (__x86_64_shared_cache_size): Likewise.
26380         (__x86_64_raw_shared_cache_size): Likewise.
26381         (__x86_64_shared_cache_size_half): Likewise.
26382         (__x86_64_raw_shared_cache_size_half): Likewise.
26383         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26384         to ...
26385         (__x86_data_cache_size): This.
26386         (__x86_64_raw_data_cache_size): Renamed to ...
26387         (__x86_raw_data_cache_size): This.
26388         (__x86_64_data_cache_size_half): Renamed to ...
26389         (__x86_data_cache_size_half): This.
26390         (__x86_64_raw_data_cache_size_half): Renamed to ...
26391         (__x86_raw_data_cache_size_half): This.
26392         (__x86_64_shared_cache_size): Renamed to ...
26393         (__x86_shared_cache_size): This.
26394         (__x86_64_raw_shared_cache_size): Renamed to ...
26395         (__x86_raw_shared_cache_size): This.
26396         (__x86_64_shared_cache_size_half): Renamed to ...
26397         (__x86_shared_cache_size_half): This.
26398         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26399         (__x86_raw_shared_cache_size_half): This.
26400         * sysdeps/x86_64/memcpy.S: Updated.
26401         * sysdeps/x86_64/memset.S: Likewise.
26402         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26403         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26404         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26405
26406 2013-01-04  David S. Miller  <davem@davemloft.net>
26407
26408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26409
26410 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26411
26412         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26413         1 to avoid redefinition warning.
26414         (__USE_GNU): Don't define.
26415         (init_signaling_nan): Protoize.
26416
26417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26418
26419 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26420
26421         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26422         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26423         (__cpymn): Likewise.
26424         (norm): Remove commented code.
26425         (denorm): Likewise.
26426         (__mp_dbl): Likewise.
26427         (__inv): Likewise.
26428         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26429         (__cpymn): Likewise.
26430         (norm): Remove commented code.
26431         (denorm): Likewise.
26432         (__mp_dbl): Likewise.
26433         (__inv): Likewise.
26434
26435         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26436         mp_no value for 1.0 and 2.0.
26437         (norm): Use RADIXI instead of radixi.d.
26438         (denorm): Likewise.
26439         (__mul): Use 0.0 instead of zero.d.
26440         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26441         mp_no value for 1.0 and 2.0.
26442         (norm): Use RADIXI instead of radixi.d.
26443         (denorm): Likewise.
26444         (__mul): Use 0.0 instead of zero.d.
26445
26446 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26447
26448         [BZ #14994]
26449         * math/s_casinh.c (__casinh): Reduce finite argument to first
26450         quadrant then set signs of results at the end.
26451         * math/s_casinhf.c (__casinhf): Likewise.
26452         * math/s_casinhl.c (__casinhl): Likewise.
26453         * math/libm-test.inc (casin_test): Add more tests.
26454         (casinh_test): Likewise.
26455         * sysdeps/i386/fpu/libm-test-ulps: Update.
26456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26457
26458 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26459
26460         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26461
26462         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26463
26464         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26465         declarations.
26466         (denorm): Likewise.
26467         (__mp_dbl): Likewise.
26468         (__inv): Likewise.
26469
26470         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26471         and adjust the header comment.
26472
26473         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26474         variable name from declaration.
26475
26476 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26477
26478         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26479         Initialize COMMON_CPUID_INDEX_7 element.
26480         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26481         (CPUID_RTM): Likewise.
26482         (HAS_RTM): Likewise.
26483         (COMMON_CPUID_INDEX_7): New enum.
26484
26485 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26486
26487         [BZ #14981]
26488         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26489         size is zero, record memory as freed.
26490
26491 2013-01-03  Andreas Jaeger  <aj@suse.de>
26492
26493         * po/ia.po: Add new Interlingua translation.
26494
26495 2012-01-03  Allan McRae  <allan@archlinux.org>
26496
26497         * locale/programs/localedef.c: Fix description of '--posix' flag.
26498
26499 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
26500
26501         * NEWS: Update dates in second copyright notice.
26502         * README: Update copyright dates in example.
26503         * manual/libc.texinfo: Update copyright dates.
26504         * scripts/test-installation.pl: Update copyright date in --version
26505         output.
26506
26507         * hurd/ctty-input.c: Fix copyright notice formatting.
26508         * hurd/ctty-output.c: Likewise.
26509         * hurd/dtable.c: Likewise.
26510         * hurd/hurd-raise.c: Likewise.
26511         * hurd/hurdprio.c: Likewise.
26512         * hurd/msgportdemux.c: Likewise.
26513         * misc/sys/file.h: Likewise.
26514         * misc/sys/ioctl.h: Likewise.
26515         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26516         * sysdeps/mach/hurd/chdir.c: Likewise.
26517         * sysdeps/mach/hurd/fchdir.c: Likewise.
26518         * sysdeps/mach/hurd/rename.c: Likewise.
26519         * sysdeps/mach/hurd/rmdir.c: Likewise.
26520         * sysdeps/mach/hurd/seekdir.c: Likewise.
26521         * sysdeps/mach/hurd/setsid.c: Likewise.
26522         * sysdeps/posix/wait3.c: Likewise.
26523
26524         * All files with FSF copyright notices: Update copyright dates
26525         using scripts/update-copyrights.
26526         * intl/plural.c: Regenerated.
26527         * locale/programs/charmap-kw.h: Likewise.
26528         * locale/programs/locfile-kw.h: Likewise.
26529
26530 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26531
26532         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26533         four values.
26534
26535         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26536         calculation loop and add branch prediction.
26537
26538         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26539         check access beyond bounds of m1np.
26540
26541         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26542         MPTWO.
26543         (__inv): Remove local variable MPTWO to use the global
26544         constant.
26545         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26546         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26547         variable MPTWO.
26548         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26549         MP3HALFS static const.
26550
26551 2013-01-01  David S. Miller  <davem@davemloft.net>
26552
26553         * po/ca.po: Update from translation team.
26554
26555 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
26556
26557         * scripts/update-copyrights: New file.
26558         * Makeconfig: Reformat copyright notice.
26559         * ctype/ctype.h: Likewise.
26560         * debug/swprintf_chk.c: Likewise.
26561         * elf/dl-cache.c: Likewise.
26562         * elf/dl-debug.c: Likewise.
26563         * elf/dl-object.c: Likewise.
26564         * grp/initgroups.c: Likewise.
26565         * hurd/Makefile: Likewise.
26566         * hurd/hurd/signal.h: Likewise.
26567         * hurd/hurdfault.c: Likewise.
26568         * hurd/hurdioctl.c: Likewise.
26569         * hurd/hurdlookup.c: Likewise.
26570         * hurd/intr-msg.c: Likewise.
26571         * iconv/gconv_open.c: Likewise.
26572         * libio/swprintf.c: Likewise.
26573         * locale/lc-ctype.c: Likewise.
26574         * locale/nl_langinfo.c: Likewise.
26575         * mach/Machrules: Likewise.
26576         * mach/Makefile: Likewise.
26577         * malloc/obstack.h: Likewise.
26578         * manual/Makefile: Likewise.
26579         * manual/tsort.awk: Likewise.
26580         * misc/bits/stab.def: Likewise.
26581         * nis/nis_print_group_entry.c: Likewise.
26582         * nis/nis_table.c: Likewise.
26583         * nis/nss_compat/compat-pwd.c: Likewise.
26584         * nis/nss_compat/compat-spwd.c: Likewise.
26585         * po/Makefile: Likewise.
26586         * posix/fnmatch.c: Likewise.
26587         * posix/regex.h: Likewise.
26588         * resolv/Makefile: Likewise.
26589         * resolv/nss_dns/dns-network.c: Likewise.
26590         * resolv/res_hconf.c: Likewise.
26591         * scripts/gen-sorted.awk: Likewise.
26592         * soft-fp/soft-fp.h: Likewise.
26593         * stdio-common/printf.h: Likewise.
26594         * stdlib/monetary.h: Likewise.
26595         * stdlib/random.c: Likewise.
26596         * stdlib/random_r.c: Likewise.
26597         * sysdeps/generic/Makefile: Likewise.
26598         * sysdeps/gnu/Makefile: Likewise.
26599         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26600         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26601         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26602         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26603         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26604         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26605         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26606         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26607         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26608         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26609         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26610         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26611         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26612         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26613         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26614         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26615         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26616         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26617         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26618         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26619         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26620         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26621         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26622         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26623         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26624         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26625         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26626         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26627         * sysdeps/mach/hurd/errnos.awk: Likewise.
26628         * sysdeps/mach/hurd/fork.c: Likewise.
26629         * sysdeps/mach/hurd/getcwd.c: Likewise.
26630         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26631         * sysdeps/mach/hurd/mmap.c: Likewise.
26632         * sysdeps/mach/hurd/utimes.c: Likewise.
26633         * sysdeps/mach/hurd/xmknod.c: Likewise.
26634         * sysdeps/posix/profil.c: Likewise.
26635         * sysdeps/posix/readdir_r.c: Likewise.
26636         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26637         * sysdeps/powerpc/bits/setjmp.h: Likewise.
26638         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26639         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26640         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26641         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26642         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26643         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26644         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26645         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26646         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26647         * sysdeps/pthread/lio_listio.c: Likewise.
26648         * sysdeps/sparc/dl-procinfo.h: Likewise.
26649         * sysdeps/unix/i386/sysdep.S: Likewise.
26650         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26651         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26652         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26653         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26655         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26656         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26657         * sysdeps/unix/sysv/linux/speed.c: Likewise.
26658         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26659         * sysdeps/wordsize-32/divdi3.c: Likewise.
26660         * time/sys/time.h: Likewise.
26661         * wcsmbs/Makefile: Likewise.
26662
26663 2013-01-01  David S. Miller  <davem@davemloft.net>
26664
26665         * po/fr.po: Update from translation team.
26666
26667         * catgets/gencat.c: Update copyright year.
26668         * csu/version.c: Likewise.
26669         * debug/catchsegv.sh: Likewise.
26670         * debug/pcprofiledump.c: Likewise.
26671         * debug/xtrace.sh: Likewise.
26672         * elf/ldconfig.c: Likewise.
26673         * elf/ldd.bash.in: Likewise.
26674         * elf/pldd.c: Likewise.
26675         * elf/sotruss.ksh: Likewise.
26676         * elf/sprof.c: Likewise.
26677         * iconv/iconv_prog.c: Likewise.
26678         * iconv/iconvconfig.c: Likewise.
26679         * locale/programs/locale.c: Likewise.
26680         * locale/programs/localedef.c: Likewise.
26681         * login/programs/pt_chown.c: Likewise.
26682         * malloc/memusage.sh: Likewise.
26683         * malloc/memusagestat.c: Likewise.
26684         * malloc/mtrace.pl: Likewise.
26685         * nscd/nscd.c: Likewise.
26686         * nss/getent.c: Likewise.
26687         * nss/makedb.c: Likewise.
26688         * posix/getconf.c: Likewise.
26689
26690 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26691
26692         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26693         numbers.
26694
26695 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
26696
26697         * math/bits/mathcalls.h (modf): Use __nonnull.
26698
26699 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26700
26701         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26702         (split): Use macro CN instead of the bare value.
26703         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26704         could be used.
26705         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26706         instead of the bare value.
26707         (power1): Likewise.
26708
26709 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26710
26711         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26712         __ATAN_TWOM.
26713         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26714
26715         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26716         their values.
26717         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26718         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26719         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26720         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26721
26722 2012-12-28  Andreas Jaeger  <aj@suse.de>
26723
26724         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
26725         values are from Linux 3.7.
26726
26727         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26728         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
26729
26730 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26731
26732         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26733         TRUE case.
26734
26735         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26736         (norm): Likewise.
26737         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26738         variables with preprocessor constants.
26739         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26740         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26741         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26742
26743 2012-12-27  Bruno Haible  <bruno@clisp.org>
26744
26745         [BZ #14317]
26746         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26747         only if needed.
26748
26749 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26750
26751         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26752         and use variable directly.
26753         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26754
26755         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26756         MPONE.
26757         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26758         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26759         variable MPONE.
26760         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26761         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26762         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26763         include directive.  Remove local variable MPONE.
26764         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26765         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26766         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26767
26768 2012-12-25  David S. Miller  <davem@davemloft.net>
26769
26770         * version.h (RELEASE): Set to "development".
26771         (VERSION): Set to "2.17.90".
26772         * NEWS: Add 2.18 section.
26773
26774 2012-12-21  David S. Miller  <davem@davemloft.net>
26775
26776         * po/hr.po: Update from translation team.
26777
26778 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26779
26780         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26781
26782 2012-12-19  Steve Ellcey  <sellcey@mips.com>
26783
26784         * NEWS:  Mention new memcpy for MIPS.
26785
26786 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26787
26788         * manual/contrib.texi (Contributors): Spelling correction.
26789
26790 2012-12-15  David S. Miller  <davem@davemloft.net>
26791
26792         * po/ru.po: Update from translation team.
26793
26794 2012-12-13  David S. Miller  <davem@davemloft.net>
26795
26796         * NEWS: Mention IFUNC testsuite enhancements.
26797
26798         * po/pl.po: Update from translation team.
26799         * po/bg.po: Likewise.
26800
26801         * manual/contrib.texi (Contributors): Update entries for Hongjiu
26802         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
26803
26804 2012-12-11  David S. Miller  <davem@davemloft.net>
26805
26806         * po/sv.po: Update from translation team.
26807
26808         * po/vi.po: Update from translation team.
26809
26810         * po/cs.po: Update from translation team.
26811
26812         * po/de.po: Update from translation team.
26813         * po/eo.po: Likewise.
26814         * po/nl.po: Likewise.
26815
26816 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26817
26818         [BZ #14246]
26819         * manual/argp.texi (Argp Helper Functions): Move node to follow
26820         Argp Parsing State.
26821
26822         [BZ #14872]
26823         * manual/conf.texi (Limits on File System Capacity): Mention if
26824         terminating null is included in the max size.
26825
26826 2012-12-10  Andreas Jaeger  <aj@suse.de>
26827
26828         * po/cs.po: Update from translation team.
26829
26830 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26831
26832         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26833         void pointer and cast to uintptr_t.
26834         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26835         path.
26836         * sysdeps/s390/s390-64/memcpy.S: Likewise.
26837         * sysdeps/s390/s390-64/memset.S: Likewise.
26838
26839 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
26840
26841         [BZ #14833]
26842         * menual/message.texi (Message Translation): Fix typos.
26843         (Helper programs for gettext): Likewise.
26844
26845 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
26846
26847         [BZ #14898]
26848         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26849         Change to -1.
26850
26851 2012-12-07  David S. Miller  <davem@davemloft.net>
26852
26853         * po/libc.pot: Update.
26854
26855 2012-12-07  Richard Henderson  <rth@redhat.com>
26856
26857         [BZ #10114]
26858         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26859         normal/normal case to before the switch.
26860         (_FP_DIV): Likewise.
26861
26862 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
26863             Mike Frysinger  <vapier@gentoo.org>
26864
26865         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26866         check for __NR_fadvise64_64.
26867
26868 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
26869
26870         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26871         0, not just to plain "0" as a statement.
26872         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26873         with cw.
26874
26875 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
26876
26877         * NEWS: Use sourceware.org in Bugzilla URL.
26878
26879 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26880
26881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26882         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26883
26884         * stdio-common/tst-put-error.c (do_test): Add newline to the
26885         padded test to ensure flush.
26886
26887 2012-12-05  Jeff Law  <law@redhat.com>
26888
26889         * sunrpc/etc.rpc (fedfs_admin): Add entry.
26890
26891 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
26892
26893         * README: Don't refer to ports add-on as distributed separately.
26894         Mention AArch64 in list of systems supported in the ports add-on.
26895
26896         * LICENSES: Add more non-FSF copyright and license notices.
26897
26898         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26899         ((unused)).
26900
26901         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26902
26903         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26904         10000 as width of padded output.
26905
26906 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26907
26908         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26909
26910         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26911         variable LX with __attribute__ ((unused)).
26912         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26913         Likewise.
26914         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26915         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26916         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26917         with __attribute__ ((unused)).
26918
26919 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
26920
26921         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26922
26923 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26924
26925         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26926         (CFLAGS-nldbl-acos.c): New variable.
26927         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26928         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26929         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26930         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26931         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26932         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26933         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26934         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26935         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26936         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26937         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26938         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26939         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26940         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26941         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26942         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26943         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26944         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26945         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26946         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26947         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26948         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26949         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26950         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26951         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26952         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26953         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26954         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26955         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26956         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26957         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26958         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26959         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26960         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26961         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26962         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26963         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26964         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26965         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26966         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26967         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26968         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26969         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26970         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26971         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26972         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26973         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26974         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26975         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26976         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26977         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26978         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26979         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26980         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26981         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26982         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26983         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26984         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26985         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26986         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26987         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26988         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26989         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26990         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26991         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26992         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26993         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26994         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26995         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26996         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26997         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26998         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26999         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27000         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27001         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27002         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27003         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27004         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27005         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27006         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27007         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27008         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27009         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27010         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27011         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27012         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27013         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27014         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27015         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27016         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27017         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27018         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27019         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27020         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27021         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27022         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27023         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27024
27025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27026         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27027
27028         [BZ #14914]
27029         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27030         whole low double instead of just low 47 bits when splitting values
27031         into two parts.
27032
27033 2012-12-03  Allan McRae  <allan@archlinux.org>
27034
27035         * manual/stdio.texi (Predefined Printf Handlers): Remove
27036         @hsep and @vsep usage.
27037
27038 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
27039
27040         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27041         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27042
27043 2012-12-03  Jeff Law  <law@redhat.com>
27044
27045         * time/sys/time.h (settimeofday): Do not mark TV argument
27046         as __nonnull.
27047
27048 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
27049
27050         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27051         when currently writing and seek to current position when not.
27052         * libio/Makefile (tests): Remove bug-fclose1.
27053         * libio/bug-fclose1.c: Delete.
27054
27055 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
27056
27057         * manual/arith.texi (feenableexcept): Fix typo.
27058         (fedisableexcept): Likewise.
27059
27060 2012-11-30  Roland McGrath  <roland@hack.frob.com>
27061
27062         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27063         second, differently-typed declaration, rather than a cast.
27064
27065 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27066
27067         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27068         * include/rpc/svc.h: ... here.
27069
27070 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
27071
27072         [BZ #13013]
27073         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27074         depending n and resplen2 to catch cases where answer
27075         equals answerp2.
27076
27077 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
27078
27079         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27080         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27081
27082 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27083
27084         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27085
27086 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27087
27088         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27089
27090 2012-11-28  Jeff Law  <law@redhat.com>
27091
27092         [BZ #13761]
27093         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27094         dataset_temporary.  Track alloca usage into alloca_used.
27095         If dataset is large allocate and release it via malloc/free.
27096
27097 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27098
27099         [BZ #14197]
27100         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27101
27102 2012-11-28  David S. Miller  <davem@davemloft.net>
27103
27104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27105
27106 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27107
27108         [BZ #14803]
27109         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27110         of pi/2 rounded to nearest to 64 bits.
27111         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27112         nearest to 64 bits.
27113         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27114         bits.
27115
27116 2012-11-28  Jeff Law <law@redhat.com>
27117             Martin Osvald <mosvald@redhat.com>
27118
27119         [BZ #14889]
27120         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27121         * sunrpc/svc.c: Include time.h.
27122         (__svc_accept_failed): New function.
27123         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27124         any reason other than EINTR, call __svc_accept_failed.
27125         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27126         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27127
27128 2012-11-28  Andreas Schwab  <schwab@suse.de>
27129
27130         * scripts/abilist.awk: Also handle indirect functions in .opd
27131         section.
27132
27133 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27134
27135         [BZ #13881]
27136         * sysdeps/x86/fpu/powl_helper.c: New file.
27137         * sysdeps/x86/fpu/Makefile: Likewise.
27138         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27139         (p3): New object.
27140         (__ieee754_powl): Use __powl_helper for finite arguments except
27141         integer exponents below 8.
27142         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27143         (p3): New object.
27144         (__ieee754_powl): Use __powl_helper for finite arguments except
27145         integer exponents below 8.
27146         * math/libm-test.inc (pow_test): Add more tests and enable some
27147         previously disabled tests.
27148         * sysdeps/i386/fpu/libm-test-ulps: Update.
27149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27150
27151 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27152             Carlos O'Donell  <carlos_odonell@mentor.com>
27153
27154         * nss/makedb.c (is_prime): Assert that input is odd and greater
27155         than 4.  Note that fact in a comment too.
27156         (next_prime): Add 4 to input.
27157
27158 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27159
27160         [BZ #11741]
27161         * libio/Makefile (tests): Add test case tst-fwrite-error.
27162         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27163         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27164         * libio/tst-fwrite-error.c: New test case.
27165
27166 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27167
27168         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27169         before casting to void *.
27170         * include/libc-internal.h (__pointer_type): New macro.
27171         (__integer_if_pointer_type_sub): Likewise.
27172         (__integer_if_pointer_type): Likewise.
27173         (cast_to_integer): Likewise.
27174         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27175         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27176         before casting to atomic64_t.
27177         (atomic_exchange_acq): Likewise.
27178         (__arch_exchange_and_add_body): Likewise.
27179         (__arch_add_body): Likewise.
27180         (atomic_add_negative): Likewise.
27181         (atomic_add_zero): Likewise.
27182
27183 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27184
27185         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27186         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27187         (add_fdes): Likewise.
27188         (linear_search_fdes): Likewise.
27189         (binary_search_unencoded_fdes): Likewise.
27190
27191 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27192
27193         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27194
27195 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27196
27197         * configure.in: Autodetect C++ header directories.
27198         * configure: Regenerated.
27199
27200 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27201
27202         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27203
27204 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27205
27206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27207
27208 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27209
27210         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27211         LDBL_MANT_DIG == 106]: Disable some tests.
27212         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27213         Likewise.
27214         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27215         Likewise.
27216
27217         [BZ #14871]
27218         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27219         input for small inputs.  Return +/- pi/2 for large inputs.
27220         * math/libm-test.inc (atan_test): Add more tests.
27221
27222         * sysdeps/generic/unwind-dw2-fde-glibc.c
27223         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27224         __attribute__ ((unused)).
27225
27226         [BZ #14645]
27227         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27228         x * y if x and y are nonzero and z is zero.
27229
27230         [BZ #14811]
27231         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27232         nonzero exponents with absolute value below 0x1p-117 to +/-
27233         0x1p-117.
27234
27235         [BZ #14869]
27236         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27237         up arguments below 2**-450, not just those below 2**-500.
27238         * math/libm-test.inc (hypot_test): Add another test.
27239
27240         [BZ #14868]
27241         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27242         Return a+b for ratio over 2**120, not 2**60.
27243         * math/libm-test.inc (hypot_test): Add another test.
27244
27245         * math/libm-test.inc (clog_test): Use
27246         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27247         (clog10_test): Likewise.
27248
27249         [BZ #6778]
27250         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27251
27252 2012-11-22  Andreas Schwab  <schwab@suse.de>
27253
27254         * sysdeps/i386/fpu/libm-test-ulps: Update.
27255
27256 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27257
27258         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27259         printf output with newline.
27260
27261 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27262
27263         [BZ #14865]
27264         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27265         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27266         -z nodlopen, -z initfirst and -z execstack support.
27267         * configure: Regenerated.
27268
27269         * elf/elf.h (DF_1_NODIRECT): New macro.
27270         (DF_1_IGNMULDEF): Likewise.
27271         (DF_1_NOKSYMS): Likewise.
27272         (DF_1_NOHDR): Likewise.
27273         (DF_1_EDITED): Likewise.
27274         (DF_1_NORELOC): Likewise.
27275         (DF_1_SYMINTPOSE): Likewise.
27276         (DF_1_GLOBAUDIT): Likewise.
27277         (DF_1_SINGLETON): Likewise.
27278         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27279         DT_1_SUPPORTED_MASK bits.
27280         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27281
27282 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27283
27284         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27285
27286 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27287
27288         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27289         macro.
27290
27291         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27292         (sendmmsg): Move declarations...
27293         * socket/sys/socket.h: ... here.
27294         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27295         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27296         include it from...
27297         * socket/recvmmsg.c: ... this new file.
27298         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27299         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27300         definition of __sendmmsg hidden.
27301         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27302         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27303         Move ENOSYS stub into and include it from...
27304         * socket/sendmmsg.c: ... this new file.
27305         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27306         (sysdep_routines): Move recvmmsg and sendmmsg...
27307         * socket/Makefile (routines): ... here.
27308         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27309         (GLIBC_PRIVATE): Add __sendmmsg.
27310         * include/sys/socket.h (__sendmmsg): Add declarations.
27311         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27312         sendmmsg.
27313
27314 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27315
27316         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27317         variable I1 with __attribute__ ((unused)).
27318         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27319
27320 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27321
27322         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27323         DUMMY variables with __attribute__ ((unused)).
27324
27325         * bits/byteswap.h: Include <bits/types.h>.
27326         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27327
27328 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27329
27330         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27331         string_t.  Do not manually set errno.
27332         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27333         length with __strnlen.  Make sure to both set errno and return it on
27334         failure.
27335
27336 2012-11-19  David S. Miller  <davem@davemloft.net>
27337
27338         With help from Joseph Myers.
27339         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27340         very large arguments properly.
27341         * math/libm-test.inc (atan_test): New tests.
27342         (atan2_test): New tests.
27343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27344         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27345
27346 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27347
27348         [BZ #14856]
27349         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27350         Define to 3.
27351
27352         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27353         [POSIX] (EADDRNOTAVAIL): Likewise.
27354         [POSIX] (EAFNOSUPPORT): Likewise.
27355         [POSIX] (EALREADY): Likewise.
27356         [POSIX] (ECONNABORTED): Likewise.
27357         [POSIX] (ECONNREFUSED): Likewise.
27358         [POSIX] (ECONNRESET): Likewise.
27359         [POSIX] (EDESTADDRREQ): Likewise.
27360         [POSIX] (EDQUOT): Likewise.
27361         [POSIX] (EHOSTUNREACH): Likewise.
27362         [POSIX] (EIDRM): Likewise.
27363         [POSIX] (EISCONN): Likewise.
27364         [POSIX] (ELOOP): Likewise.
27365         [POSIX] (EMULTIHOP): Likewise.
27366         [POSIX] (ENETDOWN): Likewise.
27367         [POSIX] (ENETUNREACH): Likewise.
27368         [POSIX] (ENOBUFS): Likewise.
27369         [POSIX] (ENODATA): Likewise.
27370         [POSIX] (ENOLINK): Likewise.
27371         [POSIX] (ENOMSG): Likewise.
27372         [POSIX] (ENOPROTOOPT): Likewise.
27373         [POSIX] (ENOSR): Likewise.
27374         [POSIX] (ENOSTR): Likewise.
27375         [POSIX] (ENOTCONN): Likewise.
27376         [POSIX] (ENOTSOCK): Likewise.
27377         [POSIX] (EOPNOTSUPP): Likewise.
27378         [POSIX] (EOVERFLOW): Likewise.
27379         [POSIX] (EPROTO): Likewise.
27380         [POSIX] (EPROTONOSUPPORT): Likewise.
27381         [POSIX] (EPROTOTYPE): Likewise.
27382         [POSIX] (ESTALE): Likewise.
27383         [POSIX] (ETIME): Likewise.
27384         [POSIX] (ETXTBSY): Likewise.
27385         [POSIX] (EWOULDBLOCK): Likewise.
27386         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27387         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27388         [POSIX] (SEEK_CUR): Likewise.
27389         [POSIX] (SEEK_END): Likewise.
27390         [POSIX || UNIX98] (mode_t): Do not require.
27391         [POSIX] (off_t): Likewise.
27392         [POSIX] (pid_t): Likewise.
27393         [POSIX] (sys/stat.h): Do not allow header.
27394         [POSIX] (unistd.h): Likewise.
27395         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27396         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27397         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27398         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27399         require.
27400         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27401         sigevent): Specify elements.
27402         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27403         entry.
27404         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27405         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27406
27407         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27408         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27409         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27410         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27411         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27412         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27413         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27414         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27415         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27416         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27417         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27418         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27419         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27420         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27421         Likewise.
27422         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27423         Likewise.
27424         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27425         Likewise.
27426         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27427         Likewise.
27428         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27429         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27430         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27431         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27432         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27433         Specify lower bound on value.
27434         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27435         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27436         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27437         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27438         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27439         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27440         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27441         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27442         value.
27443         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27444         as optional.
27445         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27446         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27447         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27448         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27449         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27450         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27451         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27452         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27453         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27454         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27455         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27456         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27457         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27458         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27459         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27460         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27461         entry.
27462         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27463         optional.
27464         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27465         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27466         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27467         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27468         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27469         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27470         Likewise.
27471         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27472         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27473         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27474         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27475         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27476         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27477         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27478         as optional.
27479         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27480         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27481         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27482         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27483         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27484         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27485         specify as optional.
27486         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27487         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27488         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27489         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27490         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27491         [XPG3] (NL_LANGMAX): Likewise.
27492         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27493         [POSIX || XPG3] (NL_NMAX): Likewise.
27494         [POSIX || XPG3] (NL_SETMAX): Likewise.
27495         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27496         [XPG3] (NZERO): Likewise.
27497         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27498         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27499         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27500         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27501         (REG_ERANGE): Expect.
27502         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27503         optional-constant.
27504         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27505         Use (void) in prototype.
27506         [POSIX] (*_t): Allow.
27507         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27508         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27509         (WRDE_BADVAL): Expect.
27510
27511         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27512         expect.
27513         [XPG3 || XPG4] (O_RSYNC): Likewise.
27514         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27515         Likewise.
27516         [XPG3 || XPG4] (pthread_sigmask): Likewise.
27517         [XPG3 || XPG4] (sigqueue): Likewise.
27518         [XPG3 || XPG4] (sigtimedwait): Likewise.
27519         [XPG3 || XPG4] (sigwaitinfo): Likewise.
27520         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27521         [XPG3 || XPG4] (vsnprintf): Likewise.
27522         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27523         Likewise.
27524         [XPG3 || XPG4] (blksize_t): Likewise.
27525         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27526         Likewise.
27527         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27528         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27529         [XPG3 || XPG4] (struct itimerspec): Likewise.
27530         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27531         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27532         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27533         [XPG3 || XPG4] (clockid_t): Likewise.
27534         [XPG3 || XPG4] (timer_t): Likewise.
27535         [XPG3 || XPG4] (clock_getres): Likewise.
27536         [XPG3 || XPG4] (clock_gettime): Likewise.
27537         [XPG3 || XPG4] (clock_settime): Likewise.
27538         [XPG3 || XPG4] (nanosleep): Likewise.
27539         [XPG3 || XPG4] (timer_create): Likewise.
27540         [XPG3 || XPG4] (timer_delete): Likewise.
27541         [XPG3 || XPG4] (timer_gettime): Likewise.
27542         [XPG3 || XPG4] (timer_getoverrun): Likewise.
27543         [XPG3 || XPG4] (timer_settime): Likewise.
27544         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27545         [XPG3 || XPG4] (getlogin_r): Likewise.
27546         [XPG3 || XPG4] (pread): Likewise.
27547         [XPG3 || XPG4] (pthread_atfork): Likewise.
27548         [XPG3 || XPG4] (pwrite): Likewise.
27549
27550         [BZ #14835]
27551         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27552         <bits/siginfo.h>.
27553
27554 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27555
27556         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27557         finalizing MALLSTREAM.
27558
27559         * sysdeps/mach/hurd/syncfs.c: New file.
27560
27561 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27562
27563         [BZ #14719]
27564         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27565         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27566         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27567         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27568         (_nss_dns_gethostbyname4_r): Likewise.
27569         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27570         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27571
27572 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
27573
27574         [BZ #13763]
27575         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27576
27577 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
27578
27579         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27580         * elf/cache.c (print_entry): Print ",AArch64" for
27581         FLAG_AARCH64_LIB64
27582
27583         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27584         * elf/cache.c (print_entry): Print ",hard-float" for
27585         FLAG_ARM_LIBHF.
27586
27587 2012-11-18  David S. Miller  <davem@davemloft.net>
27588
27589         With help from Joseph Myers.
27590         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27591         cutoff to 2**-13.
27592         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27593         cutoff to 2**-25.
27594         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27595         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27596         small.
27597         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27598         * math/libm-test.inc (y0_test): New tests.
27599         (y1_test): New tests.
27600         * sysdeps/i386/fpu/libm-test-ulps: Update.
27601         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27602         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27603
27604 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
27605
27606         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27607         64-bit targets.
27608         * configure: Regenerated.
27609
27610 2012-11-17  David S. Miller  <davem@davemloft.net>
27611
27612         [BZ #14811]
27613         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27614         nonzero exponents with absolute value below 0x1p-128 to +/-
27615         0x1p-128.
27616
27617 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
27618
27619         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27620
27621         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27622
27623         * posix/getconf-speclist.c: New file.
27624         * posix/posix-envs.def: Likewise.
27625         * posix/confstr.c (START_ENV_GROUP): New macro.
27626         (END_ENV_GROUP): Likewise.
27627         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27628         (KNOWN_PRESENT_ENV_STRING): Likewise.
27629         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27630         (UNKNOWN_ENVIRONMENT): Likewise.
27631         (confstr): Include posix-envs.def instead of handling
27632         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27633         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27634         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27635         (END_ENV_GROUP): Likewise.
27636         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27637         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27638         (UNKNOWN_ENVIRONMENT): Likewise.
27639         (__sysconf): Include posix-envs.def instead of handling associated
27640         cases directly here.
27641         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27642         preprocessing getconf-speclist.c rather than running getconf or
27643         generating empty file.
27644
27645 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
27646
27647         * scripts/check-local-headers.sh: Ignore 'mach' headers.
27648
27649 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
27650
27651         [BZ #14672]
27652         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27653
27654 2012-11-16  David S. Miller  <davem@davemloft.net>
27655
27656         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27657         smaller than LDBL_EPSILON/2.0L, just return xm1.
27658
27659 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
27660
27661         * elf/tst-array1.c (init): Set constructor priority to 1000.
27662         (fini): Set destructor priority to 1000.
27663         * elf/tst-array2dep.c: Likewise.
27664
27665 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27666
27667         [BZ #11741]
27668         * libio/fileops.c (_IO_new_file_write): Correctly return error.
27669         (_IO_new_file_xsputn): Also return EOF if none of the input
27670         data was written when overflow failed.
27671         * libio/iopadn.c (_IO_padn): Likewise.
27672         * libio/iowpadn.c (_IO_wpadn): Likewise.
27673         * stdio-common/tst-put-error.c: Add copyright notice.
27674         (do_test): Add case for printing padded string.
27675         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27676         _IO_padn returned error.
27677         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27678         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27679         return EOF.
27680
27681 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27682
27683         * libio/libioP.h: Add comment note that the references to C++
27684         bits are now obsolete.
27685
27686 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27687
27688         * math/libm-test.inc (check_complex): Use asprintf.
27689
27690 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
27691
27692         * debug/pcprofiledump.c (print_version): Update copyright year.
27693         * malloc/memusagestat.c (print_version): Likewise.
27694
27695 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
27696
27697         [BZ #14831]
27698         * elf/Makefile (tests): Add tst-audit8.
27699         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27700         ($(objpfx)tst-audit8.out): New target.
27701         (tst-audit8-ENV): New variable.
27702         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27703         audit if l_reloc_result is NULL.
27704         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27705         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27706         * elf/tst-audit8.c: New file.
27707
27708 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27709
27710         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27711         * misc/Makefile (CFLAGS-select.c): Define.
27712         * posix/Makefile (CFLAGS-pause.c): Define.
27713
27714 2012-11-13  David S. Miller  <davem@davemloft.net>
27715
27716         * crypt/Makefile: Move test targets after toplevel Rules
27717         inclusion.  Grab any necessary sysdep routines when linking.
27718         * crypt/md5.c (md5_process_block): Remove define, we will always
27719         name it __md5_process_block.
27720         (md5_finish_ctx): Update md5_process_block call.
27721         (md5_stream): Likewise.
27722         (md5_process_bytes): Likewise.
27723         (md5_process_block): Rename to __md5_process_block and move to ...
27724         * crypt/md5-block.c: ... here.
27725         * crypt/sha256.c (sha256_process_block): Move to ...
27726         * crypt/sha256-block.c: ... here.
27727         * crypt/sha512.c (sha512_process_block): Move to ...
27728         * crypt/sha512-block.c: ... here.
27729         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27730         path.
27731         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27732         * sysdeps/sparc/sparc64/multiarch/Makefile
27733         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27734         crypt subdir.
27735         (localedef-aux): Add md5 crypto assembler when in locale subdir.
27736         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27737         multiarch changes.
27738         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27739         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27740         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27741         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27742         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27743         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27744         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27745         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27746         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27747         file.
27748         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27749         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27750         file.
27751         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27752
27753 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
27754
27755         * timezone/tzselect.ksh: Update from tzcode git revision
27756         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27757         * timezone/zdump.c: Likewise.
27758         * timezone/zic.c: Likewise.
27759         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27760         in TZVERSION setting, not $(PKGVERSION).
27761         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
27762         REPORT_BUGS_TO settings.
27763
27764         [BZ #14838]
27765         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27766         macro.
27767
27768 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27769
27770         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27771         detection to immediately after _FP_ROUND().
27772         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27773         bits are 0.
27774
27775 2012-11-11  David S. Miller  <davem@davemloft.net>
27776
27777         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27778         inttypes.h
27779         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27780         __close rather than their public counterparts.
27781
27782 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
27783
27784         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27785         file.
27786         [UNIX98] (sem_timedwait): Do not expect.
27787         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27788         [XPG4 || UNIX98] (sockatmark): Do not expect.
27789         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27790         (clock_getcpuclockid): Do not expect.
27791         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27792         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27793         Do not expect.
27794         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27795         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27796         [UNIX98] (vwscanf): Likewise.
27797         [UNIX98] (vswscanf): Likewise.
27798
27799 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
27800
27801         * timezone/version.h: Remove file.
27802         * timezone/README: Do not refer to version.h.
27803         * timezone/Makefile ($(objpfx)zic.o): New dependency on
27804         $(objpfx)version.h.
27805         ($(objpfx)zdump.o): Likewise.
27806         ($(objpfx)version.h): New target.
27807
27808         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27809         2012i.
27810         * timezone/README: Don't mention modification to tzselect.ksh.
27811         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27812         work on unmodified tzselect.ksh.  Substitute version numbers in
27813         tzselect.ksh.
27814
27815         * Makefile (format-me): Remove.
27816         (INSTALL): Adjust indentation.  Use commands directly instead of
27817         using $(format-me).
27818
27819         * aclocal.m4 (ACX_PKGVERSION): New macro.
27820         (ACX_BUGURL): Likewise.
27821         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27822         (PKGVERSION): New AC_DEFINE_UNQUOTED.
27823         (REPORT_BUGS_TO): Likewise.
27824         * configure: Regenerated.
27825         * config.h.in (PKGVERSION): New macro.
27826         (REPORT_BUGS_TO): Likewise.
27827         * config.make.in (PKGVERSION): New variable.
27828         (PKGVERSION_TEXI): Likewise.
27829         (REPORT_BUGS_TO): Likewise.
27830         (REPORT_BUGS_TEXI): Likewise.
27831         * Makefile (format-me): Use -I$(common-objpfx)manual.
27832         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27833         ($(common-objpfx)manual/%): New target.
27834         (manual/%): Remove target.
27835         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27836         (print_version): Use PKGVERSION.
27837         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27838         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27839         and REPORT_BUGS_TO.
27840         ($(objpfx)xtrace): Likewise.
27841         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27842         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27843         (print_version): Use PKGVERSION.
27844         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27845         (do_version): Use PKGVERSION.
27846         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27847         REPORT_BUGS_TO.
27848         (common-ldd-rewrite): Likewise.
27849         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27850         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27851         (print_version): Use PKGVERSION.
27852         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27853         * elf/pldd.c (argp_program_bug_address): Remove variable.
27854         (more_help): New function.
27855         (argp): Use more_help.
27856         (print_version): Use PKGVERSION.
27857         * elf/sln.c (main): Use PKGVERSION.
27858         (usage): Use REPORT_BUGS_TO.
27859         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27860         (top level): Use PKGVERSION.
27861         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27862         (print_version): Use PKGVERSION.
27863         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27864         (print_version): Use PKGVERSION.
27865         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27866         (print_version): Use PKGVERSION.
27867         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27868         (print_version): Use PKGVERSION.
27869         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27870         (print_version): Use PKGVERSION.
27871         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27872         (print_version): Use PKGVERSION.
27873         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27874         and BUGURL.
27875         ($(objpfx)memusage): Likewise.
27876         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27877         (do_version): Use PKGVERSION.
27878         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27879         (print_version): Use PKGVERSION.
27880         * malloc/mtrace.pl ($PACKAGE): Remove variable.
27881         ($PKGVERSION): New variable.
27882         ($REPORT_BUGS_TO): Likewise.
27883         (usage): Use $REPORT_BUGS_TO.
27884         (top level): Use $PKGVERSION.
27885         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27886         ($(objpfx)pkgvers.texi): New rule.
27887         ($(objpfx)stamp-pkgvers): Likewise.
27888         * manual/install.texi: Include pkgvers.texi.
27889         (--with-pkgversion): Document new configure option.
27890         (--with-bugurl): Likewise.
27891         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27892         than necessarily for this particular distribution.  Use
27893         REPORT_BUGS_TO for where to report bugs.
27894         * INSTALL: Regenerated.
27895         * manual/libc.texinfo: Include pkgvers.texi.
27896         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27897         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27898         (print_version): Use PKGVERSION.
27899         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27900         (print_version): Use PKGVERSION.
27901         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27902         (print_version): Use PKGVERSION.
27903         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27904         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27905         macro.
27906         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27907         (print_version): Use PKGVERSION.
27908         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27909         (print_version): Use PKGVERSION.
27910         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27911         and PKGVERSION.
27912
27913         * timezone/checktab.awk: Update from tzcode 2012i.
27914         * timezone/ialloc.c: Likewise.
27915         * timezone/private.h: Likewise.
27916         * timezone/scheck.c: Likewise.
27917         * timezone/tzfile.h: Likewise.
27918         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27919         (TZVERSION): Hardcode tzcode version number.
27920         * timezone/zdump.c: Update from tzcode 2012i.
27921         * timezone/zic.c: Likewise.
27922         * timezone/version.h: New file.
27923         * timezone/README: Describe version.h.  Update upstream location.
27924
27925         [BZ #14824]
27926         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27927         (mktemp): Enable declaration.
27928         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27929         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27930         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27931         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27932         Likewise.
27933         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27934         Likewise.
27935         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27936         Likewise.
27937         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27938         Likewise.
27939         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27940         Likewise.
27941         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27942         Likewise.
27943
27944         [BZ #14821]
27945         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27946         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
27947         for copies of such integer values.
27948         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27949         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27950
27951 2012-11-09  Andreas Jaeger  <aj@suse.de>
27952
27953         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27954         definitions and declarations that are provided by
27955         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27956
27957 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27958
27959         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27960         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27961         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27962         definition.
27963
27964 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27965
27966         * elf/elf.h: Update comment before AArch64 relocations.
27967
27968 2012-11-07  David S. Miller  <davem@davemloft.net>
27969
27970         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27971         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27972         (__start_context): Declare.
27973         (__makecontext_ret): Delete.
27974         (__makecontext): Hook up __start_context instead of
27975         __makecontext_ret.
27976         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27977         (sysdep_routines): Add __start_context when in stdlib.
27978
27979 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27980
27981         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27982         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27983         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
27984         hardcoded "nm".
27985         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
27986         (READELF): New variable.  Use it instead of hardcoded "readelf".
27987
27988 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27989
27990         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27991         * sysdeps/x86/Makefile: Here.
27992         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27993         * sysdeps/x86/tst-xmmymm.sh: This.
27994
27995 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27996
27997         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27998         expectations.
27999         [UNIX98] (pthread_barrier_t): Do not expect.
28000         [UNIX98] (pthread_barrierattr_t): Likewise.
28001         [UNIX98] (pthread_spinlock_t): Likewise.
28002         [UNIX98] (pthread_barrier_destroy): Likewise.
28003         [UNIX98] (pthread_barrier_init): Likewise.
28004         [UNIX98] (pthread_barrier_wait): Likewise.
28005         [UNIX98] (pthread_barrierattr_destroy): Likewise.
28006         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28007         [UNIX98] (pthread_barrierattr_init): Likewise.
28008         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28009         [UNIX98] (pthread_getcpuclockid): Likewise.
28010         [UNIX98] (pthread_mutex_timedlock): Likewise.
28011         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28012         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28013         [UNIX98] (pthread_sigmask): Likewise.
28014         [UNIX98] (pthread_spin_destroy): Likewise.
28015         [UNIX98] (pthread_spin_init): Likewise.
28016         [UNIX98] (pthread_spin_lock): Likewise.
28017         [UNIX98] (pthread_spin_trylock): Likewise.
28018         [UNIX98] (pthread_spin_unlock): Likewise.
28019         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28020         Do not expect.
28021         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28022         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28023         [XPG3 || XPG4] (pthread_cond_t): Likewise.
28024         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28025         [XPG3 || XPG4] (pthread_key_t): Likewise.
28026         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28027         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28028         [XPG3 || XPG4] (pthread_once_t): Likewise.
28029         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28030         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28031         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28032         [XPG3 || XPG4] (pthread_t): Likewise.
28033
28034         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28035         not expect.
28036         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28037
28038         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28039         Change function return type to int.
28040
28041         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28042         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28043         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28044         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28045         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28046         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28047         [!POSIX] (posix_madvise): Likewise.
28048         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28049         && !UNIX98].
28050         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28051         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28052         (mode_t): Likewise.
28053         (posix_mem_offset): Likewise.
28054         (posix_typed_mem_get_info): Likewise.
28055         (posix_typed_mem_open): Likewise.
28056
28057         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28058         Change condition to [XOPEN2K8].
28059
28060         * conform/conformtest.pl: Preprocess allow-header data with -x c
28061         instead of from stdin.
28062         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28063         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28064         [C99-based standards] (cerfc): Likewise.
28065         [C99-based standards] (cexp2): Likewise.
28066         [C99-based standards] (cexpm1): Likewise.
28067         [C99-based standards] (clog10): Likewise.
28068         [C99-based standards] (clog1p): Likewise.
28069         [C99-based standards] (clog2): Likewise.
28070         [C99-based standards] (clgamma): Likewise.
28071         [C99-based standards] (ctgamma): Likewise.
28072         [C99-based standards] (cerff): Likewise.
28073         [C99-based standards] (cerfcf): Likewise.
28074         [C99-based standards] (cexp2f): Likewise.
28075         [C99-based standards] (cexpm1f): Likewise.
28076         [C99-based standards] (clog10f): Likewise.
28077         [C99-based standards] (clog1pf): Likewise.
28078         [C99-based standards] (clog2f): Likewise.
28079         [C99-based standards] (clgammaf): Likewise.
28080         [C99-based standards] (ctgammaf): Likewise.
28081         [C99-based standards] (cerfl): Likewise.
28082         [C99-based standards] (cerfcl): Likewise.
28083         [C99-based standards] (cexp2l): Likewise.
28084         [C99-based standards] (cexpm1l): Likewise.
28085         [C99-based standards] (clog10l): Likewise.
28086         [C99-based standards] (clog1pl): Likewise.
28087         [C99-based standards] (clog2l): Likewise.
28088         [C99-based standards] (clgammal): Likewise.
28089         [C99-based standards] (ctgammal): Likewise.
28090         * conform/data/inttypes.h-data [C99-based standards]: Include
28091         stdint.h-data.  Remove all expectations for stdint.h contents.
28092         [C99-based standards] (PRI*): Do not allow.
28093         [C99-based standards] (SCN*): Likewise.
28094         [C99-based standards] (*_t): Likewise.
28095         [C99-based-standards] (PRId8): Expect macro.
28096         [C99-based-standards] (PRIi8): Likewise.
28097         [C99-based-standards] (PRIo8): Likewise.
28098         [C99-based-standards] (PRIu8): Likewise.
28099         [C99-based-standards] (PRIx8): Likewise.
28100         [C99-based-standards] (PRIX8): Likewise.
28101         [C99-based-standards] (SCNd8): Likewise.
28102         [C99-based-standards] (SCNi8): Likewise.
28103         [C99-based-standards] (SCNo8): Likewise.
28104         [C99-based-standards] (SCNu8): Likewise.
28105         [C99-based-standards] (SCNx8): Likewise.
28106         [C99-based-standards] (PRIdLEAST8): Likewise.
28107         [C99-based-standards] (PRIiLEAST8): Likewise.
28108         [C99-based-standards] (PRIoLEAST8): Likewise.
28109         [C99-based-standards] (PRIuLEAST8): Likewise.
28110         [C99-based-standards] (PRIxLEAST8): Likewise.
28111         [C99-based-standards] (PRIXLEAST8): Likewise.
28112         [C99-based-standards] (SCNdLEAST8): Likewise.
28113         [C99-based-standards] (SCNiLEAST8): Likewise.
28114         [C99-based-standards] (SCNoLEAST8): Likewise.
28115         [C99-based-standards] (SCNuLEAST8): Likewise.
28116         [C99-based-standards] (SCNxLEAST8): Likewise.
28117         [C99-based-standards] (PRIdFAST8): Likewise.
28118         [C99-based-standards] (PRIiFAST8): Likewise.
28119         [C99-based-standards] (PRIoFAST8): Likewise.
28120         [C99-based-standards] (PRIuFAST8): Likewise.
28121         [C99-based-standards] (PRIxFAST8): Likewise.
28122         [C99-based-standards] (PRIXFAST8): Likewise.
28123         [C99-based-standards] (SCNdFAST8): Likewise.
28124         [C99-based-standards] (SCNiFAST8): Likewise.
28125         [C99-based-standards] (SCNoFAST8): Likewise.
28126         [C99-based-standards] (SCNuFAST8): Likewise.
28127         [C99-based-standards] (SCNxFAST8): Likewise.
28128         [C99-based-standards] (PRId16): Likewise.
28129         [C99-based-standards] (PRIi16): Likewise.
28130         [C99-based-standards] (PRIo16): Likewise.
28131         [C99-based-standards] (PRIu16): Likewise.
28132         [C99-based-standards] (PRIx16): Likewise.
28133         [C99-based-standards] (PRIX16): Likewise.
28134         [C99-based-standards] (SCNd16): Likewise.
28135         [C99-based-standards] (SCNi16): Likewise.
28136         [C99-based-standards] (SCNo16): Likewise.
28137         [C99-based-standards] (SCNu16): Likewise.
28138         [C99-based-standards] (SCNx16): Likewise.
28139         [C99-based-standards] (PRIdLEAST16): Likewise.
28140         [C99-based-standards] (PRIiLEAST16): Likewise.
28141         [C99-based-standards] (PRIoLEAST16): Likewise.
28142         [C99-based-standards] (PRIuLEAST16): Likewise.
28143         [C99-based-standards] (PRIxLEAST16): Likewise.
28144         [C99-based-standards] (PRIXLEAST16): Likewise.
28145         [C99-based-standards] (SCNdLEAST16): Likewise.
28146         [C99-based-standards] (SCNiLEAST16): Likewise.
28147         [C99-based-standards] (SCNoLEAST16): Likewise.
28148         [C99-based-standards] (SCNuLEAST16): Likewise.
28149         [C99-based-standards] (SCNxLEAST16): Likewise.
28150         [C99-based-standards] (PRIdFAST16): Likewise.
28151         [C99-based-standards] (PRIiFAST16): Likewise.
28152         [C99-based-standards] (PRIoFAST16): Likewise.
28153         [C99-based-standards] (PRIuFAST16): Likewise.
28154         [C99-based-standards] (PRIxFAST16): Likewise.
28155         [C99-based-standards] (PRIXFAST16): Likewise.
28156         [C99-based-standards] (SCNdFAST16): Likewise.
28157         [C99-based-standards] (SCNiFAST16): Likewise.
28158         [C99-based-standards] (SCNoFAST16): Likewise.
28159         [C99-based-standards] (SCNuFAST16): Likewise.
28160         [C99-based-standards] (SCNxFAST16): Likewise.
28161         [C99-based-standards] (PRId32): Likewise.
28162         [C99-based-standards] (PRIi32): Likewise.
28163         [C99-based-standards] (PRIo32): Likewise.
28164         [C99-based-standards] (PRIu32): Likewise.
28165         [C99-based-standards] (PRIx32): Likewise.
28166         [C99-based-standards] (PRIX32): Likewise.
28167         [C99-based-standards] (SCNd32): Likewise.
28168         [C99-based-standards] (SCNi32): Likewise.
28169         [C99-based-standards] (SCNo32): Likewise.
28170         [C99-based-standards] (SCNu32): Likewise.
28171         [C99-based-standards] (SCNx32): Likewise.
28172         [C99-based-standards] (PRIdLEAST32): Likewise.
28173         [C99-based-standards] (PRIiLEAST32): Likewise.
28174         [C99-based-standards] (PRIoLEAST32): Likewise.
28175         [C99-based-standards] (PRIuLEAST32): Likewise.
28176         [C99-based-standards] (PRIxLEAST32): Likewise.
28177         [C99-based-standards] (PRIXLEAST32): Likewise.
28178         [C99-based-standards] (SCNdLEAST32): Likewise.
28179         [C99-based-standards] (SCNiLEAST32): Likewise.
28180         [C99-based-standards] (SCNoLEAST32): Likewise.
28181         [C99-based-standards] (SCNuLEAST32): Likewise.
28182         [C99-based-standards] (SCNxLEAST32): Likewise.
28183         [C99-based-standards] (PRIdFAST32): Likewise.
28184         [C99-based-standards] (PRIiFAST32): Likewise.
28185         [C99-based-standards] (PRIoFAST32): Likewise.
28186         [C99-based-standards] (PRIuFAST32): Likewise.
28187         [C99-based-standards] (PRIxFAST32): Likewise.
28188         [C99-based-standards] (PRIXFAST32): Likewise.
28189         [C99-based-standards] (SCNdFAST32): Likewise.
28190         [C99-based-standards] (SCNiFAST32): Likewise.
28191         [C99-based-standards] (SCNoFAST32): Likewise.
28192         [C99-based-standards] (SCNuFAST32): Likewise.
28193         [C99-based-standards] (SCNxFAST32): Likewise.
28194         [C99-based-standards] (PRId64): Likewise.
28195         [C99-based-standards] (PRIi64): Likewise.
28196         [C99-based-standards] (PRIo64): Likewise.
28197         [C99-based-standards] (PRIu64): Likewise.
28198         [C99-based-standards] (PRIx64): Likewise.
28199         [C99-based-standards] (PRIX64): Likewise.
28200         [C99-based-standards] (SCNd64): Likewise.
28201         [C99-based-standards] (SCNi64): Likewise.
28202         [C99-based-standards] (SCNo64): Likewise.
28203         [C99-based-standards] (SCNu64): Likewise.
28204         [C99-based-standards] (SCNx64): Likewise.
28205         [C99-based-standards] (PRIdLEAST64): Likewise.
28206         [C99-based-standards] (PRIiLEAST64): Likewise.
28207         [C99-based-standards] (PRIoLEAST64): Likewise.
28208         [C99-based-standards] (PRIuLEAST64): Likewise.
28209         [C99-based-standards] (PRIxLEAST64): Likewise.
28210         [C99-based-standards] (PRIXLEAST64): Likewise.
28211         [C99-based-standards] (SCNdLEAST64): Likewise.
28212         [C99-based-standards] (SCNiLEAST64): Likewise.
28213         [C99-based-standards] (SCNoLEAST64): Likewise.
28214         [C99-based-standards] (SCNuLEAST64): Likewise.
28215         [C99-based-standards] (SCNxLEAST64): Likewise.
28216         [C99-based-standards] (PRIdFAST64): Likewise.
28217         [C99-based-standards] (PRIiFAST64): Likewise.
28218         [C99-based-standards] (PRIoFAST64): Likewise.
28219         [C99-based-standards] (PRIuFAST64): Likewise.
28220         [C99-based-standards] (PRIxFAST64): Likewise.
28221         [C99-based-standards] (PRIXFAST64): Likewise.
28222         [C99-based-standards] (SCNdFAST64): Likewise.
28223         [C99-based-standards] (SCNiFAST64): Likewise.
28224         [C99-based-standards] (SCNoFAST64): Likewise.
28225         [C99-based-standards] (SCNuFAST64): Likewise.
28226         [C99-based-standards] (SCNxFAST64): Likewise.
28227         [C99-based-standards] (PRIdMAX): Likewise.
28228         [C99-based-standards] (PRIiMAX): Likewise.
28229         [C99-based-standards] (PRIoMAX): Likewise.
28230         [C99-based-standards] (PRIuMAX): Likewise.
28231         [C99-based-standards] (PRIxMAX): Likewise.
28232         [C99-based-standards] (PRIXMAX): Likewise.
28233         [C99-based-standards] (SCNdMAX): Likewise.
28234         [C99-based-standards] (SCNiMAX): Likewise.
28235         [C99-based-standards] (SCNoMAX): Likewise.
28236         [C99-based-standards] (SCNuMAX): Likewise.
28237         [C99-based-standards] (SCNxMAX): Likewise.
28238         [C99-based-standards] (PRIdPTR): Likewise.
28239         [C99-based-standards] (PRIiPTR): Likewise.
28240         [C99-based-standards] (PRIoPTR): Likewise.
28241         [C99-based-standards] (PRIuPTR): Likewise.
28242         [C99-based-standards] (PRIxPTR): Likewise.
28243         [C99-based-standards] (PRIXPTR): Likewise.
28244         [C99-based-standards] (SCNdPTR): Likewise.
28245         [C99-based-standards] (SCNiPTR): Likewise.
28246         [C99-based-standards] (SCNoPTR): Likewise.
28247         [C99-based-standards] (SCNuPTR): Likewise.
28248         [C99-based-standards] (SCNxPTR): Likewise.
28249         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28250         allow.
28251         * conform/data/stdint.h-data: Update comments to clarify
28252         requirements.
28253         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28254         type.
28255         [C99-based standards] (INT8_MAX): Likewise.
28256         [C99-based standards] (INT16_MIN): Likewise.
28257         [C99-based standards] (INT16_MAX): Likewise.
28258         [C99-based standards] (INT32_MIN): Likewise.
28259         [C99-based standards] (INT32_MAX): Likewise.
28260         [C99-based standards] (INT64_MIN): Likewise.
28261         [C99-based standards] (INT64_MAX): Likewise.
28262         [C99-based standards] (UINT8_MAX): Likewise.
28263         [C99-based standards] (UINT16_MAX): Likewise.
28264         [C99-based standards] (UINT32_MAX): Likewise.
28265         [C99-based standards] (UINT64_MAX): Likewise.
28266         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28267         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28268         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28269         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28270         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28271         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28272         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28273         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28274         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28275         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28276         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28277         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28278         [C99-based standards] (INT_FAST8_MIN): Likewise.
28279         [C99-based standards] (INT_FAST8_MAX): Likewise.
28280         [C99-based standards] (INT_FAST16_MIN): Likewise.
28281         [C99-based standards] (INT_FAST16_MAX): Likewise.
28282         [C99-based standards] (INT_FAST32_MIN): Likewise.
28283         [C99-based standards] (INT_FAST32_MAX): Likewise.
28284         [C99-based standards] (INT_FAST64_MIN): Likewise.
28285         [C99-based standards] (INT_FAST64_MAX): Likewise.
28286         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28287         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28288         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28289         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28290         [C99-based standards] (INTPTR_MIN): Likewise.
28291         [C99-based standards] (INTPTR_MAX): Likewise.
28292         [C99-based standards] (UINTPTR_MAX): Likewise.
28293         [C99-based standards] (INTMAX_MIN): Likewise.
28294         [C99-based standards] (INTMAX_MAX): Likewise.
28295         [C99-based standards] (UINTMAX_MAX): Likewise.
28296         [C99-based standards] (PTRDIFF_MIN): Likewise.
28297         [C99-based standards] (PTRDIFF_MAX): Likewise.
28298         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28299         [C99-based standards] (SIZE_MAX): Likewise.
28300         [C99-based standards] (WCHAR_MAX): Likewise.
28301         [C99-based standards] (WINT_MAX): Likewise.
28302         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28303         constraint on value.
28304         [C99-based standards] (WCHAR_MIN): Likewise.
28305         [C99-based standards] (WINT_MIN): Likewise.
28306         [C99-based standards] (*_t): Allow.
28307         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28308         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28309         Include math.h-data and complex.h-data.  Remove all expectations
28310         of math.h and complex.h contents.
28311         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28312         at end of line.
28313         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28314         (struct tm): Expect tag.
28315         [C99-based-standards] (wcstof): Expect function.
28316         [C99-based-standards] (wcstold): Likewise.
28317         [C99-based-standards] (wcstoll): Likewise.
28318         [C99-based-standards] (wcstoull): Likewise.
28319         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28320         macro-int-constant.  Specify type.
28321         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28322         constraint on value.
28323         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28324         Specify type.
28325         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28326         Specify value.
28327         [ISO C standards]: Do not allow headers.
28328         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28329         wcs[abcdefghijklmnopqrstuvwxyz]*.
28330         [ISO C standards] (*_t): Do not allow.
28331         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28332         Expect function.
28333         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28334         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28335         Specify type.
28336         [ISO C standards]: Do not allow headers.
28337         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28338         is[abcdefghijklmnopqrstuvwxyz]*.
28339         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28340         to[abcdefghijklmnopqrstuvwxyz]*.
28341         [ISO C standards] (*_t): Do not allow.
28342         * conform/data/stdalign.h-data: New file.
28343         * conform/data/stdbool.h-data: Likewise.
28344         * conform/data/stdnoreturn.h-data: Likewise.
28345
28346 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28347
28348         [BZ #14815]
28349         * manual/filesys.texi (Directory Entries): Typo fix.
28350         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28351
28352 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28353
28354         * elf/elf.h (EM_AARCH64): New macro.
28355         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28356         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28357         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28358         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28359         (R_AARCH64_TLSDESC): Likewise.
28360         (NT_ARM_TLS): Likewise.
28361         (NT_ARM_HW_BREAK): Likewise.
28362         (NT_ARM_HW_WATCH): Likewise.
28363
28364 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28365
28366         [BZ #14811]
28367         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28368         (__ieee754_powl): Saturate nonzero exponents with absolute value
28369         below 0x1p-79 to +/- 0x1p-79.
28370         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28371         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28372         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28373         nonzero exponents with absolute value below 0x1p-32 to +/-
28374         0x1p-32.
28375         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28376         (__ieee754_powl): Saturate nonzero exponents with absolute value
28377         below 0x1p-79 to +/- 0x1p-79.
28378         * math/libm-test.inc (pow_test): Add more tests.
28379
28380 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28381
28382         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28383         _dl_s390_cap_flags with kernel. Increase string length.
28384         (_dl_s390_platforms): Add z196 and zEC12.
28385
28386 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28387
28388         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28389         Change XOPEN21K to XOPEN2K.
28390
28391 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28392
28393         * string/memmove.c: Use memcpy when possible.
28394
28395 2012-11-06  Andreas Jaeger  <aj@suse.de>
28396
28397         * po/eo.po: Update from translation team.
28398
28399 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28400
28401         [BZ #14793]
28402         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28403         exponent and small x and y exponents, scale x or y up.  Increase
28404         by 2 the exponent used in scaling up.
28405         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28406         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28407         * math/libm-test.inc (fma_test): Add more tests.
28408         (fma_test_towardzero): Likewise.
28409         (fma_test_downward): Likewise.
28410         (fma_test_upward): Likewise.
28411
28412 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28413
28414         [BZ #14805]
28415         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28416         fenv_t *.
28417
28418         [BZ #14801]
28419         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28420         namespace for names of struct fields.
28421         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28422         fenv_t fields.
28423         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28424         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28425
28426 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28427
28428         [BZ #3665]
28429         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28430
28431 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28432
28433         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28434         PTR_DEMANGLE.
28435
28436         [BZ #5246]
28437         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28438         PTR_DEMANGLE.
28439
28440 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28441
28442         [BZ #14797]
28443         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28444         definitely overflow as x * y not x * y + z.
28445         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28446         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28447         * math/libm-test.inc (fma_test): Add more tests.
28448         (fma_test_towardzero): Likewise.
28449         (fma_test_downward): Likewise.
28450         (fma_test_upward): Likewise.
28451
28452 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28453
28454         [BZ #157]
28455
28456         * include/stub-tag.h: Remove file.
28457         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28458         '#include' of it.
28459         * manual/maint.texi (Porting): Don't reference it.
28460         * Makerules ($(objpfx)stubs): Likewise.
28461         * dirent/closedir.c: Don't include <stub-tag.h>.
28462         * dirent/dirfd.c: Likewise.
28463         * dirent/fdopendir.c: Likewise.
28464         * dirent/getdents.c: Likewise.
28465         * dirent/getdents64.c: Likewise.
28466         * dirent/opendir.c: Likewise.
28467         * dirent/readdir.c: Likewise.
28468         * dirent/readdir64.c: Likewise.
28469         * dirent/readdir64_r.c: Likewise.
28470         * dirent/readdir_r.c: Likewise.
28471         * dirent/rewinddir.c: Likewise.
28472         * dirent/seekdir.c: Likewise.
28473         * dirent/telldir.c: Likewise.
28474         * gmon/profil.c: Likewise.
28475         * grp/setgroups.c: Likewise.
28476         * inet/if_index.c: Likewise.
28477         * io/access.c: Likewise.
28478         * io/chdir.c: Likewise.
28479         * io/chmod.c: Likewise.
28480         * io/chown.c: Likewise.
28481         * io/close.c: Likewise.
28482         * io/dup.c: Likewise.
28483         * io/dup2.c: Likewise.
28484         * io/dup3.c: Likewise.
28485         * io/euidaccess.c: Likewise.
28486         * io/faccessat.c: Likewise.
28487         * io/fchdir.c: Likewise.
28488         * io/fchmod.c: Likewise.
28489         * io/fchmodat.c: Likewise.
28490         * io/fchown.c: Likewise.
28491         * io/fchownat.c: Likewise.
28492         * io/fcntl.c: Likewise.
28493         * io/flock.c: Likewise.
28494         * io/fstatfs.c: Likewise.
28495         * io/fstatfs64.c: Likewise.
28496         * io/fstatvfs.c: Likewise.
28497         * io/fstatvfs64.c: Likewise.
28498         * io/futimens.c: Likewise.
28499         * io/fxstat.c: Likewise.
28500         * io/fxstat64.c: Likewise.
28501         * io/fxstatat.c: Likewise.
28502         * io/fxstatat64.c: Likewise.
28503         * io/getcwd.c: Likewise.
28504         * io/isatty.c: Likewise.
28505         * io/lchmod.c: Likewise.
28506         * io/lchown.c: Likewise.
28507         * io/link.c: Likewise.
28508         * io/linkat.c: Likewise.
28509         * io/lseek.c: Likewise.
28510         * io/lseek64.c: Likewise.
28511         * io/lxstat64.c: Likewise.
28512         * io/mkdir.c: Likewise.
28513         * io/mkdirat.c: Likewise.
28514         * io/mkfifo.c: Likewise.
28515         * io/mkfifoat.c: Likewise.
28516         * io/open.c: Likewise.
28517         * io/open64.c: Likewise.
28518         * io/openat.c: Likewise.
28519         * io/openat64.c: Likewise.
28520         * io/pipe.c: Likewise.
28521         * io/pipe2.c: Likewise.
28522         * io/poll.c: Likewise.
28523         * io/posix_fadvise.c: Likewise.
28524         * io/posix_fadvise64.c: Likewise.
28525         * io/posix_fallocate.c: Likewise.
28526         * io/posix_fallocate64.c: Likewise.
28527         * io/read.c: Likewise.
28528         * io/readlink.c: Likewise.
28529         * io/readlinkat.c: Likewise.
28530         * io/rmdir.c: Likewise.
28531         * io/sendfile.c: Likewise.
28532         * io/sendfile64.c: Likewise.
28533         * io/statfs.c: Likewise.
28534         * io/statfs64.c: Likewise.
28535         * io/statvfs.c: Likewise.
28536         * io/statvfs64.c: Likewise.
28537         * io/symlink.c: Likewise.
28538         * io/symlinkat.c: Likewise.
28539         * io/ttyname.c: Likewise.
28540         * io/ttyname_r.c: Likewise.
28541         * io/umask.c: Likewise.
28542         * io/unlink.c: Likewise.
28543         * io/unlinkat.c: Likewise.
28544         * io/utime.c: Likewise.
28545         * io/utimensat.c: Likewise.
28546         * io/write.c: Likewise.
28547         * io/xmknod.c: Likewise.
28548         * io/xmknodat.c: Likewise.
28549         * io/xstat.c: Likewise.
28550         * io/xstat64.c: Likewise.
28551         * login/getpt.c: Likewise.
28552         * login/grantpt.c: Likewise.
28553         * login/unlockpt.c: Likewise.
28554         * math/e_acoshl.c: Likewise.
28555         * math/e_acosl.c: Likewise.
28556         * math/e_asinl.c: Likewise.
28557         * math/e_atan2l.c: Likewise.
28558         * math/e_atanhl.c: Likewise.
28559         * math/e_coshl.c: Likewise.
28560         * math/e_expl.c: Likewise.
28561         * math/e_fmodl.c: Likewise.
28562         * math/e_gammal_r.c: Likewise.
28563         * math/e_hypotl.c: Likewise.
28564         * math/e_j0l.c: Likewise.
28565         * math/e_j1l.c: Likewise.
28566         * math/e_jnl.c: Likewise.
28567         * math/e_lgammal_r.c: Likewise.
28568         * math/e_log10l.c: Likewise.
28569         * math/e_log2l.c: Likewise.
28570         * math/e_logl.c: Likewise.
28571         * math/e_powl.c: Likewise.
28572         * math/e_rem_pio2l.c: Likewise.
28573         * math/e_sinhl.c: Likewise.
28574         * math/e_sqrtl.c: Likewise.
28575         * math/fclrexcpt.c: Likewise.
28576         * math/fedisblxcpt.c: Likewise.
28577         * math/feenablxcpt.c: Likewise.
28578         * math/fegetenv.c: Likewise.
28579         * math/fegetexcept.c: Likewise.
28580         * math/fegetround.c: Likewise.
28581         * math/feholdexcpt.c: Likewise.
28582         * math/fesetenv.c: Likewise.
28583         * math/fesetround.c: Likewise.
28584         * math/feupdateenv.c: Likewise.
28585         * math/fgetexcptflg.c: Likewise.
28586         * math/fraiseexcpt.c: Likewise.
28587         * math/fsetexcptflg.c: Likewise.
28588         * math/ftestexcept.c: Likewise.
28589         * math/k_cosl.c: Likewise.
28590         * math/k_rem_pio2l.c: Likewise.
28591         * math/k_sinl.c: Likewise.
28592         * math/k_tanl.c: Likewise.
28593         * math/s_asinhl.c: Likewise.
28594         * math/s_atanl.c: Likewise.
28595         * math/s_cbrtl.c: Likewise.
28596         * math/s_erfl.c: Likewise.
28597         * math/s_expm1l.c: Likewise.
28598         * math/s_log1pl.c: Likewise.
28599         * math/s_tanhl.c: Likewise.
28600         * misc/acct.c: Likewise.
28601         * misc/brk.c: Likewise.
28602         * misc/chflags.c: Likewise.
28603         * misc/chroot.c: Likewise.
28604         * misc/fchflags.c: Likewise.
28605         * misc/fgetxattr.c: Likewise.
28606         * misc/flistxattr.c: Likewise.
28607         * misc/fremovexattr.c: Likewise.
28608         * misc/fsetxattr.c: Likewise.
28609         * misc/fsync.c: Likewise.
28610         * misc/ftruncate.c: Likewise.
28611         * misc/futimes.c: Likewise.
28612         * misc/futimesat.c: Likewise.
28613         * misc/getdomain.c: Likewise.
28614         * misc/getdtsz.c: Likewise.
28615         * misc/gethostid.c: Likewise.
28616         * misc/gethostname.c: Likewise.
28617         * misc/getloadavg.c: Likewise.
28618         * misc/getpagesize.c: Likewise.
28619         * misc/getsysstats.c: Likewise.
28620         * misc/getxattr.c: Likewise.
28621         * misc/gtty.c: Likewise.
28622         * misc/ioctl.c: Likewise.
28623         * misc/lgetxattr.c: Likewise.
28624         * misc/listxattr.c: Likewise.
28625         * misc/llistxattr.c: Likewise.
28626         * misc/lremovexattr.c: Likewise.
28627         * misc/lsetxattr.c: Likewise.
28628         * misc/lutimes.c: Likewise.
28629         * misc/madvise.c: Likewise.
28630         * misc/mincore.c: Likewise.
28631         * misc/mlock.c: Likewise.
28632         * misc/mlockall.c: Likewise.
28633         * misc/mmap.c: Likewise.
28634         * misc/mprotect.c: Likewise.
28635         * misc/msync.c: Likewise.
28636         * misc/munlock.c: Likewise.
28637         * misc/munlockall.c: Likewise.
28638         * misc/munmap.c: Likewise.
28639         * misc/preadv.c: Likewise.
28640         * misc/preadv64.c: Likewise.
28641         * misc/ptrace.c: Likewise.
28642         * misc/pwritev.c: Likewise.
28643         * misc/pwritev64.c: Likewise.
28644         * misc/readv.c: Likewise.
28645         * misc/reboot.c: Likewise.
28646         * misc/remap_file_pages.c: Likewise.
28647         * misc/removexattr.c: Likewise.
28648         * misc/revoke.c: Likewise.
28649         * misc/select.c: Likewise.
28650         * misc/setdomain.c: Likewise.
28651         * misc/setegid.c: Likewise.
28652         * misc/seteuid.c: Likewise.
28653         * misc/sethostid.c: Likewise.
28654         * misc/sethostname.c: Likewise.
28655         * misc/setregid.c: Likewise.
28656         * misc/setreuid.c: Likewise.
28657         * misc/setxattr.c: Likewise.
28658         * misc/sstk.c: Likewise.
28659         * misc/stty.c: Likewise.
28660         * misc/swapoff.c: Likewise.
28661         * misc/swapon.c: Likewise.
28662         * misc/sync.c: Likewise.
28663         * misc/syncfs.c: Likewise.
28664         * misc/syscall.c: Likewise.
28665         * misc/truncate.c: Likewise.
28666         * misc/ualarm.c: Likewise.
28667         * misc/usleep.c: Likewise.
28668         * misc/ustat.c: Likewise.
28669         * misc/utimes.c: Likewise.
28670         * misc/vhangup.c: Likewise.
28671         * misc/writev.c: Likewise.
28672         * posix/_exit.c: Likewise.
28673         * posix/alarm.c: Likewise.
28674         * posix/execve.c: Likewise.
28675         * posix/fexecve.c: Likewise.
28676         * posix/fork.c: Likewise.
28677         * posix/fpathconf.c: Likewise.
28678         * posix/getaddrinfo.c: Likewise.
28679         * posix/getegid.c: Likewise.
28680         * posix/geteuid.c: Likewise.
28681         * posix/getgid.c: Likewise.
28682         * posix/getgroups.c: Likewise.
28683         * posix/getlogin.c: Likewise.
28684         * posix/getlogin_r.c: Likewise.
28685         * posix/getpgid.c: Likewise.
28686         * posix/getpid.c: Likewise.
28687         * posix/getppid.c: Likewise.
28688         * posix/getresgid.c: Likewise.
28689         * posix/getresuid.c: Likewise.
28690         * posix/getsid.c: Likewise.
28691         * posix/getuid.c: Likewise.
28692         * posix/glob64.c: Likewise.
28693         * posix/nanosleep.c: Likewise.
28694         * posix/pathconf.c: Likewise.
28695         * posix/pause.c: Likewise.
28696         * posix/posix_madvise.c: Likewise.
28697         * posix/pread.c: Likewise.
28698         * posix/pread64.c: Likewise.
28699         * posix/pwrite.c: Likewise.
28700         * posix/pwrite64.c: Likewise.
28701         * posix/sched_getaffinity.c: Likewise.
28702         * posix/sched_getp.c: Likewise.
28703         * posix/sched_gets.c: Likewise.
28704         * posix/sched_primax.c: Likewise.
28705         * posix/sched_primin.c: Likewise.
28706         * posix/sched_rr_gi.c: Likewise.
28707         * posix/sched_setaffinity.c: Likewise.
28708         * posix/sched_setp.c: Likewise.
28709         * posix/sched_sets.c: Likewise.
28710         * posix/sched_yield.c: Likewise.
28711         * posix/setgid.c: Likewise.
28712         * posix/setlogin.c: Likewise.
28713         * posix/setpgid.c: Likewise.
28714         * posix/setresgid.c: Likewise.
28715         * posix/setresuid.c: Likewise.
28716         * posix/setsid.c: Likewise.
28717         * posix/setuid.c: Likewise.
28718         * posix/sleep.c: Likewise.
28719         * posix/spawni.c: Likewise.
28720         * posix/sysconf.c: Likewise.
28721         * posix/times.c: Likewise.
28722         * posix/wait.c: Likewise.
28723         * posix/wait3.c: Likewise.
28724         * posix/wait4.c: Likewise.
28725         * posix/waitpid.c: Likewise.
28726         * resolv/gai_sigqueue.c: Likewise.
28727         * resource/getpriority.c: Likewise.
28728         * resource/getrlimit.c: Likewise.
28729         * resource/getrusage.c: Likewise.
28730         * resource/nice.c: Likewise.
28731         * resource/setpriority.c: Likewise.
28732         * resource/setrlimit.c: Likewise.
28733         * resource/ulimit.c: Likewise.
28734         * rt/aio_cancel.c: Likewise.
28735         * rt/aio_fsync.c: Likewise.
28736         * rt/aio_read.c: Likewise.
28737         * rt/aio_sigqueue.c: Likewise.
28738         * rt/aio_suspend.c: Likewise.
28739         * rt/aio_write.c: Likewise.
28740         * rt/clock_getres.c: Likewise.
28741         * rt/clock_gettime.c: Likewise.
28742         * rt/clock_nanosleep.c: Likewise.
28743         * rt/clock_settime.c: Likewise.
28744         * rt/lio_listio.c: Likewise.
28745         * rt/mq_close.c: Likewise.
28746         * rt/mq_getattr.c: Likewise.
28747         * rt/mq_notify.c: Likewise.
28748         * rt/mq_open.c: Likewise.
28749         * rt/mq_receive.c: Likewise.
28750         * rt/mq_send.c: Likewise.
28751         * rt/mq_setattr.c: Likewise.
28752         * rt/mq_timedreceive.c: Likewise.
28753         * rt/mq_timedsend.c: Likewise.
28754         * rt/mq_unlink.c: Likewise.
28755         * rt/shm_open.c: Likewise.
28756         * rt/shm_unlink.c: Likewise.
28757         * rt/timer_create.c: Likewise.
28758         * rt/timer_delete.c: Likewise.
28759         * rt/timer_getoverr.c: Likewise.
28760         * rt/timer_gettime.c: Likewise.
28761         * rt/timer_settime.c: Likewise.
28762         * setjmp/__longjmp.c: Likewise.
28763         * setjmp/setjmp.c: Likewise.
28764         * signal/kill.c: Likewise.
28765         * signal/killpg.c: Likewise.
28766         * signal/raise.c: Likewise.
28767         * signal/sigaction.c: Likewise.
28768         * signal/sigaltstack.c: Likewise.
28769         * signal/sigblock.c: Likewise.
28770         * signal/sigignore.c: Likewise.
28771         * signal/sigintr.c: Likewise.
28772         * signal/signal.c: Likewise.
28773         * signal/sigpause.c: Likewise.
28774         * signal/sigpending.c: Likewise.
28775         * signal/sigqueue.c: Likewise.
28776         * signal/sigreturn.c: Likewise.
28777         * signal/sigset.c: Likewise.
28778         * signal/sigsetmask.c: Likewise.
28779         * signal/sigstack.c: Likewise.
28780         * signal/sigsuspend.c: Likewise.
28781         * signal/sigtimedwait.c: Likewise.
28782         * signal/sigvec.c: Likewise.
28783         * signal/sigwait.c: Likewise.
28784         * signal/sigwaitinfo.c: Likewise.
28785         * signal/sysv_signal.c: Likewise.
28786         * socket/accept.c: Likewise.
28787         * socket/accept4.c: Likewise.
28788         * socket/bind.c: Likewise.
28789         * socket/connect.c: Likewise.
28790         * socket/getpeername.c: Likewise.
28791         * socket/getsockname.c: Likewise.
28792         * socket/getsockopt.c: Likewise.
28793         * socket/isfdtype.c: Likewise.
28794         * socket/listen.c: Likewise.
28795         * socket/recv.c: Likewise.
28796         * socket/recvfrom.c: Likewise.
28797         * socket/recvmsg.c: Likewise.
28798         * socket/send.c: Likewise.
28799         * socket/sendmsg.c: Likewise.
28800         * socket/sendto.c: Likewise.
28801         * socket/setsockopt.c: Likewise.
28802         * socket/shutdown.c: Likewise.
28803         * socket/sockatmark.c: Likewise.
28804         * socket/socket.c: Likewise.
28805         * socket/socketpair.c: Likewise.
28806         * stdio-common/ctermid.c: Likewise.
28807         * stdio-common/cuserid.c: Likewise.
28808         * stdio-common/remove.c: Likewise.
28809         * stdio-common/rename.c: Likewise.
28810         * stdio-common/renameat.c: Likewise.
28811         * stdio-common/tempname.c: Likewise.
28812         * stdlib/getcontext.c: Likewise.
28813         * stdlib/makecontext.c: Likewise.
28814         * stdlib/setcontext.c: Likewise.
28815         * stdlib/swapcontext.c: Likewise.
28816         * stdlib/system.c: Likewise.
28817         * streams/fattach.c: Likewise.
28818         * streams/fdetach.c: Likewise.
28819         * streams/getmsg.c: Likewise.
28820         * streams/getpmsg.c: Likewise.
28821         * streams/putmsg.c: Likewise.
28822         * streams/putpmsg.c: Likewise.
28823         * sysdeps/unix/bsd/getpt.c: Likewise.
28824         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28825         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28826         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28828         Likewise.
28829         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28830         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28831         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28832         * sysvipc/msgctl.c: Likewise.
28833         * sysvipc/msgget.c: Likewise.
28834         * sysvipc/msgrcv.c: Likewise.
28835         * sysvipc/msgsnd.c: Likewise.
28836         * sysvipc/semctl.c: Likewise.
28837         * sysvipc/semget.c: Likewise.
28838         * sysvipc/semop.c: Likewise.
28839         * sysvipc/semtimedop.c: Likewise.
28840         * sysvipc/shmat.c: Likewise.
28841         * sysvipc/shmctl.c: Likewise.
28842         * sysvipc/shmdt.c: Likewise.
28843         * sysvipc/shmget.c: Likewise.
28844         * termios/tcdrain.c: Likewise.
28845         * termios/tcflow.c: Likewise.
28846         * termios/tcflush.c: Likewise.
28847         * termios/tcgetattr.c: Likewise.
28848         * termios/tcgetpgrp.c: Likewise.
28849         * termios/tcsendbrk.c: Likewise.
28850         * termios/tcsetattr.c: Likewise.
28851         * termios/tcsetpgrp.c: Likewise.
28852         * time/adjtime.c: Likewise.
28853         * time/clock.c: Likewise.
28854         * time/getitimer.c: Likewise.
28855         * time/gettimeofday.c: Likewise.
28856         * time/setitimer.c: Likewise.
28857         * time/settimeofday.c: Likewise.
28858         * time/stime.c: Likewise.
28859         * time/time.c: Likewise.
28860
28861 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
28862
28863         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28864         /usr/old/bin.
28865
28866         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28867         instead of spaces.
28868         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28869
28870 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
28871
28872         [BZ #14796]
28873         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28874         FE_TONEAREST before applying Dekker multiplication and Knuth
28875         addition.  Clear inexact exceptions and check for exact zero
28876         results afterwards.
28877         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28878         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28879         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28880         * math/libm-test.inc (fma_test): Add more tests.
28881         (fma_test_towardzero): Likewise.
28882         (fma_test_downward): Likewise.
28883         (fma_test_upward): Likewise.
28884         * sysdeps/generic/math_private.h (default_libc_fesetround): New
28885         function.
28886         (libc_fesetround): New macro.
28887         (libc_fesetroundf): Likewise.
28888         (libc_fesetroundl): Likewise.
28889         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28890         function.
28891         (libc_fesetround_387): Likewise.
28892         (libc_fesetroundf): New macro.
28893         (libc_fesetround): Likewise.
28894         (libc_fesetroundl): Likewise.
28895         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28896         function.
28897         (libc_fesetroundf): New macro.
28898         (libc_fesetround): Likewise.
28899         (libc_fesetroundl): Likewise.
28900         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28901         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28902         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28903         libm_hidden_ver.
28904         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28905         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28906         libm_hidden_def.
28907         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28908         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28909         libm_hidden_ver.
28910         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28911         libm_hidden_def.
28912
28913         [BZ #3439]
28914         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28915         integer constant usable in #if and use that to give value to enum
28916         constant.
28917         (FE_DIVBYZERO): Likewise.
28918         (FE_UNDERFLOW): Likewise.
28919         (FE_OVERFLOW): Likewise.
28920         (FE_INVALID): Likewise.
28921         (FE_INVALID_SNAN): Likewise.
28922         (FE_INVALID_ISI): Likewise.
28923         (FE_INVALID_IDI): Likewise.
28924         (FE_INVALID_ZDZ): Likewise.
28925         (FE_INVALID_IMZ): Likewise.
28926         (FE_INVALID_COMPARE): Likewise.
28927         (FE_INVALID_SOFTWARE): Likewise.
28928         (FE_INVALID_SQRT): Likewise.
28929         (FE_INVALID_INTEGER_CONVERSION): Likewise.
28930         (FE_TONEAREST): Likewise.
28931         (FE_TOWARDZERO): Likewise.
28932         (FE_UPWARD): Likewise.
28933         (FE_DOWNWARD): Likewise.
28934         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28935         (FE_DIVBYZERO): Likewise.
28936         (FE_OVERFLOW): Likewise.
28937         (FE_UNDERFLOW): Likewise.
28938         (FE_INEXACT): Likewise.
28939         (FE_TONEAREST): Likewise.
28940         (FE_DOWNWARD): Likewise.
28941         (FE_UPWARD): Likewise.
28942         (FE_TOWARDZERO): Likewise.
28943         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28944         (FE_UNDERFLOW): Likewise.
28945         (FE_OVERFLOW): Likewise.
28946         (FE_DIVBYZERO): Likewise.
28947         (FE_INVALID): Likewise.
28948         (FE_TONEAREST): Likewise.
28949         (FE_TOWARDZERO): Likewise.
28950         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28951         (FE_OVERFLOW): Likewise.
28952         (FE_UNDERFLOW): Likewise.
28953         (FE_DIVBYZERO): Likewise.
28954         (FE_INEXACT): Likewise.
28955         (FE_TONEAREST): Likewise.
28956         (FE_TOWARDZERO): Likewise.
28957         (FE_UPWARD): Likewise.
28958         (FE_DOWNWARD): Likewise.
28959         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28960         (FE_DIVBYZERO): Likewise.
28961         (FE_OVERFLOW): Likewise.
28962         (FE_UNDERFLOW): Likewise.
28963         (FE_INEXACT): Likewise.
28964         (FE_TONEAREST): Likewise.
28965         (FE_DOWNWARD): Likewise.
28966         (FE_UPWARD): Likewise.
28967         (FE_TOWARDZERO): Likewise.
28968
28969 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
28970
28971         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28972
28973 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
28974
28975         * scripts/cross-test-ssh.sh (command): Use newlines to separate
28976         commands.  Quote $PWD.
28977         (blacklist_exports): Don't use remove_newlines.  Replace "declare
28978         -x" by "export".
28979         (remove_newlines): Remove.
28980
28981 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
28982
28983         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28984         * stdlib/stdlib.h (atof): Moved to ...
28985         * include/bits/stdlib-float.h: Here.  New file.
28986         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28987         * stdlib/bits/stdlib-float.h: New file.
28988         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28989         -mno-sse -mno-mmx.
28990         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28991         <xmmintrin.h>.
28992
28993 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28994
28995         * conform/conformtest.pl (@headers): Add fenv.h.
28996         * conform/data/fenv.h-data: New file.
28997         * include/fenv.h [_ISOMAC]: Disable all contents of file except
28998         include of <math/fenv.h>.
28999
29000         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29001         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29002         && !UNIX98].  Enables tests for XOPEN2K8.
29003         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29004         POSIX2008]: Likewise.
29005
29006         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29007         (struct rusage): Do not expect type or its members.
29008
29009         [BZ #3439]
29010         * math/math.h (FP_NAN): Define macro to integer constant usable in
29011         #if and use that to give value to enum constant.
29012         (FP_INFINITE): Likewise.
29013         (FP_ZERO): Likewise.
29014         (FP_SUBNORMAL): Likewise.
29015         (FP_NORMAL): Likewise.
29016
29017 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
29018
29019         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29020         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29021         arguments.
29022
29023 2012-11-02  Roland McGrath  <roland@hack.frob.com>
29024
29025         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29026         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29027         autoconf-time if not.
29028         * configure.in: Remove AC_PREREQ.
29029
29030 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29031
29032         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29033         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29034         of the internal implementation.
29035
29036 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29037
29038         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29039         except include of <misc/sys/syslog.h>.
29040
29041 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29042
29043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29044         function returns with a NULL context exit with zero.
29045
29046 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29047
29048         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29049
29050 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
29051
29052         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29053         (run_program_cmd): This.
29054         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29055         (tst_langinfo): New variable.  Use it.
29056
29057 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
29058
29059         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29060         floating point opcodes.
29061
29062 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29063
29064         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29065         variable.
29066
29067         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29068
29069         * sysdeps/mach/hurd/powerpc: Remove directory.
29070         * sysdeps/mach/powerpc: Likewise.
29071
29072 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29073
29074         * scripts/check-local-headers.sh: Ignore c++ headers.
29075
29076 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29077
29078         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29079         __libc_cleanup_region_start argument.
29080
29081 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29082
29083         [BZ #14784]
29084         [BZ #14785]
29085         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29086         x * y using scaling, not as x * y + z.
29087         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29088         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29089         * math/libm-test.inc (fma_test): Add more tests.
29090         (fma_test_towardzero): Likewise.
29091         (fma_test_downward): Likewise.
29092         (fma_test_upward): Likewise.
29093
29094 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29095
29096         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29097
29098 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29099
29100         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29101         New variable.
29102
29103 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29104
29105         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29106
29107 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29108
29109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29110         Fix sort order.
29111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29112         Likewise.
29113
29114 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29115
29116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29117         Fix the order of the list for glibc 2.17.
29118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29119         Likewise.
29120
29121 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29122
29123         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29124
29125 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29126
29127         [BZ #14610]
29128         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29129         for low part of x being zero before using __atanl (y).
29130         * math/libm-test.inc (atan2_test): Add another test.
29131
29132         * manual/install.texi (Configuring and compiling): Document
29133         general use of test-wrapper and test-wrapper-env.
29134         * INSTALL: Regenerated.
29135
29136         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29137         (__fma): Do not extract and scale down low bits on after-rounding
29138         systems when result rounded to normal precision would have normal
29139         exponent.
29140         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29141         (__fmal): Do not extract and scale down low bits on after-rounding
29142         systems when result rounded to normal precision would have normal
29143         exponent.
29144         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29145         (__fmal): Do not extract and scale down low bits on after-rounding
29146         systems when result rounded to normal precision would have normal
29147         exponent.
29148         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29149         macro.
29150         (fma_test): Add more tests.
29151         (fma_test_towardzero): Likewise.
29152         (fma_test_downward): Likewise.
29153         (fma_test_upward): Likewise.
29154
29155 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29156
29157         * sysdeps/i386/tininess.h: Renamed to ...
29158         * sysdeps/x86/tininess.h: This.
29159         * sysdeps/x86_64/tininess.h: Removed.
29160
29161 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29162
29163         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29164         input.  Use $(build-program-cmd).
29165         ($(objpfx)tst-array1-static.out): Likewise.
29166         ($(objpfx)tst-array2.out): Likewise.
29167         ($(objpfx)tst-array3.out): Likewise.
29168         ($(objpfx)tst-array4.out): Likewise.
29169         ($(objpfx)tst-array5.out): Likewise.
29170         ($(objpfx)tst-array5-static.out): Likewise.
29171
29172 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29173
29174         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29175         if defined.
29176
29177         * nss/nsswitch.h (nss_interface_function): Provide new
29178         macro for use with NSS functions.
29179         * grp/initgroups.c: Use new macro.
29180         * nss/getXXbyYY.c: Likewise.
29181         * nss/getXXbyYY_r.c: Likewise.
29182         * nss/getXXent.c: Likewise.
29183         * nss/getXXent_r.c: Likewise.
29184         * sysdeps/posix/getaddrinfo.c: Likewise.
29185
29186 2012-10-30  Andreas Jaeger  <aj@suse.de>
29187
29188         * po/ru.po: Update Russion translation from translation project.
29189
29190 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29191
29192         [BZ #14152]
29193         [BZ #14783]
29194         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29195         result and shift together with sticky bit instead of replicating
29196         round-to-nearest rounding.
29197         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29198         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29199         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29200         missing underflow exceptions.
29201         (fma_test_towardzero): Add more tests.
29202         (fma_test_downward): Likewise.
29203         (fma_test_upward): Likewise.
29204
29205         [BZ #14047]
29206         * sysdeps/generic/tininess.h: New file.
29207         * sysdeps/i386/tininess.h: Likewise.
29208         * sysdeps/sh/tininess.h: Likewise.
29209         * sysdeps/x86_64/tininess.h: Likewise.
29210         * stdlib/tst-strtod-underflow.c: Likewise.
29211         * stdlib/tst-tininess.c: Likewise.
29212         * stdlib/strtod_l.c: Include <tininess.h>.
29213         (round_and_return): Do not set errno for exact underflow cases.
29214         Force an underflow exception when setting errno for underflow.
29215         Determine underflow based on rounding to normal precision if
29216         TININESS_AFTER_ROUNDING.
29217         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29218         ERANGE for exact underflow cases.
29219         * stdlib/Makefile (tests): Add tst-tininess and
29220         tst-strtod-underflow.
29221         ($(objpfx)tst-tininess): Use $(link-libm).
29222         ($(objpfx)tst-strtod-underflow): Likewise.
29223
29224 2012-10-30  Andreas Jaeger  <aj@suse.de>
29225
29226         [BZ#14767]
29227         * elf/Makefile (tests): Remove conditional for have-initfini-array
29228         since this is now always required and the variable does not exist
29229         anymore.
29230         (tests-static): Likewise.
29231         (modules-names): Likewise.
29232
29233         * po/eo.po: Add Esperanto translation from translation project.
29234
29235         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29236         merged with constructor/destructor.
29237         (init_array): Likewise.
29238         * elf/tst-array2dep.c (fini_array): Likewise.
29239         (init_array): Likewise.
29240
29241 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29242
29243         * manual/message.texi: Delete @cartouche tags.
29244
29245 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29246
29247         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29248         EOPNOTSUPP.
29249         * sysdeps/mach/hurd/fsync.c: Likewise.
29250
29251         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29252         [_POSIX_REALTIME_SIGNALS]: Change condition to
29253         [_POSIX_REALTIME_SIGNALS > 0].
29254
29255 2012-10-27  Andreas Jaeger  <aj@suse.de>
29256
29257         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29258         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29259         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29260         [__WORDSIZE != 64]: Likewise.
29261
29262 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29263
29264         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29265         *  iconvdata/tst-tables.sh: Likewise.
29266
29267 2012-10-25  David S. Miller  <davem@davemloft.net>
29268
29269         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29270         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29271         of strtoull.
29272
29273         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29274         ifunc-impl-list.c
29275         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29276         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29277         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29278         file.
29279
29280 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29281
29282         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29283         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29284         __getdirentries.
29285
29286 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29287             Jim Blandy  <jimb@codesourcery.com>
29288
29289         * scripts/cross-test-ssh.sh: New file.
29290         * manual/install.texi (Configuring and compiling): Document use of
29291         cross-test-ssh.sh.
29292         * INSTALL: Regenerated.
29293
29294 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29295
29296         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29297         EOPNOTSUPP.
29298
29299 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29300
29301         * Makeconfig (run-program-prefix): Fix comment.
29302
29303 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29304             Jim Blandy  <jimb@codesourcery.com>
29305
29306         * Makeconfig (test-wrapper): New variable,
29307         (test-wrapper-env): Likewise.
29308         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29309         (run-built-tests): Define to yes.
29310         (run-program-prefix): Use $(test-wrapper).
29311         (built-program-cmd): Likewise.
29312         * Rules (make-test-out): Use $(test-wrapper-env) and
29313         $(host-built-program-cmd).
29314         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29315         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29316         tst-pathopt.sh.
29317         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29318         $(test-wrapper-env) to tst-rtld-load-self.sh.
29319         ($(objpfx)order2.out): Use $(test-wrapper).
29320         ($(objpfx)tst-initorder.out): Likewise.
29321         ($(objpfx)tst-initorder2.out): Likewise.
29322         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29323         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29324         (test_wrapper_env): New variable.  Use it to run ld.so.
29325         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29326         Use it to run ld.so.
29327         (test_wrapper_env): Likewise.
29328         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29329         $(test-wrapper) to run-iconv-test.sh.
29330         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29331         (ICONV): Use $test_wrapper.
29332         * posix/Makefile ($(objpfx)globtest.out): Pass
29333         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29334         globtest.sh, not $(run-program-prefix).
29335         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29336         (test_wrapper): Likewise.
29337         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29338         set together with run_via_rtld_prefix.
29339         (run_program_prefix): Define in terms of test_wrapper and
29340         run_via_rtld_prefix.
29341
29342 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29343
29344         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29345         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29346         Targets removed.
29347
29348         [BZ #14743]
29349         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29350         Declare __clock_getres, __clock_gettime, __clock_settime,
29351         __clock_nanosleep, and __clock_getcpuclockid.
29352         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29353         Remove librt_hidden_def (clock_gettime).
29354         * sysdeps/unix/clock_gettime.c: Likewise.
29355         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29356         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29357         * rt/clock_getres.c: Define __clock_getres as an alias.
29358         * sysdeps/posix/clock_getres.c: Likewise.
29359         * rt/clock_settime.c: Define __clock_settime as an alias.
29360         * sysdeps/unix/clock_settime.c: Likewise.
29361         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29362         * sysdeps/unix/clock_nanosleep.c: Likewise.
29363         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29364         * rt/clock-compat.c: New file.
29365         * rt/Makefile (librt-routines): Add clock-compat and move
29366         $(clock-routines) to ...
29367         (routines): ... here, new variable.
29368         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29369         Don't add get_clockfreq here.
29370         * rt/Versions (libc: GLIBC_2.17): New version set.
29371         Add clock_* symbols here.
29372         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29373         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29374         (GLIBC_2.17): Add clock_* symbols.
29375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29376         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29377         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29379         Likewise.
29380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29381         Likewise.
29382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29383         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29385         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29386         * NEWS: Mention the move.
29387
29388         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29389         Use __open, __read, __close rather than their public counterparts.
29390         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29391         (__get_clockfreq_via_cpuinfo): Likewise.
29392         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29393         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29394
29395         * config.h.in (HAVE_IFUNC): New #undef.
29396         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29397         was successful.
29398         * configure: Regenerated.
29399
29400 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29401
29402         * configure.in: Move READELF check to start of file.
29403         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29404         libc_cv_asm_gnu_indirect_function in the process.
29405         * configure: Regenerated.
29406
29407 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29408
29409         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29410         send the output to /dev/null.
29411         (libc_cv_cc_with_libunwind): Likewise.
29412         (libc_cv_as_noexecstack): Likewise.
29413         * configure: Regenerate.
29414
29415 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29416
29417         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29418
29419         * posix/globtest.sh (TMPDIR): Do not set.
29420         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29421         (testout): Likewise.
29422
29423 2012-10-24  Andreas Jaeger  <aj@suse.de>
29424
29425         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29426         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29427         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29428         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29429         posix_fadvise64, posix_fallocate64.
29430
29431         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29432         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29433         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29434         Likewise.
29435         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29436         Likewise.
29437         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29438
29439         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29440         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29441         <bits/fcntl-linux.h>.
29442         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29443
29444         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29445         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29446         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29447         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29448         [__WORDSIZE != 64]: Likewise.
29449
29450 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29451
29452         * Makeconfig (run-built-tests): New variable.
29453         * Rules [$(cross-compiling) = yes]: Change condition to
29454         [$(run-built-tests) = no].
29455         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29456         to [$(run-built-tests) = yes].
29457         * elf/Makefile [$(cross-compiling) = no]: Likewise
29458         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29459         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29460         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29461         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29462         * io/Makefile [$(cross-compiling) = no]: Likewise.
29463         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29464         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29465         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29466         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29467         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29468         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29469         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29470         * string/Makefile [$(cross-compiling) = no]: Likewise.
29471
29472         * posix/Makefile ($(objpfx)globtest.out): Pass
29473         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29474         $(rtld-installed-name).
29475         * posix/globtest.sh (elf_objpfx): Remove variable.
29476         (rtld_installed_name): Likewise.
29477         (library_path): Likewise.
29478         (run_program_prefix): New variable.  Use for running globtest
29479         binary.
29480
29481 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29482             Joseph Myers  <joseph@codesourcery.com>
29483
29484         * Makeconfig (host-built-program-cmd): New variable.
29485         * elf/Makefile (tst-stackguard1-ARGS): Use
29486         $(host-built-program-cmd).
29487         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29488         (tst-spawn-ARGS): Likewise.
29489         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29490
29491 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29492             Jim Blandy  <jimb@codesourcery.com>
29493
29494         * Makeconfig (run-via-rtld-prefix): New variable.
29495         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29496         (built-program-cmd): Likewise.
29497
29498 2012-10-22  Andreas Jaeger  <aj@suse.de>
29499
29500         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29501         __O_RSYNC if it exists, otherwise to O_SYNC.
29502
29503 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
29504             Joseph Myers  <joseph@codesourcery.com>
29505
29506         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29507         /dev/null.
29508         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29509         from /dev/null
29510         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29511         /dev/null.
29512
29513 2012-10-22  Andreas Jaeger  <aj@suse.de>
29514
29515         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29516         Define always.
29517         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29518
29519         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29520         bits/fcntl-linux.h.
29521
29522         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29523         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29524
29525         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29526         to __O_LARGEFILE.
29527         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29528         to __O_LARGEFILE.
29529
29530 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
29531             Joseph Myers  <joseph@codesourcery.com>
29532
29533         * config.make.in (NM): New variable.
29534
29535 2012-10-21  Andreas Jaeger  <aj@suse.de>
29536
29537         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29538         definitions and declarations that are provided by
29539         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29540
29541 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29542
29543         [BZ #14683]
29544         * elf/Makefile (tests-static): Add tst-leaks1-static.
29545         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29546         ($(objpfx)tst-leaks1-static): New rule.
29547         ($(objpfx)tst-leaks1-static-mem): Likewise.
29548         (tst-leaks1-static-ENV): New macro.
29549         * elf/dl-open.c (dl_open_worker): Check the main application
29550         only if SHARED is defined.
29551         * elf/tst-leaks1-static.c: New file.
29552
29553 2012-10-20  Andreas Jaeger  <aj@suse.de>
29554
29555         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29556         generic values for Linux.
29557         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29558         and declarations that are provided by <bits/fcntl-linux.h> and
29559         include <bits/fcntl-linux.h>.
29560         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29561         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29562
29563 2012-10-20  Roland McGrath  <roland@hack.frob.com>
29564
29565         * io/fcntl.h: Move include of <bits/types.h> to the top and
29566         include it unconditionally.
29567
29568 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29569
29570         * wcsmbs/Makefile (tests-ifunc): New variable.
29571         (tests): Add $(tests-ifunc).
29572         * wcsmbs/test-wcschr-ifunc.c: New file.
29573         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29574         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29575         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29576         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29577         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29578
29579         * string/Makefile (tests-ifunc): New variable.
29580         (tests): Add $(tests-ifunc).
29581         * string/test-memccpy.c (TEST_NAME): New macro.
29582         * string/test-memchr.c (TEST_NAME): Likewise.
29583         * string/test-memcmp.c (TEST_NAME): Likewise.
29584         * string/test-memcpy.c (TEST_NAME): Likewise.
29585         * string/test-memmem.c (TEST_NAME): Likewise.
29586         * string/test-memmove.c (TEST_NAME): Likewise.
29587         * string/test-memset.c (TEST_NAME): Likewise.
29588         * string/test-rawmemchr.c (TEST_NAME): Likewise.
29589         * string/test-stpcpy.c (TEST_NAME): Likewise.
29590         * string/test-stpncpy.c (TEST_NAME): Likewise.
29591         * string/test-strcasecmp.c (TEST_NAME): Likewise.
29592         * string/test-strcasestr.c (TEST_NAME): Likewise.
29593         * string/test-strcat.c (TEST_NAME): Likewise.
29594         * string/test-strchr.c (TEST_NAME): Likewise.
29595         * string/test-strcmp.c(TEST_NAME): Likewise.
29596         * string/test-strcpy.c (TEST_NAME): Likewise.
29597         * string/test-strcspn.c (TEST_NAME): Likewise.
29598         * string/test-strlen.c (TEST_NAME): Likewise.
29599         * string/test-strncasecmp.c (TEST_NAME): Likewise.
29600         * string/test-strncmp.c (TEST_NAME): Likewise.
29601         * string/test-strncpy.c (TEST_NAME): Likewise.
29602         * string/test-strnlen.c (TEST_NAME): Likewise.
29603         * string/test-strpbrk.c (TEST_NAME): Likewise.
29604         * string/test-strrchr.c (TEST_NAME): Likewise.
29605         * string/test-strspn.c (TEST_NAME): Likewise.
29606         * string/test-strstr.c (TEST_NAME): Likewise.
29607         * string/test-bcopy-ifunc.c: New file.
29608         * string/test-bzero-ifunc.c: Likewise.
29609         * string/test-memccpy-ifunc.c: Likewise.
29610         * string/test-memchr-ifunc.c: Likewise.
29611         * string/test-memcmp-ifunc.c: Likewise.
29612         * string/test-memcpy-ifunc.c: Likewise.
29613         * string/test-memmem-ifunc.c: Likewise.
29614         * string/test-memmove-ifunc.c: Likewise.
29615         * string/test-mempcpy-ifunc.c: Likewise.
29616         * string/test-memset-ifunc.c: Likewise.
29617         * string/test-rawmemchr-ifunc.c: Likewise.
29618         * string/test-stpcpy-ifunc.c: Likewise.
29619         * string/test-stpncpy-ifunc.c: Likewise.
29620         * string/test-strcasecmp-ifunc.c: Likewise.
29621         * string/test-strcasestr-ifunc.c: Likewise.
29622         * string/test-strcat-ifunc.c: Likewise.
29623         * string/test-strchr-ifunc.c: Likewise.
29624         * string/test-strchrnul-ifunc.c: Likewise.
29625         * string/test-strcmp-ifunc.c: Likewise.
29626         * string/test-strcpy-ifunc.c: Likewise.
29627         * string/test-strcspn-ifunc.c: Likewise.
29628         * string/test-strlen-ifunc.c: Likewise.
29629         * string/test-strncasecmp-ifunc.c: Likewise.
29630         * string/test-strncat-ifunc.c: Likewise.
29631         * string/test-strncmp-ifunc.c: Likewise.
29632         * string/test-strncpy-ifunc.c: Likewise.
29633         * string/test-strnlen-ifunc.c: Likewise.
29634         * string/test-strpbrk-ifunc.c: Likewise.
29635         * string/test-strrchr-ifunc.c: Likewise.
29636         * string/test-strspn-ifunc.c: Likewise.
29637         * string/test-strstr-ifunc.c: Likewise.
29638
29639         * debug/Makefile (tests-ifunc): New variable.
29640         (tests): Add $(tests-ifunc).
29641         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29642         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29643         * debug/test-stpcpy_chk-ifunc.c: New file.
29644         * debug/test-strcpy_chk-ifunc.c: Likewise.
29645
29646 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29647
29648         [BZ #13601]
29649         * elf/dl-load.c (open_verify): Retry read if the entire ELF
29650         header is not read in.
29651
29652 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
29653
29654         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
29655         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
29656         directly.  Pass built executable to script as
29657         $(built-program-cmd).
29658         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
29659         $testprogram without using LD_LIBRARY_PATH and $ldso.
29660
29661         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29662         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29663         $(rtld-installed-name).
29664         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29665         (rtld_installed_name): Likewise.
29666         (library_path): Likewise.
29667         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
29668         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29669         $(run-program-prefix) to tst-tables.sh.
29670         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
29671         it to run tst-table-from and tst-table-to.
29672         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29673         Pass it to tst-table.sh.
29674         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29675         $(run-program-prefix) to tst-gettext.sh.
29676         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29677         tst-translit.sh.
29678         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29679         tst-gettext2.sh.
29680         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
29681         to run tst-gettext.
29682         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
29683         to run tst-gettext2.
29684         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
29685         to run tst-translit.
29686         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29687         $(run-program-prefix) to tst-mtrace.sh.
29688         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
29689         to run tst-mtrace.
29690         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29691         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29692         $(rtld-installed-name).
29693         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29694         (rtld_installed_name): Likewise.
29695         (run_program_prefix): New variable.  Use it to run wordexp-test.
29696
29697         * Makeconfig (ARCH): Remove all definitions.
29698         (machine): Likewise.
29699         [ARCH]: Remove conditional code.
29700         [!objdir]: Give error.
29701         [!objdir] (objpfx): Remove.
29702         [!objdir] (common-objpfx): Likewise.
29703         [!objdir] (common-objdir): Likewise.
29704         * configure.in (config_makefile): Remove.  Hardcode Makefile in
29705         AC_CONFIG_FILES call.
29706         * configure: Regenerated.
29707
29708         [BZ #13888]
29709         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29710         or TMPDIR.
29711         (testout): Likewise.
29712
29713         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29714         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29715         $(rtld-installed-name).
29716         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29717         (rtld_installed_name): Likwise.
29718         (runit): Remove function.
29719         (run_getconf): New variable,  Use it for running getconf binary.
29720
29721 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
29722
29723         [BZ #14716]
29724         * string/test-memmem.c (check_result): New function.
29725         (do_one_test): Use it.
29726         (check1): New function.
29727         (test_main): Use it.
29728
29729 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
29730
29731         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29732
29733 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
29734
29735         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29736         (_G_LSEEK64): Likewise.
29737         (_G_MMAP64): Likewise.
29738         (_G_FSTAT64): Likewise.
29739         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29740         (_G_LSEEK64): Likewise.
29741         (_G_MMAP64): Likewise.
29742         (_G_FSTAT64): Likewise.
29743         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29744         unconditional.  Call __mmap64 directly.
29745         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29746         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
29747         __lseek64 directly.
29748         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29749         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
29750         __mmap64 directly.
29751         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29752         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29753         __lseek64 directly.
29754         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29755         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29756         __lseek64 directly.
29757         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29758         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
29759         __lseek64 directly.
29760         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29761         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
29762         __fxstat64 directly.
29763         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29764         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29765         unconditional.
29766         (freopen64) [!_G_OPEN64]: Remove conditional code.
29767         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29768         unconditional.
29769         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29770         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29771         unconditional.
29772         (ftello64) [!_G_LSEEK64]: Remove conditional code.
29773         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29774         unconditional.
29775         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29776         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29777         unconditional.
29778         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29779         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29780         unconditional.
29781         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29782         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29783         unconditional.
29784         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29785         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29786         unconditional.
29787         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29788
29789 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29790
29791         [BZ #12140]
29792         * manual/memory.texi (Malloc Tunable Parameters): Add note
29793         about free list pointers overwriting some perturb bytes.
29794         Wording suggested by Roland McGrath.
29795
29796 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
29797
29798         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29799         (lgamma_test): Likewise.
29800         (tgamma_test): Likewise.
29801
29802 2012-10-16  Florian Weimer  <fweimer@redhat.com>
29803
29804         [BZ #14700]
29805         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29806         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29807
29808 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
29809
29810         * NEWS: Mention BZ #14716.
29811         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29812         when removing AVAILABLE1_USES_J macro.
29813
29814 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
29815
29816         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29817         (__bswap_64): __uint64_t for unsigned 64-bit int.
29818
29819 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
29820
29821         * include/string.h (memmem): Declare libc hidden alias.
29822         * string/memmem.c (memmem): Define libc hidden alias.
29823         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29824         __read, __close instead of open, read, close.
29825
29826 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
29827
29828         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29829         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29830         global and hidden.
29831         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29832         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29833         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29834         Likewise.
29835         (__rawmemchr_sse2): Likewise.
29836         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29837         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29838         (__strchr_sse2): Likewise.
29839         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29840         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29841         (__strcasecmp_sse2): Likewise.
29842         (__strncasecmp_sse2): Likewise.
29843         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29844         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29845         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29846         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29847         (__strrchr_sse2): Likewise.
29848         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29849         ifunc-impl-list.c.
29850         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29851         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29852         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29853         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29854         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29855         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29856         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29857         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29858         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29859         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29860         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29861         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29862         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29863         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29864         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29865         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29866         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29867         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29868         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29869         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29870         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29871         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29872         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29873         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29874         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29875         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29876         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29877         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29878         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29879         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29880
29881         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29882         global and hidden.
29883         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29884         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29885         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29886         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29887         Likewise.
29888         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29889         Likewise.
29890         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29891         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29892         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29893         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29894         ifunc-impl-list.c.
29895         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29896         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29897         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29898         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29899         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29900         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29901         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29902         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29903         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29904         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29905         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29906         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29907         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29908         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29909         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29910         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29911         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29912         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29913         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29914         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29915         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29916         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29917         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29918         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29919         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29920         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29921         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29922         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29923         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29924         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29925         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29926         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29927         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29928         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29929         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29930         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29931         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29932         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29933         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29934         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29935         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29936
29937         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29938         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29939         * include/ifunc-impl-list.h: New file.
29940         * misc/ifunc-impl-list.c: Likewise.
29941         * misc/Makefile (routines): Add ifunc-impl-list.
29942         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29943         * string/test-string.h: Include <ifunc-impl-list.h>.
29944         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29945         TEST_NAME]: New variables.
29946         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29947         are defined.
29948         (test_init): Call __libc_ifunc_impl_list to initialize
29949         func_list if TEST_IFUNC and TEST_NAME are defined.
29950
29951         * string/Makefile (strop-tests): Add bcopy and bzero.
29952         * string/test-bcopy.c: New file.
29953         * string/test-bzero.c: Likewise.
29954         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29955         defined.
29956         * string/test-memset.c: Support bzero test if TEST_BZERO is
29957         defined.
29958         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29959         __libc_memmove.
29960         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29961         __libc_memset.
29962         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29963         of memset.
29964
29965 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
29966
29967         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29968         * configure: Regenerated.
29969
29970         * Makeconfig (+link-static-before-libc): Don't include
29971         $(link-static-libc).
29972
29973         * libio/libio.h (_IO_pos_t): Remove.
29974
29975 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29976
29977         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
29978         McGrath.
29979
29980 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29981
29982         * crypt/crypt-entry.c: Include fips-private.h.
29983         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29984         * crypt/md5c-test.c (main): Tolerate disabled MD5.
29985         * sysdeps/unix/sysv/linux/fips-private.h: New file.
29986         * sysdeps/generic/fips-private.h: New file, dummy fallback.
29987
29988 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29989
29990         * crypt/crypt-private.h: Include stdbool.h.
29991         (_ufc_setup_salt_r): Return bool.
29992         * crypt/crypt-entry.c: Include errno.h.
29993         (__crypt_r): Return NULL with EINVAL for bad salt.
29994         * crypt/crypt_util.c (bad_for_salt): New.
29995         (_ufc_setup_salt_r): Check that salt is long enough and within
29996         the specified alphabet.
29997         * crypt/badsalttest.c: New file.
29998         * crypt/Makefile (tests): Add it.
29999         ($(objpfx)badsalttest): New.
30000
30001 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
30002
30003         * NEWS: Add entry for BZ #14602.
30004
30005 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30006
30007         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30008         type-generic.
30009         * math/libm-test.inc: Update comment listing what functions and
30010         macros are tested.
30011         (isgreater_test): New function.
30012         (isgreaterequal_test): Likewise.
30013         (isless_test): Likewise.
30014         (islessequal_test): Likewise.
30015         (islessgreater_test): Likewise.
30016         (isunordered_test): Likewise.
30017         (main): Call the new functions.
30018
30019 2012-10-09  Roland McGrath  <roland@hack.frob.com>
30020
30021         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30022         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30023         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30024         * sysdeps/i386/configure: Regenerated.
30025         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30026         * sysdeps/mach/configure: Regenerated.
30027         * sysdeps/mach/hurd/configure: Regenerated.
30028         * sysdeps/powerpc/configure: Regenerated.
30029         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30030         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30031         * sysdeps/s390/s390-32/configure: Regenerated.
30032         * sysdeps/s390/s390-64/configure: Regenerated.
30033         * sysdeps/sh/configure: Regenerated.
30034         * sysdeps/sparc/configure: Regenerated.
30035         * sysdeps/unix/sysv/linux/configure: Regenerated.
30036         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30037         * sysdeps/x86_64/configure: Regenerated.
30038
30039         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30040         defined.  Don't check if MAP is NULL.
30041
30042 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30043
30044         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30045         (_G_stat64): Likewise.
30046         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30047         (_G_stat64): Likewise.
30048         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30049         instead of struct _G_stat64.
30050         * libio/fileops.c (mmap_remap_check): Likewise.
30051         (decide_maybe_mmap): Likewise.
30052         (_IO_new_file_seekoff): Likewise.
30053         (_IO_file_stat): Likewise.
30054         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30055         _G_off64_t.
30056         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30057         instead of struct _G_stat64.
30058         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30059
30060 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
30061
30062         [BZ #14602]
30063         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30064         Replace with ...
30065         (CHECK_EOL): New macro.
30066         (two_way_short_needle): Check beginning of haystack for EOL.  Use
30067         CHECK_EOL.
30068         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30069         Replace with CHECK_EOL.
30070         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30071         Replace with CHECK_EOL.
30072
30073 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
30074
30075         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30076         type-generic.
30077         * math/libm-test.inc: Update comment listing what functions and
30078         macros are tested.
30079         (finite_test): New function.
30080         (isinf_test): Likewise.
30081         (isnan_test): Likewise.
30082         (fpclassify_test): Test subnormal input.
30083         (isfinite_test): Likewise.
30084         (isnormal_test): Likewise.
30085         (main): Call the new functions.
30086
30087 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30088
30089         [BZ #14660]
30090         * Makerules (%.dynsym): Force C locale when running
30091         $(OBJDUMP) --dynamic-syms.
30092
30093 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30094
30095         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30096         <stdint.h>.
30097
30098 2012-10-06  David S. Miller  <davem@davemloft.net>
30099
30100         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30101         upper 32-bits of the length value in %o2 since we use branch-on-register
30102         tests which consider the entire 64-bit register.
30103
30104 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30105
30106         * string/test-strstr.c (check2): Add a test for page boundary.
30107
30108 2012-10-05  David S. Miller  <davem@davemloft.net>
30109
30110         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30111         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30112         file.
30113         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30114         sysdep_routines.
30115         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30116         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30117         and bzero when HWCAP_SPARC_CRYPTO is present.
30118
30119 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30120
30121         [BZ #14602]
30122         * string/test-strstr.c (check2): New function.
30123         (test_main): Call check2.
30124
30125         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30126         and bug-strchr1.
30127         * string/bug-strcasestr1.c (do_test): Moved to ...
30128         * string/test-strcasestr.c (check1): Here.  New function.
30129         (do_one_test): Break out result checking code into ...
30130         (check_result): This.  New function.
30131         (do_one_test): Call check_result.
30132         (test_main): Call check1.
30133         * string/bug-strchr1.c (do_test): Moved to ...
30134         * string/test-strchr.c (check1): Here.  New function.
30135         (do_one_test): Break out result checking code into ...
30136         (check_result): This.  New function.
30137         (do_one_test): Call check_result.
30138         (test_main): Call check1.
30139         * string/bug-strstr1.c (main): Moved to ...
30140         * string/test-strstr.c (check1): Here.  New function.
30141         (do_one_test): Break out result checking code into ...
30142         (check_result): This.  New function.
30143         (do_one_test): Call check_result.
30144         (test_main): Call check1.
30145         * string/bug-strcasestr1.c: Removed.
30146         * string/bug-strchr1.c: Likewise.
30147         * string/bug-strstr1.c: Likewise.
30148
30149         * elf/Makefile (dl-routines): Add hwcaps.
30150         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30151         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30152         (_dl_important_hwcaps): Moved to ...
30153         * elf/dl-hwcaps.c: Here.  New file.
30154         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30155
30156         [BZ #14557]
30157         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30158         if IS_IN_rtld isn't defined.
30159
30160         * elf/dl-support.c (_dl_sysinfo_map): New.
30161         Include "get-dynamic-info.h" and "setup-vdso.h".
30162         (_dl_non_dynamic_init): Call setup_vdso.
30163         * elf/dynamic-link.h: Don't include <assert.h>.
30164         (elf_get_dynamic_info): Moved to ...
30165         * elf/get-dynamic-info.h: Here.  New file.
30166         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30167         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30168         * elf/setup-vdso.h: Here.  New file.
30169         * elf/rtld.c: Include "setup-vdso.h".
30170         (dl_main): Call setup_vdso.
30171
30172 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30173
30174         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30175         creal in comment listing functions tested.  List finite, isinf,
30176         isnan, isless, islessequal, isgreater, isgreaterequal,
30177         islessgreater, isunordered, lgamma_r and pow10 as functions and
30178         macros not tested.  Mention which functions not tested are aliases
30179         for other functions.  Fix typo.  Note that signs of NaNs are not
30180         tested.
30181
30182         * scripts/config.guess: Update from config.git.
30183         * scripts/config.sub: Likewise.
30184
30185 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30186
30187         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30188         * misc/madvise.c (madvise): Renamed to __madvise.
30189         Make madvise a weak alias.
30190         * include/sys/mman.h: Declare __madvise.
30191         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30192         * sysdeps/unix/syscalls.list
30193         (madvise): Make __madvise the strong name, and madvise a weak alias.
30194         * sysdeps/unix/sysv/linux/syscalls.list
30195         (madvise, mmap): Remove redundant entries.
30196         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30197         * malloc/malloc.c (mtrim): Likewise.
30198         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30199
30200 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30201
30202         * sysdeps/mach/hurd/dl-cache.c: File removed.
30203         * config.h.in (USE_LDCONFIG): New #undef.
30204         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30205         * configure: Regenerated.
30206         * elf/Makefile (dl-routines): Add dl-cache only under
30207         [$(use-ldconfig) = yes].
30208         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30209         cache on [USE_LDCONFIG].
30210         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30211         [USE_LDCONFIG].
30212         * elf/rtld.c (dl_main): Likewise.
30213
30214 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30215
30216         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30217         _SC_LEVEL4_CACHE_LINESIZE.
30218
30219 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30220
30221         * sysdeps/unix/bsd/confstr.h: File removed.
30222
30223 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30224
30225         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30226         sys/sdt-config.h.
30227
30228 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30229
30230         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30231         Make 'mapoff' field ElfW(Off) rather than off_t.
30232
30233 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30234
30235         * nscd/Makefile: Remove nscd-cflags and all its users.
30236         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30237         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30238
30239         [BZ #10631]
30240         * malloc.c (malloc_printerr): Clarify error message.
30241
30242 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30243
30244         [BZ #14648]
30245         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30246         Set bit_FMA_Usable if FMA is supported.
30247         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30248         macro.
30249         (bit_FMA4_Usable): Updated.
30250         (index_FMA_Usable): New macro.
30251         (CPUID_FMA): Likewise
30252         (HAS_FMA): Defined with bit_FMA_Usable.
30253
30254 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30255
30256         * bits/types.h (__swblk_t): Type removed.
30257         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30258         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30259         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30260         (__SWBLK_T_TYPE): Likewise.
30261         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30262         (__SWBLK_T_TYPE): Likewise.
30263         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30264         (__SWBLK_T_TYPE): Likewise.
30265         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30266         (__SWBLK_T_TYPE): Likewise.
30267
30268 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30269             Honza Horak <hhorak@redhat.com>
30270
30271         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30272         (xdr_mapname): Use YPMAXMAP as maxsize.
30273         (xdr_peername): Use YPMAXPEER as maxsize.
30274         (xdr_keydat): Use YPAXRECORD as maxsize.
30275         (xdr_valdat): Use YPMAXRECORD as maxsize.
30276
30277 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30278
30279         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30280
30281         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30282         * csu/init-first.c: ... here.
30283         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30284         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30285         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30286         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30287         * sysdeps/i386/init-first.c: File removed.
30288         * sysdeps/sh/init-first.c: File removed.
30289
30290 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30291
30292         [BZ #14645]
30293         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30294         if x * y might underflow to zero and z is zero.
30295         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30296         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30297         * math/libm-test.inc (min_subnorm_value): New variable.
30298         (fma_test): Add more tests.
30299         (fma_test_towardzero): Likewise.
30300         (fma_test_downward): Likewise
30301         (fma_test_upward): Likewise.
30302         (initialize): Set min_subnorm_value.
30303
30304 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30305
30306         [BZ #14638]
30307         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30308         0 + 0.
30309         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30310         mode for addition resulting in exact zero.
30311         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30312         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30313         exact 0 + 0.
30314         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30315         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30316         * math/libm-test.inc (fma_test): Add more tests.
30317         (fma_test_towardzero): New function.
30318         (fma_test_downward): Likewise.
30319         (fma_test_upward): Likewise.
30320         (main): Call the new functions.
30321
30322 2012-09-28  David S. Miller  <davem@davemloft.net>
30323
30324         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30325
30326 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30327
30328         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30329         instead of SIGALRM.
30330
30331         * sysdeps/gnu/_G_config.h: Moved to ...
30332         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30333         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30334         * sysdeps/generic/_G_config.h: ... here.
30335
30336         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30337
30338         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30339
30340         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30341         Conditionalize target on [libnss_test1.so-version].
30342
30343         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30344
30345         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30346         (elfobjdir): Move out of conditionals.
30347
30348         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30349         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30350         (__nss_lookup_function): Conditionalize label remove_from_tree on
30351         [!DO_STATIC_NSS || SHARED], matching its only use.
30352
30353 2012-09-28  David S. Miller  <davem@davemloft.net>
30354
30355         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30356         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30357         file.
30358         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30359         sysdep_routines.
30360         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30361         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30362         when HWCAP_SPARC_CRYPTO is present.
30363
30364 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30365
30366         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30367
30368 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30369
30370         [BZ #6530]
30371         * stdio-common/vfprintf.c (process_string_arg): Revert
30372         2000-07-22 change.
30373
30374 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30375
30376         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30377         for testcase.
30378         * stdio-common/tst-sprintf.c: Include <locale.h>
30379         (main): Test sprintf's handling of incomplete multibyte
30380         characters.
30381
30382 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30383
30384         * elf/dl-runtime.c (VERSYMIDX): Removed.
30385         * elf/dl-version.c (VERSYMIDX): Likewise.
30386         * elf/do-rel.h (VERSYMIDX): Likewise.
30387         (VALIDX): Likewise.
30388         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30389         * elf/rtld.c (VALIDX): Likewise.
30390         (ADDRIDX): Likewise.
30391         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30392         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30393         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30394         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30395         (VALIDX): Likewise.
30396         (ADDRIDX): Likewise.
30397
30398 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30399
30400         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30401
30402 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30403
30404         [BZ #11438]
30405         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30406         to global scope.
30407         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30408         addresses are in the same scope as 192.0.2/24.
30409         * posix/gai.conf: Document new scope table defaults.
30410
30411 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30412
30413         [BZ #5298]
30414         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30415         for ftell.  Compute offsets from write pointers instead.
30416         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30417
30418 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30419
30420         [BZ #14543]
30421         * libio/Makefile (tests): New test case tst-fseek.
30422         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30423         combination works in wide mode.
30424         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30425         state when the external buffer state changes.
30426
30427 2012-09-27  David S. Miller  <davem@davemloft.net>
30428
30429         [BZ #14376]
30430         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30431         pass reloc->r_addend in as the 'high' argument to
30432         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30433
30434         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30435
30436 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30437
30438         * rt/tst-aio2.c: Include <pthread.h>.
30439         * rt/tst-aio3.c: Likewise.
30440
30441 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30442
30443         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30444
30445 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30446
30447         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30448         contents on [SHARED].
30449
30450 2012-09-26  Marek Polacek  <polacek@redhat.com>
30451
30452         [BZ #14530]
30453         [BZ #13741]
30454         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30455         for C++ and GCC <4.3 as well as for non GCC compilers.
30456
30457 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30458
30459         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30460
30461 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30462
30463         * Makefile.in (all, install): Declare with .PHONY.
30464         Reported by Michael Hope <michael.hope@linaro.org>.
30465
30466 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30467
30468         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30469         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30470         system header.
30471         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30472         Likewise.
30473         (sydep_routines): Add the new and the internal functions.
30474         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30475         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30477         (GLIBC_2.17): Add the new function.
30478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30479         (GLIBC_2.17): Likewise.
30480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30481         (GLIBC_2.17): Likewise.
30482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30483         (GLIBC_2.17): Likewise.
30484         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30485
30486 2012-09-25  Alan Modra  <amodra@gmail.com>
30487
30488         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30489         Add release barrier before setting once_control to say
30490         initialisation is done.  Add hints on lwarx.  Use macro in
30491         place of isync.
30492         (clear_once_control): Add release barrier.
30493
30494 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30495
30496         [BZ #13629]
30497         * math/s_clog.c (__clog): Handle more values close to |z| = 1
30498         specially.
30499         * math/s_clog10.c (__clog10): Likewise.
30500         * math/s_clog10f.c (__clog10f): Likewise.
30501         * math/s_clog10l.c (__clog10l): Likewise.
30502         * math/s_clogf.c (__clogf): Likewise.
30503         * math/s_clogl.c (__clogl): Likewise.
30504         * math/Makefile (libm-calls): Add x2y2m1.
30505         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30506         (__x2y2m1): Likewise.
30507         (__x2y2m1l): Likewise.
30508         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30509         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30510         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30511         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30512         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30513         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30514         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30515         * sysdeps/i386/fpu/libm-test-ulps: Update.
30516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30517
30518         [BZ #14621]
30519         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30520         int as type of variable DEPTH.
30521         (glob): Use size_t instead of int as type of variables NEWCOUNT
30522         and OLD_PATHC.
30523
30524 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30525
30526         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30527         Add s_sincosf-sse2.
30528         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30529         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30530         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30531         macros for using routine as __sincosf_ia32.
30532         Use macro for function declaration and weak_alias.
30533         * sysdeps/i386/fpu/libm-test-ulps: Update.
30534
30535         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30536         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30537
30538         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30539         subnormal argument.
30540         * math/s_cexpf.c (__cexpf): Likewise.
30541         * math/s_csinf.c (__csinf): Likewise.
30542         * math/s_csinhf.c (__csinhf): Likewise.
30543         * math/s_ctanf.c (__ctanf): Likewise.
30544         * math/s_ctanhf.c (__ctanhf): Likewise.
30545         * math/s_ccosh.c (__ccoshf): Likewise.
30546         * math/s_cexp.c (__cexpl): Likewise.
30547         * math/s_csin.c (__csin): Likewise.
30548         * math/s_csinh.c (__csinh): Likewise.
30549         * math/s_ctan.c (__ctan): Likewise.
30550         * math/s_ctanh.c (ctanh): Likewise.
30551         * math/s_ccoshl.c (__ccoshl): Likewise.
30552         * math/s_cexpl.c (__cexpl): Likewise.
30553         * math/s_csinl.c (__csinl): Likewise.
30554         * math/s_csinhl.c (__csinhl): Likewise.
30555         * math/s_ctanl.c (__ctanl): Likewise.
30556         * math/s_ctanhl.c (__ctanhl): Likewise.
30557
30558 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30559
30560         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30561         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30562         (_IO_off_t): Define to __off_t, not _G_off_t.
30563         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30564         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30565         (_IO_wint_t): Define to wint_t, not _G_wint_t.
30566         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30567         type of __dummy and __dummy2 fields.
30568         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30569         (_G_ssize_t): Likewise.
30570         (_G_off_t): Likewise.
30571         (_G_pid_t): Likewise.
30572         (_G_uid_t): Likewise.
30573         (_G_wchar_t): Likewise.
30574         (_G_wint_t): Likewise.
30575         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30576         (_G_ssize_t): Likewise.
30577         (_G_off_t): Likewise.
30578         (_G_pid_t): Likewise.
30579         (_G_uid_t): Likewise.
30580         (_G_wchar_t): Likewise.
30581         (_G_wint_t): Likewise.
30582         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30583         (_G_ssize_t): Likewise.
30584         (_G_off_t): Likewise.
30585         (_G_pid_t): Likewise.
30586         (_G_uid_t): Likewise.
30587         (_G_wchar_t): Likewise.
30588         (_G_wint_t): Likewise.
30589
30590 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30591
30592         * malloc/arena.c: Include malloc-sysdep.h.
30593         (shrink_heap): Use check_may_shrink_heap to decide if madvise
30594         is sufficient to shrink the heap or an unmap is needed.
30595         * sysdeps/generic/malloc-sysdep.h: New file.  Define
30596         new function check_may_shrink_heap.
30597         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
30598         new function check_may_shrink_heap.
30599
30600 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30601
30602         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30603         comments.
30604
30605 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
30606
30607         * catgets/test-gencat.sh: Add "set -e".
30608         * elf/tst-pathopt.sh: Likewise.
30609         * grp/tst_fgetgrent.sh: Likewise.
30610         * iconvdata/run-iconv-test.sh: Likewise.
30611         * intl/tst-gettext.sh: Likewise.
30612         * intl/tst-gettext2.sh: Likewise.
30613         * intl/tst-gettext4.sh: Likewise.
30614         * intl/tst-gettext6.sh: Likewise.
30615         * intl/tst-translit.sh: Likewise.
30616         * io/ftwtest-sh: Likewise.
30617         * libio/test-freopen.sh: Likewise.
30618         * malloc/tst-mtrace.sh: Likewise.
30619         * posix/globtest.sh: Likewise.
30620         * posix/tst-getconf.sh: Likewise.
30621         * posix/wordexp-tst.sh: Likewise.
30622         * stdio-common/tst-printf.sh: Likewise.
30623         * stdio-common/tst-unbputc.sh: Likewise.
30624         * stdlib/tst-fmtmsg.sh: Likewise.
30625         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30626         * catgets/Makefile: Do not specify -e option when running
30627         testsuite shell scripts.
30628         * elf/Makefile: Likewise.
30629         * grp/Makefile: Likewise.
30630         * iconvdata/Makefile: Likewise.
30631         * intl/Makefile: Likewise.
30632         * io/Makefile: Likewise.
30633         * libio/Makefile: Likewise.
30634         * malloc/Makefile: Likewise.
30635         * posix/Makefile: Likewise.
30636         * stdio-common/Makefile: Likewise.
30637         * stdlib/Makefile: Likewise.
30638         * sysdeps/x86_64/Makefile: Likewise.
30639
30640         * io/ftwtest-sh: Add copyright header.
30641         * posix/globtest.sh: Likewise.
30642         * posix/tst-getconf.sh: Likewise.
30643         * posix/wordexp-tst.sh: Likewise.
30644         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30645
30646 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
30647
30648         [BZ #13679]
30649         * Makeconfig (+link): Defined as $(+link-static) if
30650         $(build-shared) isn't yes.
30651         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30652         isn't yes.
30653         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30654
30655         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30656
30657         [BZ #14562]
30658         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30659         new chunk size with MALLOC_ALIGN_MASK.
30660
30661 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
30662
30663         [BZ #5044]
30664         * stdio-common/printf_fphex.c: Include <stdbool.h> and
30665         <rounding-mode.h>.
30666         (__printf_fphex): Determine rounding using get_rounding_mode and
30667         round_away.
30668         * stdio-common/tst-printf-round.c (struct hex_test): New
30669         structure.
30670         (hex_tests): New variable.
30671         (test_hex_in_one_mode): New function.
30672         (do_test): Also run tests for hex float output.
30673
30674 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
30675
30676         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30677         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30678         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30679         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30680         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30681         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30682         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30683         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30684
30685 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
30686
30687         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30688         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30689         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30690         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30691
30692 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
30693
30694         [BZ #14579]
30695         * elf/rtld.c (dl_main): Limit the check for self loading to normal
30696         mode only.
30697         * elf/tst-rtld-load-self.sh: New test.
30698         * elf/Makefile: Run it.
30699
30700 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
30701
30702         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30703         (tst-writev-ENV): Remove.
30704         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30705
30706 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
30707
30708         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30709
30710 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
30711
30712         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30713         unconditional.
30714         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30715         Likewise.
30716         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30717         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30718         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30719         Likewise.
30720
30721 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
30722
30723         [BZ #14587]
30724         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30725         * config.make.in (have-cpp-asm-debuginfo): Removed.
30726         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30727         * configure: Regenerated.
30728
30729 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
30730
30731         [BZ #5044]
30732         * stdio-common/printf_fp.c: Include <stdbool.h> and
30733         <rounding-mode.h>.
30734         (___printf_fp): Determine rounding using get_rounding_mode and
30735         round_away.
30736         * stdio-common/tst-printf-round.c: New file.
30737         * stdio-common/Makefile (tests): Add tst-printf-round.
30738         (link-libm): New variable.
30739         ($(objpfx)tst-printf-round): Depend in $(link-libm).
30740
30741 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
30742
30743         [BZ #14576]
30744         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30745         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30746         Likewise.
30747         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30748         Likewise.
30749
30750 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
30751
30752         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30753         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30754         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30755         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30756
30757 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
30758
30759         [BZ #14518]
30760         * include/rounding-mode.h: New file.
30761         * sysdeps/generic/get-rounding-mode.h: Likewise.
30762         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30763         * stdlib/strtod_l.c: Include <rounding-mode.h>.
30764         (MAX_VALUE): New macro.
30765         (MIN_VALUE): Likewise.
30766         (overflow_value): New function.
30767         (underflow_value): Likewise.
30768         (round_and_return): Use overflow_value and underflow_value to
30769         determine return values in overflow and underflow cases.  Use
30770         round_away to determine rounding depending on rounding mode.
30771         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30772         determine return values in overflow and underflow cases.
30773         * stdlib/tst-strtod-round.c: Include <fenv.h>.
30774         (struct test_results): New structure.
30775         (struct test): Use struct test_results to store expected results
30776         for all rounding modes.
30777         (TEST): Include expected results for all rounding modes.
30778         (test_in_one_mode): New function.
30779         (do_test): Use test_in_one_mode to compute and check results.
30780         Check results for all rounding modes.
30781         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30782         $(link-libm).
30783
30784 2012-12-09  Allan McRae  <allan@archlinux.org>
30785
30786         * sysdeps/i386/fpu/libm-test-ulps: Update
30787
30788 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
30789
30790         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30791         (_G_int32_t): Likewise.
30792         (_G_uint16_t): Likewise.
30793         (_G_uint32_t): Likewise.
30794         (_G_HAVE_BOOL): Likewise.
30795         (_G_HAVE_ATEXIT): Likewise.
30796         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30797         (_G_HAVE_IO_FILE_OPEN): Likewise.
30798         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30799         (_G_int32_t): Likewise.
30800         (_G_uint16_t): Likewise.
30801         (_G_uint32_t): Likewise.
30802         (_G_HAVE_BOOL): Likewise.
30803         (_G_HAVE_ATEXIT): Likewise.
30804         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30805         (_G_HAVE_IO_FILE_OPEN): Likewise.
30806         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30807         (_G_int32_t): Likewise.
30808         (_G_uint16_t): Likewise.
30809         (_G_uint32_t): Likewise.
30810         (_G_HAVE_BOOL): Likewise.
30811         (_G_HAVE_ATEXIT): Likewise.
30812         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30813         (_G_HAVE_IO_FILE_OPEN): Likewise.
30814
30815 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
30816
30817         * csu/libc-tls.c: Update copyright years.
30818
30819 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
30820
30821         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30822         [!_G_USING_THUNKS]: Remove conditional code.
30823         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30824         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30825
30826         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30827         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30828         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30829         (_G_VTABLE_LABEL_PREFIX): Likewise.
30830         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30831         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30832         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30833         (_G_VTABLE_LABEL_PREFIX): Likewise.
30834         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30835         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30836         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30837         (_G_VTABLE_LABEL_PREFIX): Likewise.
30838         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30839
30840 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
30841
30842         * libio/Makefile: Include ../Makeconfig before tests.
30843         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30844         only if $(build-shared) is yes.
30845
30846         * iconv/gconv_db.c: Update copyright years.
30847
30848 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30849
30850         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30851         unwind info if defined PIC. Fix special cases description.
30852         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30853
30854         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30855         DP_HI_MASK entry.
30856         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30857
30858 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
30859
30860         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30861
30862         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30863         is NULL.
30864
30865         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30866         (LDLIBS-tst-chk4): This.
30867         (LDFLAGS-tst-chk5): Renamed to ...
30868         (LDLIBS-tst-chk5): This.
30869         (LDFLAGS-tst-chk6): Renamed to ...
30870         (LDLIBS-tst-chk6): This.
30871         (LDFLAGS-tst-lfschk4): Renamed to ...
30872         (LDLIBS-tst-lfschk4): This.
30873         (LDFLAGS-tst-lfschk5): Renamed to ...
30874         (LDLIBS-tst-lfschk5): This.
30875         (LDFLAGS-tst-lfschk6): Renamed to ...
30876         (LDLIBS-tst-lfschk6): This.
30877
30878         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30879         on $(common-objpfx)soversions.mk.
30880
30881 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
30882
30883         [BZ #10014]
30884         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30885         example host name.
30886
30887 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30888
30889         * malloc/arena.c (arena_get_retry): New function that gets
30890         another arena for the caller to try its request on.
30891         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30892         current arena cannot fulfill the request.
30893         (__libc_memalign): Likewise.
30894         (__libc_memalign): Likewise.
30895         (__libc_pvalloc): Likewise.
30896         (__libc_calloc): Likewise.
30897
30898 2012-09-05  John Tobey  <john.tobey@gmail.com>
30899
30900         [BZ #13542]
30901         * manual/arith.texi (Operations on Complex): Fix description
30902         of carg branch cut.
30903
30904 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30905
30906         [BZ #10014]
30907         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30908         host name.
30909
30910         [BZ #10038]
30911         * manual/memory.texi (Memory): Make order of menu items match
30912         order of sections.
30913
30914 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30915
30916         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30917         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
30918         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30919
30920 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30921
30922         * csu/libc-tls.c (static_dtv): Renamed to ...
30923         (_dl_static_dtv): This.  Make it global.
30924         (_dl_initial_dtv): Removed.
30925         (__libc_setup_tls): Updated.
30926         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30927         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30928         DL_INITIAL_DTV.
30929
30930 2012-09-06  Petr Machata  <pmachata@redhat.com>
30931
30932         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30933         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30934         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30935         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30936
30937 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30938
30939         [BZ #14545]
30940         * csu/libc-tls.c (_dl_initial_dtv): New variable.
30941         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30942         freeing dtv[-1].
30943
30944 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30945
30946         [BZ #14544]
30947         * Makeconfig (link-static-before-libc): Replace $(+prector)
30948         with $(+prectorT).
30949         (link-static-after-libc): Replace $(+postctor) with
30950         $(+postctorT).
30951         (link-bounded): Replace $(+prector)/$(+postctor) with
30952         $(+prectorT)/$(+postctorT).
30953         (+prectorT): New macro.
30954         (+postctorT): Likewise.
30955
30956 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30957
30958         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30959         (round_str): Handle values above the maximum for IBM long double
30960         as inexact.
30961         * stdlib/tst-strtod-round.c (tests): Regenerated.
30962
30963 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30964
30965         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30966         assembler flag.
30967         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30968         zarch_nohighgprs around the zarch optimized routines.
30969         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30970         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30971         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30972         for zarch.
30973
30974 2012-09-05  David S. Miller  <davem@davemloft.net>
30975
30976         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30977
30978         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30979         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30980         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30981         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30982         entries.
30983
30984 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30985
30986         * malloc/arena.c: Fold copyright years.
30987         * malloc/mcheck.c, malloc/memusage.c: Likewise.
30988
30989 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30990
30991         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30992
30993 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30994
30995         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
30996
30997 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30998
30999         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31000         change internal state upon failure.
31001
31002 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31003
31004         * malloc/mcheck.c (mcheck_check_all): Fix typo.
31005         * malloc/memusage.c (mmap): Likewise.
31006         (mmap64, mremap): Likewise.  Adjust name in comment.
31007
31008 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31009
31010         * libio/fileops.c: Fix typos in comments.
31011         * libio/oldfileops.c: Likewise.
31012         * libio/wfileops.c: Likewise.
31013
31014 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31015
31016         [BZ #1349]
31017         * malloc/Makefile (tests): Add tst-malloc-usable test case.
31018         (tst-malloc-usable-ENV): Set environment for test case.
31019         * malloc/hooks.c (malloc_check_get_size): New function to get
31020         requested size.
31021         * malloc/malloc.c (musable): Use malloc_check_get_size.
31022         * malloc/tst-malloc-usable.c: New test case.
31023
31024 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31025
31026         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31027
31028 2012-09-05  Allan McRae  <allan@archlinux.org>
31029
31030         [BZ #13966]
31031         * configure.in (CXX_SYSINCLUDES): Use compiler output to
31032         determine header location.
31033         * configure: Regenerated.
31034
31035 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31036
31037         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31038         float format.
31039         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31040         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31041         format.
31042         (test): Regenerate.
31043
31044 2012-09-04  David S. Miller  <davem@davemloft.net>
31045
31046         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31047         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31048         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31049
31050 2012-09-04  Florian Weimer  <fweimer@redhat.com>
31051
31052         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31053         failures.
31054
31055         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31056
31057 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
31058
31059         [BZ #9914]
31060         * libio/iogetdelim.c: Include <limits.h>.
31061         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31062         + len + 1 would overflow.
31063
31064 2012-09-03  Andreas Jaeger  <aj@suse.de>
31065
31066         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31067         * sysdeps/i386/fpu/libm-test-ulps: Update.
31068
31069 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31070
31071         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31072         Add s_sinf-sse2, s_conf-sse2.
31073
31074         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31075         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31076         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31077         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31078
31079         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31080         for using routine as __sinf_ia32.
31081         Use macro for function declaration and weak_alias.
31082         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31083         for using routine as __cosf_ia32.
31084         Use macro for function declaration and weak_alias.
31085
31086         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31087         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31088
31089         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31090         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31091         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31092
31093         * math/libm-test.inc (cos_test): Add more test cases.
31094         (sin_test): Likewise.
31095         (sincos_test): Likewise.
31096
31097 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31098
31099         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31100         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31101         hidden.
31102         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31103
31104 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31105
31106         [BZ #14538]
31107         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31108         first element of the GOT.
31109         (elf_machine_load_address): Return the difference between
31110         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31111
31112 2012-09-01  Allan McRae  <allan@archlinux.org>
31113
31114         [BZ #13412]
31115         * configure.in (AWK): Require gawk version 3.0 or later.
31116         * configure: Regenerated.
31117
31118 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31119
31120         * sysdeps/unix/sysv/linux/kernel-features.h
31121         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31122         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31123         [__NR_clock_getres]: Make code unconditional.
31124         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31125         (clock_getcpuclockid): Remove code left unreachable by removal of
31126         conditionals.
31127         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31128         code unconditional.
31129         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31130         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31131         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31132         Make code unconditional.
31133         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31134         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31135         * sysdeps/unix/sysv/linux/clock_settime.c
31136         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31137         conditional code.
31138         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31139         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31140
31141 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31142
31143         [BZ #14476]
31144         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31145         scripts/test-installation.pl.
31146
31147         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31148         and $ld_so_version if it is set.
31149
31150 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31151
31152         [BZ #14516]
31153         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31154         failure if reading from procfs failed.
31155         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31156
31157 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31158
31159         * sysdeps/unix/sysv/linux/kernel-features.h
31160         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31161         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31162         Remove conditional code.
31163         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31164         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31165         Remove conditional code.
31166         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31167         * sysdeps/unix/sysv/linux/i386/fxstat.c
31168         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31169         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31170         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31171         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31172         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31173         * sysdeps/unix/sysv/linux/i386/lxstat.c
31174         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31175         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31176         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31177         Remove conditional code.
31178         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31179         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31180         Remove conditional code.
31181         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31182         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31183         <kernel-features.h>.
31184         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31185         Remove.
31186         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31187         Remove conditional code.
31188         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31189         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31190         Remove conditional.
31191
31192 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31193
31194         [BZ #5400]
31195         * NEWS: Add fixed bug number.
31196
31197 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31198
31199         [BZ #14519]
31200         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31201         underflowing exponent in case of negative sign.
31202         * stdlib/tst-strtod-round-data: Add more tests.
31203         * stdlib/tst-strtod-round.c (tests): Regenerated.
31204
31205         [BZ #3479]
31206         * stdlib/strtod_l.c (NDIG): Remove.
31207         (HEXNDIG): Likewise.
31208         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31209         smallest representable value.
31210         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31211         lie within an exact representation of 1/2 ulp of the result.
31212         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31213         unconditionally.
31214         (TENS_P9_IDX): Define unconditionally.
31215         (TENS_P9_SIZE): Likewise.
31216         (TENS_P10_IDX): Likewise.
31217         (TENS_P10_SIZE): Likewise.
31218         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31219         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31220         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31221         entries for 10^2^13 and 10^2^14.
31222         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31223         (TENS_P13_IDX): Define.
31224         (TENS_P13_SIZE): Likewise.
31225         (TENS_P14_IDX): Likewise.
31226         (TENS_P14_SIZE): Likewise.
31227         (_fpioconst_pow10): Change array size to
31228         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31229         unconditional.
31230         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31231         1024]: Add entries for 10^2^13 and 10^2^14.
31232         [LAST_POW10 > _LAST_POW10]: Remove #error.
31233         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31234         (_fpioconst_pow10): Change array size to
31235         FPIOCONST_POW10_ARRAY_SIZE.
31236         * stdlib/gen-fpioconst.c: New file.
31237         * stdlib/gen-tst-strtod-round.c: Likewise.
31238         * stdlib/tst-strtod-round-data: Likewise.
31239         * stdlib/tst-strtod-round.c: Likewise.
31240         * stdlib/Makefile (tests): Add tst-strtod-round.
31241
31242         [BZ #14459]
31243         * stdlib/strtod_l.c: Include <stdint.h>.
31244         (NDEBUG): Do not define.
31245         (round_and_return): Change EXPONENT parameter to type intmax_t.
31246         Rearrange calculations to avoid internal overflow possibilities.
31247         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31248         Rearrange calculations to avoid internal overflow possibilities.
31249         Assert that number fits inside MPNSIZE limbs.
31250         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31251         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31252         calculations and add assertions to avoid internal overflow
31253         possibilities.  Add casts to avoid signed/unsigned operations.
31254         * stdlib/tst-strtod-overflow.c: New file.
31255         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31256
31257 2012-08-25  Marek Polacek  <polacek@redhat.com>
31258
31259         * time/time.h: Fix some typos in comments.
31260
31261 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31262
31263         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31264         * posix/tst-rfc3484-2.c: Likewise.
31265         * posix/tst-rfc3484-3.c: Likewise.
31266
31267 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31268
31269         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31270         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31271
31272 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31273
31274         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31275         #include of fxstatat64.c.
31276
31277 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31278
31279         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31280         * shadow/getspent_r.c: Likewise.
31281         * shadow/getspnam.c: Likewise.
31282         * shadow/getspnam_r.c: Likewise.
31283         * gshadow/getsgent.c: Likewise.
31284         * gshadow/getsgent_r.c: Likewise.
31285         * gshadow/getsgnam.c: Likewise.
31286         * gshadow/getsgnam_r.c: Likewise.
31287         * inet/getnetbyad.c: Likewise.
31288         * inet/getnetbyad_r.c: Likewise.
31289         * inet/getnetbynm.c: Likewise.
31290         * inet/getnetbynm_r.c: Likewise.
31291         * inet/getnetent.c: Likewise.
31292         * inet/getnetent_r.c: Likewise.
31293         * inet/getproto.c: Likewise.
31294         * inet/getproto_r.c: Likewise.
31295         * inet/getprtent.c: Likewise.
31296         * inet/getprtent_r.c: Likewise.
31297         * inet/getprtname.c: Likewise.
31298         * inet/getprtname_r.c: Likewise.
31299         * inet/getrpcbyname.c: Likewise.
31300         * inet/getrpcbyname_r.c: Likewise.
31301         * inet/getrpcbynumber.c: Likewise.
31302         * inet/getrpcbynumber_r.c: Likewise.
31303         * inet/getrpcent.c: Likewise.
31304         * inet/getrpcent_r.c: Likewise.
31305         * inet/getaliasent.c: Likewise.
31306         * inet/getaliasent_r.c: Likewise.
31307         * inet/getaliasname.c: Likewise.
31308         * inet/getaliasname_r.c: Likewise.
31309         * nscd/getgrgid_r.c: Likewise.
31310         * nscd/getgrnam_r.c: Likewise.
31311         * nscd/gethstbyad_r.c: Likewise.
31312         * nscd/gethstbynm3_r.c: Likewise.
31313         * nscd/getpwnam_r.c: Likewise.
31314         * nscd/getpwuid_r.c: Likewise.
31315         * nscd/getsrvbynm_r.c: Likewise.
31316         * nscd/getsrvbypt_r.c: Likewise.
31317         * nscd/gai.c: Likewise.
31318
31319         * configure.in (build_nscd): New substituted variable, set
31320         by --disable-build-nscd and defaults to $use_nscd.
31321         * configure: Regenerated.
31322         * config.make.in (build-nscd): New substituted variable.
31323         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31324         Change conditional to require [$(build-nscd) = yes] as well.
31325         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31326
31327         [BZ# 13696]
31328         * configure.in (use_nscd): New substituted variable, set by
31329         --disable-nscd.  If enabled, define USE_NSCD.
31330         * configure: Regenerated.
31331         * config.h.in: Add USE_NSCD.
31332         * config.make.in (use-nscd): New substituted variable.
31333         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31334         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31335         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31336         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31337         (CFLAGS-getgrnam_r.c): Likewise.
31338         (CFLAGS-initgroups.c): Likewise.
31339         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31340         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31341         Variables removed.
31342         * inet/getnetgrent_r.c
31343         (nscd_setnetgrent): New function, broken out of ...
31344         (setnetgrent): ... here.  Call it.
31345         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31346         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31347         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31348         * nscd/Makefile (routines, aux): Move definitions after include of
31349         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31350         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31351         Conditionalize on [USE_NSCD].
31352         (is_nscd, nscd_init_cb): Likewise.
31353         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31354         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31355         * nss/nss_db/db-init.c: Likewise.
31356         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31357         [USE_NSCD].
31358         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31359         (make_request): Use it.
31360         (cache_valid_p): New function.
31361         (__check_pf): Use it.
31362         * NEWS: Add item for --disable-nscd.
31363
31364 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31365
31366         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31367         to support sed >= 4.2.1-20-ga9bf076.
31368         * configure: Regenerated.
31369
31370 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31371
31372         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31373         Conditionalize whole body on [IREL].
31374
31375 2012-08-22  Jeff Law <law@redhat.com>
31376
31377         [BZ #14505]
31378         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31379         if the family is PF_UNSPEC.
31380
31381 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31382
31383         * Makerules (lib-version): Rename from V.
31384         (install-lib-nosubdir): Change V to lib-version.
31385
31386 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31387
31388         [BZ #14252]
31389         * powerpc32/power6/wcschr.c: New file.
31390         * powerpc32/power6/wcscpy.c: New file.
31391         * powerpc32/power6/wcsrchr.c: New file.
31392         * powerpc64/power6/wcschr.c: New file.
31393         * powerpc64/power6/wcscpy.c: New file.
31394         * powerpc64/power6/wcsrchr.c: New file.
31395
31396 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31397
31398         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31399         (two_way_short_needle): Use it.
31400         * string/strstr.c (AVAILABLE1_USES_J): Define.
31401         * string/strcasestr.c: Likewise.
31402
31403         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31404         array references.
31405         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31406
31407         [BZ #11607]
31408         * NEWS: Add an entry.
31409         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31410         define their defaults.
31411         (two_way_short_needle): Detect end-of-string on-the-fly.
31412         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31413         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31414         * string/bug-strcasestr1.c: New test.
31415         * string/Makefile: Run it.
31416
31417 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31418
31419         [BZ #11607]
31420         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31421         the first character.
31422
31423 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31424
31425         * csu/elf-init.c (__libc_csu_irel): Function removed.
31426         * csu/libc-start.c (apply_irel): New function.
31427         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31428
31429 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31430
31431         * sysdeps/unix/sysv/linux/kernel-features.h
31432         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31433         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31434         <kernel-features.h>.
31435         [__NR_fadvise64_64]: Make code unconditional.
31436         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31437         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31438         !__NR_fadvise64_64)]: Likewise.
31439         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31440         !__NR_fadvise64_64))]: Likewise.
31441         [__NR_fadvise64]: Make code unconditional.
31442         [!__NR_fadvise64]: Remove conditional code.
31443         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31444         <kernel-features.h>.
31445         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31446         unconditional.
31447         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31448         conditional code.
31449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31450         not include <kernel-features.h>.
31451         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31452         unconditional.
31453         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31454         conditional code.
31455         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31456         include <kernel-features.h>.
31457         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31458         unconditional.
31459         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31460         conditional code.
31461
31462 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31463
31464         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31465         slight instruction rearrangements per scrollpipe analysis.
31466         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31467
31468 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31469
31470         * manual/syslog.texi (syslog; vsyslog, closelog):
31471         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31472         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31473
31474         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31475         DSOCAPS to match condition on defining it.
31476
31477 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31478
31479         * sysdeps/unix/sysv/linux/kernel-features.h
31480         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31482         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31483         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31485         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31486         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31488         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31489         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31490
31491         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31492         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31493
31494         * sysdeps/unix/sysv/linux/kernel-features.h
31495         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31496         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31497         unconditional.
31498         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31499         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31500         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31501         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31502         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31503         Make code unconditional.
31504         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31505         (__mmap64) [!__NR_mmap2]: Likewise.
31506         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31507         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31508         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31509         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31510         [__NR_mmap2]: Make code unconditional.
31511         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31512         (__mmap64) [!__NR_mmap2]: Likewise.
31513
31514 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31515
31516         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31517
31518 2012-08-18  Andreas Jaeger  <aj@suse.de>
31519
31520         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31521
31522 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31523
31524         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31525         * include/unistd.h (__have_sock_cloexec): Likewise.
31526         (__have_pipe2): Likewise.
31527         (__have_dup3): Likewise.
31528
31529 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31530
31531         [BZ #9685]
31532         * include/unistd.h (__have_pipe2): Change define into an extern int.
31533         (__have_dup3): Likewise.
31534         * socket/have_sock_cloexec.c: Include fcntl.h.
31535         (__have_pipe2): New variable.
31536         (__have_dup3): Likewise.
31537
31538 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
31539
31540         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31541
31542 2012-08-17  Marek Polacek  <polacek@redhat.com>
31543
31544         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31545         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31546
31547 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31548
31549         * configure.in: Add AC_SUBST for sysheaders.
31550         * configure: Regenerated.
31551         * config.make.in (sysheaders): New substituted variable.
31552
31553         * sysdeps/unix/mkfifo.c: Moved ...
31554         * sysdeps/posix/mkfifo.c: ... here.
31555         * sysdeps/unix/mkfifoat.c: Moved ...
31556         * sysdeps/posix/mkfifoat.c: ... here.
31557
31558         * sysdeps/unix/utime.c: Moved ...
31559         * sysdeps/posix/utime.c: ... here.
31560
31561         * sysdeps/unix/time.c: Moved ...
31562         * sysdeps/posix/time.c: ... here.
31563         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31564         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31565
31566         * sysdeps/unix/nice.c: Moved ...
31567         * sysdeps/posix/nice.c: ... here.
31568
31569         * sysdeps/unix/alarm.c: Moved ...
31570         * sysdeps/posix/alarm.c: ... here.
31571
31572         * intl/Makefile ($(codeset_mo)): Depend on the input file.
31573
31574 2012-08-17  Jeff Law <law@redhat.com>
31575
31576         * intl/Makefile (codeset_mo): New variable.
31577         ($(codeset_mo)): New target.
31578         (tst-codeset.out): Depend on that.  Remove explicit rule.
31579         (tst-gettext3.out, tst-gettext5.out): Likewise.
31580         (LOCPATH-ENV, tst-codeset-ENV): New variables.
31581         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31582         * intl/tst-codeset.sh: Remove.
31583         * intl/tst-gettext3.sh: Likewise.
31584         * intl/tst-gettext5.sh: Likewise.
31585
31586 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31587
31588         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
31589         * sysdeps/unix/syscalls.list: ... here.
31590
31591         * sysdeps/posix/getaddrinfo.c
31592         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31593         (gaiconf_init, gaiconf_reload): Use them.
31594         [!_STATBUF_ST_NSEC]
31595         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31596         Define using time_t rather than struct timespec.
31597
31598         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31599         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31600         Macros removed.
31601         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31602         [!NO_THREADS].
31603         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31604         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31605         Likewise.
31606
31607         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31608         __libc_cleanup_push argument.
31609
31610         * bits/param.h: New file.
31611         * misc/sys/param.h: New file.
31612         * include/sys/param.h: New file.
31613         * misc/Makefile (headers): Add bits/param.h.
31614         * sysdeps/generic/sys/param.h: File removed.
31615         * sysdeps/unix/sysv/linux/bits/param.h: New file.
31616         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31617         * sysdeps/mach/hurd/bits/param.h: New file.
31618         * sysdeps/mach/hurd/sys/param.h: File removed.
31619
31620         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31621         last change.
31622
31623         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31624         [_IO_MTSAFE_IO].
31625         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31626         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31627         New macros.
31628
31629         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31630         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31631         rather than -D_IO_MTSAFE_IO conditionally.
31632         * stdio-common/Makefile (CPPFLAGS): Likewise.
31633         * wcsmbs/Makefile (CPPFLAGS): Likewise.
31634         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31635         Use $(libio-mtsafe).
31636         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31637         of -D_IO_MTSAFE_IO.
31638         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31639         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31640         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31641         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31642         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31643         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31644         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31645         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31646         (CFLAGS-fread_u_chk.c): Likewise.
31647         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31648         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31649         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31650         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31651         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31652         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31653         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31654         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31655         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31656
31657         * libio/Makefile: Test [$(libc-reentrant) = yes]
31658         instead of [$(filter %REENTRANT, $(defines)) nonempty].
31659
31660         * Makeconfig
31661         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31662         * sysdeps/pthread/configure: File removed.
31663         * sysdeps/pthread/Makeconfig: New file.
31664         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31665         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31666
31667 2012-08-16  Gary Benson  <gbenson@redhat.com>
31668
31669         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31670         unmapping the first object in a namespace.
31671
31672 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31673
31674         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31675         (__internal_setnetgrent): ... this.  Add internal_function to
31676         definition.  Add libc_hidden_def.
31677         (setnetgrent): Update caller.
31678         (internal_endnetgrent): Renamed to ...
31679         (__internal_endnetgrent): ... this.  Add internal_function to
31680         definition.  Add libc_hidden_def.
31681         (endnetgrent): Update caller.
31682         (internal_getnetgrent_r): Renamed to ...
31683         (__internal_getnetgrent_r): ... this.  Add internal_function to
31684         definition.  Add libc_hidden_def.
31685         (__getnetgrent_r): Update caller.
31686         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
31687
31688 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31689
31690         * stdlib/longlong.h: Update from GCC.
31691
31692 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31693
31694         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31695         on _QL, which is set by umul_ppmm but never used.
31696         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31697         variables, which are set by GMP macros but never used.
31698         * stdio-common/_itowa.c (_itowa): Likewise.
31699         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31700         * stdlib/mod_1.c (mpn_mod_1): Likewise.
31701
31702 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
31703
31704         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31705         struct La_sh_regs is not constant.
31706         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31707         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31708         and struct La_sparc64_regs are not constant.
31709
31710 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31711
31712         * sysdeps/unix/sysv/linux/kernel-features.h
31713         (__ASSUME_POSIX_TIMERS): Remove.
31714         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31715         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31716         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31717         Make code unconditional.
31718         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31719         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31720         Make code unconditional.
31721         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31722         * sysdeps/unix/sysv/linux/clock_nanosleep.c
31723         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31724         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31725         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31726         Make code unconditional.
31727         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31728         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31729         (__libc_missing_posix_timers): Remove.
31730
31731 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31732
31733         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31734         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31735
31736         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31737
31738         * elf/dl-sym.c: Include <stdlib.h>.
31739
31740         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31741         constants, which avoids warnings in 32-bit builds.
31742
31743         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31744         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31745
31746         * misc/lseek.c: File moved to ...
31747         * io/lseek.c: ... here.
31748
31749         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31750
31751         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31752         shifting LEN more than 31 bits at once.
31753
31754 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31755
31756         [BZ #14195]
31757         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31758         segmentation fault for a case of two empty input strings.
31759         * string/test-strncasecmp.c (check1): Renamed to...
31760         (bz12205): ...this.
31761         (bz14195): Add new testcase for two empty input strings and N > 0.
31762         (test_main): Call new testcase, adapt for renamed function.
31763
31764 2012-08-15  Andreas Jaeger  <aj@suse.de>
31765
31766         [BZ #14090]
31767         * crypt/md5test2.c: New test, based on test supplied by Serge
31768         Belyshev <belyshev@depni.sinp.msu.ru>.
31769         * crypt/Makefile (xtests): Add md5test-giant..
31770         * crypt/Makefile ($(objpfx)md5test-giant): Add.
31771
31772 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
31773
31774         [BZ #14090]
31775         * crypt/md5.c (md5_process_block): Don't assume the buffer
31776         length is less than 2**32.
31777         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31778         length is less than 2**64.
31779
31780 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31781
31782         * string/str-two-way.h: Include <sys/param.h>.
31783         (MAX): Macro removed.
31784
31785         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31786         Move #define and #undef of memmove to just before and after
31787         including <string.h>.
31788
31789         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31790         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31791         and after including <string.h>.  Move declarations of
31792         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31793         to before #include "string/memmove.c".
31794
31795         * include/dirent.h: Declare __getdirentries.
31796
31797         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31798         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31799
31800 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
31801
31802         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31803         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31804         * sysdeps/i386/configure: Regenerated.
31805         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31806         STABS_CURRENT_FILE, and STABS_FUN.
31807         (END): Remove call to STABS_FUN_END.
31808         (STABS_CURRENT_FILE1): Delete.
31809         (STABS_CURRENT_FILE): Likewise.
31810         (STABS_FUN): Likewise.
31811         (STABS_FUN_END): Likewise.
31812         (STABS_FUN2): Likewise.
31813         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31814         * sysdeps/x86_64/configure: Regenerated.
31815
31816 2012-08-14  Roland McGrath  <roland@hack.frob.com>
31817
31818         * elf/dl-open.c: Include <atomic.h>.
31819         * elf/dl-lookup.c: Likewise.
31820
31821 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
31822
31823         * sysdeps/unix/sysv/linux/kernel-features.h
31824         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31825         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31826         unconditionally.
31827         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31828         unconditionally.
31829         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31830         condition on __ASSUME_CLONE_THREAD_FLAGS.
31831
31832 2012-08-14  Andreas Jaeger  <aj@suse.de>
31833
31834         * sysdeps/i386/fpu/libm-test-ulps: Update.
31835
31836 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
31837
31838         * include/atomic.h (atomic_exchange_and_add): Split into ...
31839         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31840         New atomic macros.
31841
31842 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
31843
31844         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31845
31846 2012-08-13  Jeff Law <law@redhat.com>
31847
31848         * manual/stdio.texi (snprintf): Clarify handling of the trailing
31849         null byte in the output string.
31850
31851 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
31852
31853         * sysdeps/unix/sysv/linux/kernel-features.h
31854         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31855         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31856         (__ASSUME_ARG_MAX_STACK_BASED): Define.
31857         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31858         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31859         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
31860         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31861
31862 2012-08-09  Jeff Law <law@redhat.com>
31863
31864         [BZ #13939]
31865         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31866         When avoid_arena is set, don't retry in the that arena.  Pick the
31867         next one, whatever it might be.
31868         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31869         (arena_lock): Pass in new parameter to arena_get2.
31870         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31871         arena_get2.
31872         (__libc_malloc): Unify retrying after main arena failure with
31873         __libc_memalign version.
31874         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31875
31876 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31877
31878         [BZ #14166]
31879         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31880         to __redirect_strstr.
31881         (__strstr_sse42): Use typeof __redirect_strstr.
31882         (__strstr_ia32): Likewise.
31883         (__libc_strstr): New prototype.
31884         (strstr): Renamed to ...
31885         (__libc_strstr): This.
31886         (strstr): New strong alias of __libc_strstr.
31887         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31888         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31889         __redirect_time.
31890         Include <time.h>.
31891         (__libc_time): New prototype.
31892         (time_ifunc): Replace time with __libc_time.
31893         (time): New strong alias and hidden definition of __libc_time.
31894         (__GI_time): Remove strong alias.
31895         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31896         Include <stddef.h>.
31897         (memmove): Redefined to __redirect_memmove.
31898         (__memmove_sse2): Use typeof __redirect_memmove.
31899         (__memmove_ssse3): Likewise.
31900         (__memmove_ssse3_back): Likewise.
31901         (__libc_memmove): New prototype.
31902         (memmove): Renamed to ...
31903         (__libc_memmove): This.
31904         (memmove): New strong alias of __libc_memmove.
31905
31906 2012-08-08  Mark Salter  <msalter@redhat.com>
31907
31908         * elf/elf.h
31909         (R_MN10300_TLS_GD): Define.
31910         (R_MN10300_TLS_LD): Likewise.
31911         (R_MN10300_TLS_LDO): Likewise.
31912         (R_MN10300_TLS_GOTIE): Likewise.
31913         (R_MN10300_TLS_IE): Likewise.
31914         (R_MN10300_TLS_LE): Likewise.
31915         (R_MN10300_TLS_DTPMOD): Likewise.
31916         (R_MN10300_TLS_DTPOFF): Likewise.
31917         (R_MN10300_TLS_TPOFF): Likewise.
31918         (R_MN10300_SYM_DIFF): Likewise.
31919         (R_MN10300_ALIGN): Likewise.
31920         (R_MN10300_NUM): Update.
31921
31922 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
31923
31924         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31925         Remove.
31926
31927 2012-08-08  Roland McGrath  <roland@hack.frob.com>
31928
31929         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31930
31931         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31932         sysdeps/unix -> sysdeps/posix move.
31933         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31934
31935 2012-08-07      Allan McRae     <allan@archlinux.org>
31936
31937         [BZ #14303]
31938         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31939         (SUNOS_CPP): Likewise.
31940         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31941         not found.
31942         (open_input): Call CPP using execvp.
31943
31944 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31945
31946         * sysdeps/unix/sysv/linux/kernel-features.h
31947         (__ASSUME_PROT_GROWSUPDOWN): Remove.
31948         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31949         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31950         (__ASSUME_WAITID_SYSCALL): Likewise.
31951         * sysdeps/unix/sysv/linux/dl-execstack.c
31952         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31953         code unconditional.
31954         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31955         conditional code.
31956         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31957         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31958         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31959         code.
31960         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31961         unconditional.
31962         [__ASSUME_WAITID_SYSCALL]: Likewise.
31963         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31964
31965 2012-08-07  Roland McGrath  <roland@hack.frob.com>
31966
31967         * sysdeps/unix/closedir.c: Renamed to ...
31968         * sysdeps/posix/closedir.c: ... here.
31969         * sysdeps/unix/dirfd.c: Renamed to ...
31970         * sysdeps/posix/dirfd.c: ... here.
31971         * sysdeps/unix/dirstream.h: Renamed to ...
31972         * sysdeps/posix/dirstream.h: ... here.
31973         * sysdeps/unix/fdopendir.c: Renamed to ...
31974         * sysdeps/posix/fdopendir.c: ... here.
31975         * sysdeps/unix/opendir.c: Renamed to ...
31976         * sysdeps/posix/opendir.c: ... here.
31977         * sysdeps/unix/readdir.c: Renamed to ...
31978         * sysdeps/posix/readdir.c: ... here.
31979         * sysdeps/unix/readdir_r.c: Renamed to ...
31980         * sysdeps/posix/readdir_r.c: ... here.
31981         * sysdeps/unix/rewinddir.c: Renamed to ...
31982         * sysdeps/posix/rewinddir.c: ... here.
31983         * sysdeps/unix/seekdir.c: Renamed to ...
31984         * sysdeps/posix/seekdir.c: ... here.
31985         * sysdeps/unix/telldir.c: Renamed to ...
31986         * sysdeps/posix/telldir.c: ... here.
31987         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31988         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31989         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31990         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31991
31992         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31993         * bits/fcntl.h: ... here.
31994
31995         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31996         not 0.
31997         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31998         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31999         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32000         (struct flock): Move l_start, l_len to the beginning.
32001         Use __pid_t for l_pid.
32002         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32003         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32004         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32005         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32006         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32007         [__USE_LARGEFILE64] (struct flock64): New type.
32008         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32009
32010         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32011         * bits/dirent.h: ... here.
32012
32013         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32014         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32015
32016 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32017
32018         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32019         Change from 2.6.0 to 2.6.16.
32020         * sysdeps/unix/sysv/linux/configure: Regenerated.
32021         * sysdeps/unix/sysv/linux/kernel-features.h
32022         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32023         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32024         version.
32025         (__ASSUME_UTIMES): Likewise.
32026         (__ASSUME_CLONE_STOPPED): Remove.
32027         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32028         architectures, not kernel version.
32029         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32030         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32031         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32032         (__ASSUME_WAITID_SYSCALL): Likewise.
32033         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32034         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32035         * README: State 2.6.16 as minimum Linux kernel version.  Do not
32036         refer to older versions.
32037
32038 2012-08-06  Roland McGrath  <roland@hack.frob.com>
32039
32040         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32041         Define alphasort64 as an alias.
32042         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32043         Define versionsort64 as an alias.
32044         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32045         Define scandir64 as an alias.
32046         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32047         Define scandirat64 as an alias.
32048         * dirent/alphasort64.c (alphasort64):
32049         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32050         * dirent/versionsort64.c: Likewise.
32051         * dirent/scandir64.c: Likewise.
32052         * dirent/scandirat64.c: Likewise.
32053         * sysdeps/wordsize-64/alphasort.c: File removed.
32054         * sysdeps/wordsize-64/alphasort64.c: File removed.
32055         * sysdeps/wordsize-64/scandir.c: File removed.
32056         * sysdeps/wordsize-64/scandir64.c: File removed.
32057         * sysdeps/wordsize-64/scandirat.c: File removed.
32058         * sysdeps/wordsize-64/scandirat64.c: File removed.
32059         * sysdeps/wordsize-64/versionsort.c: File removed.
32060         * sysdeps/wordsize-64/versionsort64.c: File removed.
32061         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32062         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32063         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32064         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32065         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32066         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32067         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32068         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32069
32070         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32071         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32072         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32073         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32074         [defined __arch64__ || defined __sparcv9]
32075         (__INO_T_MATCHES_INO64_T): New macro.
32076         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32077         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32078         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32079         * sysdeps/unix/sysv/linux/bits/dirent.h
32080         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32081         (_DIRENT_MATCHES_DIRENT64): New macro.
32082
32083         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32084         Define lockf64 as an alias.
32085         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32086         Define fseeko64 as an alias.
32087         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32088         Define ftello64 as an alias.
32089         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32090         Define _IO_fgetpos64 and fgetpos64 as aliases.
32091         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32092         Define _IO_fsetpos64 and fsetpos64 as aliases.
32093         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32094         Conditionalize body on this.
32095         * libio/fseeko64.c: Likewise.
32096         * libio/ftello64.c: Likewise.
32097         * libio/iofgetpos64.c: Likewise.
32098         * libio/iofsetpos64.c: Likewise.
32099         * sysdeps/wordsize-64/lockf.c: File removed.
32100         * sysdeps/wordsize-64/lockf64.c: File removed.
32101         * sysdeps/wordsize-64/fseeko.c: File removed.
32102         * sysdeps/wordsize-64/fseeko64.c: File removed.
32103         * sysdeps/wordsize-64/ftello.c: File removed.
32104         * sysdeps/wordsize-64/ftello64.c: File removed.
32105         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32106         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32107         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32108         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32109         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32110         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32111         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32112         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32113         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32114         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32115         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32116         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32117         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32118         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32119
32120         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32121         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32122         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32123         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32124         [defined __arch64__ || defined __sparcv9]
32125         (__OFF_T_MATCHES_OFF64_T): New macro.
32126         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32127         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32128         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32129         (__OFF_T_MATCHES_OFF64_T): New macro.
32130
32131 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32132
32133         * stdlib/secure-getenv.c (__secure_getenv): Replace
32134         GLIBC_2_16 with GLIBC_2_17.
32135
32136 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32137
32138         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32139         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32140
32141 2012-08-03  David S. Miller  <davem@davemloft.net>
32142
32143         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32144
32145 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32146
32147         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32148         Remove.
32149         (__ASSUME_CORRECT_SI_PID): Likewise.
32150         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32151         (__ASSUME_TMPFS_NAME): Likewise.
32152         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32153         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32154         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32155         (HAVE_AUX_SECURE): Make definition unconditional.
32156         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32157         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32158
32159 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32160
32161         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32162         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32163         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32164         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32165         __eloop_threshold instead of SYMLOOP_MAX.
32166
32167         * sysdeps/generic/eloop-threshold.h: New file.
32168         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32169         of MAXSYMLINKS.
32170         * elf/chroot_canon.c (chroot_canon): Likewise.
32171
32172 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32173
32174         [BZ #13717]
32175         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32176         Change to 2.6.0 everywhere.
32177         * sysdeps/unix/sysv/linux/configure: Regenerated.
32178         * sysdeps/unix/sysv/linux/kernel-features.h
32179         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32180         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32181         kernel versions.
32182         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32183         (__ASSUME_FUTEX_REQUEUE): Remove.
32184         (__ASSUME_STATFS64): Define unconditionally.
32185         (__ASSUME_AT_SECURE): Likewise.
32186         (__ASSUME_CORRECT_SI_PID): Likewise.
32187         (__ASSUME_TGKILL): Define without depending on kernel version for
32188         i386.
32189         (__ASSUME_UTIMES): Likewise.
32190         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32191         kernel version.
32192         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32193         (__ASSUME_TMPFS_NAME): Likewise.
32194         * README: Update reference to Linux kernel versions.
32195
32196 2012-08-02  Marek Polacek  <polacek@redhat.com>
32197
32198         [BZ# 14150]
32199         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32200         libc_cv_asm_type_prefix with %.
32201         * configure: Regenerated.
32202         * include/libc-symbols.h: Remove comment about
32203         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32204         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32205         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32206         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32207         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32208         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32209         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32210         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32211         * elf/tst-unique2mod1.c: Likewise.
32212         * elf/tst-unique1mod2.c: Likewise.
32213         * elf/tst-unique1mod1.c: Likewise.
32214         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32215         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32216         Replace ASM_TYPE_DIRECTIVE with .type.
32217         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32218         * sysdeps/i386/sysdep.h: Likewise.
32219         * sysdeps/x86_64/sysdep.h: Likewise.
32220         * sysdeps/sh/sysdep.h: Likewise.
32221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32222         Do not define ASM_TYPE_DIRECTIVE.
32223         * sysdeps/powerpc/sysdep.h: Likewise.
32224         * sysdeps/powerpc/powerpc32/sysdep.h:
32225         Replace ASM_TYPE_DIRECTIVE with .type.
32226         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32227         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32228         * sysdeps/i386/fpu/e_powf.S: Likewise.
32229         * sysdeps/i386/fpu/e_expl.S: Likewise.
32230         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32231         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32232         * sysdeps/i386/fpu/e_pow.S: Likewise.
32233         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32234         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32235         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32236         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32237         * sysdeps/i386/fpu/e_log2.S: Likewise.
32238         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32239         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32240         * sysdeps/i386/fpu/e_powl.S: Likewise.
32241         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32242         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32243         * sysdeps/i386/fpu/e_logl.S: Likewise.
32244         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32245         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32246         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32247         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32248         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32249         * sysdeps/i386/fpu/e_log.S: Likewise.
32250         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32251         * sysdeps/i386/fpu/e_logf.S: Likewise.
32252         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32253         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32254         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32255         * sysdeps/i386/fpu/e_log10.S: Likewise.
32256         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32257         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32258         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32259         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32260         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32261         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32262         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32263         * sysdeps/i386/i686/strtok.S: Likewise.
32264         * sysdeps/i386/i386-mcount.S: Likewise.
32265         * sysdeps/i386/strtok.S: Likewise.
32266         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32267         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32268         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32269         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32270         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32271         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32272         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32273         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32274         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32275         * sysdeps/x86_64/_mcount.S: Likewise.
32276         * sysdeps/x86_64/strtok.S: Likewise.
32277         * sysdeps/sh/_mcount.S: Likewise.
32278
32279 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32280
32281         * libio/iofopen.c: Include <fcntl.h>.
32282         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32283         (_IO_fopen64, fopen64): Define as aliases.
32284         * libio/iofopen64.c: Include <fcntl.h>.
32285         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32286         Conditionalize body on this.
32287         * sysdeps/wordsize-64/iofopen.c: File removed.
32288         * sysdeps/wordsize-64/iofopen64.c: File removed.
32289
32290 2012-08-01  Marek Polacek  <polacek@redhat.com>
32291
32292         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32293         Use dlfcn directly instead of a variable.
32294         (binfmt-subdir): Do not define.
32295         (dlfcn): Likewise.
32296
32297 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32298
32299         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32300         Remove all definitions.
32301         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32302         <kernel-features.h>.
32303         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32304         (miss_F_GETOWN_EX): Remove all definitions.
32305         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32306         macro definition.
32307         [!__ASSUME_FCNTL64]: Remove conditional code.
32308         [__ASSUME_FCNTL64]: Make code unconditional.
32309         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32310         <kernel-features.h>.
32311         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32312         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32313         (lockf64) [__NR_fcntl64]: Make code unconditional.
32314         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32315
32316         * sysdeps/unix/sysv/linux/kernel-features.h
32317         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32318         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32319         Make code unconditional.
32320         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32321         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32323         [__NR_vfork]: Make code unconditional.
32324         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32325         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32327         [__NR_vfork]: Make code unconditional.
32328         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32329         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32330
32331 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32332
32333         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32334         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32335
32336         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32337         Define mkstemp64 as an alias.
32338         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32339         Define mkstemps64 as an alias.
32340         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32341         Define mkostemp64 as an alias.
32342         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32343         Define mkostemps64 as an alias.
32344         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32345         Conditionalize body on this.
32346         * misc/mkostemp64.c: Likewise.
32347         * misc/mkostemps64.c: Likewise.
32348         * misc/mkstemps64.c: Likewise.
32349         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32350         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32351         * sysdeps/wordsize-64/mkostemp.c: File removed.
32352         * sysdeps/wordsize-64/mkstemp.c: File removed.
32353         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32354         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32355         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32356         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32357
32358         [BZ #14138]
32359         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32360         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32361         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32362         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32363
32364         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32365         compat_symbol macros from <shlib-compat.h> rather than the underlying
32366         default_symbol_version and symbol_version macros, so that DEFAULT
32367         lines in shlib-versions are respected.
32368         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32369
32370 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32371
32372         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32373         Declare with warn_unused_result.
32374         (setgid, setregid, setegid, setresgid): Likewise.
32375         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32376         Likewise.
32377         * WUR-REPORT: Remove set*id functions.
32378
32379 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32380
32381         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32382
32383 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32384
32385         [BZ #10191]
32386         * include/sys/socket.h (__libc_accept, __libc_accept4):
32387         Add attribute_hidden.
32388         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32389
32390         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32391         use of PTR_MANGLE.
32392         * inet/getnetgrent_r.c (setup): Likewise.
32393
32394         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32395
32396 2012-07-31  David S. Miller  <davem@davemloft.net>
32397
32398         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32399
32400 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32401
32402         [BZ #13629]
32403         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32404         value between 1.0 and 2.0 and smaller part has absolute value less
32405         than 1.0.
32406         * math/s_clog10.c (__clog10): Likewise.
32407         * math/s_clog10f.c (__clog10f): Likewise.
32408         * math/s_clog10l.c (__clog10l): Likewise.
32409         * math/s_clogf.c (__clogf): Likewise.
32410         * math/s_clogl.c (__clogl): Likewise.
32411         * math/libm-test.inc (clog_test): Add more tests.
32412         (clog10_test): Likewise.
32413         * sysdeps/i386/fpu/libm-test-ulps: Update.
32414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32415
32416 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32417
32418         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32419         Exit with zero in case no suitable GID is found, and write a
32420         message to standard error.
32421
32422 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32423
32424         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32425         rather than to 1.
32426         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32427         (MAXPATHLEN): Removed.
32428         (NOGROUP, NODEV): New macros.
32429         (setbit, clrbit, isset, isclr): New macros.
32430         (howmany, roundup, powerof2): New macros.
32431         (DEV_BSIZE): New macro.
32432
32433         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32434         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32435
32436         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32437         definition on [!__NO_LONG_DOUBLE_MATH].
32438
32439         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32440         PTR_MANGLE and PTR_DEMANGLE.
32441
32442         * socket/accept4.c (accept4): Rename to __libc_accept4.
32443         Define accept4 as a weak alias.
32444
32445         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32446         on [_DIRENT_HAVE_D_TYPE].
32447         * io/ftw.c (ftw_dir): Likewise.
32448
32449         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32450
32451         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32452
32453         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32454         Use the BSD numbers rather than the arbitrary ones we had.
32455         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32456         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32457         (SIGXCPU, SIGXFSZ): New macros.
32458         (_NSIG): Now 32.
32459
32460         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32461         initializer on [_LIBC_REENTRANT].
32462
32463         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32464         definitions inside [_POSIX_MAPPED_FILES].
32465
32466         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32467
32468         * dirent/opendir.c: Include <fcntl.h>.
32469
32470         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32471         (__libc_getspecific): Likewise.
32472         (__libc_key_create): Likewise.
32473
32474         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32475         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32476         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32477         (tmpfile64): Define as alias.
32478         * sysdeps/wordsize-64/tmpfile.c: File removed.
32479         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32480         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32481         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32482
32483         * stdio-common/vfscanf.c: Include <stdbool.h>.
32484         * nss/makedb.c: Likewise.
32485         * stdio-common/_i18n_number.h: Likewise.
32486         * argp/argp-help.c: Likewise.
32487         * posix/wordexp.c: Likewise.
32488         * sysdeps/posix/spawni.c: Likewise.
32489         * nss/nss_files/files-initgroups.c: Likewise.
32490         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32491         * nss/nss_files/files-initgroups.c: Likewise.
32492         * nss/nss_db/db-netgrp.c: Likewise.
32493         * nss/nss_db/db-initgroups.c: Likewise.
32494         * io/fchmodat.c: Include <sys/stat.h>.
32495
32496         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32497         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32498
32499         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32500         [HAVE_MMAP].
32501
32502         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32503         Add multiple inclusion protection.
32504
32505 2012-07-27  David S. Miller  <davem@davemloft.net>
32506
32507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32508
32509 2012-07-27  Gary Benson  <gbenson@redhat.com>
32510
32511         [BZ #14298]
32512         * elf/rtld.c: Include <stap-probe.h>.
32513         (dl_main): Added static probes "init_start" and "init_complete".
32514         * elf/dl-load.c: Include <stap-probe.h>.
32515         (lose): Take new parameter "nsid".
32516         Added static probe "map_failed".
32517         (_dl_map_object_from_fd): Pass namespace id to lose.
32518         Added static probe "map_start".
32519         (open_verify): Pass namespace id to lose.
32520         * elf/dl-open.c: Include <stap-probe.h>.
32521         (dl_open_worker) Added static probes "map_complete", "reloc_start"
32522         and "reloc_complete".
32523         * elf/dl-close.c: Include <stap-probe.h>.
32524         (_dl_close_worker): Added static probes "unmap_start" and
32525         "unmap_complete".
32526         * elf/rtld-debugger-interface.txt: New file documenting the above.
32527
32528 2012-07-26  Roland McGrath  <roland@hack.frob.com>
32529
32530         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32531         rather than a string variable.
32532         * sunrpc/rpc_main.c (h_output): Likewise.
32533         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32534
32535 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
32536
32537         * inet/check_native.c: New file.
32538
32539 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
32540
32541         [BZ #13629]
32542         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32543         if larger part has absolute value 1.0.
32544         * math/s_clog10.c (__clog10): Likewise.
32545         * math/s_clog10f.c (__clog10f): Likewise.
32546         * math/s_clog10l.c (__clog10l): Likewise.
32547         * math/s_clogf.c (__clogf): Likewise.
32548         * math/s_clogl.c (__clogl): Likewise.
32549         * math/libm-test.inc (clog_test): Add more tests.
32550         (clog10_test): Likewise.
32551         * sysdeps/i386/fpu/libm-test-ulps: Update.
32552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32553
32554         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32555         (pltexit): Likewise.
32556         (La_regs): Likewise.
32557         (La_retval): Likewise.
32558         (int_retval): Likewise.
32559         Update #error for removed macros to refer only to definitions in
32560         tst-audit.h.
32561         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32562         macro.
32563         (pltexit): Likewise.
32564         (La_regs): Likewise.
32565         (La_retval): Likewise.
32566         (int_retval): Likewise.
32567         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32568         macro.
32569         (pltexit): Likewise.
32570         (La_regs): Likewise.
32571         (La_retval): Likewise.
32572         (int_retval): Likewise.
32573         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32574         macro.
32575         (pltexit): Likewise.
32576         (La_regs): Likewise.
32577         (La_retval): Likewise.
32578         (int_retval): Likewise.
32579         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32580         macro.
32581         (pltexit): Likewise.
32582         (La_regs): Likewise.
32583         (La_retval): Likewise.
32584         (int_retval): Likewise.
32585         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32586         macro.
32587         (pltexit): Likewise.
32588         (La_regs): Likewise.
32589         (La_retval): Likewise.
32590         (int_retval): Likewise.
32591         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32592         macro.
32593         (pltexit): Likewise.
32594         (La_regs): Likewise.
32595         (La_retval): Likewise.
32596         (int_retval): Likewise.
32597         * sysdeps/generic/tst-audit.h: Update comment to refer only to
32598         macro definitions in tst-audit.h.
32599         * sysdeps/i386/tst-audit.h: New file.
32600         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32601         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32602         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32603         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32604         * sysdeps/sh/tst-audit.h: Likewise.
32605         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32606         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32607         * sysdeps/x86_64/tst-audit.h: Likewise.
32608
32609 2012-07-26  Andreas Jaeger  <aj@suse.de>
32610
32611         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32612         ptrace.
32613
32614         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32615         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32616         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32617         PTRACE_O_MASK.
32618         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32619         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32620         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32621
32622         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32623         value.
32624
32625         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32626         _sigsys.
32627         (si_call_addr, si_syscall, si_arch): Define new macro.
32628         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32629         _sigsys.
32630         (si_call_addr, si_syscall, si_arch): Define new marcro.
32631         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32632         _sigsys.
32633         (si_call_addr, si_syscall, si_arch): Define new macro.
32634         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32635         _sigsys.
32636         (si_call_addr, si_syscall, si_arch): Define new macro.
32637
32638 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32639
32640         [BZ #13717]
32641         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32642         Change to 2.4.21 where previously 2.4.1.
32643         * sysdeps/unix/sysv/linux/configure: Regenerated.
32644         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32645         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32646         Linux kernel version.
32647         (__ASSUME_STD_AUXV): Remove.
32648         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32649         kernel version.
32650         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32651         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32652         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32653         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32654         (__ASSUME_NETLINK_SUPPORT): Likewise.
32655         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32656         (__no_netlink_support): Remove conditional definition.
32657         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32658         Remove.
32659         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32660         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32661         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32662         (if_nameindex_ioctl): Remove.
32663         (if_nameindex_netlink): Do not handle __no_netlink_support.
32664         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32665         code.
32666         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32667         Remove conditional code.
32668         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32669         code.
32670         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32671         unconditional.
32672         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32673         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32674         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32675         Remove.
32676         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32677         [!__ASSUME_STD_AUXV]: Remove conditional code.
32678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32679         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32680         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32682         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32683         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32684         code.
32685         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32687         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32688         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32689         conditional code.
32690         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32692         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32693         code.
32694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32695         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32696         conditional code.
32697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32698         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32699         code unconditional.
32700         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32701         conditional code.
32702         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32703         unconditional.
32704         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32705         conditional code.
32706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32707         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32708         unconditional.
32709         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32710         conditional code.
32711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32712         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32713         code unconditional.
32714         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32715         conditional code.
32716         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32717         unconditional.
32718         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32719         conditional code.
32720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32721         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32722         code unconditional.
32723         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32724         conditional code.
32725         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32726         unconditional.
32727         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32728         conditional code.
32729
32730 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
32731
32732         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32733         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32734         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32735         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32736         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32737         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32738         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32739         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32740         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32741         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32742         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32743         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32744         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32745         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32746         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32747         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32748         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32749         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32750         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32751         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32752         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32753         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32754         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32755
32756 2012-07-25  Florian Weimer  <fweimer@redhat.com>
32757
32758         * Versions.def: Add GLIBC_2.17.
32759         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32760         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32761         Introduce __libc_secure_getenv.
32762         * stdlib/Versions (2.17): Add secure_getenv
32763         (GLIBC_PRIVATE): Add __libc_secure_getenv.
32764         * stdlib/secure-getenv.c: Rename __secure_getenv to
32765         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
32766         symbol __secure_getenv for GLIBC_2.0.
32767         * stdlib/tst-secure-getenv.c: New.
32768         * stdlib/Makefile (tests): Add testcase.
32769         * manual/startup.texi (Environment Access): Document
32770         secure_getenv.
32771         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32772         __libc_secure_getenv.
32773         * inet/ruserpass.c (ruserpass): Likewise.
32774         * malloc/mtrace.c (mtrace): Likewise.
32775         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32776         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32777         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32778         * sysdeps/posix/tempname.c: Likewise.  Evaluate
32779         HAVE_SECURE_GETENV.
32780         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32781         __secure_getenv to __libc_secure_getenv.
32782         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32784         Likewise.
32785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32786         Likewise.
32787         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32788         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32789         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32791         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32794
32795 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32796
32797         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32798         (struct La_i86_retval): Likewise.
32799         (struct La_x86_64_regs): Likewise.
32800         (struct La_x86_64_retval): Likewise.
32801         (struct La_x32_regs): Likewise.
32802         (struct La_x32_retval): Likewise.
32803         (struct La_ppc32_regs): Likewise.
32804         (struct La_ppc32_retval): Likewise.
32805         (struct La_ppc64_regs): Likewise.
32806         (struct La_ppc64_retval): Likewise.
32807         (struct La_sh_regs): Likewise.
32808         (struct La_sh_retval): Likewise.
32809         (struct La_s390_32_regs): Likewise.
32810         (struct La_s390_32_retval): Likewise.
32811         (struct La_s390_64_regs): Likewise.
32812         (struct La_s390_64_retval): Likewise.
32813         (struct La_sparc32_regs): Likewise.
32814         (struct La_sparc32_retval): Likewise.
32815         (struct La_sparc64_regs): Likewise.
32816         (struct La_sparc64_retval): Likewise.
32817         (struct audit_ifaces): Remove architecture-specific pltenter and
32818         pltexit members.
32819         * sysdeps/i386/ldsodefs.h: New file.
32820         * sysdeps/powerpc/ldsodefs.h: Likewise.
32821         * sysdeps/s390/ldsodefs.h: Likewise.
32822         * sysdeps/sh/ldsodefs.h: Likewise.
32823         * sysdeps/sparc/ldsodefs.h: Likewise.
32824         * sysdeps/x86_64/ldsodefs.h: Likewise.
32825
32826 2012-07-25  Marek Polacek  <polacek@redhat.com>
32827
32828         [BZ #6808]
32829         * math/libm-test.inc (yn_test): Add another test.
32830         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32831         to ERANGE when the result is +-Inf.
32832         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32833         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32834         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32835         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32836
32837 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
32838
32839         * conform/data/time.h-data (NULL): Use macro-constant.  Require
32840         equal to 0.
32841         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
32842         clock_t.
32843         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
32844
32845 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
32846
32847         * configure.in <sysdeps resolving>: Correct printing
32848         Implies_before.
32849         * configure: Regenerate.
32850
32851 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
32852
32853         * math/w_ilogb.c: Include <limits.h>.
32854         * math/w_ilogbl.c: Likewise.
32855
32856 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32857
32858         * manual/lang.texi (__va_copy): Document primarily as ISO C99
32859         va_copy.  Document allowing for unavailable va_copy only as
32860         pre-C99 compatibility.
32861         * manual/string.texi (Copying and Concatenation): Use va_copy
32862         instead of __va_copy in concat example.
32863
32864 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
32865
32866         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32867         (__sendto): Use create_address_port.  Initialize APORT and deallocate
32868         it if not null.
32869
32870         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32871         with O_NOLINK passed to __file_name_lookup.
32872
32873         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32874         with O_NOLINK passed to __file_name_lookup.
32875
32876         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32877         negative N or less than NGIDS.
32878
32879         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32880         type to string_t.  Set ERANGE as errno and return it if NAME is not big
32881         enough.  Use memcpy instead of strncpy.
32882
32883 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32884
32885         * elf/Makefile (check-data): Remove.
32886         (localplt.data): New vpath directive.
32887         ($(objpfx)check-localplt.out): Use localplt.data from vpath
32888         instead of $(check-data).
32889         * scripts/data/localplt-generic.data: Move to ...
32890         * sysdeps/generic/localplt.data: ... here.
32891         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32892         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32893         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32895         ... here.
32896         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32898         ... here.
32899         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32901         ... here.
32902         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32903         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32904         ... here.
32905         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32906         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32907         ... here.
32908         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32909         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32910         ... here.
32911
32912 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32913
32914         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32915         PPC32 and PPC64 files.
32916         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32917         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32918
32919 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32920
32921         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32922         __makecontext_ret to ...
32923         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32924         ... here and call exit if uc_link is NULL.  New file.
32925         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32926         __makecontext_ret.S.
32927         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32928         __makecontext_ret to ...
32929         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32930         ... here and call exit if uc_link is NULL.  New file.
32931         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32932         __makecontext_ret.S.
32933
32934 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32935
32936         * elf/elf.h (R_390_IRELATIVE): New definition.
32937         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32938         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
32939         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32940         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32941         (elf_machine_lazy_rel): Likewise.
32942         * sysdeps/s390/dl-irel.h: New file.
32943         * sysdeps/s390/s390-64/memcpy.S: New asm code.
32944         * sysdeps/s390/s390-64/memset.S: New asm code.
32945         * sysdeps/s390/s390-64/memcmp.S: New asm code.
32946         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32947         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32948         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32949         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32950         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32951         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32952         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32953         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32954         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32955         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32956         * sysdeps/s390/s390-32/memcpy.S: New asm code.
32957         * sysdeps/s390/s390-32/memset.S: New asm code.
32958         * sysdeps/s390/s390-32/memcmp.S: New asm code.
32959
32960 2012-07-17  Marek Polacek  <polacek@redhat.com>
32961
32962         [BZ #14349]
32963         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32964         * sysdeps/s390/s390-64/configure.in: Likewise.
32965         * sysdeps/sparc/configure.in: Likewise.
32966         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32967         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32968         * sysdeps/i386/configure.in: Likewise.
32969         * sysdeps/x86_64/configure.in: Likewise.
32970         * sysdeps/sh/configure.in: Likewise.
32971         * sysdeps/s390/s390-32/configure: Regenerated.
32972         * sysdeps/s390/s390-64/configure: Likewise.
32973         * sysdeps/x86_64/configure: Likewise.
32974         * sysdeps/sh/configure: Likewise.
32975         * sysdeps/powerpc/powerpc64/configure: Likewise.
32976         * sysdeps/powerpc/powerpc32/configure: Likewise.
32977         * sysdeps/sparc/configure: Likwise.
32978         * sysdeps/i386/configure: Likewise.
32979
32980         * elf/dl-open.c: Comment fixes.
32981
32982 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
32983
32984         * Makefile [CXX] (check-data): Remove.
32985         [CXX] (c++-types.data): New vpath directive.
32986         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32987         vpath.  Do not allow for C++ type data being missing.
32988         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32989         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32990         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32991         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32992         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32993         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32994         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32996         ... here.
32997         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32999         ... here.
33000         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33001         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33002         ... here.
33003         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33004         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33005         ... here.
33006         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33007         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33008         ... here.
33009         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33010         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33011         ... here.
33012         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33013         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33014         ... here.
33015         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33016         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33017
33018         * elf/tls-macros.h (TLS_LE): Move architecture-specific
33019         definitions to architecture-specific files.
33020         (TLS_IE): Likewise.
33021         (TLS_LD): Likewise.
33022         (TLS_GD): Likewise.
33023         * sysdeps/i386/tls-macros.h: New file.
33024         * sysdeps/powerpc/tls-macros.h: Likewise.
33025         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33026         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33027         * sysdeps/sh/tls-macros.h: Likewise.
33028         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33029         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33030         * sysdeps/x86_64/tls-macros.h: Likewise.
33031
33032 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33033
33034         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33035         zero value for regular exit case.
33036
33037         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33038         (__start_context): Preserve zero value for regular exit case.
33039
33040 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33041             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33042
33043         * manual/setjmp.texi (setcontext): Clarify normal process
33044         termination when uc_link is the null pointer.
33045         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33046         exit call.
33047
33048 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
33049
33050         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33051         preprocessor.  Test for each exception mask separately.
33052
33053 2012-07-16  Andreas Jaeger  <aj@suse.de>
33054
33055         * po/ru.po: Update from translation team.
33056
33057 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
33058
33059         * conform/data/string.h-data (NULL): Use macro-constant.  Require
33060         equal to 0.
33061         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33062         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33063         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33064         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33065         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33066
33067 2012-07-13  Andreas Jaeger  <aj@suse.de>
33068
33069         * po/fr.po: Update from translation team.
33070
33071 2012-07-12  Marek Polacek  <polacek@redhat.com>
33072
33073         [BZ #14173]
33074         * math/libm-test.inc (yn_test): Add test for BZ #14173.
33075         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33076         loop condition.
33077
33078 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33079
33080         [BZ #13717]
33081         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33082         Change to 2.4.1 where previously 2.4.0.
33083         * sysdeps/unix/sysv/linux/configure: Regenerated.
33084         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33085         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33086         version.
33087         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33088         (__ASSUME_AT_CLKTCK): Remove.
33089         (__ASSUME_AT_PAGESIZE): Likewise.
33090         (__ASSUME_AT_XID): Likewise.
33091         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33092         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33093         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33094         unconditionally.
33095         (HAVE_AUX_PAGESIZE): Likewise.
33096         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33097         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33098         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33099
33100 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33101
33102         [BZ #14307]
33103         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33104         the temporary buffer used to invoke __gethostbyname2_r,
33105         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33106         host_data / struct gaih_addrtuple.
33107         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33108         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33109         header file nss/nsswitch.h.
33110         * nss/nsswitch.h (global scope): Add definition of implementation
33111         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33112         resolv/nss_dns/dns-host.c).
33113
33114 2012-07-11  Andreas Jaeger  <aj@suse.de>
33115
33116         * po/fr.po: Update from translation team.
33117
33118         * po/sv.po: Update from translation team
33119         * po/fr.po: Another update from translation team.
33120
33121 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33122
33123         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33124         for subnormals or multiply small sinh result by itself.
33125         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33127
33128 2012-07-11  David S. Miller  <davem@davemloft.net>
33129
33130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33131
33132 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33133
33134         [BZ #14347]
33135         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33136         (INTERNAL_MARK): Shift it here.
33137
33138 2012-07-10  Marek Polacek  <polacek@redhat.com>
33139
33140         [BZ #14151]
33141         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33142         libc_cv_asm_global_directive with .globl.
33143         * configure: Regenerated.
33144         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33145         with .globl.
33146         * sysdeps/i386/configure: Regenerated.
33147         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33148         with .globl.
33149         * sysdeps/x86_64/configure: Regenerated.
33150         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33151         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33152         * elf/tst-unique2mod2.c: Likewise.
33153         * elf/tst-unique2mod1.c: Likewise.
33154         * elf/tst-unique1mod2.c: Likewise.
33155         * elf/tst-unique1mod1.c: Likewise.
33156         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33157         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33158         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33159         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33160         * sysdeps/mach/sysdep.h: Likewise.
33161         * sysdeps/i386/sysdep.h: Likewise.
33162         * sysdeps/i386/i386-mcount.S: Likewise.
33163         * sysdeps/x86_64/_mcount.S: Likewise.
33164         * sysdeps/x86_64/sysdep.h: Likewise.
33165         * sysdeps/sh/_mcount.S: Likewise.
33166         * sysdeps/sh/sysdep.h: Likewise.
33167         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33168         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33169         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33170         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33171         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33172         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33173         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33174         * locale/localeinfo.h: Likewise.
33175         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33176         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33177
33178 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33179
33180         [BZ #14336]
33181         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33182         system".
33183         * manual/message.texi (The Uniforum approach): Likewise.
33184         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33185         (glibc iconv Implementation): Likewise.
33186
33187 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33188
33189         [BZ #14337]
33190         * math/s_clog.c (__clog): Avoid scaling a value down where that
33191         could result in underflow.
33192         * math/s_clog10.c (__clog10): Likewise.
33193         * math/s_clog10f.c (__clog10f): Likewise.
33194         * math/s_clog10l.c (__clog10l): Likewise.
33195         * math/s_clogf.c (__clogf): Likewise.
33196         * math/s_clogl.c (__clogl): Likewise.
33197         * math/libm-test.inc (clog_test): Add more tests.
33198         (clog10_test): Likewise.
33199         * sysdeps/i386/fpu/libm-test-ulps: Update.
33200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33201
33202 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33203
33204         [BZ #14283]
33205         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33206         by 7 not 8 to examine high bit of fractional part.
33207
33208         [BZ #14042]
33209         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33210         for call to __mcount_internal.
33211         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33212         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33213         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33214
33215 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33216
33217         [BZ #14154]
33218         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33219         approximation for values within 0x1p-13f of an odd multiple of
33220         pi/4.
33221         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33222         exception.  Add more tests.
33223         * sysdeps/i386/fpu/libm-test-ulps: Update.
33224
33225         [BZ #6778]
33226         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33227         inputs and return -1 for them.  Do not check for +Inf in case not
33228         reachable for +Inf.
33229         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33230         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33231         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33232         and return -1 for them.  Do not check for +Inf in case not
33233         reachable for +Inf.
33234         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33235         define.
33236         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33237         and return -1 for them.  Do not check for +Inf in case not
33238         reachable for +Inf.
33239         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33240         spurious underflow.
33241         * sysdeps/i386/fpu/libm-test-ulps: Update.
33242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33243
33244 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33245
33246         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33247
33248 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33249
33250         [BZ #14157]
33251         [BZ #14331]
33252         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33253         could result in spurious underflow.  Scale down values above
33254         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33255         * math/s_csqrtf.c (__csqrtf): Likewise.
33256         * math/s_csqrtl.c (__csqrtl): Likewise.
33257         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33258         spurious underflow.
33259         * sysdeps/i386/fpu/libm-test-ulps: Update.
33260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33261
33262 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33263
33264         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33265         xopen-msg.sed.
33266         * catgets/xopen-msg.awk: New file.
33267         * catgets/xopen-msg.sed: Removed.
33268
33269         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33270         po2text.sed.
33271         * intl/po2test.awk: New file.
33272         * intl/po2test.sed: Removed.
33273
33274 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33275
33276         [BZ #14328]
33277         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33278         or multiply small sinh result by itself.
33279         * math/s_ctanf.c (__ctanf): Likewise.
33280         * math/s_ctanh.c (__ctanh): Likewise.
33281         * math/s_ctanhf.c (__ctanhf): Likewise.
33282         * math/s_ctanhl.c (__ctanhl): Likewise.
33283         * math/s_ctanl.c (__ctanl): Likewise.
33284         * math/libm-test.inc (ctan_test_tonearest): New function.
33285         (ctan_test_towardzero): Likewise.
33286         (ctan_test_downward): Likewise.
33287         (ctan_test_upward): Likewise.
33288         (ctanh_test_tonearest): Likewise.
33289         (ctanh_test_towardzero): Likewise.
33290         (ctanh_test_downward): Likewise.
33291         (ctanh_test_upward): Likewise.
33292         (main): Call these new functions.
33293         * sysdeps/i386/fpu/libm-test-ulps: Update.
33294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33295
33296 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33297
33298         * .gitignore: Delete /ports entry.
33299
33300 2012-07-03  Andreas Jaeger  <aj@suse.de>
33301
33302         * po/bg.po: Update from translation team.
33303         * po/cs.po: Likewise.
33304         * po/de.po: Likewise.
33305         * po/hr.po: Likewise.
33306         * po/nl.pl: Likewise.
33307         * po/pl.po: Likewise.
33308         * po/vi.po: Likewise.
33309
33310 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33311
33312         * Makeconfig [!+link] (+link-before-libc): New variable.
33313         [!+link] (+link-after-libc): Likewise.
33314         [!+link] (+link-tests): Likewise.
33315         [!+link] (+link): Define in terms of $(+link-before-libc) and
33316         $(+link-after-libc).
33317         [!+link-static] (+link-static-before-libc): New variable.
33318         [!+link-static] (+link-static-after-libc): Likewise.
33319         [!+link-static] (+link-static-tests): Likewise.
33320         [!+link-static] (+link-static): Define in terms of
33321         $(+link-static-before-libc) and $(+link-static-after-libc).
33322         [build-shared] (link-libc-before-gnulib): New variable.
33323         [build-shared] (link-libc-tests): Likewise.
33324         [build-shared] (link-libc): Define in terms of
33325         $(link-libc-before-gnulib).
33326         [!build-shared] (link-libc-tests): New variable.
33327         (link-libc-static-tests): New variable.
33328         [!gnulib] (gnulib-arch): New variable.
33329         [!gnulib] (gnulib-tests): Likewise.
33330         [!gnulib] (static-gnulib-arch): Likewise.
33331         [!gnulib] (static-gnulib-tests): Likewise.
33332         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33333         Define with "=" instead of ":=".
33334         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33335         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33336         * Rules (binaries-all-notests): New variable.
33337         (binaries-all-tests): Likewise.
33338         (binaries-static-notests): Likewise.
33339         (binaries-static-tests): Likewise.
33340         (binaries-all): Define using $(binaries-all-notests) and
33341         $(binaries-all-tests).
33342         (binaries-static): Define using $(binaries-static-notests) and
33343         $(binaries-static-tests).
33344         (binaries-shared-tests): New variable.
33345         (binaries-shared-notests): Likewise.
33346         (binaries-shared): Remove variable.
33347         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33348         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33349         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33350         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33351         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33352         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33353         * elf/Makefile (sln-modules): New variable.
33354         (extra-objs): Add $(sln-modules:=.o).
33355         (ldconfig-modules): Add static-stubs.
33356         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33357         * elf/static-stubs.c: New file.
33358
33359         [BZ #14283]
33360         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33361         by 7 not 8 to examine high bit of fractional part.  Use volatile
33362         variables when splitting into final array of floats if
33363         __FLT_EVAL_METHOD__ != 0.
33364         * math/libm-test.inc (cos_test): Add another test.
33365         (sin_test): Likewise.
33366         * sysdeps/i386/fpu/libm-test-ulps: Update.
33367
33368         [BZ #14273]
33369         * math/libm-test.inc (cosh_test): Add more tests.
33370
33371         * version.h (RELEASE): Set to "development".
33372         (VERSION): Set to "2.16.90".
33373
33374 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33375
33376         * NEWS: Update copyright. Remove last-updated date.
33377         Mention math library bug fixes and timezone data changes.
33378         * README: Mention GNU/Hurd, x32, and HPPA support status.
33379
33380 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33381
33382         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33383
33384 2012-06-27  Andreas Jaeger  <aj@suse.de>
33385
33386         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33387
33388 2012-06-25  Andreas Jaeger  <aj@suse.de>
33389
33390         * sysdeps/s390/fpu/libm-test-ulps: Update.
33391
33392 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33393             Thomas Schwinge  <thomas@codesourcery.com>
33394
33395         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33396         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33397         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33398         fanotify_mark.
33399
33400 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33401
33402         * sysdeps/mach/start.c: Remove file.
33403         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33404         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33405         * sysdeps/sh/init-first.c: Likewise.
33406
33407         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33408         registers for frame unwinding purposes, add CFI directives.
33409         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33410         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33411         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33412         Likewise.
33413
33414         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33415         __fortify_fail returning.
33416         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33417
33418         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33419         sysdeps/sh/____longjmp_chk.S.
33420         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33421         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33422         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33423         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33424
33425         * sysdeps/sh/abort-instr.h: New file.
33426         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33427         process in case exit returns.
33428
33429         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33430         initialize the GOT register before use.
33431
33432         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33433         calculation of ARGC > 4.
33434
33435         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33436         meaningful names to some local labels.
33437
33438 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33439             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33440
33441         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33442         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33443         (__arch_compare_and_exchange_val_16_acq): Likewise.
33444         (__arch_compare_and_exchange_val_32_acq): Likewise.
33445         (atomic_exchange_and_add): Fix gUSA sequence.
33446         (atomic_add): Likewise.
33447         (atomic_add_negative): Likewise.
33448         (atomic_add_zero): Likewise.
33449         (atomic_bit_test_set): Likewise.
33450
33451 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33452
33453         [BZ #13579]
33454         * include/link.h (struct link_map): Add l_free_initfini.
33455         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33456         l_initfini.
33457         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33458         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33459         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33460         set.
33461
33462 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33463
33464         * configure.in: Use AC_LANG_SOURCE.
33465         * configure: Regenerate.
33466
33467 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33468
33469         * configure.in (libc_cv_localstatedir): New substituted variable.
33470         * configure: Regenerated.
33471         * config.make.in (localstatedir): New variable, substituted from
33472         libc_cv_localstatedir.
33473         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33474         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33475         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33476         * sysdeps/gnu/configure: Regenerated.
33477
33478 2012-06-21  Jeff Law  <law@redhat.com>
33479
33480         [BZ #14277]
33481         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33482         free.  Simplify list management for _LIBC case.
33483
33484 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33485
33486         [BZ #14273]
33487         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33488         Clear sign bit of 64-bit integer value before comparing against
33489         overflow value.
33490
33491         * sysdeps/mach/configure: Regenerated.
33492
33493 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33494
33495         [BZ #14278]
33496         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33497
33498 2012-06-21  Jeff Law  <law@redhat.com>
33499
33500         [BZ #13882]
33501         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
33502         uint16_t for elements in the "seen" array to avoid char overflows.
33503         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33504         * elf/dl-open.c (dl_open_worker): Likewise.
33505
33506 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
33507
33508         * scripts/list-sources.sh: Scan PORTS for translations.
33509         * po/libc.pot: Regenerated.
33510
33511 2012-06-21  Andreas Jaeger  <aj@suse.de>
33512
33513         [BZ #12194]
33514         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33515         warning.
33516         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33517         * bits/byteswap-16.h (__bswap_16): Likewise.
33518         * bits/byteswap.h (__bswap_constant_16): Likewise.
33519
33520 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
33521
33522         [BZ #14117]
33523         * sysdeps/i386/fpu_control.h: Removed.
33524         * sysdeps/x86_64/fpu_control.h: Moved to ...
33525         * sysdeps/x86/fpu_control.h: Here.
33526
33527         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33528         (_FPU_SETCW): Likewise.
33529
33530 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
33531
33532         [BZ #14117]
33533         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33534         * sysdeps/x86/fpu/bits/mathinline.h: This.
33535         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33536
33537         [BZ #14050]
33538         [BZ #14117]
33539         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33540         functions if __x86_64__ is defined.
33541
33542 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
33543
33544         * string/endian.h: Add !__ASSEMBLER__ condition for including
33545         conversion interfaces.
33546
33547 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
33548
33549         [BZ #14241]
33550         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33551         of ABS(x) in calculating zero to negative powers other than odd
33552         integers.
33553         * math/libm-test.inc (pow_test): Add more tests.
33554
33555 2012-06-15  Andreas Jaeger  <aj@suse.de>
33556
33557         * manual/contrib.texi (Contributors): Update entry of Liubov
33558         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33559         Machado Filho.
33560
33561 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
33562
33563         * string/string.h: Add __wur to GNU version of strerror_r.
33564
33565 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
33566
33567         [BZ #14229]
33568         * string/Makefile (tests): Add tst-strtok_r.
33569         * string/tst-strtok_r.c: New file.
33570         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33571         RAX_LP/RDX_LP on SAVE_PTR.
33572
33573 2012-06-14  Roland McGrath  <roland@hack.frob.com>
33574
33575         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33576
33577 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
33578
33579         * libm_test.inc (csqrt_test): Allow more spurious underflow
33580         exceptions.
33581         (j0_test): Likewise.
33582         (j1_test): Likewise.
33583         (y0_test): Likewise.
33584         (y1_test): Likewise.
33585
33586 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
33587
33588         * po/Makefile (libc.pot): Use UTF-8 charset.
33589
33590 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
33591
33592         [BZ #14210]
33593         Suppress sign-conversion warning from FD_SET.
33594         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33595         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33596         not unsigned long int.
33597         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33598
33599 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
33600
33601         [BZ #14050]
33602         [BZ #14117]
33603         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33604         __extern_always_inline instead of __extern_inline.
33605         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33606         (__signbit): Likewise.
33607         (__signbitl): Support C++ namespace.
33608         (lrintf): New inline function.
33609         (lrint): Likewise.
33610         (llrintf): Likewise.
33611         (llrint): Likewise.
33612         (fmaxf): Likewise.
33613         (fmax): Likewise.
33614         (fminf): Likewise.
33615         (fmin): Likewise.
33616         (rint): Likewise.
33617         (rintf): Likewise.
33618         (ceil): Likewise.
33619         (ceilf): Likewise.
33620         (floor): Likewise.
33621         (floorf): Likewise.
33622         (nearbyint): Likewise.
33623         (nearbyintf): Likewise.
33624
33625 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
33626
33627         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33628         non-default versions.
33629
33630 2012-06-11  Roland McGrath  <roland@hack.frob.com>
33631
33632         [BZ #14218]
33633         * manual/argp.texi (Argp): Reword argp_parse description slightly.
33634
33635 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
33636
33637         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33638         (FE_UPWARD, FE_DOWNWARD): Don't define.
33639         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33640         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33641
33642         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33643         reading it.
33644         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33645         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33646
33647 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33648
33649         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33650         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33651         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33652         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33653
33654 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
33655
33656         [BZ #14117]
33657         * sysdeps/i386/fpu/bits/fenv.h: Removed.
33658         * sysdeps/i386/fpu/Implies: New file.
33659         * sysdeps/x86_64/fpu/Implies: Likewise.
33660         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33661         * sysdeps/x86/fpu/bits/fenv.h: This.
33662
33663         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33664         __SSE_MATH__.
33665
33666 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33667
33668         [BZ #14134]
33669         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33670         character 0xffff that matches the last element of the
33671         conversion table.
33672
33673 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33674
33675         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33676         fmodl commit.
33677
33678 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33679
33680         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33681         values higher than 25.6283.
33682
33683 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33684
33685         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33686         subnormal exponent extraction and add some __builtin_expect.
33687         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33688         Fix for subnormal mantissa calculation.
33689
33690 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
33691
33692         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33693         cpu2 is -1 and errno is not ENOSYS.
33694
33695 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
33696
33697         [BZ #14117]
33698         * sysdeps/i386/i486/bits/string.h: Renamed to ...
33699         * sysdeps/x86/bits/string.h: This.
33700         * sysdeps/x86_64/bits/string.h: Removed.
33701
33702         * sysdeps/i386/i486/bits/string.h: Define inline functions only
33703         if not compiling for x86-64, but compiling for >= i486.
33704
33705         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33706         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33707
33708         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33709         New macro from Linux kernel 3.4.0.
33710         (FP_XSTATE_MAGIC2): Likewise.
33711         (FP_XSTATE_MAGIC2_SIZE): Likewise.
33712         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33713         (struct _fpx_sw_bytes): New struct.
33714         (struct _xsave_hdr): Likewise.
33715         (struct _ymmh_state): Likewise.
33716         (struct _xstate): Likewise.
33717
33718         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33719         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33720         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33721         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33722         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33723         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33724
33725         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33726         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33727         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33728         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33729         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33730         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33731
33732 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33733
33734         [BZ #13743]
33735         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33736         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33737         (sysdep_headers): Include sys/platform/ppc.h.
33738         * sysdeps/powerpc/test-gettimebase.c: Test for
33739         __ppc_get_timebase() to catch future ISA opcode/insn changes.
33740         * manual/Makefile (appendices): Include platform.texi.
33741         * manual/contrib.texi (Contributors): Update @node pointers.
33742         * manual/maint.texi (Maintenance): Likewise.
33743         (Platform): New node.
33744         * manual/platform.texi: New file.  Document the new features.
33745
33746 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33747             Jakub Jelinek  <jakub@redhat.com>
33748
33749         [BZ #14188]
33750         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33751         where __builtin_expect is unavailable.
33752
33753 2012-06-03  David S. Miller  <davem@davemloft.net>
33754
33755         * stdlib/longlong.h: Updated from GCC.
33756
33757 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
33758
33759         [BZ #14042]
33760         * sysdeps/powerpc/powerpc32/mcount.c: New file.
33761         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33762         __mcount_internal.
33763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33764         (GLIBC_2.16): Likewise.
33765
33766 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33767
33768         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33769
33770 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33771
33772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33773         (default-abi): New variable.
33774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33775         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33776         variable.
33777         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33778         Likewise.
33779         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33780         Likewise.
33781         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33782         Likewise.
33783
33784         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33785         definition.  Document in comment.
33786
33787 2012-06-01  David S. Miller  <davem@davemloft.net>
33788
33789         * stdlib/longlong.h: Updated from GCC.
33790
33791 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33792
33793         [BZ #14117]
33794         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33795         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33796         sys/debugreg.h sys/io.h here.
33797         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33798         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33799         sys/io.h.
33800         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33801         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33802         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33803         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33804         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33805         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33806
33807         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33808         Define only if __x86_64__ is defined.
33809
33810 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33811
33812         [BZ #14048]
33813         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33814         Use int64_t for variable i.
33815         * math/libm-test.inc (fmod_test): Add more tests.
33816
33817         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33818         z computation is not scheduled after fetestexcept.
33819         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33820         Use math_force_eval instead of asm to ensure calculation scheduled
33821         before exception test.
33822         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33823         Ensure a1 + u.d computation is not scheduled after fetestexcept.
33824
33825 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
33826
33827         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33828         computation is not scheduled after fetestexcept.
33829
33830 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33831
33832         [BZ #14117]
33833         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33834         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33835
33836 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33837
33838         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33839         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33840
33841 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33842
33843         [BZ #14117]
33844         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33845         <bits/wordsize.h>.
33846         (__WCHAR_MIN): Support __WORDSIZE == 64.
33847         (__WCHAR_MAX): Likewise.
33848
33849         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33850         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33851
33852         [BZ #14183]
33853         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33854         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33855
33856         [BZ #14117]
33857         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33858         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33859
33860         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33861         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33862
33863         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33864         Defined to 1 if __x86_64__ isn't defined.
33865         (_STAT_VER_LINUX_OLD): New.
33866         (st_atime): Remove duplicate.
33867         (st_mtime): Likewise.
33868         (st_ctime): Likewise.
33869
33870 2012-05-31  David S. Miller  <davem@davemloft.net>
33871
33872         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33873         entries.
33874
33875 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
33876
33877         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33878         gen-libm-test.pl.
33879
33880         [BZ #14132]
33881         * elf/dl-reloc.c: Include <_itoa.h>.
33882         (_dl_reloc_bad_type): Remove use of INTUSE.
33883         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33884         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33885         * stdio-common/psiginfo.c (psiginfo): Likewise.
33886         * stdio-common/psignal.c (psignal): Likewise.
33887         * string/strsignal.c (strsignal): Likewise.
33888         * include/signal.h (_sys_siglist): Declare hidden proto.
33889         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
33890         INTVARDEF with libc_hidden_data_def.
33891         * stdio-common/itoa-udigits.c: Likewise.
33892         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33893         (_itoa_lower_digits_internal): Remove declaration.
33894         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33895         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33896         (_sys_sigabbrev_internal): Remove aliases.
33897         (_sys_siglist): Define hidden alias.
33898
33899 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
33900
33901         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33902         bits/sysctl.h.
33903
33904 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33905
33906         [BZ #14117]
33907         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33908         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33909
33910         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33911         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33912         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33913         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33914         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33915         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33916
33917         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33918         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33919         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33920
33921         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33922         with __addr.
33923         (insw): Likewise.
33924         (insl): Likewise.
33925         (outsb): Likewise.
33926         (outsw): Likewise.
33927         (outsl): Likewise.
33928
33929         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33930         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33931         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33932
33933         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33934         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33935         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33936         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33937         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33938         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33939
33940         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33941         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33942
33943         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33944         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33945
33946         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33947         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33948         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33949
33950         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33951         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33952         to ...
33953         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33954
33955         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33956         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33957         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33958
33959         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33960         for x86-64.
33961         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33962
33963 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
33964
33965         * math/math.h (M_El): Use two more decimal places.
33966         (M_LOG2El): Likewise.
33967         (M_LOG10El): Likewise.
33968         (M_LN2l): Likewise.
33969         (M_LN10l): Likewise.
33970         (M_PIl): Likewise.
33971         (M_PI_2l): Likewise.
33972         (M_PI_4l): Likewise.
33973         (M_1_PIl): Likewise.
33974         (M_2_PIl): Likewise.
33975         (M_2_SQRTPIl): Likewise.
33976         (M_SQRT2l): Likewise.
33977         (M_SQRT1_2l): Likewise.
33978
33979 2012-05-31  David S. Miller  <davem@davemloft.net>
33980
33981         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33982         values between float registers.
33983         * sysdeps/sparc/sparc64/memset.S: Likewise.
33984         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33985
33986 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
33987
33988         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33989         -D_FORTIFY_SOURCE=1.
33990         (CPPFLAGS-tst-longjmp_chk.c): Define.
33991         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33992         (CPPFLAGS-tst-longjmp_chk2.c): Define.
33993         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33994         CFLAGS-tst-wchar-h.c.
33995
33996 2012-05-31  Marek Polacek  <polacek@redhat.com>
33997
33998         [BZ #14132]
33999         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34000         __endmntent_internal): Remove declaration.
34001         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34002         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34003         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34004
34005 2012-05-30  David S. Miller  <davem@davemloft.net>
34006
34007         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34008         (___Q_simulate_exceptions): Use real FP ops rather than writing
34009         into the %fsr.
34010         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34011         Likewise.
34012
34013 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34014
34015         [BZ #14117]
34016         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34017         * sysdeps/x86/bits/xtitypes.h: This.
34018
34019         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34020         * sysdeps/x86/bits/wordsize.h: This.
34021
34022         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34023         * sysdeps/x86/bits/huge_vall.h: This.
34024
34025         * sysdeps/i386/bits/select.h: Removed.
34026         * sysdeps/x86_64/bits/select.h: Renamed to ...
34027         * sysdeps/x86/bits/select.h: This.
34028
34029         * sysdeps/i386/bits/setjmp.h: Removed.
34030         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34031         * sysdeps/x86/bits/setjmp.h: This.
34032
34033         * sysdeps/i386/bits/mathdef.h: Removed.
34034         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34035         * sysdeps/x86/bits/mathdef.h: This.
34036
34037 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
34038
34039         [BZ #14132]
34040         * include/sys/socket.h (__connect_internal)
34041         (__libc_sa_len_internal): Remove declaration.
34042         (__connect, __libc_sa_len): Declare hidden_proto.
34043         (SA_LEN): Remove use of INTUSE.
34044         * socket/connect.c: Add libc_hidden_def.
34045         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34046         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34047         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34048         alias.
34049         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34050         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34051         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34052         of adding _internal alias.
34053
34054 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34055
34056         [BZ #14117]
34057         * sysdeps/i386/bits/link.h: Removed.
34058         * sysdeps/i386/bits/linkmap.h: Likewise.
34059         * sysdeps/x86_64/bits/link.h: Renamed to ...
34060         * sysdeps/x86/bits/link.h: This.
34061         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34062         * sysdeps/x86/bits/linkmap.h: This.
34063
34064         * sysdeps/i386/bits/endian.h: Removed.
34065         * sysdeps/x86_64/bits/endian.h: Renamed to ...
34066         * sysdeps/x86/bits/endian.h: This.
34067
34068         * sysdeps/i386/bits/byteswap.h: Removed.
34069         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34070         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34071         * sysdeps/x86/bits/byteswap.h: This.
34072         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34073         * sysdeps/x86/bits/byteswap-16.h: This.
34074         * sysdeps/i386/Implies: Add x86.
34075         * sysdeps/x86_64/Implies: Likewise.
34076
34077 2012-05-30  David S. Miller  <davem@davemloft.net>
34078
34079         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34080         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34081         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34082         (FP_TRAPPING_EXCEPTIONS): Define.
34083         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34084         (FP_TRAPPING_EXCEPTIONS): Define.
34085         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34086         subnormals only when inexact has been signalled or underflow
34087         exceptions are enabled.
34088         (_FP_PACK_CANONICAL): Likewise.
34089
34090 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34091
34092         [BZ #14183]
34093         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34094         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34095
34096 2012-05-30  Richard Henderson  <rth@twiddle.net>
34097
34098         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34099         with #ifndef NOT_IN_libc.
34100
34101         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34102         marked to avoid plt entry.
34103
34104 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34105
34106         [BZ #14112]
34107         * Makeconfig (default-abi): New macro.
34108         (abi-includes): Likewise.
34109         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34110         $(abi-$(default-abi)-lib-soname) for soname if defined.
34111         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34112         abi-variants.
34113         * Makefile (installed-stubs): Likewise.
34114         * include/stubs-biarch.h: Removed.
34115         * scripts/lib-names.awk: Only handle one library at a time.
34116         * scripts/soversions.awk: Remove WORDSIZE support.
34117         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34118         entries.
34119         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34120         Removed.
34121         (syscall-list-default-condition): Likewise.
34122         (syscall-list-default-condition): Likewise.
34123         (syscall-list-includes): Likewise.
34124         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34125         syscall-list-* with abi-*.  Handle undefined abi-variants.
34126         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34127         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34128         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34129         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34130         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34131         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34132         Removed.
34133         (syscall-list-32-options): Likewise.
34134         (syscall-list-32-condition): Likewise.
34135         (syscall-list-64-options): Likewise.
34136         (syscall-list-64-condition): Likewise.
34137         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34138         macro.
34139         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34140         Renamed to ...
34141         (abi-*): This.
34142         (abi-64-ld-soname): New macro.
34143         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34144         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34145         Renamed to ...
34146         (abi-*): This.
34147         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34148         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34149
34150 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34151
34152         * sysdeps/unix/sysv/linux/kernel-features.h
34153         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34154         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34155         include <kernel-features.h>.
34156         [!__NR_ftruncate64]: Remove conditional code.
34157         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34158         [__NR_ftruncate64]: Make code unconditional.
34159         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34160         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34161         include <kernel-features.h>.
34162         [!__NR_ftruncate64]: Remove conditional code.
34163         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34164         [__NR_ftruncate64]: Make code unconditional.
34165         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34167         include <kernel-features.h>.
34168         [!__NR_ftruncate64]: Remove conditional code.
34169         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34170         [__NR_ftruncate64]: Make code unconditional.
34171         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34173         include <kernel-features.h>.
34174         [!__NR_ftruncate64]: Remove conditional code.
34175         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34176         [__NR_ftruncate64]: Make code unconditional.
34177         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34178
34179         * configure.in (libc_cv_fpie): Weaken to a compile test using
34180         LIBC_TRY_CC_OPTION.
34181         * configure: Regenerated.
34182
34183 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34184
34185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34186         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34188         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34189         Refreshed.
34190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34193         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34194         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34196         Refreshed.
34197
34198 2012-05-27  David S. Miller  <davem@davemloft.net>
34199
34200         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34201         (___Q_zero): New.
34202         (__Q_simulate_exceptions): Return void.  Change to simulate
34203         exceptions by writing into the %fsr.
34204         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34205         (__Qp_handle_exceptions): Likewise.
34206         (numbers): Delete.
34207         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34208         __Qp_handle_exceptions.
34209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34210         __Qp_handle_exceptions.
34211         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34212         as unused and give dummy FP_RND_NEAREST initializer.
34213         (FP_INHIBIT_RESULTS): Define.
34214         (___Q_simulate_exceptions): Update declaration.
34215         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34216         formatting.
34217         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34218         as unused and give dummy FP_RND_NEAREST initializer.
34219         (__Qp_handle_exceptions): Update declaration.
34220         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34221         formatting.
34222
34223 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34224
34225         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34226         the temporary FPU control word.
34227         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34228         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34229         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34230         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34231         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34232         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34233         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34234         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34235         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34236         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34237         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34238
34239 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34240
34241         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34242         fields.
34243
34244 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34245
34246         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34247         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34248         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34249         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34250         Likewise.
34251         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34252         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34253         Likewise.
34254
34255 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34256
34257         * po/h.po: Update from translation team.
34258
34259 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34260
34261         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34262
34263         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34264         handling of denormals.
34265         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34266         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34267         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34268         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34269         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34270         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34271         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34272         Likewise.
34273
34274 2012-05-26  Marek Polacek  <polacek@redhat.com>
34275
34276         [BZ #14152]
34277         * math/libm-test.inc (fma_test): Don't always expect underflow
34278         exception.
34279
34280 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34281
34282         [BZ #12416]
34283         * elf/tst-execstack.c: Include stackinfo.h.
34284         (do_test): Adjust test case to ensure that pthread_getattr_np
34285         behaviour remains the same after marking stack executable.
34286
34287 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34288
34289         * sysdeps/unix/sysv/linux/kernel-features.h
34290         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34291         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34292         kernel-features.h.
34293         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34294         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34295         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34296         kernel-features.h.
34297         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34298         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34299
34300 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34301
34302         * configure.in: Define the default includes to being none.
34303         * configure: Regenerated.
34304
34305 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34306
34307         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34308         * sysdeps/x86_64/setjmp.S: Likewise.
34309         * sysdeps/i386/bsd-setjmp.S: Likewise.
34310         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34311         * sysdeps/i386/setjmp.S: Likewise.
34312         * sysdeps/i386/__longjmp.S: Likewise.
34313         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34314         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34315
34316         * include/stap-probe.h: New file.
34317         * configure.in: Handle --enable-systemtap.
34318         * configure: Regenerated.
34319         * config.h.in (USE_STAP_PROBE): New #undef.
34320         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34321         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34322         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34323
34324 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34325
34326         [BZ #13717]
34327         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34328         to 2.4.0 where earlier.
34329         * sysdeps/unix/sysv/linux/configure: Regenerated.
34330         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34331         <kernel-features.h>.
34332         [__ASSUME_32BITUIDS]: Make code unconditional.
34333         [!__ASSUME_32BITUIDS]: Remove conditional code.
34334         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34335         <kernel-features.h>.
34336         [__ASSUME_32BITUIDS]: Make code unconditional.
34337         [!__ASSUME_32BITUIDS]: Remove conditional code.
34338         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34339         [__ASSUME_32BITUIDS]: Make code unconditional.
34340         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34341         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34342         <kernel-features.h>.
34343         [__ASSUME_32BITUIDS]: Make code unconditional.
34344         [!__ASSUME_32BITUIDS]: Remove conditional code.
34345         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34346         <kernel-features.h>.
34347         [__ASSUME_32BITUIDS]: Make code unconditional.
34348         [!__ASSUME_32BITUIDS]: Remove conditional code.
34349         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34350         <kernel-features.h>.
34351         [__ASSUME_32BITUIDS]: Make code unconditional.
34352         [!__ASSUME_32BITUIDS]: Remove conditional code.
34353         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34354         <kernel-features.h>.
34355         [__ASSUME_32BITUIDS]: Make code unconditional.
34356         [!__ASSUME_32BITUIDS]: Remove conditional code.
34357         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34358         <kernel-features.h>.
34359         [__ASSUME_32BITUIDS]: Make code unconditional.
34360         [!__ASSUME_32BITUIDS]: Remove conditional code.
34361         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34362         <kernel-features.h>.
34363         [__ASSUME_32BITUIDS]: Make code unconditional.
34364         [!__ASSUME_32BITUIDS]: Remove conditional code.
34365         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34366         <kernel-features.h>.
34367         [__ASSUME_32BITUIDS]: Make code unconditional.
34368         [!__ASSUME_32BITUIDS]: Remove conditional code.
34369         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34370         <kernel-features.h>.
34371         [__ASSUME_32BITUIDS]: Make code unconditional.
34372         [!__ASSUME_32BITUIDS]: Remove conditional code.
34373         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34374         <kernel-features.h>.
34375         [__ASSUME_32BITUIDS]: Make code unconditional.
34376         [!__ASSUME_32BITUIDS]: Remove conditional code.
34377         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34378         <kernel-features.h>.
34379         [__ASSUME_32BITUIDS]: Make code unconditional.
34380         [!__ASSUME_32BITUIDS]: Remove conditional code.
34381         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34382         <kernel-features.h>.
34383         [__NR_setresgid] (__setresgid): Do not declare.
34384         [__ASSUME_32BITUIDS]: Make code unconditional.
34385         [!__ASSUME_32BITUIDS]: Remove conditional code.
34386         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34387         <kernel-features.h>.
34388         [__NR_setresuid] (__setresuid): Do not declare.
34389         [__ASSUME_32BITUIDS]: Make code unconditional.
34390         [!__ASSUME_32BITUIDS]: Remove conditional code.
34391         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34392         <kernel-features.h>.
34393         [__ASSUME_32BITUIDS]: Make code unconditional.
34394         [!__ASSUME_32BITUIDS]: Remove conditional code.
34395         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34396         <kernel-features.h>.
34397         [__ASSUME_32BITUIDS]: Make code unconditional.
34398         [!__ASSUME_32BITUIDS]: Remove conditional code.
34399         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34400         <kernel-features.h>.
34401         [__ASSUME_32BITUIDS]: Make code unconditional.
34402         [!__ASSUME_32BITUIDS]: Remove conditional code.
34403         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34404         <kernel-features.h>.
34405         [__ASSUME_32BITUIDS]: Make code unconditional.
34406         [!__ASSUME_32BITUIDS]: Remove conditional code.
34407         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34408         <kernel-features.h>.
34409         [__ASSUME_32BITUIDS]: Make code unconditional.
34410         [!__ASSUME_32BITUIDS]: Remove conditional code.
34411         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34412         <kernel-features.h>.
34413         [__ASSUME_32BITUIDS]: Make code unconditional.
34414         [!__ASSUME_32BITUIDS]: Remove conditional code.
34415         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34416         <kernel-features.h>.
34417         [__ASSUME_32BITUIDS]: Make code unconditional.
34418         [!__ASSUME_32BITUIDS]: Remove conditional code.
34419         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34420         <kernel-features.h>.
34421         [__ASSUME_32BITUIDS]: Make code unconditional.
34422         [!__ASSUME_32BITUIDS]: Remove conditional code.
34423         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34424         <kernel-features.h>.
34425         [__ASSUME_32BITUIDS]: Make code unconditional.
34426         [!__ASSUME_32BITUIDS]: Remove conditional code.
34427         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34428         <kernel-features.h>.
34429         [__ASSUME_32BITUIDS]: Make code unconditional.
34430         [!__ASSUME_32BITUIDS]: Remove conditional code.
34431         * sysdeps/unix/sysv/linux/kernel-features.h
34432         (__ASSUME_SETRESUID_SYSCALL): Remove.
34433         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34434         (__ASSUME_32BITUIDS): Likewise.
34435         (__ASSUME_LDT_WORKS): Likewise.
34436         (__ASSUME_O_DIRECTORY): Likewise.
34437         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34438         architecture but not kernel version.
34439         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34440         (__ASSUME_MMAP2_SYSCALL): Likewise.
34441         (__ASSUME_STAT64_SYSCALL): Likewise.
34442         (__ASSUME_IPC64): Likewise.
34443         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34444         <kernel-features.h>.
34445         [__ASSUME_32BITUIDS]: Make code unconditional.
34446         [!__ASSUME_32BITUIDS]: Remove conditional code.
34447         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34448         <kernel-features.h>.
34449         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34450         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34451         132096]: Remove conditional code.
34452         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34453         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34454         <kernel-features.h>.
34455         [__ASSUME_32BITUIDS]: Make code unconditional.
34456         [!__ASSUME_32BITUIDS]: Remove conditional code.
34457         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34458         <kernel-features.h>.
34459         [__ASSUME_32BITUIDS]: Make code unconditional.
34460         [!__ASSUME_32BITUIDS]: Remove conditional code.
34461         * sysdeps/unix/sysv/linux/setegid.c: Do not include
34462         <kernel-features.h>.
34463         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34464         unconditional.
34465         (__setresgid): Do not declare.
34466         [__ASSUME_32BITUIDS]: Make code unconditional.
34467         [!__ASSUME_32BITUIDS]: Remove conditional code.
34468         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34469         <kernel-features.h>.
34470         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34471         unconditional.
34472         (__setresuid): Do not declare.
34473         [__ASSUME_32BITUIDS]: Make code unconditional.
34474         [!__ASSUME_32BITUIDS]: Remove conditional code.
34475         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34476         <kernel-features.h>.
34477         [__ASSUME_32BITUIDS]: Make code unconditional.
34478         [!__ASSUME_32BITUIDS]: Remove conditional code.
34479         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34480         <kernel-features.h>.
34481         [__ASSUME_32BITUIDS]: Make code unconditional.
34482         [!__ASSUME_32BITUIDS]: Remove conditional code.
34483
34484 2012-05-25  Richard Henderson  <rth@twiddle.net>
34485
34486         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34487         dl_hwcap to ifunc resolver.
34488         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34489         elf_ifunc_invoke.
34490         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34491         dl_hwcap to ifunc resolver.
34492         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34493
34494 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34495
34496         [BZ #14153]
34497         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34498         for |x| <= 2**-26, not 2**-57.
34499         * math/libm-test.inc (acos_test): Do not allow spurious underflow
34500         exception.
34501
34502 2012-05-24  Jeff Law  <law@redhat.com>
34503
34504         * stdio-common/Makefile (tests): Add bug25.
34505         * stdio-common/bug25.c: New test.
34506
34507 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34508
34509         [BZ #13576]
34510         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34511         multiple of MALLOC_ALIGNMENT in size.
34512         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34513
34514 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34515
34516         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34517         Require >= 256.
34518         (FILENAME_MAX): Use macro-int-constant.
34519         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
34520         (_IOFBF): Use macro-int-constant.
34521         (_IOLBF): Likewise.
34522         (_IONBF): Likewise.
34523         (SEEK_CUR): Likewise.
34524         (SEEK_END): Likewise.
34525         (SEEK_SET): Likewise.
34526         (TMP_MAX): Likewise.
34527         (EOF): Use macro-int-constant.  Require < 0.
34528         (NULL): Use macro-constant.  Require == 0.
34529         (stdin): Require type to be FILE *.
34530         (stdout): Likewise.
34531         (stderr): Likewise.
34532         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34533         macro-int-constant.
34534         (EXIT_SUCCESS): Likewise.
34535         (NULL): Use macro-constant.  Require == 0.
34536         (RAND_MAX): Use macro-int-constant.
34537         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34538         [C99-based standards] (strtof): Require function.
34539         [C99-based standards] (strtold): Likewise.
34540         [C99-based standards] (strtoll): Likewise.
34541         [C99-based standards] (strtoull): Likewise.
34542         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34543         [ISO || ISO99 || ISO11] (limits.h): Likewise.
34544         [ISO || ISO99 || ISO11] (math.h): Likewise.
34545         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34546         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34547         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34548
34549 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
34550
34551         [BZ #14132]
34552         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34553         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34554         * intl/dgettext.c (DCGETTEXT): Likewise.
34555         * intl/gettext.c (DCGETTEXT): Likewise.
34556         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34557         * posix/regex_internal.h (gettext): Likewise.
34558         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34559         Remove declaration.
34560         * include/argz.h (__argz_count_internal)
34561         (__argz_stringify_internal): Remove declaration.
34562         (__argz_count, __argz_stringify): Declare hidden proto.
34563         * intl/dcgettext.c: Remove use of INTDEF.
34564         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34565         * string/argz-stringify.c: Likewise.
34566         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34567         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34568         Declare hidden proto.
34569         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34570         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34571         Declare hidden proto.
34572         * include/stdio.h (__asprintf_internal): Don't declare.
34573         (__asprintf): Don't define as macro.  Declare hidden proto.
34574         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34575         (__fsetlocking): Declare hidden proto.
34576         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34577         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34578         hidden proto.
34579         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34580         (_IO_setlinebuf): Remove use of INTUSE.
34581         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34582         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34583         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34584         Remove declaration.
34585         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34586         (_IO_do_flush): Remove use of INTUSE.
34587         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34588         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34589         (_IO_adjust_column, _IO_least_wmarker)
34590         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34591         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34592         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34593         (_IO_default_doallocate, _IO_wdefault_doallocate)
34594         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34595         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34596         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34597         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34598         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34599         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34600         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34601         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34602         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34603         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34604         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34605         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34606         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34607         proto.
34608         (_IO_flush_all_internal, _IO_adjust_column_internal)
34609         (_IO_default_uflow_internal, _IO_default_finish_internal)
34610         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34611         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34612         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34613         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34614         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34615         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34616         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34617         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34618         (_IO_file_close_internal, _IO_file_close_it_internal)
34619         (_IO_file_underflow_internal, _IO_file_overflow_internal)
34620         (_IO_file_init_internal, _IO_file_attach_internal)
34621         (_IO_file_fopen_internal, _IO_file_read_internal)
34622         (_IO_file_sync_internal, _IO_file_seek_internal)
34623         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34624         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34625         (_IO_str_underflow_internal, _IO_str_overflow_internal)
34626         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34627         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34628         (_IO_list_all_internal, _IO_link_in_internal)
34629         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34630         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34631         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34632         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34633         (_IO_do_write_internal, _IO_padn_internal)
34634         (_IO_getline_info_internal, _IO_getline_internal)
34635         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34636         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34637         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34638         (_IO_vfscanf_internal, _IO_vfprintf_internal)
34639         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34640         (_IO_init_internal, _IO_un_link_internal): Don't declare.
34641         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34642         with libc_hidden_ver, remove use of INTUSE.
34643         * libio/genops.c: Likewise.
34644         * libio/freopen.c: Likewise.
34645         * libio/freopen64.c: Likewise.
34646         * libio/iofclose.c: Likewise.
34647         * libio/iofdopen.c: Likewise.
34648         * libio/iofflush.c: Likewise.
34649         * libio/iofflush_u.c: Likewise.
34650         * libio/iofgets.c: Likewise.
34651         * libio/iofgets_u.c: Likewise.
34652         * libio/iofopen.c: Likewise.
34653         * libio/iofopncook.c: Likewise.
34654         * libio/iofread.c: Likewise.
34655         * libio/iofread_u.c: Likewise.
34656         * libio/ioftell.c: Likewise.
34657         * libio/iofwrite.c: Likewise.
34658         * libio/iogetline.c: Likewise.
34659         * libio/iogets.c: Likewise.
34660         * libio/iogetwline.c: Likewise.
34661         * libio/iopadn.c: Likewise.
34662         * libio/iopopen.c: Likewise.
34663         * libio/ioseekoff.c: Likewise.
34664         * libio/ioseekpos.c: Likewise.
34665         * libio/iosetbuffer.c: Likewise.
34666         * libio/iosetvbuf.c: Likewise.
34667         * libio/ioungetc.c: Likewise.
34668         * libio/ioungetwc.c: Likewise.
34669         * libio/iovdprintf.c: Likewise.
34670         * libio/iovsprintf.c: Likewise.
34671         * libio/iovsscanf.c: Likewise.
34672         * libio/memstream.c: Likewise.
34673         * libio/obprintf.c: Likewise.
34674         * libio/oldfileops.c: Likewise.
34675         * libio/oldiofclose.c: Likewise.
34676         * libio/oldiofdopen.c: Likewise.
34677         * libio/oldiofopen.c: Likewise.
34678         * libio/oldiopopen.c: Likewise.
34679         * libio/oldstdfiles.c: Likewise.
34680         * libio/putc.c: Likewise.
34681         * libio/setbuf.c: Likewise.
34682         * libio/setlinebuf.c: Likewise.
34683         * libio/stdfiles.c: Likewise.
34684         * libio/strops.c: Likewise.
34685         * libio/vasprintf.c: Likewise.
34686         * libio/vscanf.c: Likewise.
34687         * libio/vsnprintf.c: Likewise.
34688         * libio/vswprintf.c: Likewise.
34689         * libio/wfiledoalloc.c: Likewise.
34690         * libio/wfileops.c: Likewise.
34691         * libio/wgenops.c: Likewise.
34692         * libio/wmemstream.c: Likewise.
34693         * libio/wstrops.c: Likewise.
34694         * libio/__fpurge.c: Likewise.
34695         * libio/__fsetlocking.c: Likewise.
34696         * assert/assert.c: Likewise.
34697         * debug/fgets_chk.c: Likewise.
34698         * debug/fgets_u_chk.c: Likewise.
34699         * debug/fread_chk.c: Likewise.
34700         * debug/fread_u_chk.c: Likewise.
34701         * debug/gets_chk.c: Likewise.
34702         * debug/obprintf_chk.c: Likewise.
34703         * debug/vasprintf_chk.c: Likewise.
34704         * debug/vdprintf_chk.c: Likewise.
34705         * debug/vsnprintf_chk.c: Likewise.
34706         * debug/vsprintf_chk.c: Likewise.
34707         * malloc/mtrace.c: Likewise.
34708         * misc/error.c: Likewise.
34709         * misc/syslog.c: Likewise.
34710         * stdio-common/asprintf.c: Likewise.
34711         * stdio-common/fxprintf.c: Likewise.
34712         * stdio-common/getw.c: Likewise.
34713         * stdio-common/isoc99_fscanf.c: Likewise.
34714         * stdio-common/isoc99_scanf.c: Likewise.
34715         * stdio-common/isoc99_vfscanf.c: Likewise.
34716         * stdio-common/isoc99_vscanf.c: Likewise.
34717         * stdio-common/isoc99_vsscanf.c: Likewise.
34718         * stdio-common/printf-prs.c: Likewise.
34719         * stdio-common/printf_fp.c: Likewise.
34720         * stdio-common/printf_fphex.c: Likewise.
34721         * stdio-common/printf_size.c: Likewise.
34722         * stdio-common/putw.c: Likewise.
34723         * stdio-common/scanf.c: Likewise.
34724         * stdio-common/sprintf.c: Likewise.
34725         * stdio-common/tmpfile.c: Likewise.
34726         * stdio-common/vfprintf.c: Likewise.
34727         * stdio-common/vfscanf.c: Likewise.
34728         * stdlib/strfmon_l.c: Likewise.
34729         * sunrpc/openchild.c: Likewise.
34730         * sunrpc/xdr_stdio.c: Likewise.
34731         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34732         * sysdeps/mach/hurd/tmpfile.c: Likewise.
34733
34734 2012-05-24  Roland McGrath  <roland@hack.frob.com>
34735
34736         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34737
34738         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34739         in the third column, to generate for the shared library an IFUNC
34740         that uses _dl_vdso_vsym.
34741         * Makerules (COMPILE.c, compile-stdin.c): New variables.
34742         * Makeconfig (object-suffixes-noshared): New variable.
34743
34744         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34745         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34746         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34747         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34748
34749         [BZ #14132]
34750         * include/sys/time.h (__gettimeofday): Remove macro.
34751         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34752         * time/gettimeofday.c (__gettimeofday): Remove #undef.
34753         Remove INTDEF.
34754         (__gettimeofday): Add libc_hidden_def.
34755         (gettimeofday): Add libc_hidden_weak.
34756         * sysdeps/mach/gettimeofday.c: Likewise.
34757         * sysdeps/posix/gettimeofday.c: Likewise.
34758         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34759         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34760         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34761         (__gettimeofday_internal): Remove strong_alias.
34762         (__gettimeofday): Add libc_hidden_def.
34763         (gettimeofday): Add libc_hidden_weak.
34764         * sysdeps/unix/syscalls.list (gettimeofday):
34765         Remove __gettimeofday_internal alias.
34766
34767 2012-05-24  Daniel Jacobowitz  <drow@false.org>
34768             H.J. Lu  <hongjiu.lu@intel.com>
34769
34770         [BZ #12495]
34771         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34772         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34773         (largebin_index_32_big): New.
34774         (largebin_index): Use it for 16-byte alignment.
34775         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
34776         correction with front_misalign.
34777
34778 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34779
34780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34782         Likewise.
34783         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34784         Likewise.
34785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34786         Likewise.
34787         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34788         Likewise.
34789         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34790         Likewise.
34791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34792         Likewise.
34793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34794         Likewise.
34795         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34796         Likewise.
34797         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34798         Likewise.
34799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34800         Likewise.
34801         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34802         Likewise.
34803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34804         Likewise.
34805
34806         * scripts/data/c++-types-x32-linux-gnu.data: New file.
34807         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34808
34809 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34810
34811         [BZ #10846]
34812         [BZ #14036]
34813         * math/libm-test.inc (exp_test): Add test from bug 14036.
34814         (pow_test): Add test from bug 10846.
34815
34816         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34817         and other flags.
34818         (special_function): Do not include flags in test name.
34819         (parse_args): Likewise.
34820         * sysdeps/i386/fpu/libm-test-ulps: Update.
34821         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34822         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34823         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34825
34826         * math/gen-libm-test.pl (%beautify): Add entries for underflow
34827         exceptions.
34828         * math/libm-test.inc ("Philosophy"): Update comment about
34829         exception testing.
34830         (UNDERFLOW_EXCEPTION): New macro.
34831         (UNDERFLOW_EXCEPTION_OK): Likewise.
34832         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34833         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34834         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34835         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34836         (INVALID_EXCEPTION_OK): Update value.
34837         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34838         (OVERFLOW_EXCEPTION_OK): Likewise.
34839         (IGNORE_ZERO_INF_SIGN): Likewise.
34840         (test_exceptions): Handle underflow exceptions.
34841         (acos_test): Update for underflow exception expectations.
34842         (cexp_test): Likewise.
34843         (clog_test): Likewise.
34844         (clog10_test): Likewise.
34845         (csqrt_test): Likewise.
34846         (ctan_test): Likewise.
34847         (ctanh_test): Likewise.
34848         (exp_test): Likewise.
34849         (exp10_test): Likewise.
34850         (exp2_test): Likewise.
34851         (expm1_test): Likewise.
34852         (fma_test): Likewise.
34853         (j0_test): Likewise.
34854         (jn_test): Likewise.
34855         (nexttoward_test): Likewise.
34856         (pow_test): Likewise.
34857         (scalbn_test): Likewise.
34858         (scalbln_test): Likewise.
34859         (tan_test): Likewise.
34860         (y1_test): Likewise.
34861         * sysdeps/i386/fpu/libm-test-ulps: Update.
34862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34863
34864 2012-05-23  David S. Miller  <davem@davemloft.net>
34865
34866         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34867         (__libc_sigaction): Remove unused local variables.
34868
34869 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34870
34871         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34872
34873 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
34874
34875         mktime: avoid signed integer overflow
34876         * time/mktime.c (__mktime_internal): Do not mishandle the case
34877         where diff == INT_MIN.
34878
34879         mktime: simplify computation of average
34880         * time/mktime.c (ranged_convert): Use new time_t_avg function
34881         instead of rolling our own (probably-slower) code.
34882
34883         mktime: do not assume signed right shift propagates sign bit
34884         * time/mktime.c (isdst_differ): New static function.
34885         (__mktime_internal): No need to normalize tm_isdst now.
34886         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34887         tm_isdst values.
34888
34889         mktime: merge another wrapv change from gnulib
34890         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34891         from some compilers.
34892
34893         mktime: remove incorrect attempt at unusual arithmetics
34894         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34895         The code didn't really work on such machines anyway.
34896         (TYPE_MINIMUM): Assume two's complement.
34897         (twos_complement_arithmetic): Verify that long_int and time_t
34898         are two's complement (or unsigned, in the latter case).
34899
34900         mktime: check signed shifts on long_int and time_t, too
34901         * time/mktime.c (SHR): Check that shifts work as desired
34902         on the types long_int and time_t too, as SHR is used on
34903         such types.
34904
34905         mktime: do not assume 'long' is wide enough
34906         * time/mktime.c (verify): Move decl up.
34907         (long_int): New type.
34908         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34909         to remove assumption in the code that 'long' is wide enough to
34910         store year values.  This assumption is not true on x32 and on
34911         some non-glibc platforms.
34912
34913         mktime: merge wrapv change from gnulib
34914         * time/mktime.c (WRAPV): New macro.
34915         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34916         (guess_time_tm, __mktime_internal): Do not assume that signed
34917         integer overflow wraps around; modern compilers generate code
34918         where this assumption is no longer valid.
34919
34920 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34921
34922         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34923         Replace "jmp L(pseudo_end)" with "ret".
34924         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34925         Likewise.
34926
34927 2012-05-23  Andreas Jaeger  <aj@suse.de>
34928
34929         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34930         * sysdeps/unix/sysv/linux/poll.c: Remove file.
34931
34932 2012-05-23  Andreas Jaeger  <aj@suse.de>
34933             Maximilian Attems  <max@stro.at>
34934
34935         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34936         New macros.
34937
34938 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34939
34940         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34941         code so that pseudo_end is just ret and the stack pointer is
34942         correct also for static library in error case.
34943
34944 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
34945
34946         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34947         move to syscalls.list.
34948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34952
34953         * manual/install.texi (Running make install): Do not mention Linux
34954         kernel version for which pt_chown is not needed.
34955         (Linux): Do not mention problems with nscd with 2.0 kernels.
34956         * INSTALL: Regenerated.
34957
34958 2012-05-23  Andreas Jaeger  <aj@suse.de>
34959
34960         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34961         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34962         macro.
34963         * sysdeps/unix/sysv/linux/s390/bits/mman.h
34964         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34965         * sysdeps/unix/sysv/linux/sh/bits/mman.h
34966         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34967         * sysdeps/unix/sysv/linux/i386/bits/mman.h
34968         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34969         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34970         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34971         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34972         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34973         * sysdeps/unix/sysv/linux/bits/in.h
34974         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34975
34976 2012-05-22  Roland McGrath  <roland@hack.frob.com>
34977
34978         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34979         (PREPARE_VERSION): Just use assert instead, it will be elided
34980         under [NDEBUG] anyway.
34981
34982 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34983
34984         * sysdeps/unix/sysv/linux/Makefile: Include
34985         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34986         (sysdep_routines): Remove sysctl.
34987         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34988         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34989         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34990         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34991         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34992
34993 2012-05-22  Andreas Jaeger  <aj@suse.de>
34994
34995         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34996         that pseudo_end is just ret and the stack pointer is correct also
34997         for static library in error case.
34998
34999 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35000
35001         [BZ #14122]
35002         * nss/nsswitch.c (defconfig_entries): New variable.
35003         (__nss_database_lookup): Don't leak defconfig entries.
35004         (nss_parse_service_list): Don't leak on error paths.
35005         (free_database_entries): New function.
35006         (free_defconfig): New function.
35007         (free_mem): Move common code to free_database_entries.
35008
35009 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35010
35011         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35012         Add arch_prctl.
35013         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35014
35015         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35016         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35017         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35018         New macro.
35019         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35020         (INTERNAL_SYSCALL_TYPES): Likewise.
35021         (LOAD_ARGS_TYPES_[1-6]): Likewise.
35022         (LOAD_REGS_TYPES_[1-6]): Likewise.
35023         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35024         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35025
35026 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35027
35028         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35029         copysignl for GLIBC_2_0.
35030         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35031         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35032         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35033         logbl for GLIBC_2_0.
35034         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35035         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35036
35037 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35038
35039         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35040         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35041
35042         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35043         Use "neg %eax".
35044
35045         * time/mktime.c: Update copyright years.
35046
35047 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35048
35049         mktime: merge comment-quoting-style change from gnulib
35050         * time/mktime.c: Quote 'like this' in comments.
35051         The GNU coding standards suggest that we no longer quote `like this',
35052         as "`" and "'" are typically rendered asymmetrically nowadays.
35053         The typical gnulib style is to quote 'like this' when quoting
35054         code, and "like this" when quoting English.
35055
35056         * time/mktime.c (compile-command): Add "-I.".
35057
35058         mktime: merge mktime-internal.h change from gnulib
35059         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35060
35061         mktime: merge time_r change from gnulib
35062         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35063
35064         mktime: merge DEBUG change from gnulib
35065         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35066         case system <time.h> has a #define.
35067
35068         mktime: merge <sys/types.h> change from gnulib
35069         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35070         since <time.t> is now guaranteed to define time_t.
35071
35072         mktime: merge HAVE_CONFIG_H change from gnulib
35073         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35074
35075 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35076
35077         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35078         Use "neg %eax".
35079
35080         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35081         __rlim_t cast.
35082         (struct rusage): Use anonymous union to pad each field to
35083         __syscall_slong_t.
35084
35085 2012-05-21  David S. Miller  <davem@davemloft.net>
35086
35087         * Makefules (o-iterator): Remove .s cases.
35088         (compile-command.s): Delete.
35089         (COMPILE.s): Delete.
35090         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35091
35092 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35093
35094         * configure.in (libc_cv_predef_stack_protector): Only consider
35095         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35096         * configure: Regenerated.
35097
35098 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35099
35100         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35101         New macro.  Use R*LP on int and pointer.
35102         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35103         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35104         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35105         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35106
35107         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35108         [__WORDSIZE_TIME64_COMPAT32] instead of
35109         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35110         (struct utmp): Likewise.
35111         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35112         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35113         Renamed to ...
35114         (__WORDSIZE_TIME64_COMPAT32): This.
35115         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35116         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35117         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35118         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35119         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35120         (__WORDSIZE_TIME64_COMPAT32): New macro.
35121
35122 2012-05-21  Andreas Jaeger  <aj@suse.de>
35123
35124         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35125         only if [SHARED]. Add prototype for __wcschr_ia32.
35126
35127 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35128
35129         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35130         of %rbp unmolested in the jmp_buf while mangling the low bits.
35131         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35132         unmolested high bits of %rbp while demangling the low bits.
35133         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35134
35135 2012-05-21  Andreas Jaeger  <aj@suse.de>
35136
35137         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35138         * sunrpc/svc_simple.c: Use it for registerrpc.
35139         * sunrpc/xcrypt.c: Use it for passwd2des.
35140
35141         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35142
35143 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35144
35145         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35146         Don't define if [__SYSCALL_WORDSIZE != 32].
35147         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35148         New macro.
35149
35150 2012-05-21  Bruno Haible  <bruno@clisp.org>
35151             Andreas Jaeger  <aj@suse.de>
35152
35153         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35154         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35155         inptr and inend for must_buffer_ch.
35156         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35157         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35158         * stdio-common/Makefile (tests): Remove bug15.
35159         (bug15-ENV): Remove macro.
35160         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35161         anymore.
35162
35163 2012-05-19  Andreas Jaeger  <aj@suse.de>
35164             Roland McGrath  <roland@hack.frob.com>
35165
35166         * manual/contrib.texi: Completely rewritten. It contains now an
35167         alphabetical list of contributors and their contributions.
35168
35169 2012-05-21  Richard Henderson  <rth@twiddle.net>
35170
35171         * misc/getauxval.c (__getauxval): Use unsigned long int.
35172         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35173         (getauxval): Use unsigned long int.
35174
35175 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35176
35177         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35178
35179 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35180
35181         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35182         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35183         __alignof__ (long double).
35184
35185 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35186
35187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35188
35189 2012-05-20  Richard Henderson  <rth@twiddle.net>
35190
35191         * misc/getauxval.c: New file.
35192         * misc/sys/auxv.h: New file.
35193         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35194         (routines): Add getauxval.
35195         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35196         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35197         * elf/dl-sysdep.c (_dl_auxv): Remove.
35198         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35199         * elf/dl-support.c (_dl_auxv): New variable.
35200         (_dl_aux_init): Initialize it.
35201         * manual/startup.texi (Auxiliary Vector): New node.
35202         * sysdeps/generic/bits/hwcap.h: New file.
35203         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35204         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35205         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35206         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35207         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35208         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35210         Update.
35211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35213         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35214         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35215         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35216         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35219
35220 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35221
35222         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35223
35224 2012-05-19  David S. Miller  <davem@davemloft.net>
35225
35226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35227
35228 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35229
35230         [BZ #14123]
35231         * math/s_ccosh.c: Include <float.h>
35232         (__ccosh): Avoid internal overflow calculating sinh and cosh
35233         values before multiplying by sin and cos values.
35234         * math/s_ccoshf.c: Likewise.
35235         * math/s_ccoshl.c: Likewise.
35236         * math/s_csin.c: Likewise.
35237         * math/s_csinf.c: Likewise.
35238         * math/s_csinl.c: Likewise.
35239         * math/s_csinh.c: Likewise.
35240         * math/s_csinhf.c: Likewise.
35241         * math/s_csinhl.c: Likewise.
35242         * math/libm-test.inc (ccos_test): Add more tests.
35243         (ccosh_test): Likewise.
35244         (csin_test): Likewise.
35245         (csinh_test): Likewise.
35246         * sysdeps/i386/fpu/libm-test-ulps: Update.
35247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35248
35249 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35250
35251         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35252         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35253
35254         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35255
35256 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35257
35258         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35259         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35260         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35261         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35262         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35263         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35264         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35265         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35266         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35267         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35268         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35269         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35270         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35271         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35272         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35273         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35274         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35275         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35276         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35277         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35278         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35279         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35280         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35281         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35282         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35283         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35284         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35285         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35286         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35287         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35288         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35289
35290 2012-05-18  Andreas Jaeger  <aj@suse.de>
35291
35292         * csu/.gitignore: Delete.
35293
35294 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35295
35296         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35297         (timex): Use __syscall_slong_t.
35298
35299 2012-05-18  Andreas Jaeger  <aj@suse.de>
35300             Carlos O'Donell  <carlos_odonell@mentor.com>
35301
35302         * manual/install.texi (Configuring and compiling): Update
35303         description about files modified in the source directory.
35304         * INSTALL: Regenerated.
35305
35306 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35307
35308         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35309         value.  Use "or" to set return value to -1.
35310         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35311         negate return value.
35312
35313 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35314
35315         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35316         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35317         failure if the compiler has Graphite support disabled.
35318         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35319         Likewise.
35320         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35321         (CFLAGS-memmove.c): Likewise.
35322         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35323         Likewise.
35324
35325 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35326
35327         * sysdeps/x86_64/x32/_itoa.h: New file.
35328
35329         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35330         getdents system call only if kernel and user dirents have the
35331         same d_ino and d_off.
35332
35333         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35334         LLONG_MAX != LONG_MAX.
35335         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35336         (_fitoa_word): Likewise.
35337
35338         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35339         years.
35340         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35341         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35342         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35343
35344         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35345         include <bits/wordsize.h>.  Check __x86_64__ instead of
35346         __WORDSIZE.
35347         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35348         if __x86_64__ is defined.  Use anonymous union on fpstate.
35349
35350         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35351         anonymous union.
35352
35353 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35354
35355         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35356         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35357         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35358         Refer to _rtld_local_ro instead of _rtld_global_ro.
35359         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35360         Likewise.
35361         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35362         Likewise.
35363         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35364         Likewise.
35365         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35366         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35367         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35368
35369         * sysdeps/powerpc/powerpc32/dl-machine.c
35370         (__elf_machine_runtime_setup) [PROF]: Don't reference
35371         _dl_prof_resolve.
35372
35373 2012-05-18  Andreas Jaeger  <aj@suse.de>
35374
35375         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35376         function only available for GCCs before 3.4 since GCC 3.4
35377         introduced a builtin.
35378         (lrint): Likewise.
35379         (llrintf): Likewise.
35380         (llrint): Likewise.
35381         (fmaxf): Likewise.
35382         (fmax): Likewise.
35383         (fminf): Likewise.
35384         (fmin): Likewise.
35385         (rint): Likewise.
35386         (rintf): Likewise.
35387         (nearbyint): Likewise.
35388         (nearbyintf): Likewise.
35389         (ceil): Likewise.
35390         (ceilf): Likewise.
35391         (floor): Likewise.
35392         (floorf): Likewise.
35393
35394 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35395
35396         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35397         on both fields and cast pointer to __syscall_ulong_t.
35398
35399         * bits/types.h (__fsword_t): New type.
35400         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35401         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35402         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35403         (__FSWORD_T_TYPE): Likewise.
35404         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35405         (__FSWORD_T_TYPE): Likewise.
35406         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35407         (__FSWORD_T_TYPE): Likewise.
35408         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35409         (__FSWORD_T_TYPE): Likewise.
35410         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35411         __SWORD_TYPE with __fsword_t.
35412         (statfs64): Likewise.
35413
35414 2012-05-17  David S. Miller  <davem@davemloft.net>
35415
35416         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35417
35418 2012-05-17  Andreas Jaeger  <aj@suse.de>
35419
35420         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35421         warning.
35422
35423 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35424
35425         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35426
35427 2012-05-17  Andreas Jaeger  <aj@suse.de>
35428
35429         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35430         when it is used.
35431
35432 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35433
35434         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35435
35436 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35437
35438         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35439         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35440
35441 2012-05-17  Andreas Jaeger  <aj@suse.de>
35442             Carlos O'Donell  <carlos_odonell@mentor.com>
35443
35444         [BZ #14059]
35445         * sysdeps/x86_64/multiarch/init-arch.h
35446         (bit_YMM_Usable): Rename to...
35447         (bit_AVX_Usable): ... this.
35448         (bit_FMA4_Usable): New macro.
35449         (bit_XMM_state): New macro.
35450         (bit_YMM_state): New macro.
35451         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35452         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35453         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35454         (CPUID_OSXSAVE): New macro.
35455         (CPUID_AVX): New macro.
35456         (CPUID_FMA4): New macro.
35457         (index_YMM_Usable): Rename to...
35458         (index_AVX_Usable): ... this.
35459         (HAS_AVX): Use HAS_ARCH_FEATURE.
35460         (HAS_FMA4): Likewise.
35461         (HAS_YMM_USABLE): Remove.
35462         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35463         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35464         are present.
35465         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35466         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35467         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35468         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35469         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35470
35471 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35472
35473         * math/libm-test.c: Support platforms without multiple rounding modes.
35474         * math/bug-nextafter.c: Support platforms without FP exceptions.
35475         * math/bug-nexttoward.c: Likewise.
35476         * math/test-fenv.c: Likewise.
35477         * math/test-misc.c: Likewise.
35478         * stdlib/bug-getcontext.c: Likewise.
35479
35480 2012-05-17  Andreas Jaeger  <aj@suse.de>
35481
35482         * manual/examples/search.c (critter_cmp): Change signature to
35483         avoid warnings.
35484         * manual/string.texi (Collation Functions): Likewise.
35485
35486 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35487
35488         * bits/types.h: Fold copyright years.
35489         * bits/typesizes.h: Likewise.
35490         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35491         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35492         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35493         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35494         * time/time.h: Likewise.
35495
35496 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
35497
35498         [BZ #208]
35499         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35500         in instead of returning them.  Return void.
35501         (__libc_mallinfo): Accumulate over all arenas.
35502         (__malloc_stats): Adjust for change in int_mallinfo interface.
35503
35504 2012-05-16  Roland McGrath  <roland@hack.frob.com>
35505
35506         [BZ #10375]
35507         * configure.in (NM): Add AC_CHECK_TOOL for it.
35508         (libc_extra_cflags): New substituted variable.
35509         Check for -fstack-protector being used implicitly.
35510         * configure: Regenerated.
35511         * config.make.in (config-extra-cflags): New variable,
35512         gets @libc_extra_cflags@.
35513         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35514
35515         [BZ #10375]
35516         * configure.in: Check for _FORTIFY_SOURCE being predefined.
35517         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35518         * configure: Regenerated.
35519         * config.make.in (CPPUNDEFS): New substituted variable.
35520         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35521         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35522         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35523
35524 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35525
35526         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35527         (mq_attr): Use __syscall_slong_t.
35528
35529 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35530
35531         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35532         Check __x86_64__ instead of __WORDSIZE.
35533         (_STAT_VER_LINUX): Likewise.
35534         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
35535         __syscall_ulong_t and __syscall_slong_t.
35536         (stat64): Likewise.
35537
35538 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35539
35540         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35541
35542 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35543
35544         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35545
35546 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35547
35548         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35549         __syscall_ulong_t.
35550
35551         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35552         include <bits/wordsize.h>.  Check __x86_64__ instead of
35553         __WORDSIZE.
35554         (greg_t): Use "__extension__ long long int" if __x86_64__ is
35555         defined.
35556         (mcontext_t): Replace "unsigned long" with "unsigned long long".
35557
35558         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35559         include <bits/wordsize.h>.  Check __x86_64__ instead of
35560         __WORDSIZE.
35561         (user_regs_struct): Use "__extension__ unsigned long long"
35562         instead of "unsigned long" if __x86_64__ is defined.
35563         (user): Likewise.  Pad after pointer field if __ILP32__ is
35564         defined.
35565
35566 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
35567
35568         * configure.in (makeinfo): Require version 4.5 or later.  Allow
35569         versions 5 to 9.
35570         * configure: Regenerated.
35571         * manual/install.texi (texinfo): Increase version requirement to
35572         4.5 or later.
35573         * INSTALL: Regenerated.
35574
35575         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35576
35577 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35578
35579         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35580
35581         * sysdeps/x86_64/x32/ffs.c: New file.
35582
35583         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35584         __syscall_ulong_t.
35585         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35586         defined.  Use __syscall_ulong_t.
35587         (shminfo): Use __syscall_ulong_t.
35588         (shm_info): Likewise.
35589
35590         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35591         __syscall_ulong_t.
35592
35593         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35594         <bits/wordsize.h>.
35595         (msgqnum_t): Use __syscall_ulong_t.
35596         (msglen_t): Likewise.
35597         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
35598         __syscall_ulong_t.
35599
35600         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35601         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35602
35603         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35604
35605         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35606         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35607
35608         * sysvipc/sys/msg.h (msgbuf): Replace long int with
35609         __syscall_slong_t.
35610
35611         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35612         include <bits/wordsize.h>.  Check __x86_64__ instead of
35613         __WORDSIZE.
35614
35615         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35616         "unsigned long long int" if __x86_64__ is defined.
35617         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35618
35619         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35620         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35621         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35622
35623         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35624         <stdint.h>.
35625         (GET_PC): Cast to uintptr_t first.
35626         (GET_FRAME): Likewise.
35627         (GET_STACK): Likewise.
35628
35629         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35630         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35631         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35632         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35633         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35634         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35635         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35636         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35637         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35638         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35639         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35640         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35641         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35642         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35643         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35644         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35645         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35646         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35647         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35648         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35649         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35650         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35651         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35652         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35653         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35654         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35655         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35656         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35657         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35658
35659 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
35660
35661         * Makerules (+depfiles): Also collect depfiles from .oS in
35662         $(extra-objs).
35663         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35664         .oS, $(libnldbl-routines)).
35665
35666         * Makerules (native-compile-mkdep-flags): Define.
35667         * sunrpc/Makefile (extra-objs): Add $(addprefix
35668         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35669         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35670         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
35671         calling $(make-target-directory).
35672
35673 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35674
35675         * bits/types.h (__snseconds_t): Removed.
35676         * time/time.h (struct timespec): Replace __snseconds_t with
35677         __syscall_slong_t.
35678         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35679         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35680         Likewise.
35681         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35682         (__SNSECONDS_T_TYPE): Likewise.
35683         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35684         (__SNSECONDS_T_TYPE): Likewise.
35685         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35686         (__SNSECONDS_T_TYPE): Likewise.
35687
35688 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35689
35690         * sysdeps/mach/hurd/bits/typesizes.h
35691         (__SYSCALL_SLONG_TYPE): New macro.
35692         (__SYSCALL_ULONG_TYPE): Likewise.
35693
35694 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35695
35696         * bits/types.h (__syscall_slong_t): New type.
35697         (__syscall_ulong_t): Likewise.
35698
35699         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35700         (__SYSCALL_ULONG_TYPE): Likewise.
35701         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35702         (__SYSCALL_SLONG_TYPE): Likewise.
35703         (__SYSCALL_ULONG_TYPE): Likewise.
35704         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35705         (__SYSCALL_SLONG_TYPE): Likewise.
35706         (__SYSCALL_ULONG_TYPE): Likewise.
35707         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35708         (__SYSCALL_SLONG_TYPE): Likewise.
35709         (__SYSCALL_ULONG_TYPE): Likewise.
35710
35711 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35712
35713         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35714         Add sigaltstack-offsets.sym.
35715         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35716         <sigaltstack-offsets.h>.
35717         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
35718         longjmp_msg pointer.
35719         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
35720         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35721         signal stack.
35722         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35723
35724 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35725
35726         * elf/stackguard-macros.h: Remove file.
35727         * sysdeps/generic/stackguard-macros.h: New file.
35728         * sysdeps/i386/stackguard-macros.h: Likewise.
35729         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35730         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35731         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35732         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35733         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35734         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35735         * sysdeps/x86_64/stackguard-macros.h: Likewise.
35736         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35737         <elf/stackguard-macros.h>.
35738
35739         [BZ #14109]
35740         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35741         __aligned__ in attribute.
35742         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35743         (gregset_t): Likewise.
35744
35745 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35746
35747         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35748         * sysdeps/x86_64/64/Implies-after: Here.  New file.
35749         * sysdeps/x86_64/x32/Implies-after: New file.
35750
35751 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35752
35753         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35754         and access return value for _dl_profile_fixup.  Use R10_LP to
35755         load frame size.
35756
35757 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35758
35759         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35760
35761 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35762
35763         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35764         * sysdeps/x86_64/x32/sysdep.h: New file.
35765
35766 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35767
35768         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35769         * sysdeps/x86_64/setjmp.S: Likewise.
35770
35771 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35772
35773         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35774         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35775         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35776         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35777         remove unused global constant.
35778
35779 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
35780
35781         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35782         include of <not-cancel.h>.
35783
35784 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35785
35786         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35787
35788 2012-05-15  Jeff Law  <law@redhat.com>
35789             Andreas Jaeger  <aj@suse.de>
35790
35791         [BZ #13594]
35792         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35793         out from...
35794         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35795         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35796         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35797         code changing __hst_map_handle.map.
35798
35799 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35800
35801         * configure.in (sysnames): Look for Implies-before and Implies-after
35802         files.
35803         * configure: Regenerated.
35804
35805 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35806
35807         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35808         8-byte data alignment with LP_SIZE alignment.
35809
35810 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35811
35812         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35813         into R10_LP.
35814
35815 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35816
35817         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35818
35819 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35820
35821         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35822         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35823         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35824         Likewise.
35825         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35826
35827 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35828
35829         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35830         (stackinfo_sub_sp): Likewise.
35831
35832 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35833
35834         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35835         RAX_LP.
35836
35837 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35838
35839         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35840         into R*_LP.
35841
35842 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35843
35844         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35845         sizes into R*_LP.
35846
35847 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35848
35849         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35850
35851 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35852
35853         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35854         into R11_LP and load __x86_64_shared_cache_size_half into
35855         R8_LP.
35856
35857 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35858
35859         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35860         R8_LP.
35861
35862 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35863
35864         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35865         logb for POWER7.
35866         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35867         logbf for POWER7.
35868         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35869         logbl for POWER7.
35870         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35871         powerpc32/power7/fpu/s_logb.c via #include.
35872         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35873         powerpc32/power7/fpu/s_logbf.c via #include.
35874         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35875         powerpc32/power7/fpu/s_logbl.c via #include.
35876
35877 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35878
35879         * README.libm: Remove file.
35880
35881 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35882
35883         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35884         count for x32.  Use R*_LP and omit operand-size suffix.
35885
35886 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35887
35888         * shlib-versions: Move x86_64-.*-linux.* entries to ...
35889         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
35890         * sysdeps/x86_64/x32/shlib-versions: New file.
35891
35892 2012-05-14  Roland McGrath  <roland@hack.frob.com>
35893
35894         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35895         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35896         Use _dl_fatal_printf instead.
35897
35898 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35899
35900         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35901         set if not set by the user.  Do not allow for being unset.
35902         * sysdeps/unix/sysv/linux/configure: Regenerated.
35903
35904 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35905
35906         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35907         the `q' suffix from lea and replace .quad with ASM_ADDR.
35908
35909 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35910
35911         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35912         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
35913         instead of $17.
35914         (PTR_DEMANGLE): Likewise.
35915
35916 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35917
35918         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35919         (LP_OP): Likewise.
35920         (ASM_ADDR): Likewise.
35921         (RAX_LP): Likewise.
35922         (RBP_LP): Likewise.
35923         (RBX_LP): Likewise.
35924         (RCX_LP): Likewise.
35925         (RDI_LP): Likewise.
35926         (RSI_LP): Likewise.
35927         (RSP_LP): Likewise.
35928         (R8_LP): Likewise.
35929         (R9_LP): Likewise.
35930         (R10_LP): Likewise.
35931         (R10_LP): Likewise.
35932         (R11_LP): Likewise.
35933         (R12_LP): Likewise.
35934         (R13_LP): Likewise.
35935         (R14_LP): Likewise.
35936         (R15_LP): Likewise.
35937
35938 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35939
35940         * sysdeps/x86_64/x32/dl-machine.h: New file.
35941
35942 2012-05-14  Andreas Jaeger  <aj@suse.de>
35943
35944         * manual/Makefile (subdir): Remove export of subdir.
35945         (all): Remove target.
35946         (.PHONY): Remove all from list.
35947         (mkinstalldirs): Remove.
35948         (.PHONY): Remove installdirs from list.
35949         ($(inst_infodir)/libc.info): Use make-target-directory.
35950         (installdirs): Remove.
35951         (subdir_%): Remove.
35952         (glibc-targets): Remove.
35953         (lib): Remove.
35954         (stubs): Remove.
35955         ($(objpfx)stubs ../po/manual.pot): Remove.
35956         ($(objpfx)stamp%): Remove.
35957         (make-target-directory): Remove.
35958         (subdir_install): Remove.
35959         (routines): Remove.
35960         (aux): Remove.
35961         (sources): Remove.
35962         (objects): Remove.
35963         (headers): Remove.
35964
35965         [BZ #13750]
35966         * manual/.gitignore: Remove, it's not needed anymore.
35967         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35968         all files in it.
35969         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35970         directory.
35971         (texis): Renamed to $(objpfx)texis.
35972         (texis-path): New, contains path to generated files.
35973         (chapters.%): Use texis-path for complete path, add extra argument
35974         libc-texinfo.sh.
35975         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35976         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35977         (summary,texi, stamp-summary): Use complete path of
35978         files. Generate files in build dir.
35979         (dir-add.texi): Build in build dir.
35980         (libm-err.texi,stamp-libm-err): Likewise.
35981         (version.texi, stamp-version): Likewise.
35982         (.%c.texi): Likewise.
35983         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35984         (mostlyclean): Remove target.
35985         (realclean): Remove target.
35986         (generated): Add new variable with contents from mostlyclean and
35987         realclean, remove entries duplicated in common-mostlyclean, add
35988         stamp-libm-err and stamp-version.
35989         (generated-dirs): Add libc directory.
35990         ($(inst_infodir)/libc.info): Install files from build dir.
35991
35992         * manual/install.texi (Configuring and compiling): Adjust since
35993         the info files are not part of the tar ball anymore.
35994
35995 2012-05-14  Andreas Jaeger  <aj@suse.de>
35996
35997         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35998         variable.
35999
36000 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36001
36002         [BZ #13717]
36003         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36004         to 2.2.0 where earlier.
36005         * sysdeps/unix/sysv/linux/configure: Regenerated.
36006         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36007         Remove conditional code.
36008         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36009         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36010         Remove conditional code.
36011         [!__NR_lchown]: Likewise.
36012         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36013         [__NR_lchown]: Likewise.
36014         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36015         comment referencing __ASSUME_LCHOWN_SYSCALL.
36016         * sysdeps/unix/sysv/linux/i386/sigaction.c
36017         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36018         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36019         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36020         Remove conditional code.
36021         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36022         (__protocol_available): Remove #if 0 code.
36023         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36024         conditional code.
36025         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36026         * sysdeps/unix/sysv/linux/kernel-features.h
36027         (__ASSUME_GETCWD_SYSCALL): Don't define.
36028         (__ASSUME_REALTIME_SIGNALS): Likewise.
36029         (__ASSUME_PREAD_SYSCALL): Likewise.
36030         (__ASSUME_PWRITE_SYSCALL): Likewise.
36031         (__ASSUME_POLL_SYSCALL): Likewise.
36032         (__ASSUME_LCHOWN_SYSCALL): Likewise.
36033         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36034         non-SPARC.
36035         (__ASSUME_SIOCGIFNAME): Don't define.
36036         (__ASSUME_MSG_NOSIGNAL): Likewise.
36037         (__ASSUME_SENDFILE): Define unconditionally.
36038         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36039         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36040         conditional code.
36041         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36042         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36043         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36044         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36045         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36046         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36047         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36049         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36050         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36052         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36053         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36055         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36056         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36058         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36059         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36061         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36062         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36064         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36065         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36067         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36068         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36070         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36071         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36072         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36073         Remove conditional code.
36074         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36075         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36076         Remove conditional code.
36077         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36078         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36079         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36080         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36081         Remove conditional code.
36082         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36083         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36084         Remove conditional code.
36085         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36086         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36087         Remove conditional code.
36088         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36089         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36090         Remove conditional code.
36091         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36092         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36093         Remove conditional code.
36094         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36095         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36096         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36097         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36098         * sysdeps/unix/sysv/linux/sigaction.c
36099         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36100         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36101         * sysdeps/unix/sysv/linux/sigpending.c
36102         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36103         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36104         * sysdeps/unix/sysv/linux/sigprocmask.c
36105         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36106         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36107         * sysdeps/unix/sysv/linux/sigsuspend.c
36108         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36109         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36110         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36111         (__libc_missing_rt_sigs): Remove.
36112         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36113         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36114         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36115         Remove conditional code.
36116         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36117         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36118         return 1.
36119         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36120         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36121         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36122         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36123
36124 2012-05-14  Andreas Jaeger  <aj@suse.de>
36125
36126         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36127         it's not used in glibc.
36128         (__coshm1): Likewise.
36129         (__acosh1p): Likewise.
36130         (__sgn): Likewise.
36131
36132         * manual/string.texi (Copying and Concatenation): Add missing
36133         variable in concat example.
36134         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36135
36136 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36137
36138         [BZ #14103]
36139         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36140         __builtin_clzl with __builtin_clzll.
36141
36142 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36143
36144         [BZ #14104]
36145         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36146         libc_freeres_ptr.
36147
36148 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36149
36150         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36151         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36152         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36153         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36154
36155 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36156
36157         * NEWS: Update ia64 info.
36158
36159 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36160
36161         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36162         used as bcopy.
36163
36164 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36165
36166         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36167         * sysdeps/unix/syscalls.list (dup3): Likewise.
36168         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36169         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36170
36171 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36172
36173         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36174         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36175
36176 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36177
36178         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36179         thread pointer.
36180         (TLS_IE): Use mov/add instead of movq/addq to load thread
36181         pointer.
36182         (TLS_GD_PREFIX): New.
36183         (TLS_GD): Use it.
36184
36185 2012-05-11  David S. Miller  <davem@davemloft.net>
36186
36187         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36188         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36189         (_FPU_SETCW): Likewise.
36190
36191 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36192
36193         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36194         is 32-byte aligned.
36195
36196 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36197
36198         [BZ #11837]
36199         * iconvdata/gb18030.c: Update tables.
36200         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36201         characters specially.
36202         (BODY for TO_LOOP): Add encoding of missing ranges.
36203
36204 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36205
36206         [BZ #13673]
36207         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36208         * sysdeps/mach/hurd/dup3.c: Likewise.
36209         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36210         * sysdeps/powerpc/memmove.c:: Likewise.
36211
36212 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36213
36214         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36215         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36216
36217 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36218
36219         * elf/elf.h (R_X86_64_RELATIVE64): New.
36220         (R_X86_64_NUM): Updated.
36221         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36222         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36223         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36224         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36225         tst-quad1pie tst-quad2pie
36226         (modules-names): Add tst-quadmod1 tst-quadmod2.
36227         ($(objpfx)tst-quad1): New dependency.
36228         ($(objpfx)tst-quad2): Likewise.
36229         ($(objpfx)tst-quad1pie): Likewise.
36230         ($(objpfx)tst-quad2pie): Likewise.
36231         * sysdeps/x86_64/tst-quad1.c: New file.
36232         * sysdeps/x86_64/tst-quad1pie.c: New file.
36233         * sysdeps/x86_64/tst-quad2.c: Likewise.
36234         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36235         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36236         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36237         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36238         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36239
36240 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36241
36242         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36243         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36244         * streams/stropts.h (t_scalar_t): Define type.
36245
36246         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36247         (_PATH_PRESERVE): Set to "/var/lib".
36248         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36249
36250         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36251         instead of int.
36252
36253         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36254         if __dir_mkfile succeeded.
36255
36256         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36257         checking for _hurd_dtablesize.  Unlock it right after having
36258         finished _hurd_dtable allocation.
36259
36260 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36261
36262         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36263         * sysdeps/mach/hurd/configure: Regenerated.
36264         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36265         special-casing to...
36266         * sysdeps/gnu/configure.in: ... this new file.
36267         * sysdeps/unix/sysv/linux/configure: Regenerated.
36268         * sysdeps/gnu/configure: New generated file.
36269
36270         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36271         for Linux: use nsec instead of usec, as well as:
36272         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36273         members of type struct timespec.
36274         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36275         New macros.
36276         (struct stat64): Likewise.
36277         (_STATBUF_ST_NSEC): New macro.
36278         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36279
36280         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36281         __strtoul_internal rather than strtoul.
36282
36283 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36284
36285         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36286         and reject them.
36287
36288 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36289
36290         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36291         which preserves existing values.
36292         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36293
36294 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36295
36296         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36297         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36298         greater than FD_SETSIZE.
36299
36300 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36301
36302         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36303         allocated, call __vm_protect to finish enabling the existing space, and
36304         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36305         allocate the remainder.
36306
36307 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36308
36309         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36310         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36311
36312 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36313
36314         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36315         sysdeps/mach/hurd/readlink.c.
36316
36317         * posix/tst-sysconf.c (posix_options): Only use
36318         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36319         _POSIX_SYNCHRONIZED_IO when they are defined
36320         * sysdeps/mach/hurd/bits/posix_opt.h:
36321         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36322         (_XOPEN_REALTIME): Undefine macro.
36323         (_XOPEN_REALTIME_THREADS): Undefine macro.
36324         (_XOPEN_SHM): Undefine macro.
36325         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36326         macro to -1.
36327         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36328         macro to -1.
36329         (_POSIX_ASYNC_IO): Undefine macro.
36330         (_POSIX_PRIORITIZED_IO): Undefine macro.
36331         (_POSIX_SPIN_LOCKS): Define macro to -1.
36332
36333         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36334         SA_NODEFER, SA_RESETHAND.
36335         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36336         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36337         F_DUPFD_CLOEXEC.
36338
36339 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36340
36341         * elf/Makefile (pldd-modules): Define unconditionally.
36342
36343 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36344
36345         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36346
36347 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36348
36349         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36350         Return ENOENT when name is empty.
36351         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36352
36353 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36354
36355         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36356
36357         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36358
36359 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36360
36361         Fix mlock in all cases except non-readable pages.
36362         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36363         instead of VM_PROT_ALL as parameter to __vm_wire function.
36364
36365         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36366         (__mkdir): When path is `/', just fail with EEXIST.
36367         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36368
36369 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36370
36371         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36372         <sys/uio.h> (for writev).
36373         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36374         and <sys/param.h> (for MIN).
36375
36376 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36377
36378         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36379         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36380         if interrupted.
36381
36382 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36383
36384         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36385         Depend on against $(link-rpcuserlibs).
36386
36387 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36388
36389         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36390         (__libc_stack_end): Do not use attribute_relro.
36391         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36392         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36393         to libthread-provided value.
36394         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36395         attribute_relro.
36396
36397 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36398
36399         [BZ #3748]
36400         * bits/libc-lock.h (__libc_once_get): New macro.
36401         * sysdeps/mach/bits/libc-lock.h: Likewise.
36402         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36403         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36404         instead of using implementation details.
36405
36406         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36407         * libio/freopen.c: Likewise.
36408         * libio/freopen64.c: Likewise.
36409         * misc/syslog.c: Likewise.
36410         * nscd/connections.c: Likewise.
36411         * nscd/netgroupcache.c: Likewise.
36412         * sysdeps/posix/getcwd.c: Likewise.
36413
36414 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36415
36416         * math/w_ilogbf.c: Add #include <limits.h>.
36417
36418 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36419
36420         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36421         path instead of returning without unlocking.
36422
36423         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36424         immediate-write ioctls.
36425         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36426
36427 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36428
36429         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36430         __builtin_frame_address instead of making assumptions about the
36431         location of the return address relative to DATA.  Force early load of
36432         the return address.
36433         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36434         __builtin_frame_address.
36435
36436         dup3 for GNU Hurd.
36437         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36438         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36439         implement dup3 and do some further code clean-ups.
36440         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36441         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36442
36443 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36444
36445         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36446
36447         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36448         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36449         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36450         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36451         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36452         d->port.lock.
36453
36454         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36455         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36456         when handler == SIG_ERR, not when handler != SIG_ERR.
36457
36458 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36459
36460         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36461         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36462         definitions.
36463
36464         accept4 for GNU Hurd.
36465         * include/sys/socket.h (__libc_accept4): New prototype.
36466         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36467         to implement __libc_accept4.
36468         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36469         __libc_accept4.
36470         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36471
36472         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36473         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36474         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36475         signal-defines.sym.
36476
36477 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36478
36479         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36480
36481 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36482
36483         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36484         assertion on O_CLOEXEC flag.
36485         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36486         * hurd/intern-fd.c: Likewise.
36487         * hurd/port2fd.c: Likewise.
36488
36489 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36490
36491         [BZ #3906]
36492         * bits/in.h (IPV6_PKTINFO): Define new macro.
36493         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36494
36495 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36496
36497         [BZ #13954]
36498         [BZ #13955]
36499         [BZ #13956]
36500         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36501         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36502         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36503         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36504         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36505         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36506         * math/libm-test.inc (logb_test) : Additional logb tests.
36507
36508 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
36509             Andreas Jaeger  <aj@suse.de>
36510
36511         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36512         * configure: Regenerated.
36513         * config.h.in (LINK_OBSOLETE_RPC): New macro.
36514         * config.make.in (link-obsolete-rpc): New substituted variable.
36515         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36516         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36517         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36518         (shared-only-routines): Don't set it under [link-obsolete-rpc],
36519         so that libc.a contains the symbols.
36520         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36521         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36522         * sunrpc/auth_none.c: Likewise.
36523         * sunrpc/auth_unix.c: Likewise.
36524         * sunrpc/authdes_prot.c: Likewise.
36525         * sunrpc/authuxprot.c: Likewise.
36526         * sunrpc/clnt_gen.c: Likewise.
36527         * sunrpc/clnt_perr.c: Likewise.
36528         * sunrpc/clnt_raw.c: Likewise.
36529         * sunrpc/clnt_simp.c: Likewise.
36530         * sunrpc/clnt_tcp.c: Likewise.
36531         * sunrpc/clnt_udp.c: Likewise.
36532         * sunrpc/clnt_unix.c: Likewise.
36533         * sunrpc/des_crypt.c: Likewise.
36534         * sunrpc/des_soft.c: Likewise.
36535         * sunrpc/get_myaddr.c: Likewise.
36536         * sunrpc/key_call.c: Likewise.
36537         * sunrpc/key_prot.c: Likewise.
36538         * sunrpc/netname.c: Likewise.
36539         * sunrpc/pm_getmaps.c: Likewise.
36540         * sunrpc/pm_getport.c: Likewise.
36541         * sunrpc/pmap_clnt.c: Likewise.
36542         * sunrpc/pmap_prot.c: Likewise.
36543         * sunrpc/pmap_prot2.c: Likewise.
36544         * sunrpc/pmap_rmt.c: Likewise.
36545         * sunrpc/publickey.c: Likewise.
36546         * sunrpc/rpc_cmsg.c: Likewise.
36547         * sunrpc/rpc_common.c: Likewise.
36548         * sunrpc/rpc_dtable.c: Likewise.
36549         * sunrpc/rpc_prot.c: Likewise.
36550         * sunrpc/rpc_thread.c: Likewise.
36551         * sunrpc/rtime.c: Likewise.
36552         * sunrpc/svc.c: Likewise.
36553         * sunrpc/svc_auth.c: Likewise.
36554         * sunrpc/svc_raw.c: Likewise.
36555         * sunrpc/svc_run.c: Likewise.
36556         * sunrpc/svc_tcp.c: Likewise.
36557         * sunrpc/svc_udp.c: Likewise.
36558         * sunrpc/svc_unix.c: Likewise.
36559         * sunrpc/svcauth_des.c: Likewise.
36560         * sunrpc/xcrypt.c: Likewise.
36561         * sunrpc/xdr.c: Likewise.
36562         * sunrpc/xdr_array.c: Likewise.
36563         * sunrpc/xdr_float.c: Likewise.
36564         * sunrpc/xdr_intXX_t.c: Likewise.
36565         * sunrpc/xdr_mem.c: Likewise.
36566         * sunrpc/xdr_rec.c: Likewise.
36567         * sunrpc/xdr_ref.c: Likewise.
36568         * sunrpc/xdr_sizeof.c: Likewise.
36569         * sunrpc/xdr_stdio.c: Likewise.
36570
36571 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36572
36573         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36574         change.  Update copyright years.
36575
36576 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36577
36578         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36579
36580 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
36581             Joseph Myers  <joseph@codesourcery.com>
36582             Paul Pluzhnikov  <ppluzhnikov@google.com>
36583
36584         [BZ #14012]
36585         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36586         requiring rpcgen.
36587         [cross-compiling] (extra-libs): Likewise.
36588         [cross-compiling] (extra-libs-others): Likewise.
36589         [cross-compiling] (librpcsvc-routines): Likewise.
36590         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36591         [cross-compiling] (omit-deps): Likewise.
36592         (sunrpc-CPPFLAGS): New variable.
36593         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36594         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36595         (cross-rpcgen-objs): New variable.
36596         (extra-objs): Append $(cross-rpcgen-objs).
36597         ($(cross-rpcgen-objs)): New rule.
36598         ($(objpfx)cross-rpcgen): Likewise.
36599         (rpcgen-cmd): Define to use $(built-program-file).  Expand
36600         comment.
36601         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36602         ($(objpfx)x%.stmp): Likewise.
36603         * sunrpc/proto.h [IS_IN_build] (_): Define.
36604         [IS_IN_build] (_libc_intl_domainname): Likewise.
36605
36606 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36607
36608         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36609         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36610         and R_X86_64_TPOFF64.
36611
36612 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36613
36614         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36615         sysdeps/unix/sysv/syscalls.list.
36616         (stime): Likewise.
36617         (utime): Likewise.
36618         * sysdeps/unix/sysv/syscalls.list: Remove file.
36619
36620 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
36621
36622         [BZ #3440]
36623         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36624         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36625         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36626         (__LC_IDENTIFICATION): Make these macros useful in #if
36627         expressions, as required by C99.
36628
36629 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
36630
36631         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36632         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
36633         after this.
36634
36635 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
36636
36637         * stdlib/longlong.h: Updated from GCC.
36638
36639 2012-05-09  Andreas Jaeger  <aj@suse.de>
36640
36641         * nscd/nscd.c (run_modes): Make named enum, reorder so that
36642         default is first entry.
36643         (run_mode): Set type.
36644         (main): Remove informal message about syslog.
36645         (options): Fix typo.
36646
36647         [BZ #14053]
36648         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36649         to asm.
36650         (lrint): Likewise.
36651         (llrintf): Likewise.
36652         (llrint): Likewise.
36653         (rint): Likewise.
36654         (rintf): Likewise.
36655         (nearbyint): Likewise.
36656         (nearbyintf): Likewise.
36657
36658 2012-05-09  Andreas Jaeger  <aj@suse.de>
36659             Pedro Alves  <palves@redhat.com>
36660
36661         * nscd/nscd.c (run_mode): Use enum.
36662         (main): Cleanup coding style issue.
36663
36664 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
36665             Andreas Jaeger  <aj@suse.de>
36666
36667         * nscd/nscd.c (go_background): Replaced with...
36668         (run_mode): ... this.
36669         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36670         (options): Add -F --foreground.
36671         (main): Implement it.
36672         (parse_opt): Parse it.
36673
36674 2012-05-09  Andreas Jaeger  <aj@suse.de>
36675
36676         [BZ #14083]
36677         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36678         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36679         -Wconversion warning.
36680         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36681         Likewise.
36682
36683 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
36684
36685         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
36686         == 0.
36687         (LC_ALL): Use macro-int-constant.
36688         (LC_COLLATE): Likewise.
36689         (LC_CTYPE): Likewise.
36690         (LC_MESSAGES): Likewise.
36691         (LC_MONETARY): Likewise.
36692         (LC_NUMERIC): Likewise.
36693         (LC_TIME): Likewise.
36694         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36695         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36696         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36697         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36698         Specify type.
36699         [C99-based standards] (float_t): Expect type.
36700         [C99-based standards] (double_t): Expect type.
36701         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
36702         type.
36703         [C99-based standards] (HUGE_VALL): Likewise.
36704         [C99-based standards] (INFINITY): Likewise.
36705         [C99-based standards] (NAN): Likewise.
36706         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36707         [C99-based standards] (FP_NAN): Likewise.
36708         [C99-based standards] (FP_NORMAL): Likewise.
36709         [C99-based standards] (FP_SUBNORMAL): Likewise.
36710         [C99-based standards] (FP_ZERO): Likewise.
36711         [C99-based standards] (FP_FAST_FMA): Use
36712         optional-macro-int-constant.  Specify type.  Require == 1.
36713         [C99-based standards] (FP_FAST_FMAF): Likewise.
36714         [C99-based standards] (FP_FAST_FMAL): Likewise.
36715         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36716         [C99-based standards] (FP_ILOGBNAN): Likewise.
36717         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36718         Specify type.
36719         [C99-based standards] (MATH_ERREXCEPT): Likewise.
36720         [C99-based standards] (math_errhandling): Specify type.
36721         [ISO99 || ISO11] (signgam): Do not allow.
36722         [non-C99-based standards] (copysignf): Do not allow.
36723         [non-C99-based standards] (exp2f): Likewise.
36724         [non-C99-based standards] (log2f): Likewise.
36725         [non-C99-based standards] (modff): Allow.
36726         [non-C99-based standards] (erff): Do not allow.
36727         [non-C99-based standards] (erfcf): Likewise.
36728         [non-C99-based standards] (gammaf): Likewise.
36729         [non-C99-based standards] (hypotf): Likewise.
36730         [non-C99-based standards] (j0f): Likewise.
36731         [non-C99-based standards] (j1f): Likewise.
36732         [non-C99-based standards] (jnf): Likewise.
36733         [non-C99-based standards] (lgammaf): Likewise.
36734         [non-C99-based standards] (tgammaf): Likewise.
36735         [non-C99-based standards] (y0f): Likewise.
36736         [non-C99-based standards] (y1f): Likewise.
36737         [non-C99-based standards] (ynf): Likewise.
36738         [non-C99-based standards] (isnanf): Likewise.
36739         [non-C99-based standards] (acoshf): Likewise.
36740         [non-C99-based standards] (asinhf): Likewise.
36741         [non-C99-based standards] (atanhf): Likewise.
36742         [non-C99-based standards] (cbrtf): Likewise.
36743         [non-C99-based standards] (expm1f): Likewise.
36744         [non-C99-based standards] (ilogbf): Likewise.
36745         [non-C99-based standards] (log1pf): Likewise.
36746         [non-C99-based standards] (logbf): Likewise.
36747         [non-C99-based standards] (nextafterf): Likewise.
36748         [non-C99-based standards] (remainderf): Likewise.
36749         [non-C99-based standards] (rintf): Likewise.
36750         [non-C99-based standards] (scalbf): Likewise.
36751         [non-C99-based standards] (copysignl): Likewise.
36752         [non-C99-based standards] (exp2l): Likewise.
36753         [non-C99-based standards] (log2l): Likewise.
36754         [non-C99-based standards] (modfl): Allow.
36755         [non-C99-based standards] (erfl): Do not allow.
36756         [non-C99-based standards] (erfcl): Likewise.
36757         [non-C99-based standards] (gammal): Likewise.
36758         [non-C99-based standards] (hypotl): Likewise.
36759         [non-C99-based standards] (j0l): Likewise.
36760         [non-C99-based standards] (j1l): Likewise.
36761         [non-C99-based standards] (jnl): Likewise.
36762         [non-C99-based standards] (lgammal): Likewise.
36763         [non-C99-based standards] (tgammal): Likewise.
36764         [non-C99-based standards] (y0l): Likewise.
36765         [non-C99-based standards] (y1l): Likewise.
36766         [non-C99-based standards] (ynl): Likewise.
36767         [non-C99-based standards] (isnanl): Likewise.
36768         [non-C99-based standards] (acoshl): Likewise.
36769         [non-C99-based standards] (asinhl): Likewise.
36770         [non-C99-based standards] (atanhl): Likewise.
36771         [non-C99-based standards] (cbrtl): Likewise.
36772         [non-C99-based standards] (expm1l): Likewise.
36773         [non-C99-based standards] (ilogbl): Likewise.
36774         [non-C99-based standards] (log1pl): Likewise.
36775         [non-C99-based standards] (logbl): Likewise.
36776         [non-C99-based standards] (nextafterl): Likewise.
36777         [non-C99-based standards] (remainderl): Likewise.
36778         [non-C99-based standards] (rintl): Likewise.
36779         [non-C99-based standards] (scalbl): Likewise.
36780         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36781         [non-C99-based standards] (FP_*): Do not allow.
36782         [C99-based standards] (FP_*): Change to
36783         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36784         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36785         allow.
36786         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36787         (SIG_ERR): Likewise.
36788         [X/Open-based standards] (SIG_HOLD): Likewise.
36789         (SIG_IGN): Likewise.
36790         (SIGABRT): Use macro-int-constant.  Specify type.  Require
36791         positive value.
36792         (SIGFPE): Likewise.
36793         (SIGILL): Likewise.
36794         (SIGINT): Likewise.
36795         (SIGSEGV): Likewise.
36796         (SIGTER): Likewise.
36797         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36798         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36799         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36800         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36801         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36802         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36803         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36804         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36805         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36806         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36807         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36808         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36809         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36810         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36811         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36812         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36813         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36814         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36815         [X/Open-based standards] (SIGTRAP): Likewise.
36816         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36817         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36818         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36819         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36820         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36821         allow.
36822
36823 2012-05-08  Ian Wienand  <ianw@vmware.com>
36824
36825         [BZ #14080]
36826         * time/tzset.c (__tzset_parse_tz): Update default rules for
36827         daylight time changes in the Energy Policy Act of 2005.
36828
36829 2012-05-09  Andreas Jaeger  <aj@suse.de>
36830
36831         [BZ #13983]
36832         * elf/ldconfig.c (parse_conf): Change string to make clear that
36833         ldconfig only issued a warning if ld.so.conf does not exist.
36834
36835 2012-05-08  David S. Miller  <davem@davemloft.net>
36836
36837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36838         movxtod instead of popping the value on the stack.
36839
36840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36841
36842 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
36843
36844         * config.h.in: Add HAVE_ARM_PCS_VFP.
36845
36846 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
36847
36848         [BZ #13979]
36849         * include/features.h: Warn if user requests __FORTIFY_SOURCE
36850         checking but the checks are disabled for any reason.
36851
36852 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
36853
36854         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36855         and ELF64_R_TYPE with ELFW(R_TYPE).
36856
36857 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
36858
36859         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36860         (ulimit): Likewise.
36861
36862         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36863         (settimeofday): Likewise.
36864
36865 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
36866
36867         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
36868         a struct th_u2 inside the union, and move tu_block/tu_code into
36869         a new th_u3 union of tu_block/tu_code inside of that.  Move
36870         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
36871         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
36872         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36873         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36874         (th_stuff): Change to th_u1.tu_stuff.
36875         (th_data): Define.
36876         (th_msg): Change to th_u1.th_u2.tu_data.
36877
36878 2012-05-07  David S. Miller  <davem@davemloft.net>
36879
36880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36881
36882         [BZ #14074]
36883         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36884         (SETUP_PIC_REG): Use it.
36885         (SETUP_PIC_REG_LEAF): Use it.
36886
36887 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
36888
36889         [BZ #13885]
36890         [BZ #13923]
36891         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36892         USE_AS_EXPM1L.
36893         (EXPL_FINITE): Likewise.
36894         (FLDLOG): Likewise.
36895         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36896         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36897         e_expl.S.
36898         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36899         USE_AS_EXPM1L.
36900         (EXPL_FINITE): Likewise.
36901         (FLDLOG): Likewise.
36902         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36903         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36904         e_expl.S.
36905         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
36906         test of -max_value argument for long double.
36907         * sysdeps/i386/fpu/libm-test-ulps: Update.
36908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36909
36910 2012-05-06  David S. Miller  <davem@davemloft.net>
36911
36912         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36913         quad soft-float symbols whose references which are compiler
36914         generated.
36915         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36916
36917 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
36918
36919         [BZ #13884]
36920         [BZ #13914]
36921         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36922         USE_AS_EXP10L.
36923         (EXPL_FINITE): Likewise.
36924         (FLDLOG): Likewise.
36925         (c0): Likewise.
36926         (c1): Likewise.
36927         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36928         Adjust comments for base varying.
36929         (__expl_finite): Change alias to EXPL_FINITE.
36930         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36931         e_expl.S.
36932         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36933         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36934         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36935         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36936         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36937         USE_AS_EXP10L.
36938         (EXPL_FINITE): Likewise.
36939         (FLDLOG): Likewise.
36940         (c0): Likewise.
36941         (c1): Likewise.
36942         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36943         Adjust comments for base varying.
36944         (__expl_finite): Change alias to EXPL_FINITE.
36945         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
36946         tests for bugs.
36947         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36948
36949         [BZ #14064]
36950         * math/libm-test.inc (check_float_internal): Correct ulp
36951         calculation for subnormal expected results.
36952
36953 2012-05-06  Andreas Jaeger  <aj@suse.de>
36954
36955         * Makeconfig (+math-flags): New, set to -frounding-math.
36956         (+cflags): Add +math-flags so that all of glibc gets compiled with
36957         it.
36958
36959         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36960
36961 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
36962
36963         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36964         Disable one test.
36965
36966         [BZ #13787]
36967         [BZ #13922]
36968         [BZ #14036]
36969         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36970         (__ieee754_expl): Allow for and saturate large arguments.
36971         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36972         (u_threshold): Likewise.
36973         (__exp): Call __ieee754_exp before checking for overflow and
36974         underflow.
36975         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36976         (u_threshold): Likewise.
36977         (__expf): Call __ieee754_expf before checking for overflow and
36978         underflow.
36979         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36980         (u_threshold): Likewise.
36981         (__expl): Call __ieee754_expl before checking for overflow and
36982         underflow.
36983         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36984         (__ieee754_expl): Allow for and saturate large arguments.
36985         * math/libm-test.inc (exp_test): Add another test.  Do not allow
36986         missing overflow exception on overflow.
36987         (expm1_test): Do not allow missing overflow exception on overflow.
36988
36989         * sysdeps/i386/fpu/e_expl.c: Move to ...
36990         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
36991         rather than using inline asm.
36992         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36993         * sysdeps/x86_64/fpu/e_expl.S: Copy from
36994         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36995
36996         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36997         (nice): Likewise.
36998         (poll): Likewise.
36999         (signal): Likewise.
37000         (time): Likewise.
37001         (times): Likewise.
37002
37003 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37004
37005         * sysdeps/unix/syscalls.list (adjtime): Add entry from
37006         sysdeps/unix/common/syscalls.list.
37007         (fchmod): Likewise.
37008         (fchown): Likewise.
37009         (ftruncate): Likewise.
37010         (getrusage): Likewise.
37011         (gettimeofday): Likewise.
37012         (setpgid): Likewise.
37013         (setregid): Likewise.
37014         (setreuid): Likewise.
37015         (sigaction): Likewise.
37016         (truncate): Likewise.
37017         (vhangup): Likewise.
37018         * sysdeps/unix/common/syscalls.list: Remove file.
37019         * sysdeps/unix/bsd/Implies: Don't include unix/common.
37020         * sysdeps/unix/sysv/linux/Implies: Likewise.
37021
37022 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
37023
37024         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37025         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37026         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37027         Moved to ...
37028         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37029         Here.
37030         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37031         to ...
37032         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37033         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37034         to ...
37035         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37036         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37037         to ...
37038         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37039         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37040         to ...
37041         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37042         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37043         to ...
37044         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37045         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37046         to ...
37047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37048         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37049         to ...
37050         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37051         Here.
37052         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37053         to ...
37054         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37055         Here.
37056         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37057         to ...
37058         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37059         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37060         Moved to ...
37061         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37062         Here.
37063         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37064         to ...
37065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37066
37067 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37068
37069         * sysdeps/unix/common/bits/dirent.h: Remove file.
37070         * sysdeps/unix/common/bits/fcntl.h: Likewise.
37071
37072         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37073         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37074         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37075         * sysdeps/unix/bsd/isatty.c: Likewise.
37076         * sysdeps/unix/bsd/tcdrain.c: Likewise.
37077         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37078         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37079
37080 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37081
37082         [BZ #13563]
37083         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37084         long double comparison inaccuracies.
37085         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37087
37088 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37089
37090         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37091         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37092
37093 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37094
37095         [BZ #14049]
37096         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37097         nonzero digits before rounding a hex value.
37098         * stdlib/tst-strtod.c (tests): Add another test.
37099
37100 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37101
37102         * sysdeps/s390/fpu/libm-test-ulps: Update.
37103
37104 2012-05-03  Andreas Jaeger  <aj@suse.de>
37105
37106         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37107         does not get optimized out.
37108         (malloc_opt_barrier): New.
37109
37110 2012-05-03  Andreas Jaeger  <aj@suse.de>
37111             Roland McGrath  <roland@hack.frob.com>
37112
37113         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37114         intermediate file deletion.
37115         (generated): Add .symlist files.
37116
37117 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37118
37119         [BZ #13775]
37120         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37121         Redirect under this condition.
37122         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37123         [__USE_GNU] (__dprintf_chk): Not under this condition.
37124         [__USE_GNU] (__vdprintf_chk): Likewise.
37125         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37126         under this condition.
37127         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37128         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37129         [__USE_XOPEN2K8] (vdprintf): Likewise.
37130         [__USE_GNU] (__dprintf_chk): Not under this condition.
37131         [__USE_GNU] (__vdprintf_chk): Likewise.
37132         [__USE_GNU] (dprintf): Likewise.
37133         [__USE_GNU] (vdprintf): Likewise.
37134
37135 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37136
37137         * elf/Makefile (common-generated): Set this instead of generated for
37138         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37139         $(all-built-dso)-derived lists.
37140
37141 2012-05-03  Andreas Jaeger  <aj@suse.de>
37142
37143         * sysdeps/i386/fpu/libm-test-ulps: Update.
37144
37145         * FAQ: Removed.
37146         * FAQ.in: Likewise.
37147         * scripts/gen-FAQ.pl: Likewise.
37148         * manual/install.texi (Installation): Point to online location of
37149         FAQ.
37150         * Makefile (files-for-dist): Remove FAQ.
37151         (FAQ): Remove.
37152
37153 2012-05-02  Allan McRae  <allan@archlinux.org>
37154
37155         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37156         (LDFLAGS-reldepmod5.so): Likewise.
37157         (LDFLAGS-reldep6mod1.so): Likewise.
37158         (LDFLAGS-reldep6mod4.so): Likewise.
37159         (LDFLAGS-reldep8mod3.so): Likewise.
37160         (LDFLAGS-unload4mod1.so): Likewise.
37161         (LDFLAGS-unload4mod2.so): Likewise.
37162         (LDFLAGS-tst-initorder): Likewise.
37163         (LDFLAGS-tst-initordera2.so): Likewise.
37164         (LDFLAGS-tst-initordera3.so): Likewise.
37165         (LDFLAGS-tst-initordera4.so): Likewise.
37166         (LDFLAGS-tst-initorderb2.so): Likewise.
37167         (LDFLAGS-noload): Likewise.
37168         (LDFLAGS-next): Likewise.
37169         (LDFLAGS-order2mod1.so): Likewise.
37170         (LDFLAGS-order2mod2.so): Likewise.
37171         (LDFLAGS-tst-initorder2): Likewise.
37172         (LDFLAGS-tst-initorder2a.so): Likewise.
37173         (LDFLAGS-tst-initorder2b.so): Likewise.
37174         (LDFLAGS-tst-initorder2c.so): Likewise.
37175         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37176
37177 2012-05-02  David S. Miller  <davem@davemloft.net>
37178
37179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37180
37181 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37182
37183         [BZ #14055]
37184         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37185
37186 2012-05-02  Andreas Jaeger  <aj@suse.de>
37187
37188         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37189         since we manipulate rounding mode.
37190         (CPPFLAGS-test-idouble.c): Likewise.
37191         (CPPFLAGS-test-ifloat.c): Likewise.
37192         (CFLAGS-test-ldouble.c): Likewise.
37193         (CFLAGS-test-double.c): Likewise.
37194         (CFLAGS-test-float.c): Likewise.
37195         (CFLAGS-test-misc.c): Likewise.
37196         (CFLAGS-test-test-fenv.c): Likewise.
37197
37198 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37199
37200         [BZ #2550]
37201         [BZ #2570]
37202         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37203         comparisons to determine direction to adjust input.
37204
37205 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37206
37207         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37208         output to the target.
37209
37210         * scripts/localplt.awk: New file.
37211         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37212         (check-localplt-CFLAGS): Variable removed.
37213         ($(all-built-dso:=.jmprel)): New static pattern rule.
37214         (generated): Add those targets.
37215         (localplt-built-dso): New variable.
37216         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37217
37218         * elf/check-localplt.c: File removed.
37219
37220         * scripts/check-execstack.awk: New file.
37221         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37222         (check-execstack-CFLAGS): Variable removed.
37223         ($(objpfx)check-execstack.h): Target removed.
37224         ($(objpfx)execstack-default): New target.
37225         (generated): Add that instead of check-execstack.h.
37226         ($(all-built-dso:=.phdr)): New static pattern rule.
37227         (generated): Add those targets.
37228         * elf/check-execstack.c: File removed.
37229
37230         * scripts/check-textrel.awk: New file.
37231         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37232         (check-textrel-CFLAGS): Variable removed.
37233         (all-built-dso): Use := to define.o
37234         ($(all-built-dso:=.dyn)): New static pattern rule.
37235         (generated): Add those targets.
37236         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37237         * config.make.in (READELF): New substituted variable.
37238         * elf/check-textrel.c: File removed.
37239
37240 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37241
37242         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37243         allow.
37244         * conform/data/ctype.h-data [C99-based standards] (isblank):
37245         Expect function.
37246         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37247         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37248         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37249         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37250         Specify type.  Require positive value.
37251         (EILSEQ): Likewise.
37252         (ERANGE): Likewise.
37253         [ISO || POSIX] (EILSEQ): Do not expect.
37254         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37255         Specify type.  Require positive value.
37256         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37257         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37258         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37259         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37260         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37261         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37262         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37263         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37264         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37265         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37266         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37267         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37268         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37269         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37270         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37271         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37272         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37273         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37274         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37275         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37276         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37277         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37278         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37279         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37280         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37281         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37282         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37283         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37284         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37285         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37286         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37287         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37288         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37289         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37290         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37291         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37292         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37293         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37294         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37295         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37296         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37297         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37298         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37299         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37300         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37301         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37302         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37303         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37304         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37305         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37306         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37307         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37308         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37309         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37310         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37311         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37312         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37313         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37314         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37315         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37316         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37317         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37318         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37319         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37320         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37321         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37322         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37323         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37324         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37325         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37326         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37327         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37328         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37329         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37330         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37331         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37332         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37333         Require >= 2.
37334         (FLT_ROUNDS): Expect as macro, not constant.
37335         (FLT_MANT_DIG): Use macro-int-constant.
37336         (DBL_MANT_DIG): Likewise.
37337         (LDBL_MANT_DIG): Likewise.
37338         (FLT_DIG): Likewise.
37339         (DBL_DIG): Likewise.
37340         (LDBL_DIG): Likewise.
37341         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37342         (DBL_MIN_EXP): Likewise.
37343         (LDBL_MIN_EXP): Likewise.
37344         (FLT_MAX_EXP): Use macro-int-constant.
37345         (DBL_MAX_EXP): Likewise.
37346         (LDBL_MAX_EXP): Likewise.
37347         (FLT_MAX_10_EXP): Likewise.
37348         (DBL_MAX_10_EXP): Likewise.
37349         (LDBL_MAX_10_EXP): Likewise.
37350         (FLT_MAX): Use macro-constant.
37351         (DBL_MAX): Likewise.
37352         (LDBL_MAX): Likewise.
37353         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37354         (DBL_EPSILON): Likewise.
37355         (LDBL_EPSILON): Likewise.
37356         (FLT_MIN): Likewise.
37357         (DBL_MIN): Likewise.
37358         (LDBL_MIN): Likewise.
37359         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37360         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37361         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37362         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37363         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37364         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37365         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37366         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37367         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37368         [ISO11] (FLT_TRUE_MIN): Likewise.
37369         [ISO11] (LDBL_TRUE_MIN): Likewise.
37370         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37371         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37372         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37373         (SCHAR_MAX): Likewise.
37374         (UCHAR_MAX): Likewise.
37375         (CHAR_MIN): Likewise.
37376         (CHAR_MAX): Likewise.
37377         (MB_LEN_MAX): Use macro-int-constant.
37378         (SHRT_MIN): Use macro-int-constant.  Specify type.
37379         (SHRT_MAX): Likewise.
37380         (USHRT_MAX): Likewise.
37381         (INT_MAX): Likewise.
37382         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37383         bound negative.
37384         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37385         bound with "U".
37386         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37387         bound with "L".
37388         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37389         bound negative.  Suffix upper bound with "L".
37390         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37391         bound with "UL".
37392         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37393         Specify type.
37394         [C99-based standards] (LLONG_MAX): Likewise.
37395         [C99-based standards] (ULLONG_MAX): Likewise.
37396         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37397         == 0.
37398         [ISO11] (max_align_t): Require type.
37399         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37400
37401         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37402         from $CFLAGS, without defining away __attribute__ calls.
37403         (checknamespace): Use $CFLAGS_namespace.
37404
37405         * conform/conformtest.pl (@keywords): Only include C99 keywords
37406         for standards based on C99 or C11.
37407
37408         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37409         Disable tests.
37410         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37411         UNIX98]: Likewise.
37412
37413         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37414         usability of symbols in #if.
37415
37416         * conform/conformtest.pl: If macro or constant types start
37417         "promoted:", expect the symbol to be of the following type
37418         promoted by the integer promotions.
37419
37420         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37421         in one place.  Also handle "macro-constant".
37422
37423         * conform/conformtest.pl: Only accept expected macro values with
37424         "==".  Parse all "macro" lines in one place.
37425         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37426
37427         * conform/conformtest.pl: Handle braced types on "constant" lines
37428         instead of handling "typed-constant".
37429         * conform/data/signal.h-data: Use "constant" instead of
37430         "typed-constant".
37431
37432         * conform/conformtest.pl: Handle "optional-" at start of lines in
37433         one place rather than duplicating several cases.  Handle each
37434         format of "macro" line with initial "optional-".
37435
37436         * conform/conformtest.pl: Only accept expected constant or
37437         optional-constant values with "==".  Parse all "constant" lines in
37438         one place.  Parse all "optional-constant" lines in one place.
37439         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37440         * conform/data/fmtmsg.h-data: Likewise.
37441         * conform/data/netinet/in.h-data: Likewise.
37442         * conform/data/tar.h-data: Likewise.
37443         * conform/data/limits.h-data: Use "==" form on "constant" and
37444         "optional-constant" lines.
37445
37446         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37447         Use -std=c99 for XOPEN2K.
37448         (@knownproblems): Remove.
37449         (newtoken): Don't check %isknown.
37450
37451         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37452         Do not expect macro.
37453         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37454         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37455         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37456         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37457         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37458         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37459         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37460         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37461         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37462         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37463         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37464         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37465         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37466         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37467         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37468         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37469         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37470         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37471         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37472         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37473         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37474         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37475         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37476         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37477         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37478         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37479         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37480         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37481         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37482         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37483         [XPG3] (acosh): Likewise.
37484         [XPG3] (asinh): Likewise.
37485         [XPG3] (atanh): Likewise.
37486         [XPG3] (cbrt): Likewise.
37487         [XPG3] (expm1): Likewise.
37488         [XPG3] (ilogb): Likewise.
37489         [XPG3] (log1p): Likewise.
37490         [XPG3] (logb): Likewise.
37491         [XPG3] (nextafter): Likewise.
37492         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37493         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37494         [XPG3] (remainder): Likewise.
37495         [XPG3] (rint): Likewise.
37496         [XPG3 || XPG4 || UNIX98] (round): Likewise.
37497         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37498         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37499         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37500         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37501         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37502         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37503         [UNIX98 || XOPEN2K] (scalb): Expect.
37504         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37505         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37506         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37507         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37508         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37509         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37510         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37511         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37512         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37513         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37514         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37515         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37516         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37517         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37518         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37519         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37520         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37521         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37522         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37523         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37524         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37525         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37526         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37527         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37528         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37529         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37530         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37531         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37532         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37533         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37534         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37535         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37536         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37537         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37538         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37539         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37540         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37541         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37542         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37543         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37544         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37545         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37546         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37547         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37548         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37549         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37550         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37551         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37552         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37553         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37554         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37555         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37556         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37557         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37558         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37559         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37560         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37561         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37562         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37563         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37564         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37565         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37566         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37567         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37568         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37569         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37570         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37571         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37572         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37573         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37574         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37575         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37576         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37577         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37578         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37579         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37580         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37581         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37582         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37583         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37584         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37585         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37586         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37587         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37588         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37589         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37590         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37591         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37592         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37593         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37594         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37595         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37596         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37597         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37598         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37599         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37600         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37601         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37602         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37603         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37604         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37605         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37606         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37607         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37608         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37609         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37610         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37611         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37612         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37613         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37614         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37615         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37616         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37617         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37618         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37619         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37620         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37621         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37622         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37623         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37624         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37625         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37626         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37627         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37628         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37629         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37630         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37631         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37632         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37633         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37634         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37635         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37636         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37637         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37638         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37639         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37640         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37641
37642         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37643         _XOPEN_SOURCE_EXTENDED for XPG4.
37644
37645         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37646
37647         * Makeconfig (localtime): Remove variable.
37648         (inst_localtime-file): Likewise.
37649
37650 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37651
37652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37653         Update.
37654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37655         Update.
37656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37657         Update.
37658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37659         Update.
37660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37661         Update.
37662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37663         Update.
37664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37665         Update.
37666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37667         Update.
37668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37669         Update.
37670
37671 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37672
37673         [BZ #2550]
37674         [BZ #2570]
37675         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37676         comparisons to determine direction to adjust input.
37677         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37678         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37679         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37680         Likewise.
37681         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37682         Likewise.
37683         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37684         Likewise.
37685         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37686         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37687         Likewise.
37688         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37689         Likewise.
37690         * math/libm-test.inc (nexttoward_test): Add more tests.
37691
37692 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37693
37694         [BZ #14040]
37695         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37696         in version GLIBC_2.1, not GLIBC_2.0.
37697         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37698         Likewise.
37699
37700 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
37701
37702         [BZ #13942]
37703         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37704         (1 - x) * (1 + x).
37705         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37706         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37707         * math/libm-test.inc (acos_test): Add more tests.
37708         (asin_test): Likewise.
37709         * sysdeps/i386/fpu/libm-test-ulps: Update.
37710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37711
37712         [BZ #14034]
37713         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37714         of square root.
37715         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37716         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37717         * math/libm-test.inc (acos_test_tonearest): New function.
37718         (acos_test_towardzero): Likewise.
37719         (acos_test_downward): Likewise.
37720         (acos_test_upward): Likewise.
37721         (asin_test_tonearest): Likewise.
37722         (asin_test_towardzero): Likewise.
37723         (asin_test_downward): Likewise.
37724         (asin_test_upward): Likewise.
37725         (main): Call the new functions.
37726         * sysdeps/i386/fpu/libm-test-ulps: Update.
37727         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37728
37729         [BZ #13884]
37730         [BZ #13924]
37731         * math/e_exp10.c: Include <float.h>.
37732         (__ieee754_exp10): Handle underflow here rather than multiplying
37733         large negative argument by M_LN10.
37734         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37735         of __ieee754_expf.
37736         * math/e_exp10l.c: Include <float.h>.
37737         (__ieee754_exp10l): Handle underflow here rather than multiplying
37738         large negative argument by M_LN10l.
37739         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
37740         spurious overflow exception on underflow.
37741
37742 2012-04-29  Marek Polacek  <polacek@redhat.com>
37743
37744         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37745         (__fortify_function): New macro.
37746         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37747         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37748         __extern_always_inline.
37749         * libio/bits/stdio2.h: Likewise.
37750         * libio/bits/stdio.h: Likewise.
37751         * string/string.h: Likewise.
37752         * string/bits/string3.h: Likewise.
37753         * include/stdio.h: Likewise.
37754         * stdlib/bits/stdlib.h: Likewise.
37755         * stdlib/stdlib.h: Likewise.
37756         * rt/bits/mqueue2.h: Likewise.
37757         * rt/mqueue.h: Likewise.
37758         * posix/bits/unistd.h: Likewise.
37759         * posix/unistd.h: Likewise.
37760         * io/bits/poll2.h: Likewise.
37761         * io/bits/fcntl2.h: Likewise.
37762         * io/fcntl.h: Likewise.
37763         * io/sys/poll.h: Likewise.
37764         * misc/bits/syslog.h: Likewise.
37765         * misc/bits/syslog-ldbl.h: Likewise.
37766         * misc/sys/syslog.h: Likewise.
37767         * socket/bits/socket2.h: Likewise.
37768         * socket/sys/socket.h: Likewise.
37769         * debug/tst-chk1.c: Likewise.
37770         * wcsmbs/bits/wchar2.h: Likewise.
37771         * wcsmbs/bits/wchar-ldbl.h: Likewise.
37772         * wcsmbs/wchar.h: Likewise.
37773
37774 2012-04-29  Andreas Jaeger  <aj@suse.de>
37775
37776         * Makerules (tests): Remove enable-check-abi protection.
37777         (check-abi-warn): Remove.
37778         (check-abi-%): Remove check-abi-warn usage.
37779
37780         * configure.in: Remove check-abi configure option.
37781         * configure: Regenerated.
37782         * config.make.in (enable-check-abi): Remove.
37783
37784 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
37785
37786         [BZ #14033]
37787         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37788         double functions to double *_finite functions.
37789
37790         [BZ #13941]
37791         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37792         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37793         LDBL_MIN_EXP.
37794         * stdio-common/Makefile (tests): Add tst-sprintf3.
37795         * stdio-common/tst-sprintf3.c: New file.
37796
37797         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37798         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37799
37800 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37801
37802         * conform/conformtest.pl: Remove duplicate typed-constant
37803         handling.
37804
37805 2012-04-28  David S. Miller  <davem@davemloft.net>
37806
37807         * Makerules (%.abilist): Add vpath on sysdep_dirs.
37808         (check-abi-%): Remove AWK script prerequisite and explicit
37809         abilist directory.
37810         (check-abi): Rewrite to just diff the symlist with the abilist.
37811         (config-tls, config-abi-config): Delete, no longer used.
37812         (update-abi-%): Remove AWK script and explicit abilist directory.
37813         (update-abi): Rewrite to simply compare and conditionally copy the
37814         symlist and the sysdep abilist file.  Remove update-abi-config
37815         checks.
37816         * abilist/ld.abilist: Remove.
37817         * abilist/libBrokenLocale.abilist: Remove.
37818         * abilist/libanl.abilist: Remove.
37819         * abilist/libcrypt.abilist: Remove.
37820         * abilist/libdl.abilist: Remove.
37821         * abilist/librt.abilist: Remove.
37822         * abilist/libthread_db.abilist: Remove.
37823         * abilist/libutil.abilist: Remove.
37824         * scripts/extract-abilist.awk: Remove.
37825         * scripts/merge-abilist.awk: Remove.
37826         * sysdeps/generic/libcidn.abilist: New file.
37827         * sysdeps/generic/libnss_compat.abilist: New file.
37828         * sysdeps/generic/libnss_db.abilist: New file.
37829         * sysdeps/generic/libnss_dns.abilist: New file.
37830         * sysdeps/generic/libnss_files.abilist: New file.
37831         * sysdeps/generic/libnss_hesiod.abilist: New file.
37832         * sysdeps/generic/libnss_nis.abilist: New file.
37833         * sysdeps/generic/libnss_nisplus.abilist: New file.
37834         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37835         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37836         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37837         file.
37838         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37839         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37840         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37841         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37842         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37843         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37844         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37845         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37846         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37847         file.
37848         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37849         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37850         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37851         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37852         file.
37853         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37854         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37855         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37856         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37857         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37858         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37859         file.
37860         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37861         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37862         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37863         file.
37864         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37865         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37866         New file.
37867         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37868         New file.
37869         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37870         New file.
37871         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37872         New file.
37873         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37874         New file.
37875         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37876         New file.
37877         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37878         New file.
37879         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37880         New file.
37881         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37882         New file.
37883         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37884         New file.
37885         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37886         New file.
37887         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37888         New file.
37889         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37890         New file.
37891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37892         file.
37893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37894         New file.
37895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37896         New file.
37897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37898         file.
37899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37900         New file.
37901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37902         New file.
37903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37904         file.
37905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37906         New file.
37907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37908         New file.
37909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37910         New file.
37911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37912         New file.
37913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37914         New file.
37915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37916         New file.
37917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37919         file.
37920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37921         New file.
37922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37923         file.
37924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37925         file.
37926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37927         file.
37928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37929         file.
37930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37931         file.
37932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37933         New file.
37934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37935         file.
37936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37937         file.
37938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37939         New file.
37940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37941         file.
37942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37944         file.
37945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37946         New file.
37947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37948         file.
37949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37950         file.
37951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37952         file.
37953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37954         file.
37955         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37956         file.
37957         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37958         New file.
37959         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37960         file.
37961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37962         file.
37963         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37964         New file.
37965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37966         file.
37967         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37968         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37969         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37970         file.
37971         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37972         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37973         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37974         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37975         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37976         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37977         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37978         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37979         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37980         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37983         file.
37984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37985         New file.
37986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37987         file.
37988         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37989         file.
37990         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37991         file.
37992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37993         file.
37994         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37995         file.
37996         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37997         New file.
37998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37999         New file.
38000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38001         file.
38002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38003         New file.
38004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38005         file.
38006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38008         file.
38009         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38010         New file.
38011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38012         file.
38013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38014         file.
38015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38016         file.
38017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38018         file.
38019         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38020         file.
38021         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38022         New file.
38023         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38024         New file.
38025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38026         file.
38027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38028         New file.
38029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38030         file.
38031
38032 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38033
38034         * conform/conformtest.pl: Fix typo in handling typed-constant from
38035         allow-header.
38036
38037 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38038
38039         * README: Cut down references to pre-2.6 Linux kernels and
38040         Linuxthreads.  Update lists of configurations in libc and ports
38041         and sort alphabetically.  Say "or newer" with Linux kernel version
38042         requirements.
38043
38044         * config.h.in [IS_IN_build]: Allow compiling without optimization.
38045
38046 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38047
38048         [BZ #887]
38049         * math/libm-test.inc (logb_test_downward): New test to expose
38050         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38051         rounding mode.
38052
38053 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38054
38055         [BZ #14027]
38056         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38057         to be done.
38058         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38059         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38060
38061 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
38062
38063         * sysdeps/unix/i386/brk.S: Remove file.
38064         * sysdeps/unix/i386/dl-brk.S: Likewise.
38065         * sysdeps/unix/i386/pipe.S: Likewise.
38066         * sysdeps/unix/i386/sigreturn.S: Likewise.
38067         * sysdeps/unix/i386/syscall.S: Likewise.
38068         * sysdeps/unix/i386/vfork.S: Likewise.
38069         * sysdeps/unix/i386/wait.S: Likewise.
38070
38071         * sysdeps/unix/common/tcsendbrk.c: Move to ...
38072         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38073
38074         * configure.in (arm*-none*): Do not allow without
38075         --enable-hacker-mode.
38076         (netbsd*): Remove case setting base_os.
38077         (386bsd*): Likewise.
38078         (freebsd*): Likewise.
38079         (bsdi*): Likewise.
38080         (osf*): Likewise.
38081         (sunos*): Likewise.
38082         (ultrix*): Likewise.
38083         (newsos*): Likewise.
38084         (dynix*): Likewise.
38085         (*bsd*): Likewise.
38086         (sysv*): Likewise.
38087         (isc*): Likewise.
38088         (esix*): Likewise.
38089         (sco*): Likewise.
38090         (minix*): Likewise.
38091         (irix4*): Likewise.
38092         (irix6*): Likewise.
38093         (solaris[2-9]*): Likewise.
38094         (none): Likewise.
38095         * configure: Regenerated.
38096
38097 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38098
38099         [BZ #11521]
38100         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38101         overflow or cancellation in calculating denominator.
38102         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38103         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38104         down expression to avoid unexpected rounding in newer GCCs.
38105         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38106
38107 2012-04-26  David S. Miller  <davem@davemloft.net>
38108
38109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38110         long-double compat symbols.
38111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38124
38125 2012-04-25  David S. Miller  <davem@davemloft.net>
38126
38127         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38128         HWCAP_* values only after the memory barriers have been defined.
38129         (atomic_full_barrier): Define.
38130         (atomic_read_barrier): Define.
38131         (atomic_write_barrier): Define.
38132
38133 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38134
38135         * shlib-versions: Add libgcc_s version information.
38136         * sysdeps/generic/libgcc_s.h: Remove.
38137         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38138         libgcc_s.h.
38139         * sysdeps/gnu/unwind-resume.c: Likewise.
38140         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38141
38142 2012-04-25  David S. Miller  <davem@davemloft.net>
38143
38144         * sysdeps/unix/sparc/brk.S: Delete.
38145         * sysdeps/unix/sparc/dl-brk.S: Delete.
38146         * sysdeps/unix/sparc/pipe.S: Delete.
38147         * sysdeps/unix/sparc/sysdep.S: Delete.
38148         * sysdeps/unix/sparc/sysdep.h: Delete.
38149         * sysdeps/unix/sparc/vfork.S: Delete.
38150         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38151         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38152         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38153         (ret_ERRVAL, r0, r1, MOVE): Define.
38154         (JUMPTARGET): Remove.
38155         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38156         sysdeps/unix/sparc/sysdep.h
38157         (ENTRY, END): Remove.
38158         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38159
38160 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38161
38162         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38163         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38164         -DIS_IN_build.
38165
38166         * timezone/README: Update upstream location and email address for
38167         tzcode and tzdata.
38168         * timezone/zdump.c: Update from tzcode 2012b.
38169         * timezone/zic.c: Likewise.
38170
38171         * configure.in (libc_cv_as_needed): Remove test.
38172         * configure: Regenerated.
38173         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38174         conditional definition.
38175         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38176         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38177         * config.make.in (have-as-needed): Remove variable.
38178
38179 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38180             Paul Pluzhnikov  <ppluzhnikov@google.com>
38181
38182         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38183         strings correctly.
38184
38185 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38186
38187         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38188         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38189         * sysdeps/sh/strlen.S: Likewise.
38190
38191 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38192
38193         * sysdeps/unix/fork.S: Remove file.
38194         * sysdeps/unix/i386/fork.S: Likewise.
38195         * sysdeps/unix/sparc/fork.S: Likewise.
38196
38197         * sysdeps/unix/system.c: Remove file.
38198         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38199
38200         * sysdeps/unix/getegid.S: Remove file.
38201         * sysdeps/unix/geteuid.S: Likewise.
38202
38203 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38204
38205         * scripts/check-localplt.awk: New file.
38206         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38207         of diff.
38208         * scripts/data/localplt-generic.data: Add a comment.
38209
38210         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38211         NODE when __dir_mkfile failed.
38212         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38213         Reported by Ludovic Courtès <ludo@gnu.org>.
38214
38215 2012-04-24  Andreas Jaeger  <aj@suse.de>
38216
38217         * Makerules (common-clean): Also remove gen-as-const-headers
38218         files.
38219
38220 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38221
38222         * Makerules (native-compile): Do not change working directory for
38223         build.  Use $(OUTPUT_OPTION) in command.
38224         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38225
38226 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38227
38228         [BZ #13886]
38229         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38230         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38231         * math/libm-test.inc (floor_test): Add more tests.
38232         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38233
38234 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38235
38236         * sysdeps/unix/getdents.c: Remove file.
38237         * sysdeps/unix/sysv/getdents.c: Likewise.
38238         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38239
38240         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38241         sysdeps/unix/mman/syscalls.list.
38242         (mmap): Likewise.
38243         (mprotect): Likewise.
38244         (msync): Likewise.
38245         (munmap): Likewise.
38246         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38247         * sysdeps/unix/mman/syscalls.list: Remove.
38248         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38249
38250         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38251         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38252         * configure: Regenerated.
38253         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38254         $(libgcc_s_suffix).
38255         * config.make.in (libgcc_s_suffix): Remove variable.
38256
38257 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38258
38259         * sysdeps/unix/sysv/gethostname.c: Move to ...
38260         * sysdeps/posix/gethostname.c: ... here.
38261
38262         * sysdeps/unix/execve.S: Remove file.
38263
38264         * sysdeps/unix/_exit.S: Remove file.
38265
38266 2012-04-23  Andreas Jaeger  <aj@suse.de>
38267
38268         [BZ #13739]
38269         * manual/Makefile: Remove make dist support, there's no
38270         need for a stand-alone documentation tar ball.
38271         (TEXI2DVI): Define always, it's not in Makeconfig.
38272         (dist): Removed.
38273         (tar-it): Removed.
38274         (edition): Removed.
38275         (glibc-doc-$(edition).tar): Removed
38276         (%.Z): Removed.
38277         (%.gz): Removed.
38278         (%.uu): Removed.
38279         (ETAGS): Remove, it's in Makeconfig.
38280         (move-if-change): Remove, it's in Makeconfig.
38281
38282 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38283
38284         [BZ #13970]
38285         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38286         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38287         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38288         (strtod_l, strtof_l, strtold_l): Remove __wur.
38289         It is not necessarily an error to ignore strtol's return value.
38290         One can reliably look at the stored endptr to decide whether
38291         the number had valid syntax.
38292
38293 2012-04-21  Andreas Jaeger  <aj@suse.de>
38294
38295         [BZ #13739]
38296         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38297
38298 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38299
38300         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38301         * sysdeps/unix/sysv/Versions: Remove file.
38302
38303 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38304
38305         [BZ #13927]
38306         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38307
38308 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38309
38310         [BZ #7064]
38311         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38312         version from __vm86.
38313
38314 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38315
38316         * sysdeps/unix/common/lxstat.c: Remove file.
38317         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38318
38319         * sysdeps/unix/sysv/Makefile: Remove file.
38320
38321         * sysdeps/unix/sysv/direct.h: Remove file.
38322
38323         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38324         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38325         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38326         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38327         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38328         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38329         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38330
38331         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38332
38333         * sysdeps/unix/xmknod.c: Remove file.
38334         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38335
38336         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38337
38338         * sysdeps/unix/sysv/i386/time.S: Remove file.
38339
38340         * sysdeps/unix/fxstat.c: Remove file.
38341         * sysdeps/unix/xstat.c: Likewise.
38342         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38343
38344         * sysdeps/unix/sysv/sigaction.c: Remove file.
38345
38346         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38347         (sysdep_headers): Remove variable.
38348         [termio.h not in sysdep_headers] (generated): Likewise.
38349         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38350         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38351         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38352         * sysdeps/unix/sysv/tcflow.c: Likewise.
38353         * sysdeps/unix/sysv/tcflush.c: Likewise.
38354         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38355         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38356         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38357         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38358         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38359
38360         * sysdeps/unix/siglist.c: Remove file.
38361
38362         * sysdeps/unix/getppid.S: Remove file.
38363
38364         * sysdeps/unix/mkdir.c: Remove file.
38365         * sysdeps/unix/rmdir.c: Likewise.
38366
38367 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38368
38369         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38370         ERR_MAX value.
38371         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38372         errlist-compat value.
38373
38374 2012-04-18  David S. Miller  <davem@davemloft.net>
38375
38376         * sysdeps/generic/memcopy.h (reg_char): Delete.
38377         * debug/strcat_chk.c: Use char, not reg_char.
38378         * debug/strcpy_chk.c: Likewise.
38379         * debug/strncat_chk.c: Likewise.
38380         * debug/strncpy_chk.c: Likewise.
38381         * string/memchr.c: Likewise.
38382         * string/memrchr.c: Likewise.
38383         * string/rawmemchr.c: Likewise.
38384         * string/strcat.c: Likewise.
38385         * string/strchr.c: Likewise.
38386         * string/strchrnul.c: Likewise.
38387         * string/strcmp.c: Likewise.
38388         * string/strcpy.c: Likewise.
38389         * string/strncat.c: Likewise.
38390         * string/strncmp.c: Likewise.
38391         * string/strncpy.c: Likewise.
38392
38393 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38394
38395         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38396         __builtin_memcopy is called when src and dest ranges are known to not
38397         overlap.
38398
38399 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38400
38401         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38402         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38403         fwd_align_merge macro call.
38404         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38405         bwd_align_merge macro call.
38406         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38407
38408 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38409
38410         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38411         bwd_align_merge macros.
38412         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38413         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38414         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38415
38416 2012-04-18  David S. Miller  <davem@davemloft.net>
38417
38418         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38419
38420 2012-04-18  Andreas Jaeger  <aj@suse.de>
38421
38422         [BZ# 6794]
38423         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38424         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38425         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38426
38427         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38428         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38429         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38430
38431         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38432         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38433         Adjust for changed ldbl-128 files.
38434
38435         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38436         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38437         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38438
38439 2012-04-17  David S. Miller  <davem@davemloft.net>
38440
38441         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38442
38443 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38444
38445         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38446         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38447         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38448         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38449         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38450         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38451
38452 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38453
38454         [BZ #6794]
38455         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38456         * math/libm-test.inc: Add ilogb errno and exception tests.
38457         * math/w_ilogb.c: New file: ilogb wrapper.
38458         * math/w_ilogbf.c: New file: ilogbf wrapper.
38459         * math/w_ilogbl.c: New file: ilogbl wrapper.
38460         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38461         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38462         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38463         exception being thrown with 0.0 as argument.
38464         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38465         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38466         exception being thrown with 0.0 as argument.
38467         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38468         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38469         exception being thrown with 0.0 as argument.
38470         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38471         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38472         exception being thrown with 0.0 as argument.
38473         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38474         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38475         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38476         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38477         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38478         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38479         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38480         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38481         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38482
38483 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38484
38485         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38486         with altivec.
38487
38488 2012-04-16  Marek Polacek  <polacek@redhat.com>
38489
38490         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38491
38492 2012-04-16  Marek Polacek  <polacek@redhat.com>
38493
38494         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38495         operands of fdivp instruction.
38496
38497 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38498
38499         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38500         * elf/tst-auditmod3b.c: Likewise.
38501         * elf/tst-auditmod4b.c: Likewise.
38502         * elf/tst-auditmod5b.c: Likewise.
38503         * elf/tst-auditmod6b.c: Likewise.
38504         * elf/tst-auditmod6c.c: Likewise.
38505         * elf/tst-auditmod7b.c: Likewise.
38506         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38507         * sysdeps/x86_64/preconfigure.in: Likewise.
38508         * sysdeps/x86_64/preconfigure: Regenerated.
38509
38510 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38511
38512         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38513         __ILP32__.
38514
38515 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
38516
38517         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38518         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38519
38520 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
38521
38522         [BZ #13973]
38523         * locale/iso-639.def: Fix gl language name. Spotted by
38524         Yaron Shahrabani.
38525
38526 2012-04-12  Roland McGrath  <roland@hack.frob.com>
38527
38528         [BZ #2074]
38529         * libio/libio.h (__io_write_fn): Update comment.
38530
38531 2012-04-12  Petr Baudis  <pasky@ucw.cz>
38532
38533         [BZ #2074]
38534         * stdio.texi (Hook Functions): The user provided writer function
38535         is not allowed to return -1.
38536
38537 2012-04-11  David S. Miller  <davem@davemloft.net>
38538
38539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38540
38541 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
38542
38543         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38544         Add a leading slash to rtkaio.
38545
38546 2012-04-11  Jim Meyering  <meyering@redhat.com>
38547
38548         [BZ #11959]
38549         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38550         It is not necessarily an error to ignore fwrite's return
38551         value.  One can reliably use ferror to test for errors after
38552         the fact.
38553
38554 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38555
38556         * bits/types.h (__snseconds_t): New type.
38557         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38558
38559         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38560         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38561         (__SNSECONDS_T_TYPE): Likewise.
38562         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38563         (__SNSECONDS_T_TYPE): Likewise.
38564         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38565         (__SNSECONDS_T_TYPE): Likewise.
38566
38567 2012-04-10  Andreas Jaeger  <aj@suse.de>
38568
38569         [BZ #2636]
38570         * manual/time.texi (Processor Time): Return type of times is
38571         elapsed real time since an arbitrary point in the past.
38572         (CPU Time): Move CLK_TCK from here...
38573         (Processor Time): ...to here.  Correct description.
38574         * manual/conf.texi (Constants for Sysconf): Correct description of
38575         _SC_CLK_TCK.
38576
38577 2012-04-10  David S. Miller  <davem@davemloft.net>
38578
38579         [BZ #13967]
38580         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38581         where the is a gap between DT_REL(A) and DT_JMPREL.
38582
38583 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38584
38585         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38586         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38587         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38588
38589 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38590
38591         * elf/dl-support.c (_dl_inhibit_cache): New variable.
38592         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38593         (dl_main): Handle --inhibit-cache.
38594         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38595         _dl_inhibit_cache.
38596         * elf/dl-load.c (_dl_map_object): Use it.
38597         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38598
38599 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38600
38601         [BZ #13872]
38602         * sysdeps/i386/fpu/e_powl.S (p78): New object.
38603         (__ieee754_powl): Saturate large exponents rather than testing for
38604         overflow of y*log2(x).
38605         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38606         * math/libm-test.inc (pow_test): Do not permit spurious overflow
38607         exceptions.
38608
38609         [BZ #11521]
38610         * math/s_ctan.c: Include <float.h>.
38611         (__ctan): Avoid internal overflow or cancellation in calculating
38612         denominator.
38613         * math/s_ctanf.c: Likewise.
38614         * math/s_ctanl.c: Likewise.
38615         * math/s_ctanh.c: Likewise.
38616         * math/s_ctanhf.c: Likewise.
38617         * math/s_ctanhl.c: Likewise.
38618         * math/libm-test.inc (ctan_test): Add more tests.
38619         (ctanh_test): Likewise.
38620         * sysdeps/i386/fpu/libm-test-ulps: Update.
38621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38622
38623 2012-04-09  Andreas Jaeger  <aj@suse.de>
38624
38625         [BZ #6894]
38626         * manual/filesys.texi (Directory Entries): Mention that d_namlen
38627         is an optional BSD extension.
38628
38629         [BZ #10254]
38630         * manual/stdio.texi (Opening Streams): Document additional fopen
38631         parameters.
38632
38633 2012-04-09  Roland McGrath  <roland@hack.frob.com>
38634
38635         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38636         %eax without telling the compiler.
38637
38638 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
38639
38640         [BZ # 13963]
38641         * manual/install.texi: Use sourceware.org.
38642
38643 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38644
38645         [BZ #13873]
38646         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38647         (__ieee754_pow): Generate overflow and underflow using huge*huge
38648         and tiny*tiny rather than just returning constant infinity or zero
38649         for large exponents.
38650         * math/libm-test.inc (pow_test): Require overflow exceptions for
38651         applicable cases of large exponents.
38652
38653         [BZ #706]
38654         * sysdeps/i386/fpu/e_pow.S (p10): New object.
38655         (__ieee754_pow): Use iterative multiplication algorithm only for
38656         integer exponents with absolute value below 1024.  Check for odd
38657         integer exponents when using algorithm for real exponents.
38658         * math/libm-test.inc (pow_test): Add more tests.
38659         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38660
38661 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
38662
38663         [BZ #13705]
38664         * math/libm-test.inc (exp_test): Do not allow overflow exception
38665         on underflow test.
38666
38667 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
38668
38669         [BZ #13705]
38670         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38671         instead of __kernel_standard_f.
38672
38673 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
38674
38675         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38676         * sysdeps/x86_64/memset_chk.S: Likewise.
38677
38678 2012-04-08  Andreas Jaeger  <aj@suse.de>
38679
38680         [BZ #10153]
38681         * manual/startup.texi (Environment Access): Describe return value
38682         for putenv and setenv.
38683
38684         [BZ #6895]
38685         * manual/filesys.texi (Directory Entries): Add description for
38686         DT_LNK.
38687
38688         [BZ #6890]
38689         * manual/filesys.texi (Directory Entries): Clarify that it's file
38690         system not operating system in the description of DT_UNKNOWN.
38691
38692         [BZ #6578]
38693         * manual/syslog.texi (closelog): Fix reference, it's openlog.
38694
38695 2012-04-08  Stephen Compall  <s11@member.fsf.org>
38696
38697         [BZ #6649]
38698         * manual/llio.texi (Opening and Closing Files): Add cross
38699         reference to explain mode argument.
38700
38701 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
38702
38703         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38704         * sysdeps/x86_64/memset_chk.S: Likewise.
38705
38706 2012-04-07  David S. Miller  <davem@davemloft.net>
38707
38708         * elf/elf.h (R_SPARC_WDISP10): Define.
38709         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38710         R_SPARC_SIZE32.
38711         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38712         R_SPARC_SIZE64 and R_SPARC_H34.
38713
38714 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
38715
38716         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38717         conditions and remove no longer applicable assertion.
38718
38719 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38720
38721         * bits/byteswap.h: Include <features.h>.
38722         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38723         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38724
38725 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38726
38727         * bits/byteswap.h (__bswap_16): Removed.
38728         Include <bits/byteswap-16.h> to get __bswap_16.
38729         * sysdeps/i386/bits/byteswap.h: Likewise.
38730         * sysdeps/s390/bits/byteswap.h: Likewise.
38731         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38732         * bits/byteswap-16.h: New file.
38733         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38734         * sysdeps/s390/bits/byteswap-16.h: Likewise.
38735         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38736         * string/Makefile (headers): Add bits/byteswap-16.h.
38737
38738 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38739
38740         [BZ #13895]
38741         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38742         extra indirection.
38743         * nss/Makefile (tests-static, tests): Add tst-nss-static.
38744         * nss/tst-nss-static.c: New.
38745
38746 2012-04-06  Robert Millan  <rmh@gnu.org>
38747
38748         [BZ #6486]
38749         * manual/llio.texi (File Position Primitive): lseek
38750         refers to WHENCE when it really means OFFSET.
38751
38752 2012-04-06  Andreas Jaeger  <aj@suse.de>
38753
38754         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38755         strncmp declarations.
38756
38757         * abilist/libc.abilist: Add __poll and __ppoll.
38758
38759 2012-04-05  David S. Miller  <davem@davemloft.net>
38760
38761         * scripts/check-local-headers.sh: Accept a host triplet in the
38762         path matched by the exclude regexp.
38763
38764         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38765         definition.
38766         * sysdeps/powerpc/powerpc32/dl-machine.h
38767         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38768         * sysdeps/s390/s390-32/dl-machine.h
38769         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38770         * sysdeps/sparc/sparc32/dl-machine.h
38771         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38772         * sysdeps/sparc/sparc64/dl-machine.h
38773         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38774
38775         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38776         lazy binding.
38777         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38778         undefined symbol errors.
38779
38780         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38781         DT_NEEDED entries.
38782
38783 2012-04-05  Michael Matz  <matz@suse.de>
38784
38785         [BZ #13592]
38786         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38787
38788 2012-04-05  Andreas Jaeger  <aj@suse.de>
38789
38790         [BZ #13908]
38791         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38792         comment.
38793
38794 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38795
38796         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38797         which ROUND is no valid rounding mode.
38798
38799 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38800
38801         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38802         read again.
38803         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38804
38805 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38806
38807         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38808         an exception using FPU order intentionally.
38809
38810 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38811
38812         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38813         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38814         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38815         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38816
38817 2012-04-05  Simon Josefsson  <simon@josefsson.org>
38818
38819         [BZ #12340]
38820         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38821         EINVAL when BUFLEN is too smal.
38822
38823 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38824
38825         [BZ #13553]
38826         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38827         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38828
38829 2012-04-03  Andreas Jaeger  <aj@suse.de>
38830
38831         [BZ #13938]
38832         * manual/setjmp.texi (System V contexts): Fix sentence.
38833
38834         [BZ #13926]
38835         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38836         New macro for this case.
38837         [!__GNUC__] (__bswap_64): New inline function for this case.
38838         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38839         * bits/byteswap.h: Likewise.
38840         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38841         ull, guard with __GLIBC_HAVE_LONG_LONG.
38842
38843         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38844         __GLIBC_HAVE_LONG_LONG.
38845
38846         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38847         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38848
38849 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38850
38851         [BZ #13691]
38852         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38853         inptr and inend, rather than using last_ch.
38854
38855 2012-04-02  David S. Miller  <davem@davemloft.net>
38856
38857         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38858         * stdio-common/printf-parse.h (read_int): Change return type to
38859         'int', return -1 on INT_MAX overflow.
38860         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38861         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
38862         overflows INT_MAX.  Check for overflow of in-format-string precision
38863         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
38864         SIZE_MAX not INT_MAX for integer overflow test.
38865         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38866         skip the construct in the format string but do not record anything.
38867         * stdio-common/bug22.c: Adjust to test both width/prevision
38868         INT_MAX overflow as well as total length INT_MAX overflow.  Check
38869         explicitly for proper errno values.
38870
38871 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
38872
38873         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38874         CHAR_MAX.
38875         * string/test-strcmp.c [! WIDE]: Likewise.
38876         * time/tst-mktime2.c: Likewise for INT_MAX.
38877         * string/test-string.h: #include <sys/param.h> for MIN.
38878
38879         * csu/init-first.c (__libc_init_first): Call __ctype_init.
38880         * sysdeps/i386/init-first.c (init): Likewise.
38881         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38882         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38883         * sysdeps/sh/init-first.c (init): Likewise.
38884
38885 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
38886
38887         * po/ru.po: Update from translation team.
38888         * po/vi.po: Likewise.
38889
38890 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38891
38892         * resolv/nss_dns/dns-host.c: Merge copyright years.
38893
38894 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38895
38896         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38897         Optimize memcpy with prefetch if
38898         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
38899         src, dst pointers have unequal 16 byte alignments.
38900
38901 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38902
38903         [BZ #13928]
38904         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38905         from a CNAME entry and return the minimum ttl for the query.
38906         (gaih_getanswer_slice): Likewise.
38907
38908 2012-03-30  Jeff Law  <law@redhat.com>
38909
38910         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38911         due to long keys.
38912         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38913         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38914
38915         * resolv/nss_dns/dns-host.c: Update copyright year.
38916
38917 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
38918
38919         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38920         requests to save a system call.  Fix check that all bytes are sent.
38921
38922         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38923         comments for sendmmsg.
38924
38925 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38926
38927         [BZ #13691]
38928         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38929         with only 1 character between 0x0041 and 0x01b0.
38930         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38931         * wcsmbs/tst-mbsnrtowcs.c: New file.
38932
38933 2012-03-29  David S. Miller  <davem@davemloft.net>
38934
38935         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38936         small copies by hand.
38937
38938 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38939
38940         [BZ #13761]
38941         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38942         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38943         group memberships.
38944
38945 2012-03-28  David S. Miller  <davem@davemloft.net>
38946
38947         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38948         that branches into memcpy.
38949         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38950         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38951         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38952         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38953         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38954         bits.
38955         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38956         implementation too.
38957         * sysdeps/sparc/mempcpy.S: New file.
38958
38959         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38960         the IFUNC routine in the libc case.
38961         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38962
38963         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38964         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38965         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38966         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38967         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38968         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38969         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38970         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38971
38972         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38973         loop to 256 bytes instead of 64 bytes and fix test signedness.
38974
38975         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38976         * sysdeps/sparc/sparc32/Makefile: rather than here...
38977         * sysdeps/sparc/sparc64/Makefile: and here.
38978
38979 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
38980
38981         * malloc/mallocbug.c: Avoid warnings about unused variables.
38982
38983 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38984
38985         [BZ #13760]
38986         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38987         in the right place. Discard and retry query if response is
38988         larger than input buffer size.
38989
38990 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
38991
38992         [BZ #369]
38993         [BZ #2678]
38994         [BZ #3866]
38995         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38996         x for large integer exponent.
38997         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38998         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
38999         sign of result as needed afterwards.
39000         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39001         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39002         result for underflowing pow the same as for overflow.
39003         (__kernel_standard_l): Handle powl overflow and underflow here
39004         rather than calling __kernel_standard.
39005         * math/libm-test.inc (pow_test): Add more tests.
39006
39007         [BZ #3868]
39008         [BZ #13879]
39009         [BZ #13910]
39010         [BZ #13911]
39011         [BZ #13912]
39012         [BZ #13913]
39013         [BZ #13915]
39014         [BZ #13916]
39015         [BZ #13917]
39016         [BZ #13918]
39017         [BZ #13919]
39018         [BZ #13920]
39019         [BZ #13921]
39020         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39021         * sysdeps/ieee754/k_standard.c: Include <float.h>.
39022         (__kernel_standard_l): New function.
39023         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39024         __kernel_standard.
39025         * math/w_acosl.c (__acosl): Likewise.
39026         * math/w_asinl.c (__asinl): Likewise.
39027         * math/w_atan2l.c (__atan2l): Likewise.
39028         * math/w_atanhl.c (__atanhl): Likewise.
39029         * math/w_coshl.c (__coshl): Likewise.
39030         * math/w_exp10l.c (__exp10l): Likewise.
39031         * math/w_exp2l.c (__exp2l): Likewise.
39032         * math/w_fmodl.c (__fmodl): Likewise.
39033         * math/w_hypotl.c (__hypotl): Likewise.
39034         * math/w_j0l.c (__j0l, __y0l): Likewise.
39035         * math/w_j1l.c (__j1l, __y1l): Likewise.
39036         * math/w_jnl.c (__jnl, __ynl): Likewise.
39037         * math/w_lgammal.c (__lgammal): Likewise.
39038         * math/w_log10l.c (__log10l): Likewise.
39039         * math/w_log2l.c (__log2l): Likewise.
39040         * math/w_logl.c (__logl): Likewise.
39041         * math/w_powl.c (__powl): Likewise.
39042         * math/w_remainderl.c (__remainderl): Likewise.
39043         * math/w_scalbl.c (sysv_scalbl): Likewise.
39044         * math/w_sinhl.c (__sinhl): Likewise.
39045         * math/w_sqrtl.c (__sqrtl): Likewise.
39046         * math/w_tgammal.c (__tgammal): Likewise.
39047         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39048         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39049         * math/libm-test.inc (acos_test): Add more tests.
39050         (acosh_test): Likewise.
39051         (asin_test): Likewise.
39052         (atanh_test): Likewise.
39053         (exp_test): Likewise.
39054         (exp10_test): Likewise.
39055         (exp2_test): Likewise.
39056         (expm1_test): Likewise.
39057         (lgamma_test): Likewise.
39058         (log_test): Likewise.
39059         (log10_test): Likewise.
39060         (log1p_test): Likewise.
39061         (log2_test): Likewise.
39062         (pow_test): Do not allow some spurious overflow exceptions.
39063         (sqrt_test): Add more tests.
39064         (tgamma_test): Likewise.
39065         (y0_test): Likewise.
39066         (y1_test): Likewise.
39067         (yn_test): Likewise.
39068
39069 2012-03-27  Anton Blanchard  <anton@samba.org>
39070
39071         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39072         MAP_HUGETLB.
39073         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39074         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39075         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39076
39077 2012-03-27  David S. Miller  <davem@davemloft.net>
39078
39079         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39080
39081         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39082         have-as-vis3 check.
39083
39084 2012-03-27  Andreas Jaeger  <aj@suse.de>
39085
39086         * sysdeps/x86_64/elf/configure.in: Moved to ...
39087         * sysdeps/x86_64/configure.in: ... here.
39088         * sysdeps/x86_64/elf/start.S: Moved to ...
39089         * sysdeps/x86_64/start.S: ... here.
39090         * sysdeps/x86_64/elf/configure: Delete.
39091
39092         * sysdeps/x86_64/configure.in: Merge contents from
39093         sysdeps/i386/configure.in (without i686 check).
39094
39095         * sysdeps/i386/elf/Versions: Merge into ...
39096         * sysdeps/i386/Versions: ... this.
39097         * sysdeps/i386/elf/Versions: Delete file.
39098         * sysdeps/i386/elf/start.S: Moved to ...
39099         * sysdeps/i386/start.S: ...here.
39100         * sysdeps/i386/elf/configure.in: Merge into...
39101         * sysdeps/i386/configure.in: ...here.
39102         * sysdeps/i386/elf/configure.in: Delete file.
39103         * sysdeps/i386/elf/configure: Delete file.
39104
39105         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39106         * debug/backtracesyms.c: ... here.
39107         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39108         * debug/backtracesymsfd.c: ... here.
39109         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39110         * sysdeps/generic/ifunc-sel.h: ... here.
39111
39112         * sysdeps/unix/i386/start.c: Delete file.
39113         * sysdeps/unix/sparc/start.c: Delete file.
39114         * sysdeps/unix/start.c: Delete file.
39115
39116         * sysdeps/sh/elf/configure.in: Moved to ...
39117         * sysdeps/sh/configure.in: ... here.
39118         * sysdeps/sh/elf/start.S: Moved to ...
39119         * sysdeps/sh/start.S: ... here.
39120         * sysdeps/sh/elf/configure: Delete file.
39121
39122         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39123         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39124         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39125         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39126         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39127         * sysdeps/powerpc/powerpc64/start.S: here.
39128         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39129         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39130         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39131         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39132         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39133
39134         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39135         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39136         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39137         * sysdeps/powerpc/powerpc32/start.S: ... here.
39138         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39139         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39140         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39141
39142         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39143         * sysdeps/powerpc/ifunc-sel.h: ... here.
39144         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39145         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39146
39147         * sysdeps/sparc/elf/configure.in: Moved to ...
39148         * sysdeps/sparc/configure.in: ... here.
39149         * sysdeps/sparc/elf/configure: Delete file.
39150         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39151         * sysdeps/sparc/sparc32/start.S: ... here.
39152         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39153         * sysdeps/sparc/sparc64/start.S: ... here.
39154         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39155         * sysdeps/sparc/sparc32/Makefile: ... this.
39156         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39157         * sysdeps/sparc/sparc64/Makefile: ... this.
39158
39159         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39160         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39161         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39162         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39163         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39164         * sysdeps/s390/s390-32/setjmp.S: ... here.
39165         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39166         * sysdeps/s390/s390-32/configure.in: ... here.
39167         * sysdeps/s390/s390-32/elf/configure: Delete file.
39168         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39169         * sysdeps/s390/s390-32/start.S: ... here.
39170
39171         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39172         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39173         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39174         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39175         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39176         * sysdeps/s390/s390-64/setjmp.S: ... here.
39177         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39178         * sysdeps/s390/s390-64/configure.in: ... here
39179         * sysdeps/s390/s390-64/elf/configure: Delete file.
39180         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39181         * sysdeps/s390/s390-64/start.S: ... here.
39182         * sysdeps/s390/s390-64/elf/configure: Delete.
39183
39184         * configure.in: Remove support for elf directories in sysdeps.
39185
39186         * configure: Regenerated.
39187         * sysdeps/i386/configure: Regenerated.
39188         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39189         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39190         * sysdeps/s390/s390-32/configure: Regenerated.
39191         * sysdeps/s390/s390-64/configure: Regenerated.
39192         * sysdeps/sh/configure: Regenerated.
39193         * sysdeps/sparc/configure: Regenerated.
39194         * sysdeps/x86_64/configure: Regenerated.
39195
39196 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39197
39198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39199
39200         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39201         denormal result into account.
39202
39203 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39204
39205         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39206         Reported by Allan McRae <allan@archlinux.org>.
39207
39208 2012-03-23  Jeff Law  <law@redhat.com>
39209
39210         * nss/getnssent.c (__nss_getent): Fix typo.
39211
39212 2012-03-23  David S. Miller  <davem@davemloft.net>
39213
39214         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39215
39216 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39217
39218         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39219         to pad to uint64_t for each field.
39220         (dl_tls_index): Replace unsigned long with uint64_t.
39221
39222 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39223         Paul Pluzhnikov  <ppluzhnikov@google.com>
39224
39225         [BZ #6528]
39226         * grp/Makefile (otherlibs): Don't set it.
39227         * inet/Makefile (otherlibs): Likewise.
39228         * login/Makefile (otherlibs): Likewise.
39229         * nscd/Makefile (otherlibs): Likewise.
39230         * posix/Makefile (otherlibs): Likewise.
39231         * pwd/Makefile (otherlibs): Likewise.
39232         * rt/Makefile (otherlibs): Likewise.
39233         * sunrpc/Makefile (otherlibs): Likewise.
39234         * nss/Makefile (otherlibs): Likewise.
39235         Add libnss_files to routines and static-only-routines.
39236         ($(objpfx)getent): Remove rule.
39237         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39238         static-only-routines.
39239
39240 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39241
39242         [BZ #13892]
39243         * math/s_cexp.c: Include <float.h>.
39244         (__cexp): Handle exp result overflowing not necessarily
39245         overflowing both real and imaginary parts of result.
39246         * math/s_cexpf.c: Likewise.
39247         * math/s_cexpl.c: Likewise.
39248         * math/libm-test.inc (cexp_test): Add more tests.
39249         * sysdeps/i386/fpu/libm-test-ulps: Update.
39250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39251
39252 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39253
39254         * include/link.h (ELFW): New macro.
39255         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39256         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39257
39258 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39259
39260         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39261         with uint64_t.
39262
39263 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39264
39265         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39266         declaration.
39267         (struct La_x32_retval): Likewise.
39268
39269 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39270
39271         * sysdeps/x86_64/preconfigure.in: New file.
39272         * sysdeps/x86_64/preconfigure: New generated file.
39273
39274 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39275
39276         [BZ #13824]
39277         * math/e_exp2l.c: Include <float.h>.
39278         (__ieee754_exp2l): Handle overflow and underflow cases
39279         separately.  Only pass fractional part of argument to
39280         __ieee754_expl.
39281         * math/libm-test.inc (exp2_test): Add more tests.
39282
39283         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39284         negating x to take absolute value.
39285         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39286         Likewise.
39287         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39288         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39289         Likewise.
39290         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39291         computing low part if x was negated.
39292         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39293
39294 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39295
39296         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39297         la_x32_gnu_pltexit.
39298         (pltexit): Cast int_retval to ptrdiff_t.
39299         * elf/tst-auditmod3b.c: Likewise.
39300         * elf/tst-auditmod4b.c: Likewise.
39301         * elf/tst-auditmod5b.c: Likewise.
39302         * elf/tst-auditmod6b.c: Likewise.
39303         * elf/tst-auditmod6c.c: Likewise.
39304         * elf/tst-auditmod7b.c: Likewise.
39305
39306         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39307         and x32_gnu_pltexit.
39308
39309         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39310         __ELF_NATIVE_CLASS.
39311         (La_x32_regs): New macro.
39312         (La_x32_retval): Likewise.
39313         (la_x32_gnu_pltenter): New function prototype.
39314         (la_x32_gnu_pltexit): Likewise.
39315
39316 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39317
39318         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39319         exponent.
39320
39321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39322
39323         * configure.in (libc_cv_cc_nofma): Check for option to disable
39324         generation of FMA instructions.
39325         * configure: Regenerate.
39326         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39327         * sysdeps/ieee754/dbl-64/Makefile: New file.
39328         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39329         Remove brandred-fma4.
39330         (CFLAGS-brandred-fma4.c): Remove.
39331         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39332         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39333         define.
39334         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39335         define.
39336
39337 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39338
39339         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39340         LLONG_MAX != LONG_MAX.
39341         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39342         (_fitoa_word): Likewise.
39343         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39344         LLONG_MAX != LONG_MAX.
39345         * stdio-common/_itowa.h: Include <_itoa.h>.
39346         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39347         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39348         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39349         only if not defined.
39350         (_ITOA_WORD_TYPE): Likewise.
39351         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39352         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39353
39354 2012-03-21  David S. Miller  <davem@davemloft.net>
39355
39356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39357
39358 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39359
39360         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39361         of x86_64 when setting libc_cv_slibdir, libdir and
39362         libc_cv_localedir.
39363         * sysdeps/unix/sysv/linux/configure: Regenerated.
39364
39365 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39366
39367         * manual/lang.texi (Old Varargs): Remove section.
39368         (How Variadic): Update menu.
39369         (va_start): Do not mention varargs.h.
39370
39371 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39372             Joseph Myers  <joseph@codesourcery.com>
39373
39374         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39375         link test.
39376         * configure: Regenerated.
39377
39378 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39379
39380         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39381         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39382         conformtest.pl
39383
39384 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39385
39386         * NOTES: Remove.
39387         * Makefile (files-for-dist): Remove NOTES.
39388         (NOTES): Remove rule.
39389         * README: Don't refer to NOTES.
39390         * manual/creature.texi: Don't include macros.texi.
39391         * manual/intro.texi (creature.texi): Remove comment referring to
39392         NOTES.
39393
39394         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39395         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39396         * configure: Regenerated.
39397         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39398         LIBC_TRY_CC_OPTION.
39399         (libc_cv_as_i686): Likewise.
39400         (libc_cv_cc_avx): Likewise.
39401         (libc_cv_cc_sse2avx): Likewise.
39402         (libc_cv_cc_fma4): Likewise.
39403         (libc_cv_cc_novzeroupper): Likewise.
39404         * sysdeps/i386/configure: Regenerated.
39405
39406         [BZ #13883]
39407         * sysdeps/i386/fpu/s_cexp.S: Remove.
39408         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39409         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39410         * math/libm-test.inc (cexp_test): Add more tests.
39411         * sysdeps/i386/fpu/libm-test-ulps: Update.
39412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39413
39414 2012-03-21  Allan McRae  <allan@archlinux.org>
39415
39416         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39417
39418 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39419
39420         [BZ #13871]
39421         * math/w_exp2.c: Do not include <float.h>.
39422         (o_threshold, u_threshold): Remove.
39423         (__exp2): Calculate result before checking finiteness and calling
39424         __kernel_standard.
39425         * math/w_exp2f.c: Likewise.
39426         * math/w_exp2l.c: Likewise.
39427         * math/libm-test.inc (exp2_test): Require overflow exception for
39428         1e6 input.
39429
39430         [BZ #3866]
39431         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39432         range of signed 64-bit integers before using fistpll.  Remove
39433         checks for whether integers fit in mantissa bits.
39434         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39435         the range of signed 32-bit integers before using fistpl.  Remove
39436         checks for whether integers fit in mantissa bits.
39437         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39438         (__ieee754_powl): Test for y outside the range of signed 64-bit
39439         integers before using fistpll.  Reduce 64-bit values to 63-bit
39440         ones as needed.
39441         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39442         divide-by-zero is raised for zero to large negative powers.
39443         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39444         (__ieee754_powl): Test for y outside the range of signed 64-bit
39445         integers before using fistpll.  Reduce 64-bit values to 63-bit
39446         ones as needed.
39447         * math/libm-test.inc (pow_test): Add more tests.
39448
39449 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39450
39451         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39452         <stdio-common/_itoa.h>.
39453         * debug/segfault.c: Likewise.
39454         * elf/dl-cache.c: Likewise.
39455         * elf/dl-minimal.c: Likewise.
39456         * elf/dl-misc.c: Likewise.
39457         * elf/dl-sysdep.c: Likewise.
39458         * elf/dl-version.c: Likewise.
39459         * elf/rtld.c: Likewise.
39460         * hurd/hurdsock.c: Likewise.
39461         * hurd/lookup-retry.c: Likewise.
39462         * malloc/malloc.c: Likewise.
39463         * malloc/mtrace.c: Likewise.
39464         * nscd/nscd_getgr_r.c: Likewise.
39465         * nscd/nscd_getpw_r.c: Likewise.
39466         * nscd/nscd_getserv_r.c: Likewise.
39467         * posix/getopt_init.c: Likewise.
39468         * posix/wordexp.c: Likewise.
39469         * stdio-common/_itoa.c: Likewise.
39470         * stdio-common/printf_fphex.c: Likewise.
39471         * stdio-common/vfprintf.c: Likewise.
39472         * string/_strerror.c: Likewise.
39473         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39474         * sysdeps/i386/i686/hp-timing.h: Likewise.
39475         * sysdeps/mach/_strerror.c: Likewise.
39476         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39477         * sysdeps/mach/hurd/sethostid.c: Likewise.
39478         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39479         * sysdeps/mach/xpg-strerror.c: Likewise.
39480         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39481         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39482         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39483         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39484         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39485         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39486         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39487         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39488         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39489         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39490         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39491         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39492         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39493         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39494         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39495         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39496         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39497         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39498         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39499         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39500         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39501
39502         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39503
39504         * stdio-common/_itoa.h: Moved to ...
39505         * sysdeps/generic/_itoa.h: Here.
39506
39507         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39508
39509         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39510         instead of "_itoa.h" and "_itowa.h".
39511         * stdio-common/vfprintf.: Likewise.
39512
39513 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39514
39515         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39516         <bits/wordsize.h>.
39517         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39518         (__signbit): Likwise.
39519         (llrintf): Likwise.
39520         (llrint): Likwise.
39521
39522 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39523
39524         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39525         __WORDSIZE != 64.
39526
39527 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
39528
39529         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39530         OVERFLOW_EXCEPTION_OK.
39531         * math/libm-test.inc ("Philosophy"): Update comment about
39532         exception testing.
39533         (OVERFLOW_EXCEPTION): Define.
39534         (OVERFLOW_EXCEPTION_OK): Likewise.
39535         (INVALID_EXCEPTION_OK): Renumber.
39536         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39537         (IGNORE_ZERO_INF_SIGN): Likewise.
39538         (test_exceptions): Handle FE_OVERFLOW.
39539         (exp10_test): Expect overflow exceptions.
39540         (exp2_test): Likewise.
39541         (expm1_test): Likewise.
39542         (nextafter_test): Likewise.
39543         (pow_test): Likewise.
39544         (scalbn_test): Likewise.
39545         (scalbln_test): Likewise.
39546
39547 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39548
39549         * sysdeps/x86_64/bits/atomic.h
39550         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39551         64bit integer.
39552         (atomic_exchange_acq): Likewise.
39553         (__arch_exchange_and_add_body): Likewise.
39554         (__arch_add_body): Likewise.
39555         (atomic_add_negative): Likewise.
39556         (atomic_add_zero): Likewise.
39557
39558 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39559
39560         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39561         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39562
39563 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39564
39565         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39566         Check __x86_64__ instead of __WORDSIZE.
39567
39568 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39569
39570         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39571
39572 2012-03-19  David S. Miller  <davem@davemloft.net>
39573
39574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39575
39576         * sysdeps/sparc/fpu/fenv_private.h: New file.
39577         * sysdeps/sparc/fpu/math_private.h: Use it.
39578         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39579         Remove.
39580         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39581         (libc_feholdexcept_setroundl): Remove.
39582         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39583         Remove.
39584         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39585         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39586
39587 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39588
39589         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39590         int64_t instead of long int.
39591         (INSERT_WORDS64): Likwise.
39592
39593 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39594
39595         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39596         _Unwind_GetCFA return to _Unwind_Ptr first.
39597
39598 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
39599
39600         [BZ #13629]
39601         * math/s_clog.c: Include <float.h>.
39602         (__clog): Scale large or subnormal inputs.
39603         * math/s_clogf.c: Likewise.
39604         * math/s_clogl.c: Likewise.
39605         * math/s_clog10.c: Include <float.h>.
39606         (M_LOG10_2): Define.
39607         (__clog10): Scale large or subnormal inputs.
39608         * math/s_clog10f.c: Likewise.
39609         * math/s_clog10l.c: Likewise.
39610         * math/libm-test.inc (clog_test): Add more tests.
39611         (clog10_test): Likewise.
39612         * sysdeps/i386/fpu/libm-test-ulps: Update.
39613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39614
39615         [BZ #11451]
39616         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39617         x and y.
39618         * math/libm-test.inc (atan2_test): Add another test.
39619
39620         * Makerules (common-objdir-compile): Remove.
39621         * sysdeps/unix/Makefile (config-generated): Do not add
39622         $(unix-generated) to variable.
39623         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39624         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39625         Remove rule.
39626         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39627         Likewise.
39628         [generic bits/local_lim.h] (before-compile): Do not append to
39629         variable.
39630         [generic bits/local_lim.h] (common-generated): Likewise.
39631         [generic sys/param.h] (before-compile): Do not append to variable.
39632         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39633         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39634         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39635         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39636         include.
39637         [generic sys/param.h] (sys/param.h-includes): Remove variable.
39638         [generic sys/param.h] (sys/param.h-includes): Remove rule.
39639         [generic sys/param.h] ($(addprefix
39640         $(common-objpfx),$(sys/param.h-includes))): Likewise.
39641         [generic sys/param.h] (common-generated): Do not append to
39642         variable.
39643         [generic sys/param.h] (sysdep_headers): Likewise.
39644         [generic bits/errno.h] (before-compile): Do not append to
39645         variable.
39646         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39647         rule.
39648         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39649         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39650         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39651         [generic bits/errno.h] (common-generated): Do not append to
39652         variable.
39653         [generic bits/ioctls.h] (before-compile): Do not append to
39654         variable.
39655         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39656         rule.
39657         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39658         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39659         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39660         rule.
39661         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39662         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39663         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39664         [generic bits/ioctls.h] (common-generated): Do not append to
39665         variable.
39666         [generic sys/syscall.h] (syscall.h): Remove variable.
39667         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39668         rule.
39669         [generic sys/syscall.h] (before-compile): Do not append to
39670         variable.
39671         [generic sys/syscall.h] (common-generated): Likewise.
39672         * sysdeps/unix/errnos-tmpl.c: Remove file.
39673         * sysdeps/unix/errnos.awk: Likewise.
39674         * sysdeps/unix/ioctls-tmpl.c: Likewise.
39675         * sysdeps/unix/ioctls.awk: Likewise.
39676         * sysdeps/unix/mk-local_lim.c: Likewise.
39677         * sysdeps/unix/snarf-ioctls: Likewise.
39678
39679 2012-03-19  Richard Henderson  <rth@twiddle.net>
39680
39681         * sysdeps/i386/fpu/fenv_private.h: New file.
39682         * sysdeps/i386/fpu/math_private.h: Use it.
39683         (math_opt_barrier, math_force_eval): Remove.
39684         (libc_feholdexcept_setround_53bit): Remove.
39685         (libc_feupdateenv_53bit): Remove.
39686         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39687         (math_opt_barrier, math_force_eval): Remove.
39688         (libc_feholdexcept): Remove.
39689         (libc_feholdexcept_setround): Remove.
39690         (libc_fetestexcept, libc_fesetenv): Remove.
39691         (libc_feupdateenv_test): Remove.
39692         (libc_feupdateenv, libc_feholdsetround): Remove.
39693         (libc_feresetround): Remove.
39694
39695         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39696         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39697
39698         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39699         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39700         (libc_feupdateenv_testl): New.
39701         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39702         (libc_feupdateenv_testf): New.
39703         (libc_feupdateenv): Use libc_feupdateenv_test.
39704         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39705         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39706
39707         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39708         (libc_feholdsetroundf, libc_feholdsetroundl): New.
39709         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39710         (libc_feresetround_noex): New.
39711         (libc_feresetround_noexf): New.
39712         (libc_feresetround_noexl): New.
39713         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39714         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39715         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39716         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39717         SET_RESTORE_ROUND.
39718         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39719         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39720         (__cos): Likewise.
39721         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39722         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39723         SET_RESTORE_ROUND_NOEX.
39724         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39725         SET_RESTORE_ROUND_NOEXF.
39726         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39727         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39728         (libc_feholdsetroundf): New.
39729         (libc_feresetround, libc_feresetroundf): New.
39730
39731         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39732         (libc_feholdexcept_setround_53bit): Convert from macro to function.
39733         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
39734
39735         * sysdeps/generic/math_private.h: Include <fenv.h>.
39736         (default_libc_feholdexcept): New.
39737         (default_libc_feholdexcept_setround): New.
39738         (default_libc_fesetenv, default_libc_feupdateenv): New.
39739         (libc_feholdexcept): Only define if undefined.
39740         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39741         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39742         (libc_feholdexcept_setroundl): Likewise.
39743         (libc_feholdexcept_setround_53bit): Likewise.
39744         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39745         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39746         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39747         (libc_feupdateenv_53bit): Likewise.
39748         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39749         (libc_feholdexcept): Convert from macro to inline function.
39750         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39751         (libc_fesetenv, libc_feupdateenv): Likewise.
39752
39753         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39754         not previously defined.
39755         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39756         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39757         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39758         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39759         * sysdeps/ieee754/flt-32/math_private.h: New file.
39760         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39761         math_private.h below SET_FLOAT_WORD.
39762         (__isnan, __isinf_ns, __finite): Remove.
39763         (__isnanf, __isinf_nsf, __finitef): Remove.
39764
39765 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
39766
39767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39768
39769 2012-03-17  David S. Miller  <davem@davemloft.net>
39770
39771         [BZ #6471]
39772         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39773         for 2.16.
39774
39775 2012-03-16  David S. Miller  <davem@davemloft.net>
39776
39777         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39778         warnings.
39779
39780         [BZ #6471]
39781         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39782         properly.
39783         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39784         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39785         sysdep_routines when subdir is sysvipc.
39786         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39787         __getshmlba helper.
39788
39789         * sysdeps/sparc/fpu/libm-test/ulps: Update.
39790
39791 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39792
39793         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39794         [__LP64__].
39795
39796 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39797
39798         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39799         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39800         (__lround): Renamed to ...
39801         (__llround): This.  Replace long int with long long int.
39802         Define lround functions as aliases of llround functions.
39803         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39804
39805 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39806
39807         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39808         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
39809         adresses to uintptr_t.  Replace "long int" and "unsigned long
39810         int" with "greg_t" on va_arg.
39811
39812 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39813
39814         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39815         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39816
39817         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39818         Move e_machine check before EI_CLASS check.  Handle x32
39819         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39820         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39821         SKIP_EM_IA_64 and include
39822         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39823
39824         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39825         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39826         (add_system_dir): New macro.
39827
39828         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39829         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39830
39831 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39832
39833         [BZ #2551]
39834         [BZ #2552]
39835         [BZ #2553]
39836         [BZ #2554]
39837         [BZ #2562]
39838         [BZ #2563]
39839         [BZ #2565]
39840         [BZ #2566]
39841         [BZ #2576]
39842         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39843         (y0): Likewise.
39844         * math/w_j0f.c (j0f): Likewise.
39845         (y0f): Likewise.
39846         * math/w_j0l.c (__j0l): Likewise.
39847         (__y0l): Likewise.
39848         * math/w_j1.c (j1): Likewise.
39849         (y1): Likewise.
39850         * math/w_j1f.c (j1f): Likewise.
39851         (y1f): Likewise.
39852         * math/w_j1l.c (__j1l): Likewise.
39853         (__y1l): Likewise.
39854         * math/w_jn.c (jn): Likewise.
39855         (yn): Likewise.
39856         * math/w_jnf.c (jnf): Likewise.
39857         (ynf): Likewise.
39858         * math/w_jnl.c (__jnl): Likewise.
39859         (__ynl): Likewise.
39860         * math/libm-test.inc (j0_test): Add more tests.
39861         (j1_test): Likewise.
39862         (jn_test): Likewise.  Add trailing semicolon to existing test.
39863         (y0_test): Likewise.
39864         (y1_test): Likewise.
39865         * sysdeps/i386/fpu/libm-test-ulps: Update.
39866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39867
39868         [BZ #13851]
39869         [BZ #13854]
39870         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39871         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39872         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39873         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39874         (__tanl): Set errno for infinite argument.
39875         * sysdeps/i386/fpu/mptan.c: Remove.
39876         * sysdeps/i386/fpu/s_tan.S: Likewise.
39877         * sysdeps/i386/fpu/s_tanl.S: Likewise.
39878         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39879         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39880         * math/libm-test.inc (tan_test): Add more tests and enable more
39881         tests for double and long double.
39882         * sysdeps/i386/fpu/libm-test-ulps: Update.
39883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39884
39885 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
39886
39887         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39888         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39889
39890 2012-03-16  Roland McGrath  <roland@hack.frob.com>
39891
39892         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39893         * configure.in: Use it for both main tree and add-ons.
39894         * configure: Regenerated.
39895
39896 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39897
39898         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39899
39900 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39901
39902         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39903         in comment.
39904
39905         [BZ #13851]
39906         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39907         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39908         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39909         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39910         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39911         infinite argument.
39912         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39913         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39914         != 0 for prec == 2.
39915         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39916         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39917         * sysdeps/i386/fpu/s_cosl.S: Likewise.
39918         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39919         * sysdeps/i386/fpu/s_sinl.S: Likewise.
39920         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39921         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39922         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39923         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39924         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39925         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39926         * math/libm-test.inc (cos_test): Add more tests and enable more
39927         tests for long double.
39928         (sin_test): Likewise.
39929         (sincos_test): Likewise.
39930         * sysdeps/i386/fpu/libm-test-ulps: Update.
39931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39932
39933 2012-03-16  David S. Miller  <davem@davemloft.net>
39934
39935         * sysdeps/sparc/fpu/math_private.h: New file.
39936
39937 2012-03-15  David S. Miller  <davem@davemloft.net>
39938
39939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39940         file.
39941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39943         file.
39944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39945         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39946         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39947         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39948         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39949         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39950         sysdep routines.
39951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39952
39953         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39954         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39955
39956         * sysdeps/sparc/sparc-ifunc.h: New file.
39957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39958         sparc-ifunc.h
39959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39961         Likewise.
39962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39963         Likewise.
39964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39968         Likewise.
39969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39974         Likewise.
39975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39976         Likewise.
39977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39981         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39982         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39983         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39984         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39985         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39986         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39987         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39988         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39989         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39990         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39991         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39992         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39993         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39994         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39995         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39996         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39997         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39998         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39999         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40000         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40001
40002 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40003
40004         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40005         scaling.
40006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40007
40008 2012-03-15  Andreas Jaeger  <aj@suse.de>
40009
40010         [BZ #13852]
40011         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40012         ieee754/flt-32 implementation for sin, cos and sincos.
40013         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40014         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40015         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40016         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40017         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40018         ieee754/flt-32 implementation for tan.
40019
40020         * math/libm-test.inc (cos_test): Enable some large input tests for
40021         float as well
40022         (sin_test): Likewise.
40023         (sincos_test): Likewise.
40024         (tan_test): Add tests for large input.
40025
40026         * sysdeps/i386/fpu/libm-test-ulps: Update.
40027
40028 2012-03-15  Andreas Jaeger  <aj@suse.de>
40029
40030         [BZ #13658]
40031         * math/libm-test.inc (cos_test): Add more test cases.
40032         (sin_test): Likewise.
40033         (sincos_test): Likewise.
40034
40035 2012-03-15  Andreas Jaeger  <aj@suse.de>
40036
40037         [BZ #13837]
40038         * math/libm-test.inc (cos_test): Add a test case for large input
40039         value.
40040         (sin_test): Likewise.
40041         (sincos_test): Likewise.
40042
40043 2012-03-15  Andreas Jaeger  <aj@suse.de>
40044             Joseph Myers  <joseph@codesourcery.com>
40045
40046         [BZ #13658]
40047         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40048         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40049         * sysdeps/i386/fpu/branred.c: Likewise.
40050         * sysdeps/i386/fpu/dosincos.c: Likewise.
40051         * sysdeps/i386/fpu/mpa.c: Likewise.
40052         * sysdeps/i386/fpu/s_cos.S: Likewise.
40053         * sysdeps/i386/fpu/s_sin.S: Likewise.
40054         * sysdeps/i386/fpu/s_sincos.S: Likewise.
40055         * sysdeps/i386/fpu/sincos32.c: Likewise.
40056
40057         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40058         Define.
40059         (libc_feupdateenv_53bit): Define.
40060         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40061         Define.
40062         (libc_feupdateenv_53bit): Define.
40063
40064         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40065         53 bit (without extend i386 double precision).
40066
40067         * math/libm-test.inc (sincos_test): Add tests for large input.
40068         (sin): Likewise.
40069         (cos): Likewise.
40070
40071         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40072
40073 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40074
40075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40076
40077 2012-03-15  David S. Miller  <davem@davemloft.net>
40078
40079         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40080         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40081         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40082         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40087         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40088         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40089         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40090         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40091         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40092         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40093         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40095         file.
40096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40098         file.
40099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40101         file.
40102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40104         file.
40105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40106         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40107         fmin/fmax sysdep routines.
40108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40109
40110 2012-03-14  David S. Miller  <davem@davemloft.net>
40111
40112         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40113         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40114         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40115         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40116         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40117         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40118         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40119         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40120         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40121         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40122         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40123         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40124         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40125         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40126         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40127         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40128         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40129         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40130         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40131         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40132         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40133         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40134         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40135         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40136         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40137         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40138         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40139         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40140         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40141         routines.
40142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40143         file.
40144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40146         file.
40147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40149         file.
40150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40152         file.
40153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40155         file.
40156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40158         file.
40159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40160         file.
40161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40162         file.
40163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40164         file.
40165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40166         New file.
40167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40168         file.
40169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40170         file.
40171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40173         file.
40174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40176         file.
40177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40179         file.
40180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40182         VIS3 routines.
40183
40184         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40185         New file.
40186
40187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40188
40189         * sysdeps/sparc/configure.in: New file.
40190         * sysdeps/sparc/configure: Generate.
40191         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40192         * configure: Regenerate.
40193         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40194         * config.make.in (have-as-vis3): New.
40195         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40196         available use -Av9d instead of -Av9a.
40197         * sysdeps/sparc/sparc64/Makefile: Likewise.
40198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40200         New file.
40201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40202         file.
40203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40204         New file.
40205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40206         file.
40207         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40208         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40209         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40210         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40211         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40212
40213         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40214         fzeros/fnegs to load 0x80000000 into a float register instead of
40215         using the stack.
40216         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40217
40218 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40219
40220         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40221         bits/syscall.h.
40222         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40223         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40224         ($(inst_includedir)/bits/syscall.h): Remove rule.
40225         ($(objpfx)bits/syscall.d): Include instead of
40226         $(objpfx)syscall-list.d.
40227         (generated): Change syscall-list.h and syscall-list.d to
40228         bits/syscall.h and bits/syscall.d.
40229
40230 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40231
40232         [BZ #13846]
40233         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40234
40235 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40236
40237         [BZ #13841]
40238         * math/s_csqrt.c: Include <float.h>.
40239         (__csqrt): Scale large or subnormal inputs.
40240         * math/s_csqrtf.c: Likewise.
40241         * math/s_csqrtl.c: Likewise.
40242         * math/libm-test.inc (csqrt_test): Add more tests.
40243         * sysdeps/i386/fpu/libm-test-ulps: Update.
40244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40245
40246         [BZ #13840]
40247         * math/libm-test.inc (hypot_test): Add more tests.
40248
40249 2012-03-13  David S. Miller  <davem@davemloft.net>
40250
40251         [BZ #13840]
40252         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40253         double-precision for the calculation instead of scaling.
40254
40255 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40256
40257         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40258         manipulate bits before adding and subtracting TWO52[sx].
40259         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40260         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40261         Likewise.
40262         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40263
40264 2012-03-13  David S. Miller  <davem@davemloft.net>
40265
40266         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40267         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40268         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40269         rtld-global-offsets.h
40270         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40271
40272         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40273         large parameters.
40274
40275         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40276
40277         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40278         'err' in the ifdef scope in which it is actually used.
40279
40280         * nss/nss_db/db-init.c: Include string.h
40281
40282 2012-03-12  David S. Miller  <davem@davemloft.net>
40283
40284         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40285         masking out of the most significant byte of random value used.
40286         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40287         Fix coding style in previous change.
40288
40289         * sysdeps/unix/sysv/linux/kernel-features.h
40290         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40291         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40292         expression.
40293         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40294         later.
40295
40296 2012-03-11  David S. Miller  <davem@davemloft.net>
40297
40298         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40299         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40300         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40301         for 'resultvar' otherwise things get truncated on 64-bit.
40302
40303         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40304         Fix masking out of the most significant byte of random value used.
40305
40306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40307
40308 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40309
40310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40311
40312 2012-03-09  David S. Miller  <davem@davemloft.net>
40313
40314         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40315         variables with appropriate CPP guards.
40316         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40317         from the frame pointer, not the stack pointer.  Correct layout
40318         comments.  Fix test on resulting framesize and the management of
40319         the outregs buffer for pltexit.  Preserve floating point return
40320         values across _dl_call_pltexit call.
40321         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40322         framesize and the management of the outregs buffer for pltexit.
40323         Preserve floating point return values across _dl_call_pltexit
40324         call.
40325         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40326         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40327         (la_sparc64_gnu_pltexit): New functions.
40328         (print_exit): Fix format string for return register value.
40329
40330 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40331
40332         * sunrpc/Makefile (others): Add rpcgen.
40333         ($(objpfx)rpcgen): Remove special build rule and dependency on
40334         libc.
40335         * sunrpc/rpcgen.c: New file.
40336
40337 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40338
40339         [BZ #13673]
40340         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40341         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40342         * sysdeps/i386/crti.S: Likewise.
40343         * sysdeps/i386/crtn.S: Likewise.
40344         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40345         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40346         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40347         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40348         * sysdeps/sh/crti.S: Likewise.
40349         * sysdeps/sh/crtn.S: Likewise.
40350         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40351
40352         [BZ #13673]
40353         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40354         with URL.
40355         * locale/programs/locfile-kw.gperf: Likewise.
40356         * locale/programs/charmap-kw.h: Regenerated.
40357         * locale/programs/locfile-kw.h: Likewise.
40358
40359         [BZ #13673]
40360         * intl/plural.y: Replace FSF snail mail address with URL.
40361         * intl/plural.c: Regenerated.
40362
40363 2012-03-09  Richard Henderson  <rth@twiddle.net>
40364
40365         * include/math_private.h: Remove file.
40366         * math/math_private.h: Move file ...
40367         * sysdeps/generic/math_private.h: ... here.
40368
40369         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40370         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40371         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40372
40373         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40374         and <math_private.h>.
40375         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40376         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40377         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40378         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40379         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40380         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40381         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40382         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40383         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40384         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40385         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40386         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40387         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40388         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40389         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40390         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40391         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40392         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40393         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40394         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40395         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40396         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40397         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40398         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40399         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40400         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40401         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40402         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40403         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40404         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40405         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40406         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40407         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40408         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40409         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40410         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40411         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40412         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40413         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40414         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40415         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40416         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40417         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40418         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40419         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40420         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40421         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40422         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40423         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40424         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40425         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40426         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40427         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40428         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40429         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40430         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40431         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40432         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40433         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40434         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40435         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40436         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40437         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40438         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40439         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40440         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40441         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40442         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40443         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40444         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40445         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40446         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40447         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40448         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40449         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40450         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40451         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40452         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40453         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40454         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40455         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40456         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40457         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40458         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40459         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40460         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40461         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40462         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40463         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40464         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40465         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40466         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40467         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40468         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40469         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40470         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40471         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40472         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40473         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40474         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40475         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40476         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40477         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40478         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40479         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40480         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40481         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40482         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40483         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40484         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40485         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40486         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40487         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40488         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40489         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40490         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40491         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40492         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40493         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40494         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40495         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40496         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40497         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40498         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40499         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40500         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40501         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40502         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40503         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40504         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40505         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40506         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40507         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40508         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40509         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40510         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40511         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40512         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40513         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40514         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40515         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40516         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40517         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40518         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40519         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40520         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40521         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40522         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40523         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40524         * sysdeps/ieee754/k_standard.c: Likewise.
40525         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40526         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40527         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40528         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40529         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40530         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40531         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40532         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40533         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40534         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40535         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40536         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40537         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40538         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40539         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40540         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40541         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40542         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40543         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40544         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40545         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40546         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40547         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40548         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40549         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40550         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40551         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40552         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40553         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40554         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40555         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40556         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40557         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40558         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40559         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40560         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40561         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40562         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40563         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40564         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40565         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40566         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40567         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40568         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40569         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40570         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40571         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40572         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40573         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40574         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40575         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40576         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40577         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40578         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40579         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40580         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40581         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40582         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40583         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40584         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40585         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40586         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40587         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40588         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40589         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40590         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40591         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40592         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40593         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40594         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40595         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40596         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40597         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40598         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40599         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40600         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40601         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40602         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40603         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40604         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40605         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40606         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40607         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40608         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40609         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40610         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40611         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40612         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40613         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40614         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40615         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40616         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40617         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40618         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40619         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40620         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40621         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40622         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40623         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40624         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40625         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40626         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40627         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40628         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40629         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40630         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40631         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40632         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40633         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40634         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40635         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40636         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40637         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40638         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40639         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40640         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40641         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40642         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40643         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40644         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40645         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40646         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40647         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40648         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40649         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40650         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40651         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40652         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40653         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40654         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40655         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40656         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40657         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40658         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40659         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40660         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40661         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40662         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40663         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40664         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40665         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40666         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40667         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40668         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40669         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40670         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40671         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40672         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40673         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40674         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40675         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40676         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40677         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40678         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40679         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40680         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40681         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40682         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40683         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40684         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40685         * sysdeps/ieee754/s_lib_version.c: Likewise.
40686         * sysdeps/ieee754/s_matherr.c: Likewise.
40687         * sysdeps/ieee754/s_signgam.c: Likewise.
40688         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40689         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40690         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40691         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40692         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40693         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40694         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40695         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40696         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40697         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40698         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40699         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40700         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40701         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40702         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40703         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40704         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40705         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40706         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40707         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40708         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40709
40710 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40711
40712         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40713         * sunrpc/rpc_main.c: Likewise.
40714         * sunrpc/rpc_svcout.c: Likewise.
40715
40716 2012-03-09  David S. Miller  <davem@davemloft.net>
40717
40718         * include/math_private.h: New file.
40719
40720 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40721
40722         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40723         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40724         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40725         from <bits/socket_type.h>.
40726         (enum __socket_type): Don't define here.
40727         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40728         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40729         bits/socket_type.h.
40730
40731         [BZ #13566]
40732         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40733         checking __USE_GNU.
40734
40735         * Makerules ($(inst_includedir)/%.h): New rule.
40736         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40737         (install-others): Remove variable setting.
40738         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40739
40740 2012-03-08  Richard Henderson  <rth@twiddle.net>
40741
40742         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40743         from macro to inline function; merge with the
40744         !__LIBC_INTERNAL_MATH_INLINES version.
40745         (__ieee754_sqrtf): Likewise.
40746
40747         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40748         to inline function.
40749         (__rintf, __floor, __floorf): Likewise.
40750
40751         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40752         macro to inline function.
40753         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40754
40755         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40756         not <math/math_private.h>.
40757
40758 2012-03-08  David S. Miller  <davem@davemloft.net>
40759
40760         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40761         copyright year.
40762         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40763
40764 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
40765
40766         * resolv/gai_misc.c (handle_requests): Fix struct timespec
40767         normalization.
40768         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40769         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40770
40771 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
40772
40773         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
40774         be defined individually, they must be defined as a block.  Define
40775         S for printing a string instead of hidint the different by using a
40776         macro for adding the 'l'.
40777         * stdio-common/tst-fphex-wide.c: Adjust.
40778
40779 2012-03-07  Marek Polacek  <polacek@redhat.com>
40780
40781         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40782
40783 2012-03-08  Marek Polacek  <polacek@redhat.com>
40784
40785         [BZ #13806]
40786         * stdio-common/Makefile (tests): Add tst-fphex-wide.
40787         * stdio-common/tst-fphex.c: Define a few macros to make the
40788         test reusable.  Use them.
40789         * stdio-common/tst-fphex-wide.c: New file.
40790
40791 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
40792
40793         [BZ #6911]
40794         * manual/macros.texi (gnusystems): New macro.
40795         (nongnusystems): Likewise.
40796         (gnulinuxhurdsystems): Likewise.
40797         (gnuhurdsystems): Likewise..
40798         (gnulinuxsystems): Likewise.
40799         * manual/charset.texi: Use new macros or @theglibc{} to refer to
40800         variants of the GNU system, not "GNU system".
40801         * manual/conf.texi: Likewise.
40802         * manual/errno.texi: Likewise.  Update example of errno macro
40803         expansion.
40804         * manual/filesys.texi: Likewise.
40805         (getumask): Document as specific to GNU/Hurd.
40806         * manual/install.texi: Likewise.  Reword some references to
40807         GNU/Linux.
40808         * manual/intro.texi: Likewise.
40809         * manual/io.texi: Likewise.
40810         (File Name Portability): Detail which constraints are inapplicable
40811         to all GNU systems and which are only inapplicable to GNU/Hurd.
40812         * manual/job.texi: Likewise.
40813         * manual/llio.texi: Likewise.
40814         (O_NOCTTY): Document as present on GNU/Linux.
40815         * manual/maint.texi: Likewise.
40816         * manual/memory.texi: Likewise.
40817         * manual/pattern.texi: Likewise.
40818         * manual/pipe.texi: Likewise.
40819         * manual/process.texi: Likewise.
40820         * manual/resource.texi: Likewise.
40821         (RUSAGE_CHILDREN): Remove statement about specifying a particular
40822         child on GNU/Hurd.
40823         * manual/setjmp.texi: Likewise.
40824         * manual/signal.texi: Likewise.
40825         * manual/startup.texi: Likewise.
40826         * manual/stdio.texi: Likewise.
40827         * manual/terminal.texi: Likewise.
40828         (ONLCR): Document as POSIX.
40829         (OXTABS): Document availability on GNU/Linux as XTABS.
40830         (ONOEOT): Document availability separately from other bits.
40831         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40832         * manual/time.texi: Likewise.
40833         * manual/users.texi: Likewise.
40834         * INSTALL: Regenerated.
40835         * sysdeps/gnu/errlist.c: Regenerated.
40836
40837         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40838         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40839         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
40840         puts.
40841         * configure: Regenerated.
40842
40843 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
40844
40845         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40846         default includes instead of AC_HEADER_CHECK.
40847         * sysdeps/i386/configure: Regenerated.
40848
40849         [BZ #10716]
40850         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40851         * math/s_cacoshf.c (__cacoshf): Likewise.
40852         * math/s_cacoshl.c (__cacoshl): Likewise.
40853         * math/s_casinh.c (__casinh): Set signs of result from argument.
40854         * math/s_casinhf.c (__casinhf): Likewise.
40855         * math/s_casinhl.c (__casinhl): Likewise.
40856         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40857         (casinh_test): Add more tests.
40858         * sysdeps/i386/fpu/libm-test-ulps: Update.
40859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40860
40861 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
40862
40863         * po/zh_TW.po: Update from translation team.
40864
40865         * login/Makefile (distribute): Remove variable.
40866         * catgets/Makefile: Likewise.
40867         * mach/Makefile: Likewise.
40868         * malloc/Makefile: Likewise.
40869         * misc/Makefile: Likewise.
40870         * iconv/Makefile: Likewise.
40871         * nscd/Makefile: Likewise.
40872         * hurd/Makefile: Likewise.
40873         * manual/Makefile: Likewise.
40874         * locale/Makefile: Likewise.
40875         * intl/Makefile: Likewise.
40876         * conform/Makefile: Likewise.
40877         * nss/Makefile: Likewise.
40878         * time/Makefile: Likewise.
40879         * soft-fp/Makefile: Likewise.
40880         * dirent/Makefile: Likewise.
40881         * gmon/Makefile: Likewise.
40882         * po/Makefile: Likewise.
40883         * rt/Makefile: Likewise.
40884         * socket/Makefile: Likewise.
40885         * math/Makefile: Likewise.
40886         * signal/Makefile: Likewise.
40887         * debug/Makefile: Likewise.
40888         * elf/Makefile: Likewise.
40889         * timezone/Makefile: Likewise.
40890         * stdlib/Makefile: Likewise.
40891         * iconvdata/Makefile: Likewise.
40892         * sunrpc/Makefile: Likewise.
40893         * io/Makefile: Likewise.
40894         * argp/Makefile: Likewise.
40895         * inet/Makefile: Likewise.
40896         * hesiod/Makefile: Likewise.
40897         * grp/Makefile: Likewise.
40898         * csu/Makefile: Likewise.
40899         * wctype/Makefile: Likewise.
40900         * crypt/Makefile: Likewise.
40901         * libio/Makefile: Likewise.
40902         * string/Makefile: Likewise.
40903         * nis/Makefile: Likewise.
40904         * resolv/Makefile: Likewise.
40905         * stdio-common/Makefile: Likewise.
40906         * wcsmbs/Makefile: Likewise.
40907         * dlfcn/Makefile: Likewise.
40908         * posix/Makefile: Likewise.
40909
40910         [BZ #6959]
40911         * timezone/Makefile: Don't install timezone files, just the programs
40912         and scripts.
40913
40914 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
40915
40916         * nss/databases.def: Add missing gshadow entry.
40917
40918         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
40919
40920 2012-03-06  Marek Polacek  <polacek@redhat.com>
40921
40922         [BZ #13726]
40923         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40924         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40925         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40926         * stdio-common/tst-long-dbl-fphex.c: New file.
40927
40928 2012-03-06  David S. Miller  <davem@davemloft.net>
40929
40930         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40931         (set_obp_int): New function.
40932         (get_obp_int): New function.
40933         (__get_clockfreq_via_dev_openprom): Likewise.
40934         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40935         Avoid unused variable warnings on 'val' and use builtin_expect.
40936         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40937         __builtin_expect.
40938         (INLINE_CLONE_SYSCALL): Likewise.
40939
40940 2012-03-05  David S. Miller  <davem@davemloft.net>
40941
40942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40943
40944 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
40945
40946         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40947
40948         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40949         only for |x| >= 40.
40950         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40951
40952 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
40953
40954         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40955         Replace gettimeofday with __vdso_gettimeofday.
40956
40957         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40958         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40959         __vdso_clock_gettime and __vdso_getcpu.
40960
40961         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40962         time with __vdso_time.
40963
40964 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40965
40966         * manual/lang.texi (size_t): Note types to which size_t may be
40967         equivalent with the GNU C Library, but do not describe when
40968         differences between them are significant.
40969
40970 2012-03-05  Andreas Jaeger  <aj@suse.de>
40971
40972         * sysdeps/i386/fpu/libm-test-ulps: Update.
40973
40974 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40975
40976         [BZ #3976]
40977         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40978         (__ieee754_pow): Save and restore rounding mode and use
40979         round-to-nearest for main computations.
40980         * math/libm-test.inc (pow_test_tonearest): New function.
40981         (pow_test_towardzero): Likewise.
40982         (pow_test_downward): Likewise.
40983         (pow_test_upward): Likewise.
40984         (main): Call the new functions.
40985         * sysdeps/i386/fpu/libm-test-ulps: Update.
40986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40987
40988         [BZ #3976]
40989         * math/libm-test.inc (cosh_test_tonearest): New function.
40990         (cosh_test_towardzero): Likewise.
40991         (cosh_test_downward): Likewise.
40992         (cosh_test_upward): Likewise.
40993         (sinh_test_tonearest): Likewise.
40994         (sinh_test_towardzero): Likewise.
40995         (sinh_test_downward): Likewise.
40996         (sinh_test_upward): Likewise.
40997         (main): Call the new functions.
40998         * sysdeps/i386/fpu/libm-test-ulps: Update.
40999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41000
41001 2012-03-05  Tom de Vries  <tom@codesourcery.com>
41002
41003         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41004         default stack guard is set in last bytes.
41005         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41006
41007 2012-03-05  Kees Cook  <keescook@chromium.org>
41008
41009         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41010
41011         [BZ #13656]
41012         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41013         possibly allocate from heap instead of stack.
41014         * stdio-common/bug-vfprintf-nargs.c: New file.
41015         * stdio-common/Makefile (tests): Add nargs overflow test.
41016
41017 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
41018
41019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41020
41021 2012-03-03  Marek Polacek  <polacek@redhat.com>
41022
41023         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41024         * math/math_private.h: Likewise.
41025         * stdlib/tst-strtod.c: Likewise.
41026         * sysdeps/i386/i486/bits/atomic.h: Likewise.
41027         * sysdeps/x86_64/bits/atomic.h: Likewise.
41028
41029 2012-03-02  David S. Miller  <davem@davemloft.net>
41030
41031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41035         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41036         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41037         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41038         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41039
41040 2012-03-02  Roland McGrath  <roland@hack.frob.com>
41041
41042         [BZ #13792]
41043         * manual/examples/README: New file, says the example source files
41044         can be used under GPL>=2.
41045         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41046         line containing just "*/".
41047         * manual/examples/add.c: Add copyright header (GPL>=2).
41048         * manual/examples/argp-ex1.c: Likewise.
41049         * manual/examples/argp-ex2.c: Likewise.
41050         * manual/examples/argp-ex3.c: Likewise.
41051         * manual/examples/argp-ex4.c: Likewise.
41052         * manual/examples/atexit.c: Likewise.
41053         * manual/examples/db.c: Likewise.
41054         * manual/examples/dir.c: Likewise.
41055         * manual/examples/dir2.c: Likewise.
41056         * manual/examples/execinfo.c: Likewise.
41057         * manual/examples/filecli.c: Likewise.
41058         * manual/examples/filesrv.c: Likewise.
41059         * manual/examples/fmtmsgexpl.c: Likewise.
41060         * manual/examples/genpass.c: Likewise.
41061         * manual/examples/inetcli.c: Likewise.
41062         * manual/examples/inetsrv.c: Likewise.
41063         * manual/examples/isockad.c: Likewise.
41064         * manual/examples/longopt.c: Likewise.
41065         * manual/examples/memopen.c: Likewise.
41066         * manual/examples/memstrm.c: Likewise.
41067         * manual/examples/mkfsock.c: Likewise.
41068         * manual/examples/mkisock.c: Likewise.
41069         * manual/examples/mygetpass.c: Likewise.
41070         * manual/examples/pipe.c: Likewise.
41071         * manual/examples/popen.c: Likewise.
41072         * manual/examples/rprintf.c: Likewise.
41073         * manual/examples/search.c: Likewise.
41074         * manual/examples/select.c: Likewise.
41075         * manual/examples/setjmp.c: Likewise.
41076         * manual/examples/sigh1.c: Likewise.
41077         * manual/examples/sigusr.c: Likewise.
41078         * manual/examples/stpcpy.c: Likewise.
41079         * manual/examples/strdupa.c: Likewise.
41080         * manual/examples/strftim.c: Likewise.
41081         * manual/examples/strncat.c: Likewise.
41082         * manual/examples/subopt.c: Likewise.
41083         * manual/examples/swapcontext.c: Likewise.
41084         * manual/examples/termios.c: Likewise.
41085         * manual/examples/testopt.c: Likewise.
41086         * manual/examples/testpass.c: Likewise.
41087         * manual/examples/timeval_subtract.c: Likewise.
41088
41089         [BZ #13792]
41090         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41091         function to ...
41092         * manual/timeval_subtract.c.texi: ... here, new file.
41093
41094 2012-03-02  David S. Miller  <davem@davemloft.net>
41095
41096         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41097
41098 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41099
41100         [BZ #3976]
41101         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41102         (__sin): Save and restore rounding mode and use round-to-nearest
41103         for all computations.
41104         (__cos): Save and restore rounding mode and use round-to-nearest
41105         for all computations.
41106         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41107         <fenv.h>.
41108         (tan): Save and restore rounding mode and use round-to-nearest for
41109         all computations.
41110         * math/libm-test.inc (cos_test_tonearest): New function.
41111         (cos_test_towardzero): Likewise.
41112         (cos_test_downward): Likewise.
41113         (cos_test_upward): Likewise.
41114         (sin_test_tonearest): Likewise.
41115         (sin_test_towardzero): Likewise.
41116         (sin_test_downward): Likewise.
41117         (sin_test_upward): Likewise.
41118         (tan_test_tonearest): Likewise.
41119         (tan_test_towardzero): Likewise.
41120         (tan_test_downward): Likewise.
41121         (tan_test_upward): Likewise.
41122         (main): Call the new functions.
41123         * sysdeps/i386/fpu/libm-test-ulps: Update.
41124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41125
41126         [BZ #10135]
41127         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41128         small n, then large n, before computing and testing k+n.
41129         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41130         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41131         Likewise.
41132         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41133         Likewise.
41134         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41135         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41136         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41137         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41138         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41139         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41140         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41141         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41142         * math/libm-test.inc (scalbn_test): Add more tests.
41143         (scalbln_test): Likewise.
41144
41145         * manual/filesys.texi (mode_t): Describe constraints on size and
41146         signedness, not exact equivalence to a particular type.
41147         (ino_t): Likewise.
41148         (ino64_t): Likewise.
41149         (dev_t): Likewise.
41150         (nlink_t): Likewise.
41151         (blkcnt_t): Likewise.
41152         (blkcnt64_t): Likewise.
41153         * manual/llio.texi (off_t): Likewise.
41154
41155         [BZ #3976]
41156         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41157         (__ieee754_exp): Save and restore rounding mode and use
41158         round-to-nearest for all computations.
41159         * math/libm-test.inc (exp_test_tonearest): New function.
41160         (exp_test_towardzero): Likewise.
41161         (exp_test_downward): Likewise.
41162         (exp_test_upward): Likewise.
41163         (main): Call the new functions.
41164         * sysdeps/i386/fpu/libm-test-ulps: Update.
41165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41166
41167 2012-03-01  Chris Demetriou  <cgd@google.com>
41168
41169         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41170         have predictable order.
41171
41172 2012-03-01  David S. Miller  <davem@davemloft.net>
41173
41174         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41175
41176         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41177         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41178         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41179         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41180
41181         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41182         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41183         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41185         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41186         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41187         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41188         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41189         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41190
41191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41192
41193         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41194         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41195         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41196
41197         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41198         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41199         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41200         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41201         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41202         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41203         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41204         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41205         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41206         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41207         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41208         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41209         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41210         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41211         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41212         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41213         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41214         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41215         * sysdeps/sparc/elf/configure: Regenerated.
41216
41217 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41218
41219         * configure.in (AS, LD): Require binutils 2.20 or later.
41220         * configure: Regenerated.
41221         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41222         as required minimum version.
41223         * INSTALL: Regenerated.
41224
41225         [BZ #2541]
41226         [BZ #4108]
41227         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41228         before squaring exponent.
41229         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41230         bottom long double and 27 bits of top long double before squaring
41231         exponent.
41232         * math/libm-test.inc (erfc_test): Add more tests.
41233         * sysdeps/i386/fpu/libm-test-ulps: Update.
41234         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41236
41237 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41238
41239         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41240         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41241         containing bit-fields.
41242         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41243         * soft-fp/single.h (_FP_UNION_S): Likewise.
41244         * soft-fp/double.h (_FP_UNION_D): Likewise.
41245
41246 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41247
41248         [BZ #13786]
41249         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41250         not include ../strcmp.S.
41251         [USE_AS_STRNCASECMP_L]: Likewise.
41252         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41253         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41254         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41255         (__strncasecmp_l_ia32): Define as alias to
41256         __strncasecmp_l_nonascii.
41257
41258         [BZ #5794]
41259         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41260         * sysdeps/i386/fpu/libm-test-ulps: Update.
41261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41262
41263         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41265
41266 2012-02-29  Jeff Law  <law@redhat.com>
41267
41268         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41269         out of bounds read.
41270
41271 2012-02-29  Marek Polacek  <polacek@redhat.com>
41272
41273         [BZ #13706]
41274         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41275         * elf/Makefile: Add rules to run tst-unused-dep.out.
41276
41277 2012-02-28  David S. Miller  <davem@davemloft.net>
41278
41279         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41280         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41281         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41282         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41283         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41284         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41285
41286 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41287
41288         * math/libm-test.inc (llround_test): Move one test from
41289         lround_test.  Use TEST_f_L in moved test.
41290         (lround_test): Move misplaced test to llround_test.  Add testcase
41291         from bug 2561.
41292
41293 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41294
41295         * sysdeps/x86_64/fpu/e_expf.S: New file.
41296         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41297
41298 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41299
41300         [BZ #13637]
41301         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41302         of remain_len that may cause incomplete multi-byte character and
41303         false match.
41304         * posix/bug-regex33.c: New file.
41305         * posix/Makefile (tests): Add bug-regex33.
41306
41307 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41308
41309         * manual/macros.texi: New file.
41310         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41311         * manual/libc.texinfo: Include macros.texi.
41312         * manual/creatute.texi: Likewise.
41313         * manual/install.texi: Likewise.
41314         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41315         @glibcadj{} in references to the GNU C Library.
41316         * manual/charset.texi: Likewise.
41317         * manual/conf.texi: Likewise.
41318         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41319         when not using those macros.
41320         * manual/creature.texi: Likewise.
41321         * manual/crypt.texi: Likewise.
41322         * manual/errno.texi: Likewise.
41323         * manual/filesys.texi: Likewise.
41324         * manual/header.texi: Likewise.
41325         * manual/install.texi: Likewise.
41326         * manual/intro.texi: Likewise.
41327         * manual/io.texi: Likewise.
41328         * manual/job.texi: Likewise.
41329         * manual/lang.texi: Likewise.
41330         * manual/libc.texiinfo: Likewise.
41331         * manual/llio.texi: Likewise.
41332         * manual/locale.texi: Likewise.
41333         * manual/maint.texi: Likewise.
41334         * manual/math.texi: Likewise.
41335         * manual/memory.texi: Likewise.
41336         * manual/message.texi: Likewise.
41337         * manual/nss.texi: Likewise.
41338         * manual/pattern.texi: Likewise.
41339         * manual/process.texi: Likewise.
41340         * manual/resource.texi: Likewise.
41341         * manual/search.texi: Likewise.
41342         * manual/setjmp.texi: Likewise.
41343         * manual/signal.texi: Likewise.
41344         * manual/socket.texi: Likewise.
41345         * manual/startup.texi: Likewise.
41346         * manual/stdio.texi: Likewise.
41347         * manual/string.texi: Likewise.
41348         * manual/sysinfo.texi: Likewise.
41349         * manual/syslog.texi: Likewise.
41350         * manual/terminal.texi: Likewise.
41351         * manual/time.texi: Likewise.
41352         * manual/users.texi: Likewise.
41353         * INSTALL: Regenerated.
41354         * NOTES: Regenerated.
41355         * sysdeps/gnu/errlist.c: Regenerated.
41356
41357 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41358
41359         * include/dirent.h: Include <dirstream.h> before
41360         <dirent/dirent.h>.
41361
41362 2012-02-28  David S. Miller  <davem@davemloft.net>
41363
41364         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41365         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41366         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41367         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41368
41369 2012-02-27  David S. Miller  <davem@davemloft.net>
41370
41371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41373         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41374         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41375
41376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41377         frame pointer instead of stack pointer relative arg slot.
41378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41379         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41380         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41381
41382 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41383
41384         [BZ #3992]
41385         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41386
41387 2012-02-27  David S. Miller  <davem@davemloft.net>
41388
41389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41390         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41391         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41393         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41394         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41395         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41396         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41397
41398 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41399
41400         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41401         later.  Allow versions 5-9.
41402         * configure: Regenerated.
41403         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41404         required minimum version and 4.6 as recommended version.  Do not
41405         mention bugs in GCC 2.7 and 2.8.
41406         * INSTALL: Regenerated.
41407
41408 2012-02-27  David S. Miller  <davem@davemloft.net>
41409
41410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41414         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41415         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41416         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41417         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41418
41419         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41420         manipulate bits before adding and subtracting TWO112[sx].
41421         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41422
41423 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41424
41425         [BZ #13775]
41426         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41427         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41428         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41429         being in POSIX, because they are in 1003.1-2008.
41430
41431         * rt/tst-aio.c: Include <fcntl.h>.
41432         * rt/tst-aio7.c: Likewise.
41433         * rt/tst-aio64.c: Likewise.
41434
41435         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41436
41437 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41438
41439         * manual/install.texi (--with-headers): Describe headers as
41440         interface headers, not private headers.
41441         (Specific advice for GNU/Linux systems): Describe use of headers
41442         from "make headers_install", not private headers from older
41443         kernels.
41444         * INSTALL: Regenerated.
41445         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41446         Change to 2.6.19.
41447         * sysdeps/unix/sysv/linux/configure: Regenerated.
41448
41449         * manual/llio.texi (fclean): Remove documentation.
41450
41451         * manual/Makefile (libc-texi-generated): New variable.  Include
41452         version.texi.
41453         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41454         $(libc-texi-generated), not duplicated list of files.
41455         (version.texi, stamp-version): New rules.
41456         (realclean): Remove $(libc-texi-generated), not individual files
41457         from that list.  Do not remove dir-add.texinfo.
41458         * manual/libc.texinfo: Comment out uses of edition numbers and
41459         references to printed manual.  Remove last-updated dates.
41460         (EDITION): Comment out.
41461         (ISBN): Likewise.
41462         (VERSION, UPDATED): Remove.
41463         (version.texi): Include.
41464
41465 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41466
41467         * sysdeps/posix/spawni.c: Include <signal.h>.
41468         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41469         * sysdeps/pthread/aio_fsync.c: Likewise.
41470
41471 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41472
41473         * conform/Makefile (tests): Run only when not cross-compiling and
41474         when fast-check is not defined.
41475
41476         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41477         * conform/data/limits.h-data: Fixes for POSIX2008.
41478         * conform/run-conformtest.sh: Run all tests.
41479         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41480         headers.
41481         * include/bits/dlfcn.h: Likewise.
41482         * include/langinfo.h: Likewise.
41483         * include/monetary.h: Likewise.
41484         * include/sys/poll.h: Likewise.
41485
41486         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41487         for __USE_GNU.
41488         * posix/spawn.h: Define __need_sigset_t.
41489         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41490         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41491         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41492         to get sigevent_t only.
41493         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41494         only for __USE_GNU.
41495         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41496         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41497         process_vm_writev only for __USE_GNU.
41498         * termios/termios.h: Declare tcgetsid also for POSIX2008.
41499
41500         * conform/Makefile: For now ignore errors from run-conformtest.
41501         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
41502         POSIX to avoid namespace pollution.  Don't prepend headers.
41503         * conform/data/aio.h-data: Fixes for POSIX testing.
41504         * conform/data/fcntl.h-data: Likewise.
41505         * conform/data/glob.h-data: Likewise.
41506         * conform/data/grp.h-data: Likewise.
41507         * conform/data/pthread.h-data: Likewise.
41508         * conform/data/pwd.h-data: Likewise.
41509         * conform/data/signal.h-data: Likewise.
41510         * conform/data/spawn.h-data: Likewise.
41511         * conform/data/stdio.h-data: Likewise.
41512         * conform/data/stdlib.h-data: Likewise.
41513         * conform/data/stropts.h-data: Likewise.
41514         * conform/data/sys/mman.h-data: Likewise.
41515         * conform/data/sys/stat.h-data: Likewise.
41516         * conform/data/sys/types.h-data: Likewise.
41517         * conform/data/sys/wait.h-data: Likewise.
41518         * conform/data/time.h-data: Likewise.
41519         * conform/data/unistd.h-data: Likewise.
41520         * conform/data/utime.h-data: Likewise.
41521
41522         * io/sys/stat.h: fchmod was always in POSIX.
41523         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41524         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41525         * rt/aio.h: Define __need_timespec before including <time.h>.
41526         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41527         struct.  Add forward declaration of pthread_attr_t and use it in
41528         sigevent.
41529         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41530         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41531         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41532         always remove CLK_TCK definition.
41533
41534 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
41535
41536         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41537
41538 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
41539
41540         * conform/run-conformtest.sh: New file.
41541         * conform/Makefile: Run run-conformtest for tests.
41542         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
41543         support.
41544
41545         * conform/data/uchar.h-data: New file.
41546         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41547         * conform/data/arpa/inet.h-data: Likewise.
41548         * conform/data/assert.h-data: Likewise.
41549         * conform/data/complex.h-data: Likewise.
41550         * conform/data/cpio.h-data: Likewise.
41551         * conform/data/ctype.h-data: Likewise.
41552         * conform/data/dirent.h-data: Likewise.
41553         * conform/data/dlfcn.h-data: Likewise.
41554         * conform/data/errno.h-data: Likewise.
41555         * conform/data/fcntl.h-data: Likewise.
41556         * conform/data/float.h-data: Likewise.
41557         * conform/data/fmtmsg.h-data: Likewise.
41558         * conform/data/fnmatch.h-data: Likewise.
41559         * conform/data/ftw.h-data: Likewise.
41560         * conform/data/glob.h-data: Likewise.
41561         * conform/data/grp.h-data: Likewise.
41562         * conform/data/iconv.h-data: Likewise.
41563         * conform/data/inttypes.h-data: Likewise.
41564         * conform/data/langinfo.h-data: Likewise.
41565         * conform/data/libgen.h-data: Likewise.
41566         * conform/data/limits.h-data: Likewise.
41567         * conform/data/locale.h-data: Likewise.
41568         * conform/data/math.h-data: Likewise.
41569         * conform/data/monetary.h-data: Likewise.
41570         * conform/data/mqueue.h-data: Likewise.
41571         * conform/data/ndbm.h-data: Likewise.
41572         * conform/data/net/if.h-data: Likewise.
41573         * conform/data/netdb.h-data: Likewise.
41574         * conform/data/netinet/in.h-data: Likewise.
41575         * conform/data/nl_types.h-data: Likewise.
41576         * conform/data/poll.h-data: Likewise.
41577         * conform/data/pthread.h-data: Likewise.
41578         * conform/data/pwd.h-data: Likewise.
41579         * conform/data/regex.h-data: Likewise.
41580         * conform/data/sched.h-data: Likewise.
41581         * conform/data/search.h-data: Likewise.
41582         * conform/data/semaphore.h-data: Likewise.
41583         * conform/data/setjmp.h-data: Likewise.
41584         * conform/data/signal.h-data: Likewise.
41585         * conform/data/spawn.h-data: Likewise.
41586         * conform/data/stdarg.h-data: Likewise.
41587         * conform/data/stdio.h-data: Likewise.
41588         * conform/data/stdlib.h-data: Likewise.
41589         * conform/data/string.h-data: Likewise.
41590         * conform/data/strings.h-data: Likewise.
41591         * conform/data/stropts.h-data: Likewise.
41592         * conform/data/sys/ipc.h-data: Likewise.
41593         * conform/data/sys/mman.h-data: Likewise.
41594         * conform/data/sys/msg.h-data: Likewise.
41595         * conform/data/sys/resource.h-data: Likewise.
41596         * conform/data/sys/select.h-data: Likewise.
41597         * conform/data/sys/sem.h-data: Likewise.
41598         * conform/data/sys/shm.h-data: Likewise.
41599         * conform/data/sys/socket.h-data: Likewise.
41600         * conform/data/sys/stat.h-data: Likewise.
41601         * conform/data/sys/statvfs.h-data: Likewise.
41602         * conform/data/sys/time.h-data: Likewise.
41603         * conform/data/sys/timeb.h-data: Likewise.
41604         * conform/data/sys/times.h-data: Likewise.
41605         * conform/data/sys/types.h-data: Likewise.
41606         * conform/data/sys/uio.h-data: Likewise.
41607         * conform/data/sys/un.h-data: Likewise.
41608         * conform/data/sys/utsname.h-data: Likewise.
41609         * conform/data/sys/wait.h-data: Likewise.
41610         * conform/data/syslog.h-data: Likewise.
41611         * conform/data/tar.h-data: Likewise.
41612         * conform/data/termios.h-data: Likewise.
41613         * conform/data/utime.h-data: Likewise.
41614         * conform/data/utmpx.h-data: Likewise.
41615         * conform/data/varargs.h-data: Likewise.
41616         * conform/data/wchar.h-data: Likewise.
41617         * conform/data/wctype.h-data: Likewise.
41618         * conform/data/wordexp.h-data: Likewise.
41619
41620         * include/stropts.h: New file.
41621         * include/uchar.h: New file.
41622         * include/aio.h: Changes to allow conformtest.pl to use the headers.
41623         * include/assert.h: Likewise.
41624         * include/ctype.h: Likewise.
41625         * include/dirent.h: Likewise.
41626         * include/dlfcn.h: Likewise.
41627         * include/fcntl.h: Likewise.
41628         * include/fnmatch.h: Likewise.
41629         * include/glob.h: Likewise.
41630         * include/grp.h: Likewise.
41631         * include/libio.h: Likewise.
41632         * include/locale.h: Likewise.
41633         * include/math.h: Likewise.
41634         * include/net/if.h: Likewise.
41635         * include/netdb.h: Likewise.
41636         * include/netinet/in.h: Likewise.
41637         * include/pthread.h: Likewise.
41638         * include/pwd.h: Likewise.
41639         * include/regex.h: Likewise.
41640         * include/sched.h: Likewise.
41641         * include/search.h: Likewise.
41642         * include/setjmp.h: Likewise.
41643         * include/signal.h: Likewise.
41644         * include/stdio.h: Likewise.
41645         * include/stdlib.h: Likewise.
41646         * include/string.h: Likewise.
41647         * include/sys/cdefs.h: Likewise.
41648         * include/sys/mman.h: Likewise.
41649         * include/sys/msg.h: Likewise.
41650         * include/sys/resource.h: Likewise.
41651         * include/sys/select.h: Likewise.
41652         * include/sys/socket.h: Likewise.
41653         * include/sys/stat.h: Likewise.
41654         * include/sys/statvfs.h: Likewise.
41655         * include/sys/time.h: Likewise.
41656         * include/sys/times.h: Likewise.
41657         * include/sys/uio.h: Likewise.
41658         * include/sys/utsname.h: Likewise.
41659         * include/sys/wait.h: Likewise.
41660         * include/termios.h: Likewise.
41661         * include/time.h: Likewise.
41662         * include/ulimit.h: Likewise.
41663         * include/unistd.h: Likewise.
41664         * include/utime.h: Likewise.
41665         * include/wchar.h: Likewise.
41666         * include/wctype.h: Likewise.
41667         * include/wordexp.h: Likewise.
41668
41669         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41670
41671         * time/time.h: TIME_UTC must be a macro.
41672         Make timespec_get available for ISO C11 only as well.
41673
41674 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
41675
41676         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41677         Reported by Peng Haitao <penght@cn.fujitsu.com>.
41678
41679 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41680
41681         * configure.in: Use -o not -a in test for unsupported multi-arch.
41682
41683 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41684
41685         * manual/texinfo.tex: Update to version 2012-01-19.16.
41686
41687 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41688
41689         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41690
41691 2012-02-24  Roland McGrath  <roland@hack.frob.com>
41692
41693         [BZ #13738]
41694         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41695         * manual/fdl-1.3.texi: New file.
41696         * manual/fdl-1.1.texi: File removed.
41697
41698         [BZ #13738]
41699         * manual/libc.texinfo (FDL_VERSION): New @set.
41700         Use it for mention of FDL in cover text.
41701         (Documentation License): Use it in @include file name.
41702
41703 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41704             Roland McGrath  <roland@hack.frob.com>
41705
41706         [BZ #5461]
41707         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41708         (not LONG_LONG_MAX and LONG_LONG_MIN.
41709         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41710         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
41711         name.
41712         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41713
41714 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41715
41716         [BZ #2547]
41717         [BZ #11365]
41718         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41719         manipulate bits before adding and subtracting TWO23[sx].
41720         * math/libm-test.inc (nearbyint_test): Add more tests.
41721
41722 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41723
41724         [BZ #2548]
41725         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41726         bits before adding and subtracting TWO23[sx].
41727         * math/libm-test.inc (rint_test): Add more tests.
41728         (rint_test_tonearest): Likewise.
41729         (rint_test_towardzero): Likewise.
41730         (rint_test_downward): Likewise.
41731         (rint_test_upward: Likewise.
41732
41733 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41734
41735         [BZ #10110]
41736         * include/stdc-predef.h: New file.  Extracted from features.h.
41737         * include/features.h: Include stdc-predef.h.
41738         * Makefile (headers): Add stdc-predef.h.
41739         * CONFORMANCE (Compiler limitations): Update.
41740
41741 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41742
41743         * manual/libc.texinfo (VERSION, UPDATED): Revert.
41744
41745 2012-02-21  David S. Miller  <davem@davemloft.net>
41746
41747         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41748         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41749
41750 2012-02-20  David S. Miller  <davem@davemloft.net>
41751
41752         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41753         using a normal save/restore sequence, rather than allocating a
41754         dummy stack frame just to store a frame pointer and restore.
41755         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41756
41757 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41758
41759         * manual/install.texi: Fix stray word in line-wrapped comment.
41760
41761 2012-02-20  David S. Miller  <davem@davemloft.net>
41762
41763         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41764         both binutils and gcc support GOTDATA.
41765
41766         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41767         "rd %pc" in the PIC register setup sequences.
41768
41769         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41770         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41771         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41772         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41773         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41774         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41775         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41776         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41777         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41778         (SYSCALL_ERROR_HANDLER): Likewise.
41779         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41780         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41781         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41782         (SYSCALL_ERROR_HANDLER): Likewise.
41783
41784         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41785         (HAVE_GCC_GOTDATA): New.
41786         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41787         relocation support in both binutils and gcc.
41788         * sysdeps/sparc/elf/configure: Regenerate.
41789
41790         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41791         * sysdeps/sparc/sparc32/elf/configure: Delete.
41792         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41793         * sysdeps/sparc/sparc64/elf/configure: Delete.
41794         * sysdeps/sparc/elf/configure.in: New file.
41795         * sysdeps/sparc/elf/configure: Generate.
41796
41797         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41798         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41799         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41800         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41801         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41802
41803 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41804
41805         * manual/install.texi: Do not mention specific glibc version
41806         numbers.
41807         * manual/libc.texinfo (VERSION, UPDATED): Update.
41808         (@copying): Use @copyright{} and range of years.
41809
41810 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41811
41812         [BZ #13695]
41813         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41814         [crti.S not in sysdirs] (generated): Do not append.
41815         [crti.S not in sysdirs] (omit-deps): Likewise.
41816         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41817         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41818         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41819         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41820         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41821         Likewise.
41822         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41823         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41824         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41825         * csu/defs.awk: Remove file.
41826         * sysdeps/generic/initfini.c: Likewise.
41827         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41828         variable.
41829         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41830         Likewise.
41831
41832 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41833
41834         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41835         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41836         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41837         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41838         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41839         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41840         <bits/epoll.h>.
41841         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41842         (__EPOLL_PACKED): Define to empty if not defined by
41843         <bits/epoll.h>.
41844         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41845         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41846         bits/epoll.h.
41847
41848 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41849
41850         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41851         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41852         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41853         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41854         <bits/timerfd.h>.
41855         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41856         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41857         bits/timerfd.h.
41858
41859 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41860
41861         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41862         in C locale.
41863         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41864         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41865         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41867
41868 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
41869
41870         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41871         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41872
41873 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
41874
41875         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41876         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41877         defined.
41878         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41879         Likewise.
41880         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41881         entry for 2.16.
41882
41883 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
41884
41885         * math/w_acos.c: Use non-signaling floating-point comparisons.
41886         * math/w_acosf.c: Likewise.
41887         * math/w_acosh.c: Likewise.
41888         * math/w_acoshf.c: Likewise.
41889         * math/w_acoshl.c: Likewise.
41890         * math/w_acosl.c: Likewise.
41891         * math/w_asin.c: Likewise.
41892         * math/w_asinf.c: Likewise.
41893         * math/w_asinl.c: Likewise.
41894         * math/w_atanh.c: Likewise.
41895         * math/w_atanhf.c: Likewise.
41896         * math/w_atanhl.c: Likewise.
41897         * math/w_exp2.c: Likewise.
41898         * math/w_exp2f.c: Likewise.
41899         * math/w_exp2l.c: Likewise.
41900         * math/w_j0.c: Likewise.
41901         * math/w_j0f.c: Likewise.
41902         * math/w_j0l.c: Likewise.
41903         * math/w_j1.c: Likewise.
41904         * math/w_j1f.c: Likewise.
41905         * math/w_j1l.c: Likewise.
41906         * math/w_jn.c: Likewise.
41907         * math/w_jnf.c: Likewise.
41908         * math/w_log.c: Likewise.
41909         * math/w_log10.c: Likewise.
41910         * math/w_log10f.c: Likewise.
41911         * math/w_log10l.c: Likewise.
41912         * math/w_log2.c: Likewise.
41913         * math/w_log2f.c: Likewise.
41914         * math/w_log2l.c: Likewise.
41915         * math/w_logf.c: Likewise.
41916         * math/w_logl.c: Likewise.
41917         * math/w_sqrt.c: Likewise.
41918         * math/w_sqrtf.c: Likewise.
41919         * math/w_sqrtl.c: Likewise.
41920         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41921         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41922         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41923         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41924         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41925
41926 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41927
41928         [BZ #9739]
41929         * manual/string.texi (strnlen): Use correct parameter name in
41930         equivalent expression.
41931
41932 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41933
41934         [BZ #11174]
41935         * manual/users.texi (seteuid): Consistently use neweuid for
41936         argument name.
41937
41938 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41939
41940         [BZ #13704]
41941         * manual/nss.texi (Services in the NSS configuration): Correct
41942         list of services in example configuration file.
41943
41944 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
41945
41946         [BZ #11322]
41947         * manual/arith.texi: Remove statements about negative zero
41948         behaving identically to zero.
41949
41950 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41951
41952         [BZ #5993]
41953         * manual/install.texi: Do not document upgrading from libc5.
41954
41955 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41956
41957         [BZ #4596]
41958         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41959
41960 2012-02-18  David S. Miller  <davem@davemloft.net>
41961
41962         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41963         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41964         %o7 across the call.
41965         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41966         instead.
41967         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41968         SETUP_PIC_REG_LEAF.
41969         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41970         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41971         * sysdeps/sparc/crtn.S: Likewise.
41972
41973 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
41974
41975         * aout/Makefile: Remove.
41976
41977 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
41978
41979         [BZ #13058]
41980         * manual/examples/argp-ex1.c (main): Format definition in GNU
41981         style.
41982         * manual/examples/argp-ex2.c (main): Likewise.
41983         * manual/examples/argp-ex3.c (main): Likewise.
41984         * manual/examples/argp-ex4.c (main): Likewise.
41985         * manual/examples/longopt.c (main): Use new-style prototype
41986         definition.
41987         * manual/examples/strncat.c (main): Specify return type and use
41988         (void) for arguments.
41989         * manual/examples/subopt.c (main): Use char **argv argument.
41990
41991 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41992
41993         [BZ #5077]
41994         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41995         rounding modes.
41996
41997 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
41998
41999         [BZ #6907]
42000         * manual/string.texi (strchr): Change when strchrnul is
42001         recommended.
42002
42003 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
42004
42005         [BZ #174]
42006         * manual/locale.texi (setlocale): Document LOCPATH.
42007
42008 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42009
42010         [BZ #10210]
42011         * manual/process.texi (execle): Move @dots{} before last argument.
42012
42013 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42014
42015         [BZ #12047]
42016         * manual/charset.texi (Generic Charset Conversion): Fix typo
42017         (LC_TYPE -> LC_CTYPE).
42018
42019 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
42020
42021         [BZ #5805]
42022         * manual/arith.texi (scalbn): Use @var{} on parameter names.
42023         (scalbnf): Likewise.
42024         (scalbnl): Likewise.
42025         (scalbln): Likewise.
42026         (scalblnf): Likewise.
42027         (scalblnl): Likewise.
42028         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42029         (vwarnx): Likewise.
42030         (verr): Likewise.
42031         (verrx): Likewise.
42032         * manual/filesys.texi (telldir): Use braces around return type.
42033         * manual/llio.texi (mmap): Add space after comma.
42034         (mmap64): Likewise.
42035         * manual/math.texi (jn): Use @var{} on parameter names.
42036         (jnf): Likewise.
42037         (jnl): Likewise.
42038         (yn): Likewise.
42039         (ynf): Likewise.
42040         (ynl): Likewise.
42041         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42042         line.
42043         * manual/resource.texi (ulimit): Use @dots{} instead of literal
42044         "...".
42045         (sched_get_priority_min): Remove semicolon on @deftypefun line.
42046         (sched_get_priority_max): Likewise.
42047         * manual/signal.texi (sigvec): Add space after comma.
42048         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42049         names.
42050         (if_indextoname): Likewise.
42051         (if_freenameindex): Likewise.
42052         (sendto): Use ',' instead of '.' in prototype.
42053         * manual/startup.texi (syscall): Use @dots{} instead of literal
42054         "...".
42055         * manual/stdio.texi (__fpending): Separate initial words of
42056         paragraph from @deftypefun line.
42057         * manual/syslog.texi (syslog): Use @dots{} instead of literal
42058         "...".
42059         (vsyslog): Use @var{} on parameter names.
42060         * manual/terminal.texi (stty): Use @var{} on parameter names.
42061         * manual/users.texi (getutmp): Use @var{} on parameter names.
42062         (getutmpx): Likewise.
42063
42064 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42065
42066         [BZ #6884]
42067         * manual/stdio.texi (fopen): Fix typos in description of
42068         ",ccs=STRING".
42069
42070 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
42071
42072         [BZ #4026]
42073         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42074         get clock_id definition.
42075
42076 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
42077
42078         [BZ #4822]
42079         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42080         (madvise): Cast every argument to void on its own.
42081
42082 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42083
42084         [BZ #9902]
42085         * manual/startup.texi (Exit Status): Fix typo.
42086
42087 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42088
42089         [BZ #10140]
42090         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42091         * manual/examples/argp-ex2.c: Likewise.
42092         * manual/examples/argp-ex3.c: Likewise.
42093
42094 2012-02-16  Richard Henderson  <rth@redhat.com>
42095
42096         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42097         * sysdeps/s390/s390-32/initfini.c: Remove.
42098         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42099         * sysdeps/s390/s390-64/initfini.c: Remove.
42100
42101 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42102
42103         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42104         compiler output for sysdeps/generic/initfini.c.
42105         * sysdeps/sh/elf/initfini.c: Remove file.
42106
42107 2012-02-16  David S. Miller  <davem@davemloft.net>
42108
42109         [BZ #11494]
42110         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42111
42112         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42113         * sysdeps/sparc/crti.S: New file.
42114         * sysdeps/sparc/crtn.S: New file.
42115         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42116         * sysdeps/sparc/sparc64/Makefile: Likewise.
42117
42118 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42119
42120         [BZ #3335]
42121         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42122
42123 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42124
42125         [BZ #4822]
42126         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42127
42128         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42129         (write, read, close): Likewise.
42130         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42131
42132 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42133
42134         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42135         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42136         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42137         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42138         <bits/signalfd.h>.
42139         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42140         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42141         bits/signalfd.h.
42142
42143 2012-02-14  Marek Polacek  <polacek@redhat.com>
42144
42145         * sysdeps/x86_64/crti.S: New file.
42146         * sysdeps/x86_64/crtn.S: New file.
42147         * sysdeps/x86_64/elf/initfini.c: Remove file.
42148
42149 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42150
42151         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42152         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42153         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42154         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42155         <bits/inotify.h>.
42156         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42157         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42158         bits/inotify.h.
42159
42160 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42161
42162         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42163         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42164         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42165         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42166         <bits/eventfd.h>.
42167         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42168         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42169         bits/eventfd.h.
42170
42171 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42172
42173         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42174         __feraiseexcept instead of feraiseexcept.
42175
42176         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42177         nanosleep invocations.
42178         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42179         strings, and add error checking for a nanosleep invocations.
42180
42181 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42182
42183         Replace FSF snail mail address with URLs, as per GNU coding standards.
42184         Most of the snail mail addresses were wrong anyway, and omitting
42185         them makes the source code easier to maintain.  Almost all of the
42186         changes are to license notices and to locale LC_IDENTIFICATION
42187         addresses, except for this one:
42188         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42189         not its snail mail address.
42190
42191 2012-02-09  Richard Henderson  <rth@twiddle.net>
42192
42193         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42194         of kernel-features.h.
42195
42196         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42197
42198 2012-02-08  Marek Polacek  <polacek@redhat.com>
42199
42200         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42201         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42202         * sysdeps/gnu/_G_config.h: Likewise.
42203         * sysdeps/generic/_G_config.h: Likewise.
42204
42205 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42206
42207         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42208         tests.
42209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42210
42211         * sysdeps/powerpc/powerpc32/crti.S: New file.
42212         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42213         * sysdeps/powerpc/powerpc64/crti.S: New file.
42214         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42215
42216         * Makeconfig (have-initfini): Don't set.
42217         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42218         * configure.in (nopic_initfini): Don't substitute.
42219         * config.h.in (HAVE_INITFINI): Don't #undef.
42220         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42221         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42222
42223 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42224
42225         Support crti.S and crtn.S provided directly by architectures.
42226         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42227         [crti.S in sysdirs] (omit-deps): Likewise.
42228         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42229         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42230         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42231         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42232         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42233         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42234         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42235         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42236         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42237         compiler output for sysdeps/generic/initfini.c.
42238         * sysdeps/i386/elf/Makefile: Remove file.
42239         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42240
42241 2012-02-07  Marek Polacek  <polacek@redhat.com>
42242
42243         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42244         * sysdeps/gnu/_G_config.h: Likewise.
42245         * sysdeps/mach/hurd/_G_config.h: Likewise.
42246
42247 2012-02-07  Marek Polacek  <polacek@redhat.com>
42248
42249         * math/Makefile (tests): Add tst-CMPLX2.
42250         * math/tst-CMPLX2.c: New file.
42251
42252 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42253
42254         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42255
42256         * math/libm-test.inc (jn_test): Add missing L suffix.
42257
42258 2012-02-06  Marek Polacek  <polacek@redhat.com>
42259
42260         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42261         * sysdeps/i386/fpu/e_powf.S: Likewise.
42262         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42263         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42264         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42265         * sysdeps/i386/fpu/e_pow.S: Likewise.
42266         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42267         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42268         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42269         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42270         * sysdeps/i386/fpu/e_log2.S: Likewise.
42271         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42272         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42273         * sysdeps/i386/fpu/e_powl.S: Likewise.
42274         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42275         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42276         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42277         * sysdeps/i386/fpu/e_logl.S: Likewise.
42278         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42279         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42280         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42281         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42282         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42283         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42284         * sysdeps/i386/fpu/e_log.S: Likewise.
42285         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42286         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42287         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42288         * sysdeps/i386/fpu/e_logf.S: Likewise.
42289         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42290         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42291         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42292         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42293         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42294         * sysdeps/i386/fpu/e_log10.S: Likewise.
42295         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42296         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42297         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42298         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42299         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42300         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42301         * sysdeps/i386/asm-syntax.h: Likewise.
42302         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42303         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42304         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42305         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42306         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42307         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42308         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42309         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42310         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42311         * sysdeps/powerpc/sysdep.h: Likewise.
42312         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42313         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42314
42315 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42316
42317         [BZ #411]
42318         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42319
42320 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42321
42322         * sysdeps/i386/sysdep.h: Include <features.h>.
42323         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42324         version.
42325
42326 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42327
42328         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42329         Define.
42330         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42331         LOAD_PIC_REG_STR.
42332
42333 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42334
42335         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42336         (SETUP_PIC_REG): Use GET_PC_THUNK.
42337         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42338         macro.
42339
42340 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42341
42342         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42343         for non-PIC compilation.
42344         (SETUP_PIC_REG): Add .p2align directive.
42345         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42346         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42347         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42348         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42349         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42350         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42351         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42352         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42353         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42354         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42355         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42356         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42357         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42358         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42359         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42360         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42361         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42362         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42363         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42364         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42365         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42366         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42367         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42368         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42369         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42370         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42371         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42372         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42373         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42374         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42375         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42376         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42377         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42378         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42379         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42380         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42381         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42382         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42383         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42384         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42385         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42386
42387 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42388
42389         * math/tst-CMPLX.c: Include <stdio.h>.
42390
42391 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42392
42393         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42394         float.
42395         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42396         * sysdeps/sparc/bits/mathdef.h: Likewise.
42397
42398 2012-01-31  Marek Polacek  <polacek@redhat.com>
42399
42400         * libio/libio.h: Don't define _PARAMS.
42401         * locale/programs/config.h: Don't define PARAMS.
42402         * stdlib/strtol_l.c: Likewise.
42403         (__strtol_l): Remove PARAMS from the prototype.
42404
42405 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42406
42407         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42408         names.  Just use the correct names.  Remove unnecessary wrapper
42409         functions.
42410         * malloc/arena.c: Likewise.
42411         * malloc/hooks.c: Likewise.
42412
42413         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42414         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42415         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42416
42417 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42418
42419         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42420         into tail calls.
42421         (update_get_addr): New function.
42422         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42423         GET_ADDR_MODULE parameter.
42424
42425 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42426
42427         * crypt/cert.c: Remove __STDC__ conditionals.
42428         * crypt/crypt-entry.c: Likewise.
42429         * crypt/crypt_util.c: Likewise.
42430         * libio/filedoalloc.c: Likewise.
42431         * libio/fileops.c: Likewise.
42432         * libio/genops.c: Likewise.
42433         * libio/iofclose.c: Likewise.
42434         * libio/iofdopen.c: Likewise.
42435         * libio/iofopen.c: Likewise.
42436         * libio/iofopen64.c: Likewise.
42437         * libio/iogetdelim.c: Likewise.
42438         * libio/iopopen.c: Likewise.
42439         * libio/obprintf.c: Likewise.
42440         * libio/oldfileops.c: Likewise.
42441         * libio/oldiofclose.c: Likewise.
42442         * libio/oldiofdopen.c: Likewise.
42443         * libio/oldiofopen.c: Likewise.
42444         * libio/oldiopopen.c: Likewise.
42445         * libio/wfiledoalloc.c: Likewise.
42446         * libio/wgenops.c: Likewise.
42447         * locale/programs/xmalloc.c: Likewise.
42448         * misc/syslog.c: Likewise.
42449         * stdio-common/xbug.c: Likewise.
42450         * string/memchr.c: Likewise.
42451         * string/memcmp.c: Likewise.
42452         * string/memrchr.c: Likewise.
42453         * string/rawmemchr.c: Likewise.
42454         * sysdeps/posix/getcwd.c: Likewise.
42455         * time/strftime_l.c: Likewise.
42456
42457 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42458
42459         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42460         * config.make.in (config-cflags-sse2avx): Define.
42461         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42462         Fix typo.
42463
42464 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42465
42466         * scripts/config.guess: Update from upstream config git repository.
42467         * scripts/config.sub: Likewise.
42468
42469 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42470
42471         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42472         (EM_NUM): Update.
42473         (R_TILEPRO_*, R_TILEGX_*): New macros.
42474
42475         * scripts/firstversions.awk: Fix bug in version range handling.
42476
42477         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42478
42479         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42480
42481         * include/sys/epoll.h: New file.
42482         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42483         libc_hidden_def.
42484
42485 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42486
42487         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42488         Avoid unnecessary __WORDSIZE == 64 test.
42489         (fmaxf): Use VEX format if possible.
42490         (fmax): Likewise.
42491         (fminf): Likewise.
42492         (fmin): Likewise.
42493
42494         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42495         * math/math_private.h: Remove libc_fegetround* and
42496         libc_fesetround*.
42497         * sysdeps/i386/configure.in: Check for -msse2avx.
42498         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42499         also if SSE2AVX is defined.
42500         Remove libc_fegetround* and libc_fesetround*.
42501         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42502         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
42503         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42504         of HAS_YMM_USABLE.
42505         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42506         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42507         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42508         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42509         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42510
42511         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42512
42513 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42514
42515         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42516         size is not set.
42517         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42518
42519 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
42520
42521         [BZ #13618]
42522         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42523         relocation.
42524         * Makeconfig (libm): Define.
42525         * elf/Makefile: Add rules to build and run tst-relsort1.
42526         * elf/tst-relsort1.c: New file.
42527         * elf/tst-relsort1mod1.c: New file.
42528         * elf/tst-relsort1mod2.c: New file.
42529
42530 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
42531
42532         * math/s_ldexp.c: Remove __STDC__ conditionals.
42533         * math/s_ldexpf.c: Likewise.
42534         * math/s_ldexpl.c: Likewise.
42535         * math/s_nextafter.c: Likewise.
42536         * math/s_nexttowardf.c: Likewise.
42537         * math/s_significand.c: Likewise.
42538         * math/s_significandf.c: Likewise.
42539         * math/s_significandl.c: Likewise.
42540         * math/w_jnl.c: Likewise.
42541         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42542         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42543         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42544         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42545         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42546         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42547         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42548         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42549         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42550         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42551         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42552         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42553         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42554         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42555         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42556         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42557         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42558         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42559         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42560         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42561         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42562         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42563         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42564         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42565         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42566         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42567         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42568         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42569         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42570         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42571         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42572         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42573         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42574         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42575         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42576         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42577         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42578         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42579         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42580         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42581         * sysdeps/ieee754/k_standard.c: Likewise.
42582         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42583         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42584         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42585         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42586         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42587         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42588         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42589         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42590         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42591         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42592         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42593         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42594         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42595         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42596         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42597         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42598         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42599         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42600         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42601         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42602         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42603         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42604         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42605         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42606         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42607         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42608         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42609         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42610         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42611         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42612         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42613         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42614         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42615         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42616         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42617         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42618         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42619         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42620         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42621         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42622         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42623         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42624         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42625         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42626         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42627         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42628         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42629         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42630         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42631         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42632         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42633         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42634         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42635         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42636         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42637         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42638         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42639         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42640         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42641         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42642         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42643         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42644         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42645         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42646         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42647         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42648         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42649         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42650         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42651         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42652         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42653         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42654         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42655         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42656         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42657         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42658         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42659         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42660         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42661         * sysdeps/ieee754/s_matherr.c: Likewise.
42662         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42663         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42664         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42665         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42666
42667 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42668
42669         * crypt/md5.h: Remove __STDC__ conditionals.
42670         * libio/libioP.h: Likewise.
42671         * locale/programs/config.h: Likewise.
42672         * sysdeps/generic/sysdep.h: Likewise.
42673         * sysdeps/i386/asm-syntax.h: Likewise.
42674         * sysdeps/s390/asm-syntax.h: Likewise.
42675         * sysdeps/unix/sysdep.h: Likewise.
42676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42678
42679 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42680
42681         * libio/libio.h: Remove __STDC__ conditionals.
42682         * malloc/obstack.h: Likewise.
42683         * math/complex.h: Likewise.
42684         * math/math.h: Likewise.
42685         * sysdeps/generic/_G_config.h: Likewise.
42686         * sysdeps/gnu/_G_config.h: Likewise.
42687         * sysdeps/mach/hurd/_G_config.h: Likewise.
42688         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42689         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42690         * sysdeps/sparc/bits/mathdef.h: Likewise.
42691
42692 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
42693
42694         [BZ #13583]
42695         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42696         Clean up HAS_* macros.
42697         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42698         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42699         possible.
42700         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42701         HAS_AVX.
42702         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42703         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42704         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42705         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42706         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42707
42708 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
42709
42710         * elf/tst-unique3.cc (gets): Remove declaration.
42711         * elf/tst-unique3lib.cc (gets): Likewise.
42712         * elf/tst-unique3lib2.cc (gets): Likewise.
42713         * elf/tst-unique4.cc (gets): Likewise.
42714
42715 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
42716
42717         * include/stdio.h: Add C++ protection.  Add gets declarations and
42718         definitions.
42719         * debug/tst-chk1.c: Don't declare gets here.
42720         * stdio-common/tst-gets.c: Likewise.
42721
42722 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42723
42724         * posix/glob: Remove directory.
42725
42726 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42727
42728         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42729
42730 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
42731
42732         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42733         of the non-standard EPFNOSUPPORT.
42734
42735 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42736
42737         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42738         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42739         ANYWHERE set to 1 only on KERN_NO_SPACE error.
42740
42741 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
42742
42743         * wcsmbs/uchar.h: Test __STDC_VERSION__.
42744
42745 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
42746
42747         * nscd/aicache.c (addhstaiX): Do not cache negative results of
42748         transient errors.
42749         * nscd/grpcache.c (cache_addgr): Likewise.
42750         * nscd/hstcache.c (cache_addhst): Likewise.
42751         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42752         * nscd/pwdcache.c (cache_addpw): Likewise.
42753         * nscd/servicescache.c (cache_addserv): Likewise.
42754
42755 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
42756
42757         * malloc/malloc.c: Various cleanups.
42758         * malloc/hooks.c: Likewise.
42759
42760         * stdlib/Makefile (tests): Add bug-fmtmsg1.
42761         * stdlib/bug-fmtmsg1.c: New file.
42762
42763         * stdlib/fmtmsg.c (init): Add missing unlock.
42764         Patch by Peng Haitao <penght@cn.fujitsu.com>.
42765
42766 2012-01-12  Marek Polacek  <polacek@redhat.com>
42767
42768         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42769         and _GNU_SOURCE.
42770
42771 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42772
42773         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42774         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42775         macro to ensure uniqueness of label name.
42776         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42777         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42778
42779 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
42780
42781         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42782
42783         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42784         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42785         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42786         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42787
42788 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
42789
42790         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42791
42792         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42793         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42794         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42795
42796         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42797
42798         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42799         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42800         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42801         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42802
42803         * math/bits/math-finite.h: Add ldexp support.
42804
42805 2012-01-10  Marek Polacek  <polacek@redhat.com>
42806
42807         * locale/programs/localedef.h (show_archive_content): Add noreturn
42808         attribute.
42809
42810 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
42811
42812         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42813
42814 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42815
42816         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42817
42818         * io/Makefile (headers): Add bits/poll2.h.
42819
42820 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
42821
42822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42823         typo #include statement.
42824
42825 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42826
42827         * include/sys/cdefs.h: Define __attribute_alloc_size.
42828         * catgets/gencat.c: Add alloc_size attribute and apply consistently
42829         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42830         * elf/pldd.c: Likewise.
42831         * iconv/iconv_charmap.c: Likewise.
42832         * iconv/iconvconfig.c: Likewise.
42833         * iconv/strtab.c: Likewise.
42834         * locale/programs/locale.c: Likewise.
42835         * locale/programs/localedef.h: Likewise.
42836         * locale/programs/simple-hash.c: Likewise.
42837         * nscd/nscd.h: Likewise.
42838         * nss/makedb.c: Likewise.
42839         * sysdeps/generic/ldconfig.h: Likewise.
42840         * locale/programs/localedef.c: Remove xmalloc prototype.
42841         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42842
42843 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42844
42845         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42846         appropriate.
42847
42848 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42849
42850         * math/Makefile (tests): Add tst-CMPLX.
42851         * math/tst-CMPLX.c: New file.
42852
42853         * math/complex.h (CMPLXL): Fix typo.
42854
42855         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42856         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42857         GLIBC_2.16.
42858         * debug/tst-chk1.c: Add poll and ppoll tests.
42859         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42860         * include/sys/poll.h: Add hidden proto for ppoll.
42861         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42862         * sysdeps/mach/hurd/ppoll.c: Likewise.
42863         * io/ppoll.c: Likewise.
42864         * debug/poll_chk.c: New file.
42865         * debug/ppoll_chk.c: New file.
42866         * include/bits/poll2.h: New file.
42867         * io/bits/poll2.h: New file.
42868
42869         [BZ #1350]
42870         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42871
42872         * configure.in: static is always set to yes.  Remove.
42873         * config.make.in: Don't set build-static.
42874         * Makeconfig: Remove use of build-static.
42875         * dlfcn/Makefile: Likewise.
42876         * elf/Makefile: Likewise.
42877         * math/Makefile: Likewise.
42878         * misc/Makefile: Likewise.
42879         * nptl/Makefile: Likewise.
42880         * sysdeps/mach/hurd/Makefile: Likewise.
42881
42882         * configure.in: PWD_P is not used anymore.
42883         * config.make.in: Remove PWD_P entry.
42884
42885         * configure.in: Remove last remnants of RANLIB.
42886         No need to check for signed size_t anymore.
42887         Don't set libc_commonpagesize and libc_relro_required here for Alpha
42888         and IA-64.
42889         Remove __builtin_expect test because we require at least gcc 3.4.
42890         * aclocal.m4: Likewise.
42891
42892         * wcsmbs/mbrtoc16.c: Implement using towc function.
42893         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42894         * wcsmbs/wcsmbsload.c: Likewise.
42895         * iconv/gconv_simple.c: Likewise.
42896         * iconv/gconv_int.h: Likewise.
42897         * iconv/gconv_builtin.h: Likewise.
42898         * iconv/iconv_prog.c: Remove CHAR16 handling.
42899
42900         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42901
42902         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42903
42904         * configure.in: Remove --with-elf and --enable-bounded options.
42905         Dont set base_machine for ia64.  More non-ELF conditions removed.
42906         Remove testing and setting of leading underscore information.
42907         * config.make.in (build-bounded): Set to no.
42908         * config.h.in: Remove NO_UNDERSCORES entry.
42909         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
42910         them.
42911         * csu/start.c: Remove !NO_UNDERSCORE code.
42912         * locale/localeinfo.h: Likewise.
42913         * sysdeps/generic/machine-gmon.h: Likewise.
42914         * sysdeps/generic/sysdep.h: Likewise.
42915         * sysdeps/i386/sysdep.h: Likewise.
42916         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42917         * sysdeps/mach/sysdep.h: Likewise.
42918         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42919         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42920         * sysdeps/sh/sysdep.h: Likewise.
42921         * sysdeps/sparc/sparc32/alloca.S: Likewise.
42922         * sysdeps/unix/i386/sysdep.S: Likewise.
42923         * sysdeps/unix/sparc/start.c: Likewise.
42924         * sysdeps/unix/sparc/sysdep.S: Likewise.
42925         * sysdeps/unix/sparc/sysdep.h: Likewise.
42926         * sysdeps/unix/start.c: Likewise.
42927         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42928         * sysdeps/x86_64/sysdep.h: Likewise.
42929
42930 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
42931
42932         [BZ #13553]
42933         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42934         for non-gcc.
42935         * argp/argp-fmtstream.h: Use const instead __const.
42936         * argp/argp.h: Likewise.
42937         * assert/assert.h: Likewise.
42938         * bits/fenv.h: Likewise.
42939         * bits/sched.h: Likewise.
42940         * bits/sigset.h: Likewise.
42941         * bits/sigthread.h: Likewise.
42942         * catgets/nl_types.h: Likewise.
42943         * conform/data/pthread.h-data: Likewise.
42944         * crypt/crypt-private.h: Likewise.
42945         * crypt/crypt.h: Likewise.
42946         * crypt/crypt_util.c: Likewise.
42947         * ctype/ctype.h: Likewise.
42948         * debug/execinfo.h: Likewise.
42949         * debug/mbsnrtowcs_chk.c: Likewise.
42950         * debug/mbsrtowcs_chk.c: Likewise.
42951         * debug/wcsnrtombs_chk.c: Likewise.
42952         * debug/wcsrtombs_chk.c: Likewise.
42953         * debug/wcstombs_chk.c: Likewise.
42954         * dirent/dirent.h: Likewise.
42955         * dlfcn/dlfcn.h: Likewise.
42956         * elf/neededtest4.c: Likewise.
42957         * grp/grp.h: Likewise.
42958         * gshadow/gshadow.h: Likewise.
42959         * iconv/gconv.h: Likewise.
42960         * iconv/gconv_int.h: Likewise.
42961         * iconv/gconv_simple.c: Likewise.
42962         * iconv/iconv.h: Likewise.
42963         * iconv/loop.c: Likewise.
42964         * iconv/skeleton.c: Likewise.
42965         * include/aio.h: Likewise.
42966         * include/aliases.h: Likewise.
42967         * include/argz.h: Likewise.
42968         * include/arpa/inet.h: Likewise.
42969         * include/assert.h: Likewise.
42970         * include/dirent.h: Likewise.
42971         * include/dlfcn.h: Likewise.
42972         * include/execinfo.h: Likewise.
42973         * include/fcntl.h: Likewise.
42974         * include/fenv.h: Likewise.
42975         * include/glob.h: Likewise.
42976         * include/grp.h: Likewise.
42977         * include/libintl.h: Likewise.
42978         * include/mntent.h: Likewise.
42979         * include/netdb.h: Likewise.
42980         * include/pwd.h: Likewise.
42981         * include/rpc/netdb.h: Likewise.
42982         * include/sched.h: Likewise.
42983         * include/search.h: Likewise.
42984         * include/shadow.h: Likewise.
42985         * include/signal.h: Likewise.
42986         * include/stdio.h: Likewise.
42987         * include/stdlib.h: Likewise.
42988         * include/string.h: Likewise.
42989         * include/sys/socket.h: Likewise.
42990         * include/sys/stat.h: Likewise.
42991         * include/sys/statfs.h: Likewise.
42992         * include/sys/statvfs.h: Likewise.
42993         * include/sys/syslog.h: Likewise.
42994         * include/sys/time.h: Likewise.
42995         * include/sys/uio.h: Likewise.
42996         * include/time.h: Likewise.
42997         * include/unistd.h: Likewise.
42998         * include/utmp.h: Likewise.
42999         * include/wchar.h: Likewise.
43000         * include/wctype.h: Likewise.
43001         * inet/aliases.h: Likewise.
43002         * inet/arpa/inet.h: Likewise.
43003         * inet/netinet/ether.h: Likewise.
43004         * inet/netinet/in.h: Likewise.
43005         * intl/libintl.h: Likewise.
43006         * io/bits/fcntl2.h: Likewise.
43007         * io/fcntl.h: Likewise.
43008         * io/ftw.h: Likewise.
43009         * io/sys/poll.h: Likewise.
43010         * io/sys/stat.h: Likewise.
43011         * io/sys/statfs.h: Likewise.
43012         * io/sys/statvfs.h: Likewise.
43013         * io/utime.h: Likewise.
43014         * libio/bits/stdio.h: Likewise.
43015         * libio/bits/stdio2.h: Likewise.
43016         * libio/libio.h: Likewise.
43017         * libio/libioP.h: Likewise.
43018         * libio/stdio.h: Likewise.
43019         * locale/lc-ctype.c: Likewise.
43020         * locale/locale.h: Likewise.
43021         * login/utmp.h: Likewise.
43022         * malloc/arena.c: Likewise.
43023         * malloc/malloc.c: Likewise.
43024         * malloc/malloc.h: Likewise.
43025         * malloc/mcheck.c: Likewise.
43026         * malloc/mtrace.c: Likewise.
43027         * math/bits/mathcalls.h: Likewise.
43028         * math/fenv.h: Likewise.
43029         * math/math_private.h: Likewise.
43030         * misc/bits/error.h: Likewise.
43031         * misc/bits/syslog.h: Likewise.
43032         * misc/err.h: Likewise.
43033         * misc/error.h: Likewise.
43034         * misc/fstab.h: Likewise.
43035         * misc/mntent.h: Likewise.
43036         * misc/regexp.h: Likewise.
43037         * misc/search.h: Likewise.
43038         * misc/sgtty.h: Likewise.
43039         * misc/sys/mman.h: Likewise.
43040         * misc/sys/syslog.h: Likewise.
43041         * misc/sys/uio.h: Likewise.
43042         * misc/sys/xattr.h: Likewise.
43043         * misc/ttyent.h: Likewise.
43044         * nis/rpcsvc/ypclnt.h: Likewise.
43045         * nss/nss.h: Likewise.
43046         * posix/bits/unistd.h: Likewise.
43047         * posix/fnmatch.h: Likewise.
43048         * posix/glob.h: Likewise.
43049         * posix/sched.h: Likewise.
43050         * posix/spawn.h: Likewise.
43051         * posix/sys/wait.h: Likewise.
43052         * posix/unistd.h: Likewise.
43053         * posix/wordexp.h: Likewise.
43054         * pwd/pwd.h: Likewise.
43055         * resolv/netdb.h: Likewise.
43056         * resource/sys/resource.h: Likewise.
43057         * rt/aio.h: Likewise.
43058         * rt/bits/mqueue2.h: Likewise.
43059         * rt/mqueue.h: Likewise.
43060         * shadow/shadow.h: Likewise.
43061         * signal/signal.h: Likewise.
43062         * socket/send.c: Likewise.
43063         * socket/sendto.c: Likewise.
43064         * socket/sys/socket.h: Likewise.
43065         * stdio-common/printf.h: Likewise.
43066         * stdlib/bits/stdlib.h: Likewise.
43067         * stdlib/fmtmsg.h: Likewise.
43068         * stdlib/monetary.h: Likewise.
43069         * stdlib/stdlib.h: Likewise.
43070         * stdlib/ucontext.h: Likewise.
43071         * streams/stropts.h: Likewise.
43072         * string/argz.h: Likewise.
43073         * string/bits/string2.h: Likewise.
43074         * string/string.h: Likewise.
43075         * string/strings.h: Likewise.
43076         * sunrpc/rpc/auth.h: Likewise.
43077         * sunrpc/rpc/auth_des.h: Likewise.
43078         * sunrpc/rpc/clnt.h: Likewise.
43079         * sunrpc/rpc/netdb.h: Likewise.
43080         * sunrpc/rpc/pmap_clnt.h: Likewise.
43081         * sunrpc/rpc/xdr.h: Likewise.
43082         * sysdeps/generic/inttypes.h: Likewise.
43083         * sysdeps/generic/net/if.h: Likewise.
43084         * sysdeps/generic/sys/swap.h: Likewise.
43085         * sysdeps/gnu/net/if.h: Likewise.
43086         * sysdeps/gnu/utmpx.h: Likewise.
43087         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43088         * sysdeps/i386/i486/bits/string.h: Likewise.
43089         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43090         * sysdeps/s390/bits/string.h: Likewise.
43091         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43092         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43093         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43094         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43095         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43096         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43097         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43098         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43099         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43100         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43101         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43102         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43103         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43104         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43105         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43106         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43107         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43108         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43109         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43110         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43111         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43112         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43113         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43114         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43115         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43116         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43117         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43118         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43119         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43120         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43121         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43122         * sysvipc/sys/ipc.h: Likewise.
43123         * sysvipc/sys/msg.h: Likewise.
43124         * sysvipc/sys/sem.h: Likewise.
43125         * sysvipc/sys/shm.h: Likewise.
43126         * termios/termios.h: Likewise.
43127         * time/sys/time.h: Likewise.
43128         * time/time.h: Likewise.
43129         * wcsmbs/bits/wchar2.h: Likewise.
43130         * wcsmbs/uchar.h: Likewise.
43131         * wcsmbs/wchar.h: Likewise.
43132         * wctype/wctype.h: Likewise.
43133
43134         [BZ #13551]
43135         * Makeconfig: Remove all but ELF support including AIX support.
43136         * Makerules: Likewise.
43137         * config.h.in: Likewise.
43138         * config.make.in: Likewise.
43139         * configure: Likewise.
43140         * configure.in: Likewise.
43141         * csu/Makefile: Likewise.
43142         * csu/version.c: Likewise.
43143         * debug/Makefile: Likewise.
43144         * dlfcn/Makefile: Likewise.
43145         * elf/Makefile: Likewise.
43146         * extra-lib.mk: Likewise.
43147         * iconv/Makefile: Likewise.
43148         * include/libc-symbols.h: Likewise.
43149         * include/shlib-compat.h: Likewise.
43150         * resolv/Makefile: Likewise.
43151         * resolv/res_libc.c: Likewise.
43152         * rt/Makefile: Likewise.
43153         * sysdeps/i386/asm-syntax.h: Likewise.
43154         * sysdeps/i386/sysdep.h: Likewise.
43155         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43156         * sysdeps/mach/sysdep.h: Likewise.
43157         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43158         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43159         * sysdeps/s390/asm-syntax.h: Likewise.
43160         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43161         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43162         * sysdeps/sh/sysdep.h: Likewise.
43163         * sysdeps/unix/sparc/sysdep.h: Likewise.
43164         * sysdeps/wordsize-32/divdi3.c: Likewise.
43165         * sysdeps/x86_64/sysdep.h: Likewise.
43166
43167         * argp/Versions: Remove _argp_unlock_xxx.
43168
43169         [BZ #13559]
43170         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43171         * abilist/libBrokenLocale.abilist: Likewise.
43172         * abilist/libanl.abilist: Likewise.
43173         * abilist/libc.abilist: Likewise.
43174         * abilist/libcrypt.abilist: Likewise.
43175         * abilist/libdl.abilist: Likewise.
43176         * abilist/libm.abilist: Likewise.
43177         * abilist/libnsl.abilist: Likewise.
43178         * abilist/libpthread.abilist: Likewise.
43179         * abilist/libresolv.abilist: Likewise.
43180         * abilist/librt.abilist: Likewise.
43181         * abilist/libthread_db.abilist: Likewise.
43182         * abilist/libutil.abilist: Likewise.
43183         * abilist/libnss_db.abilist: New file.
43184
43185         * scripts/abilist.awk: Add support for indirect functions.
43186
43187         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43188
43189         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43190
43191         * shlib-versions: Remove entries for ports architectures.
43192
43193         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43194         files in ports.
43195         * elf/stackguard-macros.h: Remove support for IA-64.
43196         * elf/tst-auditmod1.c: Likewise.
43197         * sysdeps/generic/ldsodefs.h: Likewise.
43198
43199         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43200         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43201         configure files.
43202
43203         [BZ #13552]
43204         * configure.in: Remove --enable-omitfp support.
43205         * FAQ.in: Adjust.
43206         * config.make.in: Likewise.
43207         * Makeconfig: Likewise.
43208         * manual/install.texi: Likewise.
43209
43210         In case anyone cares, the IA-64 architecture could move to ports.
43211         * sysdeps/ia64/*: Removed.
43212         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43213         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43214
43215         [BZ #13555]
43216         * configure.in: Remove entries for unsupported architectures.
43217
43218         [BZ #13533]
43219         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43220         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43221         routines.
43222         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43223         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43224         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43225         fall back to using wcrtomb.
43226         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43227         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43228         renaming.
43229         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43230         * wcsmbs/tst-c16c32-1.c: New file.
43231
43232         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43233         local variable.
43234
43235         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43236
43237         * elf/tst-unique3.cc: Add explicit declaration of gets.
43238         * elf/tst-unique3lib.cc: Likewise.
43239         * elf/tst-unique3lib2.cc: Likewise.
43240         * elf/tst-unique4.cc: Likewise.
43241
43242         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43243
43244 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43245
43246         [BZ #13566]
43247         * assert/assert.h (static_assert): Don't define for C++.
43248         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43249         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43250
43251 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43252
43253         * iconv/loop.c (single loop): Fix assertion in storing of
43254         remaining bytes.
43255
43256         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43257
43258 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43259
43260         * posix/getconf.c: Update copyright year.
43261         * nss/getent.c: Likewise.
43262         * nss/makedb.c: Likewise.
43263         * iconv/iconvconfig.c: Likewise.
43264         * iconv/iconv_prog.c: Likewise.
43265         * elf/ldconfig.c: Likewise.
43266         * elf/pldd.c: Likewise.
43267         * elf/sotruss.ksh: Likewise.
43268         * catgets/gencat.c: Likewise.
43269         * csu/version.c: Likewise.
43270         * elf/ldd.bash.in: Likewise.
43271         * elf/sprof.c (print_version): Likewise.
43272         * locale/programs/locale.c: Likewise.
43273         * locale/programs/localedef.c: Likewise.
43274         * login/programs/pt_chown.c: Likewise.
43275         * nscd/nscd.c (print_version): Likewise.
43276         * debug/xtrace.sh: Likewise.
43277         * malloc/memusage.sh: Likewise.
43278         * malloc/mtrace.pl: Likewise.
43279         * debug/catchsegv.sh: Likewise.
43280
43281 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43282
43283         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43284         pure attribute.
43285
43286 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43287
43288         [BZ #13533]
43289         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43290         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43291         transformations.
43292         * iconv/gconv_int.h: Likewise.
43293         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43294         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43295         from libc for GLIBC_2.16.
43296         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43297         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43298         * wcsmbs/uchar.h: Really define mbstate_t.
43299         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43300         * wcsmbs/c16rtomb.c: New file.
43301         * wcsmbs/mbrtoc16.c: New file.
43302         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43303         for C/POSIX locale.
43304         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43305         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43306
43307         * wcsmbs/wchar.h: Add missing __restrict.
43308
43309 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43310
43311         [BZ #13532]
43312         * time/Makefile (routines): Add timespec_get.
43313         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43314         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43315         timespec for ISO C11.
43316         * time/timespec_get.c: New file.
43317         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43318         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43319
43320         [BZ #13531]
43321         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43322         * stdlib/stdlib.h: Declare aligned_alloc.
43323         * Versions.def: Add GLIBC_2.16 for libc.
43324         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43325
43326         [BZ 13527]
43327         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43328         ISO C11.
43329
43330         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43331         code.
43332
43333         [BZ #13528]
43334         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43335
43336         [BZ #13529]
43337         * assert/assert.h (static_assert): Define.
43338
43339         * version.h: Update for 2.16 development version.
43340
43341         [BZ #13526]
43342         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43343         _ISOC11_SOURCE.
43344
43345         * version.h (RELEASE): Bump for 2.15 release.
43346         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43347
43348         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43349         Patch by Marek Polacek <mpolacek@redhat.com>.
43350
43351         * bits/byteswap.h: Protect long long constants with __extension__.
43352         * sysdeps/i386/bits/byteswap.h: Likewise.
43353         * sysdeps/ia64/bits/byteswap.h: Likewise.
43354         * sysdeps/s390/bits/byteswap.h: Likewise.
43355         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43356
43357 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43358
43359         [BZ #13540]
43360         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43361         destination buffer.
43362         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43363
43364 2011-12-23  Marek Polacek  <polacek@redhat.com>
43365
43366         * elf/dl-addr.c (determine_info): Add inline keyword.
43367         * elf/tst-auditmod4b.c (check_avx): Likewise.
43368         * elf/tst-auditmod6b.c (check_avx): Likewise.
43369         * elf/tst-auditmod6c.c (check_avx): Likewise.
43370         * elf/tst-auditmod7b.c (check_avx): Likewise.
43371
43372 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43373
43374         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43375         !__SSE_MATH__.
43376
43377 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43378
43379         [BZ #13540]
43380         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43381         processing for last bytes.
43382
43383 2011-08-06  Bruno Haible  <bruno@clisp.org>
43384
43385         [BZ #13061]
43386         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43387         U+0385, not to U+1FEE.
43388
43389         [BZ #13062]
43390         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43391         entry for U+00A5 U+0301.
43392
43393 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43394
43395         [BZ #13166]
43396         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43397         buffer for the output is too small.
43398
43399         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43400         optimization.
43401
43402         [BZ #13185]
43403         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43404         SSE flags if possible.
43405
43406 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43407
43408         [BZ #13540]
43409         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43410         processing for last bytes.
43411
43412 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43413
43414         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43415         (syscall-list-default-options, syscall-list-default-condition)
43416         (syscall-list-includes): Define.
43417         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43418         list of ABIs and options and #if conditions for each ABI.  Do not
43419         handle common syscalls between ABIs specially.
43420         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43421         Remove.
43422         (syscall-list-variants, syscall-list-32bit-options)
43423         (syscall-list-32bit-condition, syscall-list-64bit-options)
43424         (syscall-list-64bit-condition): Define.
43425         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43426         (syscall-list-variants, syscall-list-32bit-options)
43427         (syscall-list-32bit-condition, syscall-list-64bit-options)
43428         (syscall-list-64bit-condition): Define.
43429         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43430         Remove.
43431         (syscall-list-variants, syscall-list-32bit-options)
43432         (syscall-list-32bit-condition, syscall-list-64bit-options)
43433         (syscall-list-64bit-condition): Define.
43434         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43435         Remove.
43436         (syscall-list-variants, syscall-list-32bit-options)
43437         (syscall-list-32bit-condition, syscall-list-64bit-options)
43438         (syscall-list-64bit-condition): Define.
43439
43440 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43441
43442         * locale/iso-639.def: Add brx entry.
43443
43444         [BZ #13328]
43445         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43446         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43447
43448         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43449         __feraiseexcept_renamed.
43450
43451 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43452
43453         [BZ #13538]
43454         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43455         EPOLLET with unsigned values.
43456         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43457         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43458
43459         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43460         to large cancellation.
43461         * math/s_cacoshf.c: Likewise.
43462         * math/s_cacoshl.c: Likewise.
43463
43464 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43465
43466         [BZ #13305]
43467         [BZ #12786]
43468         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43469         * math/s_cacoshf.c: Likewise.
43470         * math/s_cacoshl.c: Likewise.
43471
43472 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43473
43474         [BZ #13439]
43475         * iconv/gconv.h: Define __GCONV_SWAP.
43476         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43477         * iconvdata/utf-16.c: Likewise.
43478         * iconvdata/utf-32.c: Likewise.
43479
43480 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43481
43482         [BZ #13524]
43483         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43484         numerator after shifting it by one limb.
43485
43486 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43487
43488         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43489         under [__USE_EXTERN_INLINES].
43490
43491 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43492
43493         [BZ #13446]
43494         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43495
43496 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43497
43498         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43499         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43500         optimized code.
43501         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43502         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43503         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43504         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43505         for strncasecmp/strncasecmp_l compilation.
43506         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43507         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43508
43509 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
43510
43511         [BZ #13484]
43512         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43513         of __asm__.
43514
43515 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43516
43517         [BZ #13506]
43518         * time/tzfile.c (__tzfile_read): Check values from file header.
43519
43520 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43521
43522         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43523         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43524         * powerpc/powerpc32/dl-start.S: Likewise.
43525         * powerpc/powerpc32/elf/start.S: Likewise.
43526         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43527         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43528         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43529         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43530         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43531         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43532         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43533         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43534         * powerpc/powerpc32/fpu/s_round.S: Likewise.
43535         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43536         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43537         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43538         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43539         * powerpc/powerpc32/memset.S: Likewise.
43540         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43541         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43542         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43543         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43544         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43545         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43546         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43547         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43548         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43549         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43550         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43551         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43552         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43553
43554 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43555
43556         * math/libm-test.inc: Added more nearbyint tests.
43557         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43558         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43559         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43560         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43561
43562 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
43563
43564         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43565         FD_CLOEXEC.
43566
43567 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43568
43569         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43570         Add wcscpy-ssse3 wcscpy-c.
43571         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43572         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43573         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43574         * sysdeps/x86_64/wcschr.S: New file.
43575         * sysdeps/x86_64/wcsrchr.S: New file.
43576         * string/test-strcmp.c: Remove checking of wcscmp function for
43577         wrong alignments.
43578         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43579         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43580         wcsrchr-sse2 wcsrchr-c.
43581         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43582         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43583         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43584         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43585         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43586         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43587         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43588         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43589         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43590         * wcsmbc/wcschr.c (WCSCHR): New macro.
43591
43592 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43593
43594         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43595         * wcsmbs/test-wcsrchr.c: New file.
43596         * string/test-strrchr.c: Add wcsrchr support.
43597         (WIDE): New macro.
43598         * wcsmbs/test-wcscpy.c: New file.
43599         * string/test-strcpy.c: Add wcscpy support.
43600         (WIDE): New macro.
43601
43602 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
43603
43604         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43605         the inner loop.
43606
43607 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
43608
43609         [BZ #13472]
43610         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43611
43612 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
43613
43614         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43615         Minor optimizations.
43616
43617         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43618         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43619         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43620
43621 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
43622
43623         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43624         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43625         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43626         for gcc to avoid warnings.
43627         * inet/Makefile (tests): Add tst-checks.
43628         * inet/tst-checks.c: New file.
43629
43630         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43631         warning.
43632
43633         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43634         __wmemcmp_sse2.
43635
43636         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43637         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43638
43639         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43640
43641 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
43642
43643         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43644         problem.
43645
43646         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43647
43648 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
43649
43650         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43651         conditional on GCC version.
43652         (__arch_compare_and_exchange_val_8_acq)
43653         (__arch_compare_and_exchange_val_16_acq)
43654         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43655         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43656         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43657
43658 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
43659
43660         * sysdeps/sh/backtrace.c: New file.
43661
43662 2011-12-02  Andreas Schwab  <schwab@redhat.com>
43663
43664         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
43665         parenthesis.
43666
43667 2011-12-01  Andreas Schwab  <schwab@redhat.com>
43668
43669         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43670         falling back to utime.
43671
43672 2011-11-30  Andreas Schwab  <schwab@redhat.com>
43673
43674         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43675         expectations for float.
43676
43677 2011-11-29  Andreas Schwab  <schwab@redhat.com>
43678
43679         * locale/weight.h (findidx): Add parameter len.
43680         * locale/weightwc.h (findidx): Likewise.
43681         * posix/fnmatch_loop.c (FCT): Adjust caller.
43682         * posix/regcomp.c (build_equiv_class): Likewise.
43683         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43684         * posix/regexec.c (check_node_accept_bytes): Likewise.
43685         * string/strcoll_l.c (STRCOLL): Likewise.
43686         * string/strxfrm_l.c (STRXFRM): Likewise.
43687
43688 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
43689
43690         * Makefile.in: Remove CVSOPT handling.
43691         * configure.in: Remove use of AC_REVISION.
43692         * iconvdata/Makefile (distribute): No need to filter out CVS.
43693         * scripts/list-sources.sh: Remove CVS, subversion and monotone
43694         handling.
43695
43696 2011-11-16  Andreas Schwab  <schwab@redhat.com>
43697
43698         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43699         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43700         [USE_AS_STRNCASECMP_L]: Likewise.
43701         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43702         NO_TLS_DIRECT_SEG_REFS.
43703         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43704         Fix argument offsets for non-PIC.
43705         [USE_AS_STRNCASECMP_L]: Likewise.
43706         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43707         NO_TLS_DIRECT_SEG_REFS.
43708
43709 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43710
43711         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43712         O_CLOEXEC.
43713         * locale/loadlocale.c (_nl_load_locale): Likewise.
43714
43715 2011-11-15  Andreas Schwab  <schwab@redhat.com>
43716
43717         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43718         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43719         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43720         (SYSCALL_GETTIME): Set errno on error.
43721
43722         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43723         count references to noai6ai_cached.
43724
43725 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43726
43727         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43728
43729         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43730         FD_CLOEXEC for /proc/self/maps.
43731
43732         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43733         FD_CLOEXEC for /proc/meminfo.
43734
43735         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43736         gai.conf.
43737
43738         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
43739         FD_CLOEXEC for given file.
43740
43741         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43742
43743         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43744         FD_CLOEXEC for /etc/hosts.
43745         (_gethtent): Likewise.
43746
43747         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43748
43749         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43750         cancellation and set FD_CLOEXEC for /etc/netgroup.
43751
43752         * nss/nss_files/files-key.c (search): Don't allow cancellation when
43753         reading /etc/publickey.
43754
43755         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43756         allow cancellation when reading /etc/group.
43757
43758         * nss/nss_files/files-alias.c (internal_setent): Don't allow
43759         cancellation.
43760         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
43761
43762         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43763         when using data file.
43764
43765         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43766
43767         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43768         (write_nis_obj): Use "c" and "e" in fopen.
43769
43770         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43771
43772         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43773
43774         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43775
43776         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43777
43778         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43779         locale.alias.
43780
43781         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43782
43783         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43784
43785         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43786
43787         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43788         file parsing and set FD_CLOEXEC.
43789
43790 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43791
43792         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43793
43794 2011-11-14  Andreas Schwab  <schwab@redhat.com>
43795
43796         * malloc/arena.c (arena_get2): Don't call reused_arena when
43797         _int_new_arena failed.
43798
43799 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43800
43801         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43802         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43803         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43804         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43805         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43806         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43807         to compile strcasecmp and strncasecmp.
43808         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43809         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43810
43811         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43812
43813 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
43814
43815         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43816         locale-defines.sym to gen-as-const-headers.
43817         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43818         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43819         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43820         to compile strcasecmp and strncasecmp.
43821         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43822         strcasecmp_l and strncasecmp_l.
43823         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43824         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43825         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43826         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43827         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43828         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43829         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43830         * sysdeps/i386/i686/multiarch/strncase.S: New file.
43831         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43832         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43833         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43834
43835 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
43836
43837         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43838         result of SYSDEP_GETTIME_CPU to retval.
43839         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43840         parameter list to macro.  Remove trailing semicolon.  Adjust users.
43841
43842         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43843         variable.
43844
43845         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43846         mantissa words.
43847         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43848
43849         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43850         from unused variable.
43851
43852         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43853         DWARF definitions.
43854         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43855         for assembling.
43856
43857         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43858         over namespaces.
43859
43860         * sunrpc/rpc_prot.c (rejected): Fix case value.
43861
43862         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43863         unsigned long long int to avoid warnings in shift.
43864
43865         * posix/regex_internal.c (re_string_reconstruct): Actually use result
43866         of use of trans.
43867         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43868         variable tmp.
43869
43870         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43871         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43872         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43873
43874         * nis/nis_table.c (nis_list): Use variable of correct type for
43875         result of __follow_path call.
43876
43877 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43878
43879         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43880         of math functions ceil, trunc, floor, round, and sqrt, when
43881         avaliable on the platform.
43882         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43883         name clash.
43884         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43885         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43886         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43887
43888 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
43889
43890         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43891         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43892
43893 2011-11-11  Roland McGrath  <roland@hack.frob.com>
43894
43895         * include/unistd.h: Fix __readlink return type.
43896         Reported by Chris Metcalf <cmetcalf@tilera.com>.
43897
43898 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
43899
43900         * stdlib/ucontext.h: Undo last change for makecontext.
43901
43902 2011-11-11  Andreas Schwab  <schwab@redhat.com>
43903
43904         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43905
43906         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43907         * setjmp/setjmp.h: Mark functions as non-leaf.
43908         * setjmp/bits/setjmp2.h: Likewise.
43909         * stdlib/ucontext.h: Likewise.
43910
43911 2011-11-10  Andreas Schwab  <schwab@redhat.com>
43912
43913         * malloc/arena.c (_int_new_arena): Don't increment narenas.
43914         (reused_arena): Don't check arena limit.
43915         (arena_get2): Atomically check arena limit.
43916
43917 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
43918
43919         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43920         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43921
43922         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43923         instructions.
43924
43925 2011-11-07  Andreas Schwab  <schwab@redhat.com>
43926
43927         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43928         handler when locking.
43929
43930         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43931         Fix size of allocated buffer.
43932
43933 2011-11-04  Andreas Schwab  <schwab@redhat.com>
43934
43935         [BZ #10103]
43936         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43937         declarations for long double functions.
43938         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43939
43940         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43941
43942 2011-11-03  Andreas Schwab  <schwab@redhat.com>
43943
43944         * nscd/nscd.c (main): Don't start AVC thread until credentials are
43945         installed.
43946
43947         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43948         is disabled.
43949
43950 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43951
43952         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43953
43954 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43955
43956         * include/alloca.h (stackinfo_alloca_round): Define.
43957         (extend_alloca): Use it.
43958         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43959         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43960         here.
43961
43962         * scripts/check-local-headers.sh: Ignore libaudit.h.
43963
43964         * nscd/Makefile (extra-objs): Make recursively expanded.
43965
43966 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
43967
43968         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43969         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43970
43971         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43972         * posix/tst-rfc3484-2.c: Likewise.
43973         * posix/tst-rfc3484-3.c: Likewise.
43974
43975         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43976         process_vm_writev.
43977         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43978         process_vm_writev.
43979         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43980         process_vm_writev from libc using GLIBC_2.15 version.
43981
43982         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43983
43984 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
43985
43986         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43987         stack usage.
43988
43989 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
43990
43991         [BZ #13367]
43992         * nss/getent.c (initgroups_keys): Show error message in case no group
43993         names are given.
43994
43995         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43996         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43997         __bump_nl_timestamp.
43998         * nscd/connections (nscd_init): When host database is served open
43999         netlink socket and request notification about configuration changes.
44000         (main_loop_poll): Track netlink file descriptor and bump timestamp
44001         in case data becomes available.
44002         (main_loop_epoll): Likewise.
44003         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44004         (database_pers_head): Add extra_data fileds.
44005         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44006         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44007         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44008         Adjust caller.
44009         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44010         in6ai data, call __free_in6ai.
44011         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44012         Add -DHAVE_NETLINK.
44013         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44014         interface information.  Reuse previous data if netlink timestamp
44015         is not changed.
44016         (__bump_nl_timestamp): New function.
44017         (__free_in6ai): New function.
44018
44019 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
44020
44021         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44022         close_not_cancel_no_status here.
44023         (__check_pf): Reorganize code a bit to not call close twice if OOM.
44024
44025 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44026
44027         [BZ #13276]
44028         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44029         return value.
44030
44031         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44032         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44033         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44034
44035 2011-07-03  Andreas Jaeger  <aj@suse.de>
44036
44037         [BZ #10709]
44038         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44039         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44040         * math/libm-test.inc (sin_test): Add test case.
44041
44042 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44043
44044         [BZ #13337]
44045         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44046         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44047
44048         * elf/chroot_canon.c (chroot_canon): Cleanups.
44049
44050         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44051
44052         [BZ #13335]
44053         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44054         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44055
44056         * string/test-strchr.c: Make usable for strchrnul testing.
44057         * string/test-strchrnul.c: New file.
44058         * string/Makefile (strop-tests): Add strchrnul.
44059
44060         * po/it.po: Update from translation team.
44061         * po/es.po: Likewise.
44062
44063 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
44064
44065         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44066         the three constants needed as parameters.  Drop the others.
44067         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44068         __m128i_strloadu_tolower.
44069         Create and initialize variable zero and use it in all the places
44070         where _mm_setzero_si128 was used.
44071
44072         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44073         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44074         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44075         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44076         anymore.
44077         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44078         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44079         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44080         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44081         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44082         __mpranred, __mptan.
44083         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44084         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44085         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44086         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44087         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44088         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44089         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44090         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44091         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44092
44093 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44094
44095         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44096         redefine if SHARED.
44097         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44098
44099         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44100         wide char related routines to wcsmbs subdir.
44101
44102 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44103
44104         [BZ #13344]
44105         * misc/sys/cdefs.h (__THROWNL): Define.
44106         * posix/unistd.h: Use __THREADNL instead of __THREAD
44107         for memory synchronization functions.
44108
44109 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44110
44111         [BZ #13349]
44112         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44113         doesn't exist.
44114         * manual/stdio.texi (Obstack Streams): Node removed.
44115
44116 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44117
44118         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44119         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44120         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44121
44122         * math/math_private.h (math_force_eval): Allow non-addressable
44123         arguments.
44124         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44125
44126 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44127
44128         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44129         file is not needed.
44130
44131         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44132         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44133         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44134         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44135         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44136         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44137         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44138         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44139         Add AVX variants.
44140         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44141         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44142         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44143         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44144         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44145         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44146         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44147         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44148         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44149         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44150         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44151         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44152         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44153         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44154         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44155         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44156         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44157         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44158         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44159
44160         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44161         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44162
44163         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44164         place.  Use VEX encoding when compiling for AVX.
44165
44166 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44167
44168         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44169         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44170
44171         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44172
44173 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44174
44175         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44176         useless if() expression.
44177         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44178         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44179         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44180         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44181         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44182         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44183         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44184         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44185         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44186         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44187         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44188         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44189         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44190         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44191         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44192         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44193         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44194         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44195         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44196
44197         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44198
44199 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44200
44201         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44202         condition.
44203         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44204
44205 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44206
44207         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44208         .text section.  Avoid duplicate constants.
44209         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44210         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44211         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44212         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44213         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44214         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44215         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44216         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44217         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44218         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44219         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44220         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44221         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44222         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44223         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44224         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44225         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44226         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44227         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44228         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44229         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44230         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44231         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44232         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44233         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44234         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44235         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44236         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44237         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44238         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44239         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44240         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44241         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44242         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44243         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44244         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44245         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44246         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44247         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44248         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44249         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44250         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44251         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44252         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44253         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44254
44255 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44256
44257         * sysdeps/x86_64/dla.h: Move to ...
44258         * sysdeps/x86_64/fpu/dla.h: ...here.
44259         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44260         situations.  Use __builtin_fma only for gcc 4.6 and up.
44261
44262         * config.make.in: Add have-mfma4 entry.
44263         * configure.in: Substitute libc_cv_cc_fma4.
44264         * math/Makefile (dbl-only-routines): Add sincostab.
44265         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44266         Use __sincostab not sincos.
44267         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44268         name is a macro.
44269         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44270         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44271         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44272         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44273         using __copysign.
44274         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44275         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44276         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44277         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44278         and __inv.
44279         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44280         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44281         __copysign.
44282         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44283         define aliases when function name is a macro.
44284         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44285         sysdeps/ieee754/dbl-64/sincos.tbl.
44286         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44287         fma4-enabled routines.
44288         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44289         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44290         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44291         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44292         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44293         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44294         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44295         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44296         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44297         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44298         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44299         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44300         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44301         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44302         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44303         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44304         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44305         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44306         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44307         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44308         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44309         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44310         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44311         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44312         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44313         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44314         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44315         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44316         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44317         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44318
44319         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44320         rename.
44321         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44322         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44323         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44324         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44325         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44326         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44327         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44328         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44329
44330 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44331
44332         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44333
44334 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44335
44336         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44337
44338         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44339         prediction.
44340         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44341
44342         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44343         Remove unused variable magic_bits.
44344         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44345
44346         * string/strnlen.c: Define and use STRNLEN macro.
44347         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44348         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44349         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44350         * wcsmbs/wcslen.c: Define and use WCSLEN.
44351         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44352         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44353         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44354         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44355         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44356         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44357         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44358
44359 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44360
44361         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44362         strnlen-sse2-no-bsf.
44363         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44364         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44365         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44366         Add strnlen support.
44367         (USE_AS_STRNLEN): New macro.
44368         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44369         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44370         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44371         * sysdeps/x86_64/wcslen.S: New file.
44372
44373 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44374
44375         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44376         XMM-moves are used for copying on small sizes.
44377
44378 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44379
44380         * wcsmbs/Makefile (strop-tests): Add wcschr.
44381         * wcsmbs/test-wcschr.c: New file.
44382         * string/test-strchr.c: Update.
44383         Add wcschr support.
44384         (WIDE): New macro.
44385
44386 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44387
44388         * wcsmbs/Makefile (strop-tests): Add wcslen.
44389         * wcsmbs/test-wcslen.c: New file.
44390         * string/test-strlen.c: Update.
44391         Add wcslen support.
44392         (WIDE): New macro.
44393
44394 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44395
44396         * po/it.po: Update from translation team.
44397
44398 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44399
44400         * sysdeps/x86_64/wcscmp.S: Update.
44401         Fix wrong comparison semantics.
44402         wcscmp shall use signed comparison not unsigned.
44403         Don't use substraction to avoid overflow bug.
44404         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44405         * wcsmbc/wcscmp.c: Likewise.
44406         * string/test-strcmp.c: Likewise.
44407         Add new tests to check cases with negative values.
44408
44409 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44410
44411         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44412         * sysdeps/x86_64/dla.h: ...here.  New file.
44413         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44414         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44415         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44416         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44417         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44418         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44419         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44420         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44421         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44422
44423 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44424
44425         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44426         __ynl_finite aliases.
44427
44428 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44429
44430         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44431
44432         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44433         define DLA_FMA.
44434         [DLA_FMA] (EMULV): Use DLA_FMA.
44435         [DLA_FMA] (MUL12): Use EMULV.
44436         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44437         that are not needed.
44438         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44439         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44440         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44441         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44442         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44443         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44444         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44445
44446 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44447
44448         * math/s_nan.c: Undef __nan.
44449         * math/s_nanf.c: Undef __nanf.
44450         * math/s_nanl.c: Undef __nanl.
44451         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44452         "math_private.h".
44453
44454 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44455
44456         * math/s_catan.c: Add branch predictions.
44457         * math/s_catanf.c: Likewise.
44458         * math/s_catanh.c: Likewise.
44459         * math/s_catanhf.c: Likewise.
44460         * math/s_catanhl.c: Likewise.
44461         * math/s_catanl.c: Likewise.
44462         * math/s_cexp.c: Likewise.
44463         * math/s_cexpf.c: Likewise.
44464         * math/s_cexpl.c: Likewise.
44465         * math/s_clog.c: Likewise.
44466         * math/s_clog10.c: Likewise.
44467         * math/s_clog10f.c: Likewise.
44468         * math/s_clog10l.c: Likewise.
44469         * math/s_clogf.c: Likewise.
44470         * math/s_clogl.c: Likewise.
44471         * math/s_csqrt.c: Likewise.
44472         * math/s_csqrtf.c: Likewise.
44473         * math/s_csqrtl.c: Likewise.
44474         * math/s_ctanf.c: Likewise.
44475         * math/s_ctanh.c: Likewise.
44476         * math/s_ctanhf.c: Likewise.
44477         * math/s_ctanhl.c: Likewise.
44478         * math/s_ctanl.c: Likewise.
44479
44480         * math/math_private.h: Define __nan, __nanf, __nanl.
44481         * math/s_cacosh.c: Include <math_private.h>.
44482         * math/s_cacoshl.c: Likewise.
44483         * math/s_casinh.c: Likewise.
44484         * math/s_casinhf.c: Likewise.
44485         * math/s_casinhl.c: Likewise.
44486         * math/s_ccos.c: Rely entire on ccosh.
44487         * math/s_ccosf.c: Rely entire on ccoshf.
44488         * math/s_ccosl.c: Rely entirely on ccoshl.
44489         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44490         Remove tests for FE_INVALID.
44491         * math/s_ccoshf.c: Likewise.
44492         * math/s_ccoshl.c: Likewise.
44493         * math/s_csin.c: Likewise.
44494         * math/s_csinf.c: Likewise.
44495         * math/s_csinh.c Likewise.
44496         * math/s_csinhf.c: Likewise.
44497         * math/s_csinhl.c: Likewise.
44498         * math/s_csinl.c: Likewise.
44499         * math/s_ctan.c: Likewise.
44500         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44501         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44502         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44503
44504 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
44505
44506         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44507         compilation problems.
44508
44509         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44510         __builtin_expect.
44511
44512 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
44513
44514         * sysdeps/i386/configure.in: Test for -mfma4 option.
44515         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44516         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44517         COMMON_CPUID_INDEX_80000001.
44518         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44519         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44520         use it if FMA3 is not supported.
44521         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44522
44523         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44524         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44525
44526 2011-10-20  Andreas Schwab  <schwab@redhat.com>
44527
44528         [BZ #12892]
44529         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44530         it would create a cycle with a link time dependency.
44531
44532 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
44533
44534         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44535         instruction.
44536         * string/Makefile (strop-tests): Add rawmemchr.
44537         * string/test-rawmemchr.c: New file.
44538
44539         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44540         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
44541         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
44542         when compiling str{,n}casecmp and when AVX is available.  Hook up
44543         new optimized code in initializers.
44544
44545 2011-10-19  Andreas Schwab  <schwab@redhat.com>
44546
44547         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44548         __feraiseexcept instead of feraiseexcept.
44549
44550 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
44551
44552         * math/math_private.h: Define defaults for libc_fetestexcept and
44553         libc_feupdateenv.
44554         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44555         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44556         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44557         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44558         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44559         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44560         libc_fetestexcept and libc_feupdateenv.
44561
44562         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44563         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44564         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44565         * sysdeps/x86_64/fpu/math_private.h: Define special version of
44566         libc_feholdexcept_setround.
44567
44568         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44569         Add s_nearbyint-c and s_nearbyintf-c.
44570         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44571         nearbyintf inlines.
44572         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44573         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44574         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44575         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44576
44577         * math/math_private.h: Define defaults for libc_fegetround,
44578         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44579         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44580         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44581         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44582         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44583         standard functions.
44584         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44585         Remove comments and hacks for old compiler versions.
44586         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44587         libc_fegetround, libc_fesetround, libc_feholdexcept, and
44588         libc_feholdexceptl.
44589
44590 2011-10-18  Andreas Schwab  <schwab@redhat.com>
44591
44592         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44593         (__feraiseexcept_renamed): Add __NTH.
44594         (feraiseexcept): Add __NTH.  Rename local variables to fix
44595         namespace violations.
44596
44597 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
44598
44599         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44600
44601         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44602
44603         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44604         recently added interfaces.
44605         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44606
44607         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44608         about macro parameter expansion.
44609
44610         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44611         __NO_MATH_INLINES is defined.  Cleanups.
44612
44613         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44614         and __floorf is target has SSE4.1.
44615         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44616         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44617         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44618         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44619
44620         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44621         name.
44622         (floorf): Likewise.
44623
44624         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44625
44626 2011-10-17  Andreas Schwab  <schwab@redhat.com>
44627
44628         * misc/sys/cdefs.h: Fix last change.
44629
44630         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44631         database lookup.
44632
44633 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
44634
44635         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44636
44637         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44638         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44639         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44640         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44641         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44642         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44643         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44644         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44645         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44646         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44647         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44648         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44649         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44650         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44651         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44652         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44653         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44654         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44655         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44656         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44657         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44658         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44659
44660         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44661         ceil, ceilf, floor, floorf.
44662
44663         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44664         Perform IRELATIVE relocations last.
44665
44666         * elf/do-rel.h: Add another parameter nrelative, replacing the
44667         local variable with the same name.  Change name of the function
44668         to end in Rel or Rela (uppercase).
44669         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44670         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
44671         elf_dynamic_do_##reloc function.
44672
44673 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44674
44675         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44676         is sufficient, at least on modern CPUs.
44677
44678         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44679
44680         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44681         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44682
44683         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44684         __expl_finite.
44685         * math/bits/math-finite.h: Add entries for exp.
44686         * math/e_expl.c: Add __*_finite alias.
44687         * sysdeps/i386/fpu/e_exp.S: Likewise.
44688         * sysdeps/i386/fpu/e_expf.S: Likewise.
44689         * sysdeps/i386/fpu/e_expl.c: Likewise.
44690         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44691         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44692         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44693         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44694         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44695         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44696         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44697
44698         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44699         is sufficient, at least on modern CPUs.
44700
44701         * ctype/ctype-info.c (__ctype_init): Define.
44702         * include/ctype.h (__ctype_init): Declare.
44703         (__ctype_b_loc): The variable is always initialized.
44704         (__ctype_toupper_loc): Likewise.
44705         (__ctype_tolower_loc): Likewise.
44706         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44707         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44708
44709 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
44710
44711         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44712
44713         * configure.in: Also look in $cxxmachine/include for C++ system
44714         headers.
44715
44716 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44717
44718         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44719         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44720         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44721         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
44722         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44723         (USE_AS_WMEMCMP): New macro.
44724         Fixing indents.
44725         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44726         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44727         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44728         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44729         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44730         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44731         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44732         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44733         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44734         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44735         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44736         (USE_AS_WMEMCMP): New macro.
44737         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44738         * sysdeps/string/test-memcmp.c: Update.
44739         Fix simple_wmemcmp.
44740         Add new tests.
44741         * wcsmbs/wmemcmp.c: Update.
44742         (WMEMCMP): New macro.
44743         Fix overflow bug.
44744
44745 2011-10-12  Andreas Jaeger  <aj@suse.de>
44746
44747         [BZ #13268]
44748         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44749
44750 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44751
44752         * libio/iofwide.c (do_length): Avoid warning.
44753
44754         * ctype/ctype.h (__isctype_f): Add missing __THROW.
44755
44756 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
44757
44758         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44759
44760         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44761         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44762         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44763         * sysdeps/i386/i686/fpu/e_log.S: New file.
44764         * sysdeps/i386/i686/fpu/e_logf.S: New file.
44765         * sysdeps/i386/i686/fpu/e_logl.S: New file.
44766
44767         * ctype/ctype.h: Add support for inlined isXXX functions when
44768         compiling C++ code.
44769
44770 2011-10-14  Andreas Schwab  <schwab@redhat.com>
44771
44772         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44773
44774         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44775
44776 2011-10-13  Roland McGrath  <roland@hack.frob.com>
44777
44778         [BZ #13291]
44779         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44780
44781 2011-10-13  Andreas Schwab  <schwab@redhat.com>
44782
44783         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44784         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44785         feraiseexcept.
44786
44787         * sysdeps/x86_64/memrchr.S: Check for zero size.
44788
44789         * string/stratcliff.c: Add memrchr tests.
44790
44791 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44792
44793         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44794         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44795         rawmemchr-sse2 rawmemchr-sse2-bsf.
44796         * sysdeps/i386/i686/multiarch/memchr.S: New file.
44797         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44798         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44799         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44800         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44801         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44802         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44803         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44804         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44805         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44806         * string/memrchr.c (MEMRCHR): New macro.
44807
44808 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
44809
44810         Add integration with gcc's -ffinite-math-only and optimize wrapper
44811         functions in libm.
44812         * Versions.def: Define GLIBC_2.15 version for libm.
44813         * math/Makefile (headers): Add bits/math-finite.h.
44814         * math/bits/math-finite.h: New file.
44815         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44816         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44817         * math/e_acoshl.c: Add __*_finite alias.
44818         * math/e_acosl.c: Likewise.
44819         * math/e_asinl.c: Likewise.
44820         * math/e_atan2l.c: Likewise.
44821         * math/e_atanhl.c: Likewise.
44822         * math/e_coshl.c: Likewise.
44823         * math/e_exp10.c: Likewise.
44824         * math/e_exp10f.c: Likewise.
44825         * math/e_exp10l.c: Likewise.
44826         * math/e_exp2l.c: Likewise.
44827         * math/e_fmodl.c: Likewise.
44828         * math/e_gammal_r.c: Likewise.
44829         * math/e_hypotl.c: Likewise.
44830         * math/e_j0l.c: Likewise.
44831         * math/e_j1l.c: Likewise.
44832         * math/e_jnl.c: Likewise.
44833         * math/e_lgammal_r.c: Likewise.
44834         * math/e_log10l.c: Likewise.
44835         * math/e_log2l.c: Likewise.
44836         * math/e_logl.c: Likewise.
44837         * math/e_powl.c: Likewise.
44838         * math/e_sinhl.c: Likewise.
44839         * math/e_sqrtl.c: Likewise.
44840         * math/e_scalb.c: Completely rewritten and optimized.
44841         * math/e_scalbf.c: Likewise.
44842         * math/e_scalbl.c: Likewise.
44843         * math/w_acos.c: Likewise.
44844         * math/w_acosf.c: Likewise.
44845         * math/w_acosl.c: Likewise.
44846         * math/w_acosh.c: Likewise.
44847         * math/w_acoshf.c: Likewise.
44848         * math/w_acoshl.c: Likewise.
44849         * math/w_asin.c: Likewise.
44850         * math/w_asinf.c: Likewise.
44851         * math/w_asinl.c: Likewise.
44852         * math/w_atan2.c: Likewise.
44853         * math/w_atan2f.c: Likewise.
44854         * math/w_atan2l.c: Likewise.
44855         * math/w_atanh.c: Likewise.
44856         * math/w_atanhf.c: Likewise.
44857         * math/w_atanhl.c: Likewise.
44858         * math/w_exp10.c: Likewise.
44859         * math/w_exp10f.c: Likewise.
44860         * math/w_exp10l.c: Likewise.
44861         * math/w_fmod.c: Likewise.
44862         * math/w_fmodf.c: Likewise.
44863         * math/w_fmodl.c: Likewise.
44864         * math/w_j0.c: Likewise.
44865         * math/w_j0f.c: Likewise.
44866         * math/w_j0l.c: Likewise.
44867         * math/w_j1.c: Likewise.
44868         * math/w_j1f.c: Likewise.
44869         * math/w_j1l.c: Likewise.
44870         * math/w_jn.c: Likewise.
44871         * math/w_jnf.c: Likewise.
44872         * math/w_log.c: Likewise.
44873         * math/w_logf.c: Likewise.
44874         * math/w_logl.c: Likewise.
44875         * math/w_log10.c: Likewise.
44876         * math/w_log10f.c: Likewise.
44877         * math/w_log10l.c: Likewise.
44878         * math/w_log2.c: Likewise.
44879         * math/w_log2f.c: Likewise.
44880         * math/w_log2l.c: Likewise.
44881         * math/w_pow.c: Likewise.
44882         * math/w_powf.c: Likewise.
44883         * math/w_powl.c: Likewise.
44884         * math/w_remainder.c: Likewise.
44885         * math/w_remainderf.c: Likewise.
44886         * math/w_remainderl.c: Likewise.
44887         * math/w_scalb.c: Likewise.
44888         * math/w_scalbf.c: Likewise.
44889         * math/w_scalbl.c: Likewise.
44890         * math/w_sqrt.c: Likewise.
44891         * math/w_sqrtf.c: Likewise.
44892         * math/w_sqrtl.c: Likewise.
44893         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44894         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
44895         used.
44896         * math/math_private.h: Declare __kernel_standard_f.
44897         * math/w_cosh.c: Remove cruft and optimize a bit.
44898         * math/w_coshf.c: Likewise.
44899         * math/w_coshl.c: Likewise.
44900         * math/w_exp2.c: Likewise.
44901         * math/w_exp2f.c: Likewise.
44902         * math/w_exp2l.c: Likewise.
44903         * math/w_hypot.c: Likewise.
44904         * math/w_hypotf.c: Likewise.
44905         * math/w_hypotl.c: Likewise.
44906         * math/w_lgamma.c: Likewise.
44907         * math/w_lgamma_r.c: Likewise.
44908         * math/w_lgammaf.c: Likewise.
44909         * math/w_lgammaf_r.c: Likewise.
44910         * math/w_lgammal.c: Likewise.
44911         * math/w_lgammal_r.c: Likewise.
44912         * math/w_sinh.c: Likewise.
44913         * math/w_sinhf.c: Likewise.
44914         * math/w_sinhl.c: Likewise.
44915         * math/w_tgamma.c: Likewise.
44916         * math/w_tgammaf.c: Likewise.
44917         * math/w_tgammal.c: Likewise.
44918         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44919         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44920         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44921         Minor optimizations.  Pretty printing.  Remove cruft.
44922         * sysdeps/i386/fpu/e_acosf.S: Likewise.
44923         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44924         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44925         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44926         * sysdeps/i386/fpu/e_acosl.c: Likewise.
44927         * sysdeps/i386/fpu/e_asin.S: Likewise.
44928         * sysdeps/i386/fpu/e_asinf.S: Likewise.
44929         * sysdeps/i386/fpu/e_atan2.S: Likewise.
44930         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44931         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44932         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44933         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44934         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44935         * sysdeps/i386/fpu/e_exp10.S: Likewise.
44936         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44937         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44938         * sysdeps/i386/fpu/e_exp2.S: Likewise.
44939         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44940         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44941         * sysdeps/i386/fpu/e_fmod.S: Likewise.
44942         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44943         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44944         * sysdeps/i386/fpu/e_hypot.S: Likewise.
44945         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44946         * sysdeps/i386/fpu/e_log.S: Likewise.
44947         * sysdeps/i386/fpu/e_log10.S: Likewise.
44948         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44949         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44950         * sysdeps/i386/fpu/e_log2.S: Likewise.
44951         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44952         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44953         * sysdeps/i386/fpu/e_logf.S: Likewise.
44954         * sysdeps/i386/fpu/e_logl.S: Likewise.
44955         * sysdeps/i386/fpu/e_pow.S: Likewise.
44956         * sysdeps/i386/fpu/e_powf.S: Likewise.
44957         * sysdeps/i386/fpu/e_powl.S: Likewise.
44958         * sysdeps/i386/fpu/e_remainder.S: Likewise.
44959         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44960         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44961         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44962         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44963         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44964         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44965         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44966         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44967         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44968         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44969         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44970         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44971         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44972         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44973         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44974         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44975         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44976         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44977         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44978         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44979         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44980         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44981         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44982         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44983         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44984         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44985         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44986         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44987         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44988         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44989         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44990         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44991         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44992         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44993         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44994         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44995         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44996         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44997         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44998         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44999         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45000         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45001         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45002         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45003         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45004         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45005         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45006         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45007         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45008         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45009         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45010         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45011         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45012         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45013         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45014         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45015         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45016         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45017         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45018         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45019         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45020         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45021         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45022         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45023         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45024         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45025         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45026         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45027         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45028         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45029         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45030         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45031         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45032         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45033         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45034         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45035         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45036         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45037         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45038         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45039         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45040         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45041         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45042         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45043         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45044         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45045         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45046         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45047         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45048         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45049         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45050         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45051         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45052         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45053         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45054         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45055         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45056         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45057         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45058         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45059         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45060         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45061         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45062         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45063         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45064         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45065         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45066         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45067         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45068         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45069         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45070         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45071         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45072         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45073         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45074         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45075         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45076         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45077         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
45078         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45079         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45080         (__isnanf): Likewise.
45081         (__isinf_ns): Likewise.
45082         (__isinf_nsf): Likewise.
45083         (__finite): Likewise.
45084         (__finitef): Likewise.
45085         (__ieee754_sqrt): Define as macro.
45086         (__ieee754_sqrtf): Define as macro.
45087         (__ieee754_sqrtl): Define as macro.
45088         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45089         inlined copy.
45090         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45091         __FINITE_MATH_ONLY__ consistent.
45092         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45093
45094 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45095
45096         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45097         of rawmemchr.
45098
45099         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45100
45101 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45102
45103         * po/ja.po: Update from translation team.
45104
45105 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45106
45107         * locale/programs/locarchive.c (prepare_address_space): New function.
45108         (create_archive, enlarge_archive, open_archive): Use it.
45109
45110         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45111         inside [SHARED], where it is used.
45112
45113         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45114
45115         * nss/getent.c (netgroup_keys): Remove unused variable.
45116         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45117
45118 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45119
45120         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45121         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45122         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45123         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45124         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45125         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45126         * math/Makefile (libm-calls): Add s_isinf_ns.
45127         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45128         * math/multc3.c: Likewise.
45129         * math/s_casin.c: Likewise.
45130         * math/s_casinf.c: Likewise.
45131         * math/s_casinl.c: Likewise.
45132         * math/s_ccos.c: Likewise.
45133         * math/s_ccosf.c: Likewise.
45134         * math/s_ccosl.c: Likewise.
45135         * math/s_ctan.c: Likewise.
45136         * math/s_ctanf.c: Likewise.
45137         * math/s_ctanh.c: Likewise.
45138         * math/s_ctanhf.c: Likewise.
45139         * math/s_ctanhl.c: Likewise.
45140         * math/s_ctanl.c: Likewise.
45141         * math/w_fmod.c: Likewise.
45142         * math/w_fmodf.c: Likewise.
45143         * math/w_fmodl.c: Likewise.
45144         * math/w_remainder.c: Likewise.
45145         * math/w_remainderf.c: Likewise.
45146         * math/w_remainderl.c: Likewise.
45147         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45148         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45149         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45150         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45151         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45152         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45153         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45154         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45155
45156         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45157         of the number.
45158         * stdio-common/printf_fphex.c: Likewise.
45159         * stdio-common/printf_size.c: Likewise.
45160
45161         * math/e_exp10.c: Include math_private.h using <...> not "...".
45162         * math/e_exp10f.c: Likewise.
45163         * math/e_exp10l.c: Likewise.
45164         * math/e_exp2l.c: Likewise.
45165         * math/e_j0l.c: Likewise.
45166         * math/e_j1l.c: Likewise.
45167         * math/e_jnl.c: Likewise.
45168         * math/e_lgammal_r.c: Likewise.
45169         * math/e_rem_pio2l.c: Likewise.
45170         * math/e_scalb.c: Likewise.
45171         * math/e_scalbf.c: Likewise.
45172         * math/e_scalbl.c: Likewise.
45173         * math/k_cosl.c: Likewise.
45174         * math/k_sinl.c: Likewise.
45175         * math/k_tanl.c: Likewise.
45176         * math/s_cacoshf.c: Likewise.
45177         * math/s_catan.c: Likewise.
45178         * math/s_catanf.c: Likewise.
45179         * math/s_catanh.c: Likewise.
45180         * math/s_catanhf.c: Likewise.
45181         * math/s_catanhl.c: Likewise.
45182         * math/s_catanl.c: Likewise.
45183         * math/s_ccosh.c: Likewise.
45184         * math/s_ccoshf.c: Likewise.
45185         * math/s_ccoshl.c: Likewise.
45186         * math/s_cexp.c: Likewise.
45187         * math/s_cexpf.c: Likewise.
45188         * math/s_cexpl.c: Likewise.
45189         * math/s_clog.c: Likewise.
45190         * math/s_clog10.c: Likewise.
45191         * math/s_clog10f.c: Likewise.
45192         * math/s_clog10l.c: Likewise.
45193         * math/s_clogf.c: Likewise.
45194         * math/s_clogl.c: Likewise.
45195         * math/s_csin.c: Likewise.
45196         * math/s_csinf.c: Likewise.
45197         * math/s_csinh.c: Likewise.
45198         * math/s_csinhf.c: Likewise.
45199         * math/s_csinhl.c: Likewise.
45200         * math/s_csinl.c: Likewise.
45201         * math/s_csqrt.c: Likewise.
45202         * math/s_csqrtf.c: Likewise.
45203         * math/s_csqrtl.c: Likewise.
45204         * math/s_ctan.c: Likewise.
45205         * math/s_ctanf.c: Likewise.
45206         * math/s_ctanh.c: Likewise.
45207         * math/s_ctanhf.c: Likewise.
45208         * math/s_ctanhl.c: Likewise.
45209         * math/s_ctanl.c: Likewise.
45210         * math/s_ldexp.c: Likewise.
45211         * math/s_ldexpf.c: Likewise.
45212         * math/s_ldexpl.c: Likewise.
45213         * math/s_significand.c: Likewise.
45214         * math/s_significandf.c: Likewise.
45215         * math/s_significandl.c: Likewise.
45216         * math/w_acos.c: Likewise.
45217         * math/w_acosf.c: Likewise.
45218         * math/w_acosh.c: Likewise.
45219         * math/w_acoshf.c: Likewise.
45220         * math/w_acoshl.c: Likewise.
45221         * math/w_acosl.c: Likewise.
45222         * math/w_asin.c: Likewise.
45223         * math/w_asinf.c: Likewise.
45224         * math/w_asinl.c: Likewise.
45225         * math/w_atan2.c: Likewise.
45226         * math/w_atan2f.c: Likewise.
45227         * math/w_atan2l.c: Likewise.
45228         * math/w_atanh.c: Likewise.
45229         * math/w_atanhf.c: Likewise.
45230         * math/w_atanhl.c: Likewise.
45231         * math/w_cosh.c: Likewise.
45232         * math/w_coshf.c: Likewise.
45233         * math/w_coshl.c: Likewise.
45234         * math/w_dremf.c: Likewise.
45235         * math/w_exp10.c: Likewise.
45236         * math/w_exp10f.c: Likewise.
45237         * math/w_exp10l.c: Likewise.
45238         * math/w_exp2.c: Likewise.
45239         * math/w_exp2f.c: Likewise.
45240         * math/w_fmod.c: Likewise.
45241         * math/w_fmodf.c: Likewise.
45242         * math/w_fmodl.c: Likewise.
45243         * math/w_hypot.c: Likewise.
45244         * math/w_hypotf.c: Likewise.
45245         * math/w_hypotl.c: Likewise.
45246         * math/w_j0.c: Likewise.
45247         * math/w_j0f.c: Likewise.
45248         * math/w_j0l.c: Likewise.
45249         * math/w_j1.c: Likewise.
45250         * math/w_j1f.c: Likewise.
45251         * math/w_j1l.c: Likewise.
45252         * math/w_jn.c: Likewise.
45253         * math/w_jnf.c: Likewise.
45254         * math/w_jnl.c: Likewise.
45255         * math/w_lgamma.c: Likewise.
45256         * math/w_lgamma_r.c: Likewise.
45257         * math/w_lgammaf.c: Likewise.
45258         * math/w_lgammaf_r.c: Likewise.
45259         * math/w_lgammal.c: Likewise.
45260         * math/w_lgammal_r.c: Likewise.
45261         * math/w_log.c: Likewise.
45262         * math/w_log10.c: Likewise.
45263         * math/w_log10f.c: Likewise.
45264         * math/w_log10l.c: Likewise.
45265         * math/w_log2.c: Likewise.
45266         * math/w_log2f.c: Likewise.
45267         * math/w_log2l.c: Likewise.
45268         * math/w_logf.c: Likewise.
45269         * math/w_logl.c: Likewise.
45270         * math/w_pow.c: Likewise.
45271         * math/w_powf.c: Likewise.
45272         * math/w_powl.c: Likewise.
45273         * math/w_remainder.c: Likewise.
45274         * math/w_remainderf.c: Likewise.
45275         * math/w_remainderl.c: Likewise.
45276         * math/w_scalb.c: Likewise.
45277         * math/w_scalbf.c: Likewise.
45278         * math/w_scalbl.c: Likewise.
45279         * math/w_sinh.c: Likewise.
45280         * math/w_sinhf.c: Likewise.
45281         * math/w_sinhl.c: Likewise.
45282         * math/w_sqrt.c: Likewise.
45283         * math/w_sqrtf.c: Likewise.
45284         * math/w_sqrtl.c: Likewise.
45285         * math/w_tgamma.c: Likewise.
45286         * math/w_tgammaf.c: Likewise.
45287         * math/w_tgammal.c: Likewise.
45288
45289         * po/ja.po: Update from translation team.
45290
45291 2011-09-29  Andreas Jaeger  <aj@suse.de>
45292
45293         [BZ #13179]
45294         * sunrpc/netname.c (netname2host): Fix logic.
45295
45296         [BZ #6779]
45297         [BZ #6783]
45298         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45299         correctly.
45300         * math/w_remainder.c (__remainder): Likewise.
45301         * math/w_remainderf.c (__remainderf): Likewise.
45302         * math/libm-test.inc (remainder_test): Add test cases.
45303
45304 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45305
45306         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45307         sdiv_qrnnd.
45308
45309 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45310
45311         * string/test-memcmp.c: Avoid unncessary #defines.
45312         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45313
45314 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45315
45316         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45317         Use new sse2 version for core i3 - i7 as it's faster
45318         than sse42 version.
45319         (bit_Prefer_PMINUB_for_stringop): New.
45320         * sysdeps/x86_64/rawmemchr.S: Update.
45321         Replace with faster SSE2 version.
45322         * sysdeps/x86_64/memrchr.S: New file.
45323         * sysdeps/x86_64/memchr.S: Update.
45324         Replace with faster SSE2 version.
45325
45326 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45327
45328         * elf/dl-load.c (lose): Add cast to avoid warning.
45329
45330 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45331
45332         * po/ca.po: Update from translation team.
45333
45334         * inet/getnetgrent_r.c: Hook up nscd.
45335         * nscd/Makefile (routines): Add nscd_netgroup.
45336         (nscd-modules): Add netgroupcache.
45337         (CFLAGS-netgroupcache.c): Define.
45338         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45339         (cache_search): Add const to second parameter.
45340         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45341         INNETGR.
45342         (dbs): Add netgrdb entry.
45343         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45344         (verify_persistent_db): Handle netgrdb.
45345         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45346         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45347         GETFDNETGR.
45348         (netgroup_response_header): Define.
45349         (innetgroup_response_header): Define.
45350         (datahead): Add netgroup_response_header and innetgroup_response_header
45351         elements.
45352         * nscd/nscd.conf: Add entries for netgroup cache.
45353         * nscd/nscd.h (dbtype): Add netgrdb.
45354         (_PATH_NSCD_NETGROUP_DB): Define.
45355         (netgroup_iov_disabled): Declare.
45356         (xmalloc, xcalloc, xrealloc): Move declarations here.
45357         (cache_search): Adjust prototype.
45358         Add netgroup-related prototypes.
45359         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45360         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45361         (__nscd_innetgr): Declare.
45362         * nscd/selinux.c (perms): Use access_vector_t as element type and
45363         add netgroup-related initializers.
45364         * nscd/netgroupcache.c: New file.
45365         * nscd/nscd_netgroup.c: New file.
45366         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45367         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45368         For four parameters use innetgr.
45369         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45370         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45371         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45372         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45373
45374         * nscd/connections.c (register_traced_file): Don't register file
45375         for disabled databases.
45376
45377 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45378
45379         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45380
45381         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45382         from tree and freeing node.
45383
45384 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45385
45386         * nss/nsswitch.c (__nss_database_lookup): Handle
45387         nss_parse_service_list out of memory case.
45388
45389 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45390
45391         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45392         out of memory case.
45393
45394 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45395
45396         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45397         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45398         pass it down.
45399         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45400         elf_machine_rela, elf_machine_lazy_rel.
45401         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45402         (ELF_DYNAMIC_DO_REL): Likewise.
45403         (ELF_DYNAMIC_DO_RELA): Likewise.
45404         (ELF_DYNAMIC_RELOCATE): Likewise.
45405         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45406         to ELF_DYNAMIC_DO_REL.
45407         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45408         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45409         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45410         elf_machine_rela.
45411         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45412         skip_ifunc, don't call ifunc function if non-zero.
45413         (elf_machine_rela): Likewise.
45414         (elf_machine_lazy_rel): Likewise.
45415         (elf_machine_lazy_rela): Likewise.
45416         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45417         (elf_machine_lazy_rel): Likewise.
45418         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45419         Likewise.
45420         (elf_machine_lazy_rel): Likewise.
45421         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45422         Likewise.
45423         (elf_machine_lazy_rel): Likewise.
45424         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45425         (elf_machine_lazy_rel): Likewise.
45426         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45427         (elf_machine_lazy_rel): Likewise.
45428         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45429         (elf_machine_lazy_rel): Likewise.
45430         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45431         (elf_machine_lazy_rel): Likewise.
45432         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45433         (elf_machine_lazy_rel): Likewise.
45434         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45435         (elf_machine_lazy_rel): Likewise.
45436
45437 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45438
45439         * nss/nss_files/files-init.c (_nss_files_init): Use static
45440         initialization for all the *_traced_file variables.
45441
45442 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45443
45444         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45445
45446 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45447
45448         [BZ #13226]
45449         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45450
45451 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45452
45453         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45454         Reread the line before reparsing it.
45455
45456 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45457
45458         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45459
45460 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45461             Maxim Kuvyrkov  <maxim@codesourcery.com>
45462             Joseph Myers  <joseph@codesourcery.com>
45463
45464         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45465         if needed for __stack_chk_guard.
45466
45467 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45468
45469         * sysdeps/posix/spawni.c (script_execute): Always define it.
45470         It will be optimized away if unused.
45471         (maybe_script_execute): New function.
45472         (__spawni): Call it.
45473
45474         * Makerules: Don't include tls.make.
45475         (config-tls): Always set to thread.
45476         * tls.make.c: File removed.
45477
45478 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45479
45480         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45481         * config.make.in (CPPFLAGS-config): New substituted variable.
45482
45483 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45484
45485         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45486
45487         [BZ #13192]
45488         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45489         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45490
45491 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45492
45493         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45494         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45495         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45496         (CALL_FAIL): Likewise.
45497         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45498         (CALL_FAIL): Macro removed.
45499         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45500
45501 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45502
45503         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45504         for __FINITE_MATH_ONLY__ == 1.
45505
45506 2011-09-15  Andreas Schwab  <schwab@redhat.com>
45507
45508         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45509         __ieee754_sqrt instead of sqrt.
45510         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45511         __ieee754_sqrtf instead of sqrtf.
45512         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45513         __floorf instead of floorf.
45514         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45515         __floorf, __truncf instead of floorf, truncf.
45516
45517 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45518
45519         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45520
45521         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45522         __extern_always_inline.
45523         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45524         32-bit.
45525
45526 2011-09-14  Andreas Schwab  <schwab@redhat.com>
45527
45528         * elf/rtld.c (dl_main): Also relocate in dependency order when
45529         doing symbol dependency testing.
45530
45531 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
45532
45533         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45534         Always define `refsym'.
45535
45536 2011-09-13  Andreas Schwab  <schwab@redhat.com>
45537
45538         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45539         (__FD_ELT): Renamed from __FDELT.
45540         * misc/bits/select2.h (__FD_ELT): Likewise.
45541         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45542         __FD_MASK instead of __FDELT, __FDMASK.
45543         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45544         Likewise.
45545         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45546         Likewise.
45547
45548         * elf/Makefile (gen-ldd): Fix pattern.
45549
45550         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45551         (init_tls): Likewise.
45552
45553 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
45554
45555         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45556
45557 2011-09-12  Andreas Schwab  <schwab@redhat.com>
45558
45559         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45560         `struct cmsghdr *' instead of `void *'.
45561         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45562         Likewise.
45563
45564 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
45565
45566         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45567         if non-absolute.
45568         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45569         ldd_rewrite_script.
45570
45571 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
45572
45573         * configure.in: Remove --with-tls option.
45574         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45575         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45576         out in case it is missing.
45577         * sysdeps/ia64/elf/configure.in: Likewise.
45578         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45579         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45580         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45581         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45582         * sysdeps/sh/elf/configure.in: Likewise.
45583         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45584         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45585         * sysdeps/x86_64/elf/configure.in: Likewise.
45586         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45587         * sysdeps/mach/hurd/tls.h: Likewise.
45588
45589         [BZ #13067]
45590         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45591
45592         [BZ #13090]
45593         * configure.in: Fix use of AC_INIT.
45594
45595         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45596
45597 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
45598
45599         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45600         __set_errno.
45601         * malloc/hooks.c: Likewise.
45602
45603         [BZ #11929]
45604         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
45605         variables statically.
45606         (narenas): Initialize.
45607         (list_lock): Initialize.
45608         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
45609         initializtion of main_arena and list_lock.  Small cleanups.
45610         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45611         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
45612         Add initializers to main_arena and mp_.
45613         (malloc_state): Remove pagesize member.  Change all users to use
45614         GLRO(dl_pagesize).
45615
45616         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45617         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
45618         is always initialized.
45619
45620         * malloc/malloc.c: Removed unused configurations and dead code.
45621         * malloc/arena.c: Likewise.
45622         * malloc/hooks.c: Likewise.
45623         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45624
45625         * include/tls.h: Removed.  USE___THREAD must always be defined.
45626         * bits/libc-tsd.h: Don't handle !USE___THREAD.
45627         * elf/dl-libc.c: Likewise.
45628         * elf/dl-tsd.c: Likewise.
45629         * include/errno.h: Likewise.
45630         * include/netdb.h: Likewise.
45631         * include/resolv.h: Likewise.
45632         * inet/herrno-loc.c: Likewise.
45633         * inet/herrno.c: Likewise.
45634         * malloc/arena.c: Likewise.
45635         * malloc/hooks.c: Likewise.
45636         * malloc/malloc.c: Likewise.
45637         * resolv/res-state.c: Likewise.
45638         * resolv/res_libc.c: Likewise.
45639         * sysdeps/i386/dl-machine.h: Likewise.
45640         * sysdeps/ia64/dl-machine.h: Likewise.
45641         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45642         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45643         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45644         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45645         * sysdeps/sh/dl-machine.h: Likewise.
45646         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45647         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45648         * sysdeps/unix/i386/sysdep.S: Likewise.
45649         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45650         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45651         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45652         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45653         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45654         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45655         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45656         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45657         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45658         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45659         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45660         * sysdeps/x86_64/dl-machine.h: Likewise.
45661         * tls.make.c: Likewise.
45662
45663         * configure.in: Remove --with-__thread option.  Make tests for
45664         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45665         tls_model attribute fail if no support is available.  Remove
45666         USE_IN_LIBIO.
45667         * Makeconfig: Adjust for dropped configure option.  All features are
45668         now mandatory.
45669         * Makerules: Likewise.
45670         * Versions.def: Likewise.
45671         * argp/argp-fmtstream.c: Likewise.
45672         * argp/argp-fmtstream.h: Likewise.
45673         * argp/argp-help.c: Likewise.
45674         * assert/assert.c: Likewise.
45675         * config.h.in: Likewise.
45676         * config.make.in: Likewise.
45677         * configure: Likewise.
45678         * configure.in: Likewise.
45679         * csu/Versions: Likewise.
45680         * csu/init.c: Likewise.
45681         * elf/tst-audit2.c: Likewise.
45682         * elf/tst-tls10.c: Likewise.
45683         * elf/tst-tls10.h: Likewise.
45684         * elf/tst-tls11.c: Likewise.
45685         * elf/tst-tls12.c: Likewise.
45686         * elf/tst-tls14.c: Likewise.
45687         * elf/tst-tlsmod11.c: Likewise.
45688         * elf/tst-tlsmod12.c: Likewise.
45689         * elf/tst-tlsmod13.c: Likewise.
45690         * elf/tst-tlsmod13a.c: Likewise.
45691         * elf/tst-tlsmod14a.c: Likewise.
45692         * elf/tst-tlsmod15b.c: Likewise.
45693         * elf/tst-tlsmod16a.c: Likewise.
45694         * elf/tst-tlsmod16b.c: Likewise.
45695         * elf/tst-tlsmod7.c: Likewise.
45696         * elf/tst-tlsmod8.c: Likewise.
45697         * elf/tst-tlsmod9.c: Likewise.
45698         * gmon/gmon.c: Likewise.
45699         * grp/fgetgrent_r.c: Likewise.
45700         * grp/putgrent.c: Likewise.
45701         * hurd/fopenport.c: Likewise.
45702         * include/libc-symbols.h: Likewise.
45703         * include/tls.h: Likewise.
45704         * intl/gettextP.h: Likewise.
45705         * intl/loadinfo.h: Likewise.
45706         * locale/global-locale.c: Likewise.
45707         * locale/localeinfo.h: Likewise.
45708         * mach/devstream.c: Likewise.
45709         * malloc/arena.c: Likewise.
45710         * malloc/set-freeres.c: Likewise.
45711         * misc/err.c: Likewise.
45712         * misc/getttyent.c: Likewise.
45713         * misc/mntent_r.c: Likewise.
45714         * posix/getopt.c: Likewise.
45715         * posix/wordexp.c: Likewise.
45716         * pwd/fgetpwent_r.c: Likewise.
45717         * resolv/Versions: Likewise.
45718         * resolv/res_hconf.c: Likewise.
45719         * shadow/fgetspent_r.c: Likewise.
45720         * shadow/putspent.c: Likewise.
45721         * stdio-common/printf_fphex.c: Likewise.
45722         * stdio-common/tmpfile.c: Likewise.
45723         * stdlib/abort.c: Likewise.
45724         * stdlib/fmtmsg.c: Likewise.
45725         * sunrpc/auth_unix.c: Likewise.
45726         * sunrpc/clnt_perr.c: Likewise.
45727         * sunrpc/clnt_tcp.c: Likewise.
45728         * sunrpc/clnt_udp.c: Likewise.
45729         * sunrpc/clnt_unix.c: Likewise.
45730         * sunrpc/openchild.c: Likewise.
45731         * sunrpc/svc_simple.c: Likewise.
45732         * sunrpc/svc_tcp.c: Likewise.
45733         * sunrpc/svc_udp.c: Likewise.
45734         * sunrpc/svc_unix.c: Likewise.
45735         * sunrpc/xdr.c: Likewise.
45736         * sunrpc/xdr_array.c: Likewise.
45737         * sunrpc/xdr_rec.c: Likewise.
45738         * sunrpc/xdr_ref.c: Likewise.
45739         * sunrpc/xdr_stdio.c: Likewise.
45740
45741 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45742
45743         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45744
45745 2011-07-03  Andreas Jaeger  <aj@suse.de>
45746
45747         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45748         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45749         regenerate with gen-libm-tests.pl.
45750
45751 2010-05-12  Petr Baudis  <pasky@suse.cz>
45752
45753         [BZ #11589]
45754         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45755         around j0() zero points by switching to j1().
45756         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45757         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45758         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45759         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45760
45761 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45762
45763         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45764         instead of 0.
45765         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45766         instead of 0.
45767         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45768         Patch in part by Pavel Roskin <proski@gnu.org>.
45769
45770         [BZ #13138]
45771         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45772         realloc.
45773         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
45774         Free memory block if necessary.
45775
45776         [BZ #12847]
45777         * libio/genops.c (INTDEF): For string streams the _lock pointer can
45778         be NULL.  Don't lock in this case.
45779
45780 2011-09-09  Roland McGrath  <roland@hack.frob.com>
45781
45782         * elf/elf.h (ELFOSABI_GNU): New macro.
45783         (ELFOSABI_LINUX): Define to that.
45784
45785 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
45786
45787         * string/strncat.c (strncat): Undef the symbol in case it has been
45788         defined in bits/string.h.
45789
45790 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45791
45792         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45793
45794         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45795         link map.
45796
45797 2011-08-17  Andreas Jaeger  <aj@suse.de>
45798
45799         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45800
45801 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45802             Ian Lance Taylor  <iant@google.com>
45803
45804         * math/libm-test.inc (lround_test): New testcase.
45805         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45806
45807 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
45808
45809         * Makefile: Remove support for automatic cvs check-ins.
45810         * Makerules: Likewise.
45811         * config.make.in: Likewise.
45812         * configure.in: Likewise.
45813         * intl/Makefile: Likewise.
45814         * locale/Makefile: Likewise.
45815         * po/Makefile: Likewise.
45816         * posix/Makefile: Likewise.
45817         * sysdeps/gnu/Makefile: Likewise.
45818         * sysdeps/mach/hurd/Makefile: Likewise.
45819         * sysdeps/sparc/sparc32/Makefile: Likewise.
45820
45821         [BZ #13118]
45822         * posix/Makefile (bug-regex32-ENV): Define.
45823         Patch by John Stanley <jpsinthemix@verizon.net>.
45824
45825         * misc/Makefile (headers): Add bits/select2.h.
45826         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45827         * misc/bits/select2.h: New file.
45828         * include/bits/select2.h: New file.
45829         * debug/Makefile (routines): Add fdelt_chk.
45830         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45831         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45832         FD_ISSET.
45833         * debug/fdelt_chk.c: New file.
45834
45835         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
45836         * wcsmbs/test-wmemcmp.c: Likewise.
45837         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45838         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45839
45840 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45841
45842         * string/Makefile (strop-tests): Add memcmp.
45843         * string/test-wmemcmp.c: New file.
45844         * string/test-memcmp.c: Add wmemcmp support.
45845
45846 2011-09-08  Roland McGrath  <roland@hack.frob.com>
45847
45848         [BZ #13153]
45849         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45850         2011-07-19 change.
45851
45852         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45853         garbage value in a __mach_port_mod_refs call in the cases of the
45854         task-self and thread-self ports.
45855
45856 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45857
45858         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45859
45860 2011-09-08  Andreas Schwab  <schwab@redhat.com>
45861
45862         * elf/dl-load.c (lose): Check for non-null L.
45863
45864 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45865
45866         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45867
45868         * elf/dl-libc.c (dlerror_run): Pass back error code from
45869         dl_catch_error.
45870
45871         [BZ #13123]
45872         * elf/dl-load.c (lose): Free l_origin if it is valid.
45873
45874         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45875         names.
45876         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45877         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45878         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45879         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45880         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45881         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45882
45883 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45884
45885         * sysdeps/powerpc/fpu/e_hypot.c: New file.
45886         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45887         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45888         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45889         * sysdeps/powerpc/fpu/k_cosf.c: New file.
45890         * sysdeps/powerpc/fpu/k_sinf.c: New file.
45891         * sysdeps/powerpc/fpu/s_cosf.c: New file.
45892         * sysdeps/powerpc/fpu/s_sinf.c: New file.
45893         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45894         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45895
45896 2011-08-15  Alan Modra  <amodra@gmail.com>
45897
45898         [BZ #13092]
45899         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45900         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45901         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
45902         ppc_mcount to static-only-routines.
45903         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45904         __mcount_internal.
45905         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45906         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
45907
45908 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
45909
45910         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45911         for finite and infinity parameters.
45912
45913 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45914
45915         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45916         and add nop instructions for throughput optimization.
45917         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45918
45919 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
45920
45921         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45922         aligned copy for power7 with vector-scalar instructions.
45923         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45924
45925 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
45926
45927         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45928         AVX check.
45929
45930 2011-09-07  Andreas Schwab  <schwab@redhat.com>
45931
45932         [BZ #13144]
45933         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45934         last change.
45935
45936 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45937
45938         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45939         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45940         syscall wrapper around clock_gettime in __vdso_clock_gettime.
45941         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45942         clock_gettime.
45943
45944 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45945
45946         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45947         Forgot to demangle the pointer.
45948
45949         * sysdeps/i386/sysdep.h: Define atom_text_section.
45950         * sysdeps/x86_64/sysdep.h: Likewise.
45951         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45952         section with atom_text_section.
45953         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45954         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45955         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45956         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45957         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45958
45959         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45960         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45961         already be defined.  Change to take two parameters and don't assign
45962         result to variable.  Adjust all users.
45963         Define INTERNAL_GETTIME if not already defined.
45964         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45965         call.
45966         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45967         HAVE_CLOCK_GETTIME_VSYSCALL.
45968         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45969
45970         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45971         gettimeofday vsyscall, just use time.
45972
45973 2011-09-06  Andreas Schwab  <schwab@redhat.com>
45974
45975         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45976         <errno.h>.
45977
45978 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45979
45980         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45981         syscall on x86-64.
45982         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45983         syscall.
45984         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45985         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45986         syscall if possible.
45987
45988 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45989
45990         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45991         e_ident.  Don't pass to find_mapsXX.
45992         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45993
45994 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45995
45996         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45997         strchr-sse2-no-bsf strrchr-sse2-no-bsf
45998         * sysdeps/x86_64/multiarch/strchr.S: Update.
45999         Check bit_slow_BSF bit.
46000         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46001         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46002         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46003
46004 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46005
46006         [BZ #13134]
46007         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46008         before glibc 2.15.
46009         (tryshell): Define.
46010         (__spawni): Change last parameter to be flag.  Test
46011         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46012         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46013         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46014         * posix/spawni.c: Likewise.
46015         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46016         * posix/spawnp.c: Likewise.  Change normal version to use
46017         SPAWN_XFLAGS_USE_PATH.
46018         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46019         SPAWN_XFLAGS_TRY_SHELL.
46020
46021         [BZ #13150]
46022         * posix/glob.h: Remove gcc 1.x support.
46023
46024         [BZ #13068]
46025         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46026
46027 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46028
46029         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46030         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46031         strrchr-sse2-bsf
46032         * sysdeps/i386/i686/multiarch/strchr.S: New file.
46033         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46034         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46035         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46036         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46037         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46038
46039 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46040
46041         * sysdeps/x86_64/wcscmp.S: New file.
46042
46043         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46044         wcscmp-c wcscmp-sse2
46045         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46046         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46047         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46048         * wcsmbs/wcscmp.c: Allow renaming.
46049
46050 2011-09-05  David S. Miller  <davem@davemloft.net>
46051
46052         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46053         stack slot, rather than the struct return pointer slot.
46054         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46055         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46057         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46058
46059 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46060
46061         * po/ja.po: Update from translation team.
46062
46063         [BZ #13144]
46064         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46065         kernel in 64-bit binaries.
46066
46067 2011-09-01  David S. Miller  <davem@davemloft.net>
46068
46069         * elf/elf.h (HWCAP_SPARC_*): Move to..
46070         * sysdeps/sparc/sysdep.h: this new file and add new values.
46071         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46072         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46073         _DL_HWCAP_COUNT to 24.
46074         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46075         entries.
46076         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46077         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46078         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46079         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46080         instead of magic constants.
46081         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46082
46083 2011-08-31  David S. Miller  <davem@davemloft.net>
46084
46085         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46086         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46087         Reimplement to do errno handling inline.
46088         (SYSCALL_ERROR_HANDLER): New macro.
46089         (__SYSCALL_STRING): Do not do errno handling in asm.
46090         (__CLONE_SYSCALL_STRING): Delete.
46091         (__INTERNAL_SYSCALL_STRING): Delete.
46092         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46093         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46094         (PSEUDO): Reimplement to do errno handling inline.
46095         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46096         (SYSCALL_ERROR_HANDLER): New macro.
46097         (__SYSCALL_STRING): Do not do errno handling in asm.
46098         (__CLONE_SYSCALL_STRING): Delete.
46099         (__INTERNAL_SYSCALL_STRING): Delete.
46100         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46101         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46102         i386.
46103         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46104         (inline_syscall*): Add 'err' argument.
46105         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46106         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46107         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46108         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46109
46110         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46111         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46112
46113 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46114
46115         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46116
46117 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46118
46119         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46120         directive.
46121
46122 2011-08-24  David S. Miller  <davem@davemloft.net>
46123
46124         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46125
46126 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46127
46128         * elf/Makefile: Add rules to build and run unload8 test.
46129         * elf/unload8.c: New file.
46130         * elf/unload8mod1.c: New file.
46131         * elf/unload8mod1x.c: New file.
46132         * elf/unload8mod2.c: New file.
46133         * elf/unload8mod3.c: New file.
46134
46135         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46136         it wasn't used.
46137
46138 2011-08-23  David S. Miller  <davem@davemloft.net>
46139
46140         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46141         subtract stack bias.
46142         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46143         %sp not %fp in calculations.
46144         (_JMPBUF_UNWINDS_ADJ): Likewise.
46145
46146         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46147         (aio_suspend): Call it to force an exception region around the
46148         AIO_MISC_WAIT() invocation.
46149
46150 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46151
46152         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46153         backslash.
46154
46155 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46156
46157         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46158         protection macro.
46159         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46160         and <dl-machine.h>.
46161         (Elf64_FuncDesc): Remove.
46162
46163 2011-08-22  David S. Miller  <davem@davemloft.net>
46164
46165         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46166         sigaltstack check, add missing cfi directives.
46167         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46168         missing cfi directives, and sigaltstack handling.
46169
46170 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46171
46172         [BZ #11724]
46173         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46174         object is seen twice.
46175         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46176
46177         * elf/Makefile (distribute): Add tst-initorder2.c.
46178         (tests): Add tst-initorder2.
46179         (modules-names): Add tst-initorder2a tst-initorder2b
46180         tst-initorder2c tst-initorder2d.  Add rules to build them.
46181         ($(objpfx)tst-initorder2.out): New rule.
46182         * elf/tst-initorder2.c: New file.
46183         * elf/tst-initorder2.exp: New file.
46184
46185 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46186
46187         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46188
46189         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46190         dependencies back to end of function.
46191
46192         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46193         $(elfobjdir)/ld.so.
46194
46195 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46196
46197         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46198         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46199         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46200         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46201         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46202         of __vdso_gettimeofday.
46203         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46204         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46205         attribute_hidden.
46206         (_libc_vdso_platform_setup): Remove initialization of
46207         __vdso_gettimeofday and __vdso_time.
46208
46209 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46210
46211         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46212         and fgetc_unlocked.
46213         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46214         getc_unlocked.
46215
46216         * elf/dl-open.c (add_to_global): Report additions to the global scope
46217         for LD_DEBUG=scopes.
46218         (dl_open_worker): Also print scope of newly loaded dependencies.
46219         (_dl_show_scope): Indicate if there is no scope.
46220
46221         [BZ #13114]
46222         * stdio-common/Makefile (tests): Add bug24.
46223         * stdio-common/bug24.c: New file.
46224
46225 2011-08-19  Andreas Jaeger  <aj@suse.de>
46226
46227         [BZ #13114]
46228         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46229         non-existant file when using close-on-exec mode.
46230
46231 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46232
46233         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46234         the very first instruction.
46235
46236         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46237         the CFI state in the end.
46238         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46239         inclusion of dl-trampoline.h.
46240         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46241
46242 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46243
46244         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46245         expectations for long double.
46246
46247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46248         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46249
46250 2011-08-14  David S. Miller  <davem@davemloft.net>
46251
46252         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46253         artificual limit depends upon the system page size.
46254
46255 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46256
46257         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46258         * resolv/Makefile: Define CFLAGS-libresolv.
46259
46260 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46261
46262         * nss/makedb.c (compute_tables): Make variables used in nested
46263         function static.
46264
46265 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46266
46267         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46268         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46269         if buffer was too small.
46270
46271         * elf/pldd.c (main): Attach to all threads in the process.
46272         Rewrite /proc handling to use *at functions.
46273
46274 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46275
46276         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46277         specifies first scope to show.
46278         (dl_open_worker): Update callers.  Move printing scope of new
46279         object to before the relocation.
46280         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46281         * sysdeps/generic/ldsodefs.h: Update declaration.
46282
46283         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46284         string for the scope number.
46285
46286 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46287
46288         * nscd/servicescache.c (cache_addserv): Make sure written is always
46289         initialized.
46290
46291 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46292
46293         * sysdeps/i386/i486/bits/atomic.h
46294         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46295         statement expression, so as to suppress "set but not used" warning.
46296         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46297
46298         * string/strncat.c (STRNCAT): Use prototype definition.
46299
46300         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46301         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46302         -Iprograms here.
46303         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46304         (localedef-modules): Add localedef.
46305         (locale-modules): Add locale.
46306
46307         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46308         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46309         to avoid a warning.
46310
46311 2011-08-14  David S. Miller  <davem@davemloft.net>
46312
46313         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46314         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46315
46316 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46317
46318         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46319         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46320         * elf/rtld.c (dl_main): Set l_name of vDSO.
46321         Call _dl_show_scope when DL_DEBUG_SCOPES.
46322         (process_dl_debug): Recognize scopes flag and also set it for all.
46323         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46324         Declare _dl_show_scope.
46325
46326         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46327         (do_dlopen): Pass caller_dlopen to dl_open.
46328         (__libc_dlopen_mode): Initialize caller_dlopen.
46329
46330         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46331         of libc.  Make tolower call locale-independent.  Optimize a bit by
46332         using isdigit instead of isalnum.
46333         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46334
46335 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46336
46337         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46338         was a dependency or dynamically loaded.
46339
46340 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46341
46342         * intl/l10nflist.c: Allow architecture-specific pop function.
46343         * sysdeps/x86_64/l10nflist.c: New file.
46344
46345         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46346         classification.
46347
46348 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46349
46350         * include/dirent.h: Add libc_hidden_proto for scandirat and
46351         scandirat64.  Don't declare __scandirat64.
46352         * dirent/scandirat.c: Add libc_hidden_def.
46353         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46354         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46355
46356 2011-08-10  David S. Miller  <davem@davemloft.net>
46357
46358         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46359         enum.
46360         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46361         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46362         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46363
46364 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46365
46366         * Versions.def [libc]: Add GLIBC_2.15.
46367         * dirent/Makefile (routines): Add scandirat and scandirat64.
46368         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46369         GLIBC_2.15.
46370         * dirent/dirent.h: Declare scandirat and scandirat64.
46371         * dirent/scandirat.c: New file.
46372         * dirent/scandirat64.c: New file.
46373         * sysdeps/wordsize-64/scandirat.c: New file.
46374         * sysdeps/wordsize-64/scandirat64.c: New file.
46375         * dirent/opendir.c: Define opendirat.
46376         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46377         using scandirat.
46378         * dirent/scandir64.c: Adjust for scandir.c change.
46379         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46380         __scandirat64, and __scandir_cancel_handler.
46381         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46382         additional parameter and use openat instead of open (outside of ld.so).
46383         Add new __opendir as wrapper around __opendirat.
46384         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46385         here without requiring old scandirat implementation.
46386
46387 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46388
46389         * dirent/scandir.c (cancel_handler): Renamed to
46390         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46391         defined.  Adjust users.
46392         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46393         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46394
46395 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46396
46397         * string/test-string.h (IMPL): Use __STRING to expand name and then
46398         stringify it.
46399
46400         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46401         of cleanups.
46402
46403 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46404
46405         * string/Makefile: Update.
46406         (strop-tests): Append strncat.
46407         * string/test-wcscmp.c: New file.
46408         New comprehensive test for wcscmp.
46409         * string/test-strcmp.c: Update.
46410         (WIDE): New define.
46411
46412 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46413
46414         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46415         line.
46416
46417 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46418
46419         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46420         encoding to ACE if AI_IDN.
46421
46422 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46423
46424         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46425         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46426
46427 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46428
46429         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46430         Fix overflow bug in strncat.
46431         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46432
46433         * string/test-strncat.c: Update.
46434         Add new tests for checking overflow bugs.
46435
46436 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46437
46438         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46439         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46440         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46441         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46442         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46443         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46444         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46445         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46446         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46447
46448         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46449         (USE_AS_STRCAT): Define.
46450         Add strcat and strncat support.
46451         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46452
46453 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46454
46455         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46456         __n bigger than INT_MAX+1.
46457         (__strncmp_g): Likewise.
46458
46459 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46460
46461         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46462         * libio/stido.h: Likewise.
46463
46464         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46465         (AF_NFC): Define.
46466         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46467         (AF_NFC): Define.
46468
46469         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46470         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46471         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46472         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46473         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46474
46475         [BZ #13021]
46476         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46477         installed.
46478
46479         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46480         typo.
46481         (_dl_x86_64_save_sse): Likewise.
46482
46483 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46484
46485         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46486         OSXSAVE.
46487         (_dl_x86_64_save_sse): Likewise.
46488
46489         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46490
46491         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46492
46493 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46494
46495         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46496         change.
46497         (_dl_x86_64_save_sse): Use correct AVX check.
46498
46499 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46500
46501         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46502         bug in strncpy/strncat.
46503         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46504
46505 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
46506
46507         * string/tester.c (test_strcat): Add tests for different alignments
46508         of source and destination.
46509         (test_strncat): Likewise.
46510
46511 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46512
46513         [BZ #12852]
46514         * posix/glob.c (glob): Check passed in values before using them in
46515         expressions to avoid some overflows.
46516         (glob_in_dir): Likewise.
46517
46518         [BZ #13007]
46519         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46520         check for AVX enablement so that we don't crash with old kernels and
46521         new hardware.
46522         * elf/tst-audit4.c: Add same checks here.
46523         * elf/tst-audit6.c: Likewise.
46524
46525         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46526
46527 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
46528
46529         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46530
46531 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46532
46533         * po/cs.po: Update from translation team.
46534         * po/bg.po: Likewise.
46535
46536 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
46537
46538         * misc/sys/cdefs.h: Add support for const attribute.
46539         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46540         to gnu_dev_{major,minor,makedev} functions.
46541
46542 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
46543
46544         * intl/dcigettext.c (get_output_charset): Add missing bracket.
46545
46546 2011-07-20  Andreas Schwab  <schwab@redhat.com>
46547
46548         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46549         strlen results.
46550
46551 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46552
46553         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46554         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46555         register in order to avoid conflicts with the soft frame pointer
46556         being held in r11 when necessary.
46557         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46558         (INTERNAL_VSYSCALL_NCS): Likewise.
46559
46560 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
46561
46562         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46563         * elf/dl-fini.c (_dl_fini): Adjust caller.
46564         * elf/dl-close.c (_dl_close_worker): Likewise.
46565         * sysdeps/generic/ldsodefs.h: Adjust declaration.
46566
46567 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46568
46569         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46570         "aux_cache->nlibs < 0".
46571
46572         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46573         in the reload-count case.
46574
46575 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46576
46577         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46578         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46579         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46580         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46581         * sysdeps/x86_64/multiarch/strcat.S: New file.
46582         * sysdeps/x86_64/multiarch/strncat.S: New file.
46583         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46584         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46585         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46586         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46587         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46588         (USE_AS_STRCAT): Define.
46589         Add strcat and strncat support.
46590         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46591         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46592         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46593         * string/strncat.c: Update.
46594         (USE_AS_STRNCAT): Define.
46595         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46596         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46597         and i7.
46598         * sysdeps/x86_64/multiarch/init-arch.h
46599         (bit_Prefer_PMINUB_for_stringop): New.
46600         (index_Prefer_PMINUB_for_stringop): Likewise.
46601         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46602         bit_Prefer_PMINUB_for_stringop.
46603
46604 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46605
46606         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46607         buffer64.
46608         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46609         of casting of buffer.
46610         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46611         buffer32 and buffer64.
46612         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46613         writes instead of casting of buffer.
46614         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46615         buffer32.
46616         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46617         casting of buffer.
46618
46619 2011-07-19  Andreas Schwab  <schwab@redhat.com>
46620
46621         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46622
46623 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46624
46625         * nscd/nscd.c (termination_handler): Don't do anything for a database
46626         if it has not yet been initialized.
46627
46628 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46629
46630         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46631
46632 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46633
46634         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46635
46636 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46637
46638         * po/nl.po: Update from translation team.
46639         * po/sv.po: Likewise.
46640
46641 2011-07-16  Roland McGrath  <roland@hack.frob.com>
46642
46643         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46644         now disallowed by GCC.
46645
46646         * configure.in (use-default-link): Default to yes if a test -shared
46647         link meets our qualifications.
46648         * configure: Regenerated.
46649
46650         * config.make.in (output-format): New variable.
46651         * configure.in: Check for ld --print-output-format support.
46652         * configure: Regenerated.
46653         * Makerules ($(common-objpfx)format.lds)
46654         [$(output-format) != unknown]: Just use $(output-format),
46655         instead of the linker-script munging.
46656
46657 2011-07-14  Roland McGrath  <roland@hack.frob.com>
46658
46659         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46660         of $(common-objpfx)shlib.lds.
46661         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46662
46663         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46664         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46665
46666         * configure.in (-z relro check): Adjust test code to add a large
46667         writable data section after it.
46668         * configure: Regenerated.
46669
46670 2011-07-11  Roland McGrath  <roland@hack.frob.com>
46671
46672         * configure.in (-z relro check): Fix test code to make the variable
46673         truly const.
46674         * configure: Regenerated.
46675
46676 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
46677
46678         * nscd/nscd.h (struct traced_file): Define.
46679         (struct database_dyn): Remove inotify_descr, reset_res, and filename
46680         elements.  Add traced_files.
46681         (inotify_fd): Declare.
46682         (register_traced_file): Declare.
46683         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46684         (inotify_fd): Export.
46685         (resolv_conf_descr): Remove.
46686         (nscd_init): Move inotify descriptor creation to main.
46687         Don't register files for notification here.
46688         (register_traced_file): New function.
46689         (invalidate_cache): Don't use reset_res to determine whether to call
46690         res_init, go through the list of registered files.
46691         (main_loop_poll): The inotify descriptors are now stored in the
46692         structures for the traced files.
46693         (main_loop_epoll): Likewise
46694         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
46695         to __nss_disable_nscd.
46696         * nscd/cache.c (prune_cache): There is no single inotify descriptor
46697         for a database anymore.  Check the records for all the registered
46698         files instead.
46699         * nss/Makefile (libnss_files-routines): Add files-init.
46700         (libnss_db-routines): Add db-init.
46701         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46702         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46703         * nss/nss_db/db-init.c: New file.
46704         * nss/nss_files/files-init.c: New file.
46705         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
46706         __nss_lookup_function.
46707         (__nss_lookup_function): Call nss_load_library.
46708         (nss_load_all_libraries): New function.
46709         (__nss_disable_nscd): Take parameter with callback function for files
46710         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
46711         used for the cached services.
46712         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46713         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46714         options for features to all the files in nscd.
46715
46716         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46717
46718 2011-07-10  Roland McGrath  <roland@hack.frob.com>
46719
46720         * csu/elf-init.c (__libc_csu_init): Comment typo.
46721
46722 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
46723
46724         * po/pl.po: Update from translation team.
46725         * po/ja.po: Likewise.
46726         * po/ru.po: Likewise.
46727         * po/ko.po: Likewise.
46728         * po/fr.po: Likewise.
46729
46730 2011-07-09  Roland McGrath  <roland@hack.frob.com>
46731
46732         * configure.in (.ctors/.dtors header and trailer check):
46733         Use an empirical test on a built program.
46734         * configure: Regenerated.
46735
46736         * configure.in (-z relro check): Use an empirical test on a built DSO.
46737         Detect, but do not require, on ia64.
46738         * configure: Regenerated.
46739
46740         * configure.in (READELF): Find it with AC_CHECK_TOOL.
46741         Update tests that use readelf to use $READELF instead.
46742         * configure: Regenerated.
46743
46744 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
46745
46746         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46747         if the result is not used.
46748
46749 2011-07-05  Andreas Jaeger  <aj@suse.de>
46750
46751         [BZ#9696]
46752         * stdlib/tst-strtod.c: Add testcase.
46753
46754 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
46755
46756         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46757         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46758         The latter has a higher limit.  Take additional parameter to pass to
46759         the new function.
46760         (__pathconf): Pass file to __statfs_link_max.
46761         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46762         __statfs_link_max.
46763         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46764         __statfs_link_max.
46765
46766         [BZ #12868]
46767         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46768         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46769         Handle Lustre.
46770         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46771         (__statfs_filesize_max): Likewise.
46772         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46773
46774 2011-07-05  Andreas Jaeger  <aj@suse.de>
46775
46776         * resolv/res_comp.c (dn_skipname): Remove unused variable.
46777
46778 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
46779
46780         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46781         `status' variable.
46782         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46783         Likewise.
46784
46785 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
46786
46787         * Makefile (strop-tests): Add strncat.
46788         * string/test-strncat.c: New file.
46789
46790 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
46791
46792         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46793
46794 2011-06-21  Andreas Jaeger  <aj@suse.de>
46795
46796         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46797         Copy rule from iconvdata/Makefile.
46798
46799 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46800
46801         [BZ #12922]
46802         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46803         but no long options are defined, just return 'W'.
46804
46805 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
46806
46807         [BZ #9696]
46808         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46809
46810 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46811
46812         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46813         netgroups to read.
46814         (innetgr): Likewise.
46815
46816 2011-07-05  Roland McGrath  <roland@hack.frob.com>
46817
46818         * config.make.in (install_root): Default to $(DESTDIR).
46819
46820 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
46821
46822         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46823
46824 2011-07-02  Roland McGrath  <roland@hack.frob.com>
46825
46826         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46827
46828         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46829         containing directory rather than embedding absolute directory names.
46830
46831         * scripts/check-local-headers.sh: Rewritten using awk.
46832         Match by word, not by line.  Print error messages for matches.
46833         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46834
46835         * Makerules [shlib-lds-flags empty]:
46836         ($(common-objpfx)libc_pic.opts): New target.
46837         ($(common-objpfx)libc_pic.os.clean): New target.
46838         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46839
46840         * config.make.in (OBJCOPY): New variable.
46841         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46842         * configure: Regenerated.
46843
46844         * config.make.in (use-default-link): New variable.
46845         * configure.in (use_default_link): Grok --with-default-link to set it.
46846         * configure: Regenerated.
46847         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46848         (shlib-lds, shlib-lds-flags): Define to empty.
46849
46850         * Makerules (shlib-lds): New variable.
46851         (shlib-lds-flags): New variable.
46852         (build-shlib, build-moduile, build-module-asneeded): Use it.
46853         ($(common-objpfx)libc.so): Use $(shlib-lds).
46854         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46855         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46856
46857         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46858         DT_FLAGS/DT_FLAGS_1 with zero flags.
46859
46860         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46861         linker script munging.
46862
46863 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
46864
46865         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46866         as 128-bit value.
46867         * crypt/sha512.c (sha512_process_block): Perform total addition using
46868         128-bit if possible.
46869         (__sha512_finish_ctx): Likewise.
46870         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46871         as 64-bit value.
46872         * crypt/sha256.c (SWAP64): Define.
46873         (sha256_process_block): Perform total addition using 64-bit if
46874         possible.
46875         (__sha256_finish_ctx): Likewise.
46876
46877 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
46878
46879         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
46880         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46881         * nscd/hstcache.c (cache_addhst): Likewise.
46882         * nscd/grpcache.c (cache_addgr): Likewise.
46883         * nscd/aicache.c (addhstaiX): Likewise
46884         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46885
46886 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
46887
46888         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46889         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46890         * nscd/hstcache.c (cache_addhst): Likewise.
46891         * nscd/grpcache.c (cache_addgr): Likewise.
46892         * nscd/aicache.c (addhstaiX): Likewise
46893
46894 2011-07-01  Andreas Schwab  <schwab@redhat.com>
46895
46896         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46897         domain only when needed.
46898
46899 2011-06-30  Andreas Schwab  <schwab@redhat.com>
46900
46901         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46902         is always restored.
46903
46904 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
46905
46906         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46907         are re-adding the entry.
46908         * nscd/servicescache.c (cache_addserv): Likewise.
46909
46910 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
46911
46912         * sysdeps/generic/dl-irel.h: fix protection against multiple
46913         inclusions.
46914         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46915
46916 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
46917
46918         [BZ #12935]
46919         * malloc/memusage.sh: Fix quoting in message.
46920         * debug/xtrace.sh: Likewise.
46921
46922         * configure.in: Remove support for --experimental-malloc option, make
46923         it the default.
46924         * config.make.in: Likewise.
46925         * malloc/Makefile: Likewise.
46926
46927 2011-06-27  Andreas Schwab  <schwab@redhat.com>
46928
46929         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46930         two-byte characters.
46931
46932 2011-06-27  Roland McGrath  <roland@hack.frob.com>
46933
46934         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46935         AC_CACHE_CHECK invocation.
46936         * configure: Regenerated.
46937
46938         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46939
46940 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
46941
46942         [BZ #12350]
46943         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
46944         bit from old_res_options.
46945
46946         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46947
46948         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46949         value type for setfct.
46950
46951 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
46952
46953         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46954         __gettimeofday instead of gettimeofday.
46955
46956 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
46957
46958         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46959
46960 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
46961
46962         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46963
46964         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46965         info.
46966
46967 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46968
46969         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46970         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46971         strcpy-sse2-unaligned strncpy-sse2-unaligned
46972         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46973         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46974         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46975         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46976         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46977         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46978         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46979         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46980         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46981         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46982         (STRCPY): Support SSE2 and SSSE3 versions.
46983
46984 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
46985
46986         [BZ #12874]
46987         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46988         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46989         kernels which artificially limit size of requests.
46990
46991 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46992
46993         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46994         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46995         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46996         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46997         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46998         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46999         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47000         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47001         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47002         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47003         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47004         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47005         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47006         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47007         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47008         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47009         Enable unaligned load optimization for Intel Core i3, i5 and i7
47010         processors.
47011         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47012         Define.
47013         (index_Fast_Unaligned_Load): Define.
47014         (HAS_FAST_UNALIGNED_LOAD): Define.
47015
47016 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
47017
47018         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47019
47020 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47021
47022         [BZ #12907]
47023         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47024         until it is clear that the information is realy needed.
47025         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47026
47027 2011-06-22  Andreas Schwab  <schwab@redhat.com>
47028
47029         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47030
47031 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47032
47033         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47034         /sys/devices/system/cpu/online if it is usable.
47035
47036         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47037         reading the information from the /proc filesystem to once a second.
47038
47039 2011-06-21  Andreas Jaeger  <aj@suse.de>
47040
47041         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47042         NULL after inclusion of kernel headers.
47043
47044 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
47045
47046         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47047         calls to internal_setent.
47048
47049         [BZ #12885]
47050         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47051         addresses using gethostbyname4_r ignore IPv4 addresses.
47052
47053         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47054         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
47055
47056         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47057
47058 2011-06-20  David S. Miller  <davem@davemloft.net>
47059
47060         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47061         inclusions.
47062         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47063
47064         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47065         (elf_irel): Use it.
47066         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47067         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47068         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47069         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47070         * sysdeps/x86_64/dl-irel.h: Likewise.
47071
47072         * elf/dl-runtime.c: Use elf_ifunc_invoke.
47073         * elf/dl-sym.c: Likewise.
47074
47075 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47076
47077         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
47078         need to dereference resplen2.
47079
47080 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47081
47082         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47083
47084 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47085
47086         * Makeconfig: Define vardbdir and inst_vardbdir.
47087         * nss/Makefile: Add rules to install db-Makefile.
47088
47089         * nss/nss_db/db-XXX.c: Cleanup.
47090
47091         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47092         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47093         GLIBC_PRIVATE.
47094         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47095         * nss/makedb.c: Implement -g option to specify that value strings
47096         are generated and should not be added to table iterated over for
47097         get*ent calls.
47098         * nss/nss_db/db-initgroups.c: New file.
47099
47100         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47101         interface.
47102
47103         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47104         (internal_getgrouplist): Adjust to name change.
47105         Update use_initgroups_entry if this is not the first call.
47106         * nss/databases.def: Add initgroups entry.
47107
47108         * nss/makedb.c (compute_tables): Check result of multiple hash table
47109         sizes to minimize maximum chain length.
47110
47111 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47112
47113         * Versions.def: Add entry for libnss_db.
47114         * shlib-versions: Likewise.
47115         * nss/Makefile: Add rules to build libnss_db.
47116         * nss/Versions: Add libnss_db information.  Organize libnss_files
47117         entries better.
47118         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47119         makedb progra.  Some minor improvements to generate smaller files.
47120         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47121         here from...
47122         * nss/makedb.c: ...here.
47123         Improve database format to be smaller and require less memory at
47124         runtime.
47125         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47126         db anymore.
47127         * nss/nss_db/db-netgrp.c: Likewise.
47128         * nss/nss_db/db-open.c: Likewise.
47129         * nss/nss_files/flies-XXX.x: Adjust comments.
47130         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47131         * nss/nss_files/files-grp.c: Likewise.
47132         * nss/nss_files/files-hosts.c: Likewise.
47133         * nss/nss_files/files-network.c: Likewise.
47134         * nss/nss_files/files-proto.c: Likewise.
47135         * nss/nss_files/files-pwd.c: Likewise.
47136         * nss/nss_files/files-rpc.c: Likewise.
47137         * nss/nss_files/files-service.c: Likewise.
47138         * nss/nss_files/files-sgrp.c: Likewise.
47139         * nss/nss_files/files-spwd.c: Likewise.
47140         * nss/nss_db/db-alias.c: Removed.
47141         * nss/nss_db/dummy-db.h: Removed.
47142
47143 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47144
47145         * nss/makedb.c: Rewritten to not use database library.
47146         * nss/Makefile: Update to build new makedb program.
47147
47148 2011-06-14  Andreas Jaeger  <aj@suse.de>
47149
47150         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47151         memset declaration.
47152
47153 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47154
47155         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47156         tmpbuf.
47157
47158 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47159
47160         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47161         * elf/Makefile ($(objpfx)ld.so): Likewise.
47162
47163         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47164         Don't list ld.so twice in dependencies.
47165
47166         * posix/bug-regex31.c: Include <stdlib.h>.
47167
47168         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47169
47170         * nis/nss_compat/compat-spwd.c
47171         (getspent_next_nss_netgr): Remove unused variable.
47172         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47173
47174         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47175         nonmembers" output to use the right array.
47176
47177         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47178
47179         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47180
47181         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47182         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47183         * catgets/gencat.c (read_input_file): Likewise.
47184         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47185
47186         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47187         variable definition inside #if's controlling its use.
47188
47189         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47190
47191         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47192
47193         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47194
47195         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47196         unreachable code.
47197
47198         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47199
47200         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47201         * configure: Regenerated.
47202
47203         * Makerules: Revert last change.
47204         * elf/Makefile: Likewise.
47205
47206 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47207
47208         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47209         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47210         (reloc-link): Likewise.
47211
47212 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47213
47214         * elf/Makefile: Add rules to build pldd.
47215         * elf/pldd.c: New file.
47216         * elf/pldd-xx.c: New file.
47217
47218 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47219
47220         * version.h: Update for 2.15 development version.
47221
47222 2011-06-07  David S. Miller  <davem@davemloft.net>
47223
47224         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47225         ifuncs.
47226         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47227         elf_machine_lazy_rel): Likewise.
47228         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47229         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47230         elf_machine_lazy_rel): Likewise.
47231         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47232         dl_hwcap via passed in argument.
47233         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47234         Likewise.
47235
47236 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47237
47238         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47239
47240 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47241
47242         [BZ #12849]
47243         * manual/fdl-1.1.texi: New file, verbatim from:
47244         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47245         * manual/lgpl-2.1.texi: New file, verbatim from:
47246         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47247         * manual/Makefile (licenses): New variable, list those new file names.
47248         (texis): Use it.
47249         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47250
47251         * manual/fdl.texi: File removed.
47252         * manual/lesser.texi: File removed.
47253         * manual/libc.texinfo (Copying, Documentation License):
47254         Use new @include file names, put @appendix directive before @include.
47255
47256 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47257
47258         [BZ #12841]
47259         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47260         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47261         (mq_open): Add __NTH.
47262
47263 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47264
47265         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47266         Assume Intel Core i3/i5/i7 processor if AVX is available.
47267
47268 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47269
47270         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47271         typo.
47272
47273 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47274
47275         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47276         memory.  Use alloca_account.  Fix memory leak when retrying.
47277
47278 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47279
47280         * version.h (RELEASE): Bump for 2.14 release.
47281         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47282
47283         * config.make.in (RANLIB): Remove entry.
47284
47285 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47286
47287         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47288         (libc.pot): Work around missing support for .ksh extension in xgettext.
47289
47290         [BZ #12684]
47291         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47292         if both request failed.
47293         (send_dg): In case of server errors clear resplen or *resplen2.
47294
47295         [BZ #12454]
47296         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47297         when there are multiple maps.
47298         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47299         (_dl_fini): Remove test here.
47300
47301         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47302
47303 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47304
47305         [BZ #12350]
47306         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47307         bit from old_res_options.
47308         (gaih_inet): Likewise.
47309
47310         [BZ #11099]
47311         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47312         as signed.
47313
47314         * resolv/res_init.c (res_setoptions): Make the code more compact.
47315
47316         [BZ #11558]
47317         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47318         set RES_USEVC.
47319
47320         [BZ #11634]
47321         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47322
47323         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47324
47325         [BZ #11781]
47326         * malloc/malloc.h: Declare malloc hook variables as volatile.
47327
47328         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47329         in last patch.
47330
47331         [BZ #11799]
47332         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47333         raise in the comment.
47334         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47335         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47336         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47337
47338 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47339
47340         [BZ #12811]
47341         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47342         grow the buffers more if it already has to be sufficient.
47343         (build_wcs_upper_buffer): Likewise.
47344         * posix/regexec.c (check_matching): Likewise.
47345         (clean_state_log_if_needed): Likewise.
47346         (extend_buffers): Don't enlarge buffers beyond size of the input
47347         buffer.
47348         Patches mostly by Emil Wojak <emil@wojak.eu>.
47349         * posix/bug-regex32.c: New file.
47350         * posix/Makefile (tests): Add bug-regex32.
47351
47352         * locale/findlocale.c (_nl_find_locale): Return right away if
47353         _nl_explode_name failed.
47354         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47355
47356         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47357
47358         * debug/xtrace.sh: Unify messages.
47359         * malloc/memusage.sh: Likewise.
47360
47361         [BZ #12813]
47362         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47363         time symbol from vDSO.  Substitute with vsyscall if not available.
47364         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47365         __vdso_time.
47366
47367         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47368         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47369         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47370         Add sendmmsg and internal_sendmmsg.
47371         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47372         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47373         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47374
47375         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47376         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47377         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47378
47379 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47380
47381         [BZ #12813]
47382         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47383         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47384         available.
47385         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47386         __vdso_getcpu.
47387
47388         [BZ #12814]
47389         * iconvdata/Makefile (tests): Add bug-iconv9.
47390         * iconvdata/bug-iconv9.c: New file.
47391
47392 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47393
47394         [BZ #12814]
47395         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47396
47397 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47398
47399         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47400         (struct user_regs_struct): Change intcs field back to cs.
47401
47402 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47403
47404         * po/ja.po: Update from translation team.
47405
47406 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47407
47408         [BZ #12795]
47409         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47410         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47411
47412 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47413
47414         * stdlib/longlong.h: Update from GCC.
47415
47416 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47417
47418         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47419         parameter name.
47420         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47421         Add parameter name.
47422         (__sysconf): Pass it down.
47423
47424 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47425
47426         [BZ #12671]
47427         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47428         some situations.
47429         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47430         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47431         add in in __libc_use_alloca calls.  Adjust callers.
47432         (glob): Use malloc in some situations.
47433
47434         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47435         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47436         pltexit.
47437
47438 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47439
47440         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47441         and CLOCK_BOOTTIME_ALARM.
47442
47443         [BZ #12782]
47444         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47445         is returned.
47446
47447         * string/_strerror.c (__strerror_r): Print negative errors as signed
47448         numbers.
47449
47450         [BZ #12777]
47451         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47452         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47453         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47454
47455         * configure.in: Fix typo in redirection and correct removal of test
47456         files in two cases.
47457
47458         [BZ #12788]
47459         * locale/setlocale.c (new_composite_name): Fix test to check for
47460         identical name of all categories.
47461
47462         [BZ #12792]
47463         * libio/filedoalloc.c (local_isatty): New function.
47464         (_IO_file_doallocate): Use local_isatty.
47465         * stdio-common/perror.c (perror): In case a new stream is used
47466         forward the stream error.
47467         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47468         error flag.
47469
47470 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47471
47472         [BZ #11869]
47473         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47474         alloca.
47475         * include/alloca.h (extend_alloca_account): Define.
47476
47477         [BZ #11857]
47478         * posix/regex.h: Fix comments with documentation of user-accessible
47479         fields after compilation and describe correct free'ing of pattern
47480         after re_compile_pattern.
47481         Patch by Reuben Thomas <rrt@sc3d.org>.
47482
47483 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47484
47485         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47486         and -mno-altivec to prevent the compiler from using Altivec and/or
47487         VSX instructions when the corresponding registers are not available.
47488
47489 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47490
47491         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47492
47493 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47494
47495         * libio/freopen.c (freopen): Use __dup2, not dup2.
47496         * libio/freopen64.c (freopen64): Likewise.
47497
47498 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47499
47500         [BZ #12775]
47501         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47502         * math/Makefile (tests): Add test-powl.
47503         (CFLAGS-test-powl.c): Define.
47504         * math/test-powl.c: New file.
47505
47506 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47507
47508         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47509
47510 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
47511
47512         [BZ #11837]
47513         * iconvdata/gb18030.c: Update to GB18020-2005.
47514
47515 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
47516
47517         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47518         RE_SYNTAX_POSIX_AWK): Update to match recent development.
47519         Patch by Aharon Robbins <arnold@skeeve.com>.
47520
47521         [BZ #11892]
47522         * stdlib/putenv.c (putenv): Don't always create copy of the variable
47523         on the stack.
47524
47525         [BZ #11895]
47526         * misc/pselect.c (__pselect): Handle timeout value errors hidden
47527         through underflows.
47528
47529         [BZ #12766]
47530         * misc/error.c (error_at_line): Ensure file_name and old_file_name
47531         point to strings before performing equality test for error_one_per_line
47532         mode.
47533
47534         [BZ #11697]
47535         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47536
47537         [BZ #11820]
47538         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47539         (struct user_fpregs_struct): Avoid __uint*_t types.
47540
47541         [BZ #6420]
47542         * malloc/mtrace.c (tr_where): Add additional parameter to point to
47543         symbol info.  Use it instead of calling _dl_addr locally.
47544         (lock_and_info): New function.
47545         (tr_freehook): Call lock_and_info and pass symbol info as additional
47546         parameter to tr_where.
47547         (tr_mallochook): Likewise.
47548         (tr_reallochook): Likewise.
47549         (tr_memalignhook): Likewise.
47550
47551         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
47552         used and couldn't be at all thread-safe.
47553
47554 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
47555
47556         * libio/freopen.c (freopen): Don't close old file descriptor
47557         before the new one is opened.  Instead dup the new file descriptor
47558         to the old one after the new stream is created.
47559         * libio/freopen64.c (freopen64): Likewise.
47560         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47561         * libio/fileops.c (_IO_new_file_close_it): Handle new
47562         _IO_FLAGS2_NOCLOSE flag.
47563         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47564         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47565         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47566         _IO_FLAGS2_NOCLOSE flag.
47567         * include/unistd.h: Add hidden_proto for dup3.
47568         Define __have_dup3.
47569         * io/dup3.c: Define hidden symbol.
47570         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47571
47572         [BZ #7101]
47573         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47574         when an incomplete long option is used.
47575         * posix/tst-getopt_long1.c: New file.
47576         * posix/Makefile (tests): Add tst-getopt_long1.
47577
47578         [BZ #10138]
47579         * scripts/config.guess: Update from autoconf-2.68.
47580         * scripts/config.sub: Likewise.
47581
47582         [BZ #10157]
47583         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47584         tests into ...
47585         (has_cpuclock): ...this.  New function.
47586         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47587         macro here based on has_cpuclock code.
47588
47589         [BZ #10149]
47590         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47591         First byte (not low byte) is now always NUL.
47592         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47593
47594         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47595         Use non-cancelable interfaces.
47596
47597         [BZ #9809]
47598         * locale/iso-639.def: Add entry for Sorani.
47599
47600         [BZ #11901]
47601         * include/stdlib.h: Move include protection to the right place.
47602         Define abort_msg_s.  Declare __abort_msg with it.
47603         * stdlib/abort.c (__abort_msg): Adjust type.
47604         * assert/assert.c (__assert_fail_base): New function.  Majority
47605         of code from __assert_fail.  Allocate memory for __abort_msg with
47606         mmap.
47607         (__assert_fail): Now call __assert_fail_base.
47608         * assert/assert-perr.c: Remove bulk of implementation.  Use
47609         __assert_fail_base.
47610         * include/assert.hL Declare __assert_fail_base.
47611         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47612         mmap.
47613         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47614
47615 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
47616
47617         [BZ #11952]
47618         [BZ #12453]
47619         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47620         until all modules are registered in the DTV.
47621         * elf/Makefile: Add rules to build and run tst-tls19.
47622         * elf/tst-tls19.c: New file.
47623         * elf/tst-tls19mod1.c: New file.
47624         * elf/tst-tls19mod2.c: New file.
47625         * elf/tst-tls19mod3.c: New file.
47626         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47627
47628         [BZ #12083]
47629         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47630         correctly.
47631
47632         [BZ #12601]
47633         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47634         two-byte sequence errors.
47635         * iconvdata/Makefile (tests): Add bug-iconv8.
47636         * iconvdata/bug-iconv8.c: New file.
47637
47638         [BZ #12626]
47639         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47640         buf2 definition.
47641
47642         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47643
47644         [BZ #12432]
47645         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47646         (dummy_getcfa): New function.
47647         (init): Get _Unwind_GetCFA address, use dummy if not found.
47648         (backtrace_helper): In recursion check, also check whether CFA changes.
47649         (__backtrace): Completely initialize arg.
47650
47651         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47652         storing incomplete byte sequence in state object.  Avoid testing for
47653         guaranteed too small input if we know there is enough data available.
47654
47655 2011-05-11  Andreas Schwab  <schwab@redhat.com>
47656
47657         * Makeconfig (+link-pie): Indent.
47658         * Rules (binaries-pie): Define if $(have-fpie) and
47659         $(build-shared).
47660         (binaries-shared): Also filter out $(binaries-pie).
47661         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47662         * nscd/Makefile (others-pie): Add nscd.
47663         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47664         ($(objpfx)nscd): Remove command override.
47665         * login/Makefile (others-pie): Add pt_chown.
47666         ($(objpfx)pt_chown): Remove command override.
47667         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47668         remove command overrides.
47669
47670 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
47671
47672         * libio/tst_putwc.c: Fix error messages.
47673
47674         [BZ #12724]
47675         * libio/fileops.c (_IO_new_file_close_it): Always flush when
47676         currently writing and seek to current position when not.
47677         * libio/Makefile (tests): Add bug-fclose1.
47678         * libio/bug-fclose1.c: New file.
47679
47680 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
47681
47682         [BZ #12511]
47683         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47684         don't set DF_1_NODELETE here.
47685         (do_lookup_x): When entering new entry test for copy relocation
47686         and if necessary set DF_1_NODELETE flag.
47687         * elf/tst-unique4.cc: New file.
47688         * elf/tst-unique4.h: New file.
47689         * elf/tst-unique4lib.cc: New file.
47690         * elf/Makefile: Add rules to build and run tst-unique4.
47691         Patch by Piotr Bury <pbury@goahead.com>.
47692
47693 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
47694
47695         [BZ #12052]
47696         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47697
47698         [BZ #12625]
47699         * misc/mntent_r.c (addmntent): Flush the stream after the output
47700
47701         [BZ #12393]
47702         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47703         (is_trusted_path_normalize): Skip initial colon.  Append slash
47704         to empty buffer.  Duplicate is_trusted_path code but allow
47705         constructed patch to be prefix.
47706         (is_dst): Allow $ORIGIN followed by /.
47707         (_dl_dst_substitute): Correct clearing of check_for_trusted.
47708         Correct testing of result of is_trusted_path_normalize
47709         (decompose_rpath): Fix warning.
47710
47711 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
47712
47713         [BZ #11257]
47714         * grp/initgroups.c (internal_getgrouplist): When we found the service
47715         list through the initgroups entry in nsswitch.conf do not always
47716         continue on a successful lookup.  Don't always use the
47717         __nss_group_database value if it is set.
47718         * nss/nsswitch.conf (initgroups): Change action for successful db
47719         lookup to continue for compatibility.
47720
47721 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
47722
47723         [BZ #11532]
47724         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47725         and CP774 modules.
47726         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47727         and CP774 modules.
47728         * iconvdata/tst-tables.sh: Likewise.
47729         * iconvdata/cp770.c: New file.
47730         * iconvdata/cp771.c: New file.
47731         * iconvdata/cp772.c: New file.
47732         * iconvdata/cp773.c: New file.
47733         * iconvdata/cp774.c: New file.
47734         * iconvdata/testdata/CP770: New file.
47735         * iconvdata/testdata/CP770..UTF8: New file.
47736         * iconvdata/testdata/CP771: New file.
47737         * iconvdata/testdata/CP771..UTF8: New file.
47738         * iconvdata/testdata/CP772: New file.
47739         * iconvdata/testdata/CP772..UTF8: New file.
47740         * iconvdata/testdata/CP773: New file.
47741         * iconvdata/testdata/CP773..UTF8: New file.
47742         * iconvdata/testdata/CP774: New file.
47743         * iconvdata/testdata/CP774..UTF8: New file.
47744
47745         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47746         END CHARMAP line.
47747         * iconvdata/gen-8bit-gap.sh: Likewise.
47748         * iconvdata/gen-8bit.sh: Likewise.
47749
47750         * locale/iso-639.def: Add ary entry.
47751
47752         [BZ #11258]
47753         * locale/C-translit.h.in: Add U20A1 transliteration.
47754
47755         [BZ #12178]
47756         * locale/iso-639.def: Add wae entry.
47757         Patch by Kevin Bortis <bortis@translate-wae.ch>.
47758
47759         [BZ #12545]
47760         * locale/programs/localedef.c (construct_output_path): Use ssize_t
47761         for n.
47762
47763         [BZ #12711]
47764         * locale/C-translit.h.in: Add entry for U20B9.
47765         Patch by pravin.d.s@gmail.com.
47766
47767 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
47768
47769         [BZ #12713]
47770         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47771         ENAMETOOLONG use generic getcwd.
47772         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
47773         in rtld.  Use *stat64.
47774         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47775         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47776         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47777         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47778         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47779         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47780         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47781         __fstatat64 macros.
47782         * include/dirent.h: Add libc_hidden_proto for rewinddir.
47783         * dirent/rewinddir.c: Add libc_hidden_def.
47784         * sysdeps/mach/hurd/rewinddir.c: Likewise.
47785         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
47786
47787         * include/dirent.h (__alloc_dir): Add flags parameter.
47788         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47789         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47790         __alloc_dir.
47791         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
47792         from fdopendir if O_CLOEXEC is already set.
47793
47794 2011-03-15  Alan Modra  <amodra@gmail.com>
47795
47796         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47797         l_tls_firstbyte_offset non-zero.  Save padding offset in
47798         l_tls_firstbyte_offset for later use.
47799         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47800         freeing static tls block.
47801
47802 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
47803
47804         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47805         where #ifdef was intended.  The intent is to prevent ARG_MAX from
47806         being defined by the kernel headers.
47807
47808 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
47809
47810         [BZ #12734]
47811         * resolv/resolv.h: Define RES_NOTLDQUERY.
47812         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47813         no-tld-query and set RES_NOTLDQUERY.
47814         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47815         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47816         modern BIND to search name as TLD unless forbidden.
47817
47818 2011-05-07  Petr Baudis  <pasky@suse.cz>
47819             Ulrich Drepper  <drepper@gmail.com>
47820
47821         [BZ #12393]
47822         * elf/dl-load.c (fillin_rpath): Move trusted path check...
47823         (is_trusted_path): ...to here.
47824         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47825         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47826         using is_trusted_path_normalize() in setuid scripts.
47827
47828 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47829
47830         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47831         __BEGIN/__END_DECLS.
47832
47833 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
47834
47835         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47836         NSS_STATUS_NOTFOUND if no record was found.
47837
47838 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47839
47840         * sunrpc/Makefile (headers): Add rpc/netdb.h.
47841         (headers-not-in-tirpc): Remove rpc/netdb.h
47842         * resolv/netdb.h: Revert last change.
47843
47844 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47845
47846         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47847         circular dependency between libgcc.a and libc.a.
47848
47849 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47850
47851         * resolv/netdb.h: Don't include <rpc/netdb.h>.
47852         * nis/Makefile: Don't install rpcsvc/*.
47853         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47854         instead of <rpc/types.h>.
47855         (MAXHOSTNAMELEN): Define.
47856
47857 2011-05-03  Andreas Schwab  <schwab@redhat.com>
47858
47859         * elf/ldconfig.c (add_dir): Don't crash on empty path.
47860
47861 2011-04-28  Maciej Babinski  <mbabinski@google.com>
47862
47863         [BZ #12714]
47864         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47865         gethostbyname4_r when IPv6 results are possible.
47866
47867 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
47868
47869         [BZ #12723]
47870         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47871         _PC_PIPE_BUF handling.
47872
47873 2011-04-30  Bruno Haible  <bruno@clisp.org>
47874
47875         [BZ #12717]
47876         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47877         * resolv/netdb.h (getnameinfo): Change type of flags parameter
47878         to 'int'.
47879         * inet/getnameinfo.c (getnameinfo): Likewise.
47880
47881 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
47882
47883         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47884         to groups setting in database lookup.
47885         * nss/nsswitch.conf: Add initgroups entry.
47886
47887 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
47888
47889         [BZ #12685]
47890         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47891         mode string.
47892         Patch by Eric Blake <eblake@redhat.com>.
47893
47894 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
47895
47896         * sunrpc/Makefile (need-export-routines): Add svc_run.
47897         (routines): Remove svc_run.
47898         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47899         * sunrpc/clnt_perr.c (clnt_perrno): Export.
47900         * sunrpc/svc_run.c (svc_run): Likewise.
47901         * sunrpc/svc_udp.c (svcudp_create): Likewise.
47902
47903 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
47904
47905         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47906         problem in reallocation in last patch.
47907
47908 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
47909
47910         * sunrpc/Makefile: Move inclusion of Rules.
47911
47912 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47913
47914         * nss/nss_files/files-initgroups.c: New file.
47915         * nss/Makefile (libnss_files-routines): Add files-initgroups.
47916         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47917         _nss_files_initgroups_dyn.
47918
47919 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
47920
47921         * elf/elf.h (R_ARM_IRELATIVE): Define.
47922
47923 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47924
47925         * po/ru.po: Update from translation team.
47926
47927 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47928
47929         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47930         dependencies.
47931
47932 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
47933
47934         [BZ #12653]
47935         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47936         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47937         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47938         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47939         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47940
47941 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
47942
47943         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47944         differing bytes.
47945         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47946         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47947         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47948
47949 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47950
47951         [BZ #12420]
47952         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47953         storing it.
47954         * stdlib/bug-getcontext.c: New file.
47955         * stdlib/Makefile: Add rules to build and run bug-getcontext.
47956
47957 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47958
47959         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47960         instructions into .machine "z9-109".
47961         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47962         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47963
47964 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47965
47966         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47967         between environment variables and auxiliary vector.
47968
47969 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
47970
47971         * Makefile: Add rules to build linkobj/libc.so.
47972         * include/libc-symbols.h: Define libc_hidden_nolink.
47973         * include/rpc/auth.h: Mark functions which are to be hidden.
47974         * include/rpc/auth_des.h: Likewise.
47975         * include/rpc/auth_unix.h: Likewise.
47976         * include/rpc/clnt.h: Likewise.
47977         * include/rpc/des_crypt.h: Likewise.
47978         * include/rpc/key_prot.h: Likewise.
47979         * include/rpc/pmap_clnt.h: Likewise.
47980         * include/rpc/pmap_prot.h: Likewise.
47981         * include/rpc/pmap_rmt.h: Likewise.
47982         * include/rpc/rpc_msg.h: Likewise.
47983         * include/rpc/svc.h: Likewise.
47984         * include/rpc/svc_auth.h: Likewise.
47985         * include/rpc/xdr.h: Likewise.
47986         * nis/Makefile: Link all DSOs against linkobj/libc.so.
47987         * nss/Makefile: Likewise.
47988         * sunrpc/Makefile: Don't install headers.  Build library with normal
47989         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
47990         * sunrpc/auth_des.c: Hide exported symbols by default, export some
47991         for the compat linking library.  Remove use of INTDEF/INTUSE.
47992         * sunrpc/auth_none.c: Likewise.
47993         * sunrpc/auth_unix.c: Likewise.
47994         * sunrpc/authdes_prot.c: Likewise.
47995         * sunrpc/authuxprot.c: Likewise.
47996         * sunrpc/clnt_gen.c: Likewise.
47997         * sunrpc/clnt_perr.c: Likewise.
47998         * sunrpc/clnt_raw.c: Likewise.
47999         * sunrpc/clnt_simp.c: Likewise.
48000         * sunrpc/clnt_tcp.c: Likewise.
48001         * sunrpc/clnt_udp.c: Likewise.
48002         * sunrpc/clnt_unix.c: Likewise.
48003         * sunrpc/des_crypt.c: Likewise.
48004         * sunrpc/des_soft.c: Likewise.
48005         * sunrpc/get_myaddr.c: Likewise.
48006         * sunrpc/key_call.c: Likewise.
48007         * sunrpc/key_prot.c: Likewise.
48008         * sunrpc/netname.c: Likewise.
48009         * sunrpc/pm_getmaps.c: Likewise.
48010         * sunrpc/pm_getport.c: Likewise.
48011         * sunrpc/pmap_clnt.c: Likewise.
48012         * sunrpc/pmap_prot.c: Likewise.
48013         * sunrpc/pmap_prot2.c: Likewise.
48014         * sunrpc/pmap_rmt.c: Likewise.
48015         * sunrpc/publickey.c: Likewise.
48016         * sunrpc/rpc_cmsg.c: Likewise.
48017         * sunrpc/rpc_common.c: Likewise.
48018         * sunrpc/rpc_dtable.c: Likewise.
48019         * sunrpc/rpc_prot.c: Likewise.
48020         * sunrpc/rpc_thread.c: Likewise.
48021         * sunrpc/rtime.c: Likewise.
48022         * sunrpc/svc.c: Likewise.
48023         * sunrpc/svc_auth.c: Likewise.
48024         * sunrpc/svc_authux.c: Likewise.
48025         * sunrpc/svc_raw.c: Likewise.
48026         * sunrpc/svc_run.c: Likewise.
48027         * sunrpc/svc_simple.c: Likewise.
48028         * sunrpc/svc_tcp.c: Likewise.
48029         * sunrpc/svc_udp.c: Likewise.
48030         * sunrpc/svc_unix.c: Likewise.
48031         * sunrpc/svcauth_des.c: Likewise.
48032         * sunrpc/xcrypt.c: Likewise.
48033         * sunrpc/xdr.c: Likewise.
48034         * sunrpc/xdr_array.c: Likewise.
48035         * sunrpc/xdr_float.c: Likewise.
48036         * sunrpc/xdr_intXX_t.c: Likewise.
48037         * sunrpc/xdr_mem.c: Likewise.
48038         * sunrpc/xdr_rec.c: Likewise.
48039         * sunrpc/xdr_ref.c: Likewise.
48040         * sunrpc/xdr_sizeof.c: Likewise.
48041         * sunrpc/xdr_stdio.c: Likewise.
48042
48043 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
48044
48045         [BZ #12650]
48046         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48047         * sysdeps/ia64/dl-tls.h: Likewise.
48048         * sysdeps/powerpc/dl-tls.h: Likewise.
48049         * sysdeps/s390/dl-tls.h: Likewise.
48050         * sysdeps/sh/dl-tls.h: Likewise.
48051         * sysdeps/sparc/dl-tls.h: Likewise.
48052         * sysdeps/x86_64/dl-tls.h: Likewise.
48053         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48054
48055 2011-03-14  Andreas Schwab  <schwab@redhat.com>
48056
48057         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48058         rpath element also skip the following colon.
48059         (expand_dynamic_string_token): Add is_path parameter and pass
48060         down to DL_DST_REQUIRED and _dl_dst_substitute.
48061         (decompose_rpath): Call expand_dynamic_string_token with
48062         non-zero is_path.  Ignore empty rpaths.
48063         (_dl_map_object_from_fd): Call expand_dynamic_string_token
48064         with zero is_path.
48065
48066 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
48067
48068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48069         Make cancelable.
48070
48071 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
48072
48073         [BZ #12655]
48074         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48075         Patch by Filipe David Manana <fdmanana@apache.org>.
48076
48077 2011-04-07  Andreas Schwab  <schwab@redhat.com>
48078
48079         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48080         Maintain aligned stack.
48081         (CHECK_RSP): Remove unused macro.
48082
48083 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48084
48085         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48086         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48087
48088 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48089
48090         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48091
48092         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48093
48094 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48095
48096         [BZ #12518]
48097         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48098         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48099         * sysdeps/x86_64/memmove.c: New file.
48100         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48101         (memcpy): Renamed to ...
48102         (__new_memcpy): This.
48103         (memcpy): Provide GLIBC_2_14 memcpy.
48104         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48105         (memcpy): Provide GLIBC_2_2_5 memcpy.
48106
48107 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48108
48109         [BZ #12631]
48110         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48111
48112 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48113
48114         * misc/syncfs.c: New file.
48115         * misc/Makefile (routines): Add syncfs.
48116         * posix/unistd.h: Declare syncfs.
48117         * sysdeps/unix/syscalls.list: Add syncfs.
48118
48119 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48120
48121         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48122         open_by_handle_at.
48123         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48124         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48125         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48126         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48127         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48128         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48129         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48130
48131 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48132
48133         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48134         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48135         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48136         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48137         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48138         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48139         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48140
48141         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48142         sync_file_range.c with -fexceptions.
48143         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48144         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48145         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48146         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48147         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48148         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48149         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48150         sync_file_range as cancellation point
48151         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48152         now a wrapper around __call_sync_file_range with cancellation handling.
48153         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48154         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48155         function name to __call_sync_file_range.
48156         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48157         Add call_sync_file_range.
48158
48159 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48160
48161         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48162         bits/timex.h.
48163
48164 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48165
48166         * iconv/iconv.h: Fix typo in comment.
48167         * io/fcntl.h: Likewise.
48168         * libio/stdio.h: Likewise.
48169         * posix/spawn.h: Likewise.
48170         * posix/unistd.h: Likewise.
48171         * stdlib/stdlib.h: Likewise.
48172         * time/time.h: Likewise.
48173         * wcsmbs/wchar.h: Likewise.
48174
48175         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48176         open_by_handle): Add.
48177         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48178         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48179         Augment a few comments.
48180         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48181         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48182         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48183         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48184         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48185         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48186         open_by_handle.
48187
48188         * io/fcntl.h (AT_EMPTY_PATH): Define.
48189
48190 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48191
48192         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48193         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48194         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48195         to...
48196         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48197         * Versions.def: Add GLIBC_2.14.
48198         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48199         Export.
48200
48201 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48202
48203         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48204         round counter.
48205         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48206
48207 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48208
48209         [BZ #12597]
48210         * string/test-strncmp.c (do_page_test): New function.
48211         (check2): Likewise.
48212         (test_main): Call check2.
48213         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48214
48215 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48216
48217         [BZ #12587]
48218         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48219         Handle cache information in CPU leaf 4.
48220         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48221
48222 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48223
48224         [BZ #12583]
48225         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48226         character representation.
48227         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48228
48229 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48230
48231         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48232         END(__isnan) to END(__isnanf) to match function entry point/label
48233         EALIGN(__isnanf,...).
48234
48235 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48236
48237         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48238
48239 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48240
48241         [BZ #12510]
48242         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48243         copy from the symbol referenced in the relocation to initialize the
48244         used variable.
48245         Patch by Piotr Bury <pbury@goahead.com>.
48246         * elf/Makefile: Add rules to build and tst-unique3.
48247         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48248         * elf/tst-unique3.cc: New file.
48249         * elf/tst-unique3.h: New file.
48250         * elf/tst-unique3lib.cc: New file.
48251         * elf/tst-unique3lib2.cc: New file.
48252
48253         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48254
48255 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48256
48257         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48258         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48259         to _start.
48260
48261 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48262
48263         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48264         to-be-loaded object along a path to loader is ld.so.
48265
48266 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48267             Ulrich Drepper  <drepper@gmail.com>
48268
48269         * sysdeps/x86_64/memset.S: After aligning destination, code
48270         branches to different locations depending on the value of
48271         misalignment, when multiarch is enabled. Fix this.
48272
48273 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48274
48275         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48276         Set _x86_64_preferred_memory_instruction for AMD processsors.
48277         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48278         Set bit_Prefer_SSE_for_memop for AMD processors.
48279
48280 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48281
48282         * libio/fmemopen.c (fmemopen): Optimize a bit.
48283
48284 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48285
48286         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48287
48288 2011-03-03  Roland McGrath  <roland@redhat.com>
48289
48290         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48291
48292 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48293
48294         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48295         __bzero_ultra1 instead of __memset_ultra1.
48296
48297 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48298             Ulrich Drepper  <drepper@gmail.com>
48299
48300         [BZ #12509]
48301         * include/link.h (struct link_map): Add l_orig_initfini.
48302         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48303         returning unsuccessfully.
48304         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48305         close of a file loaded at startup, restore the original l_initfini
48306         list.
48307         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48308         list, store the pointer.
48309         * elf/Makefile ($(objpfx)noload-mem): New rule.
48310         (noload-ENV): Define.
48311         (tests): Add $(objpfx)noload-mem.
48312         * elf/noload.c: Include <memcheck.h>.
48313         (main): Call mtrace.  Close all opened handles.
48314
48315 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48316
48317         [BZ #12454]
48318         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48319         dependencies are missing.
48320
48321 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48322
48323         Fix __if_freereq crash: Unlike the generic version which uses free,
48324         Hurd needs munmap.
48325         * sysdeps/mach/hurd/ifreq.h: New file.
48326
48327 2011-01-27  Petr Baudis  <pasky@suse.cz>
48328             Ulrich Drepper  <drepper@gmail.com>
48329
48330         [BZ 12445]#
48331         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48332         to extend_alloca().
48333         * stdio-common/bug23.c: New file.
48334         * stdio-common/Makefile (tests): Add bug23.
48335
48336 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48337             Ulrich Drepper  <drepper@gmail.com>
48338
48339         [BZ #12489]
48340         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48341         before performing relro protection.  At old place add assertion
48342         to make sure nothing changed.
48343
48344 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48345             Glauber de Oliveira Costa  <glommer@gmail.com>
48346
48347         * elf/elf.h: Add new ARM TLS relocs.
48348
48349 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48350
48351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48352         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48353         cast from r3.
48354         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48355         'tests' variable.
48356         * sysdeps/wordsize-64/tst-writev.c: New file.
48357
48358 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48359
48360         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48361         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48362         insns in _dl_start to prevent a TOC reference before relocs are
48363         resolved.
48364
48365 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48366
48367         [BZ #12469]
48368         * Makeconfig: Remove RANLIB definition.
48369         * Makerules: Don't use RANLIB.
48370         * aclocal.m4: Remove ranlib test.
48371         * configure.in: No need to check for ranlib.
48372         * elf/rtld-Rules: Don't use RANLIB.
48373
48374 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48375
48376         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48377         protection macro.
48378         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48379         inclusion protection macro.
48380
48381         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48382         SIGRTMIN and SIGRTMAX and print information in that case only when
48383         SIGRTMIN is defined.
48384
48385 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48386
48387         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48388         arginfo fn returning -1.
48389
48390         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48391         and thousands string is zero terminated.
48392
48393 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48394
48395         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48396         sysdeps/unix/sysv/linux/bits/socket.h.
48397
48398 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48399
48400         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48401         (__CPU_COUNT): Remove old macros.
48402         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48403         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48404         (__CPU_ALLOC, __CPU_FREE): Add macros.
48405         (__sched_cpualloc, __sched_cpufree): Add declarations.
48406
48407 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48408
48409         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48410         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48411         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48412         (readdhstai): Return value of addhstaiX call.
48413         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48414         (addgrbyX): Return value returned by cache_addgr.
48415         (readdgrbyname): Return value returned by addgrbyX.
48416         (readdgrbygid): Likewise.
48417         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48418         (addpwbyX): Return value returned by cache_addpw.
48419         (readdpwbyname): Return value returned by addhstbyX.
48420         (readdpwbyuid): Likewise.
48421         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48422         (addservbyX): Return value returned by cache_addserv.
48423         (readdservbyname): Return value returned by addservbyX:
48424         (readdservbyport): Likewise.
48425         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48426         (addhstbyX): Return value returned by cache_addhst.
48427         (readdhstbyname): Return value returned by addhstbyX.
48428         (readdhstbyaddr): Likewise.
48429         (readdhstbynamev6): Likewise.
48430         (readdhstbyaddrv6): Likewise.
48431         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48432         (readdinitgroups): Return value returned by addinitgroupsX.
48433         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48434         (prune_cache): Keep track of timeout value of re-added entries.
48435         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48436         * nscd/nscd.h: Adjust prototypes of readd* functions.
48437
48438 2011-02-04  Roland McGrath  <roland@redhat.com>
48439
48440         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48441         (nis_stats): Likewise.
48442         * nis/nis_modify.c (nis_modify): Likewise.
48443         * nis/nis_remove.c (nis_remove): Likewise.
48444         * nis/nis_add.c (nis_add): Likewise.
48445
48446         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48447
48448         * posix/fnmatch_loop.c: Add some consts.
48449
48450         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48451
48452 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48453
48454         [BZ #12460]
48455         * config.make.in (config-cflags-novzeroupper): Define.
48456         * configure.in: Substitute libc_cv_cc_novzeroupper.
48457         * elf/Makefile (AVX-CFLAGS): Define.
48458         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48459         (CFLAGS-tst-auditmod4a.c): Likewise.
48460         (CFLAGS-tst-auditmod4b.c): Likewise.
48461         (CFLAGS-tst-auditmod6b.c): Likewise.
48462         (CFLAGS-tst-auditmod6c.c): Likewise.
48463         (CFLAGS-tst-auditmod7b.c): Likewise.
48464         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48465
48466 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48467
48468         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48469         function to the callback.
48470         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48471
48472 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48473
48474         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48475         of errno.
48476
48477 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48478
48479         [BZ #11724]
48480         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48481         of constructors.
48482         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48483         of destructors.
48484         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48485
48486         [BZ #11724]
48487         * elf/Makefile: Add rules to build and run new test.
48488         * elf/tst-initorder.c: New file.
48489         * elf/tst-initorder.exp: New file.
48490         * elf/tst-initordera1.c: New file.
48491         * elf/tst-initordera2.c: New file.
48492         * elf/tst-initordera3.c: New file.
48493         * elf/tst-initordera4.c: New file.
48494         * elf/tst-initorderb1.c: New file.
48495         * elf/tst-initorderb2.c: New file.
48496         * elf/tst-order-a1.c: New file.
48497         * elf/tst-order-a2.c: New file.
48498         * elf/tst-order-a3.c: New file.
48499         * elf/tst-order-a4.c: New file.
48500         * elf/tst-order-b1.c: New file.
48501         * elf/tst-order-b2.c: New file.
48502         * elf/tst-order-main.c: New file.
48503         New test case by George Gensure <werkt0@gmail.com>.
48504
48505 2010-10-01  Andreas Schwab  <schwab@redhat.com>
48506
48507         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48508         decoding ACE if AI_CANONIDN.
48509
48510 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
48511
48512         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48513
48514 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
48515
48516         * version.h (RELEASE): Bump for 2.13 release.
48517         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48518
48519         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48520
48521         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48522         MADV_NOHUGEPAGE.
48523         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48524         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48525         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48526         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48527         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48528         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48529
48530         * posix/getconf.c: Update copyright year.
48531         * catgets/gencat.c: Likewise.
48532         * csu/version.c: Likewise.
48533         * debug/catchsegv.sh: Likewise.
48534         * debug/xtrace.sh: Likewise.
48535         * elf/ldconfig.c: Likewise.
48536         * elf/ldd.bash.in: Likewise.
48537         * elf/sprof.c (print_version): Likewise.
48538         * iconv/iconv_prog.c: Likewise.
48539         * iconv/iconvconfig.c: Likewise.
48540         * locale/programs/locale.c: Likewise.
48541         * locale/programs/localedef.c: Likewise.
48542         * malloc/memusage.sh: Likewise.
48543         * malloc/mtrace.pl: Likewise.
48544         * nscd/nscd.c (print_version): Likewise.
48545         * nss/getent.c: Likewise.
48546
48547         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48548         PF_CAIF, and PF_ALG.
48549         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48550
48551 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
48552
48553         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48554         (modules-names): Use them.
48555         (ifunc-test-modules, ifunc-pie-tests): Define.
48556         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48557         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48558         (test-extras): Likewise.
48559         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48560         $(compile-command.c).
48561         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48562         (all-built-dso): Define.
48563         (check-textrel.out, check-execstack.out): Depend on it.
48564
48565         * configure.in: Don't override --enable-multi-arch.
48566
48567 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
48568
48569         [BZ #6812]
48570         * nscd/hstcache.c (tryagain): Define.
48571         (cache_addhst): Return tryagain not notfound for temporary errors.
48572         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48573         failed.
48574
48575 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
48576
48577         [BZ #10563]
48578         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48579         to make the syscall.
48580         * sysdeps/unix/sysv/linux/setgroups.c: New file.
48581
48582         [BZ #12378]
48583         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48584         and fall back to matching as normal character if the string ends before
48585         the matching ']' is found.  This is what POSIX requires.
48586         * posix/testfnm.c: Adjust test result.
48587         * posix/globtest.sh: Adjust test result.  Add new test.
48588         * posix/tst-fnmatch.input: Likewise.
48589         * posix/tst-fnmatch2.c: Add new test.
48590
48591 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
48592
48593         * elf/Makefile (check-execstack): Revert last change.  Depend on
48594         check-execstack.h.
48595         (check-execstack.h): New target.
48596         (generated): Add check-execstack.h.
48597         * elf/check-execstack.c: Include "check-execstack.h".
48598         (main): Revert last change.
48599         (handle_file): Return zero if GNU_STACK is absent and
48600         DEFAULT_STACK_PERMS doesn't include PF_X.
48601
48602 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
48603
48604         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48605         in child fails because the descriptor is already closed.
48606         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48607         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48608         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48609
48610         [BZ #12397]
48611         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48612         syscall.
48613
48614         [BZ #10484]
48615         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48616         temporary buffer used to handle multi lookups locally.
48617         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48618
48619 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48620
48621         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48622         loader is ld.so.
48623
48624 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
48625
48626         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48627         alignment for SSE2.
48628
48629 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48630
48631         [BZ #12394]
48632         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48633         characters.  When rounding increased number of integer digits recompute
48634         number of groups.
48635         * stdio-common/tst-grouping.c: New file.
48636         * stdio-common/Makefile: Add rules to build and run tst-grouping.
48637
48638 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
48639
48640         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48641         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
48642
48643         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48644         void.
48645         * bits/select.h: Likewise.
48646
48647 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
48648
48649         * po/ja.po: Update from translation team.
48650
48651 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
48652
48653         [BZ #11155]
48654         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48655         implementation just like for lxstat, fxstatat, et al.
48656
48657 2010-12-27  Jim Meyering  <meyering@redhat.com>
48658
48659         [BZ #12348]
48660         * posix/regexec.c (build_trtable): Return failure indication upon
48661         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
48662
48663 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
48664
48665         [BZ #12201]
48666         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48667         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48668         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48669         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48670
48671         [BZ #12207]
48672         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48673
48674         [BZ #12204]
48675         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48676         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48677
48678 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
48679
48680         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48681         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48682         script has SORT_BY_INIT_PRIORITY.
48683         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48684         NO_CTORS_DTORS_SECTIONS is defined.
48685         * elf/soinit.c: Likewise.
48686         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48687         NO_CTORS_DTORS_SECTIONS is defined.
48688         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48689         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48690         * sysdeps/sh/init-first.c: Likewise.
48691         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48692
48693 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
48694
48695         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48696         always use the slow path.
48697
48698 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
48699
48700         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48701         similar rule which adds the sysdep directories to the header search in
48702         order to pick up the correct platform stackinfo.h.
48703         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48704         perform test if it is, otherwise return successfully without testing.
48705         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48706         DEFAULT_STACK_PERMS define in stackinfo.h.
48707         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48708         defined in stackinfo.h.
48709         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48710         DEFAULT_STACK_PERMS defined in stackinfo.h.
48711         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48712         * sysdeps/ia64/stackinfo.h: Likewise.
48713         * sysdeps/s390/stackinfo.h: Likewise.
48714         * sysdeps/sh/stackinfo.h: Likewise.
48715         * sysdeps/sparc/stackinfo.h: Likewise.
48716         * sysdeps/x86_64/stackinfo.h: Likewise.
48717         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48718         PF_X for powerpc64.  Retain PF_X for powerpc32.
48719
48720 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
48721
48722         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48723         accurately.
48724         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48725         GETDENTS_64BIT_ALIGNED.
48726
48727 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
48728
48729         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48730
48731 2010-12-10  Andreas Schwab  <schwab@redhat.com>
48732
48733         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48734         _GNU_SOURCE.
48735
48736         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48737         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48738         Remove __restrict.
48739         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48740         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48741
48742 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
48743
48744         [BZ #11655]
48745         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48746         are initialized.
48747
48748 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
48749
48750         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48751
48752 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
48753
48754         * po/it.po: Update from translation team.
48755
48756 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
48757
48758         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48759         unused codes.
48760
48761 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
48762
48763         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48764
48765 2010-11-24  Andreas Schwab  <schwab@redhat.com>
48766
48767         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48768         specially.
48769         (gaih_getanswer_slice): Likewise.
48770
48771 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
48772
48773         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48774
48775 2010-05-31  Petr Baudis  <pasky@suse.cz>
48776
48777         [BZ #11149]
48778         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48779         silently even in the chroot mode.
48780
48781 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
48782
48783         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48784         last patch a bit.  Pretty printing
48785
48786 2010-05-31  Petr Baudis <pasky@suse.cz>
48787
48788         [BZ #10085]
48789         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48790         initialization of skip_initgroups_dyn.
48791
48792 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
48793
48794         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48795         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48796
48797 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
48798
48799         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48800
48801 2010-11-11  Andreas Schwab  <schwab@redhat.com>
48802
48803         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48804         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48805         (tst-fnmatch-ENV): Set MALLOC_TRACE.
48806         ($(objpfx)tst-fnmatch-mem): New rule.
48807         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48808         * posix/tst-fnmatch.c (main): Call mtrace.
48809
48810 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
48811
48812         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48813         Support Intel processor model 6 and model 0x2c.
48814
48815 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
48816
48817         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48818           signed comparison.
48819
48820 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
48821
48822         [BZ #12205]
48823         * string/test-strncasecmp.c (check_result): New function.
48824         (do_one_test): Use it.
48825         (check1): New function.
48826         (test_main): Use it.
48827         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48828         Support strcasecmp and strncasecmp.
48829
48830 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
48831
48832         [BZ #12194]
48833         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48834         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48835
48836 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48837
48838         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48839         IFUNC support.
48840         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48841         memset-x86-64.
48842         * sysdeps/x86_64/multiarch/bzero.S: New file.
48843         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48844         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48845         * sysdeps/x86_64/multiarch/memset.S: New file.
48846         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48847         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48848         Set bit_Prefer_SSE_for_memop for Intel processors.
48849         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48850         Define.
48851         (index_Prefer_SSE_for_memop): Define.
48852         (HAS_PREFER_SSE_FOR_MEMOP): Define.
48853
48854 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
48855
48856         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48857         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48858
48859 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
48860
48861         [BZ #12191]
48862         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48863         (__x86_64_raw_data_cache_size_half): Likewise.
48864         (__x86_64_raw_shared_cache_size): Likewise.
48865         (__x86_64_raw_shared_cache_size_half): Likewise.
48866
48867         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48868         (__x86_64_raw_data_cache_size_half): Likewise.
48869         (__x86_64_raw_shared_cache_size): Likewise.
48870         (__x86_64_raw_shared_cache_size_half): Likewise.
48871         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48872         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48873         and __x86_64_raw_shared_cache_size_half.  Round
48874         __x86_64_data_cache_size_half, __x86_64_data_cache_size
48875         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48876         to multiple of 256 bytes.
48877
48878 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
48879
48880         [BZ #12167]
48881         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48882         of inacessible symlinks.  Verify result of symlink before returning it.
48883         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48884         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48885
48886 2010-10-28  Erich Ritz  <erichritz@gmail.com>
48887
48888         * math/math.h (isinf): Fix typo in comment.
48889
48890 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
48891
48892         * po/da.po: Update from translation team.
48893
48894 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
48895
48896         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48897         is added to the list.
48898
48899 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48900             Ulrich Drepper  <drepper@gmail.com>
48901
48902         * elf/dl-object.c (_dl_new_object): Don't append the new object to
48903         the global list here.  Move code to...
48904         (_dl_add_to_namespace_list): ...here.  New function.
48905         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48906         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48907         * elf/dl-load.c (lose): Don't remove the element from the list.
48908         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48909         (_dl_map_object): Likewise.
48910
48911 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
48912
48913         [BZ #12159]
48914         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48915         into all bytes of SSE register.
48916         Patch by Richard Li <richardpku@gmail.com>.
48917
48918 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
48919
48920         [BZ #12140]
48921         * malloc/malloc.c (_int_free): Fill correct number of bytes when
48922         perturbing.
48923
48924 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
48925
48926         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48927         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48928         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48929         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48931         submachine.
48932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48933
48934 2010-10-22  Andreas Schwab  <schwab@redhat.com>
48935
48936         * include/dlfcn.h (__RTLD_SECURE): Define.
48937         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
48938         mode & __RTLD_SECURE instead.
48939         (open_path): Rename preloaded parameter to secure.
48940         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48941         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48942         * elf/dl-deps.c (openaux): Likewise.
48943         * elf/rtld.c (struct map_args): Remove is_preloaded.
48944         (map_doit): Don't use it.
48945         (dl_main): Likewise.
48946         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48947         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48948
48949 2010-09-09  Andreas Schwab  <schwab@redhat.com>
48950
48951         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48952         (sysd-rules-targets): Remove duplicates.
48953         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48954         rtld-%.$o dependency.
48955
48956 2010-10-18  Andreas Schwab  <schwab@redhat.com>
48957
48958         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48959         _dl_map_object do it.
48960
48961 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
48962
48963         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48964         fast fma builtins, define the macros in the C99 standard.
48965         (FP_FAST_FMAF): Likewise.
48966         (FP_FAST_FMAL): Likewise.
48967         * sysdeps/x86_64/bits/mathdef.h: Likewise.
48968
48969         * bits/mathdef.h: Update copyright year.
48970         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48971
48972 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
48973
48974         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48975         builtins, define the macros in the C99 standard.
48976         (FP_FAST_FMAF): Likewise.
48977         (FP_FAST_FMAL): Likewise.
48978         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48979         multiply/add.
48980         (FP_FAST_FMAF): Likewise.
48981
48982 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
48983
48984         [BZ #3268]
48985         * math/libm-test.inc (fma_test): Some new testcases.
48986         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48987         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48988         y and infinite z.  Do multiplication by C already in long double.
48989         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48990         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48991         y and infinite z.  Do bitwise or of inexact bit into u.d.
48992         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48993         * sysdeps/i386/fpu/s_fmaf.S: Removed.
48994         * sysdeps/i386/fpu/s_fma.S: Removed.
48995         * sysdeps/i386/fpu/s_fmal.S: Removed.
48996
48997 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
48998
48999         [BZ #3268]
49000         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49001         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49002         computation is not scheduled after fetestexcept.  Fix value
49003         of minimum denormal long double.
49004
49005 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
49006
49007         [BZ #3268]
49008         * math/libm-test.inc (fma_test): Add some more tests.
49009         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49010         correctly.
49011
49012 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49013
49014         * scripts/data/localplt-s390-linux-gnu.data: New file.
49015         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49016
49017 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
49018
49019         [BZ #3268]
49020         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49021         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49022         instead of dbl-64.
49023         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49024         inlines.
49025         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49026         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49027         if one of x and y is very large and the other is subnormal.
49028         * sysdeps/s390/fpu/s_fmaf.c: New file.
49029         * sysdeps/s390/fpu/s_fma.c: New file.
49030         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49031         * sysdeps/powerpc/fpu/s_fma.S: New file.
49032         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49033         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49034         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49035
49036 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
49037
49038         [BZ #3268]
49039         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49040         fma tests.
49041         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49042         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49043         * sysdeps/i386/i686/multiarch/s_fma.c: Include
49044         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49045         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49046         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49047         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49048
49049 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
49050
49051         [BZ #12078]
49052         * posix/regcomp.c (parse_branch): One more memory leak plugged.
49053         * posix/bug-regex31.input: Add test case.
49054
49055 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49056
49057         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49058         * posix/bug-regex31.input: New file.
49059
49060         [BZ #12078]
49061         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49062         (parse_sub_exp): Fix last change, use postorder.
49063
49064         * posix/bug-regex31.c: New file.
49065         * posix/Makefile: Add rules to build and run bug-regex31.
49066
49067         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49068
49069         [BZ #12078]
49070         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49071
49072         [BZ #12108]
49073         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49074         to have entries in sys_siglist.
49075
49076         [BZ #12093]
49077         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49078         be NULL.
49079
49080 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49081
49082         [BZ #3268]
49083         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49084         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49085         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49086         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49087         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49088         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49089         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49090         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49091         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49092         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49093         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49094         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49095         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49096         * math/ftestexcept.c (fetestexcept): Likewise.
49097         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49098         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49099         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49100         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49101         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49102         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49103         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49104
49105 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49106
49107         [BZ #12107]
49108         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49109         newline.
49110
49111 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49112
49113         * string/bug-strstr1.c: New file.
49114         * string/Makefile: Add rules to build and run bug-strstr1.
49115
49116 2010-10-05  Eric Blake  <eblake@redhat.com>
49117
49118         [BZ #12092]
49119         * string/str-two-way.h (two_way_long_needle): Always clear memory
49120         when skipping input due to the shift table.
49121
49122 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49123
49124         [BZ #12005]
49125         * malloc/mcheck.c: Handle large requests.
49126
49127         [BZ #12077]
49128         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49129         for strncmp and strncasecmp.
49130         * string/stratcliff.c: Add tests for strcmp and strncmp.
49131         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49132
49133 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49134
49135         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49136         __set_fpscr.
49137
49138 2010-09-30  Andreas Jaeger  <aj@suse.de>
49139
49140         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49141         (CGROUP_SUPER_MAGIC): Define.
49142         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49143         Handle btrfs and cgroup file systems.
49144         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49145         Likewise.
49146
49147 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49148
49149         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49150         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49151
49152 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49153
49154         [BZ #12067]
49155         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49156         trying to locate the ELF header.
49157
49158 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49159
49160         [BZ #11611]
49161         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49162         Mask out sign-bit copies when constructing f_fsid.
49163
49164 2010-09-24  Petr Baudis <pasky@suse.cz>
49165
49166         * debug/stack_chk_fail_local.c: Add missing licence exception.
49167         * debug/warning-nop.c: Likewise.
49168
49169 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49170
49171         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49172         implementing getdents64 using getdents syscall, set d_type if
49173         __ASSUME_GETDENTS32_D_TYPE.
49174
49175 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49176
49177         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49178         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49179
49180 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49181
49182         [BZ #12037]
49183         * posix/unistd.h: Undo change of feature selection for ftruncate from
49184         2010-01-11.
49185
49186 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49187
49188         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49189         detection.
49190
49191 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49192
49193         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49194         fanotify_mark.
49195         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49196
49197 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49198
49199         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49200         variables after CHECK_SP call.
49201         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49202
49203 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49204             Ulrich Drepper  <drepper@redhat.com>
49205
49206         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49207         re-relocationg ld.so.
49208         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49209         _dl_init_paths call.
49210         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49211         here anymore.
49212
49213 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49214
49215         * resolv/res_init.c (__res_vinit): Count the default server we added.
49216
49217 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49218             Ulrich Drepper  <drepper@redhat.com>
49219
49220         [BZ #11968]
49221         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49222         (____longjmp_chk): Use %ebx for saving value across system call.
49223         Add unwind info.
49224
49225 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49226
49227         * manual/Makefile: Don't mix pattern rules with normal rules.
49228
49229 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49230
49231         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49232         operation.
49233         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49234         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49235         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49236         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49237         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49238         Likewise.
49239
49240 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49241
49242         [BZ #11979]
49243         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49244         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49245
49246 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49247
49248         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49249         * sysdeps/x86_64/addmul_1.S: Likewise.
49250         * sysdeps/x86_64/lshift.S: Likewise.
49251         * sysdeps/x86_64/mul_1.S: Likewise.
49252         * sysdeps/x86_64/rshift.S: Likewise.
49253         * sysdeps/x86_64/sub_n.S: Likewise.
49254         * sysdeps/x86_64/submul_1.S: Likewise.
49255
49256 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49257
49258         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49259         Define __sched_param instead of SCHED_* and sched_param when
49260         <bits/sched.h> is included with __need_schedparam defined.
49261         * bits/sched.h [__need_schedparam]
49262         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49263         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49264         (__defined_schedparam): Define to 1.
49265         (__sched_param): New structure, identical to sched_param.
49266         (__need_schedparam): Undefine.
49267
49268 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49269
49270         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49271         (epoll_create1): Declare.
49272
49273         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49274
49275 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49276
49277         [BZ #7066]
49278         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49279         shifting retval into place.
49280
49281 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49282
49283         * nis/rpcsvc/nis.h: Update copyright notice.
49284         * nis/rpcsvc/nis.x: Likewise.
49285         * nis/rpcsvc/nis_callback.h: Likewise.
49286         * nis/rpcsvc/nis_callback.x: Likewise.
49287         * nis/rpcsvc/nis_object.x: Likewise.
49288         * nis/rpcsvc/nis_tags.h: Likewise.
49289         * nis/rpcsvc/yp.h: Likewise.
49290         * nis/rpcsvc/yp.x: Likewise.
49291         * nis/rpcsvc/ypupd.h: Likewise.
49292         * nis/yp_xdr.c: Likewise.
49293         * nis/ypupdate_xdr.c: Likewise.
49294
49295         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49296         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49297         (pmap_getport): Use __libc_rpc_getport.
49298         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49299         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49300         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49301
49302 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49303
49304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49305         fanotify_mark.
49306
49307 2010-08-27  Roland McGrath  <roland@redhat.com>
49308
49309         * sysdeps/i386/i686/multiarch/Makefile
49310         (CFLAGS-varshift.c): New variable.
49311
49312 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49313
49314         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49315         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49316
49317         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49318
49319         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49320
49321 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49322
49323         * sysdeps/x86_64/strlen.S: Unroll the loop.
49324         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49325         strlen-sse2 strlen-sse2-bsf.
49326         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49327         __strlen_no_bsf if bit_Slow_BSF is set.
49328         (__strlen_sse42): Removed.
49329         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49330         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49331
49332 2010-08-25  Roland McGrath  <roland@redhat.com>
49333
49334         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49335         * sysdeps/x86_64/multiarch/varshift.c: New file.
49336         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49337         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49338         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49339         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49340
49341 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49342
49343         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49344         strlen-sse2 strlen-sse2-bsf.
49345         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49346         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49347         (__strlen_sse2): Removed.
49348         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49349         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49350         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49351         bit_Slow_BSF for Atom.
49352         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49353         (index_Slow_BSF): Define.
49354         (HAS_SLOW_BSF): Define.
49355
49356 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49357
49358         [BZ #10851]
49359         * resolv/res_init.c (__res_vinit): When no server address at all
49360         is given default to loopback.
49361
49362 2010-08-24  Roland McGrath  <roland@redhat.com>
49363
49364         * configure.in: Remove config-name.h generation.
49365         * configure: Regenerated.
49366         * config-name.in: File removed.
49367         * scripts/config-uname.sh: New file.
49368         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49369         ($(objdir)config-name.h): New target.
49370
49371         * sunrpc/rpc_parse.h: Avoid nested comment.
49372
49373 2010-08-24  Richard Henderson  <rth@redhat.com>
49374             Ulrich Drepper  <drepper@redhat.com>
49375             H.J. Lu  <hongjiu.lu@intel.com>
49376
49377         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49378         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49379         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49380         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49381         _mm_alignr_epi8 with _mm_loadu_si128.
49382         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49383         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49384         (__m128i_shift_right): Removed.
49385         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49386         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49387         * sysdeps/x86_64/multiarch/varshift.h: New file.
49388         * sysdeps/x86_64/multiarch/varshift.S: New file.
49389
49390 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49391
49392         * configure.in: Move assembler checks to before sysdep dir checking.
49393
49394 2010-08-20  Petr Baudis  <pasky@suse.cz>
49395
49396         * LICENSES: Sync the sunrpc license.
49397
49398 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49399
49400         * sunrpc/auth_des.c: Update copyright notice once again.
49401         * sunrpc/auth_none.c: Likewise.
49402         * sunrpc/auth_unix.c: Likewise.
49403         * sunrpc/authdes_prot.c: Likewise.
49404         * sunrpc/authuxprot.c: Likewise.
49405         * sunrpc/bindrsvprt.c: Likewise.
49406         * sunrpc/clnt_gen.c: Likewise.
49407         * sunrpc/clnt_perr.c: Likewise.
49408         * sunrpc/clnt_raw.c: Likewise.
49409         * sunrpc/clnt_simp.c: Likewise.
49410         * sunrpc/clnt_tcp.c: Likewise.
49411         * sunrpc/clnt_udp.c: Likewise.
49412         * sunrpc/clnt_unix.c: Likewise.
49413         * sunrpc/des_crypt.c: Likewise.
49414         * sunrpc/des_soft.c: Likewise.
49415         * sunrpc/get_myaddr.c: Likewise.
49416         * sunrpc/getrpcport.c: Likewise.
49417         * sunrpc/key_call.c: Likewise.
49418         * sunrpc/key_prot.c: Likewise.
49419         * sunrpc/openchild.c: Likewise.
49420         * sunrpc/pm_getmaps.c: Likewise.
49421         * sunrpc/pm_getport.c: Likewise.
49422         * sunrpc/pmap_clnt.c: Likewise.
49423         * sunrpc/pmap_prot.c: Likewise.
49424         * sunrpc/pmap_prot2.c: Likewise.
49425         * sunrpc/pmap_rmt.c: Likewise.
49426         * sunrpc/rpc/auth.h: Likewise.
49427         * sunrpc/rpc/auth_unix.h: Likewise.
49428         * sunrpc/rpc/clnt.h: Likewise.
49429         * sunrpc/rpc/des_crypt.h: Likewise.
49430         * sunrpc/rpc/key_prot.h: Likewise.
49431         * sunrpc/rpc/netdb.h: Likewise.
49432         * sunrpc/rpc/pmap_clnt.h: Likewise.
49433         * sunrpc/rpc/pmap_prot.h: Likewise.
49434         * sunrpc/rpc/pmap_rmt.h: Likewise.
49435         * sunrpc/rpc/rpc.h: Likewise.
49436         * sunrpc/rpc/rpc_des.h: Likewise.
49437         * sunrpc/rpc/rpc_msg.h: Likewise.
49438         * sunrpc/rpc/svc.h: Likewise.
49439         * sunrpc/rpc/svc_auth.h: Likewise.
49440         * sunrpc/rpc/types.h: Likewise.
49441         * sunrpc/rpc/xdr.h: Likewise.
49442         * sunrpc/rpc_clntout.c: Likewise.
49443         * sunrpc/rpc_cmsg.c: Likewise.
49444         * sunrpc/rpc_common.c: Likewise.
49445         * sunrpc/rpc_cout.c: Likewise.
49446         * sunrpc/rpc_dtable.c: Likewise.
49447         * sunrpc/rpc_hout.c: Likewise.
49448         * sunrpc/rpc_main.c: Likewise.
49449         * sunrpc/rpc_parse.c: Likewise.
49450         * sunrpc/rpc_parse.h: Likewise.
49451         * sunrpc/rpc_prot.c: Likewise.
49452         * sunrpc/rpc_sample.c: Likewise.
49453         * sunrpc/rpc_scan.c: Likewise.
49454         * sunrpc/rpc_scan.h: Likewise.
49455         * sunrpc/rpc_svcout.c: Likewise.
49456         * sunrpc/rpc_tblout.c: Likewise.
49457         * sunrpc/rpc_util.c: Likewise.
49458         * sunrpc/rpc_util.h: Likewise.
49459         * sunrpc/rpcinfo.c: Likewise.
49460         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49461         * sunrpc/rpcsvc/key_prot.x: Likewise.
49462         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49463         * sunrpc/rpcsvc/mount.x: Likewise.
49464         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49465         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49466         * sunrpc/rpcsvc/rex.x: Likewise.
49467         * sunrpc/rpcsvc/rstat.x: Likewise.
49468         * sunrpc/rpcsvc/rusers.x: Likewise.
49469         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49470         * sunrpc/rpcsvc/spray.x: Likewise.
49471         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49472         * sunrpc/rtime.c: Likewise.
49473         * sunrpc/svc.c: Likewise.
49474         * sunrpc/svc_auth.c: Likewise.
49475         * sunrpc/svc_authux.c: Likewise.
49476         * sunrpc/svc_raw.c: Likewise.
49477         * sunrpc/svc_run.c: Likewise.
49478         * sunrpc/svc_simple.c: Likewise.
49479         * sunrpc/svc_tcp.c: Likewise.
49480         * sunrpc/svc_udp.c: Likewise.
49481         * sunrpc/svc_unix.c: Likewise.
49482         * sunrpc/svcauth_des.c: Likewise.
49483         * sunrpc/xcrypt.c: Likewise.
49484         * sunrpc/xdr.c: Likewise.
49485         * sunrpc/xdr_array.c: Likewise.
49486         * sunrpc/xdr_float.c: Likewise.
49487         * sunrpc/xdr_mem.c: Likewise.
49488         * sunrpc/xdr_rec.c: Likewise.
49489         * sunrpc/xdr_ref.c: Likewise.
49490         * sunrpc/xdr_sizeof.c: Likewise.
49491         * sunrpc/xdr_stdio.c: Likewise.
49492
49493         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49494         handling.
49495
49496 2010-08-19  Andreas Schwab  <schwab@redhat.com>
49497
49498         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49499
49500 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
49501
49502         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49503         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49504         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49505         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49506         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49507         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49508         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49509         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49510         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49511         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49512         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49513         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49514         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49515         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49516
49517 2010-07-26  Anton Blanchard  <anton@samba.org>
49518
49519         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49520         * malloc/arena.c (heap_trim): Likewise.
49521
49522 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
49523
49524         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49525         here.  Not...
49526         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49527         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49528
49529 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
49530
49531         * sysdeps/i386/elf/Makefile: New file.
49532
49533 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49534
49535         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49536         from fanotify_init.
49537         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49538         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49539
49540 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
49541
49542         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49543         of strncasecmp_l.
49544         * sysdeps/multiarch/strcmp.S: Likewise.
49545
49546 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
49547
49548         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49549         strncase_l-nonascii.
49550         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49551         Add strncase_l-ssse3.
49552         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49553         * sysdeps/x86_64/strcmp.S: Likewise.
49554         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49555         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49556         * sysdeps/x86_64/strncase.S: New file.
49557         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49558         * sysdeps/x86_64/strncase_l.S: New file.
49559         * string/Makefile (strop-tests): Add strncasecmp.
49560         * string/test-strncasecmp.c: New file.
49561
49562         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49563         warning.
49564
49565         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49566         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49567
49568 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49569
49570         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49571
49572 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
49573
49574         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49575         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49576         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49577
49578 2010-05-01  Alan Modra  <amodra@gmail.com>
49579
49580         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49581         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49582         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49583         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49584         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49585         tidying.  Don't tail-call __sigjmp_save for static lib.
49586         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49587         save location.
49588         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49589         (CALL_MCOUNT): Add eh info, and nop after bl.
49590         (TAIL_CALL_SYSCALL_ERROR): New macro.
49591         (PSEUDO_RET): Use it.
49592         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49593         Correct save location of integer regs and cr.
49594         (_dl_profile_resolve): Correct cr save location.  Delete nops
49595         after bl when SHARED.  Reduce cfi size a little by better
49596         placement of cfi directives.
49597         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49598         make a stack frame.  Instead use parm save area as a temp.
49599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49600         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
49601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49602         Don't make a stack frame for parent, use parm save area.
49603         Increase child stack frame to 112 bytes.  Don't save unused reg,
49604         and adjust reg usage.  Set up cfi on error recovery and
49605         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49607         (__makecontext): Add dummy nop after jump to exit.
49608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49609         Use correct parm save area and cr save, reduce stack frame.
49610         Correct cfi for possible PSEUDO_RET frame setup.
49611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49612         Branch to local label emitted by PSEUDO_RET rather than
49613         __syscall_error.
49614
49615 2010-08-12  Andreas Schwab  <schwab@redhat.com>
49616
49617         [BZ #11904]
49618         * locale/programs/locale.c (print_assignment): New function.
49619         (show_locale_vars): Use it.
49620
49621 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
49622
49623         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49624         field.
49625         (struct statfs64): Likewise.
49626         (_STATFS_F_FLAGS): Define.
49627         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49628         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49629         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49630         (ST_VALID): Define locally.
49631         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49632         __statvfs_getflags, use the provided value.
49633         * sysdeps/unix/sysv/linux/kernel-features.h: Define
49634         __ASSUME_STATFS_F_FLAGS.
49635
49636         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49637
49638         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49639         Add sys/fanotify.h.
49640         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49641         fanotify_mask for GLIBC_2.13.
49642         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49643         fanotify_init and fanotify_mark.
49644         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49645         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49646
49647         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49648         Add prlimit.
49649         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49650         prlimit64 for GLIBC_2.13.
49651         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49652         prlimit64.
49653         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49654         syscall.
49655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49656         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49657         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49658         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49659         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
49660         add prlimit alias.
49661         * sysdeps/unix/sysv/linux/prlimit.c: New file.
49662
49663         [BZ #11903]
49664         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49665         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49666
49667         * nss/Makefile: Add rules to build and run tst-nss-test1.
49668         * shlib-versions: Add entry for libnss_test1.
49669         * nss/nss_test1.c: New file.
49670         * nss/tst-nss-test1.c: New file.
49671
49672         * nss/nsswitch.c (__nss_database_custom): Define new variable.
49673         (__nss_configure_lookup): Set appropriate entry in
49674         __nss_configure_lookup to true.
49675         * nss/nsswitch.h: Define enum with indeces of databases in
49676         databases and __nss_database_custom arrays.  Declare
49677         __nss_database_custom.
49678         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49679         to avoid using nscd when custom rules are installed.
49680         * nss/getXXbyYY_r.c: Likewise.
49681         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49682
49683         * nss/nss_files/files-parse.c: Whitespace fixes.
49684
49685 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
49686
49687         [BZ #11883]
49688         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49689         * posix/fnmatch_loop.c: Likewise.
49690
49691 2010-07-17  Andi Kleen  <ak@linux.intel.com>
49692
49693         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49694         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49695         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49696         * Versions.def [GLIBC_2.13]: Add.
49697
49698 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
49699
49700         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49701         Also fail if tpwd after pwuid call is NULL.
49702
49703 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49704
49705         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49706         when converting to ms.
49707
49708 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49709
49710         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49711         EOPNOTSUPP errors with ENOTTY.
49712         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49713         EOPNOTSUPP errors with ENOTTY.
49714
49715 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
49716
49717         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49718         Add strcasecmp_l-ssse3.
49719         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49720         strcasecmp.
49721         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49722         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49723         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49724
49725 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
49726
49727         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49728
49729         * string/Makefile (strop-tests): Add strcasecmp.
49730         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49731         strcasecmp_l-nonascii.
49732         (gen-as-const-headers): Add locale-defines.sym.
49733         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49734         * sysdeps/x86_64/strcasecmp.S: New file.
49735         * sysdeps/x86_64/strcasecmp_l.S: New file.
49736         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49737         * sysdeps/x86_64/locale-defines.sym: New file.
49738         * string/test-strcasecmp.c: New file.
49739
49740         * string/test-strcasestr.c: Test both ends of the range of characters.
49741         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49742
49743 2010-07-29  Roland McGrath  <roland@redhat.com>
49744
49745         [BZ #11856]
49746         * manual/locale.texi (Yes-or-No Questions): Fix example code.
49747
49748 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
49749
49750         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49751         for ld.so.
49752
49753 2010-07-27  Andreas Schwab  <schwab@redhat.com>
49754
49755         * manual/memory.texi (Malloc Tunable Parameters): Document
49756         M_PERTURB.
49757
49758 2010-07-26  Roland McGrath  <roland@redhat.com>
49759
49760         [BZ #11840]
49761         * configure.in (-fgnu89-inline check): Set and substitute
49762         gnu89_inline, not libc_cv_gnu89_inline.
49763         * configure: Regenerated.
49764         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49765
49766 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
49767
49768         * string/test-strnlen.c: New file.
49769         * string/Makefile (strop-tests): Add strnlen.
49770         * string/tester.c (test_strnlen): Add a few more test cases.
49771         * string/tst-strlen.c: Better error reporting.
49772
49773         * sysdeps/x86_64/strnlen.S: New file.
49774
49775 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
49776
49777         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49778         lower-latency instructions.
49779
49780 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
49781
49782         * string/test-strcasestr.c: New file.
49783         * string/test-strstr.c: New file.
49784         * string/Makefile (strop-tests): Add strstr and strcasestr.
49785         * string/str-two-way.h: Don't undefine MAX.
49786         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49787
49788 2010-07-21  Andreas Schwab  <schwab@redhat.com>
49789
49790         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49791         strcasestr-nonascii.
49792         (CFLAGS-strcasestr-nonascii.c): Define.
49793         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49794         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49795         Remove unused attribute.
49796
49797 2010-07-20  Roland McGrath  <roland@redhat.com>
49798
49799         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49800         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
49801         ld.so.cache was broken.  With it, there is no way to disable dsocaps
49802         like LD_HWCAP_MASK can disable hwcaps.
49803
49804 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49805
49806         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49807
49808 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
49809
49810         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49811         call in strcasestr.
49812         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49813         __strcasestr_sse42_nonascii.
49814         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49815         strcasestr-nonascii.c.
49816         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49817
49818 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
49819
49820         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49821         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49822         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49823         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49824
49825 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
49826
49827         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49828         fcntl.
49829
49830 2010-07-06  Andreas Schwab  <schwab@redhat.com>
49831
49832         [BZ #11577]
49833         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49834         dl_signal_cerror.
49835
49836 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
49837
49838         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49839         _PC_PIPE_BUF using F_GETPIPE_SZ.
49840
49841 2010-07-05  Roland McGrath  <roland@redhat.com>
49842
49843         * manual/arith.texi (Rounding Functions): Fix rint description
49844         implicit in round description.
49845
49846 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
49847
49848         * elf/Makefile: Fix linking for a few tests to make recent linker
49849         happy.
49850
49851 2010-06-30  Andreas Schwab  <schwab@redhat.com>
49852
49853         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49854         $(common-objpfx)libc_nonshared.a.
49855
49856 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
49857
49858         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49859         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49860         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49861         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49862         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49863         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49864         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49865         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49880         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49881         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49882         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49883         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49884         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49885         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49886         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49887         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49888         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49889         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49890         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49891         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49906
49907 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
49908
49909         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49910         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
49911         * string/memmove.c (memmove): Renamed to ...
49912         (MEMMOVE): ...this.  Default to memmove.
49913         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49914         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49915         (END_CHK): Define.
49916         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49917         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49918         mempcpy-ssse3-back memmove-ssse3-back.
49919         * sysdeps/x86_64/multiarch/bcopy.S: New file .
49920         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49921         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49922         * sysdeps/x86_64/multiarch/memcpy.S: New file.
49923         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49924         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49925         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49926         * sysdeps/x86_64/multiarch/memmove.c: New file.
49927         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49928         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49929         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49930         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49931         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49932         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49933         Define.
49934         (index_Fast_Copy_Backward): Define.
49935         (HAS_ARCH_FEATURE): Define.
49936         (HAS_FAST_REP_STRING): Define.
49937         (HAS_FAST_COPY_BACKWARD): Define.
49938
49939 2010-06-21  Andreas Schwab  <schwab@redhat.com>
49940
49941         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49942         Restore proper fallback handling.
49943
49944 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
49945
49946         [BZ #11701]
49947         * posix/group_member.c (__group_member): Correct checking loop.
49948
49949         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49950         OOM in getpwuid_r correctly.  Return error number when the caller
49951         should return, otherwise -1.
49952         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49953         call returning > 0 value.
49954         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49955
49956 2010-06-07  Andreas Schwab  <schwab@redhat.com>
49957
49958         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49959         libc_nonshared.a from targets in modules-names.
49960
49961 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
49962
49963         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49964         requires it.
49965
49966 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
49967
49968         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49969         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49970         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49971         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49972
49973 2010-06-02  Andreas Schwab  <schwab@redhat.com>
49974
49975         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49976
49977 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
49978
49979         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49980         and F_GETPIPE_SZ.
49981         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49982         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49983         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49984         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49985         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49986         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49987
49988 2010-06-14  Roland McGrath  <roland@redhat.com>
49989
49990         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49991
49992 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
49993
49994         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49995         __REDIRECT followed by __THROW.
49996         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49997         * posix/getopt.h (getopt): Likewise.
49998
49999 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50000
50001         * hurd/lookup-at.c (__file_name_lookup_at): Accept
50002         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
50003         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50004         in AT_FLAGS.
50005         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50006         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50007
50008 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50009
50010         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50011
50012 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50013
50014         [BZ #11640]
50015         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50016         Properly check family and model.
50017
50018 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
50019
50020         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50021
50022 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
50023
50024         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50025
50026 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
50027
50028         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50029         symbol reference.
50030
50031 2010-05-19  Andreas Schwab  <schwab@redhat.com>
50032
50033         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50034         symbol reference.
50035
50036 2010-05-21  Andreas Schwab  <schwab@redhat.com>
50037
50038         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50039         and internal_recvmmsg.
50040         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50041         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50042         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50043         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50044
50045         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50046         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50047         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50048
50049 2010-05-20  Andreas Schwab  <schwab@redhat.com>
50050
50051         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50052
50053 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
50054
50055         POWER7 optimizations.
50056         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50057         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50058
50059 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
50060
50061         * version.h: Update for 2.13 development version.
50062
50063 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
50064
50065         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50066         exceptions.  Return 0.
50067
50068 2010-05-07  Roland McGrath  <roland@redhat.com>
50069
50070         * elf/ldconfig.c (main): Add a const.
50071
50072 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
50073
50074         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50075         (args_options): Add no-idn option.
50076         (ahosts_keys_int): Add idn_flags to ai_flags.
50077         (parse_option): Handle 'i' option to clear idn_flags.
50078
50079         * malloc/malloc.c (_int_free): Possible race in the most recently
50080         added check.  Only act on the data if no current modification
50081         happened.
50082
50083 See ChangeLog.17 for earlier changes.